Port 6; Port 6 Data Direction Register (P6Ddr) - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

• 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*
TE
P50DDR
Pin Function
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
7
P67DDR
6
P66DDR
5
P65DDR
4
P64DDR
3
P63DDR
2
P62DDR
1
P61DDR
0
P60DDR
Rev. 1.00, 05/04, page 112 of 544
0
0
P50 input pin
P50 output pin
Initial
Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
1
0
P50 input
pin
Description
The corresponding port 6 pins are output ports when
P6DDR bits are set to 1, and input ports when cleared
to 0.
1
0
1
1
P50 output
ExTxD1
pin
output pin*

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents