Index: firmware/App/Drivers/BubbleDetector.h =================================================================== diff -u -r37d4284f56e175716ea13ae56c621110fa96e53c -r395522dffef1348e176564925656012f529c1910 --- firmware/App/Drivers/BubbleDetector.h (.../BubbleDetector.h) (revision 37d4284f56e175716ea13ae56c621110fa96e53c) +++ firmware/App/Drivers/BubbleDetector.h (.../BubbleDetector.h) (revision 395522dffef1348e176564925656012f529c1910) @@ -1,25 +1,25 @@ /************************************************************************** * -* Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. +* Copyright (c) 2024-2026 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 BubbleDetector.h * -* @author (last) Sean -* @date (last) 22-Aug-2024 +* @author (last) Sean Nash +* @date (last) 23-Jun-2025 * -* @author (original) Sean +* @author (original) Sean Nash * @date (original) 22-Aug-2024 * ***************************************************************************/ - -#ifndef __BUBBLE_DETECTOR_H__ -#define __BUBBLE_DETECTOR_H__ - -#include "TDCommon.h" - + +#ifndef __BUBBLE_DETECTOR_H__ +#define __BUBBLE_DETECTOR_H__ + +#include "TDCommon.h" + /** * @defgroup BubbleDetector BubbleDetector * @brief The Bubble Detector unit provides low-level functions for interfacing @@ -29,31 +29,31 @@ * @{ */ -// ********** public definitions ********** - +// ********** public definitions ********** + /// Enumeration of bubble detector sensors. typedef enum Bubble_Detectors { - BUBBLE_DETECTOR_ADV = 0, ///< ADV - Venous bubble detector. + H18_BBLD = 0, ///< H18: Venous bubble detector. NUM_OF_BUBBLE_DETECTORS ///< Number of used internal ADC channels. } BUBBLE_DETECTOR_T; /// Enumeration of bubble detection states. typedef enum Bubble_States { - NO_BUBBLE_DETECTED = 0, ///< No bubble is detected. - BUBBLE_DETECTED, ///< A bubble is detected. + BUBBLE_DETECTED = 0, ///< A bubble is detected. + NO_BUBBLE_DETECTED, ///< No bubble is detected. NUM_OF_BUBBLE_DETECTION_STATES ///< Number of bubble detection states. } BUBBLE_STATE_T; -// ********** public function prototypes ********** - -void initBubbleDetector( void ); +// ********** public function prototypes ********** + +void initBubbleDetector( void ); void readBubbleDetectors( void ); BUBBLE_STATE_T getBubbleDetectedState( BUBBLE_DETECTOR_T sensor ); BOOL testBubbleDetectOverride( MESSAGE_T *message ); - + /**@}*/ -#endif +#endif