|
stm32f103
|
Implements an abstraction layer for TIM. More...
#include <timer.h>
Classes | |
| struct | Config |
| Configuration for an individual TIM. More... | |
Public Member Functions | |
| Timer (const Config &config) | |
| Constructor for Timer. More... | |
| void | EnableInterrupt () |
| Enables interrupt handling for this timer. More... | |
Protected Member Functions | |
| void | Init (uint16_t prescaler, uint16_t period) |
| Performs initialization for this TIM. More... | |
Implements an abstraction layer for TIM.
|
explicit |
| void Timer::EnableInterrupt | ( | ) |
Enables interrupt handling for this timer.
|
protected |
Performs initialization for this TIM.
| prescaler | |
| period |
