一种异步通知机制的GPIO中断方法  

GPIO Interruption Method Based on Asynchronous Notification Mechanism

在线阅读下载全文

作  者:李韶光 张志辉 闫继送 Li Shaoguang;Zhang Zhihui;Yan Jisong(China Electronic Technology Instrument Co.,Ltd.,Qingdao 266000,China)

机构地区:[1]中电科仪器仪表有限公司,青岛266000

出  处:《单片机与嵌入式系统应用》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[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象