Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Nordic nPM2100 PMIC battery voltage monitor. More...

Files

file  npm2100_vbat.h
 Header file for extended sensor API of nPM2100 battery voltage monitor.

Enumerations

enum  sensor_channel_npm2100_vbat {
  SENSOR_CHAN_NPM2100_VBAT_STATUS = SENSOR_CHAN_PRIV_START , SENSOR_CHAN_NPM2100_VOLT_DROOP , SENSOR_CHAN_NPM2100_DPS_COUNT , SENSOR_CHAN_NPM2100_DPS_TIMER ,
  SENSOR_CHAN_NPM2100_DPS_DURATION
}
 Custom sensor channels for the nPM2100 battery voltage monitor. More...
enum  sensor_attr_npm2100_vbat { SENSOR_ATTR_NPM2100_ADC_DELAY = SENSOR_ATTR_PRIV_START }
 Custom sensor attributes for the nPM2100 battery voltage monitor. More...

Detailed Description

Nordic nPM2100 PMIC battery voltage monitor.

Enumeration Type Documentation

◆ sensor_attr_npm2100_vbat

#include <zephyr/drivers/sensor/npm2100_vbat.h>

Custom sensor attributes for the nPM2100 battery voltage monitor.

Enumerator
SENSOR_ATTR_NPM2100_ADC_DELAY 

Delay before the ADC measurement of a channel, in seconds.

◆ sensor_channel_npm2100_vbat

#include <zephyr/drivers/sensor/npm2100_vbat.h>

Custom sensor channels for the nPM2100 battery voltage monitor.

Enumerator
SENSOR_CHAN_NPM2100_VBAT_STATUS 

Battery status.

SENSOR_CHAN_NPM2100_VOLT_DROOP 

Output voltage droop measurement, in volts.

SENSOR_CHAN_NPM2100_DPS_COUNT 

DPS count limit, set with SENSOR_ATTR_UPPER_THRESH.

SENSOR_CHAN_NPM2100_DPS_TIMER 

DPS timer, set with SENSOR_ATTR_UPPER_THRESH.

SENSOR_CHAN_NPM2100_DPS_DURATION 

Duration of the last DPS event.