Chapter 18 External Interrupt Circuit - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

Table 18.4-1 Functional Description of Each Bit of External Interrupt Control Register (EIC00)
Bit name
EIR1:
bit7
External interrupt
request flag bit 1
SL11, SL10:
bit6
Edge polarity select
bit5
bits 1
EIE1:
bit4
Interrupt request
enable bit 1
EIR0:
bit3
External interrupt
request flag bit 0
SL01, SL00:
bit2
Edge polarity select
bit1
bits 0
EIE0:
bit0
Interrupt request
enable bit 0
This flag is set to "1" when the edge selected by the edge polarity select bits (SL11, SL10) is inputted
to the external interrupt pin INT1.
• When this bit and the interrupt request enable bit 1 (EIE1) are set to "1", an interrupt request is
outputted.
• Writing "0" clears the bit. Writing "1" has no effect.
• "1" is read in read-modify-write instructions.
These bits select the polarity of the interrupt source edge of the pulse inputted to the external
interrupt pin INT1.
• Edge detection is not performed and no interrupt is generated when these bits are set to "00
• Rising edges are detected when these bits are "01
when "11
".
B
This bit is used to enable and disable output of interrupt requests to the interrupt controller. When
this bit and the external interrupt request flag bit 1 (EIR1) are "1", an interrupt request is outputted.
• When using an external interrupt pin, write "0" to the corresponding bit in the port direction
register (DDR) to set the pin as an input.
• The status of the external interrupt pin can be read directly from the port data register, regardless of
the status of the interrupt request enable bit.
This flag is set to "1" when the edge selected by the edge polarity select bits (SL01, SL00) is inputted
to the external interrupt pin INT0.
• When this bit and the interrupt request enable bit 0 (EIE0) are set to "1", an interrupt request is
outputted.
• Writing "0" clears the bit. Writing "1" has no effect.
• "1" is read in read-modify-write instructions.
These bits are used to select the polarity of the interrupt source edge of the pulse inputted to the
external interrupt pin INT0.
• Edge detection is not performed and no interrupt request is generated when these bits are "00
• Rising edges are detected when the bits are "01
"11
".
B
This bit enables or disables the output of interrupt requests to the interrupt controller. An interrupt
request is outputted when this bit and the external interrupt request flag bit 0 (EIR0) are "1".
• When using an external interrupt pin, write "0" to the corresponding bit in the port direction
register (DDR) to set the pin as an input.
• The status of the external interrupt pin can be read directly from the port data register (PFR),
regardless of the status of the interrupt request enable bit.

CHAPTER 18 EXTERNAL INTERRUPT CIRCUIT

Function
", falling edges when "10
B
", falling edges when "10
B
".
B
", and both edges
B
".
B
", and both edges when
B
309

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents