本例展示了如何利用外設TIM2來產生四路頻率不同的信號。 TIM2時鐘設置為36MHz,預分頻設置為2,使用輸出比較-翻轉模式(Output Compare Toggle Mode)。 TIM2計數器時鐘可表達為:TIM2 counter clock = TIMxCLK / (Prescaler +1) = 12 MHz 設置TIM2_CCR1寄存器值為32768,則CC1更新頻率為TIM2計數器時鐘頻率除以CCR1寄存器值,為366.2 Hz。因此,TIM2通道1可產生一個頻率為183.1 Hz的周期信號。 同理,根據寄存器TIM2_CCR2 、TIM2_CCR3和 TIM2_CCR4的值,TIM2通道2可產生一個頻率為366.3 Hz的周期信號;TIM2通道3可產生一個頻率為732.4 Hz的周期信號;TIM2通道4可產生一個頻率為1464.8 Hz的周期信號。 可以通過示波器觀察各路輸出
上傳時間: 2014-01-22
上傳用戶:plsee
Free open-source disk encryption software for Windows Vista/XP, Mac OS X, and Linux Main Features: * Creates a virtual encrypted disk within a file and mounts it as a real disk. * Encrypts an entire partition or storage device such as USB flash drive or hard drive. * Encrypts a partition or drive where Windows is installed (pre-boot authentication). * Encryption is automatic, real-time (on-the-fly) and transparent. * Provides two levels of plausible deniability, in case an adversary forces you to reveal the password: 1) Hidden volume (steganography) and hidden operating system. 2) No TrueCrypt volume can be identified (volumes cannot be distinguished from random data). * Encryption algorithms: AES-256, Serpent, and Twofish. Mode of operation: XTS. Further information regarding features of the software may be found in the:http://www.truecrypt.org/
標簽: open-source encryption Features software
上傳時間: 2013-12-20
上傳用戶:123啊
采用VHDL語言設計一個4通道的數據采集控制模塊。系統的功能描述如下: 1.系統主時鐘為100 MHz。 2.數據為16位-數據線上連續2次00FF后數據傳輸開始。 3.系統內部總線寬度為8位。 4.共有4個通道(ch1、ch2、ch3、ch4),每個通道配備100 Bytes的RAM,當存滿數據后停止數據采集并且相應通道的狀態位產生報警信號。 5.數據分為8位串行輸出,輸出時鐘由外部數據讀取電路給出。 6.具備顯示模塊驅動功能。由SEL信號設置顯示的通道,DISPLAY信號啟動所選通道RAM中數值的顯示過程。數值順次顯示一遍后顯示結束,可以重新設定SEL的值選擇下一個通道。模塊數據線為8位,顯示器件為4個8段LED。 7.數據采集模式如下:單通道采集(由SEL信號選擇通道),多通道順次采集(當前通道采滿后轉入下一通道),多通道并行采集(每通道依次采集一個數據)。模式由控制信號MODE選擇,采集數據的總個數由NUM_COLLECT給出。 8.數據采集過程中不能讀取,數據讀取過程中不能采集
上傳時間: 2013-12-25
上傳用戶:zycidjl
The SP486 and SP487 are low–power quad differential line drivers meeting RS-485 and RS-422 standards. The SP486 features a common driver enable control the SP487 provides independent driver enable controls for each pair of drivers. Both feature tri–state outputs and wide common–mode input range. Both are available in 16–pin plastic DIP and SOIC packages.
標簽: differential and standard drivers
上傳時間: 2014-01-13
上傳用戶:tianyi223
Murphy 大俠 GPL 的 C++/x86 RTOS, 支持 MMU, 用戶/核心 模式區隔. http://hpc.ee.ntu.edu.tw/~murphy/me/EKernel.html part 2 of 3: user mode LIB
標簽: EKernel Murphy murphy RTOS
上傳時間: 2013-12-23
上傳用戶:小鵬
cordic methods describe essentially the same algorithm that with suitably chosen inputs can be used to calculate a whole range of scientific functions including sin, cos, tan, arctan, arcsin, arccos, sinh, cosh, tanh, arctanh, log, exp, square root and even multiply and divide. the method dates back to volder [1959], and due to its versatility and compactness, it made possible the microcoding of the hp35 pocket scientific calculator in 1972. here is some code to illustrate the techniques. ive split the methods into three parts linear, circular and hyperbolic. in the hp35 microcode these would be unified into one function (for space reasons). because the linear mode can perform multiply and divide, you only need add/subtract and shift to complete the implementation. you can select in the code whether to do the multiples and divides also by cordic means. other multiplies and divides are all powers of 2 (these dont count). to eliminate these too, would involve ieee hackery.
標簽: essentially algorithm describe suitably
上傳時間: 2017-03-02
上傳用戶:litianchu
介紹計算機上實現gsm modem短消息收發的模式,描述gsm modem PDU 模式,包括PDU 模式下的gsm modem模塊UCS2 編碼、解碼原理,以及gsm modem發送與接收PDU 串的編制方式, VB 中的MSCOMM 控件,實現gsm modem短消息收發的核心內容。-briefed on computer modem gsm SMS transceiver model, described GSM modem PDU models, including the PDU mode GSM modem module UCS2 encoding, decoding principle, and GSM modems send and receive PDU Series presentation, the VB MSCOMM Control and achieve short GSM modem news transceiver core content
上傳時間: 2017-03-10
上傳用戶:cxl274287265
//獲得當前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判斷是否支持該模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //取得信息 width = vga_getxdim[] height = vga_getydim[] colors = vga_getcolors[] //繪圖 for[i=0 i<colors i++]{ vga_setcolor[i] vga_drawline[0, i, width-1, i] }
標簽: vga_getcurrentmode vga_init oldmode vga_ha
上傳時間: 2014-12-19
上傳用戶:maizezhen
//獲得當前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判斷是否支持該模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //獲得當前的模式 mode = vga_getcurrentmode[] info = vga_getmodeinfo[mode]
標簽: vga_getcurrentmode vga_init oldmode vga_ha
上傳時間: 2017-03-24
上傳用戶:ecooo
full wave rectifierDuring the period from 偽 to 蟺, the input voltage vs input current is are positive and the power flows from supply to the load. The converter is said to be operated at rectification mode .During the period from 蟺 to 蟺+偽 , the input voltage vs is negative and the input current is is positive and reverse power flows from load to the supply. The converter is said to be operated in inversion mode. Depending on the value of 偽, average output voltage can be either positive or negative and hence provides 2 quadrant operation.
標簽: input rectifierDuring the positive
上傳時間: 2017-04-10
上傳用戶:alan-ee