39 lines
1.2 KiB
C
Executable File
39 lines
1.2 KiB
C
Executable File
/*
|
|
*********************************************************************************************************
|
|
* LINUX-KERNEL
|
|
* AllWinner Linux Platform Develop Kits
|
|
* Kernel Module
|
|
*
|
|
* (c) Copyright 2006-2011, kevin.z China
|
|
* All Rights Reserved
|
|
*
|
|
* File : mem_key.h
|
|
* By : kevin.z
|
|
* Version : v1.0
|
|
* Date : 2011-5-31 15:16
|
|
* Descript:
|
|
* Update : date auther ver notes
|
|
*********************************************************************************************************
|
|
*/
|
|
#ifndef __MEM_KEY_H__
|
|
#define __MEM_KEY_H__
|
|
|
|
//define key controller registers
|
|
typedef struct __MEM_KEY_REG
|
|
{
|
|
// offset:0x00
|
|
volatile __u32 Lradc_Ctrl;
|
|
volatile __u32 Lradc_Intc;
|
|
volatile __u32 Lradc_Ints;
|
|
volatile __u32 Lradc_Data0;
|
|
volatile __u32 Lradc_Data1;
|
|
} __mem_key_reg_t;
|
|
|
|
extern __s32 mem_key_init(void);
|
|
extern __s32 mem_key_exit(void);
|
|
extern __s32 mem_query_key(void);
|
|
|
|
|
|
#endif /* __MEM_KEY_H__ */
|
|
|