HT68F14 HOLTEK [Holtek Semiconductor Inc], HT68F14 Datasheet - Page 107

no-image

HT68F14

Manufacturer Part Number
HT68F14
Description
Enhanced I/O Flash Type MCU
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT68F14
Quantity:
310
Interrupts
Rev. 1.10
Interrupt Registers
Interrupts are an important part of any microcontroller system. When an external event or an internal
function such as a Timer Module 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 device contains several external interrupt and internal interrupts functions.
The external interrupts are generated by the action of the external INT0 and INT1 pins while the
internal interrupts are generated by various internal functions such as the TMs, Time Base, and LVD.
Overall interrupt control, which basically means the setting of request flags when certain
microcontroller conditions occur and the setting of interrupt enable bits by the application program, is
controlled by a series of registers, located in the Special Purpose Data Memory, as shown in the
accompanying table. The number of registers depends upon the device chosen but fall into three
categories. The first is the INTC0~INTC1 registers which setup the primary interrupts, the second is
the MFI0~MFI1 registers which setup the Multi-function interrupts. Finally there is an INTEG register
to setup the external interrupt trigger edge type.
Each register contains a number of enable bits to enable or disable individual registers as well as
interrupt flags to indicate the presence of an interrupt request. The naming convention of these follows
a specific pattern. First is listed an abbreviated interrupt type, then the (optional) number of that
interrupt followed by either an E for enable/ disable bit or F for request flag.
Global
INTn Pin
Multi-function
Time Base
LVD
TM
Function
Interrupt Register Bit Naming Conventions
Enable Bit
INTnE
MFnE
TnPE
TnAE
TnBE
TBE
LVE
EMI
Request Flag
107
INTnF
MFnF
TnPF
TnAF
TnBF
Enhanced I/O Flash Type MCU
TBF
LVF
HT68F13/HT68F14/HT68F15
n = 0 or 1
n = 0 or 1
n = 0 or 1
Notes
n = 1
February 9, 2011

Related parts for HT68F14