Index: firmware/App/Drivers/PressureSensor.h =================================================================== diff -u -reffc2a8283d6528109b2401bbad70dc554db4e53 -re69d7ce1c9d88695e25e8ea94529dffdd8592434 --- firmware/App/Drivers/PressureSensor.h (.../PressureSensor.h) (revision effc2a8283d6528109b2401bbad70dc554db4e53) +++ firmware/App/Drivers/PressureSensor.h (.../PressureSensor.h) (revision e69d7ce1c9d88695e25e8ea94529dffdd8592434) @@ -14,12 +14,12 @@ * @date (original) 22-Aug-2024 * ***************************************************************************/ - -#ifndef __PRESSURE_SENSOR_H__ -#define __PRESSURE_SENSOR_H__ - -#include "TDCommon.h" - + +#ifndef __PRESSURE_SENSOR_H__ +#define __PRESSURE_SENSOR_H__ + +#include "TDCommon.h" + /** * @defgroup PressureSensor PressureSensor * @brief The Pressure Sensor unit provides low-level functions for interfacing @@ -29,27 +29,27 @@ * @{ */ -// ********** public definitions ********** - +// ********** public definitions ********** + /// Enumeration of pressure sensors monitored by this unit. typedef enum PressureSensors { - H2 = 0, ///< Arterial blood line pressure sensor - H14, ///< Vensous blood line pressure sensor + H2_PRES = 0, ///< Arterial blood line pressure sensor + H14_PRES, ///< Vensous blood line pressure sensor NUM_OF_PRESSURE_SENSORS ///< Number of pressure sensors } PRESSURE_SENSORS_T; - -// ********** public function prototypes ********** - + +// ********** public function prototypes ********** + void initPressureSensor( void ); void readPressureSensors( void ); F32 getPressure( PRESSURE_SENSORS_T sensor ); F32 getPressureSensorTemperature( PRESSURE_SENSORS_T sensor ); U32 getPressureSensorReadCount( PRESSURE_SENSORS_T sensor ); U32 getPressureSensorErrorCount( PRESSURE_SENSORS_T sensor ); - + BOOL testPressureSensorOverride( MESSAGE_T *message ); /**@}*/ -#endif +#endif