III PERIPHERAL BLOCK: SERIAL INTERFACE

Register name

Address

Bit

Name

Function

 

Setting

Init.

R/W

Remarks

 

 

 

 

 

 

 

 

 

 

 

 

 

P0 function

00402D0

D7-6

Reserved

 

 

 

0 when being read.

select register

(B)

D5

CFP05

P05 function selection

1

SOUT1

 

0

P05

0

R/W

Extended functions

 

 

D4

CFP04

P04 function selection

1

SIN1

 

0

P04

0

R/W

(0x402DF)

 

 

D3

CFP03

P03 function selection

1

#SRDY0

 

0

P03

0

R/W

 

 

 

D2

CFP02

P02 function selection

1

#SCLK0

 

0

P02

0

R/W

 

 

 

D1

CFP01

P01 function selection

1

SOUT0

 

0

P01

0

R/W

 

 

 

D0

CFP00

P00 function selection

1

SIN0

 

0

P00

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port SIO

00402D7

D7–4

reserved

 

 

 

 

function

 

D3

CFP322

P32 function selection 2

1

 

0

P32/

0

R/W

Always set to 0.

extension

 

 

 

 

 

 

 

 

#DMAACK0

 

 

 

register

 

D2

CFP152

P15 function selection 2

1

 

0

P15/EXCL4/

0

R/W

Always set to 0.

 

 

 

 

 

 

 

 

 

#DMAEND0

 

 

 

 

 

D1

CFP162

P16 function selection 2

1

 

0

P16/EXCL5/

0

R/W

Always set to 0.

 

 

 

 

 

 

 

 

 

#DMAEND1

 

 

 

 

 

D0

CFP332

P33 function selection 2

1

 

0

P33/

0

R/W

Always set to 0.

 

 

 

 

 

 

 

 

 

#DMAACK1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port SIO

00402DB

D7–4

reserved

 

 

 

 

function

 

D3

SSRDY2

Serial I/F Ch.2 SRDY selection

1

#SRDY2

 

0

P24/TM2

0

R/W

 

extension

 

D2

SSCLK2

Serial I/F Ch.2 SCLK selection

1

#SCLK2

 

0

P25/TM3

0

R/W

 

register

 

D1

SSOUT2

Serial I/F Ch.2 SOUT selection

1

SOUT2

 

0

P26/TM4

0

R/W

 

 

 

D0

SSIN2

Serial I/F Ch.2 SIN selection

1

SIN2

 

0

P27/TM5

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port function

00402DF

D7-6

reserved

1

 

 

0

R/W

Undefined when read.

extension

(B)

D5

CFEX5

P05 port extended function

1

 

0

P05, etc.

0

R/W

Always set to 0.

register

 

D4

CFEX4

P04 port extended function

1

 

0

P04, etc.

0

R/W

Always set to 0.

 

 

D3

CFEX3

P31 port extended function

1

#GARD

 

0

P31, etc.

0

R/W

 

 

 

D2

CFEX2

P21 port extended function

1

#GAAS

 

0

P21, etc.

0

R/W

 

 

 

D1

CFEX1

P10, P11, P13 port extended

1

DST0

 

0

P10, etc.

1

R/W

 

 

 

 

 

function

 

DST1

 

 

P11, etc.

 

 

 

 

 

 

 

 

 

DPC0

 

 

P13, etc.

 

 

 

 

 

D0

CFEX0

P12, P14 port extended function

1

DST2

 

0

P12, etc.

1

R/W

 

 

 

 

 

 

 

DCLK

 

 

P14, etc.

 

 

 

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

EPSON

S1C33210 FUNCTION PART