首页> 中文期刊> 《电子器件》 >基于Linux设备模型的单总线接口的设计

基于Linux设备模型的单总线接口的设计

         

摘要

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 ap-plication of these sensors will become more widespread,but their interfaces are not closely linked with the kernel, the kernel can not unify 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;menuwhile the driver and the device,the top-level device interface and the specific hardware are seperated in operations.%单总线是一些传感器和低速器件与主机通信常用一种总线协议,如智能温度传感器DS18B20,A/D转换芯片等。随着物联网的发展,这些传感器的应用将越来越广泛,而这些接口没有与内核紧密联系,内核无法进行统一管理,稳定性和可靠性无法得到保证。在符合Linux内核设备模型[2]的前提下,实现一个稳定的单总线接口,将整个控制器分为顶层设备接口、核心层、底层硬件接口由上到下3个部分;同时对驱动和设备分离、顶层设备接口和具体硬件操作分离。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号