自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (3)
  • 收藏
  • 关注

原创 USB-serial 串口测试

驱动支持usb-serial我用的usb-serial接口线是pl2303, 所以linux kernel加入pl2303支持后(或者以模块方式加载),插入usb-serial,系统自动在增加了/dev/ttyUSB0这个设备验证程序接下来就是程序验证一下串口功能,在网上找了一个发送和接收程序,写的相当罗嗦,但是能工作1.      receive.c程序清单:#include #include #include #include #include #include #include #include #i

2010-12-25 12:34:00 3992

转载 typeof 的用法

<br />Another way to refer to the type of an expression is with typeof. The syntax of using of<br />this keyword looks like sizeof, but the construct acts semantically like a type name defined<br />with typedef.<br />There are two ways of writing the argum

2010-12-22 16:13:00 1636

原创 container_of的理解

<br />container_of(pointer, container_type, container_field)<br />pointer: 指向被包含的container_field的地址<br />container_type: 包含container_field的结构的类型<br />container_field: container_type中的一个成员名称<br /> <br />该宏通过一个指向container_type 结构内container_field的指针地址,返回这个con

2010-12-22 15:44:00 964

原创 iobase membase mepbase的区别

<br />iobase 是IO端口基地址,使用in/out[bwl] 来访问<br />membase是IO端口的内存地址(映射过的逻辑地址),使用read/write[bwl]访问<br />mapbase描述的是IO端口的物理地址,是硬件定义好的,可以通过ioremap获得对应的逻辑地址<br /> 

2010-12-22 11:18:00 2252

Google GFS 文件系统(英)

Google GFS开发者写的论文,描述了GFS设计理论

2012-11-09

A COMPACT GUIDE TO LEX & YACC

This document explains how to construct a compiler using lex and yacc.

2010-10-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除