欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT46R065D 参数 Datasheet PDF下载

HT46R065D图片预览
型号: HT46R065D
PDF下载: 下载PDF文件 查看货源
内容描述: 增强A / D型MCU,具有高电流LED驱动器 [Enhanced A/D Type MCU with High Current LED Driver]
分类和应用: 驱动器
文件页数/大小: 114 页 / 744 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46R065D的Datasheet PDF文件第62页浏览型号HT46R065D的Datasheet PDF文件第63页浏览型号HT46R065D的Datasheet PDF文件第64页浏览型号HT46R065D的Datasheet PDF文件第65页浏览型号HT46R065D的Datasheet PDF文件第67页浏览型号HT46R065D的Datasheet PDF文件第68页浏览型号HT46R065D的Datasheet PDF文件第69页浏览型号HT46R065D的Datasheet PDF文件第70页  
HT46R064D/065D/066D  
Enhanced A/D Type 8-Bit OTP MCU with LED Driver  
A/D Clock Period (tAD  
)
fSYS  
ADCS1, ADCS0=00  
(fSYS/2)  
ADCS1, ADCS0=01  
(fSYS/8)  
ADCS1, ADCS0=10  
(fSYS/32)  
ADCS1, ADCS0=11  
1MHz  
2MHz  
4MHz  
8MHz  
12MHz  
Undefined  
Undefined  
Undefined  
Undefined  
Undefined  
2ms  
1ms  
8ms  
4ms  
32ms  
16ms  
8ms  
500ns  
250ns*  
167ns*  
2ms  
1ms  
4ms  
667ns  
2.67ms  
A/D Clock Period Examples  
A/D Input Pins  
All of the A/D analog input pins are pin-shared with the I/O pins on Port A and Port B. Bits  
PCR7~PCR0 in the register, determine whether the input pins are setup as normal Port A and Port B  
input/output pins or whether they are setup as analog inputs. In this way, pins can be changed under  
program control to change their function from normal I/O operation to analog inputs and vice versa.  
Pull-high resistors, which are setup through register programming, apply to the input pins only when  
they are used as normal I/O pins, if setup as A/D inputs the pull-high resistors will be automatically  
disconnected. Note that it is not necessary to first setup the A/D pin as an input in the port control  
register to enable the A/D input as when the PCR7~PCR0 bits enable an A/D input, the status of the  
port control register will be overridden.  
Summary of A/D Conversion Steps  
The following summarises the individual steps that should be executed in order to implement an A/D  
conversion process.  
Step 1  
Select the required A/D conversion clock by correctly programming bits ADCS1 and ADCS0 in the  
register.  
Step 2  
Select which pins are to be used as A/D inputs and configure them as A/D input pins by correctly  
programming the PCR7~PCR0 bits in the ADCR register.  
Step 3  
Select which channel is to be connected to the internal A/D converter by correctly programming the  
ACS2~ACS0 bits which are also contained in the register.  
Step 4  
If the interrupts are to be used, the interrupt control registers must be correctly configured to ensure the  
A/D converter interrupt function is active. The master interrupt control bit, EMI, the INTC1 interrupt  
control register must be set to ²1², the A/D converter interrupt bit, ADE, must also be set to ²1².  
Step 5  
The analog to digital conversion process can now be initialised by setting the START bit in the ADCR  
register from ²0² to ²1² and then to ²0² again. Note that this bit should have been originally set to ²0².  
Rev. 1.00  
61  
January 12, 2011  
 复制成功!