
288
(1) Port 4 Register (PORT4)
7
P47
—*
R
6
P46
—*
R
5
P45
—*
R
4
P44
—*
R
3
P43
—*
R
0
P40
—*
R
2
P42
—*
R
1
P41
—*
R
Bit
:
Initial value :
R/W
:
Note: * Determined by the state of pins P47 to P40.
PORT4 is an 8-bit read-only register. The pin states are always read when a port 4 read is
performed. This register cannot be written to.
(2) Interrupt Request Input Pin Select Register 0 (IPINSEL0)
Bit
:
7
65
43
21
0
P36
IRQ7E
P47
IRQ6E
P46
IRQ5E
P44
IRQ4E
P43
IRQ3E
P42
IRQ2E
P41
IRQ1E
P40
IRQ0E
Initial value :
0
R/W
:
R/W
IPINSEL0 is an 8-bit readable/writable register that selects which pins are to be used for interrupt
request input signals (
EXIRQ0 to EXIRQ7) from externally connected modules. IPINSEL0 is
initialized to H'00 by a power-on reset and in hardware standby mode. It retains its previous state
in a manual reset and in software standby mode.
Bit 7—Enable of
EXIRQ7 Input from P36 (P36IRQ7E): Selects whether or not P36 is used as
the
EXIRQ7 input pin.
Bit 7
P36IRQ7E
Description
0
P36 is not used as
EXIRQ7 input
(Initial value)
1
P36 is used as
EXIRQ7 input
Bit 6—Enable of
EXIRQ6 Input from P47 (P47IRQ6E): Selects whether or not P47 is used as
the
EXIRQ6 input pin.
Bit 6
P47IRQ6E
Description
0
P47 is not used as
EXIRQ6 input
(Initial value)
1
P47 is used as
EXIRQ6 input