Rev. 1.00, 09/03, page 183 of 704
7.9 Port
8
Port 8 is an 8-bit I/O port. Port 8 pins also function as external trigger input pins for the A/D
converter, PWMX output pins, SCI_3, SCI_4, IIC3_0, and IIC3_1 I/O pins, and TPU I/O pins.
The output format for P80 to P83 which are general I/O ports is NMOS push-pull output.
Port 8 has the following registers.
•
Port 8 data direction register (P8DDR)
•
Port 8 data register (P8DR)
•
Port 8 register (PORT8)
7.9.1
Port 8 Data Direction Register (P8DDR)
The individual bits in P8DDR specify input or output for the pins of port 8. The read value is
undefined.
Bit
Bit Name
Initial Value
R/W
Description
7 P87DDR
0
W
6 P86DDR
0
W
5 P85DDR
0
W
4 P84DDR
0
W
3 P83DDR
0
W
2 P82DDR
0
W
1 P81DDR
0
W
0 P80DDR
0
W
While a general I/O port function is selected, the
corresponding port 8 pin is an output port when a
P8DDR bit is set to 1, and an input port when
cleared to 0.
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...