|
CTS-SAT-1-OBC-Firmware
|
#include "main.h"#include "stdio.h"#include <stdint.h>#include "obc_systems/obc_temperature_sensor.h"#include "system/system_temperature.h"#include "antenna_deploy_drivers/ant_commands.h"#include "eps_drivers/eps_calculations.h"#include "eps_drivers/eps_commands.h"#include "eps_drivers/eps_channel_control.h"
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. | |
| 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 |

