Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
it8xxx2_vcmp.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 ITE Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_IT8XXX2_VCMP_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_IT8XXX2_VCMP_H_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
21
26
34
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_IT8XXX2_VCMP_H_ */
@ SENSOR_ATTR_LOWER_VOLTAGE_THRESH
Lower threshold, in mV.
Definition adc_cmp_npcx.h:45
@ SENSOR_ATTR_UPPER_VOLTAGE_THRESH
Upper threshold, in mV.
Definition adc_cmp_npcx.h:47
it8xxx2_vcmp_sensor_attribute
Custom sensor attributes for the IT8XXX2 voltage comparator.
Definition it8xxx2_vcmp.h:28
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:449
Main header file for sensor driver API.