h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 278

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
• P60/A8/TMCI0
Note:
8.7
Port 7 is an 8-bit I/O port that also has other functions. The port 7 has the following registers.
• Port 7 data direction register (P7DDR)
• Port 7 data register (P7DR)
• Port 7 register (PORT7)
8.7.1
The individual bits of P7DDR specify input or output for the pins of port 7. P7DDR cannot be
read; if it is, an undefined value will be read.
Rev. 2.00, 03/04, page 246 of 534
EXPE
AMOE
P60DDR
Pin function
Bit
7
6
5
4
3
2
1
0
The pin function is switched as shown below according to the combination of the P60DDR bit,
the EXPE bit in MDCR, and the AMOE bit in PFCR1.
Bit Name
P77DDR
P76DDR
P75DDR
P74DDR
P73DDR
P72DDR
P71DDR
P70DDR
*
Port 7
Port 7 Data Direction Register (P7DDR)
When used as an external clock input pin of TMR, select the external clock by bits
CKS2 to CKS0 in TCR_0.
P60 input
Initial
Value
0
0
0
0
0
0
0
0
0
0
P60 output
R/W
W
W
W
W
W
W
W
W
1
Description
When a pin function is specified to a general purpose
I/O, setting this bit to 1 makes the corresponding port 7
pin an output pin, while clearing this bit to 0 makes the
pin an input pin.
P60 input
TMCI0 input*
0
0
P60 output
1
1
A8 output
1

Related parts for h8s-2172