English
Language : 

MC908AP16CFAE Datasheet, PDF (273/324 Pages) Freescale Semiconductor, Inc – Table of Contents
Chapter 17
External Interrupt (IRQ)
17.1 Introduction
The external interrupt (IRQ) module provides two maskable interrupt inputs: IRQ1 and IRQ2.
17.2 Features
Features of the IRQ module include:
• A dedicated external interrupt pin, IRQ1
• An external interrupt pin shared with a port pin, PTC0/IRQ2
• Separate IRQ interrupt control bits for IRQ1 and IRQ2
• Hysteresis buffers
• Programmable edge-only or edge and level interrupt sensitivity
• Automatic interrupt acknowledge
• Internal pullup resistor, with disable option on IRQ2
NOTE
References to either IRQ1 or IRQ2 may be made in the following text by
omitting the IRQ number. For example, IRQF may refer generically to
IRQ1F and IRQ2F, and IMASK may refer to IMASK1 and IMASK2.
Addr.
$001C
$001E
Register Name
Bit 7
IRQ2 Status and Control Read: 0
Register Write:
(INTSCR2) Reset: 0
IRQ1 Status and Control Read: 0
Register Write:
(INTSCR1) Reset: 0
6
5
PUC0ENB
0
0
0
0
0
0
0
= Unimplemented
4
3
2
0
IRQ2F
0
ACK2
0
0
0
0
IRQ1F
0
ACK1
0
0
0
Figure 17-1. External Interrupt I/O Register Summary
1
IMASK2
0
IMASK1
0
Bit 0
MODE2
0
MODE1
0
17.3 Functional Description
A logic 0 applied to the external interrupt pin can latch a CPU interrupt request. Figure 17-2 and
Figure 17-3 shows the structure of the IRQ module.
Interrupt signals on the IRQ pin are latched into the IRQ latch. An interrupt latch remains set until one of
the following actions occurs:
• Vector fetch — A vector fetch automatically generates an interrupt acknowledge signal that clears
the latch that caused the vector fetch.
MC68HC908AP Family Data Sheet, Rev. 4
Freescale Semiconductor
271