nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
battery_def.h File Reference
#include <helpers/nrfx_analog_common.h>
#include <zephyr/drivers/adc.h>

Go to the source code of this file.

Macros

#define BATTERY_MEAS_ADC_INPUT   NRFX_ANALOG_EXTERNAL_AIN2
 
#define BATTERY_MEAS_ADC_GAIN   ADC_GAIN_1_4
 
#define BATTERY_MEAS_VOLTAGE_GAIN   4
 

Variables

struct { 
 
battery_def_include_once 
 
static const uint8_t battery_voltage_to_soc []