iis.h

来自「s3c44b0平台初始化及其iis驱动程序」· C头文件 代码 · 共 52 行

H
52
字号
/*
;************************************************************************************************************
;*									  北京精仪达盛科技有限公司
;*                                     	    研    发    部
;*
;*                                 	    http://www.techshine.com
;*
;*--------------------------------------------- 文件信息 ----------------------------------------------------                                      
;*
;* 文件名称 : target.c	
;* 文件功能 : 该文件为S3C44B0硬件平台配置具体函数的初始化。
;* 补充说明 : 
;*-------------------------------------------- 最新版本信息 -------------------------------------------------
;* 修改作者 : ARM7开发小组
;* 修改日期 : 2004/04/25
;* 版本声明 : V1.0.1
;*-------------------------------------------- 历史版本信息 -------------------------------------------------
;* 文件作者 : ARM7开发小组
;* 创建日期 : 2004/04/20
;* 版本声明 : v1.0.0
;*-----------------------------------------------------------------------------------------------------------
;*-----------------------------------------------------------------------------------------------------------
;************************************************************************************************************
;*/
#ifndef __IIS_H__
#define __IIS_H__

#ifdef __cplusplus
extern "C" {
#endif

void Init1341(void);
void Iis_Rx(void);

	#define  clrL3D    		rPDATE = rPDATE & (~(0x1<<3))   	    									//pE3
	#define  clrL3M	 		(*(volatile unsigned *)0x08600004) = 0x01
	#define  clrL3C 		(*(volatile unsigned *)0x08600000) = 0x01

	#define  setL3D    		rPDATE = rPDATE | (0x1<<3)   		                                        //pE3
	#define  setL3M	 		(*(volatile unsigned *)0x08600004) = 0x02
	#define  setL3C 		(*(volatile unsigned *)0x08600000) = 0x02


#define FS2205KHZ
//#define FS441KHZ

#ifdef __cplusplus
}
#endif

#endif /*__IIS_H__*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?