216
Port 3 Data Register (P3DR)
Bit
7
6
5
4
3
2
1
0
—
—
P35DR
P34DR
P33DR
P32DR
P31DR
P30DR
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
R/W
R/W
R/W
R/W
R/W
R/W
P3DR is a 6-bit readable/writable register that stores output data for the port 3 pins (P35 to P30).
Bits 7 and 6 are reserved; they are always read as 0 and cannot be modified.
P3DR is initialized to H'00 (bits 5 to 0) by a reset and in hardware standby mode. It retains its
prior state in software standby mode.
Port 3 Register (PORT3)
Bit
7
6
5
4
3
2
1
0
—
—
P35
P34
P33
P32
P31
P30
Initial value
Undefined Undefined
—
*
—
*
—
*
—
*
—
*
—
*
Read/Write
—
—
R
R
R
R
R
R
Note:
*
Determined by the state of pins P35 to P30.
PORT3 is a 6-bit read-only register that shows the pin states. PORT3 cannot be written to; writing
of output data for the port 3 pins (P35 to P30) must always be performed on P3DR.
Bits 7 and 6 are reserved; if read they will return an undefined value.
If a port 3 read is performed while P3DDR bits are set to 1, the P3DR values are read. If a port 3
read is performed while P3DDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORT3 contents are determined by the pin states, as
P3DDR and P3DR are initialized. PORT3 retains its prior state in software standby mode.
Port 3 Open Drain Control Register (P3ODR)
Bit
7
6
5
4
3
2
1
0
—
—
P35ODR P34ODR P33ODR P32ODR P31ODR P30ODR
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
R/W
R/W
R/W
R/W
R/W
R/W
Содержание H8S/2670
Страница 5: ......
Страница 9: ......
Страница 199: ...182 ...
Страница 361: ...344 ...
Страница 393: ...376 ...
Страница 647: ...630 ...