16-Bit Pwm Timers (T16B); Overview - Epson S1C17M20 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

15 16-bit PWM Timers (T16B)

15.1 Overview

T16B is a 16-bit PWM timer with comparator/capture functions. The features of T16B are listed below.
• Counter block
- 16-bit up/down counter
- A clock source and a clock division ratio for generating the count clock are selectable in each channel.
- The count mode is configurable from combinations of up, down, or up/down count operations, and one-shot
operations (counting for one cycle configured) or repeat operations (counting continuously until stopped via
software).
- Supports an event counter function using an external clock.
• Comparator/capture block
- Supports up to six comparator/capture circuits to be included per one channel.
- The comparator compares the counter value with the values specified via software to generate interrupt sig-
nals and a PWM waveform. (Can be used as an interval timer, PWM waveform generator, and external event
counter.)
- The capture circuit captures counter values using external/software trigger signals and generates interrupts.
(Can be used to measure external event periods/cycles.)
Figure 15.1.1 shows the T16B configuration.
Table 15.1.1 T16B Channel Configuration of S1C17M20/M21/M22/M23/M24/M25
Item
Number of channels
Event counter function
Number of comparator/
capture circuits per channel
Timer generating signal output
Capture signal input
Note: In this chapter, 'n' refers to a channel number, and 'm' refers to an input/output pin number or a
comparator/capture circuit number in a channel.
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
S1C17M20/M23
24-pin package
32-pin package
2 channels (Ch.0 and Ch.1)
Ch.0: EXCL00 or EXCL01 pin input
Ch.1: EXCL10 or EXCL11 pin input
Ch.0: TOUT00 and TOUT01 pin outputs (2 systems)
Ch.1: TOUT10 and TOUT11 pin outputs (2 systems)
Ch.0: CAP00 and CAP01 pin inputs (2 systems)
Ch.1: CAP10 and CAP11 pin inputs (2 systems)
Seiko Epson Corporation
15 16-BIT PWM TIMERS (T16B)
S1C17M21/M24
2 systems (0 and 1)
S1C17M22/M25
15-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents