Index: firmware/App/Drivers/GLXferPump.h =================================================================== diff -u -r3a8cf075eb6f0d255f516ac26bac7fbaacfde14a -r395522dffef1348e176564925656012f529c1910 --- firmware/App/Drivers/GLXferPump.h (.../GLXferPump.h) (revision 3a8cf075eb6f0d255f516ac26bac7fbaacfde14a) +++ firmware/App/Drivers/GLXferPump.h (.../GLXferPump.h) (revision 395522dffef1348e176564925656012f529c1910) @@ -1,17 +1,17 @@ /************************************************************************** * -* 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 GLXferPump.h * -* @author (last) Sean -* @date (last) 17-Sep-2024 +* @author (last) Dara Navaei +* @date (last) 09-Nov-2025 * -* @author (original) Sean -* @date (original) 17-Sep-2024 +* @author (original) Sean Nash +* @date (original) 19-Sep-2024 * ***************************************************************************/ @@ -33,19 +33,14 @@ // ********** public definitions ********** -/// Enumeration of air pump motor states. -typedef enum AirPumpMotorStates -{ - AIR_PUMP_MOTOR_OFF = 0, ///< Air Pump Off. - AIR_PUMP_MOTOR_ON, ///< Air Pump On. - NUM_OF_AIR_PUMP_MOTOR_STATES, ///< Number of air pump motor states. -} AIR_PUMP_MOTOR_STATE_T; +#define AIR_PUMP_MOTOR_OFF 0 ///< Power level setting (PWM) for H12 air pump to turn pump off. +#define AIR_PUMP_MOTOR_MAX_PWM 60 ///< Power level setting (PWM) maximum for H12 air pump. // ********** public function prototypes ********** -void initGasLiqXferPumpDriver(void); -void setAirPumpMotorState( AIR_PUMP_MOTOR_STATE_T state ); -AIR_PUMP_MOTOR_STATE_T getAirPumpMotorState( void ); +void initGasLiqXferPumpDriver( void ); +void setAirPumpMotorPower( U08 power ); +U08 getAirPumpMotorPower( void ); BOOL testSetAirPump( MESSAGE_T *message );