General-purpose timers can be used to count or time external events that drive the timer-input pins.
The general-purpose timer module (LGPT) contains up to four LGPT blocks with the following functional options. To determine which timers support which functions see the device-specific data sheet:
- 16-bit or 24-bit bit counter width
- Three capture/compare channels per timer
- One-shot or periodic counting
- Time counting between edges and edge counting
- Input filter on each of the channels for all timers
- 15 different channel Capture/Compare actions
- PWM Generation with programmable deadband insertion and park on fault mode
- IR Signal generation
- Quadrature decoding (QDEC)
- Timer synchronization and chaining
- Efficient transfers using the μDMA controller