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

📄 slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.htm

📁 关于FIFO的一些设计资料
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0048)http://bbs.zndev.com/htm_data/9/0606/112395.html -->
<!----><HTML><HEAD><TITLE>slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind.net</TITLE>
<META http-equiv=Expires content=-1>
<META http-equiv=Content-Type content="text/html; charset=gbk">
<META content=index,follow name=robots>
<META content=phpwind,bbs,board,php,mysql,forums name=keywords><!--css-->
<STYLE type=text/css>BODY {
	FONT-SIZE: 12px; BACKGROUND: #ffffff; MARGIN: 0px; COLOR: #000000; FONT-FAMILY: Verdana
}
TD {
	FONT-SIZE: 12px
}
TEXTAREA {
	FONT-SIZE: 12px; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff
}
INPUT {
	FONT-SIZE: 12px; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff
}
SELECT {
	FONT-SIZE: 12px; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff
}
FORM {
	DISPLAY: inline; MARGIN: 0px
}
DIV.quote {
	BORDER-RIGHT: #cccccc 1px dashed; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px dashed; PADDING-LEFT: 5px; BACKGROUND: #fbfbfb; PADDING-BOTTOM: 5px; MARGIN: 5px 20px; BORDER-LEFT: #cccccc 1px dashed; LINE-HEIGHT: normal; PADDING-TOP: 5px; BORDER-BOTTOM: #cccccc 1px dashed
}
A {
	TEXT-DECORATION: none
}
A:hover {
	TEXT-DECORATION: underline
}
IMG {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
.banner {
	BACKGROUND: #84aace
}
.head {
	PADDING-RIGHT: 5px; PADDING-LEFT: 5px; BACKGROUND: #84aace; PADDING-BOTTOM: 5px; COLOR: #ffffff; PADDING-TOP: 5px
}
.head A {
	COLOR: #ffffff
}
.hr {
	BORDER-RIGHT: 0px; BORDER-TOP: #e7e3e7 1px solid; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
.t_one {
	BACKGROUND: #ffffff
}
.t_two {
	BACKGROUND: #ffffff
}
.cbg {
	BACKGROUND: #e5e8ea; COLOR: #000000
}
.cbg A {
	COLOR: #000000
}
.smalltxt {
	FONT-SIZE: 12px; FONT-FAMILY: Tahoma, Verdana
}
.cfont {
	COLOR: #ffffff
}
.tpc_title {
	FONT-WEIGHT: bold; FONT-SIZE: 12px
}
.tpc_content {
	FONT-SIZE: 13px
}
.i_table {
	BORDER-RIGHT: #e7e3e7 1px solid; BORDER-TOP: #e7e3e7 1px solid; BACKGROUND: #d6e3ef; BORDER-LEFT: #e7e3e7 1px solid; BORDER-BOTTOM: #e7e3e7 1px solid
}
</STYLE>
<!--css-->
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY vLink=#333333 link=#333333>
<TABLE cellSpacing=0 cellPadding=0 width="98%" align=center>
  <TBODY>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width="100%">
        <TBODY>
        <TR vAlign=bottom>
          <TD class=banner align=left><A 
            href="http://bbs.zndev.com/index.php"><IMG 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/logo.gif"></A></TD>
          <TD class=banner vAlign=center>
            <SCRIPT language=JavaScript 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/adx.js" 
            type=text/javascript></SCRIPT>

            <SCRIPT language=JavaScript type=text/javascript>
<!--
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("http://ads.zndev.com/adjs.php?n=" + phpAds_random);
   document.write ("&amp;what=zone:3");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");
//-->
</SCRIPT>
            <NOSCRIPT><A href="http://ads.zndev.com/adclick.php?n=aae596dd" 
            target=_blank><IMG alt="" 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/ads.gif" 
            border=0></A></NOSCRIPT> </TD></TR>
        <TR>
          <TD align=middle bgColor=#ffffff colSpan=2 height=1></TD></TR>
        <TR>
          <TD class=cbg align=middle colSpan=2 height=26><A 
            href="http://bbs.zndev.com/profile.php">控制面板</A> | <A 
            href="http://bbs.zndev.com/message.php">短消息</A> | <A 
            href="http://bbs.zndev.com/search.php">搜索</A> | <A 
            href="http://bbs.zndev.com/member.php">会员</A> | <A 
            href="http://bbs.zndev.com/faq.php">帮助</A> | <A 
            href="http://bbs.zndev.com/index.php">社区</A> | <A 
            href="http://bbs.zndev.com/c_index.php">首页</A> | <A 
            href="http://bbs.zndev.com/simple/" target=_blank>无图版</A> 
        </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><BR><!---->
<TABLE cellSpacing=0 cellPadding=0 width="98%" align=center>
  <TBODY>
  <TR>
    <TD><IMG 
      src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/home.gif" 
      align=absBottom> <B><A 
      href="http://bbs.zndev.com/index.php">驱动程序开发网技术社区</A> -&gt; <A 
      href="http://bbs.zndev.com/thread.php?fid=9">USB驱动开发</A> -&gt; slave fifo 
      收数不正确问题 附源码</B></TD>
    <TD align=right><B><A 
      href="http://bbs.zndev.com/read.php?fid=9&amp;tid=112395&amp;toread=1">转到动态网页</A> 
      </B></TD></TR>
  <TR>
    <TD colSpan=2 height=5></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=1 width="98%" align=center>
  <TBODY>
  <TR>
    <TD align=left></TD>
    <TD align=right><A href="http://bbs.zndev.com/post.php?fid=9"><IMG 
      src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/post.gif"></A> 
      <A href="http://bbs.zndev.com/post.php?action=vote&amp;fid=9"><IMG 
      src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/vote.gif"></A> 
      <A 
      href="http://bbs.zndev.com/post.php?action=reply&amp;fid=9&amp;tid=112395"><IMG 
      src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/reply.gif"></A> 
    </TD></TR></TBODY></TABLE>
<TABLE 
style="BORDER-RIGHT: #e7e3e7 1px solid; BORDER-TOP: #e7e3e7 1px solid; BORDER-LEFT: #e7e3e7 1px solid" 
cellSpacing=0 cellPadding=1 width="98%" align=center>
  <TBODY>
  <TR>
    <TD class=head align=left>--&gt; <B>本页主题:</B> slave fifo 收数不正确问题 附源码</TD>
    <TD class=head align=right><A 
      onclick="Addtoie('http://bbs.zndev.com/read.php?fid=9&amp;tid=112395','驱动程序开发网技术社区--slave fifo 收数不正确问题 附源码')" 
      href="http://bbs.zndev.com/htm_data/9/0606/112395.html#">加为IE收藏</A> | <A 
      href="http://bbs.zndev.com/job.php?action=favor&amp;job=add&amp;tid=112395">收藏主题</A> 
      | <A 
      href="http://bbs.zndev.com/job.php?rd_previous=1&amp;fid=9&amp;tid=112395&amp;fpage=&amp;goto=previous">上一主题</A> 
      | <A 
      href="http://bbs.zndev.com/job.php?rd_previous=1&amp;fid=9&amp;tid=112395&amp;fpage=&amp;goto=next">下一主题</A> 
    </TD></TR></TBODY></TABLE><!----><A name=lastatc></A>
<TABLE style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word" cellSpacing=1 
cellPadding=0 width="98%" align=center bgColor=#e7e3e7>
  <TBODY>
  <TR>
    <TD 
    style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" 
    vAlign=top width="20%" bgColor=#ffffff height="100%"><FONT face=Gulim 
      color=#000066><B>八戒</B></FONT><BR>
      <TABLE cellSpacing=0 cellPadding=0 width="98%">
        <TBODY>
        <TR>
          <TD align=middle><BR><BR></TD></TR></TBODY></TABLE><BR><BR><!----><IMG 
      src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/8.gif"> 
      <BR>级别: <FONT color=#555555>驱动牛犊</FONT><BR>精华: <FONT 
      color=green><B>0</B></FONT><BR>发帖: <FONT 
      color=green><B>2</B></FONT><BR>威望: <FONT color=#984b98><B>3 
      点</B></FONT><BR>积分: <FONT color=#984b98><B>20 分</B></FONT><BR><!---->贡献值: 
      <FONT color=red><B>0 点</B></FONT><BR><!---->注册时间:2006-06-08<BR></TD>
    <TD vAlign=top width="80%" bgColor=#ffffff height="100%">
      <TABLE style="TABLE-LAYOUT: fixed; WORD-WRAP: break-word" height="100%" 
      cellSpacing=0 cellPadding=6 width="99%" align=center>
        <TBODY>
        <TR height="100%">
          <TD vAlign=top bgColor=#ffffff colSpan=6><!----><A 
            href="http://blog.zndev.com/blog.php?bbsuid=149077" 
            target=_blank><IMG alt=进入个人主页 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/homepage.gif" 
            align=absMiddle></A> <!----><A 
            href="http://bbs.zndev.com/profile.php?action=show&amp;uid=149077"><IMG 
            alt=查看作者资料 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/profile.gif" 
            align=absMiddle></A> <A 
            href="http://bbs.zndev.com/message.php?action=write&amp;touid=149077"><IMG 
            alt=发送短消息 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/message.gif" 
            align=absMiddle></A> <A 
            href="http://bbs.zndev.com/sendemail.php?uid=149077"><IMG alt=发送邮件 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/email.gif" 
            align=absMiddle></A> <A 
            href="http://bbs.zndev.com/sendemail.php?action=tofriend&amp;tid=112395"><IMG 
            alt=推荐此帖 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/emailto.gif" 
            align=absMiddle></A> <A 
            href="http://bbs.zndev.com/post.php?action=quote&amp;fid=9&amp;tid=112395&amp;pid=tpc&amp;article=0"><IMG 
            alt=引用回复这个帖子 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/quote.gif" 
            align=absMiddle></A> <A 
            href="http://bbs.zndev.com/post.php?action=modify&amp;fid=9&amp;tid=112395&amp;pid=tpc&amp;article=0"><IMG 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/edit.gif" 
            align=absMiddle></A> <!----><BR><BR><IMG 
            src="slave fifo 收数不正确问题 附源码 驱动程序开发网技术社区 - powered by phpwind_net.files/13.gif" 
            align=left border=0> <SPAN class=tpc_title>slave fifo 收数不正确问题 
            附源码</SPAN><BR><!----><BR><SPAN class=tpc_content>我用Slave FIFO 
            模式<BR>void TD_Init(void) &nbsp; &nbsp; &nbsp; &nbsp; // Called once 
            at startup<BR>{ &nbsp; <BR>&nbsp; &nbsp;IFCONFIG = 0x03; // use 
            IFCLK pin driven by external logic (5MHz to 48MHz)<BR>&nbsp; 
            &nbsp;// use slave FIFO interface pins driven sync by external 
            master<BR>&nbsp; &nbsp;SYNCDELAY;<BR>&nbsp; &nbsp;REVCTL = 0x03; // 
            REVCTL.0 and REVCTL.1 set to 1<BR>&nbsp; &nbsp;SYNCDELAY;<BR>&nbsp; 
            &nbsp;EP6CFG = 0xE2; // sets EP8 valid for IN's<BR>// &nbsp; 
            &nbsp;EP8CFG = 0xE2; // sets EP8 valid for IN's &nbsp; 
            &nbsp;<BR>&nbsp; &nbsp;// and defines the endpoint for 1024 byte 
            packets, 2x buffered<BR>&nbsp; &nbsp;SYNCDELAY; &nbsp; &nbsp; &nbsp; 
            &nbsp; <BR>&nbsp; &nbsp;FIFORESET = 0x80; // reset all 
            FIFOs<BR>&nbsp; &nbsp;SYNCDELAY;<BR>&nbsp; &nbsp;FIFORESET = 
            0x02;<BR>&nbsp; &nbsp;SYNCDELAY;<BR>&nbsp; &nbsp;FIFORESET = 
            0x04;<BR>&nbsp; &nbsp;SYNCDELAY;<BR>&nbsp; &nbsp;FIFORESET = 
            0x06;<BR>&nbsp; &nbsp;SYNCDELAY;<BR>&nbsp; &nbsp;FIFORESET = 
            0x08;<BR>&nbsp; &nbsp;SYNCDELAY;<BR>&nbsp; &nbsp;FIFORESET = 
            0x00;<BR>&nbsp; &nbsp;SYNCDELAY; // this defines the external 

⌨️ 快捷键说明

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