Port L Control Register (Plcr) - Hitachi SH7709S Hardware Manual

Superh risc engine
Table of Contents

Advertisement

18.3.11 Port L Control Register (PLCR)

Bit:
15
14
PL7
PL7
PL6
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 L control register (PLCR) is a 16-bit readable/writable register that selects the pin
functions. PLCR 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—PL7 Mode 1 and 0 (PL7MD1, PL7MD0)
Bits 13 and 12—PL6 Mode 1 and 0 (PL6MD1, PL6MD0)
Bits 11 and 10—PL5 Mode 1 and 0 (PL5MD1, PL5MD0)
Bits 9 and 8—PL4 Mode 1 and 0 (PL4MD1, PL4MD0)
Bits 7 and 6—PL3 Mode 1 and 0 (PL3MD1, PL3MD0)
Bits 5 and 4—PL2 Mode 1 and 0 (PL2MD1, PL2MD0)
Bits 3 and 2—PL1 Mode 1 and 0 (PL1MD1, PL1MD0)
Bits 1 and 0—PL0 Mode 1 and 0 (PL0MD1, PL0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1)
Bit 2n
PLnMD1
PLnMD0
0
0
0
1
1
0
1
1
When the DA0 and DA1 pins are used as the D/A converter outputs or when PTL7 and PTL6 are
used in the "other function" state, PLCR should by kept at its initial value.
13
12
11
10
9
PL6
PL5
PL5
PL4
MD0
MD1
MD0
MD1
0
0
0
0
0
Pin Function
Other function (see table 18.1)
Reserved
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
8
7
6
5
PL4
PL3
PL3
PL2
PL2
MD0
MD1
MD0
MD1
MD0
0
0
0
0
4
3
2
1
0
PL1
PL1
PL0
PL0
MD1
MD0
MD1
MD0
0
0
0
0
0
(Initial value)
(n = 0 to 7)
585

Advertisement

Table of Contents
loading

Table of Contents