software:firmware
MakAir Firmware
|
Offset aware reading class for the pressure sensor. More...
#include <pressure.h>
Public Member Functions | |
PressureSensor () | |
Default constructor. More... | |
int32_t | read () |
Read the current pressure for the feedback control. More... | |
void | setPressureSensorOffset (int32_t p_pressureSensorOffest) |
Set the pressure sensor offset. More... | |
Private Attributes | |
int32_t | m_PressureSensorOffset |
Pressure sensor offset in mmH2O. More... | |
Offset aware reading class for the pressure sensor.
Definition at line 13 of file pressure.h.
PressureSensor::PressureSensor | ( | ) |
Default constructor.
Definition at line 27 of file pressure.cpp.
int32_t PressureSensor::read | ( | ) |
Read the current pressure for the feedback control.
Definition at line 29 of file pressure.cpp.
|
inline |
Set the pressure sensor offset.
p_pressureSensorOffest | Pressure offset in mmH2O |
Definition at line 30 of file pressure.h.
|
private |
Pressure sensor offset in mmH2O.
Definition at line 36 of file pressure.h.