检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李韶光 张志辉 闫继送 Li Shaoguang;Zhang Zhihui;Yan Jisong(China Electronic Technology Instrument Co.,Ltd.,Qingdao 266000,China)
出 处:《单片机与嵌入式系统应用》2020年第5期26-28,共3页Microcontrollers & Embedded Systems
摘 要:对于ARM架构的嵌入式设备测试仪器,为了使数据采集效率更高、应用层操作更简单灵活,提出一种基于异步通知机制的GPIO中断方法。该方法通过在Linux系统层驱动中配置GPIO中断和异步通知机制,实时向上层提供中断信号;同时,配置应用层程序使其接收该信号,进而实现数据读取。经过实验测试,该方法稳定、可靠并有效,已成功应用到嵌入式测试仪器中。For embedded equipment test instruments with ARM architectures,a GPIO interruption method based on an asynchronous notification mechanism is proposed in order to improve the efficiency of data acquisition and make the operation of application layers easier and more flexible.First,a GPIO interruption and asynchronous notification are configured in Linux system layer driver to provide an interruption triggering signal for an upper layer.Then the signal is received in an application layer program so that acquisition can be triggered.The experiment tests show that the method is feasible and effective and has been successfully applied to embedded test instruments.
关 键 词:异步通知 GPIO中断 嵌入式系统 LINUX驱动
分 类 号:TP29[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.144.235.50