h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 354

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
Port J Register (PORTJ)
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
As shown in table 9-24, 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-24 Port J Pin Functions
Rev. 6.00 Feb 22, 2005 page 294 of 1484
REJ09B0103-0600
OE2A to OE2H
PJDDR
Pin function
Bit
Initial value :
R/W
Pin Functions
:
:
PJ7
— *
R
7
1
PWM output
PJ6
— *
R
6
PJ5
— *
R
5
0
0
PJ7 to PJ0 input
PJ4
— *
R
4
PJ3
— *
R
3
PJ2
— *
R
2
1
PJ7 to PJ0 output
PJ1
— *
R
1
PJ0
— *
R
0

Related parts for h8s-2635