请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM623 工具与软件:
我想编写一个内核模块文件、我可以调用哪些函数来获取 GPIO 和控制 GPIO? 我可以使用什么方法快速读取 GPIO 的输入电平?
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.
工具与软件:
我想编写一个内核模块文件、我可以调用哪些函数来获取 GPIO 和控制 GPIO? 我可以使用什么方法快速读取 GPIO 的输入电平?
您好!
TI E2E 论坛无法帮助开发定制应用。 我们只能为 TI 在 Linux SDK 中编写和测试的代码提供支持。
通过快速搜索、 您可以查看 libgpiod 库: https://github.com/brgl/libgpiod
此致、
Anshu