/************************************************************************** * * Copyright (c) 2024-2024 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 Bubbles.h * * @author (last) Sean * @date (last) 07-Aug-2024 * * @author (original) Sean * @date (original) 07-Aug-2024 * ***************************************************************************/ #ifndef __BUBBLES_H__ #define __BUBBLES_H__ #include "TDCommon.h" #include "BubbleDetector.h" /** * @defgroup Bubbles Bubbles * @brief Air bubble detectors monitor module. Monitors the * bubble detector. * * SMD - Venous Air Bubble Detector Part No. DIA8413 * * @addtogroup Bubbles * @{ */ // ********** public definitions ********** /// Bubble detectors data publish typedef struct { U32 h18Status; ///< Venous bubble detector status U32 h18State; ///< Venous bubble detector state } BUBBLES_DATA_T; // ********** public function prototypes ********** void initBubbles( void ); void execBubbles( void ); void selfTestBubble( BUBBLE_DETECTOR_T ); void setVenousBubbleDetectionEnabled( BUBBLE_DETECTOR_T bubble, BOOL enabled ); BOOL getVenousBubbleDetectionEnabled( BUBBLE_DETECTOR_T bubble ); SELF_TEST_STATUS_T getBubbleSelfTestStatus( BUBBLE_DETECTOR_T bubble ); BOOL testBubblesDataPublishIntervalOverride( MESSAGE_T *message ); /**@}*/ #endif