请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM6421 工具/软件:
我们正在使用 ti-processor-sdk-linux-rt-am64xx-evm-11.00.09.04中的 eQEP 驱动程序。 我们希望使用 char 驱动程序获取计数值、sysfs 访问速度太慢。 使用附加的代码、我们能够读取上溢和下溢事件。 我们如何通过简单读取字符器件来获取计数值?
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-processor-sdk-linux-rt-am64xx-evm-11.00.09.04中的 eQEP 驱动程序。 我们希望使用 char 驱动程序获取计数值、sysfs 访问速度太慢。 使用附加的代码、我们能够读取上溢和下溢事件。 我们如何通过简单读取字符器件来获取计数值?