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

Functions

uint8_t TCMDEXEC_boom_deploy_timed (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
 Activate the burn wire for the specified duration.
 
static void boom_self_check_cleanup ()
 
uint8_t TCMDEXEC_boom_self_check (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
 Run the self-check on the boom deployment system.
 

Function Documentation

◆ boom_self_check_cleanup()

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

◆ TCMDEXEC_boom_deploy_timed()

uint8_t TCMDEXEC_boom_deploy_timed ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )

Activate the burn wire for the specified duration.

Parameters
args_str
  • Arg 0: Which boom deployment channel (1=CTRL_1 or 2=CTRL_2), or 0 for both.
  • Arg 1: Duration (milliseconds), less than 14.1 seconds (<=14100 ms)
Returns
0 on success, 1-2 on parsing error, 20 on EPS failure
Note
Does not enable the EPS channel. You must manually enable the EPS channel before calling this function.
If you need longer than the max duration, you can of course call this function multiple times back-to-back, relying on the heat capacity of the resistors to stay hot.
Here is the call graph for this function:

◆ TCMDEXEC_boom_self_check()

uint8_t TCMDEXEC_boom_self_check ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )

Run the self-check on the boom deployment system.

Parameters
args_strNone.
Returns
0 on success, >0 on error.
Note
If this function glitches (which it shouldn't/doesn't), it has the potential to deploy the boom.
Here is the call graph for this function: