Index: firmware/App/Modes/Prime.h =================================================================== diff -u -r3d72b777cf1ceb673d118341c46e2d6d5b7b75f5 -r6c1d6a3eaf065c2b2d537d9fef793d73ea328359 --- firmware/App/Modes/Prime.h (.../Prime.h) (revision 3d72b777cf1ceb673d118341c46e2d6d5b7b75f5) +++ firmware/App/Modes/Prime.h (.../Prime.h) (revision 6c1d6a3eaf065c2b2d537d9fef793d73ea328359) @@ -7,8 +7,8 @@ * * @file Prime.h * -* @author (last) Quang Nguyen -* @date (last) 05-May-2021 +* @author (last) Dara Navaei +* @date (last) 22-Feb-2022 * * @author (original) Quang Nguyen * @date (original) 08-Dec-2020 @@ -32,26 +32,24 @@ // ********** public definitions ********** -#pragma pack(push,1) - /// Payload record structure for a priming status data broadcast message. typedef struct { U32 totalTime; ///< Total priming time in seconds. U32 remainingTime; ///< Remaining time for priming in seconds. } PRIMING_DATA_PAYLOAD_T; -#pragma pack(pop) - // ********** public function prototypes ********** -void initPrime( void ); -void transitionToPrime( void ); -void execPrime( void ); -U32 getPrimeState( void ); +void initPrime( void ); // Initialize prime sub-mode (of pre-treatment mode). +void transitionToPrime( void ); // Transition to prime sub-mode (of pre-treatment mode). +void execPrime( void ); // Execute the prime state machine. +U32 getPrimeState( void ); // Get the current state of the prime state machine. +U32 getDialyzerBloodVolume( void ); // Get the blood volume (in mL) associated with a given dialyzer type. +U32 getDialyzerDialysateVolume( void ); // Get the dialysate volume (in mL) associated with a given dialyzer type. -void signalStartPrime( void ); -void signalResumePrime( void ); +void signalStartPrime( void ); // User has requested to start prime +void signalResumePrime( void ); // User has requested to resume prime /**@}*/