tiM_BDTRInitStructure.TIM_AutomaticOutput=TIM_AutomaticOutput_Disable;
TIM_BDTRInitStructure.TIM_Break=TIM_Break_Disable;
TIM_BDTRInitStructure.TIM_BreakPolarity=TIM_BreakPolarity_High;
TIM_BDTRInitStructure.TIM_DeadTime=0xD4;
TIM_BDTRInitStructure.TIM_LOCKLevel=TIM_LOCKLevel_1;
TIM_BDTRInitStructure.TIM_OSSIState=TIM_OSSIState_Enable;
TIM_BDTRInitStructure.TIM_OSSRState=TIM_OSSRState_Enable;
TIM_BDTRConfig(TIM1, TIM_BDTRInitStructure);
这是我的死区配置,发现配置死区后ADC每触发三次采样,却只进入两次DMA中断,不配置死区就能正常进入中断。
哪位大佬解惑,谢谢啦。