Datasheet

Section 9 I/O Ports
Rev. 4.00 Mar. 15, 2006 Page 137 of 556
REJ09B0026-0400
9.7 Port 9
Port 9 is a general I/O port also functioning as a TinyCAN I/O pin and an SSU I/O pin. Each pin
of the port 9 is shown in figure 9.7.
P97/SSO
P96/SSI
P95/SSCK
P94/SCS
P93
P92/HTXD
P91/HRXD
P90
Port 9
Figure 9.7 Port 9 Pin Configuration
Port 9 has the following registers.
Port control register 9 (PCR9)
Port data register 9 (PDR9)
9.7.1 Port Control Register 9 (PCR9)
PCR9 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 9.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
PCR97
PCR96
PCR95
PCR94
PCR93
PCR92
PCR91
PCR90
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
When each of the port 9 pins P97 to P90 functions as a
general I/O port, setting a PCR9 bit to 1 makes the
corresponding pin an output port, while clearing the bit to
0 makes the pin an input port.