252
5.10.3
Pin Functions
Port A pins also function as address outputs. Port A pin functions are shown in table 5.18.
Table 5.18
Port A Pin Functions
Pin
Selection Method and Pin Functions
PA7/A23
PA6/A22
The pin function is switched as shown below according to the operating mode, bit
EXPE, bits A23E to A21E, and bit PADDR.
PA5/A21
Operating
mode
1, 2, 4, 5, 6
7
EXPE
—
0
1
AxxE
0
1
—
0
1
PADDR
0
1
0
1
0
1
0
1
0
1
Pin
function
PA
input
pin
PA
output
pin
PA
input
pin
Address
output
pin
PA
input
pin
PA
output
pin
PA
input
pin
PA
output
pin
PA
input
pin
Address
output
pin
PA4/A20
PA3/A19
The pin function is switched as shown below according to the operating mode, bit
EXPE, bits A20E to A16E, and bit PADDR.
PA2/A18
PA1/A17
Operating
mode
1, 2, 5,
6
4
7
PA0/A16
EXPE
—
—
0
1
AxxE
—
0
1
—
0
1
PADDR
—
0
1
0
1
0
1
0
1
0
1
Pin
function
Address
output
pin
PA
input
pin
PA
output
pin
PA
input
pin
Address
output
pin
PA
input
pin
PA
output
pin
PA
input
pin
PA
output
pin
PA
input
pin
Address
output
pin
Содержание H8S/2670
Страница 5: ......
Страница 9: ......
Страница 199: ...182 ...
Страница 361: ...344 ...
Страница 393: ...376 ...
Страница 647: ...630 ...