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.

[参考译文] AM6421:如何使用 CHAR 驱动器获取 eQEP 计数?

Guru**** 2336580 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1516595/am6421-how-to-get-eqep-count-using-char-driver

器件型号:AM6421

工具/软件:

我们正在使用 ti-processor-sdk-linux-rt-am64xx-evm-11.00.09.04中的 eQEP 驱动程序。  我们希望使用 char 驱动程序获取计数值、sysfs 访问速度太慢。  使用附加的代码、我们能够读取上溢和下溢事件。  我们如何通过简单读取字符器件来获取计数值?

e2e.ti.com/.../counter_5F00_example.c