Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r911f6526ec3ba03ba0131681c7fb371c0abda6bb -r5dc6f629ae40d8939fd3bd7c4e3dffb04fa137e7 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 911f6526ec3ba03ba0131681c7fb371c0abda6bb) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 5dc6f629ae40d8939fd3bd7c4e3dffb04fa137e7) @@ -1141,6 +1141,30 @@ /*********************************************************************//** * @brief + * The getFPGABloodFlowMeterStatus function gets the blood flow meter status. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return current blood flow meter status + *************************************************************************/ +U08 getFPGABloodFlowMeterStatus( void ) +{ + return fpgaSensorReadings.bloodFlowMeterDeviceStatus; +} + +/*********************************************************************//** + * @brief + * The getFPGADialysateFlowMeterStatus function gets the dialysate flow meter status. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return current dialysate flow meter status + *************************************************************************/ +U08 getFPGADialysateFlowMeterStatus( void ) +{ + return fpgaSensorReadings.dialysateFlowMeterDeviceStatus; +} + +/*********************************************************************//** + * @brief * The getFPGABloodPumpHallSensorCount function gets the latest blood pump * hall sensor count. Count is a 16 bit free running counter. If counter is * counting up, indicates motor is running in forward direction. If counter is