CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
telecommands
obc_systems_telecommand_defs.h
Go to the documentation of this file.
1
#ifndef INCLUDE_GUARD__TEMPERATURE_SENSOR_TELECOMMAND_DEFS_H__
2
#define INCLUDE_GUARD__TEMPERATURE_SENSOR_TELECOMMAND_DEFS_H__
3
4
#include "
telecommand_exec/telecommand_definitions.h
"
5
6
7
uint8_t
TCMDEXEC_obc_read_temperature_complex
(
8
const
char
*args_str,
9
char
*response_output_buf, uint16_t response_output_buf_len
10
);
11
12
uint8_t
TCMDEXEC_obc_read_temperature
(
13
const
char
*args_str,
14
char
*response_output_buf, uint16_t response_output_buf_len
15
);
16
17
uint8_t
TCMDEXEC_obc_adc_read_vbat_voltage
(
18
const
char
*args_str,
19
char
*response_output_buf, uint16_t response_output_buf_len
20
);
21
22
uint8_t
TCMDEXEC_obc_set_stm32_sysclk_to_hse
(
23
const
char
*args_str,
24
char
*response_output_buf, uint16_t response_output_buf_len
25
);
26
27
#endif
// INCLUDE_GUARD__TEMPERATURE_SENSOR_TELECOMMAND_DEFS_H__
TCMDEXEC_obc_read_temperature
uint8_t TCMDEXEC_obc_read_temperature(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Reads the temperature from the STDS75DS2F in centi-Celsius.
Definition
obc_systems_telecommand_defs.c:77
TCMDEXEC_obc_set_stm32_sysclk_to_hse
uint8_t TCMDEXEC_obc_set_stm32_sysclk_to_hse(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Change the STM32 SYSCLK clock from the HSI to the HSE.
Definition
obc_systems_telecommand_defs.c:231
TCMDEXEC_obc_read_temperature_complex
uint8_t TCMDEXEC_obc_read_temperature_complex(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Reads the temperature from the STDS75DS2F and stores it in the provided variable temperature....
Definition
obc_systems_telecommand_defs.c:19
TCMDEXEC_obc_adc_read_vbat_voltage
uint8_t TCMDEXEC_obc_adc_read_vbat_voltage(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Read the battery voltage using the ADC. Returns the result in mV. Voltage divider ratio is already ap...
Definition
obc_systems_telecommand_defs.c:103
telecommand_definitions.h
Generated by
1.17.0