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.
工具/软件:TI-RTOS
您好!
我在 TI-RTOS 应用程序中使用 GPIO。 对于单个 GPIO 操作、我使用 GPIO.h 中的函数、但也希望一次读取整个端口(即使用单个 API 调用返回输入端口的8位值)。 这是否可以使用 API (不使用 HWREG)实现?
谢谢、
svl123
GPIOPinRead (GPIO_Porta_base、0xFF);
Peter、您的回答非常有用、基本上回答了我的问题、因为我还想知道哪些 API 是 TI-RTOS 应用程序中使用的"正确" API。 感谢您将其清除。