CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
rtos_bootup_operation_fsm_task.h
Go to the documentation of this file.
1#ifndef INCLUDE_GUARD__RTOS_BOOTUP_OPERATION_FSM_TASK_H
2#define INCLUDE_GUARD__RTOS_BOOTUP_OPERATION_FSM_TASK_H
3
4#include <stdint.h>
5
7
8typedef enum {
9 // Entry point. Booted, and awaiting a trigger to deployment. Emulate a 30-minute countdown to antenna deployment.
11
12 // Intermediate state. Very short-lived nominally. Deploy deployable antennas here.
14
15 // Normal operation state, with radio transmission enabled (e.g., flying through space).
17
18 // Normal operation state, with radio transmission disabled (e.g., during bench testing).
21
23
24
26
27
28void TASK_bootup_operation_fsm(void *argument);
29
30#endif // INCLUDE_GUARD__RTOS_BOOTUP_OPERATION_FSM_TASK_H
uint32_t COMMS_uptime_to_start_ant_deployment_sec
The uptime, as defined in the Launch Provider ICD, at which the antennas should be deployed.
Definition rtos_bootup_operation_fsm_task.c:11
char * CTS1_operation_state_enum_TO_str(CTS1_operation_state_enum_t state)
Definition rtos_bootup_operation_fsm_task.c:293
void TASK_bootup_operation_fsm(void *argument)
FreeRTOS task - FSM which handles the bootup and operation state/state.
Definition rtos_bootup_operation_fsm_task.c:266
CTS1_operation_state_enum_t
Definition rtos_bootup_operation_fsm_task.h:8
@ CTS1_OPERATION_STATE_DEPLOYING
Definition rtos_bootup_operation_fsm_task.h:13
@ CTS1_OPERATION_STATE_BOOTED_AND_WAITING
Definition rtos_bootup_operation_fsm_task.h:10
@ CTS1_OPERATION_STATE_NOMINAL_WITH_RADIO_TX
Definition rtos_bootup_operation_fsm_task.h:16
@ CTS1_OPERATION_STATE_NOMINAL_WITHOUT_RADIO_TX
Definition rtos_bootup_operation_fsm_task.h:19
CTS1_operation_state_enum_t CTS1_operation_state
Definition rtos_bootup_operation_fsm_task.c:13