software:firmware
MakAir Firmware
pc_ac_controller.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "../includes/parameters.h"
11 #include "../includes/pc_cmv_controller.h"
12 
14 class PC_AC_Controller final : public PC_CMV_Controller {
15  public:
17  void exhale() override;
18 
20  struct Alarms enabledAlarms() const override {
25  RCM_SW_23};
26  return a;
27  }
28 };
29 
#define RCM_SW_11
#define RCM_SW_20
#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_1
#define RCM_SW_9
#define RCM_SW_14
#define RCM_SW_8
#define RCM_SW_4
#define RCM_SW_21
#define RCM_SW_2
#define RCM_SW_22
#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 CMV mode.
PC_AC_Controller pcAcController
List of alarms (named by their code)