Index: firmware/App/Services/FPGADD.c =================================================================== diff -u -r52ded7b22d4b413aa8182f1343e4fbb78e8c3b0a -r090cfb22a7c0b4738299c3fb411ca77aaba8d968 --- firmware/App/Services/FPGADD.c (.../FPGADD.c) (revision 52ded7b22d4b413aa8182f1343e4fbb78e8c3b0a) +++ firmware/App/Services/FPGADD.c (.../FPGADD.c) (revision 090cfb22a7c0b4738299c3fb411ca77aaba8d968) @@ -305,8 +305,8 @@ /*********************************************************************//** * @brief * The initFPGADD function initializes the DD FPGA module. - * @details Inputs: none - * @details Outputs: FPGA module initialized. + * @details \b Inputs: none + * @details \b Outputs: FPGA module initialized. * @return none *************************************************************************/ void initFPGADD( void ) @@ -336,8 +336,10 @@ /*********************************************************************//** * @brief * The execFPGATest function executes the FPGA self-test. - * @details Inputs: fpgaHeader - * @details Outputs: none + * @details \b Inputs: fpgaHeader + * @details \b Outputs: none + * @details \b Alarm: ALARM_ID_DD_FPGA_POST_TEST_FAILED when FPGA compatibility failed and/or + * wrong FPGA header seen. * @return passed, or failed *************************************************************************/ SELF_TEST_STATUS_T execFPGATest( void ) @@ -355,13 +357,13 @@ else { result = SELF_TEST_STATUS_FAILED; - //SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DG_FPGA_POST_TEST_FAILED, (U32)DG_FPGA_COMPATIBILITY_REV, (U32)fpgaSensorReadings.fpgaCompatibilityRev ) + SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DD_FPGA_POST_TEST_FAILED, (U32)DD_FPGA_COMPATIBILITY_REV, (U32)fpgaSensorReadings.fpgaCompatibilityRev ) } } else { result = SELF_TEST_STATUS_FAILED; - //SET_ALARM_WITH_1_U32_DATA( ALARM_ID_DG_FPGA_POST_TEST_FAILED, (U32)fpgaHeader.fpgaId ) + SET_ALARM_WITH_1_U32_DATA( ALARM_ID_DD_FPGA_POST_TEST_FAILED, (U32)fpgaHeader.fpgaId ) } return result; @@ -371,9 +373,11 @@ * @brief * The execFPGAClockSpeedTest function verifies the processor clock speed * against the FPGA clock. - * @details Inputs: fpgaHeader, + * @details \b Inputs: fpgaHeader, * window timer TIME_WINDOWED_COUNT_FPGA_CLOCK_SPEED_ERROR - * @details Outputs: none + * @details \b Outputs: none + * @details \b Alarm: ALARM_ID_DD_FPGA_CLOCK_SPEED_CHECK_FAILURE when clock speed + * mismatch seen. * @return: none *************************************************************************/ void execFPGAClockSpeedTest( void ) @@ -398,7 +402,7 @@ { if ( TRUE == incTimeWindowedCount( TIME_WINDOWED_COUNT_FPGA_CLOCK_SPEED_ERROR ) ) { - //SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DG_FPGA_CLOCK_SPEED_CHECK_FAILURE, diffFPGATimerCount, diffTimerCount ); + SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DD_FPGA_CLOCK_SPEED_CHECK_FAILURE, diffFPGATimerCount, diffTimerCount ); } } } @@ -425,8 +429,8 @@ * 10..11 - reserved (spare).\n * 12- VPd.\n * 13..15 - reserved or unused. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaValveStates + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaValveStates * @param valveStates bit mask for the various valve states * @return none *************************************************************************/ @@ -439,8 +443,8 @@ * @brief * The setFPGADrainPumpSpeed function sets the drain pump target speed. * The drain pump DAC value should be set to 1 count for each 12.94 RPM desired. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaDrainPumpSetSpeed + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaDrainPumpSetSpeed * @param drainPumpDAC DAC value to command for the drain pump * @return none *************************************************************************/ @@ -456,8 +460,8 @@ * @brief * The setFPGACPoProbeType function sets the CPo sensor probe type and * sets the control register to write probe type to the device. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCPoProbeType, fpgaActuatorSetPoints.fpgaCPoControlReg + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCPoProbeType, fpgaActuatorSetPoints.fpgaCPoControlReg * @param probeType The probe cell constant value to set to * @return none *************************************************************************/ @@ -471,8 +475,8 @@ * @brief * The setFPGACPiProbeType function sets the CPi sensor probe type and * sets the control register to write probe type to the device. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCPiProbeType, fpgaActuatorSetPoints.fpgaCPiControlReg + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCPiProbeType, fpgaActuatorSetPoints.fpgaCPiControlReg * @param probeType The probe cell constant value to set to * @return none *************************************************************************/ @@ -486,8 +490,8 @@ * @brief * The setFPGAcidPumpControl function sets the control configuration for * concentrate pump CP1. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCP1Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCP1Control * @param pumpControl The concentrate pump control configuration * @return none *************************************************************************/ @@ -501,8 +505,8 @@ * @brief * The setFPGABicarbPumpControl function sets the control configuration for * concentrate pump CP2. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCP2Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCP2Control * @param pumpControl The concentrate pump control configuration * @return none *************************************************************************/ @@ -516,8 +520,8 @@ * @brief * The setFPGABicarbPumpControl function sets the park command bit for the * concentrate pump CP1. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCP1Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCP1Control * @return none *************************************************************************/ void setFPGAV3AcidPumpParkCmd( void ) @@ -529,8 +533,8 @@ * @brief * The setFPGAV3BicarbPumpParkCmd function sets the park command bit for the * concentrate pump CP2. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCP2Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCP2Control * @return none *************************************************************************/ void setFPGAV3BicarbPumpParkCmd( void ) @@ -542,8 +546,8 @@ * @brief * The setFPGAAcidPumpSetStepSpeed function sets the step speed period for * concentrate pump CP1. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCP1StepSpeed + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCP1StepSpeed * @param stepSpeed The concentrate pump step speed period * @return none *************************************************************************/ @@ -556,8 +560,8 @@ * @brief * The setFPGABicarbSetStepSpeed function sets the step speed period for * concentrate pump CP2. - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaCP2StepSpeed + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaCP2StepSpeed * @param stepSpeed The concentrate pump step speed period * @return none *************************************************************************/ @@ -576,8 +580,8 @@ * bit 4: nEnable * bit 3: Direction (1=Fwd, 0=Rev) * bit 0-2: Microstepping resolution - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaNewCP1Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaNewCP1Control * @param control Concentrate pump control set * @return none *************************************************************************/ @@ -597,8 +601,8 @@ * bit 4: nEnable * bit 3: Direction (1=Fwd, 0=Rev) * bit 0-2: Microstepping resolution - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaNewCP1Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaNewCP1Control * @return Acid pump control status bit *************************************************************************/ U08 getFPGAAcidPumpControlStatus( void ) @@ -616,8 +620,8 @@ * bit 4: nEnable * bit 3: Direction (1=Fwd, 0=Rev) * bit 0-2: Microstepping resolution - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaNewCP2Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaNewCP2Control * @param control Concentrate pump control set * @return none *************************************************************************/ @@ -637,8 +641,8 @@ * bit 4: nEnable * bit 3: Direction (1=Fwd, 0=Rev) * bit 0-2: Microstepping resolution - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaNewCP2Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaNewCP2Control * @return Bicarb pump control status bit *************************************************************************/ U08 getFPGABicarbPumpControlStatus( void ) @@ -652,8 +656,8 @@ * (acid pump) park command bit. * bit 7: Park command bit * bit 0-6: Other pump control bits (set in different function) - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaNewCP1Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaNewCP1Control * @param Park command bit set * @return none *************************************************************************/ @@ -668,8 +672,8 @@ * (bicarb pump) park command bit. * bit 7: Park command bit * bit 0-6: Other pump control bits (set in different function) - * @details Inputs: none - * @details Outputs: fpgaActuatorSetPoints.fpgaNewCP2Control + * @details \b Inputs: none + * @details \b Outputs: fpgaActuatorSetPoints.fpgaNewCP2Control * @param Park command bit set * @return none *************************************************************************/ @@ -681,8 +685,8 @@ /*********************************************************************//** * @brief * The getFPGAVersions function gets the FPGA version numbers. - * @details Inputs: fpgaHeader - * @details Outputs: none + * @details \b Inputs: fpgaHeader + * @details \b Outputs: none * @return none *************************************************************************/ void getFPGAVersions( U08 *Id, U08 *Maj, U08 *Min, U08 *Lab ) @@ -698,8 +702,8 @@ * The getFPGALoadCellA1 function gets the latest load cell A 1 reading. * Least significant 24 bits are the reading. Most significant bit indicates * CRC or status error. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return last load cell A 1 reading *************************************************************************/ U32 getFPGALoadCellA1( void ) @@ -712,8 +716,8 @@ * The getFPGALoadCellA2 function gets the latest load cell A 2 reading. * Least significant 24 bits are the reading. Most significant bit indicates * CRC or status error. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return last load cell A 2 reading *************************************************************************/ U32 getFPGALoadCellA2( void ) @@ -726,8 +730,8 @@ * The getFPGALoadCellB1 function gets the latest load cell B 1 reading. * Least significant 24 bits are the reading. Most significant bit indicates * CRC or status error. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return last load cell B 1 reading *************************************************************************/ U32 getFPGALoadCellB1( void ) @@ -740,8 +744,8 @@ * The getFPGALoadCellB2 function gets the latest load cell B 2 reading. * Least significant 24 bits are the reading. Most significant bit indicates * CRC or status error. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return last load cell B 2 reading *************************************************************************/ U32 getFPGALoadCellB2( void ) @@ -753,8 +757,8 @@ * @brief * The getFPGAValveStates function gets the latest sensed valve states. * See setFPGAValveStates for valve state bit positions. - * @details Inputs: fpgaSensorReadings.fpgaValveStates - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaValveStates + * @details \b Outputs: none * @return last valve states reading *************************************************************************/ U16 getFPGAValveStates( void ) @@ -765,8 +769,8 @@ /*********************************************************************//** * @brief * The getFPGAROPumpFlowRate function gets the latest RO flow rate. - * @details Inputs: fpgaSensorReadings.fpgaROFlowRate - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaROFlowRate + * @details \b Outputs: none * @return last RO flow rate reading *************************************************************************/ U16 getFPGAROPumpFlowRate( void ) @@ -777,8 +781,8 @@ /*********************************************************************//** * @brief * The getFPGADialysateFlowRate function gets the latest dialysate flow rate. - * @details Inputs: fpgaSensorReadings.fpgaDialysateFlowRate - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaDialysateFlowRate + * @details \b Outputs: none * @return last dialysate flow rate reading *************************************************************************/ U16 getFPGADialysateFlowRate( void ) @@ -789,8 +793,8 @@ /*********************************************************************//** * @brief * The getFPGADrainPumpSpeed function gets the latest sensed drain pump speed. - * @details Inputs: fpgaSensorReadings.fpgaDrainPumpSpeed - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaDrainPumpSpeed + * @details \b Outputs: none * @return last drain pump speed reading *************************************************************************/ U16 getFPGADrainPumpSpeed( void ) @@ -801,8 +805,8 @@ /*********************************************************************//** * @brief * The getFPGATPiTemp function gets the latest primary heater inlet temperature reading. - * @details Inputs: fpgaSensorReadings.fpgaTPiTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTPiTemp + * @details \b Outputs: none * @return last primary heater inlet temperature reading *************************************************************************/ U32 getFPGATPiTemp( void ) @@ -813,8 +817,8 @@ /*********************************************************************//** * @brief * The getFPGATPoTemp function gets the latest primary heater outlet temperature reading. - * @details Inputs: fpgaSensorReadings.fpgaTPoTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTPoTemp + * @details \b Outputs: none * @return last primary heater outlet temperature reading *************************************************************************/ U32 getFPGATPoTemp( void ) @@ -826,8 +830,8 @@ * @brief * The getFPGATD1Temp function gets the latest conductivity sensor 1 * temperature reading in ADC. - * @details Inputs: fpgaSensorReadings.fpgaCD1Temp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCD1Temp + * @details \b Outputs: none * @return last conductivity sensor 1 outlet temperature reading *************************************************************************/ U32 getFPGACD1Temp( void ) @@ -839,8 +843,8 @@ * @brief * The getFPGATD2Temp function gets the latest conductivity sensor 2 * temperature reading in ADC. - * @details Inputs: fpgaSensorReadings.fpgaCD2Temp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCD2Temp + * @details \b Outputs: none * @return last conductivity sensor 2 outlet temperature reading *************************************************************************/ U32 getFPGACD2Temp( void ) @@ -852,8 +856,8 @@ * @brief * The getFPGARTDErrorCount function gets error count of the RTD. It covers * all the four temperature sensors associates with conductivity sensors. - * @details Inputs: fpgaSensorReadings.fpgaRTDErrorCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaRTDErrorCnt + * @details \b Outputs: none * @return Last error count of the RTD temperature sensors *************************************************************************/ U08 getFPGARTDErrorCount( void ) @@ -866,8 +870,8 @@ * The getFPGARTDReadCount function gets the read count of the RTD * temperature sensors. It covers all the four temperature sensors associates * with conductivity sensors. - * @details Inputs: fpgaSensorReadings.fpgaRTDReadCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaRTDReadCnt + * @details \b Outputs: none * @return Last read count of the RTC temperature sensors *************************************************************************/ U08 getFPGARTDReadCount( void ) @@ -879,8 +883,8 @@ * @brief * The getFPGATRoTemp function gets the latest redundant sensor outlet * temperature reading in ADC. - * @details Inputs: fpgaSensorReadings.fpgaTRo - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTRo + * @details \b Outputs: none * @return Last redundant sensor outlet temperature reading *************************************************************************/ U32 getFPGATRoTemp( void ) @@ -891,8 +895,8 @@ /*********************************************************************//** * @brief * The getFPGATRoErrorCount gets the error count of the THDo (redundant) temperature sensor. - * @details Inputs: fpgaSensorReadings.fpgaTRoErrorCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTRoErrorCnt + * @details \b Outputs: none * @return Last redundant sensor outlet temperature error count *************************************************************************/ U08 getFPGATRoErrorCount( void ) @@ -903,8 +907,8 @@ /*********************************************************************//** * @brief * The getFPGATRoReadCount gets the read count of the THDo (redundant) temperature sensor. - * @details Inputs: fpgaSensorReadings.fpgaTRoReadCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTRoReadCnt + * @details \b Outputs: none * @return Last redundant sensor outlet temperature error count reading *************************************************************************/ U08 getFPGATRoReadCount( void ) @@ -915,8 +919,8 @@ /*********************************************************************//** * @brief * The getFPGATDiTemp function gets the latest dialysate inlet temperature reading in ADC. - * @details Inputs: fpgaSensorReadings.fpgaTDiTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTDiTemp + * @details \b Outputs: none * @return last primary heater outlet temperature reading *************************************************************************/ U32 getFPGATDiTemp( void ) @@ -927,8 +931,8 @@ /*********************************************************************//** * @brief * The getFPGATDiErrorCount function gets the latest dialysate inlet temperature error count. - * @details Inputs: fpgaSensorReadings.fpgaTDiErrorCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTDiErrorCnt + * @details \b Outputs: none * @return Last dialysate inlet error count *************************************************************************/ U08 getFPGATDiErrorCount( void ) @@ -939,8 +943,8 @@ /*********************************************************************//** * @brief * The getFPGATDiReadCount function gets the latest dialysate inlet temperature read count. - * @details Inputs: fpgaSensorReadings.fpgaTDiReadCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTDiReadCnt + * @details \b Outputs: none * @return Last dialysate inlet read count *************************************************************************/ U08 getFPGATDiReadCount( void ) @@ -952,8 +956,8 @@ * @brief * The getFPGAPrimaryHeaterTemp function gets the latest primary heater * internal temperature reading. - * @details Inputs: fpgaSensorReadings.fpgaPrimaryHeaterIntTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaPrimaryHeaterIntTemp + * @details \b Outputs: none * @return last primary heater temperature reading *************************************************************************/ U16 getFPGAPrimaryHeaterTemp( void ) @@ -965,8 +969,8 @@ * @brief * The getFPGAPrimaryHeaterFlags function gets the latest primary heater * internal temperature sensor flags read. - * @details Inputs: fpgaSensorReadings.fpgaPrimaryHeaterFlags - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaPrimaryHeaterFlags + * @details \b Outputs: none * @return Last primary heater internal temperature sensor flag read *************************************************************************/ U08 getFPGAPrimaryHeaterFlags( void ) @@ -978,8 +982,8 @@ * @brief * The geetFPGAPrimaryHeaterReadCount function gets the latest primary heater * internal temperature sensor read count. - * @details Inputs: fpgaSensorReadings.fpgaPrimaryHeaterReadCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaPrimaryHeaterReadCnt + * @details \b Outputs: none * @return Last primary heater internal temperature sensor read count *************************************************************************/ U08 getFPGAPrimaryHeaterReadCount( void ) @@ -991,8 +995,8 @@ * @brief * The getFPGATrimmerHeaterTemp function gets the latest trimmer heater * internal temperature sensor reading. - * @details Inputs: fpgaSensorReadings.fpgaTrimmerHeaterIntTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTrimmerHeaterIntTemp + * @details \b Outputs: none * @return last trimmer heater temperature reading *************************************************************************/ U16 getFPGATrimmerHeaterTemp( void ) @@ -1004,8 +1008,8 @@ * @brief * The getFPGATrimmerHeaterFlags function gets the latest trimmer heater * internal temperature flags read. - * @details Inputs: fpgaSensorReadings.fpgaTrimmerHeaterFlags - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTrimmerHeaterFlags + * @details \b Outputs: none * @return Last trimmer heater internal temperature flags read *************************************************************************/ U08 getFPGATrimmerHeaterFlags( void ) @@ -1017,8 +1021,8 @@ * @brief * The getFPGATrimmerHeaterReadCount function gets the latest trimmer heater * internal temperature read count. - * @details Inputs: fpgaSensorReadings.fpgaTrimmerHeaterReadCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTrimmerHeaterReadCnt + * @details \b Outputs: none * @return Last trimmer heater internal temperature read count *************************************************************************/ U08 getFPGATrimmerHeaterReadCount( void ) @@ -1029,8 +1033,8 @@ /*********************************************************************//** * @brief * The getFPGAPrimaryColdJunctionTemp function gets primary cold junction temperature. - * @details Inputs: fpgaSensorReadings.fpgaPrimaryHeaterIntJunctionTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaPrimaryHeaterIntJunctionTemp + * @details \b Outputs: none * @return Last primary cold junction temperature *************************************************************************/ U16 getFPGAPrimaryColdJunctionTemp( void ) @@ -1041,8 +1045,8 @@ /*********************************************************************//** * @brief * The getFPGATrimmerColdJunctionTemp function gets trimmer cold junction temperature. - * @details Inputs: fpgaSensorReadings.fpgaTrimmerHeaterIntJunctionTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTrimmerHeaterIntJunctionTemp + * @details \b Outputs: none * @return Last trimmer cold junction temperature *************************************************************************/ U16 getFPGATrimmerColdJunctionTemp( void ) @@ -1054,8 +1058,8 @@ * @brief * The getFPGAAccelAxes function gets the accelerometer axis readings. * Axis readings are in ADC counts. 0.004 g per LSB. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @param x Populate this param with X axis reading * @param y Populate this param with Y axis reading * @param z Populate this param with Z axis reading @@ -1072,8 +1076,8 @@ * @brief * The getFPGAAccelMaxes function gets the maximum accelerometer axis readings from * last FPGA read (every 10 ms). Axis readings are in ADC counts. 0.004 g per LSB. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @param x Populate this param with maximum X axis reading * @param y Populate this param with maximum Y axis reading * @param z Populate this param with maximum Z axis reading @@ -1090,8 +1094,8 @@ * @brief * The getFPGAAccelStatus function gets the accelerometer reading count * and error register values. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @param cnt Populate this param with latest sample counter value * @param err Populate this param with latest error * @return none @@ -1105,8 +1109,8 @@ /*********************************************************************//** * @brief * The getFPGACPiFault function gets CPi conductivity sensor fault. - * @details Inputs: fpgaSensorReadings.fpgaCPiFault - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPiFault + * @details \b Outputs: none * @return Latest CPi conductivity sensor fault *************************************************************************/ U08 getFPGACPiFault( void ) @@ -1117,8 +1121,8 @@ /*********************************************************************//** * @brief * The getFPGACPiReadCount function gets CPi conductivity sensor read count. - * @details Inputs: fpgaSensorReadings.fpgaCPiReadCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPiReadCnt + * @details \b Outputs: none * @return Latest CPi conductivity sensor read count *************************************************************************/ U08 getFPGACPiReadCount( void ) @@ -1129,8 +1133,8 @@ /*********************************************************************//** * @brief * The getFPGACPiErrorCount function gets CPi conductivity sensor error count. - * @details Inputs: fpgaSensorReadings.fpgaCPiErrorCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPiErrorCnt + * @details \b Outputs: none * @return Latest CPi conductivity sensor read error count *************************************************************************/ U08 getFPGACPiErrorCount( void ) @@ -1141,8 +1145,8 @@ /*********************************************************************//** * @brief * The getFPGACPi function gets CPi conductivity sensor value. - * @details Inputs: fpgaSensorReadings.fpgaCPi - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPi + * @details \b Outputs: none * @return Latest CPi conductivity sensor value *************************************************************************/ U32 getFPGACPi( void ) @@ -1153,8 +1157,8 @@ /*********************************************************************//** * @brief * The getFPGACPoFault function gets CPo conductivity sensor fault. - * @details Inputs: fpgaSensorReadings.fpgaCPoFault - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPoFault + * @details \b Outputs: none * @return Latest CPo sensor fault *************************************************************************/ U08 getFPGACPoFault( void ) @@ -1165,8 +1169,8 @@ /*********************************************************************//** * @brief * The getFPGACPoReadCount function gets CPo conductivity sensor read count. - * @details Inputs: fpgaSensorReadings.fpgaCPoReadCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPoReadCnt + * @details \b Outputs: none * @return Latest CPo conductivity sensor read count *************************************************************************/ U08 getFPGACPoReadCount( void ) @@ -1178,8 +1182,8 @@ * @brief * The getFPGACPoErrorCount function gets CPo conductivity sensor error count. * error count - * @details Inputs: fpgaSensorReadings.fpgaCPoErrorCnt - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPoErrorCnt + * @details \b Outputs: none * @return Latest CPo conductivity sensor read error count *************************************************************************/ U08 getFPGACPoErrorCount( void ) @@ -1190,8 +1194,8 @@ /*********************************************************************//** * @brief * The getFPGACPo function gets CPo conductivity sensor value. - * @details Inputs: fpgaSensorReadings.fpgaCPo - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPo + * @details \b Outputs: none * @return Latest CPo conductivity sensor value *************************************************************************/ U32 getFPGACPo( void ) @@ -1203,8 +1207,8 @@ * @brief * The getFPGAConcentratePumpsFault function gets concentrate pumps fault * reported by FGPA. - * @details Inputs: fpgaSensorReadings.fpgaCP1CP2Fault - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCP1CP2Fault + * @details \b Outputs: none * @return Latest concentrate pumps fault value *************************************************************************/ U08 getFPGAConcentratePumpsFault( void ) @@ -1216,8 +1220,8 @@ * @brief * The getFPGAAcidPumpIsParked function gets whether the acid pump is currently * parked. - * @details Inputs: fpgaSensorReadings.fpgaCP1CP2Fault - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCP1CP2Fault + * @details \b Outputs: none * @return TRUE if acid pump is parked, FALSE if not *************************************************************************/ BOOL getFPGAAcidPumpIsParked( void ) @@ -1232,8 +1236,8 @@ * @brief * The getFPGABicarbPumpIsParked function gets whether the bicarb pump is currently * parked. - * @details Inputs: fpgaSensorReadings.fpgaCP1CP2Fault - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCP1CP2Fault + * @details \b Outputs: none * @return TRUE if bicarb pump is parked, FALSE if not *************************************************************************/ BOOL getFPGABicarbPumpIsParked( void ) @@ -1248,8 +1252,8 @@ * @brief * The getFPGAAcidPumpParkFault function gets whether the acid pump park command * has faulted. - * @details Inputs: fpgaSensorReadings.fpgaCP1CP2Fault - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCP1CP2Fault + * @details \b Outputs: none * @return TRUE if acid pump park command faulted, FALSE if not *************************************************************************/ BOOL getFPGAAcidPumpParkFault( void ) @@ -1264,8 +1268,8 @@ * @brief * The getFPGABicarbPumpParkFault function gets whether the bicarb pump park command * has faulted. - * @details Inputs: fpgaSensorReadings.fpgaCP1CP2Fault - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCP1CP2Fault + * @details \b Outputs: none * @return TRUE if bicarb pump park command faulted, FALSE if not *************************************************************************/ BOOL getFPGABicarbPumpParkFault( void ) @@ -1279,8 +1283,8 @@ /*********************************************************************//** * @brief * The getFPGAEmstatOutByte function gets Emstat conductivity sensor output byte. - * @details Inputs: fpgaSensorReadings.fpgaEmstatOutByte - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaEmstatOutByte + * @details \b Outputs: none * @return Emstat conductivity sensor output byte *************************************************************************/ U08 getFPGAEmstatCD1CD2OutByte( void ) @@ -1292,8 +1296,8 @@ * @brief * The getFPGAEmstatCD1CD2RxErrCount function gets Emstat conductivity sensor * error count. - * @details Inputs: fpgaSensorReadings.fpgaEmstatRxErrorCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaEmstatRxErrorCount + * @details \b Outputs: none * @return Emstat conductivity sensor receive error count *************************************************************************/ U08 getFPGAEmstatCD1CD2RxErrCount( void ) @@ -1305,8 +1309,8 @@ * @brief * The getFPGAEmstatCD1CD2RxFifoCount function gets Emstat conductivity * sensor receive fifo buffer count. - * @details Inputs: fpgaSensorReadings.fpgaEmstatTxFifoCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaEmstatTxFifoCount + * @details \b Outputs: none * @return Emstat conductivity sensor receive fifo buffer count *************************************************************************/ U16 getFPGAEmstatCD1CD2RxFifoCount( void ) @@ -1318,8 +1322,8 @@ * @brief * The getFPGACP1HallSensePulseWidth function gets concentrate pump CP1 * hall sense pulse width. - * @details Inputs: fpgaSensorReadings.fpgaCP1HallSense - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCP1HallSense + * @details \b Outputs: none * @return concentrate pump CP1 hall sense pulse width *************************************************************************/ U16 getFPGACP1HallSensePulseWidth( void ) @@ -1331,8 +1335,8 @@ * @brief * The getFPGACP1HallSensePulseWidth function gets concentrate pump CP2 * hall sense pulse width. - * @details Inputs: fpgaSensorReadings.fpgaCP2HallSense - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCP2HallSense + * @details \b Outputs: none * @return concentrate pump CP2 hall sense pulse width *************************************************************************/ U16 getFPGACP2HallSensePulseWidth( void ) @@ -1343,8 +1347,8 @@ /*********************************************************************//** * @brief * The getFPGAFan1Pulse function gets inlet fan 1 pulse value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return inlet fan 1 pulse value *************************************************************************/ U16 getFPGAInletFan1TogglePeriod( void ) @@ -1355,8 +1359,8 @@ /*********************************************************************//** * @brief * The getFPGAFan2Pulse function gets inlet fan 2 pulse value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return inlet fan 2 pulse value *************************************************************************/ U16 getFPGAInletFan2TogglePeriod( void ) @@ -1367,8 +1371,8 @@ /*********************************************************************//** * @brief * The getFPGAInletFan3Pulse function gets inlet fan 3 pulse value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return inlet fan 3 pulse value *************************************************************************/ U16 getFPGAInletFan3TogglePeriod( void ) @@ -1379,8 +1383,8 @@ /*********************************************************************//** * @brief * The getFPGAOutletFan1Pulse function gets outlet fan 1 pulse value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return outlet fan 1 pulse value *************************************************************************/ U16 getFPGAOutletFan1TogglePeriod( void ) @@ -1391,8 +1395,8 @@ /*********************************************************************//** * @brief * The getFPGAOutletFan2Pulse function gets outlet fan 2 pulse value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return outlet fan 2 pulse value *************************************************************************/ U16 getFPGAOutletFan2TogglePeriod( void ) @@ -1403,8 +1407,8 @@ /*********************************************************************//** * @brief * The getFPGAOutletFan3Pulse function gets outlet fan 3 pulse value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return outlet fan 3 pulse value *************************************************************************/ U16 getFPGAOutletFan3TogglePeriod( void ) @@ -1415,8 +1419,8 @@ /*********************************************************************//** * @brief * The getFPGABoardTemp function gets FPGA board temperature reading. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return FPGA board temperature reading in ADC counts *************************************************************************/ U16 getFPGABoardTemp( void ) @@ -1427,8 +1431,8 @@ /*********************************************************************//** * @brief * The getFPGAA1B1Temp function gets load cells A1/B1 temperature reading. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return load cells A1/B1 temperature reading in ADC counts *************************************************************************/ U32 getFPGALoadCellsA1B1Temp( void ) @@ -1439,8 +1443,8 @@ /*********************************************************************//** * @brief * The getFPGAA1B1Temp function gets load cells A2/B2 temperature reading. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return load cells A2/B2 temperature reading in ADC counts *************************************************************************/ U32 getFPGALoadCellsA2B2Temp( void ) @@ -1451,8 +1455,8 @@ /*********************************************************************//** * @brief * The getFPGATRoInternalTemp function gets TRo internal temperature reading. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return TRo internal temperature reading in ADC counts *************************************************************************/ U32 getFPGATRoInternalTemp( void ) @@ -1463,8 +1467,8 @@ /*********************************************************************//** * @brief * The getFPGATDiInternalTemp function gets TDi internal temperature reading. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return TDi internal temperature reading in ADC counts *************************************************************************/ U32 getFPGATDiInternalTemp( void ) @@ -1476,8 +1480,8 @@ * @brief * The getFPGAConductivitySnsrInternalTemp function gets conductivity sensor * internal temperature reading. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return conductivity sensor temperature reading in ADC counts *************************************************************************/ U32 getFPGACondSnsrInternalTemp( void ) @@ -1488,8 +1492,8 @@ /*********************************************************************//** * @brief * The getFPGAADC1ReadCount function gets the FPGA ADC1 read count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return FPGA ADC1 read count *************************************************************************/ U08 getFPGAADC1ReadCount( void ) @@ -1500,8 +1504,8 @@ /*********************************************************************//** * @brief * The getFPGAADC1ErrorCount function gets the FPGA ADC1 error count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return FPGA ADC1 error count *************************************************************************/ U08 getFPGAADC1ErrorCount( void ) @@ -1512,8 +1516,8 @@ /*********************************************************************//** * @brief * The getFPGAADC2ReadCount function gets the FPGA ADC2 read count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return FPGA ADC2 read count *************************************************************************/ U08 getFPGAADC2ReadCount( void ) @@ -1524,8 +1528,8 @@ /*********************************************************************//** * @brief * The getFPGAADC2ErrorCount function gets the FPGA ADC2 error count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return FPGA ADC2 error count *************************************************************************/ U08 getFPGAADC2ErrorCount( void ) @@ -1536,8 +1540,8 @@ /*********************************************************************//** * @brief * The getFPGATimerCount function gets the latest FPGA timer millisecond count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return last FPGA timer count *************************************************************************/ U16 getFPGATimerCount( void ) @@ -1549,8 +1553,8 @@ * @brief * The noFluidLeakDetected function returns TRUE if no fluid leak has been * detected (dry) and FALSE if a fluid leak has been detected (wet). - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return noFluidLeakDetected *************************************************************************/ BOOL noFPGAFluidLeakDetected( void ) @@ -1564,8 +1568,8 @@ * @brief * The getFPGADialysateCapStatus function gets the FPGA dialysate cap status * bit. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return dialysate cap status bit *************************************************************************/ U08 getFPGADialysateCapStatus( void ) @@ -1577,8 +1581,8 @@ * @brief * The getFPGAConcentrateCapStatus function gets the FPGA concentrate cap * status bit. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return concentrate cap status bit *************************************************************************/ U08 getFPGAConcentrateCapStatus( void ) @@ -1589,8 +1593,8 @@ /*********************************************************************//** * @brief * The getFPGAInternalVccVoltage function gets the FPGA internal Vcc voltage. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return internal Vcc voltage *************************************************************************/ U16 getFPGAInternalVccVoltage( void ) @@ -1602,8 +1606,8 @@ * @brief * The getFPGAInternalVccAuxilaryVoltage function gets the FPGA auxiliary * Vcc voltage. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return auxiliary Vcc voltage *************************************************************************/ U16 getFPGAInternalVccAuxiliaryVoltage( void ) @@ -1614,8 +1618,8 @@ /*********************************************************************//** * @brief * The getFPGAVPVNVoltage function gets the FPGA VPVN voltage. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return VPVN voltage *************************************************************************/ U16 getFPGAVPVNVoltage( void ) @@ -1628,8 +1632,8 @@ * @brief * The getHardwareConfigStatus function returns the status of the hardware * configuration. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return status of the hardware configuration *************************************************************************/ //HARDWARE_CONFIG_T getHardwareConfigStatus( void ) @@ -1643,8 +1647,8 @@ /*********************************************************************//** * @brief * The getFPGABaroReadCount function gets the FPGA barometric sensor read count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor read count *************************************************************************/ U08 getFPGABaroReadCount( void ) @@ -1655,8 +1659,8 @@ /*********************************************************************//** * @brief * The getFPGABaroErrorCount function gets the FPGA barometric sensor error count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor error count *************************************************************************/ U08 getFPGABaroErrorCount( void ) @@ -1668,8 +1672,8 @@ * @brief * The getFPGABaroMfgInfo function gets the FPGA barometric pressure * sensor manufacturing information. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor manufacturing information *************************************************************************/ U16 getFPGABaroMfgInfo( void ) @@ -1681,8 +1685,8 @@ * @brief * The getFPGABaroPressureSensitivity function gets the FPGA barometric pressure * sensor sensitivity. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor sensitivity *************************************************************************/ U16 getFPGABaroPressureSensitivity( void ) @@ -1694,8 +1698,8 @@ * @brief * The getFPGABaroPressureOffset function gets the FPGA barometric pressure * sensor offset. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor offset *************************************************************************/ U16 getFPGABaroPressureOffset( void ) @@ -1707,8 +1711,8 @@ * @brief * The getFPGABaroTempCoeffOfPressSensitvity function gets the FPGA barometric * pressure sensor temperature coefficient of pressure sensitivity. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor temperature coefficient of pressure sensitivity *************************************************************************/ U16 getFPGABaroTempCoeffOfPressSensitvity( void ) @@ -1720,8 +1724,8 @@ * @brief * The getFPGABaroTempCoeffOfPressOffset function gets the FPGA barometric * pressure sensor temperature coefficient of pressure offset. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor temperature coefficient of pressure offset *************************************************************************/ U16 getFPGABaroTempCoeffOfPressOffset( void ) @@ -1733,8 +1737,8 @@ * @brief * The getFPGABaroReferenceTemperature function gets the FPGA barometric pressure * sensor reference temperature. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor reference temperature *************************************************************************/ U16 getFPGABaroReferenceTemperature( void ) @@ -1746,8 +1750,8 @@ * @brief * The getFPGABaroTempCoeffOfTemperature function gets the FPGA barometric pressure * sensor temperature coefficient of temperature. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor temperature coefficient of temperature *************************************************************************/ U16 getFPGABaroTempCoeffOfTemperature( void ) @@ -1759,8 +1763,8 @@ * @brief * The getFPGABaroCoeffsCRC function gets the FPGA barometric pressure * sensor temperature coefficients' CRC. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor temperature coefficients' CRC *************************************************************************/ U16 getFPGABaroCoeffsCRC( void ) @@ -1772,8 +1776,8 @@ * @brief * The getFPGABaroPressure function gets the FPGA barometric pressure sensor * pressure. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor pressure *************************************************************************/ U32 getFPGABaroPressure( void ) @@ -1785,8 +1789,8 @@ * @brief * The getFPGABaroTemperature function gets the FPGA barometric pressure sensor * temperature. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return barometric pressure sensor temperature *************************************************************************/ U32 getFPGABaroTemperature( void ) @@ -1798,8 +1802,8 @@ * @brief * The getFPGAEmstatCPiCPoByteOut function gets the FPGA Emstat CPi/CPo * byte out data. - * @details Inputs: fpgaSensorReadings.fpgaCPiCPoEmstatOutByte - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCPiCPoEmstatOutByte + * @details \b Outputs: none * @return CPi/CPo Emstat byte out *************************************************************************/ U08 getFPGAEmstatCPiCPoByteOut( void ) @@ -1811,8 +1815,8 @@ * @brief * The getFPGAEmstatCPiCPoRxFifoCount function gets the FPGA Emstat CPi/CPo * receive FIFO count. - * @details Inputs: fpgaSensorReadings.fpgaCD1CD2EmstatRxFifoCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCD1CD2EmstatRxFifoCount + * @details \b Outputs: none * @return CPi/CPo Rx FIFO count *************************************************************************/ U16 getFPGAEmstatCPiCPoRxFifoCount( void ) @@ -1824,8 +1828,8 @@ * @brief * The getFPGAEmstatCPiCPoRxErrCount function gets the FPGA Emstat CPi/CPo * receive FIFO error count. - * @details Inputs: fpgaSensorReadings.fpgaCD1CD2EmstatRxErrorCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaCD1CD2EmstatRxErrorCount + * @details \b Outputs: none * @return CPi/CPo Rx FIFO error count *************************************************************************/ U08 getFPGAEmstatCPiCPoRxErrCount( void ) @@ -1836,8 +1840,8 @@ /*********************************************************************//** * @brief * The getFPGATHdTemp function gets the FPGA THd temperature sensor. - * @details Inputs: fpgaSensorReadings.fpgaTHdTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTHdTemp + * @details \b Outputs: none * @return THd temperature sensor *************************************************************************/ U32 getFPGATHdTemp( void ) @@ -1848,8 +1852,8 @@ /*********************************************************************//** * @brief * The getFPGATHdInternalTemp function gets the FPGA THd internal ADC temperature sensor. - * @details Inputs: fpgaSensorReadings.fpgaTHdInternalTemp - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTHdInternalTemp + * @details \b Outputs: none * @return THd internal ADC temperature sensor *************************************************************************/ U32 getFPGATHdInternalTemp( void ) @@ -1861,8 +1865,8 @@ * @brief * The getFPGATHdReadCount function gets the FPGA THd temperature sensor read * count. - * @details Inputs: fpgaSensorReadings.fpgaTHdRTDReadCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTHdRTDReadCount + * @details \b Outputs: none * @return THd FPGA read count *************************************************************************/ U08 getFPGATHdReadCount( void ) @@ -1874,8 +1878,8 @@ * @brief * The getFPGATHdErrorCount function gets the FPGA THd temperature sensor error * count. - * @details Inputs: fpgaSensorReadings.fpgaTHdRTDErrorCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaTHdRTDErrorCount + * @details \b Outputs: none * @return THd FPGA error count *************************************************************************/ U08 getFPGATHdErrorCount( void ) @@ -1887,8 +1891,8 @@ * @brief * The getFPGAROFlowSensorEdgeCount function gets the FPGA RO flow sensor * edge count. - * @details Inputs: fpgaSensorReadings.fpgaROFlowSensorEdgeCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaROFlowSensorEdgeCount + * @details \b Outputs: none * @return RO flow sensor edge count *************************************************************************/ U16 getFPGAROFlowSensorEdgeCount( void ) @@ -1900,8 +1904,8 @@ * @brief * The getFPGADialysateFlowSensorEdgeCount function gets the FPGA dialysate * flow sensor edge count - * @details Inputs: fpgaSensorReadings.fpgaDialysateFlowSensorEdgeCount - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings.fpgaDialysateFlowSensorEdgeCount + * @details \b Outputs: none * @return Dialysate flow sensor edge count *************************************************************************/ U16 getFPGADialysateFlowSensorEdgeCount( void ) @@ -1912,8 +1916,8 @@ /*********************************************************************//** * @brief * The getFPGAHeaterGateADC function gets Heater Gate ADC value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return heater gate adc value *************************************************************************/ U16 getFPGAHeaterGateADC( void ) @@ -1924,8 +1928,8 @@ /*********************************************************************//** * @brief * The getFPGAHeaterGndADC function gets Heater Ground ADC value. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return heater ground adc value *************************************************************************/ U16 getFPGAHeaterGndADC( void ) @@ -1937,8 +1941,8 @@ * @brief * The getFPGAHeaterGateADCReadCount function returns the main primary heater * voltage ADC read count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return main primary heater voltage ADC read count *************************************************************************/ U08 getFPGAHeaterGateADCReadCount( void ) @@ -1950,8 +1954,8 @@ * @brief * The getFPGAHeaterGateADCReadCount function returns the main primary heater * voltage ADC error count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return main primary heater voltage ADC error count *************************************************************************/ U08 getFPGAHeaterGateADCErrorCount( void ) @@ -1963,8 +1967,8 @@ * @brief * The getFPGADrainPumpCurrentFeedback function returns the drain pump current * feedback. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return drain pump current feedback *************************************************************************/ U16 getFPGADrainPumpCurrentFeedback( void ) @@ -1976,8 +1980,8 @@ * @brief * The getFPGADrainPumpSpeedFeedback function returns the drain pump speed * feedback. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return drain pump speed feedback *************************************************************************/ U16 getFPGADrainPumpSpeedFeedback( void ) @@ -1988,8 +1992,8 @@ /*********************************************************************//** * @brief * The getFPGADrainPumpDirection function returns the drain pump direction. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return drain pump direction *************************************************************************/ U08 getFPGADrainPumpDirection( void ) @@ -2001,8 +2005,8 @@ * @brief * The getFPGAOnBoardThermistorCount function returns the onboard thermistor * count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return onboard thermistor *************************************************************************/ U16 getFPGAOnBoardThermistorCount( void ) @@ -2015,8 +2019,8 @@ * The getFPGAPowerSupply2ThermistorCount function returns the * Power Supply 2 thermistor * count. - * @details Inputs: fpgaSensorReadings - * @details Outputs: none + * @details \b Inputs: fpgaSensorReadings + * @details \b Outputs: none * @return onboard thermistor *************************************************************************/ U16 getFPGAPowerSupply2ThermistorCount( void ) @@ -2029,8 +2033,8 @@ * The checkFPGACommFailure function increments the FPGA comm failure * windowed timer and returns whether or not the number of failures in * the window have been reached. - * @details Inputs: none - * @details Outputs: none + * @details \b Inputs: none + * @details \b Outputs: none * @return TRUE if windowed count exceeded, else false. *************************************************************************/ void checkFPGACommFailure( void ) @@ -2039,7 +2043,7 @@ { if ( TRUE == incTimeWindowedCount( TIME_WINDOWED_COUNT_FPGA_COMM_FAILURES ) ) { - //SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DG_FPGA_COMM_TIMEOUT, MAX_FPGA_COMM_FAILURES, (U32)fpgaSensorReadings.fpgaIOErrorCntProcessor ) + SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DD_FPGA_COMM_TIMEOUT, MAX_FPGA_COMM_FAILURES, (U32)fpgaSensorReadings.fpgaIOErrorCntProcessor ) } } } @@ -2050,8 +2054,8 @@ * windowed timer if an FE or OE error has occurred and returns whether * or not the number of failures in * the window have been reached. - * @details Inputs: none - * @details Outputs: none + * @details \b Inputs: none + * @details \b Outputs: none * @return TRUE if windowed count exceeded, else false. *************************************************************************/ BOOL checkFPGAFEOEFailure( void ) @@ -2065,7 +2069,7 @@ { if ( TRUE == incTimeWindowedCount( TIME_WINDOWED_COUNT_FPGA_COMM_FAILURES ) ) { - //SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DG_FPGA_COMM_TIMEOUT, MAX_FPGA_COMM_FAILURES, (U32)fpgaSensorReadings.fpgaIOErrorCntProcessor ) + SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DD_FPGA_COMM_TIMEOUT, MAX_FPGA_COMM_FAILURES, (U32)fpgaSensorReadings.fpgaIOErrorCntProcessor ) status = TRUE; } }