摘要
本文介绍了Linux设备驱动程序的类型和文件操作接口函数,以及驱动程序的基本开发过程。以ARM9为平台,基于Linux2.6.30开发DS18B20的驱动程序,以模块的形式加载到内核,最后通过应用层调用驱动程序,获得温度数据。
The article introduces the type of Linux device drivers and file operations interface functions, and the development process of device driver. The design takes ARM9 as the platform, and develops DS18B20 drivers program based on Linux2.6.30, then it loades into the kernel with the module, at last it calls the driver through the application layer to achieve the temperature data.
出处
《单片机与嵌入式系统应用》
2013年第4期53-56,共4页
Microcontrollers & Embedded Systems