Linux下I^2C设备驱动的一种适配器层直接实现方法  被引量:4

Immediate Construction of I^2C Device Driver Based on Linux Adapter Layer

在线阅读下载全文

作  者:杨文铂[1] 邢鹏康[1] 

机构地区:[1]河南工业职业技术学院,南阳473000

出  处:《单片机与嵌入式系统应用》2011年第6期25-27,共3页Microcontrollers & Embedded Systems

摘  要:传统嵌入式Linux下的I2C设备驱动通常采用较为复杂的3层架构,可满足多设备并行工作的要求;但是在多设备串行的情况下,可直接在适配器层一层实现I2C设备驱动,这将有效地简化I2C设备驱动的开发。本文结合用LM75传感器采集温度的实例,介绍这种方法在嵌入式Linux下的一般实现过程。The traditional I^2C device drivers in embedded Linux normally uses a complex three layer driver architecture that fulfills the most requirements when the I^2C devices work in parallel mode. However, under the condition that the I^2C devices work in serial mode, the device driver can be completed just in adapter layer. This method can simplify the development of I^2C device driver efficiently. The common procedure of this method is illustrates in Linux, joined with an example of sampling temperatures using LM75 sensor.

关 键 词:嵌入式 LINUX I2C 设备驱动 适配器层 LM75 

分 类 号:TP316.81[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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