请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TDA4VM 工具与软件:
您好、
我想在 SDK10.0 MCU 1_0上创建一个示例程序、以控制 GPIO 作为中断输入、并手动触发中断功能来测试中断功能。 您能给我举个例子吗?
此致、
Yang
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.
工具与软件:
您好、
我想在 SDK10.0 MCU 1_0上创建一个示例程序、以控制 GPIO 作为中断输入、并手动触发中断功能来测试中断功能。 您能给我举个例子吗?
此致、
Yang
尊敬的 Yang:
您是否已注意到 RTOS PDK 中的 GPIO Led Blink 示例? 您可以在中找到示例 /packages/ti/drv/gpio/test/led_blink src /main_led_blink.c
该示例演示了如何切换多个内核上的 WKUP GPIO 和主 GPIO 引脚、如何设置中断、以及如何到达 ISR。
谢谢!
Neehar
您好!
此问题现在可以关闭、但有另一个问题: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1490891/tda4vm-q1-configure-gpio-interrupt-related-issues
此致、
Yang