Go to the source code of this file.
◆ EPS_BATTERY_PACK_SENSOR_SIZE
| #define EPS_BATTERY_PACK_SENSOR_SIZE 3 |
◆ SYS_TEMP_thermal_info_error_enum_t
| Enumerator |
|---|
| SYS_TEMP_ANT_A_STATUS | |
| SYS_TEMP_ANT_B_STATUS | |
| SYS_TEMP_PCU_STATUS | |
| SYS_TEMP_PBU_STATUS | |
◆ SYS_TEMP_get_raw_thermal_info()
Grabs required data/data structures from drivers containing thermal information.
- Parameters
-
| 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 |
- Returns
- 0 if data was successfully stored, anything else if error.
◆ SYS_TEMP_pack_to_system_thermal_info()
Takes the raw thermal data and converts them to human readable values.
- Parameters
-
| 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 |
- Returns
- 0 on successful conversion, otherwise failed.