摘要: 首先加载驱动模块,应用程序通过调用API实现GPIO控制功能。 驱动函数: API函数: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <fcntl.h> 5 #include <unistd. 阅读全文
posted @ 2014-11-27 20:43 Imapla 阅读(2443) 评论(2) 推荐(0) 编辑
摘要: 首先加载驱动模块,应用程序通过调用API实现GPIO控制功能。 驱动程序: API函数: 应用程序: 阅读全文
posted @ 2014-11-27 20:32 Imapla 阅读(5551) 评论(0) 推荐(0) 编辑