你好 我想在ADC0中使用转换结束中断,但是当我在调试模式下设置ADC0-MCR寄存器中的NSTART位时,我在SFR视图中看到,ADC0_ISR EOC位置1但中断不起作用。 当我在我的功能中使用while时,我正确读取ADC。 我在这里附上我的代码如果我的代码有问题请现在就让我。 谢谢 最好的祝福 Nazerian Vanima以上来自于谷歌翻译以下为原文 Hi I Want to use , End of Conversion interrupt in ADC0 but when i set the NSTART bit in ADC0- MCR register in debug mode i saw in SFR view ,ADC0_ISR EOC bit is set but the interrupt is not work. when i use while for this bit in my function i Read the ADC Correctly . i Attach my code here if my code have problem please let me now. thanks With Best Regards Nazerian Vanima
2019-04-19 11:11
你好 我想在ADC0中使用转换结束中断,但是当我在调试模式下设置ADC0-MCR寄存器中的NSTART位时,我在SFR视图中看到,ADC0_ISR EOC位置1但中断不起作用。 当我在我的功能中使用while时,我正确读取ADC。 我在这里附上我的代码如果我的代码有问题请现在就让我。 谢谢 最好的祝福 Nazerian Vanima以上来自于谷歌翻译以下为原文 Hi I Want to use , End of Conversion interrupt in ADC0 but when i set the NSTART bit in ADC0- MCR register in debug mode i saw in SFR view,ADC0_ISR EOC bit is set but the interrupt is not work. when i use while for this bit in my function i Read the ADC Correctly . i Attach my code here if my code have problem please let me now. thanks With Best Regards Nazerian Vanima
2019-04-19 15:21