Control Registers; Pxy-Xz Universal Port Multiplexer Setting Register - Epson S1C17W03 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

7 UNIVERSAL PORT MULTIPLEXER (UPMUX)

7.3 Control Registers

Pxy–xz Universal Port Multiplexer Setting Register
Register name
Bit
PxUPMUXn
15–13 PxzPPFNC[2:0]
12–11 PxzPERICH[1:0]
10–8 PxzPERISEL[2:0]
7–5 PxyPPFNC[2:0]
4–3 PxyPERICH[1:0]
2–0 PxyPERISEL[2:0]
*1: 'x' in the register name refers to a port group number and 'n' refers to a register number (0–3).
*2: 'x' in the bit name refers to a port group number, 'y' refers to an even port number (0, 2, 4, 6), and 'z' refers to an
odd port number (z = y + 1).
Bits 15–13 PxzPPFNC[2:0]
Bits 7–5
PxyPPFNC[2:0]
These bits specify the peripheral I/O function to be assigned to the port. (See Table 7.3.1.)
Bits 12–11 PxzPERICH[1:0]
Bits 4–3
PxyPERICH[1:0]
These bits specify a peripheral circuit channel number. (See Table 7.3.1.)
Bits 10–8 PxzPERISEL[2:0]
Bits 2–0
PxyPERISEL[2:0]
These bits specify a peripheral circuit. (See Table 7.3.1.)
PxUPMUXn.
0x0
PxyPPFNC[2:0]
None *
bits
(Peripheral I/O
function)
None *
0x0
0x1
0x2
0x3
Reserved
0x4
0x5
0x6
0x7
* "None" means no assignment. Selecting this will put the Pxy pin into Hi-Z status when peripheral I/O function 1 is
selected and enabled in the I/O port.
Note: Do not assign a peripheral input function to two or more I/O ports. Although the I/O ports output
the same waveforms when an output function is assigned to two or more I/O port, a skew oc-
curs due to the internal delay.
7-2
Bit name
Initial
0x0
0x0
0x0
0x0
0x0
0x0
Table 7.3.1 Peripheral I/O Function Selections
PxUPMUXn.PxyPERISEL[2:0] bits (Peripheral circuit)
0x1
0x2
I2C
SPIA
PxUPMUXn.PxyPERICH[1:0] bits (Peripheral circuit channel)
0x0
0x0, 0x1
0x0, 0x1
Ch.0
Ch.0, 1
None *
None *
SCLn
SDIn
SDAn
SDOn
USOUTn
SPICLKn
#SPISSn
Reserved
Reserved
Reserved
Seiko Epson Corporation
Reset
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
0x3
0x4
UART
T16B
Reserved
0x0, 0x1
Ch.0, 1
Ch.0, 1
None *
None *
None *
TOUTn0/
USINn
CAPn0
TOUTn1/
CAPn1
Reserved
Reserved
S1C17W03/W04 TECHNICAL MANUAL
Remarks
0x5
0x6
0x7
Reserved
Reserved
None *
None *
Reserved
Reserved
(Rev. 1.2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17w04

Table of Contents