15,TIM_IT_Update); TIM_ITConfig(TIM15,TIM_IT_Update,ENABLE); //允许定时器15更新中断 NVIC_InitStructure.NVIC_IRQChannel = TIM15_IRQn; //定时器15中断 NVIC_InitStructure.NVIC_IRQChannelPriority = 1; //优先级1 多外部中断的优先级配置 。 NVIC_IRQChannelCmd 该参数指定了在成员NVIC_IRQChannel 中...
NVIC_InitStructure.NVIC_IRQChannel = TIM1_UP_IRQn;