Renesas Stereo System SH7709S Manual De Usuario

Descargar
Página de 807
Rev. 5.00, 09/03, page 579 of 760
18.3.9
Port J Control Register (PJCR)
Bit:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PJ7
MD1
PJ7
MD0
PJ6
MD1
PJ6
MD0
PJ5
MD1
PJ5
MD0
PJ4
MD1
PJ4
MD0
PJ3
MD1
PJ3
MD0
PJ2
MD1
PJ2
MD0
PJ1
MD1
PJ1
MD0
PJ0
MD1
PJ0
MD0
Initial  value:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
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
Pin Function
0
0
Other function (n = 0, 2, 3, 6, 7) (see table 18.1),
Reserved (n = 1, 4, 5)
(Initial value)
0
1
Port output
1
0
Port input (Pull-up MOS: on)
1
1
Port input (Pull-up MOS: off)
(n = 0 to 7)