Index: firmware/App/Controllers/PresOccl.c =================================================================== diff -u -rb34eab65955f1681758069584bf6d1cda7fee846 -r4edcab754487b8abf005e874b1d4aea24a9ede57 --- firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision b34eab65955f1681758069584bf6d1cda7fee846) +++ firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 4edcab754487b8abf005e874b1d4aea24a9ede57) @@ -101,9 +101,8 @@ /*********************************************************************//** * @brief * The initPresOccl function initializes the initPresOccl module. - * @details - * Inputs : none - * Outputs : initPresOccl module initialized. + * @details Inputs: none + * @details Outputs: initPresOccl module initialized. * @return none *************************************************************************/ void initPresOccl( void ) @@ -114,9 +113,8 @@ /*********************************************************************//** * @brief * The execPresOccl function executes the pressure and occlusion monitor. - * @details - * Inputs : presOcclState - * Outputs : presOcclState + * @details Inputs: presOcclState + * @details Outputs: presOcclState * @return none *************************************************************************/ void execPresOccl( void ) @@ -145,9 +143,8 @@ * @brief * The handlePresOcclInitState function handles the pres/occl initialize state * of the pressure/occlusion monitor state machine. - * @details - * Inputs : TBD - * Outputs : TBD + * @details Inputs: TBD + * @details Outputs: TBD * @return next state *************************************************************************/ static PRESSURE_STATE_T handlePresOcclInitState( void ) @@ -161,9 +158,8 @@ * @brief * The handlePresOcclContReadState function handles the continuous read state * of the pressure/occlusion monitor state machine. - * @details - * Inputs : TBD - * Outputs : pressure sensor values updated + * @details Inputs: TBD + * @details Outputs: pressure sensor values updated * @return next state *************************************************************************/ static PRESSURE_STATE_T handlePresOcclContReadState( void ) @@ -257,9 +253,8 @@ * @brief * The checkPressureLimits function gets the pressure/occlusion data * publication interval. - * @details - * Inputs : occlusion pressures for the pumps - * Outputs : + * @details Inputs: occlusion pressures for the pumps + * @details Outputs: * @return none *************************************************************************/ static void checkOcclusions( void ) @@ -291,9 +286,8 @@ * @brief * The getPublishPresOcclDataInterval function gets the pressure/occlusion data * publication interval. - * @details - * Inputs : presOcclDataPublishInterval - * Outputs : none + * @details Inputs: presOcclDataPublishInterval + * @details Outputs: none * @return the current pressure/occlusion data publication interval (in task intervals). *************************************************************************/ U32 getPublishPresOcclDataInterval( void ) @@ -311,9 +305,8 @@ /*********************************************************************//** * @brief * The getMeasuredArterialPressure function gets the current arterial pressure. - * @details - * Inputs : arterialPressure - * Outputs : none + * @details Inputs: arterialPressure + * @details Outputs: none * @return the current arterial pressure (in mmHg). *************************************************************************/ F32 getMeasuredArterialPressure( void ) @@ -331,9 +324,8 @@ /*********************************************************************//** * @brief * The getMeasuredVenousPressure function gets the measured venous pressure. - * @details - * Inputs : venousPressure - * Outputs : none + * @details Inputs: venousPressure + * @details Outputs: none * @return the current venous pressure (in mmHg). *************************************************************************/ F32 getMeasuredVenousPressure( void ) @@ -352,9 +344,8 @@ * @brief * The getMeasuredBloodPumpOcclusion function gets the measured blood pump * occlusion pressure. - * @details - * Inputs : bloodPumpOcclusion - * Outputs : none + * @details Inputs: bloodPumpOcclusion + * @details Outputs: none * @return the current blood pump occlusion pressure (in mmHg). *************************************************************************/ U32 getMeasuredBloodPumpOcclusion( void ) @@ -373,9 +364,8 @@ * @brief * The getMeasuredDialInPumpOcclusion function gets the measured dialysate * inlet pump occlusion pressure. - * @details - * Inputs : dialInPumpOcclusion - * Outputs : none + * @details Inputs: dialInPumpOcclusion + * @details Outputs: none * @return the current dialysis inlet pump occlusion pressure (in mmHg). *************************************************************************/ U32 getMeasuredDialInPumpOcclusion( void ) @@ -394,9 +384,8 @@ * @brief * The getMeasuredDialOutPumpOcclusion function gets the measured dialysate * outlet pump occlusion pressure. - * @details - * Inputs : dialOutPumpOcclusion - * Outputs : none + * @details Inputs: dialOutPumpOcclusion + * @details Outputs: none * @return the current dialysis outlet pump occlusion pressure (in mmHg). *************************************************************************/ U32 getMeasuredDialOutPumpOcclusion( void ) @@ -415,9 +404,8 @@ * @brief * The publishPresOcclData function publishes pressure/occlusion data at the * set interval. - * @details - * Inputs : TBD - * Outputs : Pressure/occlusion data are published to CAN bus. + * @details Inputs: TBD + * @details Outputs: Pressure/occlusion data are published to CAN bus. * @return none *************************************************************************/ static void publishPresOcclData( void ) @@ -442,9 +430,8 @@ * @brief * The execPresOcclTest function executes the state machine for the * PresOccl self-test. - * @details - * Inputs : none - * Outputs : none + * @details Inputs: none + * @details Outputs: none * @return the current state of the PresOccl self-test. *************************************************************************/ SELF_TEST_STATUS_T execPresOcclTest( void ) @@ -466,9 +453,8 @@ * @brief * The testSetPresOcclDataPublishIntervalOverride function overrides the * pressure and occlusion data publish interval. - * @details - * Inputs : none - * Outputs : presOcclDataPublishInterval + * @details Inputs: none + * @details Outputs: presOcclDataPublishInterval * @param value override pressure and occlusion data publish interval with (in ms) * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -492,9 +478,8 @@ * @brief * The testResetPresOcclDataPublishIntervalOverride function resets the override * of the pressure and occlusion data publish interval. - * @details - * Inputs : none - * Outputs : presOcclDataPublishInterval + * @details Inputs: none + * @details Outputs: presOcclDataPublishInterval * @return TRUE if override reset successful, FALSE if not *************************************************************************/ BOOL testResetPresOcclDataPublishIntervalOverride( void ) @@ -515,9 +500,8 @@ * @brief * The testSetArterialPressureOverride function overrides the measured arterial * pressure. - * @details - * Inputs : none - * Outputs : arterialPressure + * @details Inputs: none + * @details Outputs: arterialPressure * @param value override arterial pressure (in mmHg) * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -539,9 +523,8 @@ * @brief * The testResetArterialPressureOverride function resets the override of the * arterial pressure. - * @details - * Inputs : none - * Outputs : arterialPressure + * @details Inputs: none + * @details Outputs: arterialPressure * @return TRUE if reset successful, FALSE if not *************************************************************************/ BOOL testResetArterialPressureOverride( void ) @@ -562,9 +545,8 @@ * @brief * The testSetVenousPressureOverride function overrides the measured venous * pressure. - * @details - * Inputs : none - * Outputs : venousPressure + * @details Inputs: none + * @details Outputs: venousPressure * @param value override measured venous pressure with (in mmHg) * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -586,9 +568,8 @@ * @brief * The testResetVenousPressureOverride function resets the override of the * venous pressure. - * @details - * Inputs : none - * Outputs : venousPressure + * @details Inputs: none + * @details Outputs: venousPressure * @return TRUE if reset successful, FALSE if not *************************************************************************/ BOOL testResetVenousPressureOverride( void ) @@ -609,9 +590,8 @@ * @brief * The testSetBloodPumpOcclusionOverride function overrides the measured * blood pump occlusion pressure. - * @details - * Inputs : none - * Outputs : bloodPumpOcclusion + * @details Inputs: none + * @details Outputs: bloodPumpOcclusion * @param value override measured blood pump occlusion pressure with * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -633,9 +613,8 @@ * @brief * The testResetBloodPumpOcclusionOverride function resets the override of the * measured blood pump occlusion pressure. - * @details - * Inputs : none - * Outputs : bloodPumpOcclusion + * @details Inputs: none + * @details Outputs: bloodPumpOcclusion * @return TRUE if reset successful, FALSE if not *************************************************************************/ BOOL testResetBloodPumpOcclusionOverride( void ) @@ -656,9 +635,8 @@ * @brief * The testSetDialInPumpOcclusionOverride function overrides the measured * dialysate inlet pump occlusion pressure.n - * @details - * Inputs : none - * Outputs : dialInPumpOcclusion + * @details Inputs: none + * @details Outputs: dialInPumpOcclusion * @param value override measured dialysate inlet pump occlusion pressure * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -680,9 +658,8 @@ * @brief * The testResetDialInPumpOcclusionOverride function resets the override of the * measured dialysate inlet pump occlusion pressure. - * @details - * Inputs : none - * Outputs : dialInPumpOcclusion + * @details Inputs: none + * @details Outputs: dialInPumpOcclusion * @return TRUE if reset successful, FALSE if not *************************************************************************/ BOOL testResetDialInPumpOcclusionOverride( void ) @@ -703,9 +680,8 @@ * @brief * The testSetDialOutPumpOcclusionOverride function overrides the measured * dialysate outlet pump occlusion pressure. - * @details - * Inputs : none - * Outputs : dialOutPumpOcclusion + * @details Inputs: none + * @details Outputs: dialOutPumpOcclusion * @param value override measured dialysate outlet pump occlusion pressure * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -727,9 +703,8 @@ * @brief * The testResetDialOutPumpOcclusionOverride function resets the override of the * measured dialysate outlet pump occlusion pressure. - * @details - * Inputs : none - * Outputs : dialOutPumpOcclusion + * @details Inputs: none + * @details Outputs: dialOutPumpOcclusion * @return TRUE if reset successful, FALSE if not *************************************************************************/ BOOL testResetDialOutPumpOcclusionOverride( void )