HT56R66 Holtek Semiconductor Inc., HT56R66 Datasheet - Page 70

no-image

HT56R66

Manufacturer Part Number
HT56R66
Description
Tinypower Tm A/d Type With Lcd 8-bit Otp Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
interrupt vector at location 04H or 08H, will take place.
When the interrupt is serviced, the external interrupt
request flags, EIF0 or EIF1, will be automatically reset
and the EMI bit will be automatically cleared to disable
other interrupts. Note that any pull-high resistor
selections on this pin will remain valid even if the pin is
used as an external interrupt input.
The INTEDGE register is used to select the type of active
edge that will trigger the external interrupt. A choice of ei-
ther rising and falling edge types can be chosen along
with an option to allow both edge types to trigger an exter-
nal interrupt. Note that the INTEDGE register can also be
used to disable the external interrupt function.
The external interrupt pins are connected to an internal
filter to reduce the possibility of unwanted external inter-
rupts due to adverse noise or spikes on the external in-
Rev. 1.10
Interrupt Structure
70
terrupt input signal. As this internal filter circuit will
consume a limited amount of power, a configuration op-
tion is provided to switch off the filter function, an option
which may be beneficial in power sensitive applications,
but in which the integrity of the input signal is high. Care
must be taken when using the filter on/off configuration
option as it will be applied not only to both the external
interrupt pins but also to the Timer/Event Counter exter-
nal input pins. Individual external interrupt or
Timer/Event Counter pins cannot be selected to have a
filter on/off function.
External Peripheral Interrupt
The External Peripheral Interrupt operates in a similar
way to the external interrupt and is contained within the
Multi-function interrupt.
For an external peripheral interrupt to occur, the global
interrupt enable bit, EMI, external peripheral interrupt
enable bit, EPI, and Multi-function interrupt enable bit,
EMFI, must first be set. An actual external peripheral in-
terrupt will take place when the external interrupt re-
quest flag, PEF, is set, a situation that will occur when a
negative transition, appears on the PINT pin. The exter-
HT56R66/HT56R666
September 8, 2009

Related parts for HT56R66