Rev. 1.00, 05/04, page 110 of 544
7.5 Port
5
Port 5 is a 3-bit I/O port. Port 5 pins also function as SCI_1 extended I/O pins, and the IIC_0 I/O
pin. P52 and ExSCK1 are NMOS push-pull outputs, and SCL0 is an NMOS open-drain output.
Port 5 has the following registers.
•
Port 5 data direction register (P5DDR)
•
Port 5 data register (P5DR)
7.5.1
Port 5 Data Direction Register (P5DDR)
P5DDR specifies input or output for the pins of port 5 on a bit-by-bit basis.
Bit Bit
Name
Initial
Value R/W Description
7 to 3
—
All 1
—
Reserved
The initial value should not be changed.
2 P52DDR
0 W
1 P51DDR
0 W
0 P50DDR
0 W
The corresponding port 5 pins are output ports when
P5DDR bits are set to 1, and input ports when cleared
to 0. As SCI_1 is initialized in software standby mode,
the pin states are determined by the specifications of
ICCR, PGCTL, P5DDR, and P5DR in IIC_0.
7.5.2
Port 5 Data Register (P5DR)
P5DR stores output data for port 5 pins.
Bit Bit
Name
Initial
Value R/W Description
7 to 3
—
All 1
—
Reserved
The initial value should not be changed.
2 P52DR
0 R/W
1 P51DR
0 R/W
0 P50DR
0 R/W
If a port 5 read is performed while P5DDR bits are set
to 1, the P5DR values are read directly, regardless of
the actual pin states. If a port 5 read is performed while
P5DDR bits are cleared to 0, the pin states are read.
Содержание H8S/2111B
Страница 2: ...Rev 1 00 05 04 page ii of xxxiv...
Страница 8: ...Rev 1 00 05 04 page viii of xxxiv...
Страница 22: ...Rev 1 00 05 04 page xxii of xxxiv...
Страница 30: ...Rev 1 00 05 04 page xxx of xxxiv...
Страница 84: ...Rev 1 00 05 04 page 50 of 544...
Страница 100: ...Rev 1 00 05 04 page 66 of 544...
Страница 126: ...Rev 1 00 05 04 page 92 of 544...
Страница 180: ...Rev 1 00 05 04 page 146 of 544...
Страница 216: ...Rev 1 00 05 04 page 182 of 544...
Страница 254: ...Rev 1 00 05 04 page 220 of 544...
Страница 268: ...Rev 1 00 05 04 page 234 of 544...
Страница 382: ...Rev 1 00 05 04 page 348 of 544...
Страница 462: ...Rev 1 00 05 04 page 428 of 544...
Страница 464: ...Rev 1 00 05 04 page 430 of 544...
Страница 488: ...Rev 1 00 05 04 page 454 of 544...
Страница 496: ...Rev 1 00 05 04 page 462 of 544...
Страница 574: ...Rev 1 00 05 04 page 540 of 544...
Страница 581: ......
Страница 582: ...H8S 2111B Hardware Manual...