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

📄 uda1341ts.h

📁 os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm
💻 H
字号:
/*
 *	ApOS (Another Project software for s3c2410)
 *	
 *	This program is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License version 2 as
 *	published by the Free Software Foundation.
 *			
 *						Copyright caiyuqing
 *
 */

#define L3C (4)	//GPB4 = L3CLOCK
#define L3D (3)	//GPB3 = L3DATA
#define L3M (2)	//GPB2 = L3MODE

#define UDA1341TS_ADDR	0x14

#define DATA0	0
#define DATA1	1
#define STATUS	2

#define RST	6
#define CS1	5
#define CS0	4
#define IF2	3
#define IF1	2
#define IF0	1
#define DC	0

#define OGS	6
#define IGS	5
#define PAD	4
#define PDA	3
#define DS	2
#define PC1	1
#define PC0	0

#define NO_REST		0
#define REST		1

#define _512FS		0
#define _384FS		1
#define _256FS		2

#define NO_DC_FILTER	0
#define DC_FILTER	1

#define IIS_BUS		 0
#define LSB_JUSTIFIED16	 1
#define LSB_JUSTIFIED18	 2
#define LSB_JUSTIFIED20	 3
#define MSB_JUSTIFIED	 4
#define LSB_JUSTIFIED16_IN_MSB_JUSTIFIED_OUT 5 
#define LSB_JUSTIFIED18_IN_MSB_JUSTIFIED_OUT 6
#define LSB_JUSTIFIED20_IN_MSB_JUSTIFIED_OUT 7

#define _0DB 0
#define _6DB 1


#define NON_INVERTING 0
#define INVERTINTG  1

#define SINGLE_SPEED_PLAYBACK 0
#define DOUBLE_SPEED_PLAYBACK 1

#define ADC_OFF_DAC_OFF	0
#define ADC_OFF_DAC_ON	1
#define ADC_ON_DAC_OFF	2
#define ADC_ON_DAC_ON	3




⌨️ 快捷键说明

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