16-Bit Timers (T16); Overview; Input Pin - Epson S1C17M20 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

11 16-bit Timers (T16)

11.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 11.1.1 shows the configuration of a T16 channel.
Table 11.1.1 T16 Channel Configuration of S1C17M20/M21/M22/M23/M24/M25
Item
Number of channels
Event counter function
Peripheral clock output
(Outputs the counter underflow signal.)
(
EXCLm
Clock generator
To interrupt controller
(To peripheral circuit)

11.2 Input Pin

Table 11.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. For more information, refer to the "I/O Ports" chapter.
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
S1C17M20/M23
24-pin package
Ch.1 → Synchronous serial interface Ch.0 master clock
Ch.2 → Synchronous serial interface Ch.1 master clock
Ch.3 → 12-bit A/D converter trigger signal
T16 Ch.n
TRMD
PRESET
PRUN
)
CLK_T16_n
CLKSRC[1:0]
CLKDIV[3:0]
DBRUN
MODEN
Figure 11.1.1 Configuration of a T16 Channel
Table 11.2.1 T16 Input Pin
I/O*
Initial status*
I
I (Hi-Z)
Seiko Epson Corporation
S1C17M21/M24
32-pin package
4 channels (Ch.0–Ch.3)
Not supported (No EXCLm pins are provided.)
Reload register
Timer control
circuit
Timer counter
Underflow
UFIE
Interrupt control
circuit
UFIF
External event signal input pin
* Indicates the status when the pin is configured for T16.
11 16-BIT TIMERS (T16)
S1C17M22/M25
TR[15:0]
TC[15:0]
Function
11-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents