工程代码:
5定时器TIM3计数中断led闪烁.rar 修改:
赏析之M3定时器TIM3计数中断led闪烁(13) 为 V3.5版本下可用
不同点:
v2.0:
/* Enable the TIM3 Interrupt 使能TIM3中断*/
NVIC_InitStructure.NVIC_IRQChannel =
TIM3_IRQChannel;v3.5:
/* Enable the TIM3 Interrupt 使能TIM3中断*/
NVIC_InitStructure.NVIC_IRQChannel =
TIM3_IRQn;
阅读(606) | 评论(0) | 转发(0) |