邏輯分析儀 PC發送到單片機的命令共7個字節: 第一字節是觸發信號,每bit對應一路信號,1為高電平觸發,0為低電平觸發; 第二字節是觸發有效信號,每bit對應一路信號,1為忽略,0為有效; 第三、四字節是采樣時間,對應如下: 2us=0x0402,5us=0x0a02,10us=0x1402,10us=0x2802,50us=0x6402,100us=0xc802,200us=0x3203,500us=0x7d03,1ms=0xfa03,2ms=0x7d04,4ms=0xfa04,8ms=0x7d05,16ms=0xfa05; 第五、六字節是一樣的,為預觸發:8=0%,7=12.5%,6=25%,5=37.5%,4=50%,3=62.5%,2=75%,1=87.5% 第七字節為模式,0=普通模式;1=外部時鐘,上升延;2=外部時鐘,下降延;3=外部觸發,上升延;4=外部觸發,下降延;5=靜態模式;6沒有查到,不知道是什么;7為測試模式的二進制信號;8為測試模式的AA、55;9為測試模式的清零。
上傳時間: 2013-12-12
上傳用戶:luke5347
* CONSTRAINTS * This module does not handle data which is considered out of range by the * application(i.e. fixed constants which represent error condition) * * Maximum weight value must be limited to 128 to prevent an overflow * condition during the calculation. * * The internal data type must be large enough to handle the calculations. * The maximum possible internal value * = Max Input Value * (weight - 1) + Max Input Value * If a maximum weight of 128 is used, the internal data type should be 2 * times the size of the input data type.
標簽: CONSTRAINTS considered module handle
上傳時間: 2015-09-07
上傳用戶:qunquan
This paper addresses the issues relating to the enforcement of robust stability when implementing the Adaptive Inverse Control (AIC) scheme. In this scheme, an adaptive FIR filter is added to a closed-loop system in order to reduce the output error caused by external disturbances, enhancing the performance achieved by linear time-invariant controllers alone.
標簽: implementing enforcement addresses the
上傳時間: 2013-12-23
上傳用戶:佳期如夢
編制一個讀單詞過程,從輸入的源程序中,識別出各個具有獨立意義的單詞,即基本保留字、標識符、常數、運算符、分隔符五大類。并依次輸出各個單詞的內部編碼及單詞符號自身值。(遇到錯誤時可顯示“Error”,然后跳過錯誤部分繼續顯示)。
上傳時間: 2013-12-17
上傳用戶:zhangliming420
由delphi實現的bt下載器示例程序,帶全部源碼和BT協議 包中文件說明: BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一個簡單的bt下載器,支持多個.torrent文件同時下載 btutils.pas -- 核心bt組件 DCP*.pas -- SHA算法源碼(復制自DEC組件包) InetUtils.pas -- 提供Internet下載的函數庫 SimpleSocks.pas -- socket組件(TCP) SortLists.pas -- 排序的List組件 ThreadTimer.pas -- 定時器與線程池 DelayLists.pas -- 一個延時5秒再釋放Object的隊列 FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer內部使用 Bit Torrent Specification.htm -- BT協議文檔
上傳時間: 2015-09-10
上傳用戶:lizhen9880
/*** *** *** *** *** *** *** *** *** *** *** *** **/ //**此映射表用來映射LED模塊不譯碼時,顯示的字符和必須輸入的數據的關系 //**每段和對應比特位的關系見示意圖 // g // --- --- // b | a |f | | <---顯示0時點亮的段為gfedcb // --- // c | |e | | 那么寫入數據為0x7e // --- --- // d // bit: 7 6 5 4 3 2 1 0 // 段位: g f e d c b a
上傳時間: 2013-11-25
上傳用戶:
使用到的參數跟談到彈性網絡的那一章里頭所講的是一樣的, ke 則是終止條件。如果 step 被打勾,則程式在每一步之間會暫停 100毫秒(或其他使用者輸入的數值)。如果 Random 被打勾,則程式會以系統時間作為亂數產生器的種子數,否則,就以使用者輸入的數( Random 右邊那一格)為種子數。 你可以利用 load 來載入推銷員問題檔與其最佳解,如此便可比較彈性網絡所找出來的解與最佳解差了多少。 Central, Radius, and Error 這三個參數的前兩個,只影響彈性網絡的起使位置和大小,對求解沒有影響。第三個參數代表城市與網絡點之間的容忍距離,也就是說,如果某城市與某網絡點之間的距離,小于容忍距離,那就把這個城市當成是被該網絡點所拜訪。 按下小 w按鈕會將目前的結果與參數值寫到“en.out”這個檔案。使得我們可以很方便地來比較不同參數的效果。
上傳時間: 2013-12-17
上傳用戶:84425894
sd2003芯片資料及源碼,C51下的,可以直接使用,不是廠方提供的測試程序, 相應子程序: extern void ini_SD2003(void) extern bit mend_scl_SD2003(void) extern bit start_bit_SD2003(void) extern void stop_bit_SD2003(void) extern void ack_SD2003(void) extern void no_ack_SD2003(void) extern void mast_ack_SD2003(void) extern void write_8bit_SD2003(UCHAR ch) extern UCHAR Read_8bit_SD2003(void) extern void write_8bit_SD2003_R(UCHAR ch) extern UCHAR Read_8bit_SD2003_R(void) extern bit Readblock_SD2003(UCHAR ucommand,UCHAR *p) extern bit Writeblock_SD2003(UCHAR ucommand,UCHAR *p)
上傳時間: 2015-09-14
上傳用戶:zl5712176
一個簡單的SPI IP核,SPI Core Specifications 可以從說明文檔中找到! The simple Serial Peripheral Interface core is an enhanced version of the Serial Peripheral Interface found on Motorola s M68HC11 family of CPUs. The Serial Peripheral Interface is a serial, synchronous communication protocol that requires a minimum of 3 wires. FEATURES: · Compatible with Motorola’s SPI specifications · Enhanced M68HC11 Serial Peripheral Interface · 4 entries deep read FIFO · 4 entries deep write FIFO · Interrupt generation after 1, 2, 3, or 4 transferred bytes · 8 bit WISHBONE RevB.3 Classic interface · Operates from a wide range of input clock frequencies · Static synchronous design · Fully synthesizable
標簽:
上傳時間: 2015-09-17
上傳用戶:TRIFCT
this m file can Find a (near) optimal solution to the Traveling Salesman Problem (TSP) by setting up a Genetic Algorithm (GA) to search for the shortest path (least distance needed to travel to each city exactly once) Notes: 1. Input error checking included 2. Inputs can be specified in any order, so long as the parameter pairs are specified as a parameter , value
標簽: Traveling Salesman solution Problem
上傳時間: 2013-12-22
上傳用戶:ruixue198909