<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[关于I2C驱动的问题]]></title>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281]]></link>
 <description><![CDATA[Latest 20 replies of 关于I2C驱动的问题]]></description>
 <copyright><![CDATA[Copyright(C) ]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Sun, 26 Jul 2026 23:06:18 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://121.40.142.80]]></link>
 <description><![CDATA[]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[请教一下i2c 驱动是否可以实现 下位机上传数据的时候中断呢？
这个是主动读的，如果连接的i2c是master的呢？

i2c频率值如何设置？]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#4470]]></link>
 <author><![CDATA[powerpan]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 16 Apr 2009 13:59:12 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 14楼(arthur) 的帖子]]></title>
 <description><![CDATA[ok,我先加你，等你能上的时候再加下我，我的qq的名是bing]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3846]]></link>
 <author><![CDATA[bing]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 02 Apr 2009 03:31:55 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[我的QQ：254692727
不过，最近这段时间没有办法登录QQ了。等以后把网络弄好了再聊QQ啊]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3818]]></link>
 <author><![CDATA[arthur]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Wed, 01 Apr 2009 08:52:19 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[to arthur, 我现在也在做i2c spi相关的事情，能否留个qq，msn什么的，以后一起讨论？]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3806]]></link>
 <author><![CDATA[bing]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Wed, 01 Apr 2009 01:47:29 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[to arthur, 我正在做linux下spi flash烧写程序,不知arthur大侠是否有涉及过，想请教下？]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3603]]></link>
 <author><![CDATA[bing]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Wed, 25 Mar 2009 08:28:28 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[太好了，现在能无私分享自己代码的人不多，强烈建议大家支持arthur一下]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3578]]></link>
 <author><![CDATA[bing]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Tue, 24 Mar 2009 00:49:36 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[Int fd, ret ;

Char VOUT_COMMAND[2] = {0x21,voltage} ;&nbsp;&nbsp;&nbsp;&nbsp;voltage为电压值

 

Fd = open(“/dev/i2c/0”, O_RDWR);

If(fd == -1)

{

&nbsp;&nbsp;&nbsp;&nbsp; Perror(“error open\n”);

&nbsp;&nbsp;&nbsp;&nbsp; exit(-1);

}

Printf(“fd = %d\n”, fd);

 

Int addr = 0x50;&nbsp;&nb ..]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3564]]></link>
 <author><![CDATA[arthur]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Mon, 23 Mar 2009 05:10:41 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 8楼(arthur) 的帖子]]></title>
 <description><![CDATA[to arthur, 非常感谢！期待你的代码：）]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3563]]></link>
 <author><![CDATA[bing]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Mon, 23 Mar 2009 01:38:43 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[开发板上eeprom的地址是0x50，具体的代码明天再上传吧，]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3549]]></link>
 <author><![CDATA[arthur]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Sun, 22 Mar 2009 04:24:01 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[to arthur, 感谢回复，我用的开发板跟你的一样也是mini2440，这个at24c08地址是多少啊？手册上我看了好像没说嘛。另外，我如果用write 和 read 函数比如读写at24c08内的第一个地址的值应该怎么写啊？谢谢了！]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3522]]></link>
 <author><![CDATA[bing]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 20 Mar 2009 02:18:02 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[楼主可否把源代码也贴出来呢，
直观一些。

我们可以吸收的快一些。]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3521]]></link>
 <author><![CDATA[alfie2009]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 20 Mar 2009 02:15:19 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[函数所指定的地址是你所挂接设备的地址啊，
你外接设备的地址是多少，你就指定这个地址就可以了]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3519]]></link>
 <author><![CDATA[arthur]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Fri, 20 Mar 2009 02:06:41 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[看了arthur的帖子，感觉非常受益，我想问下用ioctl函数指定的设备地址是多少呢？]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3500]]></link>
 <author><![CDATA[bing]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 19 Mar 2009 06:37:09 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[先调用open函数，打开设备，然后用ioctl函数指定设备地址，之后就可以直接用write 、read函数进行读写了
需要注意，读之前要先写的]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3481]]></link>
 <author><![CDATA[arthur]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Wed, 18 Mar 2009 13:20:05 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[楼主是如何实现的？能否把源代码贴出来？]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3480]]></link>
 <author><![CDATA[armdd]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Wed, 18 Mar 2009 12:36:05 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[经过研究发现，是可以用ioctl函数来指定设备地址的，
已经可以对EEPROM进行读写操作
不过，还是希望大家就此问题讨论一下，然后才会理解的更加透彻。]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=1281#3476]]></link>
 <author><![CDATA[arthur]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Wed, 18 Mar 2009 08:32:13 +0000]]></pubdate>
</item>
</channel></rss>