Chinaunix首页 | 论坛 | 博客
  • 博客访问: 958334
  • 博文数量: 109
  • 博客积分: 554
  • 博客等级: 中士
  • 技术积分: 2577
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-04 12:49
文章分类

全部博文(109)

文章存档

2019年(5)

2016年(7)

2015年(9)

2014年(1)

2013年(71)

2012年(16)

发布时间:2013-05-31 14:47:39

本文提供了一个linux下访问GPIO的约定的概述。这些调用使用gpio_* 命名前缀。没有别的调用会使用这个前缀或是相关的__gpio_*前缀。什么是GPIO?===============GPIO----“通用目的输入/输出端口”----是一个灵活的软件控制的数字信号。许多种类的芯片都会提供,嵌入式linux开发者和硬件定制者.........【阅读全文】

阅读(14584) | 评论(0) | 转发(1)

发布时间:2013-05-27 22:20:07

来自:http://blog.csdn.net/woshixingaaa/article/details/6574224这篇文档主要介绍spi数据传输过程。当应用层要向设备传输数据的时候,会通过ioctl向设备驱动发送传输数据的命令。如图,向SPI从设备发送读写命令,实际的读写操作还是调用了主机控制器驱动的数据传输函数。transfer函数用于spi的IO传输。.........【阅读全文】

阅读(1822) | 评论(0) | 转发(0)

发布时间:2013-05-27 16:06:57

使用下面的 route 命令可以查看 Linux 内核路由表。# routeDestination Gateway Genmask Flags Metric Ref Use Iface192.168.0.0 * 255.255.255.0 U 0 0 0 eth0169.254.0.0 * 255.255.0.0 U 0 0 0.........【阅读全文】

阅读(18969) | 评论(0) | 转发(3)

发布时间:2013-05-25 23:04:48

颜色支持256色Once you've got your terminal happily using 256 colours, the magic invocation is setting your terminal type to "xterm-256color" before you invoke emacs, e.g.: env TERM=xterm-256color emacs -nw Or, you can set TERM in your .bashrc file: export TERM=xterm-256.........【阅读全文】

阅读(4277) | 评论(0) | 转发(0)

发布时间:2013-05-23 14:42:49

用arm-none-linux-gnueabi-gcc 编译uboot是抱怨 add __aeabi_unwind_cpp_pr0() 解决补丁,以前一直认为是编译器不匹配针对u-boot-2009.08diff --git a/lib_arm/eabi_compat.c b/lib_arm/eabi_compat.cindex 86eacf1..eb3e26d 100755--- a/lib_arm/eabi_compat.c+++ b/lib_arm/eabi_compat.c@@ -16,3 +16,8 @@ int .........【阅读全文】

阅读(3178) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册