Zephyr API Documentation
4.0.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
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_IT8XXX2_VCMP_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_IT8XXX2_VCMP_H_
8
14
#define VCMP_CHANNEL_0 0
15
#define VCMP_CHANNEL_1 1
16
#define VCMP_CHANNEL_2 2
17
#define VCMP_CHANNEL_3 3
18
#define VCMP_CHANNEL_4 4
19
#define VCMP_CHANNEL_5 5
20
#define VCMP_CHANNEL_CNT 6
21
29
#define IT8XXX2_VCMP_SCAN_PERIOD_100US 0x10
30
#define IT8XXX2_VCMP_SCAN_PERIOD_200US 0x20
31
#define IT8XXX2_VCMP_SCAN_PERIOD_400US 0x30
32
#define IT8XXX2_VCMP_SCAN_PERIOD_600US 0x40
33
#define IT8XXX2_VCMP_SCAN_PERIOD_800US 0x50
34
#define IT8XXX2_VCMP_SCAN_PERIOD_1MS 0x60
35
#define IT8XXX2_VCMP_SCAN_PERIOD_1_5MS 0x70
36
#define IT8XXX2_VCMP_SCAN_PERIOD_2MS 0x80
37
#define IT8XXX2_VCMP_SCAN_PERIOD_2_5MS 0x90
38
#define IT8XXX2_VCMP_SCAN_PERIOD_3MS 0xa0
39
#define IT8XXX2_VCMP_SCAN_PERIOD_4MS 0xb0
40
#define IT8XXX2_VCMP_SCAN_PERIOD_5MS 0xc0
41
49
#define IT8XXX2_VCMP_LESS_OR_EQUAL 0
50
#define IT8XXX2_VCMP_GREATER 1
51
#define IT8XXX2_VCMP_UNDEFINED 0xffff
52
54
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_IT8XXX2_VCMP_H_ */
zephyr
dt-bindings
sensor
it8xxx2_vcmp.h
Generated on Thu Dec 19 2024 21:02:28 for Zephyr API Documentation by
1.12.0