2410Ptranscifer-driver

所属分类:驱动编程
开发工具:Unix_Linux
文件大小:325KB
下载次数:12
上传日期:2012-05-30 09:16:39
上 传 者3619773
说明:  嵌入式2410+传感器的驱动源代码,对写嵌入式驱动有很大帮助。
(2410+transcifer driver)

文件列表:
第18章\电路图片\PXA255功能框图.bmp (2422487, 2008-10-25)
第18章\电路图片\Thumbs.db (6144, 2012-05-30)
第18章\电路图片\传感器系统硬件结构图.bmp (2422487, 2008-10-25)
第18章\程序代码\Linux客户端\源程序代码\client\CBrowseFrame.cpp (14556, 2008-08-27)
第18章\程序代码\Linux客户端\源程序代码\client\CBrowseFrame.h (1078, 2008-08-27)
第18章\程序代码\Linux客户端\源程序代码\client\CChpwdFrame.cpp (16646, 2008-07-30)
第18章\程序代码\Linux客户端\源程序代码\client\CChpwdFrame.h (967, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CHistoryFrame.cpp (17930, 2008-08-27)
第18章\程序代码\Linux客户端\源程序代码\client\CHistoryFrame.h (1020, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CHouseForm.cpp (161682, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CHouseForm.h (978, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CLoginFrame.cpp (10756, 2008-08-22)
第18章\程序代码\Linux客户端\源程序代码\client\CLoginFrame.h (894, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CLoginFrameData.h (30443, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CMainForm.cpp (22134, 2008-08-27)
第18章\程序代码\Linux客户端\源程序代码\client\CMainForm.h (1327, 2008-08-27)
第18章\程序代码\Linux客户端\源程序代码\client\CMainFrame.cpp (9631, 2008-07-20)
第18章\程序代码\Linux客户端\源程序代码\client\CMainFrame.h (850, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CMainFrameData.h (123045, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CPeriodFrame.cpp (14270, 2008-08-23)
第18章\程序代码\Linux客户端\源程序代码\client\CPeriodFrame.h (1031, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CPicForm.cpp (1477, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CPicForm.h (778, 2008-07-13)
第18章\程序代码\Linux客户端\源程序代码\client\CSettingFrame.cpp (24819, 2008-07-28)
第18章\程序代码\Linux客户端\源程序代码\client\CSettingFrame.h (1365, 2008-07-28)
第18章\程序代码\Linux客户端\源程序代码\client\CSystemFrame.cpp (11714, 2008-07-28)
第18章\程序代码\Linux客户端\源程序代码\client\CSystemFrame.h (1100, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CToolBox.cpp (999, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CToolBox.h (169, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CWarningForm.cpp (7296, 2008-07-30)
第18章\程序代码\Linux客户端\源程序代码\client\CWarningForm.h (807, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\CWarningFrame.cpp (11394, 2008-07-28)
第18章\程序代码\Linux客户端\源程序代码\client\CWarningFrame.h (1105, 2008-06-25)
第18章\程序代码\Linux客户端\源程序代码\client\include\Client.h (582, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\include\Global.h (599, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\include\Server.h (177, 2008-07-21)
第18章\程序代码\Linux客户端\源程序代码\client\include\TcpClient.h (817, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\include\TcpPeer.h (686, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\include\TcpServer.h (611, 2008-06-22)
第18章\程序代码\Linux客户端\源程序代码\client\lib\Client.cpp (4722, 2008-06-22)
... ...

使用方法一、把IIC 算法驱动加入内核: -------------------------------------------------------------------------------------- 1. 如果内核配置中选择了char devices ->I2C support页中的I2C support选项, i2c设备将被编译进内核; 在EduKit-II + S3C2410x的实验平台上使用IIC设备,需要完成以下2,3,4步。 2. 在 kernel/drivers/i2c/Config.in 文件中, 添加i2c-algo-s3c2410.c 的选项脚本 ... dep_tristate 'I2C device interface' CONFIG_I2C_CHARDEV $CONFIG_I2C <--这一句后插入以下6行 if [ "$CONFIG_ARCH_S3C2410" = "y" ]; then dep_tristate 'Samsung S3C2410 I2C Algorithm' CONFIG_I2C_S3C2410_ALGO $CONFIG_I2C_CHARDEV $CONFIG_I2C if [ "$CONFIG_I2C_S3C2410_ALGO" != "n" ]; then dep_tristate ' Samsung S3C2410 I2C Adapter' CONFIG_I2C_S3C2410_ADAP $CONFIG_I2C_S3C2410_ALGO fi fi ... 3. 在 kernel/drivers/i2c/Makefile 文件中, 添加 i2c-s3c2410x.o 模块 ... obj-$(CONFIG_I2C) += i2c-core.o obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o <--这一句后插入以下1行 obj-$(CONFIG_I2C_S3C2410_ALGO) +=i2c-algo-s3c2410.o ... 4. 复制 i2c-algo-s3c2410.c i2c-algo-s3c2410.h 到目录 kernel/drivers/i2c/ 使用方法二、作为动态模块进行编译 -------------------------------------------------------------------------------------- 在本实验目录下执行make命令编译生成i2c.o文件,通过FTP/TFTP 方式下载到开发板; 再使用insmod i2c安装即可。

近期下载者

相关文件


收藏者