aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/timer.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2011-01-31 16:30:12 -0800
committerPiotr Esden-Tempski2011-01-31 16:30:12 -0800
commit92edc113f9825f333ea66e41e8fcdbeb45da9cd6 (patch)
tree29fdc2f094b5ce5f0ce6f2cd05b1f758911612e9 /include/libopencm3/stm32/timer.h
parente85c55a9a70f8f357aceba4cbacd7762ca773d7b (diff)
Added timer reset function.
Diffstat (limited to 'include/libopencm3/stm32/timer.h')
-rw-r--r--include/libopencm3/stm32/timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/timer.h b/include/libopencm3/stm32/timer.h
index c3bc195..b11802e 100644
--- a/include/libopencm3/stm32/timer.h
+++ b/include/libopencm3/stm32/timer.h
@@ -852,6 +852,7 @@ enum tim_oc_mode {
};
/* --- TIM functions ------------------------------------------------------- */
+void timer_reset(u32 timer_peripheral);
void timer_enable_irq(u32 timer_peripheral, u32 irq);
void timer_disable_irq(u32 timer_peripheral, u32 irq);
void timer_clear_flag(u32 timer_peripheral, u32 flag);