Fujitsu F2MC-8L F202RA Hardware Manual page 249

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

Table 10.4-1 Explanation of Functions of Each Bit in External Interrupt Control Register 1 (EIC1) (1/2)
Bit name
EIR1:
bit7
External interrupt
request flag bit1
SL11, SL10:
bit6,
Edge polarity
bit5
selection bits 1
EIE1:
bit4
Interrupt request
enable bit 1
EIR0:
bit3
External interrupt
request flag bit 0
SL01, SL00:
bit2,
Edge polarity
bit1
selection bits 0
CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 (EDGE)
When a signal with an edge or edges corresponding to edge polarity selected by
edge polarity selection bits (SL11, SL10) is input to INT11 external interrupt
pin, this bit is set to "1".
When this bit and interrupt request enable bit 1 (EIE1) are "1", the interrupt
request is output.
Writing "0" clears this bit; writing "1" does not affect this bit (no change).
These bits are used to select the polarity of an edge or edges of a signal pulse that
triggers an interrupt when the signal is input to INT11 external interrupt pin.
When these bits provide a value of "00
interrupt requests are not generated.
These bits may specify "01
"11
", both edges to be detected.
B
Note:
If an edge is selected while edge detection is OFF, edge detection may be
performed unconditionally. Always clear the EIR0 bit after selecting an edge.
This bit enables or disables interrupt request outputs to CPU. When this bit and
external interrupt request flag bit 1 (EIR1) are "1", the interrupt request is output.
Notes:
When using the external interrupt pin, write "0" for bit5 of the port data direction
register (DDR3) so that the pin serves inputs only.
Regardless of the interrupt request enable bit state, the state of the external
interrupt pin can be read directly from the port data register (PDR3).
When a signal with an edge or edges corresponding to edge polarity selected by
edge polarity selection bits (SL01, SL00) is input to INT10 external interrupt
pin, this bit is set to "1".
When this bit and interrupt request enable bit 0 (EIE0) are "1", the interrupt
request is output.
Writing "0" clears this bit, and writing "1" does not affect this bit.
These bits are used to select the polarity of an edge or edges of a signal pulse that
triggers an interrupt when the signal is input to the INT10 external interrupt pin.
When these bits provide a value of "00
interrupt requests are not generated.
These bits may specify "01
"11
", both edges to be detected.
B
Note:
If edge is selected when edge detection is OFF, edge detection may be performed
unconditionally. Always clear the EIR0 bit after selecting an edge.
Function
", edge detection is not performed and
B
", indicating a rising edge, "10
B
", edge detection is not performed and
B
", indicating a rising edge, "10
B
", a falling edge, or
B
", a falling edge, or
B
233

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents