Epson S1C33210 Technical Manual page 348

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: SERIAL INTERFACE
Register name
Address
Bit
P0 function
00402D0
D7-6
select register
(B)
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-6
extension
(B)
D5
register
D4
D3
D2
D1
D0
CFP05–CFP00: P0[5:0] pin function selection (D[5: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 P05 by writing "1" to CFP00 through CFP07.
P00–P03 (SIN0, SOUT0, #SCLK0, #SRDY0) are used for channel 0; P04–P05 (SIN1, SOUT1) 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.
CFP332: P33 function selection 2 (D0) / Port SIO function extension register (0x402D7)
Specifies the function of pin P33/#DMAACK1. Always set to "0."
Write "0": P33/#DMAACK1
Read: Valid
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
Reserved
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
CFP322
P32 function selection 2
CFP152
P15 function selection 2
CFP162
P16 function selection 2
CFP332
P33 function selection 2
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
reserved
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 SOUT1
0 P05
1 SIN1
0 P04
1 #SRDY0
0 P03
1 #SCLK0
0 P02
1 SOUT0
0 P01
1 SIN0
0 P00
1
0 P32/
#DMAACK0
1
0 P15/EXCL4/
#DMAEND0
1
0 P16/EXCL5/
#DMAEND1
1
0 P33/
#DMAACK1
1 #SRDY2
0 P24/TM2
1 #SCLK2
0 P25/TM3
1 SOUT2
0 P26/TM4
1 SIN2
0 P27/TM5
1
1
0 P05, etc.
1
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 when being read.
0
R/W
Extended functions
0
R/W
(0x402DF)
0
R/W
0
R/W
0
R/W
0
R/W
Always set to 0.
0
R/W
Always set to 0.
0
R/W
Always set to 0.
0
R/W
Always set to 0.
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Undefined when read.
0
R/W
Always set to 0.
0
R/W
Always set to 0.
0
R/W
0
R/W
1
R/W
1
R/W
S1C33210 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents