CTS-SAT-1-OBC-Firmware
|
#include "obc_systems/adc_vbat_monitor.h"
#include "stm32l4xx_hal.h"
#include "stm32l4xx_hal_adc.h"
#include "main.h"
#include <stdint.h>
Functions | |
static double | OBC_read_vbat_monitor_with_adc_mV () |
Read the voltage reported by the ADC at the VBAT_MONITOR pin. | |
int16_t | OBC_read_vbat_with_adc_mV () |
Read the battery voltage using the ADC. | |
|
static |
Read the voltage reported by the ADC at the VBAT_MONITOR pin.
int16_t OBC_read_vbat_with_adc_mV | ( | ) |
Read the battery voltage using the ADC.