software:firmware
MakAir Firmware
vc_ac_controller.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "../includes/parameters.h"
11 #include "../includes/vc_cmv_controller.h"
12 
14 class VC_AC_Controller final : public VC_CMV_Controller {
15  public:
17  void exhale() override;
18 
20  struct Alarms enabledAlarms() const override {
21  struct Alarms a = {0u, RCM_SW_2, RCM_SW_3, RCM_SW_4, RCM_SW_5,
24  RCM_SW_18, RCM_SW_19, 0u, 0u, RCM_SW_22,
25  RCM_SW_23};
26  return a;
27  }
28 };
29 
#define RCM_SW_11
#define RCM_SW_12
#define RCM_SW_15
#define RCM_SW_3
#define RCM_SW_5
#define RCM_SW_18
#define RCM_SW_23
#define RCM_SW_19
#define RCM_SW_6
#define RCM_SW_16
#define RCM_SW_9
#define RCM_SW_8
#define RCM_SW_4
#define RCM_SW_2
#define RCM_SW_22
#define RCM_SW_10
#define RCM_SW_7
Controller for the AC mode.
struct Alarms enabledAlarms() const override
List of alarms that must be enabled for this mode.
void exhale() override
Control the exhalation.
Controller for the Volume Controled mode.
List of alarms (named by their code)
VC_AC_Controller vcAcController