software:firmware
MakAir Firmware
config.h File Reference

Main configuration. More...

Go to the source code of this file.

Macros

#define MODE   MODE_PROD
 Defines the current mode. More...
 
#define DEBUG   0
 Activates debug traces. More...
 
#define MASS_FLOW_METER_ENABLED
 Defines if the device has a Mass Flow Meter or not. More...
 
#define MASS_FLOW_METER_SENSOR   MFM_HONEYWELL_HAF
 Defines the type of each Mass Flow Meter. More...
 
#define MASS_FLOW_METER_SENSOR_EXPI   MFM_SFM_3300D
 
#define MFM_RANGE   200
 Defines the range of the Mass Flow Meter in SLM (standard liter per minute) More...
 
Available modes
#define MODE_PROD   1
 Ventilator mode. More...
 
#define MODE_MFM_TESTS   4
 Mass Flow Meter debugging mode. More...
 
Available Mass Flow Meters
#define MFM_NONE   0
 
#define MFM_SFM_3300D   1
 
#define MFM_SDP703_02   2
 
#define MFM_HONEYWELL_HAF   4
 
#define MFM_SFM3019   5
 

Detailed Description

Main configuration.

Author
Makers For Life

Definition in file config.h.

Macro Definition Documentation

◆ DEBUG

#define DEBUG   0

Activates debug traces.

When DEBUG = 1, additional code is added to send debug traces using serial When DEBUG = 2, information are sent in serial for PID debug

Definition at line 26 of file config.h.

◆ MASS_FLOW_METER_ENABLED

#define MASS_FLOW_METER_ENABLED

Defines if the device has a Mass Flow Meter or not.

Definition at line 30 of file config.h.

◆ MASS_FLOW_METER_SENSOR

#define MASS_FLOW_METER_SENSOR   MFM_HONEYWELL_HAF

Defines the type of each Mass Flow Meter.

Definition at line 44 of file config.h.

◆ MASS_FLOW_METER_SENSOR_EXPI

#define MASS_FLOW_METER_SENSOR_EXPI   MFM_SFM_3300D

Definition at line 45 of file config.h.

◆ MFM_HONEYWELL_HAF

#define MFM_HONEYWELL_HAF   4

Definition at line 39 of file config.h.

◆ MFM_NONE

#define MFM_NONE   0

Definition at line 36 of file config.h.

◆ MFM_RANGE

#define MFM_RANGE   200

Defines the range of the Mass Flow Meter in SLM (standard liter per minute)

Definition at line 48 of file config.h.

◆ MFM_SDP703_02

#define MFM_SDP703_02   2

Definition at line 38 of file config.h.

◆ MFM_SFM3019

#define MFM_SFM3019   5

Definition at line 40 of file config.h.

◆ MFM_SFM_3300D

#define MFM_SFM_3300D   1

Definition at line 37 of file config.h.

◆ MODE

#define MODE   MODE_PROD

Defines the current mode.

Definition at line 19 of file config.h.

◆ MODE_MFM_TESTS

#define MODE_MFM_TESTS   4

Mass Flow Meter debugging mode.

Definition at line 15 of file config.h.

◆ MODE_PROD

#define MODE_PROD   1

Ventilator mode.

Definition at line 14 of file config.h.