搜索资源列表
spidmadriver
- 本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com 希望对SPI操作的朋友有所帮助。 一、工作方式: 从设备:SPI为MASTER模式 S3C2410:SPI为SLAVE模式+DMA 二、工作流程 1.S3C2410从接收:当从设备发送数据时,S3C2410利用DMA方式收数,收到指定长度的数据,则进入DMA中断,将接收的数据拷出。 2.S3C2410从发送:当S3C2410需要发送,首先由RTS请求
vivi-br-release(20060330).tar
- arm9的bootloader,适合通用2410x平台 vivi.pal(20051228)支持tv输出和vga输出,vclk为26.25mhz vivi(20060330)支持vga输出和tv输出,vclk为25mhz 以上两个vivi均编译自vivi-br-release(20051228).tar.gz 在两个不同vivi间切换的方法是在源文件“/include/platform/smdk2410.h”中打开或者取消对PAL640480宏的定义: #define PAL
LinuxUART
- linux 下串口编程 #include <stdio.h> /*标准输入输出定义*/ #include <stdlib.h> /*标准函数库定义*/ #include <unistd.h> /*Unix标准函数定义*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> /*文件控制定义*/ #inc
T100_Simple_PVI8
- #include \"REG51.H\" #include <intrins.h> #include \"Common.h\" //#include \"Remote.h\" #define OSD_EN //typedef unsigned char uCHAR //#include \"T100Data_A.h\" //#include \"T100Data_PA.h\" //#include \"T100Data_AU.h\"
pem2der
- an function to convert pem certification to der format in linux kernel, include the list.h for test it in user space
ADTest
- 6410 ADC测试 #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <linux/fs.h> #incl
shell
- #include<stdio.h> #include<string.h> #include<limits.h> #include<unistd.h> #include<sys/types.h> #define PROMPT_STRING "[myshell]$" #define QUIT_STRING "exit\n" static char inbuf[MAX_CANON] char *
framebuffer
- 帧缓冲#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <
ecos.isoinfra.sys_time_h
- ecos time patch file (/home/jacmet/ecos.orig/packages/isoinfra/current/include/sys/time.h)-ecos time patch file (/ home/jacmet/ecos.orig/packages/isoinfra/current/include/sys/time.h)
Unix
- 两个字符串连接程序 进程管理的四个设计 概要 -两个字符串连接程序 #include "stdio.h" main() {char a[]="acegikm" char b[]="bdfhjlnpq" char c[80],*p int i=0,j=0,k=0 while(a[i]!= \0 &&b[j]!= \0 ) {if (a[i] { c[k]=a[i] i++ } else c[k]=b[j++] k++ } c
expmt3
- UNIX下编程:目录树的遍历。包含文件:apue.h、error2e.c、pathalloc.c、3.c-Under UNIX Programming: the traversal tree. Include file: apue.h, error2e.c, pathalloc.c, 3.c
portscan
- Linux下的端口扫描实现 f (!connect(sockfd,(struct sockaddr*)&server,sizeof(struct sockaddr- #include<stdlib.h> #include<stdio.h> #include<sys/socket.h> #include<netdb.h> #include<string.h> #include<unistd.h>
UNIXCcode
- 用C语言编写的Unix代码实例 供大家参考 -#include <sys/sem.h> #include <sys/types.h> #include <sys/ipc.h> #include <stdio.h> #include <sys/stat.h> #define VERIFYERR(a, b) if (a) fprintf(stderr, " s failed.\n", b) else fp
hw1
- 定时器 /*初始化curses*/ /*注册定时器*/ /*7位数据显示*/-#include <unistd.h> #include <stdlib.h> #include <signal.h> #include <math.h> #include <curses.h> #include <sys/time.h> #include <time.h> #include &l
getIP-impro
- 本程序用户获取主机的IP地址和MAC地址,头文件与函数原型如下 #include "getIP.h" int get_ip(char *ipaddr, char *netmask, const char *ethname) #include "getIP.h" int get_mac(char *mac) 以下是get_ip函数简单使用范例 //定义IP和MAC所需要的存储空间 char ethname[] = "eth0" c
Linux-serial
- Linux 系统串口使用代码 /* * Program: serial.c * Author: Paul Dean * Version: 0.0.3 * Date: 2002-02-19 * Descr iption: To provide underlying serial port function, * for high level applications. * */ #include <termios.h>
led-test
- 6410 led测试 include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/ioctl.h> /* 瀹氫箟骞绘暟 */ #define MEMDEV_IOC_MAGIC k -include <stdio.h> #include <sys/typ
apue.H
- UNIX 高级环境编程作者的头文件 /usr/include-the UNIX program author s .H FILE /usr/include
ourhdr.h.tar
- unix常用的头文件,ourhdr.h适用于学习unix的编程使用-unix programming include ourhdr.h
IIC-series-port
- iic串口程序,配置,包括hardware ,obj,system,user,usmart文件,STM32专用-include .h file & .c file