MB95630H Series
MN702-00009-2v0-E
FUJITSU SEMICONDUCTOR LIMITED
181
CHAPTER 12 EXTERNAL INTERRUPT CIRCUIT
12.6 Operations and Setting Procedure
Example
12.6
Operations and Setting Procedure Example
This section describes the operations of the external interrupt circuit.
■
Operations of External Interrupt Circuit
When the polarity of an edge of a signal input from one of the external interrupt pins (INTn,
INTn+1) matches the polarity of the edge selected by the external interrupt control register
(EIC:SL0[1:0] or SL1[1:0]), the corresponding external interrupt request flag bit (EIC:EIR0 or
EIR1) is set to "1" and the interrupt request is generated.
Always set the interrupt request enable bit to "0" when not using an external interrupt to wake
up the device from standby mode.
When setting the edge polarity select bit (SL00, SL01 or SL10, SL11), set the interrupt request
enable bit (EIE0 or EIE1) to "0" to prevent the interrupt request from being generated
accidentally. Also clear the interrupt request flag bit (EIR0 or EIR1) to "0" after changing the
edge polarity.
Figure 12.6-1 shows the operations for setting the INTn pin as an external interrupt input.
Figure 12.6-1 Operations of External Interrupt
Input waveform
to INTn pin
EIR0 bit
EIE0 bit
SL01 bit
SL00 bit
IRQ
Interrupt request flag bit cleared
by program
No edge
detection
Rising edge
Falling edge
Both edges
Summary of Contents for 8FX
Page 2: ......
Page 4: ......
Page 8: ...iv ...
Page 18: ...xiv ...
Page 22: ...xviii ...
Page 650: ......