參數(shù)資料
型號: HT46C62
廠商: Holtek Semiconductor Inc.
英文描述: A/D with LCD Type 8-Bit MCU
中文描述: 在A / D液晶型8位微控制器
文件頁數(shù): 22/46頁
文件大小: 401K
代理商: HT46C62
HT46R62/HT46C62
Rev. 1.60
22
July 14, 2005
PCR2
PCR1
PCR0
7
6
5
4
3
2
1
0
0
0
0
PB5
PB4
PB3
PB2
PB1
PB0
0
0
1
PB5
PB4
PB3
PB2
PB1
AN0
0
1
0
PB5
PB4
PB3
PB2
AN1
AN0
0
1
1
PB5
PB4
PB3
AN2
AN1
AN0
1
0
0
PB5
PB4
AN3
AN2
AN1
AN0
1
0
1
PB5
AN4
AN3
AN2
AN1
AN0
1
1
0
AN5
AN4
AN3
AN2
AN1
AN0
1
1
1
AN5
AN4
AN3
AN2
AN1
AN0
Port B Configuration
ACS2
ACS1
ACS0
Analog 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
AN5
1
1
1
AN5
Analog Input Channel Selection
Register
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
ADRL (24H)
D0
ADRH (25H)
D8
D7
D6
D5
D4
D3
D2
D1
Note:
D0~D8 is A/D conversion result data bit LSB~MSB.
ADRL (24H), ADRH (25H) Register
The following programming example illustrates how to setup and implement an A/D conversion. The method of poll-
ing the EOCB bit in the ADCR register is used to detect when the conversion cycle is complete.
Example: using EOCB Polling Method to detect end of conversion
clr
mov
mov
mov
mov
EADI
a,00000001B
ACSR,a
a,00100000B
ADCR,a
:
:
; disable ADC interrupt
; setup the ACSR register to select f
SYS
/8 as the A/D clock
; setup ADCR register to configure Port PB0~PB3 as A/D inputs
; and select AN0 to be connected to the A/D converter
; As the Port B channel bits have changed the following START
; signal (0-1-0) must be issued within 10 instruction cycles
:
Start_conversion:
clr
set
clr
Polling_EOC:
sz
jmp
mov
START
START
START
; reset A/D
; start A/D
EOCB
polling_EOC
a,ADRH
; poll the ADCR register EOCB bit to detect end of A/D conversion
; continue polling
; read conversion result high byte value from the ADRH register
相關(guān)PDF資料
PDF描述
HT46R62 A/D with LCD Type 8-Bit MCU
HT46C63 A/D with LCD Type 8-Bit MCU
HT46C63-100QEP-A A/D with LCD Type 8-Bit MCU
HT46C63-56SSOP-A A/D with LCD Type 8-Bit MCU
HT46R63 A/D with LCD Type 8-Bit MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT46C63 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46C63(100QFP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
HT46C63-100QEP-A 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46C63-56SSOP-A 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46C64 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU