XC68HC05P18A Motorola, XC68HC05P18A Datasheet - Page 43

no-image

XC68HC05P18A

Manufacturer Part Number
XC68HC05P18A
Description
HCMOS Microcontroller Unit
Manufacturer
Motorola
Datasheet
4.4.3 Hardware Interrupts
4.4.3.1 External Interrupt (IRQ)
4.4.3.2 Input Capture Interrupt
MC68HC05P18A
MOTOROLA
NOTE:
All hardware interrupts are maskable by the I bit in the CCR. If the I bit
is set, all hardware interrupts (internal and external) are disabled.
Clearing the I bit enables the hardware interrupts.
The four hardware interrupts are explained here:
The IRQ pin drives an asynchronous interrupt to the CPU. An edge
detector flip-flop is latched on the falling edge of IRQ. If either the output
from the internal edge detector flip-flop or the level on the IRQ pin is low,
a request is synchronized to the CPU to generate the IRQ interrupt. If the
edge-sensitive only mask option is selected, the output of the internal
edge detector flip-flop is sampled and the input level on the IRQ pin is
ignored. If port A interrupts are selected as a mask option, a port A
interrupt uses the same vector. The interrupt service routine address is
specified by the contents of memory locations $3FFA and $3FFB.
The internal interrupt latch is cleared 9 PH2 clock cycles after the
interrupt is recognized (after location $3FFA is read). Therefore, another
external interrupt pulse could be latched during the IRQ service routine.
When the edge- and level-sensitive mask option is selected, the voltage
applied to the IRQ pin must return to the high state before the return-
from-interrupt (RTI) instruction in the interrupt service routine is
executed.
The input capture interrupt is generated by the 16-bit timer as described
in
Section 8. 16-Bit
External interrupt (IRQ)
Input capture interrupt
Output compare interrupt
Timer overflow interrupt
Interrupts
Timer. The input capture interrupt flag is located in
Interrupt Types
Technical Data
Interrupts
43

Related parts for XC68HC05P18A