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:

The timer can be combined with the compare (for generating PWM) and capture units to create a peripheral with a high level of functionality.