Bit No; Label Function - Holtek HT46RU67 Manual

A/d type 8-bit mcu with lcd
Table of Contents

Advertisement

Bit No.

Label
Selects the A/D converter clock source
00=system clock/2
0
ADCS0
01=system clock/8
1
ADCS1
10=system clock/32
11=undefined
¾
Unused bit, read as ²0²
2~6
7
TEST
For test mode used only
Bit No.
Label
ACS2, ACS1, ACS0: Select A/D channel
0, 0, 0: AN0
0, 0, 1: AN1
0
ACS0
0, 1, 0: AN2
1
ACS1
0, 1, 1: AN3
2
ACS2
1, 0, 0: AN4
1, 0, 1: AN5
1, 1, 0: AN6
1, 1, 1: AN7
3
PCR0
Defines the Port B configuration select. If PCR0, PCR1 and PCR2 are all zero, the ADC circuit is
4
PCR1
powered off to reduce power consumption.
5
PCR2
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-
6
EOCB
wise the EOCB flag may have an undefined condition. See ²Important note for A/D initialisation².
START Starts the A/D conversion. (0®1®0= start; 0®1= Reset A/D converter and set EOCB to ²1²)
7
PCR2
PCR1
PCR0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Register
Bit7
ADRL
D3
ADRH
D11
Note: D0~D11 is A/D conversion result data bit LSB~MSB.
Rev. 1.30
ACSR (27H) Register
ADCR (26H) Register
7
6
5
PB7
PB6
PB5
PB7
PB6
PB5
PB7
PB6
PB5
PB7
PB6
PB5
PB7
PB6
PB5
PB7
PB6
PB5
PB7
PB6
AN5
AN7
AN6
AN5
Port B Configuration
Bit6
Bit5
Bit4
D2
D1
D0
D10
D9
D8
ADRL (24H), ADRH (25H) Register
29
HT46RU67/HT46CU67
Function
Function
4
3
2
PB4
PB3
PB2
PB4
PB3
PB2
PB4
PB3
PB2
PB4
PB3
AN2
PB4
AN3
AN2
AN4
AN3
AN2
AN4
AN3
AN2
AN4
AN3
AN2
Bit3
Bit2
¾
¾
D7
D6
1
0
PB1
PB0
PB1
AN0
AN1
AN0
AN1
AN0
AN1
AN0
AN1
AN0
AN1
AN0
AN1
AN0
Bit1
Bit0
¾
¾
D5
D4
June 10, 2014

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ht46cu67

Table of Contents