HT45R22E Holtek Semiconductor, HT45R22E Datasheet - Page 47

no-image

HT45R22E

Manufacturer Part Number
HT45R22E
Description
Remote Type 8-bit OTP MCU
Manufacturer
Holtek Semiconductor
Datasheet
Rev. 1.00
CMP0C Register
CMP1C Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3~2
Bit 1~0
Bit7
Bit6
Bit5
Bit 4, 2
Bit 3
Bit 1~0
Name
Name
POR
POR
R/W
R/W
Bit
Bit
A0VRC
unimplemented, read as 0
CEN: comparator on/off bit
Note that the designer should enable the comparator first before enabling the comparator
interrupt, in order to prevent an unexpected interrupt.
CPOL: comparator output polarity control bit
COUT: comparator output bit.
CPOL=0: If the CP pin input voltage is less than CN pin, then the COUT is 0 .
CPOL=1: If the CP pin input voltage is less than CN pin, then the COUT is 1 .
If the CP pin input voltage is greater than CN pin, then the COUT is 0 .
DBC1, DBC0: De-bounce time selection, up to application signal
CPCS1, CPCS0]: Comparator operating current selection for low power consumption
A0VRC: OPA0 non-inverting input connection control bit
A1VRC: OPA1 non-inverting input connection control bit
CPVRC: Comparator non-inverting input connection control bit
Note that the above setting of these three bits, which are A0VRC, A1VRC and CPVRC, is valid
when the non inverting input pins are selected to be connected to the internal reference voltage
by A0PS[2:0],A1PS[2:0] and CPS[2:0] control bits respectively.
unimplemented, read as 0
TMR0S: signal input path selection for Timer 0 Event counter
CINTS1, CINTS0: comparator interrupt trigger type selection
R/W
0: off
1: on
0: not inverted
1: inverted
If the CP pin input voltage is greater than CN pin, then the COUT is 1 .
00: no de-bounce
01: de-bounce time= 1 system clock
10: de-bounce time= 4 system clock
11: de-bounce time= 16 system clock
00: 200 A
01: 5 A
10: 1 A
11: not implemented
0: connected to internal reference voltage only
1: connected to both internal reference voltage and external I/O (A0P) pin
0: connected to internal reference voltage only
1: connected to both internal reference voltage and external I/O (A1P) pin
0: connected to internal reference voltage only
1: connected to both internal reference voltage and external I/O (CP) pin
0: from TC0 pin
1: from comparator output
00: falling edge
01: rising edge
10: both edge
11: reserved
7
0
7
0
A1VRC
CEN
R/W
R/W
6
0
6
0
CPVRC
CPOL
R/W
R/W
5
0
5
0
COUT
47
R
4
0
4
0
TMR0S
DBC1
R/W
R/W
3
0
3
0
DBC0
R/W
2
0
2
0
CINTS1
CPCS1
R/W
R/W
1
0
1
0
HT45R22E
March 17, 2010
www.DataSheet4U.com
CINTS0
CPCS0
R/W
R/W
0
0
0
0

Related parts for HT45R22E