基于Linux设备模型的单总线接口的设计 |
| |
引用本文: | 王龙奇,樊明辉,陈丽红.基于Linux设备模型的单总线接口的设计[J].电子器件,2014,37(1). |
| |
作者姓名: | 王龙奇 樊明辉 陈丽红 |
| |
作者单位: | 福州大学物理与信息工程学院; |
| |
摘 要: | 单总线是一些传感器和低速器件与主机通信常用一种总线协议,如智能温度传感器DS18B20,A/D转换芯片等。随着物联网的发展,这些传感器的应用将越来越广泛,而这些接口没有与内核紧密联系,内核无法进行统一管理,稳定性和可靠性无法得到保证。在符合Linux内核设备模型2]的前提下,实现一个稳定的单总线接口,将整个控制器分为顶层设备接口、核心层、底层硬件接口由上到下3个部分;同时对驱动和设备分离、顶层设备接口和具体硬件操作分离。
|
关 键 词: | 单总线 Linux 嵌入式系统 分层 分离 |
Implementation of 1-wire interface based on Linux device model |
| |
Abstract: | 1-Wire Bus is a bus protocol which connects some sensors and low-speed devices with the host , such as the smart temperature sensor DS18B20, A/D chip, and so on . With the development of the internet of things , the application of these sensors will become more widespread, but their interface are not closely linked with the kernel , the kernel can not unifiy the management , so stability and reliability may not be guaranteed . In line with the premise of the Linux kernel device model , a stable 1-Wire interface is given . the controller will be divided into three parts, top-level device interface , the core layer and the underlying hardware interface ; while separate the driver and the device, the top-level device interface and the specific hardware operations.
Key words: the 1-Wwire Bus; Linux; Embedded system; stratification; separation |
| |
Keywords: | 1-Wwire Bus Linux Embedded system stratification separation |
本文献已被 CNKI 等数据库收录! |
| 点击此处可从《电子器件》浏览原始摘要信息 |
|
点击此处可从《电子器件》下载全文 |
|