Epson S1C33210 Personal Computer User Manual


 
APPENDIX: I/O MAP
B-APPENDIX-20 EPSON S1C33210 FUNCTION PART
NameAddressRegister name Bit Function Setting Init. R/W Remarks
T8CH5S0
SIO3TS0
T8CH4S0
SIO3RS0
SIO2TS0
SIO3ES0
SIO2RS0
SIO2ES0
D7
D6
D5
D4
D3
D2
D1
D0
8-bit timer 5 underflow
SIO Ch.3 transmit buffer empty
8-bit timer 4 underflow
SIO Ch.3 receive buffer full
SIO Ch.2 transmit buffer empty
SIO Ch.3 receive error
SIO Ch.2 receive buffer full
SIO Ch.2 receive error
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00402C5Interrupt factor
FP function
switching
register
1 SIO Ch.3
TXD Emp.
0 FP6
1 SIO Ch.3
RXD Full
0 FP4
1 SIO Ch.2
TXD Emp.
0 FP3
1 SIO Ch.3
RXD Err.
0 FP2
1 SIO Ch.2
RXD Full
0 FP1
1 SIO Ch.2
RXD Err.
0 FP0
1 T8 Ch.5 UF 0 FP7
1 T8 Ch.4 UF 0 FP5
SPT31
SPT30
SPT21
SPT20
SPT11
SPT10
SPT01
SPT00
D7
D6
D5
D4
D3
D2
D1
D0
FPT3 interrupt input port selection
FPT2 interrupt input port selection
FPT1 interrupt input port selection
FPT0 interrupt input port selection
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
00402C6
(B)
Port input
interrupt select
register 1
11 10 01 00
P23 P03 CP4 K63
11 10 01 00
P22 P02 K52 K62
11 10 01 00
P21 P01 K51 K61
11 10 01 00
P20 P00 K50 K60
11 10 01 00
P27 P33 CP3
11 10 01 00
P26 P32 CP2
11 10 01 00
P25 P05 P31 CP1
11 10 01 00
P24 P04 CP0
SPT71
SPT70
SPT61
SPT60
SPT51
SPT50
SPT41
SPT40
D7
D6
D5
D4
D3
D2
D1
D0
FPT7 interrupt input port selection
FPT6 interrupt input port selection
FPT5 interrupt input port selection
FPT4 interrupt input port selection
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
00402C7
(B)
Port input
interrupt select
register 2
1 High level
or
Rising edge
0 Low level
or
Falling
edge
SPPT7
SPPT6
SPPT5
SPPT4
SPPT3
SPPT2
SPPT1
SPPT0
D7
D6
D5
D4
D3
D2
D1
D0
FPT7 input polarity selection
FPT6 input polarity selection
FPT5 input polarity selection
FPT4 input polarity selection
FPT3 input polarity selection
FPT2 input polarity selection
FPT1 input polarity selection
FPT0 input polarity selection
1
1
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00402C8
(B)
Port input
interrupt
input polarity
select register
1 Edge 0 LevelSEPT7
SEPT6
SEPT5
SEPT4
SEPT3
SEPT2
SEPT1
SEPT0
D7
D6
D5
D4
D3
D2
D1
D0
FPT7 edge/level selection
FPT6 edge/level selection
FPT5 edge/level selection
FPT4 edge/level selection
FPT3 edge/level selection
FPT2 edge/level selection
FPT1 edge/level selection
FPT0 edge/level selection
1
1
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00402C9
(B)
Port input
interrupt
edge/level
select register
SPPK11
SPPK10
SPPK01
SPPK00
D74
D3
D2
D1
D0
reserved
FPK1 i
nterrupt input port selection
FPK0 i
nterrupt input port selection
0
0
0
0
R/W
R/W
0 when being read.00402CA
(B)
Key input
interrupt select
register
11 10 01 00
P2[7:4] P0[5:4] CP[3:0] K6[3:0]
11 10 01 00
P2[4:0] P0[4:0] K6[3:0]
CP0
K5[2:0]
CP4
T8CH5S1
T8CH4S1
SIO3ES1
SIO2ES1
SIO3TS1
SIO3RS1
SIO2TS1
SIO2RS1
D7
D6
D5
D4
D3
D2
D1
D0
8-bit timer 5 underflow
8-bit timer 4 underflow
SIO Ch.3 receive error
SIO Ch.2 receive error
SIO Ch.3 transmit buffer empty
SIO Ch.3 receive buffer full
SIO Ch.2 transmit buffer empty
SIO Ch.2 receive buffer full
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00402CBInterrupt factor
TM16 function
switching
register
1 SIO Ch.3
RXD Err.
0 TM16 Ch.3
comp.A
1 SIO Ch.2
RXD Err.
0 TM16 Ch.3
comp.B
1 SIO Ch.3
TXD Emp.
0 TM16 Ch.4
comp.A
1 SIO Ch.3
RXD Full
0 TM16 Ch.4
comp.B
1 SIO Ch.2
TXD Emp.
0 TM16 Ch.5
comp.A
1 SIO Ch.2
RXD Full
0 TM16 Ch.5
comp.B
1 T8 Ch.5 UF 0 TM16 Ch.2
comp.A
1 T8 Ch.4 UF 0 TM16 Ch.2
comp.B