定时器的中断函数为Timer1IntHandler,为什么定义为Timer1IntHandler?那AD的中断定义为什么?谢谢
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.
定时器的中断函数为Timer1IntHandler,为什么定义为Timer1IntHandler?那AD的中断定义为什么?谢谢
你好,
这个中断函数都是可以自己命名的,只要你保证这个中断函数名和starup_ccs.c里面定义的g_pfnVectors[ ]定义的相关中断响应函数的名字一样,或是直接用中断注册函数注册的名字一样就行。
Ken