Datasheet

Section 10 I/O Ports
R01UH0309EJ0500 Rev. 5.00 Page 605 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
Bit Bit Name Initial
Value
R/W Description
Mode 4, Modes 3 and 7 (EXPE = 1)
For pins PA6 to PA0, when the corresponding bit of A22E to
A16E is set to 1, setting a PADDR bit to 1 makes the
corresponding pin an address output, while clearing the bit to
0 makes the corresponding pin an input port. Clearing one of
bits A22E to A16E to 0 makes the corresponding pin an I/O
port, and its function can be switched with PADDR.
When A23E is 1, the PA7 pin functions as an address output
pin when the PA7DDR bit is set to 1, and as an input port
when the bit is cleared to 0.
When A23E is 0, operations differ between the H8S/2456
and H8S/2456R Groups and H8S/2454 Group.
[H8S/2456 Group and H8S/2456R Group]
When the PA7 pin is a general I/O port, the function can be
switched with PA7DDR.
[H8S/2454 Group]
When the CS output enable bit (CS7E) is 1, the PA7 pin
functions as a CS output pin when the PA7DDR bit is set to
1, and as an input port when the bit is cleared to 0. When the
CS output enable bit (CS7E) is 0 and the PA7 pin is a
general I/O port, the function can be switched with PA7DDR.
Modes 3 and 7 (EXPE = 0)
Port A is an I/O port, and its pin functions can be switched
with PADDR.