请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TM4C1231H6PM 主题中讨论的其他器件:TM4C123GH6PM
我有 一个 GPIOF_Handler 函数。 在该函数中、我需要知道是否 按下了 sw1 (PF4)或是否按下了 SW2 (PF0)、然后正确执行代码。 如何在不使用库的情况下做到这一点? 仅使用
"TM4C123GH6PM.h"、 和 ?
谢谢
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.
我有 一个 GPIOF_Handler 函数。 在该函数中、我需要知道是否 按下了 sw1 (PF4)或是否按下了 SW2 (PF0)、然后正确执行代码。 如何在不使用库的情况下做到这一点? 仅使用
"TM4C123GH6PM.h"、 和 ?
谢谢
这是一个与您所需内容类似的 CCS 项目。 它确实使用 TivaWare 函数调用。
/cfs-file/__key/communityserver-discussions-components-files/908/EK_2D00_GPIO_5F00_Interrupts.zip