externrtcdriver.h
来自「在uClinux下的外部实时时钟读写驱动」· C头文件 代码 · 共 39 行
H
39 行
/*================================================================================
Module Name: externrtcdriver.h
General Description:
==================================================================================
Honeywell Confidential Proprietary
ACS - Security (Asia Pacific) R&D Software Operations
(c) Copyright Honeywell 2006, All Rights Reserved
Revision History:
Modification Tracking
Author Date Ver Number Description of Changes
---------------- ------------ ---------- -------------------------
Chen Kang Date: 2006-7-13 Version: ver 1.0.0
Portability: Indicate if this module is portable to other compilers or
platforms. If not, indicate specific reasons why is it not portable.
==================================================================================
INCLUDE FILES
==================================================================================*/
#ifndef EX_RTC_DRV_H
#define EX_RTC_DRV_H
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h> /* printk() */
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/proc_fs.h>
#include <asm/uaccess.h> /* access_ok() */
#include "typedef.h"
#define CSI24WC02 (0xA2) /* define RTC chip I2C address */
#define MAJOR_NR 132
#define DEVICE_NAME "rtc"
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?