Timer/Counter

Timer

Quick Facts

What?

The Timer is available in Energy Mode 0 and Energy Mode 1 and keeps track of timing and count events, generates output waveforms and triggers timed actions in other peripherals.

Why?

Most applications have activities that need to be timed accurately with as little CPU intervention and energy consumption as possible.

How?

The 16-bit general purpose Timer has 3 compare/capture channels for input capture and compare/Pulse- Width Modulation (PWM) output. TIMER0 also includes an optional Dead-Time Insertion module suitable for motor control applications and frequency generation. The Timer can also count events and control other peripherals through the PRS, which offloads the CPU and reduce energy consumption.