Datasheet
Section 10 I/O Ports
R01UH0309EJ0500 Rev. 5.00 Page 563 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.3 Port 3
Port 3 is a 6-bit I/O port that also has other functions. Port 3 has the following registers. For the
port function control registers, refer to section 10.18, Port Function Control Registers.
• Port 3 data direction register (P3DDR)
• Port 3 data register (P3DR)
• Port 3 register (PORT3)
• Port 3 open drain control register (P3ODR)
• Port function control register 2 (PFCR2)
10.3.1 Port 3 Data Direction Register (P3DDR)
The individual bits of P3DDR specify input or output for the pins of port 3. P3DDR cannot be
read; if it is, an undefined value will be read.
Bit Bit Name Initial Value R/W Description
7, 6 ⎯ All 0 ⎯ Reserved
5 P35DDR 0 W
4 P34DDR 0 W
3 P33DDR 0 W
2 P32DDR 0 W
1 P31DDR 0 W
0 P30DDR 0 W
When a pin function is specified as a general
purpose I/O, setting this bit to 1 makes the
corresponding pin an output port, while clearing this
bit to 0 makes the corresponding pin an input port.