OMAPL138 eCAP capture

来源:互联网 发布:手机数据恢复多少钱 编辑:程序博客网 时间:2024/06/08 06:12

最近在弄OMAPL138的ecap的驱动。

之前对eCAP一无所知,后来查了一下好像类似PWM驱动(脉冲调试)。

参考OMAPL138

http://processors.wiki.ti.com/index.php/OMAP-L1_Linux_Drivers_Usage#eCAP

这样对eCAP有所了解,eCAP module can function either in PWM mode or Capture mode. eCAP can be controlled from the user space through SYSFS interface.

通过上面的链接知道就是通过ecap模块可以调制PWM,另外还可以捕获脉冲。

知道这些,只需要将驱动移植就可以了,测试驱动的方法就是通过sys文件系统来测试

0 0
原创粉丝点击