HT46C65 Holtek Semiconductor, HT46C65 Datasheet - Page 23

no-image

HT46C65

Manufacturer Part Number
HT46C65
Description
A/D with LCD Type 8-Bit MCU
Manufacturer
Holtek Semiconductor
Datasheet
Note: D0~D9 is A/D conversion result data bit LSB~MSB.
Rev. 1.80
Bit No.
PCR2
0
1
2
3
4
5
6
7
ADRH (25H)
ADRL (24H)
0
0
0
0
1
1
1
1
Register
ACS2
0
0
0
0
1
1
1
1
START Starts the A/D conversion. (0 1 0= start; 0 1= Reset A/D converter and set EOCB to 1 )
EOCB
Label
ACS0
ACS1
ACS2
PCR0
PCR1
PCR2
PCR1
0
0
1
1
0
0
1
1
Defines the analog channel select.
Defines the port B configuration select. If PCR0, PCR1 and PCR2 are all zero, the ADC circuit is
power off to reduce power consumption
Indicates end of A/D conversion. (0 = end of A/D conversion)
Each time bits 3~5 change state the A/D should be initialized by issuing a START signal, other-
wise the EOCB flag may have an undefined condition. See Important note for A/D initialization .
PCR0
Bit7
D1
D9
0
1
0
1
0
1
0
1
ACS1
0
0
1
1
0
0
1
1
PB7
PB7
PB7
PB7
PB7
PB7
PB7
AN7
7
Bit6
D0
D8
ADRL (24H), ADRH (25H) Register
Analog Input Channel Selection
AN6
PB6
PB6
PB6
PB6
PB6
PB6
PB6
ADCR (26H) Register
Port B Configuration
6
Bit5
D7
ACS0
0
1
0
1
0
1
0
1
23
PB5
PB5
PB5
PB5
PB5
PB5
AN5
AN5
5
Bit4
D6
Function
PB4
PB4
PB4
PB4
PB4
AN4
AN4
AN4
4
Bit3
D5
PB3
PB3
PB3
PB3
AN3
AN3
AN3
AN3
3
Analog Channel
Bit2
D4
HT46R65/HT46C65
PB2
PB2
PB2
AN2
AN2
AN2
AN2
AN2
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
2
Bit1
D3
PB1
PB1
AN1
AN1
AN1
AN1
AN1
AN1
1
July 14, 2005
Bit0
PB0
AN0
AN0
AN0
AN0
AN0
AN0
AN0
D2
0

Related parts for HT46C65