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.

F28M35 GPIO中断程序

Other Parts Discussed in Thread: CONTROLSUITE

在看F28M35X-DRL-UR.pdf时,看到GPIO有关api的地方,也就是8.3 Programming Example .The following example shows how to use the GPIO API to initialize the GPIO, enable interrupts,read data from pins, and write data to pins. 请问中中断触发以后,程序将跳转到哪个子程序,我想写个中断程序,应该写在哪里?

  • zhuoying,

    请参照例程C:\ti\controlSUITE\device_support\f28m35x\v201\F28M35x_examples_Master\timers\m3

    其中讲到的是Timer的中断例子,但是只要把相应的变量改成GPIO外部中断的即可。

    Eric