Datasheet
Section 8 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 156 of 710
REJ09B0384-0300
8.8 Port 8
Port 8 is an 8-bit I/O port. Port 8 pins also function as the A/D converter external trigger input,
SCI_1 and SCI_3 input/output, IIC_0 and IIC_1 input/output, and interrupt input. Pins 83 to 80
perform the NMOS push-pull output. Port 8 has the following registers.
• Port 8 data direction register (P8DDR)
• Port 8 data register (P8DR)
8.8.1 Port 8 Data Direction Register (P8DDR)
The individual bits of P8DDR specify input or output for the pins of port 8.
Bit Bit Name Initial Value R/W Description
7 P87DDR 0 W
6 P86DDR 0 W
5 P85DDR 0 W
4 P84DDR 0 W
3 P83DDR 0 W
2 P82DDR 0 W
1 P81DDR 0 W
If port 8 pins are specified for use as the general I/O
port, the corresponding port 8 pins function as output
port when the P8DDR bits are set to 1, and as input
port when cleared to 0.
0 P80DDR 0 W