Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
it8xxx2_vcmp.h File Reference

Go to the source code of this file.

Macros

it8xxx2 voltage comparator channel references
#define VCMP_CHANNEL_0   0
 
#define VCMP_CHANNEL_1   1
 
#define VCMP_CHANNEL_2   2
 
#define VCMP_CHANNEL_3   3
 
#define VCMP_CHANNEL_4   4
 
#define VCMP_CHANNEL_5   5
 
#define VCMP_CHANNEL_CNT   6
 
it8xxx2 voltage comparator scan period for "all comparator channel"
#define IT8XXX2_VCMP_SCAN_PERIOD_100US   0x10
 
#define IT8XXX2_VCMP_SCAN_PERIOD_200US   0x20
 
#define IT8XXX2_VCMP_SCAN_PERIOD_400US   0x30
 
#define IT8XXX2_VCMP_SCAN_PERIOD_600US   0x40
 
#define IT8XXX2_VCMP_SCAN_PERIOD_800US   0x50
 
#define IT8XXX2_VCMP_SCAN_PERIOD_1MS   0x60
 
#define IT8XXX2_VCMP_SCAN_PERIOD_1_5MS   0x70
 
#define IT8XXX2_VCMP_SCAN_PERIOD_2MS   0x80
 
#define IT8XXX2_VCMP_SCAN_PERIOD_2_5MS   0x90
 
#define IT8XXX2_VCMP_SCAN_PERIOD_3MS   0xa0
 
#define IT8XXX2_VCMP_SCAN_PERIOD_4MS   0xb0
 
#define IT8XXX2_VCMP_SCAN_PERIOD_5MS   0xc0
 
it8xxx2 voltage comparator interrupt trigger mode
#define IT8XXX2_VCMP_LESS_OR_EQUAL   0
 
#define IT8XXX2_VCMP_GREATER   1
 
#define IT8XXX2_VCMP_UNDEFINED   0xffff
 

Macro Definition Documentation

◆ IT8XXX2_VCMP_GREATER

#define IT8XXX2_VCMP_GREATER   1

◆ IT8XXX2_VCMP_LESS_OR_EQUAL

#define IT8XXX2_VCMP_LESS_OR_EQUAL   0

◆ IT8XXX2_VCMP_SCAN_PERIOD_100US

#define IT8XXX2_VCMP_SCAN_PERIOD_100US   0x10

◆ IT8XXX2_VCMP_SCAN_PERIOD_1_5MS

#define IT8XXX2_VCMP_SCAN_PERIOD_1_5MS   0x70

◆ IT8XXX2_VCMP_SCAN_PERIOD_1MS

#define IT8XXX2_VCMP_SCAN_PERIOD_1MS   0x60

◆ IT8XXX2_VCMP_SCAN_PERIOD_200US

#define IT8XXX2_VCMP_SCAN_PERIOD_200US   0x20

◆ IT8XXX2_VCMP_SCAN_PERIOD_2_5MS

#define IT8XXX2_VCMP_SCAN_PERIOD_2_5MS   0x90

◆ IT8XXX2_VCMP_SCAN_PERIOD_2MS

#define IT8XXX2_VCMP_SCAN_PERIOD_2MS   0x80

◆ IT8XXX2_VCMP_SCAN_PERIOD_3MS

#define IT8XXX2_VCMP_SCAN_PERIOD_3MS   0xa0

◆ IT8XXX2_VCMP_SCAN_PERIOD_400US

#define IT8XXX2_VCMP_SCAN_PERIOD_400US   0x30

◆ IT8XXX2_VCMP_SCAN_PERIOD_4MS

#define IT8XXX2_VCMP_SCAN_PERIOD_4MS   0xb0

◆ IT8XXX2_VCMP_SCAN_PERIOD_5MS

#define IT8XXX2_VCMP_SCAN_PERIOD_5MS   0xc0

◆ IT8XXX2_VCMP_SCAN_PERIOD_600US

#define IT8XXX2_VCMP_SCAN_PERIOD_600US   0x40

◆ IT8XXX2_VCMP_SCAN_PERIOD_800US

#define IT8XXX2_VCMP_SCAN_PERIOD_800US   0x50

◆ IT8XXX2_VCMP_UNDEFINED

#define IT8XXX2_VCMP_UNDEFINED   0xffff

◆ VCMP_CHANNEL_0

#define VCMP_CHANNEL_0   0

◆ VCMP_CHANNEL_1

#define VCMP_CHANNEL_1   1

◆ VCMP_CHANNEL_2

#define VCMP_CHANNEL_2   2

◆ VCMP_CHANNEL_3

#define VCMP_CHANNEL_3   3

◆ VCMP_CHANNEL_4

#define VCMP_CHANNEL_4   4

◆ VCMP_CHANNEL_5

#define VCMP_CHANNEL_5   5

◆ VCMP_CHANNEL_CNT

#define VCMP_CHANNEL_CNT   6