MB89960 series
CHAPTER 7 External Interrupt 1 Circuit
129
7
Table 7.3.1 External Interrupt Control Register 1 (EIC1) Bits
NO.
Bit
Function
bit7
EIR1:
External interrupt
request flag bit 1
This bit is set to “1” when the edge selected by edge polarity
selection bit 1 (SEL1) is input to external interrupt pin INT11.
An interrupt request is output when both this bit and interrupt
request enable bit 1 (EIE1) are “1”.
Writing “0” clears the bit. Writing “1” has no effect and does not
change the bit value.
bit6
SEL3:
Edge polarity
mode select bit
Control the mode of the input edge polarity of INT11 pin
Writing “0” use rising-edge or falling-edge mode. Writing “1” use
both-edge mode.
Always write “0” into EIR1 when changing this bit.
bit5
SEL2:
Edge polarity
selection bit
This bit selects the edge polarity that triggers interrupts when
detected on pulses input to external interrupt pin INT1.
A value of “0” selects rising edges and “1” selects falling edges.
Always write “0” into EIR1 when changing this bit.
bit4
EIE1:
Interrupt request
enable bit 1
Enables or disables output of interrupt requests to the CPU. An
interrupt request is output when both this bit and external
interrupt request flag bit 1 (EIR1) are “1”.
bit3
EIR0:
External interrupt
request flag bit 0
This bit is set to “1” when the edge selected by edge polarity
selection bit 0 (SEL0) is input to external interrupt pin INT10.
An interrupt request is output when both this bit and interrupt
request enable bit 0 (EIE0) are “1”.
Writing “0” clears the bit. Writing “1” has no effect and does not
change the bit value.
bit2
SEL1:
Edge polarity
mode select bit
Control the mode of the input edge polarity of INT10 pin
Writing “0” use rising-edge or falling-edge mode. Writing “1” use
both-edge mode.
Always write “0” into EIR0 when changing this bit.
bit1
SEL0:
Edge polarity
selection bit 0
This bit selects the edge polarity that triggers interrupts when
detected on pulses input to external interrupt pin INT10.
A value of “0” selects rising edges and “1” selects falling edges.
Always write “0” into EIR0 when changing this bit.
bit0
EIE0:
Interrupt request
enable bit 0
Enables or disables output of interrupt requests to the CPU. An
interrupt request is output when both this bit and external
interrupt request flag bit 0 (EIR0) are “1”.