[技术问答] ADC_ContinuousScanMode 范例问题?

[复制链接]
473|0
 楼主| powerantone 发表于 2021-2-20 15:03 | 显示全部楼层 |阅读模式
ADC_ContinuousScanMode 并没有使用中断读取 ADC,为什么要 clear the A/D interrupt flag for safe????{:soso_e180:}


           /* clear the A/D interrupt flag for safe */
            ADC->ADSR = ADC_ADSR_ADF_Msk;
            
            /* start A/D conversion */
            _ADC_START_CONVERT();
            
            /* Wait conversion done */
            _ADC_WAIT_CONVERSION_DONE();
            
           /* Clear the ADC interrupt flag */
            ADC->ADSR = ADC_ADSR_ADF_Msk;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

679

主题

4005

帖子

4

粉丝
快速回复 在线客服 返回列表 返回顶部