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.
標簽: Interrupts describes running Basic
上傳時間: 2016-01-03
上傳用戶:weiwolkt
學會對文件的記錄鎖定,及解鎖。#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 } 執行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out
標簽: 記錄
上傳時間: 2016-01-04
上傳用戶:亞亞娟娟123
Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生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 }
標簽: s3c2440 driver Linux dev-C
上傳時間: 2014-01-01
上傳用戶:qlpqlq
文章比較了H.264和AVS兩個標準在運動補償中運動矢量預測算法的差別, 提出了一種實現H.264 中 主檔次(Main pmille)下的第4級別(1evel 4)和AVS中的基準檔次面向高清應用時運動矢量預測復用的硬件結構。 提出了一種新穎的緩存管理更新機制.極限情況下用于運動矢量的片上緩存大小減少了75% 。用FPGA驗證結果 表明資源占用情況是單獨實現AVS的2.3倍,是單獨同時實現兩個標準的70%。能實現對1080i 30Hz高清圖像實 時解碼。
上傳時間: 2014-01-07
上傳用戶:225588
XML字符串_文件解析,內附測試程序,Main.java為測試程序
上傳時間: 2013-12-18
上傳用戶:manking0408
TOSHIBA公司的射頻卡VERILOGHDL代碼 包括TOP 頂層文件,Main主要控制文件,EEPROM存儲單元文件
標簽: 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.
標簽: the interest tutorial Drivers
上傳時間: 2016-01-28
上傳用戶:lmeeworm
周立功arm7(lpc2104)的工程模板,添加自己的Main文件就可以使用
上傳時間: 2016-02-04
上傳用戶:bibirnovis
簡單C編譯器生成的目標代碼是8086的匯編代碼(16位),可以在一般的PC上被像MASM之類的匯編編譯程序編譯,生成可執行文件后,在DOS或Windows控制臺下運行。 實現的語言定義如下: 語言類似于tiny語言,不支持過程調用,也就是只有一個Main函數,無其他函數和全局變量 基本語句:注釋語句(/*…*/),輸入語句(int input(void) ),輸出語句(void output(int) ),賦值語句。這里的輸入輸出語句實際上類似于函數調用,可以看作是本語言內部的函數 算術運算符:+、—、*、/ 數據類型:整數.
上傳時間: 2016-02-06
上傳用戶:bakdesec