16 16-BIT PWM TIMERS (T16A3)
S1C17F13 TeChniCal Manual
Seiko epson Corporation
16-1
(Rev. 1.0)
16-bit PWM Timers (T16A3)
16
Overview
16.1
T16A3 is a 16-bit PWM timer that consists of counter blocks and comparator/capture blocks. The features of
T16A3 are listed below.
• Counter block
- 16-bit up counter
- A clock source and a clock division ratio for generating the count clock are selectable in each channel.
- One-shot mode (counting for one cycle configured) and repeat mode (counting continuously until stopped via
software)
- Half-clock mode (Counting both clock rising and falling edges achieves high PWM waveform accuracy.)
- Event counter function using an external clock
• Comparator/capture block
- The comparator compares the counter value with two specified values to generate interrupt signals and a
PWM waveform. (Can be used as an interval timer, PWM waveform generator, and external event counter.)
- The capture unit captures counter values using external trigger signals and generates interrupts. (Can be used
to measure external event periods.)
- Multi-comparator/capture mode (One counter can be used with two or more comparator/capture blocks con-
nected.)
Figure 16.1.1 shows the T16A3 configuration.
Channel configuration in this IC
• Number of channels:
2 channels (Ch.0 and Ch.1)
• Event counter function:
Ch.0
EXCL0 pin input
Ch.1
EXCL1 pin input
• Timer generating signal output: Ch.0
Two outputs with the TOUTA0 and TOUTB0 pins
Ch.1
Two outputs with the TOUTA1 and TOUTB1 pins
• Capture signal input:
Ch.0
Two inputs with CAPA0 and CAPB0 pins
Ch.1
Two inputs with CAPA1 and CAPB1 pins
• Half-clock mode:
Ch.0
Available
Ch.1
Available
• Multi-comparator/capture mode: Ch.0
Available
Ch.1
Available