CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
rtos_background_upkeep.c File Reference
Include dependency graph for rtos_background_upkeep.c:

Functions

static void subtask_monitor_eps_power (void)
 
static void subtask_reset_system_after_very_long_uptime (void)
 If the system exceeds a very long uptime, reset the system.
 
static void subtask_update_rf_switch (void)
 Update the RF switch state based on the current mode.
 
static void subtask_send_beacon (void)
 
void TASK_background_upkeep (void *argument)
 

Variables

static uint32_t EPS_monitor_last_uptime_ms = 0
 

Function Documentation

◆ subtask_monitor_eps_power()

static void subtask_monitor_eps_power ( void )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ subtask_reset_system_after_very_long_uptime()

static void subtask_reset_system_after_very_long_uptime ( void )
static

If the system exceeds a very long uptime, reset the system.

Parameters
<br>
Note
Associated issue: https://github.com/CalgaryToSpace/CTS-SAT-1-OBC-Firmware/issues/282
The intenion of this function is to recover the system in case of a radiation-induced hang that isn't caught by the watchdog timer. The configuration can be extended to even longer if necessary.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ subtask_send_beacon()

static void subtask_send_beacon ( void )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ subtask_update_rf_switch()

static void subtask_update_rf_switch ( void )
static

Update the RF switch state based on the current mode.

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

◆ TASK_background_upkeep()

void TASK_background_upkeep ( void * argument)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ EPS_monitor_last_uptime_ms

uint32_t EPS_monitor_last_uptime_ms = 0
static