Other Parts Discussed in Thread: MOTORWARE
在motorware的例程中仅仅有这个中断的定义和声明,那么具体是哪句话调用的呢?
interrupt void mainISR(void)
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.
在motorware的例程中仅仅有这个中断的定义和声明,那么具体是哪句话调用的呢?
interrupt void mainISR(void)
mainISR() 在HAL层完成连接到中断控制器。你可以看一下你上一个帖子中关于HAL的文档,里面有介绍这点。
在hal.h文件第540行代码:
pie->ADCINT1 = &mainISR;