⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 有人用过cs5522(或5532)吗? ---avr (原ouravr_com) 技术论坛.htm

📁 CS5532的驱动程序
💻 HTM
📖 第 1 页 / 共 5 页
字号:
            width=7> <A class=tt4 
            href="http://www.ouravr.com/bbs/user_information.jsp?user_name=rainboyfdy" 
            target=_blank>资料</A> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <SPAN class=f01>邮件</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> </TD>
          <TD align=right><IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <SPAN class=f01>编辑</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <SPAN class=f01>删除</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0 
cellPadding=6 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=f03 
    style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #ffffff 0.5pt solid" 
    vAlign=top align=left width="19%" bgColor=#d1d9e2 rowSpan=2>【10楼】 <FONT 
      color=#000000>biansf2001 花溅泪</FONT><BR><IMG height=96 
      src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/armok0131242.GIF" 
      width=120><BR>积分:<FONT color=#000000>626</FONT><BR>派别:<FONT 
      color=#000000></FONT><BR>等级:<FONT color=#000000>------</FONT><BR>来自:<FONT 
      color=#000000>河南郑州</FONT><BR></TD>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" 
    vAlign=top width="81%" bgColor=#d1d9e2><FONT 
      color=#000000>明天上班给你我的程序</FONT> </TD></TR>
  <TR>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #ffffff 0.5pt solid" 
    vAlign=bottom bgColor=#d1d9e2>  </TD></TR>
  <TR>
    <TD class=f03 
    style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid" 
    align=left width="19%" bgColor=#d1d9e2><IMG height=1 
      src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
      width=7>2005-09-25,20:07:17 </TD>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid" 
    vAlign=top width="81%" bgColor=#d1d9e2 ?>
      <TABLE width="100%">
        <TBODY>
        <TR>
          <TD align=left><IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <A class=tt4 
            href="http://www.ouravr.com/bbs/user_information.jsp?user_name=biansf2001" 
            target=_blank>资料</A> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <A class=tt4 href="mailto:biansf2001@sohu.com">邮件</A> <IMG 
            height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> </TD>
          <TD align=right><IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <SPAN class=f01>编辑</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <SPAN class=f01>删除</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0 
cellPadding=6 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid" 
    vAlign=top align=left width="19%" bgColor=#e8e8e8 rowSpan=2>【11楼】 <FONT 
      color=#000000>wenhuaxiao </FONT><BR>积分:<FONT 
      color=#000000>76</FONT><BR>派别:<FONT color=#000000></FONT><BR>等级:<FONT 
      color=#000000>------</FONT><BR>来自:<FONT color=#000000></FONT><BR></TD>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" 
    vAlign=top width="81%" bgColor=#e8e8e8><FONT 
      color=#000000>我在用CS5523,等待中......</FONT> </TD></TR>
  <TR>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid" 
    vAlign=bottom bgColor=#e8e8e8>  </TD></TR>
  <TR>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid" 
    align=left width="19%" bgColor=#e8e8e8><IMG height=1 
      src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
      width=7>2005-09-26,08:12:46 </TD>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid" 
    vAlign=top width="81%" bgColor=#e8e8e8 ?>
      <TABLE width="100%">
        <TBODY>
        <TR>
          <TD align=left><IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <A class=tt4 
            href="http://www.ouravr.com/bbs/user_information.jsp?user_name=wenhuaxiao" 
            target=_blank>资料</A> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <SPAN class=f01>邮件</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> </TD>
          <TD align=right><IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=2> <SPAN class=f01>编辑</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <SPAN class=f01>删除</SPAN> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> <IMG height=1 
            src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/pixel.gif" 
            width=7> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0 
cellPadding=6 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=f03 
    style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #ffffff 0.5pt solid" 
    vAlign=top align=left width="19%" bgColor=#d1d9e2 rowSpan=2>【12楼】 <FONT 
      color=#000000>biansf2001 花溅泪</FONT><BR><IMG height=96 
      src="有人用过cs5522(或5532)吗? ---AVR (原ourAVR_com) 技术论坛.files/armok0131242.GIF" 
      width=120><BR>积分:<FONT color=#000000>626</FONT><BR>派别:<FONT 
      color=#000000></FONT><BR>等级:<FONT color=#000000>------</FONT><BR>来自:<FONT 
      color=#000000>河南郑州</FONT><BR></TD>
    <TD class=f03 
    style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" 
    vAlign=top width="81%" bgColor=#d1d9e2><FONT 
      color=#000000>const&nbsp;unsigned&nbsp;char&nbsp;ADInitData[35]= 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{0x41, 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0xfe,0x00,0x00,0x00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//通道0 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0xfe,0x00,0x00,0x00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//通道1 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0xfe,0x00,0x00,0x00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//通道2 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0xfe,0x00,0x00,0x00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//通道3 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x45,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//设置所有通道设置寄存器 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x31,0xc0,0x31,0xc0,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//0x31:12.5Hz,通道1(1、2脚) 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x31,0xc0,0x31,0xc0,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//0x71,通道2(19、20脚) 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x31,0xc0,0x31,0xc0, 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x31,0xc0,0x31,0xc0, 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0xc0};&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//执行多路连续转换 
      <BR>const&nbsp;unsigned&nbsp;char&nbsp;ADResetData[6]= 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{0xfe,0x03,0x20,0x00,0x00,0x00};&nbsp;//配置寄存器RS位置1,AD复位 
      <BR>//cs5532操作IO延时 <BR>void&nbsp;AD_delay(void) <BR>{ <BR>} 
      <BR>//cs5532写寄存器 <BR>void&nbsp;AD_write(unsigned&nbsp;char&nbsp;byte) 
      <BR>{ 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned&nbsp;char&nbsp;i,data; 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;data=byte; 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for(i=0;i&lt;8;i++) 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if((data&amp;0x80)==0x80)&nbsp;PORTB|=(1&lt;&lt;AD_SDI); 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;PORTB&amp;=~(1&lt;&lt;AD_SDI); 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AD_delay(); 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -