Download Print this page

Epson S1C31D50 Technical Instructions page 150

Cmos 32-bit single chip microcontroller
Hide thumbs Also See for S1C31D50:

Advertisement

12. 16-bit Timers (T16)
12.1. Overview
T16 is a 16-bit timer. The features of T16 are listed below.
16-bit presettable down counter
Provides a reload data register for setting the preset value.
A clock source and clock division ratio for generating the count clock are selectable.
Repeat mode or one-shot mode is selectable.
Can generate counter underflow interrupts.
Figure 12.1.1 shows the configuration of a T16 channel.
Item
Number of channels
Event counter function
Peripheral clock output
(Outputs the counter
underflow signal.)
(EXCLm
)
Clock generator
To CPU core
(To peripheral circuit)
12.2. Input Pin
Table 12.2.1 shows the T16 input pin.
Pin name
EXCLm
If the port is shared with the EXCLm pin and other functions, the EXCLm input function must be
assigned to the port before using the event counter function. The EXCLm signal can be input through
the chattering filter. For more information, refer to the "I/O Ports" chapter.
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
Table 12.1.1 T16 Channel Configuration of S1C31D50
Not supported (No EXCLm pins are provided.)
Ch.1 → Synchronous serial interface Ch.0 master clock
Ch.2 → Quad synchronous serial interface Ch.0 master clock
Ch.5 → Synchronous serial interface Ch.2 master clock
Ch.6 → Synchronous serial interface Ch.1 master clock
Ch.7 → 12-bit A/D converter trigger signal
T16 Ch.n
TRMD
Timer control
PRESET
circuit
PRUN
CLK_T16_n
CLKSRC[1:0]
CLKDIV[3:0]
DBRUN
MODEN
UFIE
Interrupt
control
circuit
UFIF
Figure 12.1.1 Configuration of a T16 Channel
Table 12.2.1 T16 Input Pin
I/O*
Initial status*
I
I (Hi-Z)
Seiko Epson Corporation
S1C31D50
8 channels (Ch.0–Ch.7)
Reload register
TR[15:0]
Timer counter
TC[15:0]
Underflow
Function
External event signal input pin
* Indicates the status when the pin is configured for T16.
12-1

Advertisement

loading