software:firmware
MakAir Firmware
cycle.h File Reference

Static data linked to the breathing cycle. More...

Go to the source code of this file.

Macros

#define NUMBER_OF_VENTILATION_MODES   5u
 

Enumerations

enum  CyclePhases { INHALATION , EXHALATION }
 Defines the 2 main phases of the respiratory cycle. More...
 
enum  VentilationModes {
  PC_CMV = 1 , PC_AC = 2 , VC_CMV = 3 , PC_VSAI = 4 ,
  VC_AC = 5
}
 Supported ventilation modes. More...
 

Detailed Description

Static data linked to the breathing cycle.

Author
Makers For Life

Definition in file cycle.h.

Macro Definition Documentation

◆ NUMBER_OF_VENTILATION_MODES

#define NUMBER_OF_VENTILATION_MODES   5u

Definition at line 9 of file cycle.h.

Enumeration Type Documentation

◆ CyclePhases

Defines the 2 main phases of the respiratory cycle.

Enumerator
INHALATION 

Inspiration and inspiration holding.

EXHALATION 

Exhalation and pause.

Definition at line 14 of file cycle.h.

14  {
16  INHALATION,
19 };
@ EXHALATION
Exhalation and pause.
Definition: cycle.h:18
@ INHALATION
Inspiration and inspiration holding.
Definition: cycle.h:16

◆ VentilationModes

Supported ventilation modes.

Enumerator
PC_CMV 

PC-CMV (default)

PC_AC 

PC-AC.

VC_CMV 

VC-CMV.

PC_VSAI 

PC-VSAI.

VC_AC 

VC-AC.

Definition at line 22 of file cycle.h.

22  {
24  PC_CMV = 1,
26  PC_AC = 2,
28  VC_CMV = 3,
30  PC_VSAI = 4,
32  VC_AC = 5,
33 };
@ PC_CMV
PC-CMV (default)
Definition: cycle.h:24
@ VC_AC
VC-AC.
Definition: cycle.h:32
@ VC_CMV
VC-CMV.
Definition: cycle.h:28
@ PC_AC
PC-AC.
Definition: cycle.h:26
@ PC_VSAI
PC-VSAI.
Definition: cycle.h:30