Rev. 1.0, 09/01, page 454 of 904
10.9.1
Port A Data Direction Register (PADDR)
The individual bits of PADDR specify input or output for the pins of port A. PADDR cannot be
read; if it is, an undefined value will be read.
Bit
Bit Name
Initial Value
R/W
Description
7
PA7DDR
0
W
6
PA6DDR
0
W
5
PA5DDR
0
W
4
PA4DDR
0
W
3
PA3DDR
0
W
2
PA2DDR
0
W
1
PA1DDR
0
W
0
PA0DDR
0
W
•
Modes 1, 2, 5, and 6
Pins PA4 to PA0 are address outputs regardless of
the PADDR settings.
For pins PA7 to PA5, when the corresponding bit of
A23E to A21E is set to 1, setting a PADDR bit to 1
makes the corresponding port A pin an address
output, while clearing the bit to 0 makes the pin an
input port. Clearing one of bits A23E to A21E to 0
makes the corresponding port A pin an I/O port, and
its function can be switched with PADDR.
•
Mode 4
When the corresponding bit of A23E to A16E is set to
1, setting a PADDR bit to 1 makes the corresponding
port A pin an address output, while clearing the bit to
0 makes the pin an input port. Clearing one of bits
A23E to A16E to 0 makes the corresponding port A
pin an I/O port, and its function can be switched with
PADDR.
•
Mode 7 (when EXPE = 1)
When the corresponding bit of A23E to A16E is set to
1, setting a PADDR bit to 1 makes the corresponding
port A pin an address output, while clearing the bit to
0 makes the pin an input port. Clearing one of bits
A23E to A16E to 0 makes the corresponding port A
pin an I/O port; setting the corresponding PADDR bit
to 1 makes the pin an output port, while clearing the
bit to 0 makes the pin an input port.
•
Mode 7 (when EXPE = 0)
Port A is an I/O port, and its pin functions can be
switched with PADDR.
Содержание H8S/2376 F-ZTAT
Страница 24: ...Rev 1 0 09 01 page xxiv of xliv ...
Страница 38: ...Rev 1 0 09 01 page xxxviii of xliv ...
Страница 44: ...Rev 1 0 09 01 page xliv of xliv ...
Страница 60: ...Rev 1 0 09 01 page 16 of 904 ...
Страница 96: ...Rev 1 0 09 01 page 52 of 904 ...
Страница 116: ...Rev 1 0 09 01 page 72 of 904 ...
Страница 148: ...Rev 1 0 09 01 page 104 of 904 ...
Страница 284: ...Rev 1 0 09 01 page 240 of 904 ...
Страница 422: ...Rev 1 0 09 01 page 378 of 904 ...
Страница 634: ...Rev 1 0 09 01 page 590 of 904 ...
Страница 656: ...Rev 1 0 09 01 page 612 of 904 ...
Страница 668: ...Rev 1 0 09 01 page 624 of 904 ...
Страница 780: ...Rev 1 0 09 01 page 736 of 904 ...
Страница 796: ...Rev 1 0 09 01 page 752 of 904 ...
Страница 806: ...Rev 1 0 09 01 page 762 of 903 ...
Страница 808: ...Rev 1 0 09 01 page 764 of 904 ...
Страница 921: ...Rev 1 0 09 01 page 877 of 904 ø tBRQOD tBRQOD Figure 24 24 External Bus Request Output Timing ...
Страница 938: ...Rev 1 0 09 01 page 894 of 904 ...