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
,
22
RCM_SW_6
,
RCM_SW_7
,
RCM_SW_8
,
RCM_SW_9
,
RCM_SW_10
,
23
RCM_SW_11
,
RCM_SW_12
, 0u,
RCM_SW_15
,
RCM_SW_16
,
24
RCM_SW_18
,
RCM_SW_19
, 0u, 0u,
RCM_SW_22
,
25
RCM_SW_23
};
26
return
a;
27
}
28
};
29
30
extern
VC_AC_Controller
vcAcController
;
RCM_SW_11
#define RCM_SW_11
Definition:
alarm_controller.h:23
RCM_SW_12
#define RCM_SW_12
Definition:
alarm_controller.h:24
RCM_SW_15
#define RCM_SW_15
Definition:
alarm_controller.h:26
RCM_SW_3
#define RCM_SW_3
Definition:
alarm_controller.h:22
RCM_SW_5
#define RCM_SW_5
Definition:
alarm_controller.h:32
RCM_SW_18
#define RCM_SW_18
Definition:
alarm_controller.h:28
RCM_SW_23
#define RCM_SW_23
Definition:
alarm_controller.h:42
RCM_SW_19
#define RCM_SW_19
Definition:
alarm_controller.h:29
RCM_SW_6
#define RCM_SW_6
Definition:
alarm_controller.h:33
RCM_SW_16
#define RCM_SW_16
Definition:
alarm_controller.h:27
RCM_SW_9
#define RCM_SW_9
Definition:
alarm_controller.h:36
RCM_SW_8
#define RCM_SW_8
Definition:
alarm_controller.h:35
RCM_SW_4
#define RCM_SW_4
Definition:
alarm_controller.h:31
RCM_SW_2
#define RCM_SW_2
Definition:
alarm_controller.h:21
RCM_SW_22
#define RCM_SW_22
Definition:
alarm_controller.h:41
RCM_SW_10
#define RCM_SW_10
Definition:
alarm_controller.h:37
RCM_SW_7
#define RCM_SW_7
Definition:
alarm_controller.h:34
VC_AC_Controller
Controller for the AC mode.
Definition:
vc_ac_controller.h:14
VC_AC_Controller::enabledAlarms
struct Alarms enabledAlarms() const override
List of alarms that must be enabled for this mode.
Definition:
vc_ac_controller.h:20
VC_AC_Controller::exhale
void exhale() override
Control the exhalation.
Definition:
vc_ac_controller.cpp:28
VC_CMV_Controller
Controller for the Volume Controled mode.
Definition:
vc_cmv_controller.h:14
Alarms
List of alarms (named by their code)
Definition:
alarm_controller.h:45
vcAcController
VC_AC_Controller vcAcController
Definition:
vc_ac_controller.cpp:24
includes
vc_ac_controller.h
Generated by
1.9.1