#include "eps_drivers/eps_types.h"
#include <stdint.h>
Go to the source code of this file.
◆ EPS_calculate_total_fault_count()
Sum the total fault count for all channels.
- Parameters
-
fault_state | A pointer to the fault state struct. |
- Returns
- The summed fault count for all channels.
◆ EPS_convert_battery_voltage_to_percent()
Calculate the current EPS battery voltage from a PBU telemetry struct.
- Parameters
-
- Returns
- Battery percentage, as a float. Nominally, the battery percentage is between 0 and 100. However, the battery percentage can exceed 100% if the battery voltage is above the maximum voltage, and can be less than 0% if the battery voltage is below the minimum voltage.