S i M 3 L 1 x x
Rev 1.1
45
4.6. Counters/Timers
4.6.1. 32-bit Timer (TIMER0, TIMER1, TIMER2)
Each timer module is independent, and includes the following features:
Operation as a single 32-bit or two independent 16-bit timers.
Clocking options include the APB clock, the APB clock scaled using an 8-bit prescaler, the external
oscillator, or falling edges on an external input pin (synchronized to the APB clock).
Auto-reload functionality in both 32-bit and 16-bit modes.
TIMER0 and TIMER1 have the following features:
Up/Down count capability, controlled by an external input pin.
Rising and falling edge capture modes.
Low or high pulse capture modes.
Period and duty cycle capture mode.
Square wave output mode, which is capable of toggling an external pin at a given rate with 50% duty cycle.
32- or 16-bit pulse-width modulation mode.
TIMER2 does not support the standard input/output features of TIMER0 and TIMER1. The TIMER2 EX signal is
internally connected to the outputs of the PVTOSC0 oscillators. TIMER2 can use any of the counting modes that
use EX as an input, including up/down mode, edge capture mode, and pulse capture mode. The TIMER2 CT signal
is disconnected.
4.6.2. Enhanced Programmable Counter Array (EPCA0)
The Enhanced Programmable Counter Array (EPCA) module is a timer/counter system allowing for complex timing
or waveform generation. Multiple modules run from the same main counter, allowing for synchronous output
waveforms.
This module includes the following features:
Three sets of channel pairs (six channels total) capable of generating complementary waveforms.
Center- and edge-aligned waveform generation.
Programmable dead times that ensure channel pairs are never active at the same time.
Programmable clock divisor and multiple options for clock source selection.
Waveform update scheduling.
Option to function while the core is inactive.
Multiple synchronization triggers.
Pulse-Width Modulation (PWM) waveform generation.
Summary of Contents for SiM3L1xx
Page 2: ...2 Rev 1 1 ...
Page 62: ...SiM3L1xx 62 Rev 1 1 6 2 SiM3L1x6 Pin Definitions Figure 6 2 SiM3L1x6 GQ Pinout ...
Page 63: ...SiM3L1xx Rev 1 1 63 Figure 6 3 SiM3L1x6 GM Pinout ...
Page 69: ...SiM3L1xx Rev 1 1 69 6 3 SiM3L1x4 Pin Definitions Figure 6 4 SiM3L1x4 GM Pinout ...
Page 74: ...SiM3L1xx 74 Rev 1 1 6 4 TQFP 80 Package Specifications Figure 6 5 TQFP 80 Package Drawing ...
Page 81: ...SiM3L1xx Rev 1 1 81 6 6 TQFP 64 Package Specifications Figure 6 9 TQFP 64 Package Drawing ...
Page 89: ...SiM3L1xx Rev 1 1 89 Figure 7 3 SiM3L1x4 GM Revision Information ...