This zip file describes a Basic USART using Interrupts and PDC running under EB42 with ARM® ADS 1.2 Software Tool. Includes Main.html file for help.
標(biāo)簽: Interrupts describes running Basic
上傳時間: 2016-01-03
上傳用戶:weiwolkt
學(xué)會對文件的記錄鎖定,及解鎖。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int Main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open("name", O_RDWR|O_CREAT, 0755) if (fd == -1) return -1 printf("Input your name:") scanf("%s", myrec.name) printf("Inpute your ID :") scanf("%d", &myrec.ID) printf("Input your age :") scanf("%d", &myrec.age) lseek(fd, 0,SEEK_END) lockf(fd, 1, 0) write(fd, (void *)&myrec, sizeof(myrec)) lockf(fd, 0 ,0) return 0 } 執(zhí)行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out
標(biāo)簽: 記錄
上傳時間: 2016-01-04
上傳用戶:亞亞娟娟123
Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產(chǎn)生led module。 insmod Main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int Main(int argc, char *argv[]) { int testdev //led test... testdev = open("/dev/QuickMarkLed",O_RDWR) ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1 ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1 close(testdev) return 0 }
標(biāo)簽: s3c2440 driver Linux dev-C
上傳時間: 2014-01-01
上傳用戶:qlpqlq
文章比較了H.264和AVS兩個標(biāo)準(zhǔn)在運動補償中運動矢量預(yù)測算法的差別, 提出了一種實現(xiàn)H.264 中 主檔次(Main pmille)下的第4級別(1evel 4)和AVS中的基準(zhǔn)檔次面向高清應(yīng)用時運動矢量預(yù)測復(fù)用的硬件結(jié)構(gòu)。 提出了一種新穎的緩存管理更新機(jī)制.極限情況下用于運動矢量的片上緩存大小減少了75% 。用FPGA驗證結(jié)果 表明資源占用情況是單獨實現(xiàn)AVS的2.3倍,是單獨同時實現(xiàn)兩個標(biāo)準(zhǔn)的70%。能實現(xiàn)對1080i 30Hz高清圖像實 時解碼。
標(biāo)簽: 264 AVS 比較 標(biāo)準(zhǔn)
上傳時間: 2014-01-07
上傳用戶:225588
XML字符串_文件解析,內(nèi)附測試程序,Main.java為測試程序
上傳時間: 2013-12-18
上傳用戶:manking0408
TOSHIBA公司的射頻卡VERILOGHDL代碼 包括TOP 頂層文件,Main主要控制文件,EEPROM存儲單元文件
標(biāo)簽: VERILOGHDL TOSHIBA TOP 射頻卡
上傳時間: 2014-01-14
上傳用戶:Pzj
此程序包是用雙種群蟻群算法來求中國75個城市的最短路徑問題,即典型的TSP問題,把包解壓運行Main.m文件即可
上傳時間: 2016-01-27
上傳用戶:sk5201314
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.
標(biāo)簽: the interest tutorial Drivers
上傳時間: 2016-01-28
上傳用戶:lmeeworm
周立功arm7(lpc2104)的工程模板,添加自己的Main文件就可以使用
上傳時間: 2016-02-04
上傳用戶:bibirnovis
簡單C編譯器生成的目標(biāo)代碼是8086的匯編代碼(16位),可以在一般的PC上被像MASM之類的匯編編譯程序編譯,生成可執(zhí)行文件后,在DOS或Windows控制臺下運行。 實現(xiàn)的語言定義如下: 語言類似于tiny語言,不支持過程調(diào)用,也就是只有一個Main函數(shù),無其他函數(shù)和全局變量 基本語句:注釋語句(/*…*/),輸入語句(int input(void) ),輸出語句(void output(int) ),賦值語句。這里的輸入輸出語句實際上類似于函數(shù)調(diào)用,可以看作是本語言內(nèi)部的函數(shù) 算術(shù)運算符:+、—、*、/ 數(shù)據(jù)類型:整數(shù).
上傳時間: 2016-02-06
上傳用戶:bakdesec
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1