223
Port 5 Data Direction Register (P5DDR)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
P53DDR P52DDR P51DDR P50DDR
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
—
—
W
W
W
W
P5DDR is a 4-bit write-only register, the individual bits of which specify input or output for the
pins of port 5. P5DDR cannot be read; if it is, an undefined value will be read. Bits 7 to 4 are
reserved.
Setting a P5DDR bit to 1 makes the corresponding port 5 pin an output pin, while clearing the bit
to 0 makes the pin an input pin.
P5DDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode. As the SCI is initialized, the pin states are determined by the P5DDR and
P5DR specifications.
Port 5 Data Register (P5DR)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
P53DR
P52DR
P51DR
P50DR
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
—
—
R/W
R/W
R/W
R/W
P5DR is a 4-bit readable/writable register that stores output data for the port 5 pins (P53 to P50).
Bits 7 to 4 are reserved; they are always read as 0 and cannot be modified.
P5DR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port 5 Register (PORT5)
Bit
7
6
5
4
3
2
1
0
P57
P56
P55
P54
P53
P52
P51
P50
Initial value
—
*
—
*
—
*
—
*
—
*
—
*
—
*
—
*
Read/Write
R
R
R
R
R
R
R
R
Note:
*
Determined by the state of pins P57 to P50.
Содержание H8S/2670
Страница 5: ......
Страница 9: ......
Страница 199: ...182 ...
Страница 361: ...344 ...
Страница 393: ...376 ...
Страница 647: ...630 ...