欢迎转载,转载时需保留作者信息,谢谢。 邮箱:tangzhongp@163.com 博客园地址:http://www.cnblogs.com/embedded-tzp Csdn博客地址:http://blog.csdn.net/xiayulewa 1.1. 应用,设备,总线,驱动关系,应用到驱动 为...
分类:
系统相关 时间:
2015-05-16 01:19:16
阅读次数:
309
V4.0和V3.5的中断改了挺多,找了很久。。。小白不容易啊。。。在这个函数中有下面这么一段话,具体的配置参数就是最上面宏定义的。可以直接调用HAL_GPIO_Init解决。 /*--------------------- EXTI Mode Configuration ---------...
分类:
其他好文 时间:
2015-05-15 15:08:26
阅读次数:
316
---恢复内容开始---采用2440开发板,CON4 不仅包含了很多富余的 GPIO 引脚,还包含了一些其他 CPU 引脚, 如 AD0-AIN3, CLKOUT 等。你所看到的图中的 SPI 接口、 I2C 接口、 GPB0 和 GPB1 等, 利用spi 通讯,NRF905 引脚管脚 名称 管脚...
分类:
其他好文 时间:
2015-05-15 10:21:43
阅读次数:
140
struct platform_device { // linux/platform_device.h
const char * name;
int id;
struct device dev;
u32 num_resources;
struct resource * resource;
struct platform_device_id *id_entry;
/* arch specific additions */
struct pdev_archdata archdata;...
分类:
系统相关 时间:
2015-05-14 08:45:52
阅读次数:
200
1 安装Request(Requests 是一个 Python 的 HTTP 客户端库):$ sudo apt-get install python-requests2安装python-pip(pip是一个可以替代easy_install的安装和管python软件包的工具 ) :$sudo apt-...
分类:
编程语言 时间:
2015-05-13 21:18:59
阅读次数:
245
1.Intel官网下载Linux网卡驱动 Intel 官网下载中心:https://downloadcenter.intel.com/zh-cn/product/60019/-I217-LM 2.安装网卡驱动 # tar zxf e1000e-3.1.0.2.tar.gz # cd e1000e-3.1.0.2 # cd src/ # make i...
分类:
Web程序 时间:
2015-05-12 19:24:45
阅读次数:
189
使用PB1作为外部中断触发,按一次按键灯处于亮状态,在按一次灯灭。1、先配置GPIO端口、复用管脚外设时钟使能GPIO_Config();void GPIO_Config(void){ GPIO_InitTypeDef GPIO_InitStructure; RCC_AHB1Pe...
分类:
其他好文 时间:
2015-05-11 20:01:26
阅读次数:
198
1 /**************************************************************************//** 2 * @brief Gpio回调函数 3 * @param pin - pin which triggered interr...
分类:
其他好文 时间:
2015-05-10 23:55:23
阅读次数:
709
以前,看过国嵌关于input子系统的视频课程,说实话,我看完后脑子里很乱,给我的印象好像是input子系统驱动是一个全新的驱动架构,疑惑相当多。前几天在网上,看到有很多人介绍韦东山老师的linux驱动课程很不错,于是,我就买了第二期的视频,看了韦老师讲解的input子系统视频课程后,我完全明白了整个...
分类:
其他好文 时间:
2015-05-10 06:16:44
阅读次数:
144
https://01.org/linuxgraphics/documentation/build-guide-0https://01.org/linuxgraphics/community/mesahttps://01.org/linuxgraphics/downloads?keys=&downlo...
分类:
系统相关 时间:
2015-05-09 08:47:49
阅读次数:
174