Full Function Timer
The Timer provides the timebase for an embedded system.
The Timer generates an incrementing count that can be used to generate an interrupt and is used by the Capture and Compare blocks. One of four clock signals increments the 16 bit register. When the count reaches the programmed limit a 'tick' is generated and an interrupt can be generated. The value of this counter is used by the Compare and Capture blocks.
The Timer has the following features:
- Configurable counter size, from 16 to 32 bits
- Uses one of four program selectable clock sources
- Interrupt generation capability
- Can wake up the CPU
- Can provide the time value for any number of Compare and Capture modules
- Standard APS bus interface
The timer can be combined with the compare (for generating PWM) and capture units to create a peripheral with a high level of functionality.