English
Language : 

HD64F2638F20J Datasheet, PDF (353/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
Section 9 I/O Ports
Port J Register (PORTJ)
Bit
:
7
6
5
4
3
2
1
0
PJ7
PJ6
PJ5
PJ4
PJ3
PJ2
PJ1
PJ0
Initial value : —*
—*
—*
—*
—*
—*
—*
—*
R/W
:R
R
R
R
R
R
R
R
PORTJ is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of
output data for the port J pins (PJ7 to PJ0) must always be performed on PJDR.
If a port J read is performed while PJDDR bits are set to 1, the PJDR values are read. If a port J
read is performed while PJDDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORTJ contents are determined by the pin states, as
PJDDR and PJDR are initialized. PORTJ retains its prior state in software standby mode.
9.13.3 Pin Functions
As shown in table 9-25, the port J pin functions can be switched, bit by bit, by changing the values
of OE2A to OE2H of motor control PWM timer PWOCR2 and PJDDR.
Table 9-25 Port J Pin Functions
OE2A to OE2H
PJDDR
Pin function
1
—
PWM output
0
0
PJ7 to PJ0 input
1
PJ7 to PJ0 output
REJ09B0103-0800 Rev. 8.00
May 28, 2010
Page 303 of 1458