欢迎访问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文件第66页浏览型号HT46R065D的Datasheet PDF文件第67页浏览型号HT46R065D的Datasheet PDF文件第68页浏览型号HT46R065D的Datasheet PDF文件第69页浏览型号HT46R065D的Datasheet PDF文件第71页浏览型号HT46R065D的Datasheet PDF文件第72页浏览型号HT46R065D的Datasheet PDF文件第73页浏览型号HT46R065D的Datasheet PDF文件第74页  
HT46R064D/065D/066D  
Enhanced A/D Type 8-Bit OTP MCU with LED Driver  
Interrupts  
Interrupts are an important part of any microcontroller system. When an external event or an internal  
function such as a Timer/Event Counter or Time Base requires microcontroller attention, their  
corresponding interrupt will enforce a temporary suspension of the main program allowing the  
microcontroller to direct attention to their respective needs.  
The devices contain a single external interrupt and multiple internal interrupts. The external interrupt  
is controlled by the action of the external interrupt pin, while the internal interrupt is controlled by the  
Timer/Event Counters and Time Base overflows.  
Interrupt Register  
Overall interrupt control, which means interrupt enabling and request flag setting, is controlled by  
using two registers, INTC0 and INTC1. By controlling the appropriate enable bits in this registers each  
individual interrupt can be enabled or disabled. Also when an interrupt occurs, the corresponding  
request flag will be set by the microcontroller. The global enable flag if cleared to zero will disable all  
interrupts.  
Interrupt Operation  
ATimer/Event Counter overflow, a Time Base event or an active edge on the external interrupt pin will  
all generate an interrupt request by setting their corresponding request flag, if their appropriate  
interrupt enable bit is set. When this happens, the Program Counter, which stores the address of the  
next instruction to be executed, will be transferred onto the stack. The Program Counter will then be  
loaded with a new address which will be the value of the corresponding interrupt vector. The  
microcontroller will then fetch its next instruction from this interrupt vector. The instruction at this  
vector will usually be a JMP statement which will jump to another section of program which is known  
as the interrupt service routine. Here is located the code to control the appropriate interrupt. The  
interrupt service routine must be terminated with a RETI instruction, which retrieves the original  
Program Counter address from the stack and allows the microcontroller to continue with normal  
execution at the point where the interrupt occurred.  
The various interrupt enable bits, together with their associated request flags, are shown in the  
following diagram with their order of priority.  
Interrupt Scheme  
Rev. 1.00  
65  
January 12, 2011  
 复制成功!