Port J Control Register (Pjcr) - Hitachi SH7709S Hardware Manual

Superh risc engine
Table of Contents

Advertisement

18.3.9

Port J Control Register (PJCR)

Bit:
15
14
PJ7
PJ7
PJ6
MD1
MD0
MD1
Initial value:
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
The port J control register (PJCR) is a 16-bit readable/writable register that selects the pin
functions. PJCR is initialized to H'0000 by a power-on reset, but is not initialized by a manual
reset, in standby mode, or in sleep mode.
Bits 15 and 14—PJ7 Mode 1 and 0 (PJ7MD1, PJ7MD0)
Bits 13 and 12—PJ6 Mode 1 and 0 (PJ6MD1, PJ6MD0)
Bits 11 and 10—PJ5 Mode 1 and 0 (PJ5MD1, PJ5MD0)
Bits 9 and 8—PJ4 Mode 1 and 0 (PJ4MD1, PJ4MD0)
Bits 7 and 6—PJ3 Mode 1 and 0 (PJ3MD1, PJ3MD0)
Bits 5 and 4—PJ2 Mode 1 and 0 (PJ2MD1, PJ2MD0)
Bits 3 and 2—PJ1 Mode 1 and 0 (PJ1MD1, PJ1MD0)
Bits 1 and 0—PJ0 Mode 1 and 0 (PJ0MD1, PJ0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1)
Bit 2n
PJnMD1
PJnMD0
0
0
0
1
1
0
1
1
13
12
11
10
9
PJ6
PJ5
PJ5
PJ4
MD0
MD1
MD0
MD1
0
0
0
0
0
Pin Function
Other function (n = 0, 2, 3, 6, 7) (see table 18.1),
Reserved (n = 1, 4, 5)
Port output
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
8
7
6
5
PJ4
PJ3
PJ3
PJ2
PJ2
MD0
MD1
MD0
MD1
MD0
0
0
0
0
4
3
2
1
0
PJ1
PJ1
PJ0
PJ0
MD1
MD0
MD1
MD0
0
0
0
0
0
(Initial value)
(n = 0 to 7)
583

Advertisement

Table of Contents
loading

Table of Contents