|
|||||||||||
|
Technical Support On-Line Manuals MDK-ARM Primer |
TimerTimers are peripherals that generate periodic events in a microcontroller. A timer can be used as a PWM generator, or a trigger for a motor, or to control an ADC. The main parts of a timer are: a counter-, a reload-, and a match-register. To generate periodic events, the timer must be configured with a value and a match event or an over-/underflow event. Timers are implemented differently across various microcontrollers. The general steps to configure a timer are:
For this example the following steps are required:
| ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.