HT46R064B/065B/066B
·
ADRH, ADRL Register
ADRH
ADRL
Bit
7
6
5
4
3
D7
R
2
D6
R
1
D5
R
0
D4
R
7
D3
R
6
D2
R
5
D1
R
4
D0
R
3
2
1
0
Name D11 D10 D9
D8
R
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
¾
R/W
R
x
R
x
R
x
POR
x
x
x
x
x
x
x
x
x
²x² unknown
unimplemented, read as ²0²
D11~D0: ADC conversion data
·
ADCR Register
Bit
7
6
EOCB
R
5
PCR2
R/W
0
4
PCR1
R/W
0
3
2
1
0
ACS0
R/W
0
Name
R/W
START
R/W
0
PCR0
R/W
0
ACS2
R/W
0
ACS1
R/W
0
POR
1
Bit 7
: start
START: Start the A/D conversion
0®1®0
0®1
: reset the A/D converter and set EOCB to ²1²
Bit 6
EOCB: End of A/D conversion flag
0: A/D conversion ended
1: A/D conversion in progress
Bit 5~3
PCR2~PCR0: A/D channel configuration
For HT46R064B/065B
000 A/D channel all off - ADC module power down
001 PA0 enabled as AN0
010 PA0~PA1 enabled as AN0~AN1
011 PA0~PA2 enabled as AN0~AN2
1xx PA0~PA3 enabled as AN0~AN3
For HT46R066B
000 A/D channel all off - ADC module power down
001 PA0 enabled as AN0
010 PA0~PA1 enabled as AN0~AN1
011 PA0~PA2 enabled as AN0~AN2
100 PA0~PA3 enabled as AN0~AN3
101 PA0~PA3,PC0 enabled as AN0~AN4
110 PA0~PA3,PC0,PC1 enabled as AN0~AN5
111 PA0~PA3,PC0,PC1,PC6,PC7 enabled as AN0~AN7
Bit 2~0
ACS2~ACS0: Select A/D channel
For HT46R064B/065B
000 AN0
001 AN1
010 AN2
011 AN3
1xx undefined, can¢t be used
For HT46R066B
000 AN0
001 AN1
010 AN2
011 AN3
100 AN4
101 AN5
110 AN6
111 AN7
Rev. 1.10
54
October 23, 2012