摘要: luxiaolai UID: 55425最后登录: 2013-02-03登录IP: 27.128.21.143退出 设置 短消息 本站淘宝店铺无图版会员列表统计排行论坛帮助网站首页 高级 论坛友善官网软件下载常见问题客服中心A8来啦!淘宝店铺等级:新手上路, 帖子:22, 我的主题, 我的回复更多黄天一笑 编辑热门版块: 友善之臂最新动态友善之臂官方客服中心开发板实战手册及教程Qtopia交流区应用方案和定制开发Linux技术交流区默认风格用户中心首页编辑个人资料查看个人资料好友列表用户权限查看帖子操作记录积分管理积分转换特殊组购买收藏夹我的主题基本统计信息到访IP统计管理团队管理... 阅读全文
posted @ 2013-02-03 21:01 luxiaolai 阅读(1937) 评论(0) 推荐(0) 编辑
摘要: 在arch/arm/mach-s3c64XX/mach-smdk6410.c中中增加如下代码:static void cs_set_level(unsigned line_id, int lvl) { gpio_direction_output(line_id, lvl);};static struct s3c64xx_spi_csinfo s3c64xx_spi0_csinfo = { .fb_delay=100, .line=S3C64XX_GPC(3), .set_level=cs_set_level,};static struct spi_board_info s3c6410_spi0 阅读全文
posted @ 2013-02-03 20:29 luxiaolai 阅读(1208) 评论(1) 推荐(0) 编辑
摘要: 内核版本:linux-2.6.29主要的几个结构platform_device platform_driver s3c24xx_spi spi_master spi_bitbang spi_device spi_driver spidev_data s3c_spi_info第一步:注册platform_device在arch/arm/mach-s3c2410/mach-qt2410.c 中注册platform_device ,其中s3c2410_spi_info 作为platform_device.private_data. platform_device.name 为"s3c241 阅读全文
posted @ 2013-02-03 20:27 luxiaolai 阅读(256) 评论(0) 推荐(0) 编辑