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

Functions

uint8_t EPS_CMD_system_reset ()
 
uint8_t EPS_CMD_no_operation ()
 
uint8_t EPS_CMD_cancel_operation ()
 
uint8_t EPS_CMD_watchdog ()
 
uint8_t EPS_CMD_output_bus_group_on (uint16_t ch_bitfield, uint16_t ch_extended_bitfield)
 
uint8_t EPS_CMD_output_bus_group_off (uint16_t ch_bitfield, uint16_t ch_extended_bitfield)
 
uint8_t EPS_CMD_output_bus_group_state (uint16_t ch_bitfield, uint16_t ch_extended_bitfield)
 
uint8_t EPS_CMD_output_bus_channel_on (uint8_t ch_idx)
 
uint8_t EPS_CMD_output_bus_channel_off (uint8_t ch_idx)
 
uint8_t EPS_CMD_switch_to_nominal_mode ()
 
uint8_t EPS_CMD_switch_to_safety_mode ()
 
uint8_t EPS_CMD_get_system_status (EPS_struct_system_status_t *result_dest)
 
uint8_t EPS_CMD_get_pdu_overcurrent_fault_state (EPS_struct_pdu_overcurrent_fault_state_t *result_dest)
 
uint8_t EPS_CMD_get_pbu_abf_placed_state (EPS_struct_pbu_abf_placed_state_t *result_dest)
 
uint8_t EPS_CMD_get_pdu_housekeeping_data_eng (EPS_struct_pdu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_get_pdu_housekeeping_data_run_avg (EPS_struct_pdu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_get_pbu_housekeeping_data_eng (EPS_struct_pbu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_get_pbu_housekeeping_data_run_avg (EPS_struct_pbu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_get_pcu_housekeeping_data_eng (EPS_struct_pcu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_get_pcu_housekeeping_data_run_avg (EPS_struct_pcu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_get_configuration_parameter (uint16_t parameter_id, uint8_t parameter_value_dest[])
 
uint8_t EPS_CMD_set_configuration_parameter (uint16_t parameter_id, uint8_t new_parameter_value)
 
uint8_t EPS_CMD_reset_configuration_parameter (uint16_t parameter_id)
 
uint8_t EPS_CMD_reset_configuration ()
 
uint8_t EPS_CMD_load_configuration ()
 
uint8_t EPS_CMD_save_configuration ()
 
uint8_t EPS_CMD_get_piu_housekeeping_data_eng (EPS_struct_piu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_get_piu_housekeeping_data_run_avg (EPS_struct_piu_housekeeping_data_eng_t *result_dest)
 
uint8_t EPS_CMD_correct_time (int32_t time_correction)
 Update the EPS time.
 
uint8_t EPS_CMD_zero_reset_cause_counters ()
 

Function Documentation

◆ EPS_CMD_cancel_operation()

uint8_t EPS_CMD_cancel_operation ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_correct_time()

uint8_t EPS_CMD_correct_time ( int32_t time_correction)

Update the EPS time.

Parameters
time_correctionTime correction in unix time
Returns
Note
Positive numbers added to time, negative values subtracted.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_configuration_parameter()

uint8_t EPS_CMD_get_configuration_parameter ( uint16_t parameter_id,
uint8_t parameter_value_dest[] )
Here is the call graph for this function:

◆ EPS_CMD_get_pbu_abf_placed_state()

uint8_t EPS_CMD_get_pbu_abf_placed_state ( EPS_struct_pbu_abf_placed_state_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_pbu_housekeeping_data_eng()

uint8_t EPS_CMD_get_pbu_housekeeping_data_eng ( EPS_struct_pbu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_pbu_housekeeping_data_run_avg()

uint8_t EPS_CMD_get_pbu_housekeeping_data_run_avg ( EPS_struct_pbu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_pcu_housekeeping_data_eng()

uint8_t EPS_CMD_get_pcu_housekeeping_data_eng ( EPS_struct_pcu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_pcu_housekeeping_data_run_avg()

uint8_t EPS_CMD_get_pcu_housekeeping_data_run_avg ( EPS_struct_pcu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_pdu_housekeeping_data_eng()

uint8_t EPS_CMD_get_pdu_housekeeping_data_eng ( EPS_struct_pdu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_pdu_housekeeping_data_run_avg()

uint8_t EPS_CMD_get_pdu_housekeeping_data_run_avg ( EPS_struct_pdu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_pdu_overcurrent_fault_state()

uint8_t EPS_CMD_get_pdu_overcurrent_fault_state ( EPS_struct_pdu_overcurrent_fault_state_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_piu_housekeeping_data_eng()

uint8_t EPS_CMD_get_piu_housekeeping_data_eng ( EPS_struct_piu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_piu_housekeeping_data_run_avg()

uint8_t EPS_CMD_get_piu_housekeeping_data_run_avg ( EPS_struct_piu_housekeeping_data_eng_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_get_system_status()

uint8_t EPS_CMD_get_system_status ( EPS_struct_system_status_t * result_dest)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_load_configuration()

uint8_t EPS_CMD_load_configuration ( )
Here is the call graph for this function:

◆ EPS_CMD_no_operation()

uint8_t EPS_CMD_no_operation ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_output_bus_channel_off()

uint8_t EPS_CMD_output_bus_channel_off ( uint8_t ch_idx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_output_bus_channel_on()

uint8_t EPS_CMD_output_bus_channel_on ( uint8_t ch_idx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_output_bus_group_off()

uint8_t EPS_CMD_output_bus_group_off ( uint16_t ch_bitfield,
uint16_t ch_extended_bitfield )
Here is the call graph for this function:

◆ EPS_CMD_output_bus_group_on()

uint8_t EPS_CMD_output_bus_group_on ( uint16_t ch_bitfield,
uint16_t ch_extended_bitfield )
Here is the call graph for this function:

◆ EPS_CMD_output_bus_group_state()

uint8_t EPS_CMD_output_bus_group_state ( uint16_t ch_bitfield,
uint16_t ch_extended_bitfield )
Here is the call graph for this function:

◆ EPS_CMD_reset_configuration()

uint8_t EPS_CMD_reset_configuration ( )
Here is the call graph for this function:

◆ EPS_CMD_reset_configuration_parameter()

uint8_t EPS_CMD_reset_configuration_parameter ( uint16_t parameter_id)
Here is the call graph for this function:

◆ EPS_CMD_save_configuration()

uint8_t EPS_CMD_save_configuration ( )
Here is the call graph for this function:

◆ EPS_CMD_set_configuration_parameter()

uint8_t EPS_CMD_set_configuration_parameter ( uint16_t parameter_id,
uint8_t new_parameter_value )
Here is the call graph for this function:

◆ EPS_CMD_switch_to_nominal_mode()

uint8_t EPS_CMD_switch_to_nominal_mode ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_switch_to_safety_mode()

uint8_t EPS_CMD_switch_to_safety_mode ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_system_reset()

uint8_t EPS_CMD_system_reset ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_watchdog()

uint8_t EPS_CMD_watchdog ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EPS_CMD_zero_reset_cause_counters()

uint8_t EPS_CMD_zero_reset_cause_counters ( )
Here is the call graph for this function: