English
Language : 

HD6473258CP10 Datasheet, PDF (97/301 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer
Table 5-8. Port 4 Pin Functions
Usage
I/O port
Timer or clock
Pin Functions
P40
P41
TMCI0 TMO0
P42
P43
P44
TMRI0 TMCI1 TMO1
P45
P46
P47
TMRI1 Ø clock E clock
See section 8, 8-Bit Timer Module for details of the timer output select bits.
Pins of port 4 can drive a single TTL load and a 90-pF capacitive load when they are used as output
pins. They can also drive a Darlington pair.
Table 5-9 details the port 4 registers.
Table 5-9. Port 4 Registers
Name
Abbreviation
Port 4 data direction register P4DDR
Port 4 data register
P4DR
Read/Write
W
R/W
Initial value
H’80 (modes 1 and 2)
H'00 (mode 3)
H’00
Address
H’FFB5
H’FFB7
Port 4 Data Direction Register (P4DDR)—H’FFB5
Bit
7
6
5
4
3
2
1
0
P47DDR P46DDR P45DDR P44DDR P43DDR P42DDR P41DDR P40DDR
Modes 1 and 2
Initial value
1
0
0
0
0
0
0
0
Read/Write
W
W
W
W
W
W
W
W
Mode 3
Initial value
0
0
0
0
0
0
0
0
Read/Write
W
W
W
W
W
W
W
W
P4DDR is an 8-bit register that selects the direction of each pin in port 4. A pin functions as an
output pin if the corresponding bit in P4DDR is set to 1, and as an input pin if the bit is cleared to 0.
88