Download Print this page

Advertisement

8.1.6

Port 6

Port 6 is an 8-bit I/O port. Port 6 pins can also function as the bidirectional data bus, PWMX
output, SCIF and SSU control input/output, and interrupt input pins. The pin functions change
according to the operating mode. In addition, port 6 pins can also be used as the extended data bus
pins (D0 to D0). Port 6 has the following registers.
• Port 6 data direction register (P6DDR)
• Port 6 data register (P6DR)
• Port 6 pull-up MOS control register (P6PCR)
(1)
Port 6 Data Direction Register (P6DDR)
The individual bits of P6DDR specify input or output for the pins of port 6.
Bit
Bit Name
7
P67DDR
6
P66DDR
5
P65DDR
4
P64DDR
3
P63DDR
2
P62DDR
1
P61DDR
0
P60DDR
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
If port 6 pins are specified for use as the general I/O
port, the corresponding pins function as output port
when the P6DDR bits are set to 1, and as input ports
when cleared to 0.
Normal extended mode (16-bit bus)
These bits have no effect on operation.
Other modes
If port 6 pins are specified for use as the general
I/O port, the corresponding pins function as output
port when the P6DDR bits are set to 1, and as
input port when cleared to 0.
Rev. 1.00 Mar. 12, 2008 Page 219 of 1178
Section 8 I/O Ports
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472