HT46R12A Holtek Semiconductor Inc., HT46R12A Datasheet - Page 21

no-image

HT46R12A

Manufacturer Part Number
HT46R12A
Description
Ht46r12a -- A/d Type 8-bit Otp Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Comparator
The input voltage offset of the PPG comparator is adjustable by using common mode inputs to calibrate the offset.
The calibration steps are as follows:
Rev. 1.00
Set CnCOFM = 1 to offset the cancellation mode
- S3 is closed
Set CnCRS to select which input pin is the reference voltage - S1 or S2 closed
Adjust CnCOF0~CnCOF3 until the output status changes
Set CnCOFM = 0 for the normal comparator operation mode.
Bit No.
Bit No.
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
C0CMPOP
C1CMPOP
C0COFM
C1COFM
C0COF0
C0COF1
C0COF2
C0COF3
C1COF0
C1COF1
C1COF2
C1COF3
C0CRS
C1CRS
Label
Label
Comparator input offset voltage cancellation control bits
Comparator input offset voltage cancellation reference selection bit
1/0: select CP/CN as the reference input
Input offset voltage cancellation mode and comparator mode selection
1: input offset voltage cancellation mode
0: comparator mode
Comparator output; positive logic
Unused bit, read as 0
Comparator input offset voltage cancellation control bits
Comparator input offset voltage cancellation reference selection bit
1/0: select CP/CN as the reference input
Input offset voltage cancellation mode and comparator mode selection
1: input offset voltage cancellation mode
0: comparator mode
Comparator output; positive logic
Unused bit, read as 0
CMP0C (1BH) Register
CMP1C (1CH) Register
21
Function
Function
HT46R12A
August 3, 2007
1000B
1000B
POR
POR
0
0
0
0
0
0
0
0

Related parts for HT46R12A