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.
您好!
我正在使用标题中的 launchpad 并测试 TI 的几个驱动程序以进行我的主论文。 我需要检查的最后一个驱动程序是 GPIO、它在低电平有效的 DIO 上触发中断(如果引脚为低电平则触发中断)。 但是、我真的不熟悉 TI 驱动程序、我找不到包含我必须对 Project Zero 进行的所有更改以添加此功能的代码模板。
那么、如何初始化 DIO 引脚(例如 DIO30)以触发中断、从而调用主代码中的特定回调函数(注意引脚为低电平有效)?
感谢你的帮助。
此致、
FYON Arthur。
尊敬的亚瑟:
gpiointerrupt 示例应该是一个很好的参考、但请记住 、PROJECT_ZERO 也使用按钮中断(尽管这使用引 脚中断 示例中的 TI 驱动程序)。
此致、
Ryan
您尚未率先提出以下问题:
https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/sub-1-ghz-forum/641997/rtos-cc1350stk-difference-between-gpio-and-pin-interrut
https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/sub-1-ghz-forum/960235/launchxl-cc1310-pins-vs-gpio
https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/sub-1-ghz-forum/853559/launchxl-cc1312r1-drivers-gpio-vs-drivers-pin
我建议您使用 PIN TI 驱动程序、因为它已在 Project Zero 中用于控制按钮
此致、
Ryan