|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Functions | |
| void | app_set_state (flight_state_t to) |
| flight_state_t | app_state (void) |
| void | app_command (mode_command_t command) |
| void app_command | ( | mode_command_t | command | ) |
Definition at line 52 of file mode.c.
References app_set_state(), idle_task_command(), mode_route_command(), MODE_TO_IDLE_LOOP, MODE_TRANSITION, and state.
Referenced by on_radio_command().
| void app_set_state | ( | flight_state_t | to | ) |
Definition at line 22 of file mode.c.
References emmc_log_on_state(), emmc_stm32_log(), ETH_RST_GPIO_Port, ETH_RST_Pin, FLIGHT_STATE_COUNT, gnss_task_set_active(), GPIO_PIN_RESET, GPIO_PIN_SET, HAL_GPIO_WritePin(), idle_task_set_active(), lock, mode_outputs(), MODE_SNIFF_RX_MS, MODE_SNIFF_SLEEP_MS, o, osKernelGetTickCount(), osMutexRelease(), radio_task_start_continuous_rx(), radio_task_start_sniff(), sensors_task_set_active(), state, and take().
Referenced by app_command(), app_start(), and idle_task().
| flight_state_t app_state | ( | void | ) |
Definition at line 48 of file mode.c.
References state.
Referenced by bringup_task(), and CDC_Receive_HS().