Rev. 1.00, 05/04, page 112 of 544
•
P50/ExTxD1
The pin function is switched as shown below according to the combination of the TE bit in
SCR of SCI_1, the SPS1 bit* in SPSR, and the P50DDR bit.
SPS1
*
0
1
TE — 0
1
P50DDR 0 1
0
1
—
Pin Function
P50 input pin
P50 output pin
P50 input
pin
P50 output
pin
ExTxD1
output pin
*
Note:
*
The program development tool (emulator) does not support this function.
7.6 Port
6
Port 6 is an 8-bit I/O port. Port 6 pins also function as the FRT I/O pins, TMR_X I/O pins,
TMR_Y input pin, key-sense interrupt input pins, and interrupt input pins. Port 6 has the following
registers.
•
Port 6 data direction register (P6DDR)
•
Port 6 data register (P6DR)
•
Port 6 pull-up MOS control register (KMPCR)
•
System control register 2 (SYSCR2)
7.6.1
Port 6 Data Direction Register (P6DDR)
P6DDR specifies input or output for the pins of port 6 on a bit-by-bit basis.
Bit Bit
Name
Initial
Value R/W Description
7 P67DDR
0 W
6 P66DDR
0 W
5 P65DDR
0 W
4 P64DDR
0 W
3 P63DDR
0 W
2 P62DDR
0 W
1 P61DDR
0 W
0 P60DDR
0 W
The corresponding port 6 pins are output ports when
P6DDR bits are set to 1, and input ports when cleared
to 0.
Содержание 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...