HT46RU67 Holtek Semiconductor Inc., HT46RU67 Datasheet - Page 29

no-image

HT46RU67

Manufacturer Part Number
HT46RU67
Description
Ht46ru67/ht46cu67 -- A/d Type 8-bit Mcu With Lcd
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Note: D0~D11 is A/D conversion result data bit LSB~MSB.
Rev. 1.00
Bit No.
Bit No.
PCR2
2~6
0
1
7
0
1
2
3
4
5
6
7
Register
0
0
0
0
1
1
1
1
ADRH
ADRL
ADCS0
ADCS1
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
Label
TEST
PCR1
0
0
1
1
0
0
1
1
Selects the A/D converter clock source
00=system clock/2
01=system clock/8
10=system clock/32
11=undefined
Unused bit, read as 0
For test mode used only
ACS2, ACS1, ACS0: Select A/D channel
0, 0, 0: AN0
0, 0, 1: AN1
0, 1, 0: AN2
0, 1, 1: AN3
1, 0, 0: AN4
1, 0, 1: AN5
1, 1, 0: AN6
1, 1, 1: AN7
Defines the Port B configuration select. If PCR0, PCR1 and PCR2 are all zero, the ADC circuit is
powered 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 initialised by issuing a START signal, other-
wise the EOCB flag may have an undefined condition. See Important note for A/D initialisation .
Bit7
D11
D3
PCR0
0
1
0
1
0
1
0
1
Bit6
D10
D2
AN7
PB7
PB7
PB7
PB7
PB7
PB7
PB7
7
ADRL (24H), ADRH (25H) Register
Bit5
PB6
PB6
PB6
PB6
PB6
PB6
PB6
AN6
ACSR (27H) Register
ADCR (26H) Register
Port B Configuration
D1
D9
6
29
PB5
PB5
PB5
PB5
PB5
PB5
AN5
AN5
5
Bit4
D0
D8
Function
Function
PB4
PB4
PB4
PB4
PB4
AN4
AN4
AN4
4
Bit3
D7
AN3
AN3
AN3
AN3
PB3
PB3
PB3
PB3
3
HT46RU67/HT46CU67
Bit2
D6
PB2
PB2
PB2
AN2
AN2
AN2
AN2
AN2
2
Bit1
D5
February 27, 2008
PB1
PB1
AN1
AN1
AN1
AN1
AN1
AN1
1
Bit0
D4
PB0
AN0
AN0
AN0
AN0
AN0
AN0
AN0
0

Related parts for HT46RU67