summaryrefslogtreecommitdiff
path: root/ucoo/hal/timer/timer.stm32.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal/timer/timer.stm32.hh')
-rw-r--r--ucoo/hal/timer/timer.stm32.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ucoo/hal/timer/timer.stm32.hh b/ucoo/hal/timer/timer.stm32.hh
index f139fce..85941e4 100644
--- a/ucoo/hal/timer/timer.stm32.hh
+++ b/ucoo/hal/timer/timer.stm32.hh
@@ -62,6 +62,8 @@ class TimerHard
void enable_interrupt ();
/// Disable interrupts on update event.
void disable_interrupt ();
+ /// Clear update event interrupt flag.
+ void clear_interrupt ();
private:
/// Enable updates (reload value, output compare values...).
void enable_updates ();