/************************************************************************** * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file Rinseback.h * * @author (last) Sean Nash * @date (last) 14-Jan-2021 * * @author (original) Sean * @date (original) 14-Jan-2021 * ***************************************************************************/ #ifndef __RINSEBACK_H__ #define __RINSEBACK_H__ #include "HDCommon.h" #include "HDDefs.h" /** * @defgroup Rinseback Rinseback * @brief Rinseback sub-mode of treatment mode. * The rinseback state is where operational control goes when user chooses * to do a blood rinseback (mid-treatment or end of treatment) in order to * disconnect from the system. * * @addtogroup Rinseback * @{ */ // ********** private function prototypes ********** void initRinseback( void ); void transitionToRinseback( void ); void execRinseback( void ); void signalStopRinseback( void ); // from alarm void signalRinsebackUserAction( REQUESTED_RINSEBACK_USER_ACTIONS_T action ); // from user RINSEBACK_STATE_T getCurrentRinsebackState( void ); /**@}*/ #endif