
III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS
S1C33L01 FUNCTION PART
EPSON
B-III-9-7
Name
Address
Register name
Bit
Function
Setting
Init.
R/W
Remarks
P27D
P26D
P25D
P24D
P23D
P22D
P21D
P20D
D7
D6
D5
D4
D3
D2
D1
D0
P27 I/O port data
P26 I/O port data
P25 I/O port data
P24 I/O port data
P23 I/O port data
P22 I/O port data
P21 I/O port data
P20 I/O port data
0
R/W
00402D9
(B)
1 High
0 Low
P2 I/O port data
register
IOC27
IOC26
IOC25
IOC24
IOC23
IOC22
IOC21
IOC20
D7
D6
D5
D4
D3
D2
D1
D0
P27 I/O control
P26 I/O control
P25 I/O control
P24 I/O control
P23 I/O control
P22 I/O control
P21 I/O control
P20 I/O control
0
R/W
00402DA
(B)
1 Output
0 Input
P2 I/O control
register
–
CFP35
CFP34
CFP33
CFP32
CFP31
CFP30
D7–6
D5
D4
D3
D2
D1
D0
reserved
P35 function selection
P34 function selection
P33 function selection
P32 function selection
P31 function selection
P30 function selection
–
0
–
R/W
0 when being read.
Ext. func.(0x402DF)
00402DC
(B)
–
P3 function
select register
1 #BUSACK
0 P35
1 #BUSREQ
#CE6
0 P34
1 #DMAACK0 0 P32
1 #BUSGET
0 P31
1 #WAIT
#CE4/#CE5
0 P30
1 #DMAACK1 0 P33
–
P35D
P34D
P33D
P32D
P31D
P30D
D7–6
D5
D4
D3
D2
D1
D0
reserved
P35 I/O port data
P34 I/O port data
P33 I/O port data
P32 I/O port data
P31 I/O port data
P30 I/O port data
–
0
–
R/W
0 when being read.
00402DD
(B)
1 High
0 Low
–
P3 I/O port data
register
–
IOC35
IOC34
IOC33
IOC32
IOC31
IOC30
D7–6
D5
D4
D3
D2
D1
D0
reserved
P35 I/O control
P34 I/O control
P33 I/O control
P32 I/O control
P31 I/O control
P30 I/O control
–
0
–
R/W
0 when being read.
00402DE
(B)
1 Output
0 Input
–
P3 I/O control
register
CFEX7
CFEX6
CFEX5
CFEX4
CFEX3
CFEX2
CFEX1
CFEX0
D7
D6
D5
D4
D3
D2
D1
D0
P07 port extended function
P06 port extended function
P05 port extended function
P04 port extended function
P31 port extended function
P21 port extended function
P10, P11, P13 port extended
function
P12, P14 port extended function
0
1
R/W
00402DF
(B)
Port function
extension
register
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
DST1
DPC0
0 P10, etc.
P11, etc.
P13, etc.
1 DST2
DCLK
0 P12, etc.
P14, etc.
CFP07–CFP00: P0[7:0] function selection (D[7:0]) / P0 function select register (0x402D0)
CFP16–CFP10: P1[6:0] function selection (D[6:0]) / P1 function select register (0x402D4)
CFP27–CFP20: P2[7:0] function selection (D[7:0]) / P2 function select register (0x402D8)
CFP35–CFP30: P3[5:0] function selection (D[5:0]) / P3 function select register (0x402DC)
Selects the function of each I/O port pin.
Write "1": Used for peripheral circuit
Write "0": I/O port pin
Read: Valid
When a bit of the CFP register is set to "1", the corresponding pin is set for use with peripheral circuits (see Table 9.3).
The pins for which register bits are set to "0" can be used as general-purpose I/O ports.
At cold start, CFP is set to "0" (I/O port). At hot start, CFP retains its state from prior to the initial reset.