Datasheet

Section 10 I/O Ports
Page 582 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.6 Port 6
Note: Port 6 is not supported in the H8S/2454 Group.
Port 6 is a 6-bit I/O port that also has other functions. Port 6 has the following registers. For the
port function control registers, refer to section 10.18, Port Function Control Registers.
Port 6 data direction register (P6DDR)
Port 6 data register (P6DR)
Port 6 register (PORT6)
Port 6 open drain control register (P6ODR)
Port function control register 3 (PFCR3)
10.6.1 Port 6 Data Direction Register (P6DDR)
The individual bits of P6DDR specify input or output for the pins of port 6. P6DDR 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 P65DDR 0 W
4 P64DDR 0 W
3 P63DDR 0 W
2 P62DDR 0 W
1 P61DDR 0 W
0 P60DDR 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.