This example describes how to use the ADC and DMA to transfer continuously converted data from ADC to a data buffer. The ADC is configured to converts continuously ADC channel14. Each time an end of conversion occurs the DMA transfers, in circular mode, the converted data from ADC1 DR register to the ADC_ConvertedValue variable. The ADC1 clock is set to 14 MHz.
標簽: continuously ADC describes converted
上傳時間: 2014-01-03
上傳用戶:徐孺
usb bulk 傳輸例程。 * The bulkusb driver is a generic function driver, based on the Windows Driver Model (WDM). * Supports Plug and Play(PnP), Power Management(PM), Windows Management Instrumentation (WMI) and the Selective Suspend (SS) features. * This sample is based off the selSusp DDK sample. Please refer the selSusp sample and the DDK docs to understand the handling of PnP, PM, WMI and SS features and implementations. * The USB device used for this sample is a generic Intel I82930 USB evaluation board programmed with a simple loopback test using a 64 KB circular buffer. None of the code in the sample is specific to this controller chip.
標簽: driver function Windows bulkusb
上傳時間: 2016-04-25
上傳用戶:270189020
PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = PlotSphereIntensity(...) Plots the intensity (as color) of a number of points on a unit sphere. Input: azimuth (phi), in degrees elevation (theta), in degrees intensity (optional, if not provided, a green sphere is produced) All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated. Output: h - a handle to the patch object The axes are also plotted: positive x axis is red positive y axis is green positive z axis is blue
標簽: PlotSphereIntensity elevation azimuth intensity
上傳時間: 2014-01-15
上傳用戶:ruan2570406
富士通單片機MB902420系列 CAN Project: CAN0 will work as a simple Repeater. Received data will appear at Port P47..P40 (UserLEDs of FlashCan100P) and will send out again as byte-packages to ID#2 Receive-Buffer #1 : basic can Transmit-Buffer #6 : full-can ID #2
標簽: will Repeater Received Project
上傳時間: 2016-04-27
上傳用戶:www240697738
富士通單片機MB902420系列 extINT Project: All external Interrupt-Pins INT0 .. INT7 will be enabled. A falling edge on INTx will toggle PDR4_P4x in order to toggle the LEDx of the Flash-CAN-100P Board e.g. falling edge on INT3 will result in LED D3 will toggleP47..P40 (UserLEDs of FlashCan100P) and will send out again as byte-packages to ID#2 Receive-Buffer #1 : basic can Transmit-Buffer #6 : full-can ID #2
標簽: Interrupt-Pins external Project enabled
上傳時間: 2016-04-27
上傳用戶:waizhang
這是一個圖形變換的程序,按字母“Y”畫一個用點組成的圓;按字母“S”畫一 個用不同顏色填充的三角形;按字母“Z”畫一個用不同顏色填充且帶有邊框圖案 的矩形;按“q”鍵退出。
上傳時間: 2016-04-30
上傳用戶:一諾88
功能:在默認有唯一解的情況下,求出一次方程組的解 使用說明:1.在方程計算器所在目錄下新建一個文本文檔并另存為“matrix”(注意文件名的大小寫和拼寫) 格式: 第一行是未知數個數n 后面每行n+1個用空格隔開的數,表示一個方程 (e.g) 2x+3y-z=6 就輸入 2 3 -1 6 2.保存之后雙擊運行“方程計算器” 3.程序會在目錄下生成名為“answer”的文本文檔,打開就是答案了。
標簽:
上傳時間: 2016-05-02
上傳用戶:xg262122
表達式類型的實現: 1、 一個表達式和一顆二叉樹之間,存在著自然的對應關系。 2、 假設算術表達式Expression內可以含有變量(a~z)、常量(0~9)和二元運算符(+,-,*,/,^)。實現一下操作。 (1) ReadExpr(E)——以字符序列的形式輸入語法正確的前綴表示式并構造表達式E。 (2) WritrExpr(E)——用帶括弧的中綴表示式輸出表達式E。 (3) Assign(V,c)——實現對變量V的賦值(V=c),變量的初值為0。 (4) Value(E)——對算術表達式E求值。 (5) CompoundExpr(P,E1,E2)——構造一個新的復合表達式(E1)P (E2)。
上傳時間: 2013-12-09
上傳用戶:luke5347
實現最優二叉樹的構造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現如下表所示的字符: 字符 A B C D E F G H I J K L M N 頻度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 頻度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系統應具備如下的功能: 1.初始化。從終端(文件)讀入字符集的數據信息,。建立哈夫曼樹。 2.編碼:利用已建好的哈夫曼樹對明文文件進行編碼,并存入目標文件(哈夫曼碼文件)。 3.譯碼:利用已建好的哈夫曼樹對目標文件(哈夫曼碼文件)進行編碼,并存入指定的明文文件。 4.輸出哈夫曼編碼文件:輸出每一個字符的哈夫曼編碼。
上傳時間: 2014-11-23
上傳用戶:shanml
// This Communications Component is implemented using separate Read and Write // threads. Messages from the threads are posted to the Comm control which is // an invisible window. To handle data from the comm port, simply // attach a handler to OnReceiveData . There is no need to free the memory // buffer passed to this handler. If TAPI is used to open the comm port, some // changes to this component are needed ( StartComm currently opens the comm // port). The OnRequestHangup event is included to assist this. // // David Wann // Stamina Software // 28/02/96 // davidwann@hunterlink.net.au
標簽: Communications implemented Component Messages
上傳時間: 2016-05-30
上傳用戶:zhangyigenius