Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual page 374

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: SERIAL INTERFACE
Register name
Address
Bit
P0 function
00402D0
D7
select register
(B)
D6
D5
D4
D3
D2
D1
D0
Port SIO
00402D7
D7–4
function
D3
extension
register
D2
D1
D0
Port SIO
00402DB
D7–4
function
D3
extension
D2
register
D1
D0
Port function
00402DF
D7
extension
(B)
D6
register
D5
D4
D3
D2
D1
D0
CFP07–CFP00: P0[7:0] pin function selection (D[7:0]) / P0 function select register (0x402D0)
Selects the pins used for the serial interface.
Write "1": Serial-interface input/output pin
Write "0": I/O port pin
Read: Valid
Select the pins used for the serial interface from among P00 through P07 by writing "1" to CFP00 through CFP07.
P00–P03 (SIN0, SOUT0, #SCLK0, #SRDY0) are used for channel 0; P04–P07 (SIN1, SOUT1, #SCLK1,
#SRDY1) are used for channel 1. If the bit for a pin is set to "0", the pin functions as an I/O port.
The necessary input/output pins differ depending on the transfer mode set (see Table 8.3).
At cold start, CFP is set to "0" (I/O port). At hot start, CFP retains its state from prior to the initial reset.
SSIN3: Serial I/F Ch.3 SIN selection (D0) / Port SIO function extension register (0x402D7)
Switches the function of pin P33/#DMAACK1/SIN3.
Write "1": SIN3
Write "0": P33/#DMAACK1
Read: Valid
To use the pin as SIN3, set SSIN3 (D0 / 0x402D7) to "1" and CFP33 (D3 / 0x402DC) to "0".
To use the pin as P33 or #DMAACK1, set this bit to "0".
At power-on, this bit is set to "0".
B-III-8-32
Name
Function
CFP07
P07 function selection
CFP06
P06 function selection
CFP05
P05 function selection
CFP04
P04 function selection
CFP03
P03 function selection
CFP02
P02 function selection
CFP01
P01 function selection
CFP00
P00 function selection
reserved
SSRDY3
Serial I/F Ch.3 SRDY selection
SSCLK3
Serial I/F Ch.3 SCLK selection
SSOUT3
Serial I/F Ch.3 SOUT selection
SSIN3
Serial I/F Ch.3 SIN selection
reserved
SSRDY2
Serial I/F Ch.2 SRDY selection
SSCLK2
Serial I/F Ch.2 SCLK selection
SSOUT2
Serial I/F Ch.2 SOUT selection
SSIN2
Serial I/F Ch.2 SIN selection
CFEX7
P07 port extended function
CFEX6
P06 port extended function
CFEX5
P05 port extended function
CFEX4
P04 port extended function
CFEX3
P31 port extended function
CFEX2
P21 port extended function
CFEX1
P10, P11, P13 port extended
function
CFEX0
P12, P14 port extended function
Setting
1 #SRDY1
0 P07
1 #SCLK1
0 P06
1 SOUT1
0 P05
1 SIN1
0 P04
1 #SRDY0
0 P03
1 #SCLK0
0 P02
1 SOUT0
0 P01
1 SIN0
0 P00
1 #SRDY3
0 P32/
#DMAACK0
1 #SCLK3
0 P15/EXCL4/
#DMAEND0
1 SOUT3
0 P16/EXCL5/
#DMAEND1
1 SIN3
0 P33/
#DMAACK1
1 #SRDY2
0 P24/TM2
1 #SCLK2
0 P25/TM3
1 SOUT2
0 P26/TM4
1 SIN2
0 P27/TM5
1 #DMAEND3 0 P07, etc.
1 #DMAACK3 0 P06, etc.
1 #DMAEND2 0 P05, etc.
1 #DMAACK2 0 P04, etc.
1 #GARD
0 P31, etc.
1 #GAAS
0 P21, etc.
1 DST0
0 P10, etc.
DST1
P11, etc.
DPC0
P13, etc.
1 DST2
0 P12, etc.
DCLK
P14, etc.
EPSON
Init. R/W
Remarks
0
R/W
Extended functions
0
R/W
(0x402DF)
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
1
R/W
1
R/W
S1C33L03 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents