
嵌入式
文章平均质量分 68
kalp卡蓝皮
这个作者很懒,什么都没留下…
展开
-
嵌入式软件核心书籍
Linux基础1、《Linux与Unix Shell 编程指南》C语言基础1、《C Primer Plus,5th Edition》【美】Stephen Prata著2、《The C Programming Language, 2nd Edition》【美】Brian W. Kernighan David M. Rithie(K & R)著3、《Advanc原创 2014-06-12 19:24:12 · 436 阅读 · 0 评论 -
Linux串口程序
#include "SerDrive.h"#include /*文件控制定义*/#include //======================================int SerFd = -1;void ProcessInit(void){/** 打开USB转串口(ttyUSB0)* O_RDWR 可读写设备* O_NOCT转载 2015-05-09 21:08:50 · 342 阅读 · 0 评论 -
Linux(ARM)下目录含义
Linux ARM 嵌入式 目录原创 2015-05-08 15:48:31 · 1805 阅读 · 0 评论 -
Linux中的strstr函数
函数名: strstr 功 能: 在串中查找指定字符串的第一次出现 用 法: char *strstr(char *str1, char *str2); strstr原型:extern char *strstr(char *haystack, char *needle); 用法:#include 功能:从字符串haystack中寻找needle第一次出现的位置(不比较转载 2015-05-09 15:17:53 · 5845 阅读 · 0 评论 -
termios结构体以及串口应用
ARM8一直不知道怎么学,每天就只是看代码看用户手册,发现不会的不理解的便在网上查,但总感觉这样没有一个系统的学习方案会走不少的弯路。最近看termios结构体出现的次数很多,便总结了一下。struct termios{ tcflag_t c_iflag; tcflag_t c_oflag; t转载 2015-05-03 08:57:43 · 636 阅读 · 0 评论 -
获取线程ID
pthread_t结构体: typedef struct { void * p; /* Pointer to actual object */ unsigned int x; /* Extra information - reuse count etc */ } ptw32_handle_t; typedef pt原创 2015-05-12 21:20:57 · 926 阅读 · 0 评论