Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: GHVentilator.h
- Revision:
- 8:fa5cc1397510
- Parent:
- 6:b2672da545f1
- Child:
- 9:256989faeb3b
diff -r 3c2fd8f84075 -r fa5cc1397510 GHVentilator.h --- a/GHVentilator.h Thu Apr 09 02:31:18 2020 +0000 +++ b/GHVentilator.h Thu Apr 09 03:18:31 2020 +0000 @@ -47,7 +47,7 @@ Ticker UpdateTicker; //< The x times per second update ticker. /* Constructs a GHV with 1 channel. */ - GHVentilator (int TicksPerSecond, int TicksCalibration, + GHVentilator (int TicksPerSecond, int TicksPEEP, int TicksCalibration, I2C& Bus, char BusAddress, float PressureHysteresis, float HysteresisPatient, @@ -55,7 +55,7 @@ GHVentilatorChannel* A); /* Constructs a GHV with 2 channels. */ - GHVentilator (int TicksPerSecond, int TicksCalibration, + GHVentilator (int TicksPerSecond, int TicksPEEP, int TicksCalibration, I2C& Bus, char BusAddress, float HysteresisChamber, float PressureHysteresis, @@ -64,7 +64,7 @@ GHVentilatorChannel* B); /* Constructs a GHV with 3 channels. */ - GHVentilator (int TicksPerSecond, int TicksCalibration, + GHVentilator (int TicksPerSecond, int TicksPEEP, int TicksCalibration, I2C& Bus, char BusAddress, float PressureHysteresis, float HysteresisPatient, @@ -74,7 +74,7 @@ GHVentilatorChannel* C); /* Constructs a GHV with 4 channels. */ - GHVentilator (int TicksPerSecond, int TicksCalibration, + GHVentilator (int TicksPerSecond, int TicksCalibration, int TicksPEEP, I2C& Bus, char BusAddress, float PressureHysteresis, float HysteresisPatient, @@ -84,6 +84,9 @@ GHVentilatorChannel* C, GHVentilatorChannel* D); + /* Sets the TicksPEEP given 1/64 second > NewTicksPEEP < 1 second. */ + void TicksPEEPSet (int NewTicksPEEP); + /* Enters the Calibration State. */ void StateCalibrateEnter ();