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

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
HT68F13/HT68F14/HT68F15
Enhanced I/O Flash Type MCU
Rev. 1.10
xxF
xxF
xxE
External Interrupt
TM0 P
TM0 A
TM1 P
TM1 A
TM1 B
Interrupts contained within
Multi-Function Interrupts
Request Flag, no auto reset in ISR
Request Flag, auto reset in ISR
Enable Bits
The external interrupts are controlled by signal transitions on the pins INT0~INT1. An external
interrupt request will take place when the external interrupt request flags, INT0F~INT1F, are set,
which will occur when a transition, whose type is chosen by the edge select bits, appears on the
external interrupt pins. To allow the program to branch to its respective interrupt vector address, the
global interrupt enable bit, EMI, and respective external interrupt enable bit, INT0E~INT1E, must first
be set. Additionally the correct interrupt edge type must be selected using the INTEG register to enable
the external interrupt function and to choose the trigger edge type. As the external interrupt pins are
pin-shared with I/O pins, they can only be configured as external interrupt pins if their external
interrupt enable bit in the corresponding interrupt register has been set. The pin must also be setup as
an input by setting the corresponding bit in the port control register. When the interrupt is enabled, the
stack is not full and the correct transition type appears on the external interrupt pin, a subroutine call to
the external interrupt vector, will take place. When the interrupt is serviced, the external interrupt
request flags, INT0F~INT1F, will be automatically reset and the EMI bit will be automatically cleared
to disable other interrupts. Note that any pull-high resistor selections on the external interrupt pins will
remain valid even if the pin is used as an external interrupt input.
The INTEG register is used to select the type of active edge that will trigger the external interrupt. A
choice of either rising or falling or both edge types can be chosen to trigger an external interrupt. Note
that the INTEG register can also be used to disable the external interrupt function.
Legend
T0PF
T0AF
T1PF
T1AF
T1BF
T0PE
T0AE
T1PE
T1AE
T1BE
Interrupt Structure - HT68F15
M. Funct. 0
M. Funct. 1
Time Base
INT0 Pin
INT1 Pin
Interrupt
Name
LVD
114
Request
INT0F
INT1F
MF0F
MF1F
Flags
TBF
LVF
Enable
INT0E
INT1E
MF0E
MF1E
TBE
LVE
Bits
EMI auto disabled in ISR
Master
Enable
EMI
EMI
EMI
EMI
EMI
EMI
February 9, 2011
Vector
0CH
1CH
04H
08H
10H
18H
Priority
High
Low

Related parts for HT68F14