亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 【dsp技術】-68013 slave fifo模代碼[威恒電子在線].htm

?? 68013與fifo通信設置
?? HTM
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0059)http://www.vheng.com/bbs/TopicOther.asp?t=5&BoardID=5&id=51 -->
<HTML><HEAD><TITLE>【DSP技術】-68013 Slave FIFO模代碼[威恒電子在線]</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<META content=威恒電子在線,開發板,DSP,ARM,USB,EDA name=keywords><!--威恒電子在線--優秀的開發套件提供商-->
<META content=TRUE name=MSSmartTagsPreventParsing>
<META http-equiv=MSThemeCompatible content=Yes><LINK href="favicon.ico" 
rel="SHORTCUT ICON"><LINK 
href="【DSP技術】-68013 Slave FIFO模代碼[威恒電子在線].files/aspsky_1.css" type=text/css 
rel=stylesheet><LINK title=【DSP技術】-最新20篇論壇主題 
href="rssfeed.asp?boardid=5&amp;rssid=4" type=application/rss+xml rel=alternate>
<SCRIPT language=javaScript 
src="【DSP技術】-68013 Slave FIFO模代碼[威恒電子在線].files/Main.js" 
type=text/javascript></SCRIPT>
</HEAD>
<BODY onload="if(window.name!=''){document.body.style.width='98%';}">
<DIV class=menuskin id=popmenu onmouseover=clearhidemenu() style="Z-INDEX: 100" 
onmouseout=dynamichide(event)></DIV>
<SCRIPT language=javascript type=text/javascript>var boardxml='<?xml version="1.0" encoding="gb2312"?><BoardList><board boardid="1" boardtype="產品服務專區" parentid="0" depth="0" rootid="1" child="2" hidden="0" nopost="0"><board boardid="2" boardtype="【DSP產品服務區】" parentid="1" depth="1" rootid="1" child="0" hidden="0" nopost="0"/><board boardid="3" boardtype="【FPGA/CPLD服務區】" parentid="1" depth="1" rootid="1" child="0" hidden="0" nopost="0"/></board><board boardid="4" boardtype="電子技術討論區" parentid="0" depth="0" rootid="2" child="5" hidden="0" nopost="0"><board boardid="5" boardtype="【DSP技術】" parentid="4" depth="1" rootid="2" child="0" hidden="0" nopost="0"/><board boardid="6" boardtype="【EDA技術】" parentid="4" depth="1" rootid="2" child="0" hidden="0" nopost="0"/><board boardid="7" boardtype="【嵌入式技術】" parentid="4" depth="1" rootid="2" child="0" hidden="0" nopost="0"/><board boardid="8" boardtype="【單片機】" parentid="4" depth="1" rootid="2" child="0" hidden="0" nopost="0"/><board boardid="12" boardtype="【儀器儀表】" parentid="4" depth="1" rootid="2" child="0" hidden="0" nopost="0"/></board><board boardid="9" boardtype="其他" parentid="0" depth="0" rootid="3" child="2" hidden="0" nopost="0"><board boardid="10" boardtype="【商業廣告】" parentid="9" depth="1" rootid="3" child="0" hidden="0" nopost="0"/><board boardid="11" boardtype="【工程師茶館】" parentid="9" depth="1" rootid="3" child="0" hidden="0" nopost="0"/></board></BoardList>';</SCRIPT>
<!--printpage.asp##帖子可打印頁面-->
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" width="98%" 
align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top 
      align=middle><B>以文本方式查看主題</B><BR><BR>-&nbsp;&nbsp;<B>威恒電子在線</B>&nbsp;&nbsp;(http://www.vheng.com/bbs/index.asp)<BR>--&nbsp;&nbsp;<B>【DSP技術】</B>&nbsp;&nbsp;(http://www.vheng.com/bbs/list.asp?boardid=5)<BR>----&nbsp;&nbsp;<B>68013 
      Slave 
      FIFO模代碼</B>&nbsp;&nbsp;(http://www.vheng.com/bbs/dispbbs.asp?boardid=5&amp;id=51)<BR>
      <HR>
    </TD></TR><!--printpage.asp##{$bbslist}循環部分-->
  <TR>
    <TD vAlign=center 
      align=top>--&nbsp;&nbsp;作者:韋小寶<BR>--&nbsp;&nbsp;發布時間:2006-6-29 
      14:46:02<BR><B r>--&nbsp;&nbsp;68013 Slave FIFO模代碼<BR><FONT 
      size=2>TD_Init()<BR>{<BR>CPUCS = 0x10; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      // CLKSPD[1:0]=10, for 48MHz operation<BR><BR>IFCONFIG = 0xc3;<BR>// 
      IFCLKSRC=1 &nbsp; , FIFOs executes on internal clk source<BR>// xMHz=1 
      &nbsp; &nbsp; , 48MHz internal clk rate<BR>// IFCLKOE=0 &nbsp; , tri state 
      IFCLK pin <BR>// IFCLKPOL=0 &nbsp; , Don\'t invert IFCLK pin signal from 
      internal clk<BR>// ASYNC=0 &nbsp; &nbsp; , master samples 
      synchronous<BR>// GSTATE=0 &nbsp; , Don\'t drive GPIF states out on 
      PORTE[2:0], debug WF<BR>// IFCFG[1:0]=11, FX2 in slave FIFO 
      mode<BR><BR><BR>SYNCDELAY; <BR>REVCTL = 0x03; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; // use enhanced packet handling<BR><BR>// EP2 1024 BULK OUT 
      4x<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>EP2CFG = 
      0xA8; &nbsp; &nbsp; // EP2 if DIR = out ,TYPE = BULK, SIZE = 1024 ,BUF = 
      quad<BR><BR>// EP4 EP6 EP8 are not used in this 
      implementation...<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      <BR>EP4CFG = 0x20; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // clear valid 
      bit<BR>SYNCDELAY; <BR>EP6CFG = 0x60; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      clear valid bit<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      <BR>EP8CFG = 0x60; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // clear valid 
      bit<BR><BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      <BR>FIFORESET = 0x80; &nbsp; &nbsp; &nbsp; &nbsp; // activate NAK-ALL to 
      avoid race conditions<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; // <BR>FIFORESET = 0x02; &nbsp; &nbsp; &nbsp; &nbsp; // reset, FIFO 
      2<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <BR>FIFORESET 
      = 0x04; &nbsp; &nbsp; &nbsp; &nbsp; // reset, FIFO 4<BR>SYNCDELAY; &nbsp; 
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <BR>FIFORESET = 0x06; &nbsp; &nbsp; 
      &nbsp; &nbsp; // reset, FIFO 6<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; &nbsp; // <BR>FIFORESET = 0x08; &nbsp; &nbsp; &nbsp; &nbsp; // 
      reset, FIFO 8<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      <BR>FIFORESET = 0x00; &nbsp; &nbsp; &nbsp; &nbsp; // deactivate 
      NAK-ALL<BR><BR>SYNCDELAY;<BR>// handle the case where we were already in 
      AUTO mode...<BR><BR>EP2FIFOCFG = 0x00; &nbsp; &nbsp; &nbsp; &nbsp; // 
      AUTOOUT=0, WORDWIDE=0<BR>SYNCDELAY;<BR><BR>EP2FIFOCFG = 0x11; &nbsp; 
      &nbsp; &nbsp; &nbsp; // AUTOOUT=1, WORDWIDE=1<BR>SYNCDELAY;<BR><BR>// 
      since the defaults are four times buffered we must write dummy byte counts 
      fourth<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      <BR>OUTPKTEND = 0x82; &nbsp; &nbsp; &nbsp; &nbsp; // arm first 
      buffer<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      <BR>OUTPKTEND = 0x82; &nbsp; &nbsp; &nbsp; &nbsp; // arm second 
      buffer<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      <BR>OUTPKTEND = 0x82; &nbsp; &nbsp; &nbsp; &nbsp; // arm third 
      buffer<BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 
      <BR>OUTPKTEND = 0x82; &nbsp; &nbsp; &nbsp; &nbsp; // arm fourth 
      buffer<BR><BR>IFCONFIG |= 0x20; &nbsp; &nbsp; &nbsp; &nbsp; // drive IFCLK 
      pin signal at 48MHz<BR><BR><BR>Rwuen = TRUE; &nbsp; &nbsp; &nbsp; &nbsp; 
      // Enable remote-wakeup<BR>}<BR><BR>可是我發現這樣不行,控制面板不能向端點2寫入數據,顯示“Write 
      IOCTL failed",好像沒有使能arm端點,于是我將程序改寫成這樣<BR>TD_Init()<BR>{<BR>CPUCS = 0x10; 
      &nbsp; &nbsp; &nbsp; &nbsp; <BR><BR>IFCONFIG = 0xc3;<BR><BR>SYNCDELAY; 
      <BR>REVCTL = 0x01; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //注意,我設成自動arm 
      端點buffer模式<BR><BR>&nbsp; SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; <BR>EP2CFG = 0xA8; &nbsp; <BR><BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; 
      &nbsp; &nbsp; &nbsp; <BR>EP4CFG = 0x20; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      <BR>SYNCDELAY; <BR>EP6CFG = 0x60; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      <BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>EP8CFG 
      = 0x60; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR><BR>SYNCDELAY; &nbsp; 
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>FIFORESET = 0x80; &nbsp; &nbsp; 
      &nbsp; &nbsp; <BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; <BR>FIFORESET = 0x02; &nbsp; &nbsp; &nbsp; &nbsp; <BR>SYNCDELAY; 
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>FIFORESET = 0x04; &nbsp; 
      &nbsp; &nbsp; &nbsp; <BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; <BR>FIFORESET = 0x06; &nbsp; &nbsp; &nbsp; &nbsp; <BR>SYNCDELAY; 
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>FIFORESET = 0x08; &nbsp; 
      &nbsp; &nbsp; &nbsp; <BR>SYNCDELAY; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; <BR>FIFORESET = 0x00; &nbsp; &nbsp; &nbsp; &nbsp; 
      <BR><BR>SYNCDELAY;<BR><BR>EP2FIFOCFG = 0x00; &nbsp; &nbsp; &nbsp; 
      <BR>SYNCDELAY;<BR><BR>EP2FIFOCFG = 0x11; &nbsp; //自動arm端點2FIFO &nbsp; 
      &nbsp; &nbsp; <BR>SYNCDELAY;<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>IFCONFIG |= 0x20; &nbsp; 
      &nbsp; &nbsp; &nbsp; <BR><BR>Rwuen = TRUE; &nbsp; &nbsp; &nbsp; 
      <BR>}</FONT><BR><BR>
      <HR>
      </B></TD></TR></TBODY></TABLE>
<SCRIPT language=JavaScript 
src="【DSP技術】-68013 Slave FIFO模代碼[威恒電子在線].files/Pagination.js"></SCRIPT>

<SCRIPT language=JavaScript>PageList(1,10,10,1,'t=5&BoardID=5&id=51',2)</SCRIPT>
</BODY></HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人久久精品77777最新版本| 国产精品综合av一区二区国产馆| 人人爽香蕉精品| 成人在线视频一区二区| 欧美无砖砖区免费| 久久精品日韩一区二区三区| 亚洲成人资源网| 成人自拍视频在线观看| 日韩一级黄色大片| 亚洲欧美激情视频在线观看一区二区三区| 免费视频一区二区| 91国产福利在线| 亚洲国产精品精华液2区45| 午夜成人在线视频| 色一情一伦一子一伦一区| 2021国产精品久久精品| 日本亚洲电影天堂| 欧美三级在线视频| 亚洲欧洲制服丝袜| 成人动漫av在线| 久久久久久久电影| 久久99精品久久久久| 欧美一区二区三区不卡| 亚洲mv在线观看| 色婷婷av一区二区三区gif| 国产精品高潮呻吟| 国产精品99久| 久久久久久一二三区| 欧美午夜精品一区| √…a在线天堂一区| 大胆欧美人体老妇| 中文字幕成人网| 成人中文字幕合集| 国产精品网站导航| 不卡一区二区中文字幕| 国产精品久久久久久久久免费丝袜 | 欧美人动与zoxxxx乱| 亚洲欧美精品午睡沙发| 色悠久久久久综合欧美99| 成人欧美一区二区三区在线播放| 国产电影一区在线| 日本一区二区三区四区| 成人国产精品免费观看| 18欧美乱大交hd1984| 粉嫩蜜臀av国产精品网站| 中文在线免费一区三区高中清不卡| 国产精品系列在线观看| 欧美激情在线观看视频免费| 国产成人免费在线观看不卡| 日本一区二区综合亚洲| jlzzjlzz国产精品久久| 夜夜揉揉日日人人青青一国产精品| 色婷婷激情综合| 午夜精品福利在线| 日日噜噜夜夜狠狠视频欧美人 | 性做久久久久久免费观看| 欧美日韩国产区一| 久久99久久99小草精品免视看| 久久久99免费| 91香蕉视频mp4| 无码av免费一区二区三区试看 | 亚洲精品视频一区| 欧美精品一二三区| 国产一区二区三区四区在线观看| 中文字幕乱码久久午夜不卡| 在线看不卡av| 国产一区二区在线影院| 亚洲欧美另类小说| 日韩免费一区二区| 91麻豆免费看片| 麻豆精品精品国产自在97香蕉| 中文字幕va一区二区三区| 欧美日韩激情在线| 成人美女在线观看| 日韩精品91亚洲二区在线观看| 久久久影院官网| 综合欧美一区二区三区| 欧美日韩精品一二三区| 丁香天五香天堂综合| 天天综合网 天天综合色| 国产精品久久一级| 精品国产伦一区二区三区观看方式| 91浏览器打开| 国产一区二区三区免费在线观看| 亚洲一区在线免费观看| 欧美国产日产图区| 日韩一区二区免费在线观看| 91理论电影在线观看| 国产高清不卡一区| 日本vs亚洲vs韩国一区三区| 亚洲色图都市小说| 国产午夜三级一区二区三| 欧美高清视频不卡网| 色偷偷久久人人79超碰人人澡 | 国产精品成人在线观看| 日韩亚洲电影在线| 欧美日韩国产首页| 色婷婷综合久久久| 在线播放中文一区| 国产成人精品亚洲777人妖| 免播放器亚洲一区| 亚洲成av人影院| 亚洲蜜臀av乱码久久精品| 国产女同互慰高潮91漫画| 欧美xfplay| 91精品国产综合久久精品app| 一本久久a久久精品亚洲| 国产精品一区三区| 久久99精品一区二区三区三区| 午夜不卡av在线| 偷拍日韩校园综合在线| 亚洲一区av在线| 亚洲欧美日本韩国| 中文字幕av资源一区| 国产精品乱码人人做人人爱 | 久热成人在线视频| 日韩电影在线观看电影| 青青草视频一区| 日韩高清在线一区| 日本不卡一二三区黄网| 蜜桃av一区二区在线观看| 免费观看91视频大全| 美女高潮久久久| 精品一区二区三区视频在线观看| 免费高清在线一区| 激情综合网av| 国产成人欧美日韩在线电影| 不卡一区中文字幕| 91黄视频在线观看| 欧美性猛交xxxx黑人交| 在线成人高清不卡| 日韩视频在线你懂得| 久久久99精品免费观看不卡| 国产精品网曝门| 亚洲精品欧美激情| 手机精品视频在线观看| 麻豆精品在线播放| 国产精品一二三区| 色综合久久久久综合体| 欧美女孩性生活视频| 久久亚区不卡日本| 国产精品动漫网站| 性欧美疯狂xxxxbbbb| 久久91精品久久久久久秒播| 国产电影一区二区三区| 91视频一区二区| 日韩一区二区在线免费观看| 国产婷婷一区二区| 亚洲成av人片在www色猫咪| 美女在线视频一区| 99riav一区二区三区| 91精品国产全国免费观看| 久久一二三国产| 亚洲伦理在线免费看| 麻豆一区二区在线| 色狠狠综合天天综合综合| 欧美一级黄色大片| 亚洲视频图片小说| 狠狠色伊人亚洲综合成人| 91蜜桃免费观看视频| 精品国产一区久久| 亚洲综合999| 岛国av在线一区| 3d成人动漫网站| 亚洲情趣在线观看| 国产成人综合网| 3d动漫精品啪啪1区2区免费| 中文字幕在线不卡视频| 韩国成人精品a∨在线观看| 日本韩国一区二区三区| 久久久欧美精品sm网站| 亚洲电影中文字幕在线观看| 粉嫩av一区二区三区粉嫩| 欧美一区二区三区视频在线观看 | 欧美性猛片aaaaaaa做受| 国产日韩欧美电影| 久久精品国产99国产精品| 欧洲精品视频在线观看| 国产精品久久久一本精品| 美脚の诱脚舐め脚责91| 欧美中文字幕一区| 中文字幕色av一区二区三区| 国产精品一区二区久久不卡 | 日本成人在线不卡视频| 色哟哟欧美精品| 国产精品久久久久久一区二区三区| 久久99精品久久只有精品| 91精品国产综合久久久久| 亚洲成人综合在线| 欧美色中文字幕| 亚洲一区中文在线| 欧美在线综合视频| 亚洲女厕所小便bbb| 95精品视频在线| 国产精品免费看片| 成人毛片老司机大片| 国产亚洲欧美一区在线观看| 国产一区二区三区四区在线观看| 欧美www视频| 国产一区二区三区在线看麻豆|