定时控制的寄存器包括;TIMX_CR1;TIMX_CR2;TIMX_SMCR;TIMX_DIERTIMX_SR;TIMX_EGR;TIMX_CCMR1;TIMX_CCMR2;TIMX_CCER;TIM
1、先去掉stm32f10x_confh中TIM前的注释符号2、在NVIC_Configuration();中加入NVIC_PriorityGroupConfig(NVIC_PriorityGroup
定时控制的寄存器包括;TIMX_CR1;TIMX_CR2;TIMX_SMCR;TIMX_DIERTIMX_SR;TIMX_EGR;TIMX_CCMR1;TIMX_CCMR2;TIMX_CCER;TIM
1、先去掉stm32f10x_confh中TIM前的注释符号2、在NVIC_Configuration();中加入NVIC_PriorityGroupConfig(NVIC_PriorityGroup