Download Print this page

Epson S1C31D50 Technical Instructions page 98

Cmos 32-bit single chip microcontroller
Hide thumbs Also See for S1C31D50:

Advertisement

Px Port Mode Select Register
Register name
Bit
PPORTPxMODSEL
15–8
7–0
*1: The bit configuration differs depending on the port group.
*2: The initial value may be changed by the port.
Bits 15–8
Reserved
Bits 7–0
PxSEL[7:0]
These bits select whether each port is used for the GPIO function or a peripheral I/O
function.
1 (R/W): Use peripheral I/O function
0 (R/W): Use GPIO function
Px Port Function Select Register
Register name
Bit
PPORTPxFNCSEL
15–14
13–12
11–10
9–8
7–6
5–4
3–2
1–0
*1: The bit configuration differs depending on the port group.
*2: The initial value may be changed by the port.
Bits 15–14
Px7MUX[1:0]
:
:
Bits 1–0
Px0MUX[1:0]
These bits select the peripheral I/O function to be assigned to each port pin.
PPORTPxFNCSEL.PxyMUX[1:0] bits
This selection takes effect when the PPORTPxMODSEL.PxSELy bit = 1.
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
Bit name
Initial
0x00
PxSEL[7:0]
0x00
Bit name
Initial
Px7MUX[1:0]
0x0
Px6MUX[1:0]
0x0
Px5MUX[1:0]
0x0
Px4MUX[1:0]
0x0
Px3MUX[1:0]
0x0
Px2MUX[1:0]
0x0
Px1MUX[1:0]
0x0
Px0MUX[1:0]
0x0
Table 7.6.1 Selecting Peripheral I/O Function
0x3
0x2
0x1
0x0
Seiko Epson Corporation
Reset
R/W
R
H0
R/W
Reset
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
Peripheral I/O function
Function 3
Function 2
Function 1
Function 0
Remarks
Remarks
7-11

Advertisement

loading