摘要
详细介绍S3C2410芯片ADC模块以及Linux的驱动模型,并且通过S3C2410内置的ADC驱动程序设计说明字符型设备驱动开发方法;将驱动编译为模块的方式,单独加载入内核,便于调试。以MINICOM为操作台,控制驱动模块的加载和应用程序的运行。并通过实例介绍ADC驱动程序在电阻、电压等测试中的实际应用;从实验结果可以看出ADC驱动可以被成功加载和调用;该驱动可以测试电压、电流等标准工程量信号,或作为工业传感器接口的一部分对现场标准工程量信号进行采集处理。
The module of ADC in S3C2410 CMOS chip and the model about Linux drivers are expounded, the method of developing character device drivers are illuminated by realizing an ADC driver. As convenient to debug, compiling the drivers into module and "insmod" it into kernel. Updating the drivers module and application by MINICOM, one kind of consoles. Application on testing resistance and voltage using ADC driver are introduced through an example. In the end,it is obviously that ADC drivers module could be "insmoded"and called successful from the result of experiment, using the drivers testing resistance, voltage and many other standard signal. ADC drivers can collect the standard signal of plants as one part of interface of industrial sensor.
出处
《现代电子技术》
2008年第22期33-35,42,共4页
Modern Electronics Technique
基金
北京市教育委员会科技发展计划面上项目(200710009010)