CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
boom_deploy_drivers.c File Reference
#include "boom_deploy_drivers/boom_deploy_drivers.h"
#include "main.h"
#include <stdint.h>
Include dependency graph for boom_deploy_drivers.c:

Functions

uint8_t BOOM_set_burn_enabled (uint8_t boom_channel_num, uint8_t enabled)
 Sets the boom deploy enable pin state (on or off).
 
void BOOM_disable_all_burns (void)
 Disable all boom deploy enable channels. No EPS change.
 

Function Documentation

◆ BOOM_disable_all_burns()

void BOOM_disable_all_burns ( void )

Disable all boom deploy enable channels. No EPS change.

Here is the caller graph for this function:

◆ BOOM_set_burn_enabled()

uint8_t BOOM_set_burn_enabled ( uint8_t boom_channel_num,
uint8_t enabled )

Sets the boom deploy enable pin state (on or off).

Parameters
boom_channel_num1 for channel 1 (BOOM_CTRL_1), 2 for channel 2 (BOOM_CTRL_2).
enabled0 to disable, 1 to enable.
Returns
0 on success, 1 on failure (invalid channel).
Here is the caller graph for this function: