
Pin P8
0
:
In modes 1 and 2 (expanded modes), pin P8
0
is used for E clock output if P8
0
DDR is set
to "1," and for general-purpose input if P8
0
DDR is cleared “0.” It cannot be used for general-
purpose output.
In mode 3 (single-chip mode), when the dual-port RAM is disabled (DPME = "0"), pin P8
0
can be
used for general-purpose input or output. In the slave mode (DPME = "1"), this pin is used for
register select input (RS0). In slave mode this pin is unaffected by the values in P8DDR and
P8DR, except that software can turn on its MOS pull-up by clearing its data direction bit to "0" and
setting its data bit to "1."
Pin P8
1
:
In modes 1 and 2 (expanded modes), pin P8
1
is used for IOS output if P8
1
DDR is set to
"1," and for general-purpose input if P8
1
DDR is cleared “0.” It cannot be used for general-purpose
output.
In mode 3, when the dual-port RAM is disabled (DPME = "0"), pin P8
1
can be used for general-
purpose input or output. In the slave mode (DPME = "1"), this pin is used for register select input
(RS1). In slave mode this pin is unaffected by the values in P8DDR and P8DR, except that
software can turn on its MOS pull-up by clearing its data direction bit to "0" and setting its data bit
to "1."
Pins P8
2
and P8
3
:
These pins are available for general-purpose input or output in modes 1 and 2,
and in mode 3 if the dual-port RAM is disabled (DPME = "0").
In the slave mode (mode 3 with DPME = "1"), these pins are used for register select input (RS2 and
RS3). They are unaffected by the bits in P8DDR and P8DR, except that software can turn on their
MOS pull-ups by clearing the P8DDR bit to "0" and setting the P8DR bit to "1."
Pin P8
4
: This pin has the same functions in all modes. It can be used for general-purpose input or
output, for output of clock-synchronized serial transmit data (CTxD), or for IRQ
3
input. When
used for CTxD output, this pin is unaffected by the values in P8DDR and P8DR, and its MOS pull-
up is automatically turned off. When this pin is used for IRQ
3
input, P8
4
DDR should normally be
cleared to "0," so that the value in P8DR will not generate interrupts.
Pin P8
5
: This pin has the same functions in all modes. It can be used for general-purpose input or
output, for input of clock-synchronized serial receive data (CRxD), or for IRQ
4
input. When used
for CRxD input, this pin is unaffected by the values in P8DDR and P8DR, except that software can
turn on its MOS pull-up by clearing its data direction bit to "0" and setting its data bit to "1." When
this pin is used for IRQ
4
input, P8
5
DDR should normally be cleared to "0," so that the value in
P8DR will not generate interrupts.
106