Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 488 of 926
REJ09B0283-0300
10.9.7 Pin Functions
Port A pins also function as address outputs. The correspondence between the register
specification and the pin functions is shown below.
PA7/A23, PA6/A22, PA5/A21
The pin function is switched as shown below according to the operating mode, bit EXPE, bits
A23E to A21E, and bit PADDR.
Operating
mode
1, 2, 4, 5, 6 3
*
, 7
EXPE 0 1
AxxE 0 1 0 1
PADDR0101010101
Pin
function
PA
input
PA
output
PA
input
Address
output
PA
input
PA
output
PA
input
PA
output
PA
input
Address
output
Note: * Only in H8S/2678R Group.
PA4/A20, PA3/A19, PA2/A18, PA1/A17, PA20/A16
The pin function is switched as shown below according to the operating mode, bit EXPE, bits
A23E to A21E, and bit PADDR.
Operating
mode
1, 2, 5,
6
43
*
, 7
EXPE 0 1
AxxE 0 1 0 1
PADDR010 1 01010 1
Pin
function
Address
output
PA
input
PA
output
PA
input
Address
output
PA
input
PA
output
PA
input
PA
output
PA
input
Address
output
Note: * Only in H8S/2678R Group.