Chinaunix首页 | 论坛 | 博客
  • 博客访问: 145366
  • 博文数量: 52
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 316
  • 用 户 组: 普通用户
  • 注册时间: 2015-05-19 22:20
文章分类
文章存档

2016年(43)

2015年(9)

我的朋友

发布时间:2016-05-30 09:55:46

转载至:http://www.embedu.org/Column/Column367.htm作者:刘洪涛,华清远见嵌入式学院讲师。一、概述基于子系统去开发驱动程序已经是linux内核中普遍的做法了。前面写过基于I2C子系统的驱动开发。本文介绍另外一种常用总线SPI的开发方法。SPI子系统的开发和I2C有很多的相似性,大家可以对比学习。本主题分为.........【阅读全文】

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

发布时间:2016-05-19 22:41:21

/* drivers/rtc/rtc-s3c.c * * Copyright (c) 2004,2006 Simtec Electronics *Ben Dooks, <ben@simtec.co.uk> *http://armlinux.simtec.co.uk/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li.........【阅读全文】

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

发布时间:2016-05-19 13:25:18

#include <linux/module.h>#include <linux/init.h>#include <linux/interrupt.h>#include <linux/fs.h>#include <asm/io.h>#include <asm/sizes.h>#include <linux/device.h>#include <linux/platform_device.h>#include <linux/miscdevice.h>#if 0#define MAGIC'x'#define WDT_RESET_IO(MAGIC, 0)//产.........【阅读全文】

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

发布时间:2016-05-10 17:27:04

......【阅读全文】

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

发布时间:2016-05-10 11:13:30

......【阅读全文】

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

登录 注册