Datasheet
Section 10 I/O Ports
Page 584 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.6.4 Port 6 Open Drain Control Register (P6ODR)
P6ODR specifies the output type of each port 6 pin.
Bit Bit Name Initial Value R/W Description
7, 6 ⎯ All 0 ⎯ Reserved
These bits are always read as 0. Only the initial
values should be written to these bits.
5 P65ODR 0 R/W
4 P64ODR 0 R/W
3 P63ODR 0 R/W
2 P62ODR 0 R/W
1 P61ODR 0 R/W
0 P60ODR 0 R/W
Setting a P6ODR bit to 1 makes the corresponding
pin an NMOS open-drain output pin, while clearing
a P6ODR bit to 0 makes the corresponding pin a
CMOS output pin.
10.6.5 Pin Functions
Port 6 pins also function as 8-bit timer I/Os, interrupt inputs, and DMAC I/Os. The
correspondence between the register specification and the pin functions is shown below.
• P65/IRQ13-A/DACK1/TMO1-A
The pin function is switched as shown below according to the combination of bit SAE1 in
DMABCRH of DMAC, bits OS3 to OS0 in TCSR_1 of the 8-bit timer, bit TMRS in PFCR3,
bit P65DDR, and bit ITS13 in ITSR of the interrupt controller.
SAE1 0 1
OS3 to OS0 All 0 Not all 0 ⎯
P65DDR 0 1 ⎯ ⎯
P65 input P65 output TMO1-A output*
2
DACK1 output Pin function
IRQ13-A interrupt input*
1
Notes: 1. IRQ13-A input when the ITS13 bit in ITSR is 0.
2. When using as TMO1-A output, set TMRS in PFCR3 to 0 before other register setting.