|
CTS-SAT-1-OBC-Firmware
|
#include "eps_drivers/eps_types.h"

Go to the source code of this file.
Classes | |
| struct | SYS_TEMP_thermal_info_t |
| struct | SYS_TEMP_raw_thermal_info_t |
Macros | |
| #define | EPS_BATTERY_PACK_SENSOR_SIZE 3 |
Enumerations | |
| enum | SYS_TEMP_thermal_info_error_enum_t { SYS_TEMP_ANT_A_STATUS = 1 << 0 , SYS_TEMP_ANT_B_STATUS = 1 << 1 , SYS_TEMP_PCU_STATUS = 1 << 2 , SYS_TEMP_PBU_STATUS = 1 << 3 } |
Functions | |
| 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. | |
| 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. | |
| #define EPS_BATTERY_PACK_SENSOR_SIZE 3 |
| 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.
| result | Struct that contains various raw thermal data. |
| error_ret | Initial input should be 0. Contains bit information on error status for ANT A, ANT B, PBU and PCU |


| 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.
| input | The structure containing various raw thermal data. |
| result | The structure containing the processed thermal data. |
| error_ret | Bitfield containing error status on collecting data for the ANT A, ANT B, PCU and PBU |

