⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 externrtcdriver.h

📁 在uClinux下的外部实时时钟读写驱动
💻 H
字号:
/*================================================================================
 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -