免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1503 | 回复: 1
打印 上一主题 下一主题

OMAP3平台Linux中总线设置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-18 14:52 |只看该作者 |倒序浏览

                OMAP3平台Linux中总线设置
               
               
               
               
先看arch/arm/plat-omap/include/mach/gpmc.h文件:
struct gpmc_timings {
        /* Minimum clock period for synchronous mode */
        u16 sync_clk;
        /* Chip-select signal timings corresponding to GPMC_CS_CONFIG2 */
        u16 cs_on;              /* Assertion time */
        u16 cs_rd_off;          /* Read deassertion time */
        u16 cs_wr_off;          /* Write deassertion time */
        /* ADV signal timings corresponding to GPMC_CONFIG3 */
        u16 adv_on;             /* Assertion time */
        u16 adv_rd_off;         /* Read deassertion time */
        u16 adv_wr_off;         /* Write deassertion time */
        /* WE signals timings corresponding to GPMC_CONFIG4 */
        u16 we_on;              /* WE assertion time */
        u16 we_off;             /* WE deassertion time */
        /* OE signals timings corresponding to GPMC_CONFIG4 */
        u16 oe_on;              /* OE assertion time */
        u16 oe_off;             /* OE deassertion time */
        /* Access time and cycle time timings corresponding to GPMC_CONFIG5 */
        u16 page_burst_access;  /* Multiple access word delay */
        u16 access;             /* Start-cycle to first data valid delay */
        u16 rd_cycle;           /* Total read cycle time */
        u16 wr_cycle;           /* Total write cycle time */
        /* The following are only on OMAP3430 */
        u16 wr_access;          /* WRACCESSTIME */
        u16 wr_data_mux_bus;    /* WRDATAONADMUXBUS */
};
实际操作代码: gpmc_cs_write_reg(cs, GPMC_CS_CONFIG3, val);
val = gpmc_cs_read_reg(cs, GPMC_CS_CONFIG4);


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51797/showart_2097580.html

论坛徽章:
0
2 [报告]
发表于 2013-04-24 10:25 |只看该作者
我想问下 这些函数的具体作用是什么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP