Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Revaillot <revaillot@archos.com>2018-10-05 16:10:36 +0300
committerKarl Palsson <karlp@tweak.net.au>2018-10-06 12:53:54 +0300
commit18eadcfda53bea88dc263a8ef2cbb52ee1a90d18 (patch)
tree784b5c530c06a0c005ba254f76101ac510f90e37 /include/libopencm3/stm32/common
parent4b16af6e2438db22e804aee57818be2b9d719dbd (diff)
stm32: timer_common: add timer21-22, found on stm32l0 chips.
stm32l0 devices have tim21 and tim22.
Diffstat (limited to 'include/libopencm3/stm32/common')
-rw-r--r--include/libopencm3/stm32/common/timer_common_all.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/common/timer_common_all.h b/include/libopencm3/stm32/common/timer_common_all.h
index e675b7dc..7327734b 100644
--- a/include/libopencm3/stm32/common/timer_common_all.h
+++ b/include/libopencm3/stm32/common/timer_common_all.h
@@ -81,6 +81,12 @@ specific memorymap.h header before including this header file.*/
#if defined(TIM17_BASE)
# define TIM17 TIM17_BASE
#endif
+#if defined(TIM21_BASE)
+# define TIM21 TIM21_BASE
+#endif
+#if defined(TIM22_BASE)
+# define TIM22 TIM22_BASE
+#endif
/**@}*/
/* --- Timer registers ----------------------------------------------------- */