Nordic Thingy:52
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
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).
 
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].
 
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: