Rev. 1.0, 09/02, page 134 of 568
9.4.1
Port 7 Data Direction Register (P7DDR)
P7DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 7.
P7DDR cannot be read, if it is, an undefined value will be read.
Bit
Bit Name
Initial Value
R/W
Description
7 P77DDR 0
W
6 P76DDR 0
W
5 P75DDR 0
W
4 P74DDR 0
W
3 P73DDR 0
W
2 P72DDR 0
W
1 P71DDR 0
W
0 P70DDR 0
W
When a pin is specified as a general purpose I/O
port, setting this bit to 1 makes the corresponding
port 7 pin an output pin. Clearing this bit to 0 makes
the pin an input pin.
9.4.2
Port 7 Data Register (P7DR)
P7DR is an 8-bit readable/writable register that stores output data for port 7 pins.
Bit
Bit Name
Initial Value
R/W
Description
7 P77DR 0
R/W
6 P76DR 0
R/W
5 P75DR 0
R/W
4 P74DR 0
R/W
3 P73DR 0
R/W
2 P72DR 0
R/W
1 P71DR 0
R/W
0 P70DR 0
R/W
Output data for a pin is stored when the pin is
specified as a general purpose I/O port.
9.4.3
Port 7 Register (PORT7)
PORT7 is an 8-bit read-only register that shows the pin states.
PORT7 cannot be modified.
Содержание H8S/2627
Страница 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Страница 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Страница 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Страница 82: ...Rev 1 0 09 02 page 46 of 568 ...
Страница 88: ...Rev 1 0 09 02 page 52 of 568 ...
Страница 98: ...Rev 1 0 09 02 page 62 of 568 ...
Страница 156: ...Rev 1 0 09 02 page 120 of 568 ...
Страница 390: ...Rev 1 0 09 02 page 354 of 568 ...
Страница 480: ...Rev 1 0 09 02 page 444 of 568 ...
Страница 512: ...Rev 1 0 09 02 page 476 of 568 ...
Страница 527: ...Rev 1 0 09 02 page 491 of 568 21 8 5 Writing to MSTPCR MSTPCR should only be written to by the CPU ...
Страница 528: ...Rev 1 0 09 02 page 492 of 568 ...
Страница 580: ...Rev 1 0 09 02 page 544 of 568 ...