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: GHVentilatorChannel.h
- Revision:
- 8:fa5cc1397510
- Parent:
- 6:b2672da545f1
- Child:
- 9:256989faeb3b
--- a/GHVentilatorChannel.h Thu Apr 09 02:31:18 2020 +0000 +++ b/GHVentilatorChannel.h Thu Apr 09 03:18:31 2020 +0000 @@ -27,7 +27,7 @@ volatile int Ticks; //< Ticks since the beginning of the inhale. int TicksExhale, //< The period of the breathing. TicksInhale, //< The tick count in the inhale duty cycle. - TicksPeep; //< The max ticks between an exhale and inhale. + TicksPEEP; //< The max ticks between an exhale and inhale. volatile int TicksFlowLast, //< The previous inhale TicksFlow count. TicksFlow; //< Flow sensor pulse TicksFlow count. BMP280 Atmosphere; //< The air Atmosphere going to the patient. @@ -53,6 +53,9 @@ /* Returns a pointer to this. */ GHVentilatorChannel* This(); + /* Sets the TicksPEEP. */ + void TicksPEEPSet (int NewTicksPEEP, int TicksSecond); + /* Turns off this channel. */ void TurnOff ();