Renesas H8S/2111B Manuel D’Utilisation

Page de 582
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 
TE — 0 
P50DDR 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 
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.