Download Print this page

Advertisement

8.2.5

Port 5

Port 5 is an 8-bit I/O port. Port 5 pins can also function as the SCIF, SCI_1, and SSU input/output,
bus control output, system clock output, external subclock input, and interrupt input pins. Port 5
has the following registers.
• Port 5 data direction register (P5DDR)
• Port 5 data register (P5DR)
(1)
Port 5 Data Direction Register (P5DDR)
The individual bits of P5DDR specify input or output for the port 5 pins.
Bit
Bit Name
7
P57DDR
6
P56DDR
5
P55DDR
4
P54DDR
3
P53DDR
2
P52DDR
1
P51DDR
0
P50DDR
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
If port 5 pins are specified for use as the general I/O
port, the corresponding pins function as output port
when the P5DDR bits are set to 1, and as input port
when cleared to 0.
The corresponding port 5 pin functions as the system
clock output pin (φ) when this bit is set to 1, and as
the general I/O port when cleared to 0.
If port 5 pins are specified for use as the general I/O
port, the corresponding pins function as output port
when the P5DDR bits are set to 1, and as input port
when cleared to 0.
Rev. 1.00 Mar. 12, 2008 Page 297 of 1178
Section 8 I/O Ports
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472