| ... | ... | @@ -13,7 +13,7 @@ Other interrupts have to be explicitly enabled. In STM32 boards, this typically |
|
|
|
|
|
|
|
#### 1.1 Timer peripherals
|
|
|
|
|
|
|
|
For TIMER peripherals in STM32 you ave to set the `DIER` register. You can find this kind of information in the microcontroller's datasheet.
|
|
|
|
For TIMER peripherals in STM32 you have to set the `DIER` register. You can find this kind of information in the microcontroller's datasheet.
|
|
|
|
|
|
|
|
```cpp
|
|
|
|
// enable interrupt on Update Event (overflow) of TIM2
|
| ... | ... | |