To be noted, I compared quickly TIM2 for the STM32C0xx and STM32G0x1 reference manuals, and saw that in os/common/ext/ST/STM32C0xx/stm32c071xx.h, these things were missing for STM32C071xx
- All of IS_TIM_OCCS_INSTANCE
Code: Select all
/****************** TIM Instances : supporting bitfield OCCS in SMCR register *******************/
#define IS_TIM_OCCS_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \
((INSTANCE) == TIM2) || \
((INSTANCE) == TIM3))
- TIM2 for IS_TIM_TISEL_INSTANCE
Code: Select all
/******************* TIM Instances : Timer input selection ********************/
#define IS_TIM_TISEL_INSTANCE(INSTANCE) (((INSTANCE) == TIM14) || \
((INSTANCE) == TIM2) || \
((INSTANCE) == TIM16) || \
((INSTANCE) == TIM17))
not sure if these things have a big impact on system timer functionality, and might be worth noting.