I/O Pins Of 16-Bit Programmable Timers - Epson S1C33210 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: 16-BIT PROGRAMMABLE TIMERS

I/O Pins of 16-Bit Programmable Timers

Table 4.1 shows the input/output pins used for the 16-bit programmable timers.
Pin name
I/O
P10/EXCL0/
I/O I/O port / 16-bit timer 0 event counter input (I) /
T8UF0/DST0
8-bit timer 0 output (O) / DST0 output (Ex)
P11/EXCL1/
I/O I/O port / 16-bit timer 1 event counter input (I) /
T8UF1/DST1
8-bit timer 1 output (O) / DST1 output (Ex)
P12/EXCL2/
I/O I/O port / 16-bit timer 2 event counter input (I) /
T8UF2/DST2
8-bit timer 2 output (O) / DST2 output (Ex)
P13/EXCL3/
I/O I/O port / 16-bit timer 3 event counter input (I) /
T8UF3/DPCO
8-bit timer 3 output (O) / DPCO output (Ex)
P15/EXCL4
I/O I/O port / 16-bit timer 4 event counter input (I) /
/#DMAEND0
High-speed DMA Ch.0 end signal output (O)
P16/EXCL5
I/O I/O port / 16-bit timer 5 event counter input (I) /
/#DMAEND1
High-speed DMA Ch.1 end signal output (O)
P22/TM0
I/O I/O port / 16-bit timer 0 output
P23/TM1
I/O I/O port / 16-bit timer 1 output
P24/TM2
I/O I/O port / 16-bit timer 2 output
P25/TM3
I/O I/O port / 16-bit timer 3 output
P26/TM4
I/O I/O port / 16-bit timer 4 output
P27/TM5
I/O I/O port / 16-bit timer 5 output
TMx (output pin of the 16-bit programmable timer)
This pin outputs a clock generated by the timer x.
EXCLx (event counter input pin)
When using the timer x as an event counter, input count pulses from an external source to this pin.
How to set the input/output pins of 16-bit programmable timers
All clock output pins used by the 16-bit programmable timers are shared with I/O ports. At cold start, all these
pins are set for the I/O port pins P2x (function select bit CFP2x = "0"), and go into high-impedance.
When using the clock output function of the 16-bit programmable timer, select the desired timer and write "1"
to the function select bit CFP2x for the corresponding pin. At hot start, these pins retain their status before from
prior to the reset.
All event-counter input pins are also shared with I/O-ports. At cold start, the EXCL[3:0] pins are set for debug
signal output pins (function extension bit CFEX[1:0] = "1") and the EXCL[5:4] pins are set for I/O-port pins
P1[5:4] (function select bit CFP1[5:4] = "0"). When using the event counter function, select the desired timer
and write "1" to the function select bit CFP1x and write "0" to the function select bit CFEXx for the
corresponding pin.
Note that these pins are also shared with output pins for the 8-bit programmer timers, etc. When the
input/output pins are set in input mode, they function as event counter inputs. Therefore, it is necessary to set
the I/O port's I/O control bit IOC1x to "0" in advance. At cold start, these pins are set in input mode. At hot
start, they retain their status from prior to the reset.
B-III-4-2
Table 4.1 I/O Pins of 16-Bit Programmable Timer
Function
EPSON
Function select bit
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)
CFP15(D5)/P1 function select register(0x402D4)
CFP16(D6)/P1 function select register(0x402D4)
CFP22(D2)/P2 function select register(0x402D8)
CFP23(D3)/P2 function select register(0x402D8)
CFP24(D4)/P2 function select register(0x402D8)
CFP25(D5)/P2 function select register(0x402D8)
CFP26(D6)/P2 function select register(0x402D8)
CFP27(D7)/P2 function select register(0x402D8)
(I): Input mode, (O): Output mode, (Ex): Extended function
S1C33210 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents