This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tm4c123可以时钟中断里触发ADC吗?



近期通过tm4c123gxl芯片编写四旋翼飞行器飞控程序,需要用到红外线定高。而芯片的ADC有两种模式,分别为查询模式和中断模式。我准备使用后者,但是在IAR编译器里面,老是会出现断点不跳时钟中断就直接到ADC中断了,但是我ADCtrigger是写在时钟中断里的,按理说不到时钟中断是触发不了ADC的,所以就很纳闷!而且程序时好时坏,完全一样的代码,一会儿又可以跳进去,一会儿又不行了。