CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
rtos_bootup_operation_fsm_task.h File Reference
#include <stdint.h>
Include dependency graph for rtos_bootup_operation_fsm_task.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CTS1_operation_state_enum_t { CTS1_OPERATION_STATE_BOOTED_AND_WAITING , CTS1_OPERATION_STATE_DEPLOYING , CTS1_OPERATION_STATE_NOMINAL_WITH_RADIO_TX , CTS1_OPERATION_STATE_NOMINAL_WITHOUT_RADIO_TX }
 

Functions

char * CTS1_operation_state_enum_TO_str (CTS1_operation_state_enum_t state)
 
void TASK_bootup_operation_fsm (void *argument)
 FreeRTOS task - FSM which handles the bootup and operation state/state.
 

Variables

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.
 
CTS1_operation_state_enum_t CTS1_operation_state
 

Enumeration Type Documentation

◆ CTS1_operation_state_enum_t

Enumerator
CTS1_OPERATION_STATE_BOOTED_AND_WAITING 
CTS1_OPERATION_STATE_DEPLOYING 
CTS1_OPERATION_STATE_NOMINAL_WITH_RADIO_TX 
CTS1_OPERATION_STATE_NOMINAL_WITHOUT_RADIO_TX 

Function Documentation

◆ CTS1_operation_state_enum_TO_str()

char * CTS1_operation_state_enum_TO_str ( CTS1_operation_state_enum_t state)
Here is the caller graph for this function:

◆ TASK_bootup_operation_fsm()

void TASK_bootup_operation_fsm ( void * argument)

FreeRTOS task - FSM which handles the bootup and operation state/state.

During LEOPS (launch and early operations), it deploys the comms antennas and permits radio TX. During the rest of the mission, it bypasses the 30 minute deployment wait time, and also blinks the LED to indicate the current state.

Note
Implemented per https://github.com/CalgaryToSpace/CTS-SAT-1-OBC-Firmware/issues/420
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ COMMS_uptime_to_start_ant_deployment_sec

uint32_t COMMS_uptime_to_start_ant_deployment_sec
extern

The uptime, as defined in the Launch Provider ICD, at which the antennas should be deployed.

◆ CTS1_operation_state

CTS1_operation_state_enum_t CTS1_operation_state
extern