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.

UCD3138: UCD3138在编程中如何配置中断?

Part Number: UCD3138


以及了解到了有基于时间的标准中断和其他触发(如DPWM period或fault)的快中断,但是在编程中遇到了问题。

1:在配置好中断后,中断中要执行的语句应该写在哪里?

2:假设在A时间触发了DPWM period 快中断,在一个不相关的B时间触发了fault快中断,那么这两个快中断里我想要执行两种不同的语句,应该怎么编写两个中断语句并能和中断触发一一对应呢?