Index: firmware/App/Controllers/BPModule.c =================================================================== diff -u -re7af2180112a6c1ba16c90fa90b64a36c08db8c9 -rf376257c406e8b4f61ef4ad10f0b0f84831932d2 --- firmware/App/Controllers/BPModule.c (.../BPModule.c) (revision e7af2180112a6c1ba16c90fa90b64a36c08db8c9) +++ firmware/App/Controllers/BPModule.c (.../BPModule.c) (revision f376257c406e8b4f61ef4ad10f0b0f84831932d2) @@ -159,7 +159,7 @@ * measurement results against configured thresholds and activates * corresponding blood pressure alarms. * @details \b Inputs: bpResults - * @details \b Outputs: activateAlarm + * @details \b Outputs: lowSystolicCount, activateAlarm * @return none ***************************************************************************/ static void checkBloodPressureReading( BP_VITALS_DATA_T *bpResults ) @@ -199,7 +199,8 @@ * state handling. * @details \b Inputs: requestAdultBPReading, requestPedsBPReading, * requestAbortBPReading - * @details \b Outputs: flags + * @details \b Outputs: startAdultBPMeasurement, startPedsBPMeasurement, + * abortBPMeasurement * @return next BP module state ***************************************************************************/ static BP_MODULE_STATE_T handleBPModuleIdleState( void ) @@ -230,8 +231,8 @@ /*********************************************************************//** * @brief * The handleBPModuleMeasureState function executes the BP module - * measurement state handling. - * @details \b Inputs: results + * measurement state + * @details \b Inputs: isBPMeasurementReady, hasBPDriverError * @details \b Outputs: bpModuleState * @return next BP module state ***************************************************************************/ @@ -256,8 +257,8 @@ * @brief * The handleBPModuleCheckState function executes the BP module * validation state handling. -* @details \b Inputs: BP driver measurement results -* @details \b Outputs: BP alarms +* @details \b Inputs: checkBloodPressureReading +* @details \b Outputs: publishVitalsData * @return next BP module state. ***************************************************************************/ static BP_MODULE_STATE_T handleBPModuleCheckState( void ) @@ -278,7 +279,7 @@ * The bpModuleHandleVitalsRequest function handles the UI blood * pressure measurement request. * @details \b Message \b Sent: MSG_ID_TD_BLOOD_PRESSURE_READING -* @details \b Inputs: message containing blood pressure request +* @details \b Inputs: isBPCuffConnected * @details \b Outputs: requestAdultBPReading * @return TRUE if request is accepted, FALSE if rejected. *************************************************************************/ @@ -327,7 +328,7 @@ * The publishVitalsData function publishes blood pressure data. * @details \b Message \b Sent: MSG_ID_TD_BLOOD_PRESSURE_DATA * @details \b Inputs: bpResults -* @details \b Outputs: none +* @details \b Outputs: Blood pressure data are published to CAN bus * @return none *************************************************************************/ static void publishVitalsData( void )