aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f4
diff options
context:
space:
mode:
authorStephen Caudle2011-11-01 16:46:26 -0400
committerStephen Caudle2011-11-02 14:26:36 -0400
commitd9a76c75c218b5acd1173a4751699439593d3258 (patch)
tree018016b5c15983503bb6ecc1f312335008cde96c /include/libopencm3/stm32/f4
parent505a05ccf48be13a79dac93c4a67f091fad833de (diff)
Add timer support for STM32F2 & STM32F4
Diffstat (limited to 'include/libopencm3/stm32/f4')
-rw-r--r--include/libopencm3/stm32/f4/timer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/f4/timer.h b/include/libopencm3/stm32/f4/timer.h
index 6fe9e6a..cb063d2 100644
--- a/include/libopencm3/stm32/f4/timer.h
+++ b/include/libopencm3/stm32/f4/timer.h
@@ -50,4 +50,8 @@
#define TIM5_OR_TI4_RMP_RTC (0x3 << 6)
#define TIM5_OR_TI4_RMP_MASK (0x3 << 6)
+/* --- Function prototypes ------------------------------------------------- */
+
+void timer_set_option(u32 timer_peripheral, u32 option);
+
#endif