235
P7DR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port 7 Register (PORT7)
Bit
7
6
5
4
3
2
1
0
—
—
P75
P74
P73
P72
P71
P70
Initial value
Undefined Undefined
—
*
—
*
—
*
—
*
—
*
—
*
Read/Write
—
—
R
R
R
R
R
R
Note:
*
Determined by the state of pins P75 to P70.
PORT7 is a 6-bit read-only register that shows the pin states. PORT7 cannot be written to; writing
of output data for the port 7 pins (P75 to P70) must always be performed on P7DR.
Bits 7 and 6 are reserved; if read they will return an undefined value.
If a port 7 read is performed while P7DDR bits are set to 1, the P7DR values are read. If a port 7
read is performed while P7DDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORT7 contents are determined by the pin states, as
P7DDR and P7DR are initialized. PORT7 retains its prior state in software standby mode.
Port Function Control Register 2 (PFCR2)
Bit
7
6
5
4
3
2
1
0
—
—
—
—
ASOE
LWROE
OES
DMACS
Initial value
0
0
0
0
1
1
1
0
Read/Write
—
—
—
—
R/W
R/W
R/W
R/W
PFCR2 is an 8-bit readable/writable register that performs I/O port control. PFCR2 is initialized to
H'0E by a reset and in hardware standby mode. It retains its prior state in software standby mode.
Bits 7 to 4—Reserved: These bits are always read as 0, and should only be written with 0.
Bit 0—DMAC Control Pin Select (DMACS): Selects the DMAC control port.
Bit 0
DMACS
Description
0
P65 to P60 are designated as DMAC control pins
(Initial value)
1
P75 to P70 are designated as DMAC control pins
Содержание H8S/2670
Страница 5: ......
Страница 9: ......
Страница 199: ...182 ...
Страница 361: ...344 ...
Страница 393: ...376 ...
Страница 647: ...630 ...