Line data Source code
1 0 : /* 2 : * Copyright (c) 2024 Nordic Semiconductor ASA 3 : * SPDX-License-Identifier: Apache-2.0 4 : */ 5 : 6 : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_NPM2100_VBAT_H_ 7 : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_NPM2100_VBAT_H_ 8 : 9 : #include <zephyr/drivers/sensor.h> 10 : 11 : /* NPM2100 vbat specific channels */ 12 0 : enum sensor_channel_npm2100_vbat { 13 : SENSOR_CHAN_NPM2100_VBAT_STATUS = SENSOR_CHAN_PRIV_START, 14 : SENSOR_CHAN_NPM2100_VOLT_DROOP, 15 : SENSOR_CHAN_NPM2100_DPS_COUNT, 16 : SENSOR_CHAN_NPM2100_DPS_TIMER, 17 : SENSOR_CHAN_NPM2100_DPS_DURATION, 18 : }; 19 : 20 : /* NPM2100 vbat specific attributes */ 21 0 : enum sensor_attr_npm2100_vbat { 22 : SENSOR_ATTR_NPM2100_ADC_DELAY = SENSOR_ATTR_PRIV_START, 23 : }; 24 : 25 : #endif