<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
 <channel>
  <title>一切只是开始</title>
  <link>http://carol.blogbus.com</link>
  <description><![CDATA[Someone comes into your life and someone goes away!]]></description>
  <generator> by blogbus.com </generator>
  <lastBuildDate>Thu, 01 Jan 1970 07:00:00 +0700</lastBuildDate>
  <image>
									<url>http://public.blogbus.com/profile/head.gif</url>
									<title>一切只是开始</title>
									<link>http://carol.blogbus.com</link>
								</image>  <item>
   <title>昨晚开始模拟人生2咯</title>
   <description><![CDATA[<P>似乎起步晚了一点，谁叫好配置都给老爸网游了呢。</P>
<P>我现在的赛扬1.7G，内存256M DDR 实在是捉襟见肘阿，不得不把很多视频设置降到很低。</P>
<P>第一天运行起来，问题还不少，不过今早查了下，大概找到原因。</P>
<P>1。没有声音 —— 因为我买到的压缩盘太差劲了，不是全盘压缩的，一定要买4CD - 6CD 的！否则运行到电视，电脑的地方，程序还会崩溃。</P>
<P>2。怎样在窗口环境中运行sims，这样我就可以同时和别人QQ交流了。—— 虽然我应该把破机器的所有资源都贡献给SIMS.</P>
<P><A href="http://www.modthesims2.com/article.php?t=142443">http://www.modthesims2.com/article.php?t=142443</A>&nbsp;&nbsp; 给快捷键加上 -w 属性。</P>
<P>3.我现在用的是英文版，这样非常锻炼日常用语的理解力！</P><!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/1918866.html">pSoc source collection</a> 2006-02-13</div><div><a href="/logs/1490063.html">VB6 的点滴</a> 2005-10-08</div><div><a href="/logs/1358867.html">MFC</a> 2005-08-15</div><div><a href="/logs/1306960.html">DirectX 第一日</a> 2005-07-10</div><div><a href="/logs/1272748.html">前段时间从china-pub弄来的书</a> 2005-06-17</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F2372814.html&title=%E6%98%A8%E6%99%9A%E5%BC%80%E5%A7%8B%E6%A8%A1%E6%8B%9F%E4%BA%BA%E7%94%9F2%E5%92%AF">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/2372814.html</link>
   <author></author>
   <pubDate>Sat, 29 Apr 2006 11:21:02 +0800</pubDate>
  </item>
  <item>
   <title>I2C - 计算比特率的值</title>
   <description><![CDATA[<p><font size="5">Calculation of Bit frequency</font></p><p><strong>Bit Frequency = pclk/ (I2CSCLH + I2CSCLL)</strong></p><p><font face="Courier New">eg: Since the maximum speed the PCF8574 could interface to the LPC2106 is100 KHz<br />100KHz= 2.5MHz/(I2CSCLH + I2CSCLL)<br />Therefore<br />I2CSCLH + I2CSCLL=25<br />We select<br />I2CSCLH=13<br />&amp;<br />I2CSCLL=12</font></p><!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/1935164.html">pSoc - use EEPROM to save data</a> 2006-02-16</div><div><a href="/logs/1501575.html">How to design a good class</a> 2005-10-12</div><div><a href="/logs/1279663.html">关于模拟人生</a> 2005-06-21</div><div><a href="/logs/1272748.html">前段时间从china-pub弄来的书</a> 2005-06-17</div><div><a href="/logs/1272004.html">图形记一</a> 2005-06-17</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F2118553.html&title=I2C+-+%E8%AE%A1%E7%AE%97%E6%AF%94%E7%89%B9%E7%8E%87%E7%9A%84%E5%80%BC">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/2118553.html</link>
   <author></author>
   <pubDate>Thu, 23 Mar 2006 10:56:55 +0800</pubDate>
  </item>
  <item>
   <title>pSoc 在程序中动态改变 I2C slave 设备的地址</title>
   <description><![CDATA[<p>我使用的芯片是 CY8C29466,因为项目中要使用两块功能几乎相同的 pSoc 模块，所以我打算把两块芯片的代码放在一块。但是与主芯片通信的 I2C 地址（slave模式），却是不可以一样的。</p><p>默认生成的I2C HW 模块，address 是在 Device Editor 模块中定死的；其实看自动生成的代码，会发现地址只是被预定义为一个值I2CHW_1_SLAVE_ADDR。而对这个值的使用，只在 i2chw_1int.asm 中遇到。具体就是在判断master发过来的 address 是否是本 slave 的address.</p><p>原始代码片断（自动生成）：</p><p>    mov A, reg[I2CHW_1_DR]<br />    and F, 0xF9                                                      <br />    rrc A                                                            <br />    xor A,  I2CHW_H_SLAVE_ADDR <br />    jnz I2C_Terminate<br />    or [I2CHW_1_RsrcStatus], I2CHW_ISR_ACTIVE</p><p>I2CHW_1_DR 里放置的就是 master 发过来的address，而 I2CHW_H_SLAVE_ADDR 就是pSoc芯片定义的I2C address. 只要根据实际需求把 I2CHW_H_SLAVE_ADDR 换乘其他的值，就可以在程序中任意改变 I2C 的address了。</p><p>常见的方法，是读取某些 GPIO 引脚的高低，根据高低不同，把 A 与不同的质进行比较。</p><p>英文参考：an2088 Programmable I2C Addressing</p><!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="http://carol.blogbus.com/logs/1938475.html">pSoc - interrupt priorities</a> 2006-02-17</div><div><a href="http://carol.blogbus.com/logs/1935164.html">pSoc - use EEPROM to save data</a> 2006-02-16</div><div><a href="/logs/2372814.html">昨晚开始模拟人生2咯</a> 2006-04-29</div><div><a href="/logs/1306960.html">DirectX 第一日</a> 2005-07-10</div><div><a href="/logs/1272748.html">前段时间从china-pub弄来的书</a> 2005-06-17</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F2112368.html&title=pSoc+%E5%9C%A8%E7%A8%8B%E5%BA%8F%E4%B8%AD%E5%8A%A8%E6%80%81%E6%94%B9%E5%8F%98+I2C+slave+%E8%AE%BE%E5%A4%87%E7%9A%84%E5%9C%B0%E5%9D%80">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/2112368.html</link>
   <author></author>
   <pubDate>Wed, 22 Mar 2006 17:01:00 +0800</pubDate>
  </item>
  <item>
   <title>pSoc - interrupt priorities</title>
   <description><![CDATA[<font size="2"><font face="Comic Sans MS" color="#000000" size="3">1) PSoC has fixed <span style="COLOR: #ffa34f"><b>interrupt</b></span> priorities (see in TRM or boot.tpl..) <br />2) If one <span style="COLOR: #ffa34f"><b>interrupt</b></span> is serviced normally other interrupts are blocked <br />3) In an <span style="COLOR: #ffa34f"><b>interrupt</b></span> you can reenable other interrupts through F-register <br />4) different interrupts are not lost, but if you have more than 1 <span style="COLOR: #ffa34f"><b>interrupt</b></span> of the same source, only 1 gets serviced</font> </font><!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="http://carol.blogbus.com/logs/2112368.html">pSoc 在程序中动态改变 I2C slave 设备的地址</a> 2006-03-22</div><div><a href="http://carol.blogbus.com/logs/1935164.html">pSoc - use EEPROM to save data</a> 2006-02-16</div><div><a href="/logs/1364194.html">深入浅出MFC第二章 - C++ 的重要性质</a> 2005-08-17</div><div><a href="/logs/1358867.html">MFC</a> 2005-08-15</div><div><a href="/logs/1294121.html">随意记</a> 2005-07-01</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F1938475.html&title=pSoc+-+interrupt+priorities">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/1938475.html</link>
   <author></author>
   <pubDate>Fri, 17 Feb 2006 13:32:02 +0800</pubDate>
  </item>
  <item>
   <title>pSoc - use EEPROM to save data</title>
   <description><![CDATA[pSoc<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="http://carol.blogbus.com/logs/2112368.html">pSoc 在程序中动态改变 I2C slave 设备的地址</a> 2006-03-22</div><div><a href="http://carol.blogbus.com/logs/1938475.html">pSoc - interrupt priorities</a> 2006-02-17</div><div><a href="/logs/2372814.html">昨晚开始模拟人生2咯</a> 2006-04-29</div><div><a href="/logs/2118553.html">I2C - 计算比特率的值</a> 2006-03-23</div><div><a href="/logs/1359132.html">用什么来创建线程</a> 2005-08-15</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F1935164.html&title=pSoc+-+use+EEPROM+to+save+data">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/1935164.html</link>
   <author></author>
   <pubDate>Thu, 16 Feb 2006 17:29:12 +0800</pubDate>
  </item>
  <item>
   <title>pSoc source collection</title>
   <description><![CDATA[<PRE>I found little pSoc resource on the Net, as the FAE said, it just be introduced to others gradually.</PRE><PRE>Well, it's much better to go ahead than others.</PRE><PRE>I will list some reference I collected on pSoc area. Enjoy it~</PRE><PRE>It will be great if you can share your experiance with me. :)</PRE><!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/2118553.html">I2C - 计算比特率的值</a> 2006-03-23</div><div><a href="/logs/2112368.html">pSoc 在程序中动态改变 I2C slave 设备的地址</a> 2006-03-22</div><div><a href="/logs/1358867.html">MFC</a> 2005-08-15</div><div><a href="/logs/1306960.html">DirectX 第一日</a> 2005-07-10</div><div><a href="/logs/1294121.html">随意记</a> 2005-07-01</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F1918866.html&title=pSoc+source+collection">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/1918866.html</link>
   <author></author>
   <pubDate>Mon, 13 Feb 2006 14:57:31 +0800</pubDate>
  </item>
  <item>
   <title>How to design a good class</title>
   <description><![CDATA[<br>
<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="http://carol.blogbus.com/logs/1359132.html">用什么来创建线程</a> 2005-08-15</div><div><a href="http://carol.blogbus.com/logs/1272748.html">前段时间从china-pub弄来的书</a> 2005-06-17</div><div><a href="http://carol.blogbus.com/logs/491810.html">不是好消息</a> 2004-11-12</div><div><a href="http://carol.blogbus.com/logs/465269.html">时间流啊流</a> 2004-10-28</div><div><a href="http://carol.blogbus.com/logs/369646.html">今天买了两本书——TDD &amp; CodeReading</a> 2004-09-04</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F1501575.html&title=How+to+design+a+good+class">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/1501575.html</link>
   <author></author>
   <pubDate>Wed, 12 Oct 2005 14:10:10 +0800</pubDate>
  </item>
  <item>
   <title>VB6 的点滴</title>
   <description><![CDATA[<p>招聘里面老是会有“精通”的字眼，如今滥用“精通”的找人单位是要被人鄙视的，呵呵。</p><p>因为吧，熟练就是要用很多很多的时间来积累使用经验；而精通，可能就要求你不仅知道怎么做，还要知道他的下层原理，与其他技术的关系等等等。。。</p><p>我就积累一些VB的经验，需要的时候能用上就不错了。</p><p>VB里面用滚轮；运行时动态生成菜单的讨论：<a href="http://blog.joycode.com/zee/archive/2005/09/28/64316.aspx">http://blog.joycode.com/zee/archive/2005/09/28/64316.aspx</a></p><!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="http://carol.blogbus.com/logs/1290755.html">关于Hash表</a> 2005-06-28</div><div><a href="http://carol.blogbus.com/logs/1265799.html">C++ 中的 array 和 list</a> 2005-06-14</div><div><a href="http://carol.blogbus.com/logs/313670.html">为 Navicom 做一些VB的准备[zt]</a> 2004-08-07</div><div><a href="http://carol.blogbus.com/logs/198632.html">How to Write Secure Code</a> 2004-05-30</div><div><a href="http://carol.blogbus.com/logs/195834.html">debug mode to release mode</a> 2004-05-28</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F1490063.html&title=VB6+%E7%9A%84%E7%82%B9%E6%BB%B4">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/1490063.html</link>
   <author></author>
   <pubDate>Sat, 08 Oct 2005 10:22:49 +0800</pubDate>
  </item>
  <item>
   <title>深入浅出MFC第二章 - C++ 的重要性质</title>
   <description><![CDATA[<PRE>jjhou 只是大概地把C++的特性过了一遍，但是讲的很清晰，正好帮我复习了几个重要概念。</PRE><PRE>封装 encapsulation</PRE><PRE>继承 inheritance</PRE><PRE>虚拟函数和多态 polymorphism</PRE><PRE>构造函数和析构函数</PRE><PRE>RTTI</PRE><PRE>模版 template</PRE><PRE>动态生成</PRE><PRE>异常处理</PRE><!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="/logs/2372814.html">昨晚开始模拟人生2咯</a> 2006-04-29</div><div><a href="/logs/2118553.html">I2C - 计算比特率的值</a> 2006-03-23</div><div><a href="/logs/1938475.html">pSoc - interrupt priorities</a> 2006-02-17</div><div><a href="/logs/1918866.html">pSoc source collection</a> 2006-02-13</div><div><a href="/logs/1359132.html">用什么来创建线程</a> 2005-08-15</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F1364194.html&title=%E6%B7%B1%E5%85%A5%E6%B5%85%E5%87%BAMFC%E7%AC%AC%E4%BA%8C%E7%AB%A0+-+C%2B%2B+%E7%9A%84%E9%87%8D%E8%A6%81%E6%80%A7%E8%B4%A8">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/1364194.html</link>
   <author></author>
   <pubDate>Wed, 17 Aug 2005 08:53:56 +0800</pubDate>
  </item>
  <item>
   <title>用什么来创建线程</title>
   <description><![CDATA[http://simplesamples.info/Windows/_beginthreadex.php<br>
创建线程的几个选择：<br>
CreateThread &amp; EndThread<br>
_beginthread() &amp; _endthread()<br>
_beginthreadex() &amp; _endthreadex()<br>
最后一个最好<br>
<!--sp--><div class="relpost"><br/><h3>随机文章：</h3><div><a href="http://carol.blogbus.com/logs/1501575.html">How to design a good class</a> 2005-10-12</div><div><a href="/logs/2112368.html">pSoc 在程序中动态改变 I2C slave 设备的地址</a> 2006-03-22</div><div><a href="/logs/1490063.html">VB6 的点滴</a> 2005-10-08</div><div><a href="/logs/1269925.html">因为图形，再次有些想法</a> 2005-06-16</div><div><a href="/logs/1265799.html">C++ 中的 array 和 list</a> 2005-06-14</div></div><div class="addfav"><br />收藏到：<span class= "delicious"><a href="http://delicious.com/save?url=http%3A%2F%2Fcarol.blogbus.com%2Flogs%2F1359132.html&title=%E7%94%A8%E4%BB%80%E4%B9%88%E6%9D%A5%E5%88%9B%E5%BB%BA%E7%BA%BF%E7%A8%8B">Del.icio.us</a></span></div><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://carol.blogbus.com/logs/1359132.html</link>
   <author></author>
   <pubDate>Mon, 15 Aug 2005 11:38:29 +0800</pubDate>
  </item>
 </channel>
</rss>
