I/O Ports (P Ports); Structure Of I/O Port; I/O Port Pins - Epson S1C33210 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS

I/O Ports (P Ports)

Structure of I/O Port

The Peripheral Block contains 29 bits of I/O ports (P00 to P05, P10 to P16, P20 to P27, P30 to P35) that can be
directed for input or output through the use of a program.
Figure 9.2 shows the structure of a typical I/O port.
I/O control
Peripheral circuit
Peripheral circuit

I/O Port Pins

The I/O ports concurrently serve as the input/output pins for peripheral circuits, as shown in Table 9.3. Whether they
are used as I/O ports or for peripheral circuits can be set bit-for-bit using a function select register. All pins not used
for peripheral circuits can be used as general-purpose I/O ports.
Pin name
I/O Pull-up
P00/SIN0
I/O
P01/SOUT0
I/O
P02/#SCLK0
I/O
P03/#SRDY0
I/O
P04/SIN1
I/O
P05/SOUT1
I/O
P10/EXCL0/
I/O
T8UF0/DST0
P11/EXCL1/
I/O
T8UF1/DST1
P12/EXCL2/
I/O
T8UF2/DST2
P13/EXCL3/
I/O
T8UF3/DPCO
P14/FOSC1/
I/O
DCLK
P15/EXCL4/
I/O
#DMAEND0
P16/EXCL5/
I/O
#DMAEND1/
SOUT3
: A 3-V system I/O voltage can only be used for the P10–P14 pins.
B-III-9-4
register
Function
select register
Data
register
output
input
Figure 9.2 Structure of I/O Port
Table 9.3 I/O Pins
Function
I/O port / Serial IF Ch.0 data input
I/O port / Serial IF Ch.0 data output
I/O port / Serial IF Ch.0 clock input/output
I/O port / Serial IF Ch.0 ready input/output
I/O port / Serial IF Ch.1 data input
I/O port / Serial IF Ch.1 data output
I/O port / 16-bit timer 0 event counter input (I) /
8-bit timer 0 output (O) / DST0 output (Ex)
I/O port / 16-bit timer 1 event counter input (I) /
8-bit timer 1 output (O) / DST1 output (Ex)
I/O port / 16-bit timer 2 event counter input (I) /
8-bit timer 2 output (O) / DST2 output (Ex)
I/O port / 16-bit timer 3 event counter input (I) /
8-bit timer 3 output (O) / DPCO output (Ex)
I/O port / Low-speed (OSC1) clock output /
DCLK output (Ex)
I/O port / 16-bit timer 4 event counter input (I) /
#DMAEND0 output (O)
I/O port / 16-bit timer 5 event counter input (I) /
#DMAEND1 output (O) / Serial IF Ch.3 data
output
CFP00(D0)/P0 function select register(0x402D0)
CFP01(D1)/P0 function select register(0x402D0)
CFP02(D2)/P0 function select register(0x402D0)
CFP03(D3)/P0 function select register(0x402D0)
CFP04(D4)/P0 function select register(0x402D0)
CFEX4(D4)/Port function extension register(0x402DF)
CFP05(D5)/P0 function select register(0x402D0)
CFEX5(D5)/Port function extension register(0x402DF)
CFP10(D0)/P1 function select register(0x402D4)
CFEX1(D1)/Port function extension register(0x402DF)
CFP11(D1)/P1 function select register(0x402D4)
CFEX1(D1)/Port function extension register(0x402DF)
CFP12(D2)/P1 function select register(0x402D4)
CFEX0(D0)/Port function extension register(0x402DF)
CFP13(D3)/P1 function select register(0x402D4)
CFEX1(D1)/Port function extension register(0x402DF)
CFP14(D4)/P1 function select register(0x402D4)
CFEX0(D0)/Port function extension register(0x402DF)
CFP15(D5)/P1 function select register(0x402D4)
CFP16(D6)/P1 function select register(0x402D4)
(I): Input mode, (O): Output mode, (Ex): Extended function
EPSON
V
DDE
Pxx
V
SS
Function select bit
S1C33210 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents