stm32: timer_common: add timer21-22, found on stm32l0 chips.
stm32l0 devices have tim21 and tim22.
This commit is contained in:
parent
4b16af6e24
commit
18eadcfda5
@ -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 ----------------------------------------------------- */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user