名称:read2543 功能:TLC2543驱动模块 输入参数:port通道号 输出参数:ad转换值 *************************************/ uint read2543(uchar port) { uint ad=0,i CLOCK=0 _CS=0 port<<=4 for(i=0 i<12 i++) { if(D_OUT) ad|=0x01 D_IN=(bit)(port&0x80) CLOCK=1 delay(3) CLOCK=0 delay(3) port<<=1 ad<<=1 } _CS=1 ad>>=1 return(ad) }
上传时间: 2016-01-21
上传用户:R50974
This program compress and recostruct using wavelets. We can select level of decomposition(here maximum 4 levels are given) of images using selected wavelet. For eg:-wavelets can be haar, db1, db2,dmey............... Decomposition can be viewed in figure. (Please note that select 256X256 image for better result.) Then compression can performed, PERFL2 give compression score. Then reconstruction can be performed. Each decompsition we can choose different threshold values. For each threshold value we can calculate mse,psnr,pq(picture quality), bit ratio etc. To get pq install pqs function .
标签: decomposition recostruct compress wavelets
上传时间: 2016-01-22
上传用户:liuchee
实用的单片机开发与应用程序,包括:中值滤波子程序,AD转换类程序,16、32位整型数开方,单片机音乐程序--祝你平安。对初学者很有帮助的。MCU development and practical applications, including: median filter subroutine, AD converter type of proceeding, 16,32-bit integer number prescribing, SCM music program - I wish you peace. Helpful for beginners.
上传时间: 2016-01-27
上传用户:sunjet
This the second tutorial of the Writing Device Drivers series. There seems to be a lot of interest in the topic, so this article will pick up where the first left off. The main focus of these articles will be to build up little by little the knowledge needed to write device drivers. In this article, we will be building on the same example source code used in part one. In this article, we will expand on that code to include Read functionality, Handle Input/Ouput Controls also known as IOCTLs, and learn a bit more about IRPs.
标签: the interest tutorial Drivers
上传时间: 2016-01-28
上传用户:lmeeworm
matlab生成m序列的函数 原来那个效率太低,主要是因为实际应用并不需要生成太长的m序列,加入了需求长度,能有效减少运行时间。25级的移位寄存器,运行了一个小时都没有出来一周期,我仅仅需要三千bit而已。改进版:
上传时间: 2014-01-27
上传用户:stampede
CHAPT13\AnsiWinTerm.cpp Class used in Win32 terminal emulation CHAPT13\AnsiWinTerm.h Header file for the AnsiWinTerm class CHAPT13\Chapt13.cpp 32-bit test program of terminal emulation CHAPT13\Chapt13.dsp Visual C++ project file CHAPT13\Chapt13.dsw Visual C++ workspace file CHAPT13\Chapt13.rc The resource file used in the test program CHAPT13\resource.h IDs defined in the resource file CHAPT13\Win32Term.cpp The Win32 general purpose terminal class CHAPT13\Win32Term.h Definition of the class CHAPT13\Debug\Chapt13.exe 32-bit executable of the test program.
标签: AnsiWinTerm CHAPT emulation terminal
上传时间: 2016-02-03
上传用户:秦莞尔w
CHAPT14\MODEM.CPP Implementation of the Modem class CHAPT14\MODEM.H Declarations of the Modem class CHAPT14\TSTMODEM.CPP 16-bit test program for the Modem class CHAPT14\TSTMODEM.EXE 16-bit executable of the test program CHAPT14\TSTMODEM.MAK Make file for use with Borland or Microsoft C
上传时间: 2013-12-24
上传用户:坏天使kk
G729编码和解码的Matlab源程序 调用方法: 1.需要编码时,在 Matlab命令行下输入"G729code(speech)"(请务必保证 speech是已经存在在 Matlab工作区的一个行向量,其中是语音数据),然后你会在你的文件夹下看到一个"coding.bit"的文件。 2.需要解码时,把"coding.bit"的文件复制到"G729 decoder"的目录下,在Matlab命令行下输入"G729decodermain",然后你会在文件夹下看到"syn_speech.wav",那就是重构语音。 enjoy it!
上传时间: 2013-12-22
上传用户:GavinNeko
/*SPI规范:Data is always clocked into the device on the rising edge of SCK a-*/ /* nd clocked out of the device on the falling edge of SCK.All instruction-*/ /* s,addresses and data are transferred with the most significant bit(MSB) */ /* first.
上传时间: 2016-02-19
上传用户:远远ssad
des加密的数据一般要是56bit的整数倍,本程序通过把后面不足56bit的bit反向加密得到完整的加密,而不增加加密后的长度
上传时间: 2014-01-08
上传用户:2404