1#ifndef INCLUDE_GUARD__SYSTEM_TEMPERATURE_H__
2#define INCLUDE_GUARD__SYSTEM_TEMPERATURE_H__
6#define EPS_BATTERY_PACK_SENSOR_SIZE 3
#define EPS_TOTAL_PCU_CHANNEL_COUNT_MACRO
Definition eps_types.h:16
Definition eps_types.h:51
Definition eps_types.h:161
Definition system_temperature.h:19
int32_t system_OBC_temperature_cC
Definition system_temperature.h:20
uint16_t system_ANT_temperature_i2c_bus_B_raw
Definition system_temperature.h:22
uint16_t system_ANT_temperature_i2c_bus_A_raw
Definition system_temperature.h:21
EPS_battery_pack_datatype_eng_t system_eps_battery_datatype_struct
Definition system_temperature.h:24
EPS_struct_pcu_housekeeping_data_eng_t eps_pcu_data
Definition system_temperature.h:23
Definition system_temperature.h:8
int32_t solar_panel_power_output_total_cW
Definition system_temperature.h:13
uint8_t system_eps_battery_heater_status_bit
Definition system_temperature.h:15
int32_t system_ANT_temperature_i2c_bus_B_cC
Definition system_temperature.h:11
int32_t solar_panel_power_input_cW[EPS_TOTAL_PCU_CHANNEL_COUNT_MACRO]
Definition system_temperature.h:12
float system_eps_battery_percent
Definition system_temperature.h:14
int32_t system_OBC_temperature_cC
Definition system_temperature.h:9
int16_t system_eps_battery_each_sensor_temperature_cC[EPS_BATTERY_PACK_SENSOR_SIZE]
Definition system_temperature.h:16
int32_t system_ANT_temperature_i2c_bus_A_cC
Definition system_temperature.h:10
uint8_t SYS_TEMP_get_raw_thermal_info(SYS_TEMP_raw_thermal_info_t *result, uint8_t *error_ret)
Grabs required data/data structures from drivers containing thermal information.
Definition system_temperature.c:18
SYS_TEMP_thermal_info_error_enum_t
Definition system_temperature.h:27
@ SYS_TEMP_PBU_STATUS
Definition system_temperature.h:31
@ SYS_TEMP_ANT_B_STATUS
Definition system_temperature.h:29
@ SYS_TEMP_PCU_STATUS
Definition system_temperature.h:30
@ SYS_TEMP_ANT_A_STATUS
Definition system_temperature.h:28
#define EPS_BATTERY_PACK_SENSOR_SIZE
Definition system_temperature.h:6
uint8_t SYS_TEMP_pack_to_system_thermal_info(SYS_TEMP_raw_thermal_info_t *input, SYS_TEMP_thermal_info_t *result, uint8_t error_ret)
Takes the raw thermal data and converts them to human readable values.
Definition system_temperature.c:76