|
CTS-SAT-1-OBC-Firmware
|
#include "eps_drivers/eps_calculations.h"
Functions | |
| float | EPS_convert_battery_voltage_to_percent (EPS_battery_pack_datatype_eng_t battery) |
| Calculate the current EPS battery voltage from a PBU telemetry struct. | |
| int32_t | EPS_calculate_total_fault_count (EPS_struct_pdu_overcurrent_fault_state_t *fault_state) |
| Sum the total fault count for all channels. | |
| int32_t EPS_calculate_total_fault_count | ( | EPS_struct_pdu_overcurrent_fault_state_t * | fault_state | ) |
Sum the total fault count for all channels.
| fault_state | A pointer to the fault state struct. |

| float EPS_convert_battery_voltage_to_percent | ( | EPS_battery_pack_datatype_eng_t | battery | ) |
Calculate the current EPS battery voltage from a PBU telemetry struct.
| battery | Telemetry struct |
