Section 32 General Purpose I/O Ports
R01UH0134EJ0400 Rev. 4.00 Page 1759 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
Bit Bit Name Initial Value R/W Description
6 to 4 PJ1MD[2:0] 000 R/W PJ1 Mode
Select the function of the PJ1.
000: PJ1
001: CRx0
010: IERxD
011: IRQ0
100: RxD0
101: Setting prohibited
110: Setting prohibited
111: Setting prohibited
3 0 R Reserved
This bit is always read as 0. The write value
should always be 0.
2 to 0 PJ0MD[2:0] 000 R/W PJ0 Mode
Select the function of the PJ0.
000: PJ0
001: CTx0
010: IERxD
011: CS1
100: TxD0
101: A0
110: Setting prohibited
111: Setting prohibited
32.2.31 Port J I/O register 0 (PJIOR0)
PJIOR0 is a 16-bit readable/writable register that is used to set the pins on port J as inputs or
outputs. The PJ11IIOR to PJ0IOR bits correspond to the PJ11 to PJ0 pins respectively. The setting
of PJIOR0 is valid for the pins for which general I/O (PJ11 to PJ0) function or TIOC I/O function
of multi-function timer pulse unit 2 is selected and has no effect on the pins for which other
function is selected. If a bit in PJIOR0 is set to 1, the corresponding pin on port J functions as an
output pin. If it is cleared to 0, the corresponding pin functions as an input pin.
Bits 15 to 12 in PJIOR0, and bits 11 to 4 in PJIOR0 in the SH7262 Group are reserved. These bits
are always read as 0. The write value should always be 0.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0000000000000000
R R R R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
---
PJ11
IOR
PJ10
IOR
PJ9
IOR
PJ8
IOR
PJ7
IOR
PJ6
IOR
PJ5
IOR
PJ4
IOR
PJ3
IOR
PJ2
IOR
PJ1
IOR
PJ0
IOR
-
Bit:
Initial value:
R/W: