int16_t * lastPressureValues()
Get last pressure values.
uint32_t tick() const
Get the tick number of the current cycle.
int16_t pressure() const
Get the current measured pressure.
int16_t peakPressureMeasure() const
Get the measured peak pressure.
const int16_t pressureTriggerOffsetCommand() const
Get the value of the inspiratory trigger pressure command.
uint32_t ticksPerInhalation() const
Get the duration of an inhalation in ticks.
const void setTrigger(bool triggerValue)
Reset the trigger to false.
MainController mainController
#define MAX_PRESSURE_SAMPLES
Number of values to aggregate when computing plateau pressure.