228
Port 6 Data Direction Register (P6DDR)
Bit
7
6
5
4
3
2
1
0
—
—
P65DDR P64DDR P63DDR P62DDR P61DDR P60DDR
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
W
W
W
W
W
W
P6DDR is a 6-bit write-only register, the individual bits of which specify input or output for the
pins of port 6. P6DDR cannot be read; if it is, an undefined value will be read. Bits 7 and 6 are
reserved.
Setting a P6DDR bit to 1 makes the corresponding port 6 pin an output pin, while clearing the bit
to 0 makes the pin an input pin.
P6DDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port 6 Data Register (P6DR)
Bit
7
6
5
4
3
2
1
0
—
—
P65DR
P64DR
P63DR
P62DR
P61DR
P60DR
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
R/W
R/W
R/W
R/W
R/W
R/W
P6DR is a 6-bit readable/writable register that stores output data for the port 6 pins (P65 to P60).
Bits 7 and 6 are reserved; they are always read as 0 and cannot be modified.
P6DR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port 6 Register (PORT6)
Bit
7
6
5
4
3
2
1
0
—
—
P65
P64
P63
P62
P61
P60
Initial value
Undefined Undefined
—
*
—
*
—
*
—
*
—
*
—
*
Read/Write
—
—
R
R
R
R
R
R
Note:
*
Determined by the state of pins P65 to P60.
PORT6 is a 6-bit read-only register that shows the pin states. PORT6 cannot be written to; writing
of output data for the port 6 pins (P65 to P60) must always be performed on P6DR.
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...