Nordic Thingy:52 v2.2.0
batt_meas_param_t Struct Reference

Input parameters for m_batt_meas. More...

Data Fields

uint8_t adc_pin_no
 Analog in pin connected to battery (with possible voltage divider).
 
nrf_saadc_input_t adc_pin_no_ain
 Same as above, but given as nrf_saadc_input_t. These two values must correspond.
 
uint16_t app_timer_prescaler
 App timer prescaler. See APP_TIMER_PRESCALER.
 
uint8_t batt_chg_stat_pin_no
 Pin connected to "Charging status output pin" (CSO) of the battery charger.
 
uint8_t batt_mon_en_pin_no
 Pin for enabling battery monitoring.
 
bool batt_mon_en_pin_used
 Indicates if a pin is used to enable battery monitoring. (E.g. activates a voltage divider).
 
uint16_t batt_voltage_limit_full
 Full voltage limit [milliVolts].
 
uint16_t batt_voltage_limit_low
 Low voltage limit [milliVolts].
 
state_of_charge_t state_of_charge
 Information on mapping from voltage to state of charge.
 
uint8_t usb_detect_pin_no
 Pin = high when USB is connected.
 
voltage_divider_t voltage_divider
 Voltage divider type containing resistor information.
 

Detailed Description

Input parameters for m_batt_meas.


The documentation for this struct was generated from the following file: