NAME: u2440mon.c DESC: u2440mon entry point,menu,download HISTORY: Mar.25.2002:purnnamu: S3C2400X profile.c is ported for S3C2410X. Mar.27.2002:purnnamu: DMA is enabled. Apr.01.2002:purnnamu: isDownloadReady flag is added. Apr.10.2002:purnnamu: - Selecting menu is available in the waiting loop. So, isDownloadReady flag gets not needed - UART ch.1 can be selected for the console. Aug.20.2002:purnnamu: revision number change 0.2 -> R1.1 Sep.03.2002:purnnamu: To remove the power noise in the USB signal, the unused CLKOUT0,1 is disabled.
標簽: 2440 mon download purnnamu
上傳時間: 2016-05-12
上傳用戶:wff
系統時間顯示程序 利用BIOS的INT 1AH的2號系統功能調用,將計算機系統的時間參數(BCD碼)送入寄存器。其中CH 和CL中保存的是小時數和分鐘數;DH中保存的是秒鐘數,將BCD碼表示的時,分,秒轉換成ASC I I碼并送入屏幕顯示。并用INT 21H 的7號功能調用判斷輸入回車并清屏
上傳時間: 2016-08-08
上傳用戶:z754970244
PC與單片機雙向通訊智能溫控程序 #include <AT89X51.H> #include <intrins.h> #define Key_UP P1_0 #define Key_DOWN P1_1 #define Key_SET P1_2 #define RelayOutPort P2_0 #define LEDPort P0 #define DELPort P2_1 #define LEDTwoC P3_6 #define LEDThreeC P3_7 #define TMPort P2_7 #define INBUF_LEN 5 //數據長度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 , 0 } //發送緩沖區 unsigned char inbuf2[50] //接收緩沖區 unsigned char count3 void init_serialcomm( void ) { SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr TMOD |= 0x20 //TMOD: timer 1, mode 2, 8-bit reload PCON |= 0x80 //SMOD=1 TH1 = 0xFA //Baud:4800 fosc=11.0592MHz IE |= 0x90 //Enable Serial Interrupt TR1 = 1 // timer 1 run } //向串口發送一個字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
標簽: include intrins define Key_UP
上傳時間: 2014-11-29
上傳用戶:風之驕子
VB遙控播放器紅外遙控解碼 #include <regX52.h> #define c(x) (x*110592/120000) sbit Ir_Pin=P3^2 sbit beep=P2^1 //sbit RELAY=P2^0 #define INBUF_LEN 4 //數據長度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //發送緩沖區 unsigned char inbuf2[50] //接收緩沖區 unsigned char count3 void init_serialcomm( void ) { SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr T2CON=0x30 TH2=0x00 TL2=0x00 RCAP2H=0xFF RCAP2L=0xDC TR2=1 } //向串口發送一個字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
標簽: include 110592 120000 define
上傳時間: 2013-12-21
上傳用戶:yph853211
簡單的加密算法,可逆與不可逆 數據加密: 算法1:(不可逆) 將ASCII表中32~~126中的字符,加密后,顯示為128~~255的字符. 128~~255的字符會讓人看起來頭痛些。。。。。。安全. 當ch[?]的值為偶數時:ch[?]=255-ch[?]的個位*10-ch[?]的十位 當ch[?]的值為奇數時: ch[?]=128+ch[?]的個位*10+ch[?]的十位 當ch[?]的值為質數時:ch[?]=128+ch[?]的個位+ch[?]的十位 算法2:(可逆) 當ch[?]的值能被3整除時:ch[?]-=2,否則ch[?]-=3
上傳時間: 2014-11-10
上傳用戶:李夢晗
簡單的加密解密算法,可逆與不可逆 數據加密: 算法1:(不可逆) 將ASCII表中32~~126中的字符,加密后,顯示為128~~255的字符. 128~~255的字符會讓人看起來頭痛些。。。。。。安全. 當ch[?]的值為偶數時:ch[?]=255-ch[?]的個位*10-ch[?]的十位 當ch[?]的值為奇數時: ch[?]=128+ch[?]的個位*10+ch[?]的十位 當ch[?]的值為質數時:ch[?]=128+ch[?]的個位+ch[?]的十位 算法2:(可逆) 當ch[?]的值能被3整除時:ch[?]-=2,否則ch[?]-=3
上傳時間: 2017-02-24
上傳用戶:txfyddz
This is GPS Matlab findPreambles finds the first preamble occurrence in the bit stream of each channel. The preamble is verified by check of the spacing between preambles [6sec] and parity checking of the first two words in a subframe. At the same time function returns list of channels, that are in tracking state and with valid preambles in the nav data stream.
標簽: findPreambles occurrence the preamble
上傳時間: 2013-12-23
上傳用戶:秦莞爾w
3rd Generation Partnership Project Technical Specification Group Radio Access Network Spatial channel model for Multiple Input Multiple Output [MIMO] simulations
標簽: Specification Partnership Generation Technical
上傳時間: 2014-01-11
上傳用戶:nanfeicui
在VB中把中文轉化成Unicode碼 首先介紹一下VB中的兩個函數:ChrW()和AscW().對于Chr()和Asc()函數大家一定很熟悉,對于ChrW()和AscW()可能會比較生疏一點. ChrW 函數返回包含 Unicode 的 String,若在不支持 Unicode 的平臺上,則其功能與 Chr 函數相同 AscW 函數返回 Unicode 字符代碼,若平臺不支持 Unicode,則與 Asc 函數功能相同。
上傳時間: 2017-05-08
上傳用戶:yangbo69
Bardzzo przydatny skrypt do nauki matlaba nie tylko dla pocz膮tkuj膮cych ale r貿wniez dla tych kt貿偶y chc膮 pog艂臋bi膰 swoj膮 wiedz臋
標簽: przydatny dla Bardzzo matlaba
上傳時間: 2017-05-13
上傳用戶:hakim