<?xml version="1.0" encoding="gb2312"?><rss version="2.0"><channel><title>cbqcgq的博客</title><link></link><description></description><language>zh-cn</language><generator>Goodspeed Rss</generator><ttl>20</ttl><pubDate>Sun, 07 Sep 2008 22:22:31 GMT</pubDate><category></category><copyright></copyright><docs></docs><item><title>AVR读写外部RAM时出现的问题</title><pubDate>Mon, 26 Mar 2007 16:47:16 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/19250/message.aspx</link><description>AVR读写外部RAM时出现的问题 问： 1，对AT90S8515来说，外部RAM的地址肯定是从0x0260开始的？ 2，我用ICE200仿真8515读写外部RAM，RAM大小为32K Bytes,地址映射到0x0000-0x7fff,用PC7做它的片选。把SRE置为1，当我访问0x0300时PC7为</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/19250/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>理解#defineSREG（*(volatileunsignedchar*)0x5F</title><pubDate>Mon, 26 Mar 2007 15:45:57 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/19227/message.aspx</link><description>以前看到#define SREG (*(volatile unsigned char *)0x5F) 这样的定义，总是感觉很奇怪，不知道为什么，今天终于有了一点点心得，请大虾们多多批砖~~~ 嵌入式系统编程，要求程序员能够利用C语言访问固定的内存地址。既然是个地址，那么按照C语言的语法规则，这个表示</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/19227/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>AVR复位和中断处理</title><pubDate>Mon, 26 Mar 2007 12:56:10 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/19203/message.aspx</link><description>AVR提供了几种不同的中断源。这些中断和复位向量在程序存储器空间内都有自己单独的程序向量。所有中断都被分配一个私有的使能位，要想使能某一中断，就要向其使能位写入逻辑1，而且要把状态寄存器中的全局中断使能位置1。  程序存储器空间最低的一些地址，被默认定义为复位和中断向量。完整的向量列表见“中断”部分</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/19203/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>红外线遥控原理</title><pubDate>Mon, 26 Mar 2007 00:28:36 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/19156/message.aspx</link><description> 作者：微电 出处：微电通讯 更新时间： 2006年07月14日 红外线遥控是目前使用最广泛的一种通信和遥控手段。由于红外线遥控装置具有体积小、功耗低、功能强、成本低等特点，因而，继彩电、录像机之后，在录音机、音响设备、空凋机以及玩具等其它小型电器装置上也纷纷采用红外线遥控。工业设备中，在高压、辐射</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/19156/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>AVR中断应用设计要点</title><pubDate>Mon, 26 Mar 2007 00:22:41 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/19155/message.aspx</link><description>AVR的中断源比较多，尤其是ATmega128，一共有35个外部以及内部中断源。通常情况下，Flash程序存储器空间的最低位置（0x0000－0x0045）定义为复位和中断向量空间。完整的中断向量见第二章表2-23。在中断向量表中，处于低地址的中断向量所对应的中断拥有高优先级，所以，系统复位RESE</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/19155/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>avr单片机中断使用心得</title><pubDate>Sun, 25 Mar 2007 23:59:45 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/19154/message.aspx</link><description>中断响应后由硬件自动清零全局中断,任何中断都无法响应,在执行完中断程序后,全局中断打开.如果需要中断嵌套,则在中断程序里软件添加打开全局中断.就可以响应任何中断(包括比本中断优先级低的中断).以至可以中断自己嵌套自己(例如中断时间是每隔100ms一次,而中断执行时间是1s.那样中断就自己嵌套自己,程</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/19154/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>一条短信发错之后!!!!!!!</title><pubDate>Fri, 23 Mar 2007 13:41:21 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/18943/message.aspx</link><description>一条短信发错之后 !!!!!!!故事发生在2006年１月6日..... &amp;amp;gt;这几天心情不好，晚上我呆在家里无聊，给我以前的一个女朋友发了一条短信，短信 内容如下：“宝贝，干什么呢，晚上出来陪陪我啊，虽然是冬天，但是我好热啊，我知 道你会给我解热的，我在凯宾美丽城等你啊。”但是由于本人精神不集中，</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/18943/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>AVR外部SRAM</title><pubDate>Tue, 20 Mar 2007 22:17:54 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/18703/message.aspx</link><description>在实际AVR应用中很多朋友往往需要扩展external SRAM，首先我声明一点，AVR扩展SRAM的方法和51扩展的方法一样，在此不在累述。语言写得非常土，高手可以不看。下面主要讲ATmega162扩展SRAM的特点。先摘录datasheet里面的一段：An optional external d</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/18703/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>ATEMGA128-16读写外部32KRAM-70NS的完整测试程序</title><pubDate>Tue, 20 Mar 2007 16:36:11 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/18695/message.aspx</link><description>地址分配 0X0000-0X10FF 内部4KRAM 0X1100-0X7FFF 外部32KRAM 系统频率16M ,BAUD=9600,下面对程序对0/1/2/2+1等待状态下,RAM进行测试,全部通过!! //ICC-AVR application builder : 2006-8-14 16:</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/18695/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>volatile的使用</title><pubDate>Tue, 20 Mar 2007 14:58:13 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/18670/message.aspx</link><description>变量定位  普通变量的定义和访问同标准C语言，在HCS08 C语言中我们主要要解决映像寄存器变量和某些特殊变量的定位问题，即把这些变量存放在RAM中指定的位置。1映像寄存器定位映像寄存器单片机中跟硬件有关的寄存器，它们都有各自固定RAM地址，其定位有3种方法1)宏定义例如：#define PortA</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/18670/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>向应用程序发送消息</title><pubDate>Mon, 19 Mar 2007 15:35:26 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/18619/message.aspx</link><description> 当子窗口控件的状态发生改变时，控件通过向其父窗口发送WM_COMMAND消息进行通信，在该消息的wParam中含有通知消息和控件的ID，在lParam中则包含了控件的句柄。例如，当用户在按钮上单击鼠标时，按钮控件会向父窗口发送BN_CLICKED消息。 利用ClassWizard可以很容易地为控件</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/18619/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>AVRSTUDIO调试点滴-Creatinganewproject</title><pubDate>Sat, 17 Mar 2007 11:20:55 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/18422/message.aspx</link><description>Create a new project by selecting &amp;apos;New Project.&amp;apos; from the Project menu. This will open the Project Wizard.  Select AVR GCC as the &amp;apos;Project Type&amp;apos;, spec</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/18422/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>EEPROM的操作</title><pubDate>Wed, 14 Mar 2007 14:27:54 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/18090/message.aspx</link><description>本程序简单的示范了如何使用ATMEGA16的EERPOM EEPROM的简介 EEPROM的写操作 EEPROM的读操作 出于简化程序考虑，各种数据没有对外输出，学习时建议使用JTAG ICE硬件仿真器 在打开调试文件到JTAG后， 打开Debug -&amp;amp;gt; JTAG ICE Options菜单，</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/18090/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>单片温度采集DS18B20</title><pubDate>Mon, 12 Mar 2007 16:57:38 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/17917/message.aspx</link><description>项 目: DS18B20_TEST 编 译 器: AVR Studio_4.12sp4+winAVR412 目 标 芯 片: ATmega16 时 钟: 外部 8000000hz#define DS18b20_PORT PORTB #define DS18b20_DDR DDRB #define D</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/17917/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>h1602c液晶显示函数</title><pubDate>Mon, 12 Mar 2007 16:55:27 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/17916/message.aspx</link><description>/************************************************************************************* 项 目: 1602液晶显示实验 编 译 器: AVR Studio_4.12sp4+winAVR412 目 标 芯 片: AT</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/17916/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>实时时钟DS1302应用</title><pubDate>Mon, 12 Mar 2007 16:21:20 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/17914/message.aspx</link><description>#define DS1302_PORT PORTC #define DS1302_DDR DDRC #define DS1302_PIN PINC#define SETBIT(x,y) (x|=(1&amp;amp;lt;&amp;amp;lt;y)) #define CLRBIT(x,y) (x&amp;amp;amp;=(~(1&amp;amp;lt;&amp;amp;lt</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/17914/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>CWnd::GetWindowText的MSDN说明－还是MSDN好哇</title><pubDate>Sun, 11 Mar 2007 23:16:41 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/17872/message.aspx</link><description> CWnd::GetWindowTextint GetWindowText( LPTSTR lpszStringBuf, int nMaxCount ) const;void GetWindowText( CString&amp;amp;amp; rString ) const;Return ValueSpecif</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/17872/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>msdn关于GetSize()的解释</title><pubDate>Thu, 08 Mar 2007 13:29:05 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/17602/message.aspx</link><description>msdn关于GetSize()的解释：1，CArray 队列CArray::GetSize int GetSize( ) const; Remarks Returns the size of the array. Since indexes are zero-based, the size is 1</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/17602/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>如何理解LPCTSTR类型</title><pubDate>Thu, 08 Mar 2007 13:20:38 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/17596/message.aspx</link><description>如何理解LPCTSTR类型？ L表示long指针这是为了兼容Windows 3.1等16位操作系统遗留下来的， 在win32中以及其他的32为操作系统中， long指针和near指针及far修饰符都是为了兼容的作用。没有实际意义。 P表示这是一个指针 C表示是一个常量 T表示在Win32环境中， 有</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/17596/message.aspx</guid><category></category><author>cbqcgq</author></item><item><title>如何设置自动发送</title><pubDate>Thu, 08 Mar 2007 12:16:16 GMT</pubDate><link>http://blog.ednchina.com/cbqcgq/17595/message.aspx</link><description> 最简单的设定自动发送周期是用SetTimer()函数，这在数据采集中很有用，在控制中指令的传送也可能用到定时发送。 方法是：在ClassWizard中选上MessageMap卡，然后在Objects IDs选中CSCommTestDlg类，再在Messages框中选上WM_TIMER消息，单击AD</description><comments></comments><guid>http://blog.ednchina.com/cbqcgq/17595/message.aspx</guid><category></category><author>cbqcgq</author></item></channel></rss>