HT48R064G/065G/066G/0662G
Enhanced I/O Type 8-Bit OTP MCU with OPA
COPA0C Register
Bit
Name
R/W
POR
7
A0PS2
R/W
0
6
A0PS1
R/W
0
5
A0PS0
R/W
0
4
CPS2
R/W
0
3
CPS1
R/W
0
2
CPS0
R/W
0
Bit 7~5
Bit 4~2
Bit 1~0
A0PS2~A0PS0: OPA0 Non-inverting input signal selection bits
000: A0P pin
001: 0.7VDD
010: 0.5VDD
011: 0.1VDD
100: VSS
101~111: undefined
CPS2~CPS0: Comparator Non-inverting input signal selection bits
000: CP pin
001: 0.7VDD
010: 0.5VDD
011: 0.1VDD
100: VSS
101~111: undefined
CNS1~CNS0: Comparator Inverting input signal selection bits
00: CN pin
01: A1X
10: VSS
11: undefined
COPA1C Register
Bit
Name
R/W
POR
7
A1G2
R/W
0
6
A1G1
R/W
0
5
A1G0
R/W
0
4
A1PS2
R/W
0
3
A1PS1
R/W
0
2
A1PS0
R/W
0
Bit 7~5
Bit 4~2
Bit 1~0
A1G2~A1G0: OPA1 Gain control bits
000: 6.25
001: 12.50
010: 18.75
011: 25.00
100: 31.25
101: 37.50
110: 43.75
111: 50.00
A1PS2~A1PS0: OPA1 Non-inverting input signal selection bits
000: A1P pin
001: 0.7VDD
010: 0.5VDD
011: 0.1VDD
100: VSS
101: A0X, the OPA0 internal output
110~111: undefined
A1NS1~A1NS0: OPA1 Inverting input signal selection bits
00: A1N pin
01: A0X, the OPA0 internal output
10: VSS
11: undefined
1
CNS1
R/W
0
1
A1NS1
R/W
0
0
CNS0
R/W
0
0
A1NS0
R/W
0
Rev. 1.10
70
October 23, 2012