Configuration of SAUL mapped battery voltage information. More...
Configuration of SAUL mapped battery voltage information.
Definition in file bat_voltage_params.h.
#include "saul/bat_voltage.h"
Go to the source code of this file.
static const saul_bat_voltage_params_t | saul_bat_voltage_params [] |
Battery voltage configuration. | |
int16_t | saul_bat_voltage_convert (int32_t adc_sample) |
Conversion function to convert ADC sample to battery voltage. | |
int16_t saul_bat_voltage_convert | ( | int32_t | adc_sample | ) |
Conversion function to convert ADC sample to battery voltage.
[in] | adc_sample | The raw ADC sample. |
|
static |
Battery voltage configuration.
Definition at line 40 of file bat_voltage_params.h.