Table 11.4-2 Functions of External Interrupt 2 Control Register (EIE2) Bits
Bit name
Bit 7
Bit 6
IE20 to IE27:
Bit 5
External
Bit 4
interrupt
Bit 3
input enable
Bit 2
bits
Bit 1
Bit 0
11.4 External Interrupt Circuit 2 Registers
•
These bits are used to enable or disable the the INT20 to
INT27 external interrupt pins for interrupt input.
•
When these bits are set to to "1", their respective external
interrupt pins function as external interrupt input pins to
receive external interrupt inputs.
•
When these bits are set to "0", their respective external
interrupt pins function as general-purpose port pins and
reject external interrupt inputs.
Tips:
•
To use an external interrupt pin, write "0" to the
corresponding bit in the port direction register (DDR0) to
set the pin as an input pin.
•
The states of external interrupt pins can be read directly
from the port data register (PDR0), regardless of the
settings of the external interrupt input enable bits.
Function
253