CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
rtos_tasks
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
6
extern
uint32_t
COMMS_uptime_to_start_ant_deployment_sec
;
7
8
typedef
enum
{
9
// Entry point. Booted, and awaiting a trigger to deployment. Emulate a 60-minute countdown to antenna deployment.
10
CTS1_OPERATION_STATE_BOOTED_AND_WAITING
,
11
12
// Intermediate state. Very short-lived nominally. Deploy deployable antennas here.
13
CTS1_OPERATION_STATE_DEPLOYING
,
14
15
// Normal operation state, with radio transmission enabled (e.g., flying through space).
16
CTS1_OPERATION_STATE_NOMINAL_WITH_RADIO_TX
,
17
18
// Normal operation state, with radio transmission disabled (e.g., during bench testing).
19
CTS1_OPERATION_STATE_NOMINAL_WITHOUT_RADIO_TX
20
}
CTS1_operation_state_enum_t
;
21
22
extern
CTS1_operation_state_enum_t
CTS1_operation_state
;
23
24
25
char
*
CTS1_operation_state_enum_TO_str
(
CTS1_operation_state_enum_t
state);
26
27
28
void
TASK_bootup_operation_fsm
(
void
*argument);
29
30
#endif
// INCLUDE_GUARD__RTOS_BOOTUP_OPERATION_FSM_TASK_H
COMMS_uptime_to_start_ant_deployment_sec
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:12
CTS1_operation_state_enum_TO_str
char * CTS1_operation_state_enum_TO_str(CTS1_operation_state_enum_t state)
Definition
rtos_bootup_operation_fsm_task.c:298
TASK_bootup_operation_fsm
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:271
CTS1_operation_state_enum_t
CTS1_operation_state_enum_t
Definition
rtos_bootup_operation_fsm_task.h:8
CTS1_OPERATION_STATE_DEPLOYING
@ CTS1_OPERATION_STATE_DEPLOYING
Definition
rtos_bootup_operation_fsm_task.h:13
CTS1_OPERATION_STATE_BOOTED_AND_WAITING
@ CTS1_OPERATION_STATE_BOOTED_AND_WAITING
Definition
rtos_bootup_operation_fsm_task.h:10
CTS1_OPERATION_STATE_NOMINAL_WITH_RADIO_TX
@ CTS1_OPERATION_STATE_NOMINAL_WITH_RADIO_TX
Definition
rtos_bootup_operation_fsm_task.h:16
CTS1_OPERATION_STATE_NOMINAL_WITHOUT_RADIO_TX
@ CTS1_OPERATION_STATE_NOMINAL_WITHOUT_RADIO_TX
Definition
rtos_bootup_operation_fsm_task.h:19
CTS1_operation_state
CTS1_operation_state_enum_t CTS1_operation_state
Definition
rtos_bootup_operation_fsm_task.c:14
Generated by
1.17.0