void FAILUREstate()
Failure state, vehicle is floated to surface, SD card is unmounted.
Definition: FSM.c:341
bool BLEgotoIdle
Flag to signal BLE command state transition to idle state.
Definition: FSM.h:50
bool BLEgotoConfig
Flag to signal BLE command state transition to configure state.
Definition: FSM.h:51
bool IDLEstateTimeout
Flag to signal idle state transition to sleep state.
Definition: FSM.h:49
void LOWPOWERstate()
Low Power state, vehicle is floated to surface, SD card is unmounted.
Definition: FSM.c:323
FSM_t fsm
Create Finite State Machine struct instance.
Definition: main.c:77
systemState_t state
Definition: FSM.h:47
Structure of FSM specific variables.
Definition: FSM.h:45
bool hallEffectButton
Flag to signal hall effect button interrupt.
Definition: FSM.h:53
bool stateInitialized
Flag to signal that current state is initialized.
Definition: FSM.h:48
bool BLEstartMission
Flag to signal BLE command state transition to mission state.
Definition: FSM.h:52
void FSM()
Main FSM loop.
Definition: FSM.c:358
systemEvent_t
Type definition of system events.
Definition: FSM.h:29
systemState_t
Type definition of system state enumeration.
Definition: FSM.h:20