software:firmware
MakAir Firmware
|
Auto test for end of line unit test. More...
#include "../includes/parameters.h"
#include "Arduino.h"
#include <IWatchdog.h>
#include "../includes/activation.h"
#include "../includes/battery.h"
#include "../includes/buzzer_control.h"
#include "../includes/debug.h"
#include "../includes/keyboard.h"
#include "../includes/main_controller.h"
#include "../includes/main_state_machine.h"
#include "../includes/mass_flow_meter.h"
#include "../includes/pressure.h"
#include "../includes/rpi_watchdog.h"
#include "../includes/screen.h"
#include "../includes/serial_control.h"
#include "../includes/telemetry.h"
Go to the source code of this file.
Enumerations | |
enum | Step { SETUP , STOPPED , INIT_CYCLE , BREATH , TRIGGER_RAISED , END_CYCLE } |
Functions | |
void | millisecondTimerMSM (HardwareTimer *) |
Variables | |
MainStateMachine | mainStateMachine = MainStateMachine() |
uint32_t | clockMsmTimer = 0 |
uint32_t | lastMillis = 0 |
uint32_t | lastMainControllerCall = 0 |
HardwareTimer * | msmTimer |
uint32_t | lastMicro = 0 |
uint32_t | tick = 0 |
Step | msmstep = SETUP |
Step | previousmsmstep = SETUP |
Auto test for end of line unit test.
Definition in file main_state_machine.cpp.
enum Step |
Enumerator | |
---|---|
SETUP | |
STOPPED | |
INIT_CYCLE | |
BREATH | |
TRIGGER_RAISED | |
END_CYCLE |
Definition at line 42 of file main_state_machine.cpp.
void millisecondTimerMSM | ( | HardwareTimer * | ) |
Definition at line 68 of file main_state_machine.cpp.
uint32_t clockMsmTimer = 0 |
Definition at line 34 of file main_state_machine.cpp.
uint32_t lastMainControllerCall = 0 |
Definition at line 36 of file main_state_machine.cpp.
uint32_t lastMicro = 0 |
Definition at line 38 of file main_state_machine.cpp.
uint32_t lastMillis = 0 |
Definition at line 35 of file main_state_machine.cpp.
MainStateMachine mainStateMachine = MainStateMachine() |
Definition at line 32 of file main_state_machine.cpp.
Definition at line 44 of file main_state_machine.cpp.
HardwareTimer* msmTimer |
Definition at line 37 of file main_state_machine.cpp.
Definition at line 45 of file main_state_machine.cpp.
uint32_t tick = 0 |
Definition at line 39 of file main_state_machine.cpp.