Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
npm13xx_charger.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
11
12#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_NPM13XX_CHARGER_H_
13#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_NPM13XX_CHARGER_H_
14
16
23
36
57
59
60#endif
sensor_channel_npm13xx_charger
Custom sensor channels for the nPM13xx charger.
Definition npm13xx_charger.h:25
sensor_attribute_npm13xx_charger
Custom sensor attributes for the nPM13xx charger.
Definition npm13xx_charger.h:43
@ SENSOR_CHAN_NPM13XX_CHARGER_ERROR
Charger error reason register value.
Definition npm13xx_charger.h:29
@ SENSOR_CHAN_NPM13XX_CHARGER_VBUS_STATUS
VBUS status register value.
Definition npm13xx_charger.h:34
@ SENSOR_CHAN_NPM13XX_CHARGER_STATUS
Charger status register value.
Definition npm13xx_charger.h:27
@ SENSOR_ATTR_NPM13XX_CHARGER_VBUS_CUR_LIMIT
VBUS current limit is active.
Definition npm13xx_charger.h:47
@ SENSOR_ATTR_NPM13XX_CHARGER_VBUS_OVERVLT_PROT
VBUS overvoltage protection is active.
Definition npm13xx_charger.h:49
@ SENSOR_ATTR_NPM13XX_CHARGER_VBUS_SUSPENDED
VBUS is suspended.
Definition npm13xx_charger.h:53
@ SENSOR_ATTR_NPM13XX_CHARGER_VBUS_BUSOUT
VBUSOUT is active.
Definition npm13xx_charger.h:55
@ SENSOR_ATTR_NPM13XX_CHARGER_VBUS_PRESENT
VBUS is present.
Definition npm13xx_charger.h:45
@ SENSOR_ATTR_NPM13XX_CHARGER_VBUS_UNDERVLT
VBUS undervoltage is detected.
Definition npm13xx_charger.h:51
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:449
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:253
Main header file for sensor driver API.