Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r0237b2fc49d60b6602bac35ce43831b37f294c81 -r739960711a13328f76f20accc65b9359e1feb2ac --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 0237b2fc49d60b6602bac35ce43831b37f294c81) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 739960711a13328f76f20accc65b9359e1feb2ac) @@ -1246,82 +1246,6 @@ /*********************************************************************//** * @brief - * The getFPGABloodFlow function gets the latest blood flow reading. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none - * @return last blood flow reading - *************************************************************************/ -F32 getFPGABloodFlow( void ) -{ - return fpgaSensorReadings.bloodFlowLast; -} - -/*********************************************************************//** - * @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 getFPGABloodFlowFastPacketReadCounter function gets the blood - * flow meter fast packet read counter. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none - * @return current blood flow meter fast packet read counter - *************************************************************************/ -U08 getFPGABloodFlowFastPacketReadCounter( void ) -{ - return fpgaSensorReadings.bloodFlowMeterDataPktCount; -} - -/*********************************************************************//** - * @brief - * The getFPGABloodFlowSlowPacketReadCounter function gets the blood - * flow meter slow packet read counter. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none - * @return current blood flow meter slow packet read counter - *************************************************************************/ -U08 getFPGABloodFlowSlowPacketReadCounter( void ) -{ - return ( fpgaSensorReadings.bloodFlowMeterSlowPktCounts & MASK_OFF_NIBBLE_LSB ) >> SHIFT_BITS_BY_4; -} - -/*********************************************************************//** - * @brief - * The getFPGABloodFlowStatusPacketReadCounter function gets the blood - * flow meter status packet read counter. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none - * @return current blood flow meter status packet read counter - *************************************************************************/ -U08 getFPGABloodFlowStatusPacketReadCounter( void ) -{ - return ( fpgaSensorReadings.bloodFlowMeterSlowPktCounts & MASK_OFF_NIBBLE_MSB ); -} - -/*********************************************************************//** - * @brief - * The getFPGABloodFlowErrorCounter function gets the blood flow meter - * error counter. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none - * @return current blood flow meter error counter - *************************************************************************/ -U08 getFPGABloodFlowErrorCounter( void ) -{ - return fpgaSensorReadings.bloodFlowMeterErrorCount; -} - -/*********************************************************************//** - * @brief * The getFPGADialysateFlow function gets the latest dialysate flow reading. * @details Inputs: fpgaSensorReadings * @details Outputs: none