stm32: timer_common: add timer21-22, found on stm32l0 chips.

stm32l0 devices have tim21 and tim22.
This commit is contained in:
Guillaume Revaillot 2018-10-05 15:10:36 +02:00 committed by Karl Palsson
parent 4b16af6e24
commit 18eadcfda5

View File

@ -81,6 +81,12 @@ specific memorymap.h header before including this header file.*/
#if defined(TIM17_BASE) #if defined(TIM17_BASE)
# define TIM17 TIM17_BASE # define TIM17 TIM17_BASE
#endif #endif
#if defined(TIM21_BASE)
# define TIM21 TIM21_BASE
#endif
#if defined(TIM22_BASE)
# define TIM22 TIM22_BASE
#endif
/**@}*/ /**@}*/
/* --- Timer registers ----------------------------------------------------- */ /* --- Timer registers ----------------------------------------------------- */