TMS570ls31中如何编写一个中断控制程序呢,比如利用HET模块产生的方波产生中断,中断服务程序完成LED灯的亮灭的控制,具体应该在HAL中选择哪些模块,程序中应该怎么写呢?新手不太懂HAL代码的应用,求指教~!
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.
TMS570ls31中如何编写一个中断控制程序呢,比如利用HET模块产生的方波产生中断,中断服务程序完成LED灯的亮灭的控制,具体应该在HAL中选择哪些模块,程序中应该怎么写呢?新手不太懂HAL代码的应用,求指教~!
Hi Yong,
请参考这个链接:
http://www.deyisupport.com/question_answer/microcontrollers/hercules/f/70/t/18292.aspx
这里面主要是关于470的中断的描述,570实现方法大同小异。
但是470是M3内核,而570是R4F内核,所以的确有些不同之处。
代码的例子请参考附件。