diff options
author | Guillaume Revaillot <revaillot@archos.com> | 2018-10-05 16:10:36 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2018-10-06 12:53:54 +0300 |
commit | 18eadcfda53bea88dc263a8ef2cbb52ee1a90d18 (patch) | |
tree | 784b5c530c06a0c005ba254f76101ac510f90e37 /include/libopencm3/stm32/common | |
parent | 4b16af6e2438db22e804aee57818be2b9d719dbd (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.h | 6 |
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 ----------------------------------------------------- */ |