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

📄 saa7121.h

📁 saa7121的显示驱动程序
💻 H
字号:
/*
 *  Copyright 2003 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)" */
/********************************************************************************/
/* saa7121.h file */
/********************************************************************************/
#ifndef _SAA7121_H
#define _SAA7121_H       
#include <std.h>
#include <csl_stdinc.h>
#include <csl_i2c.h>
#include <edc.h>

#define SAA7121_IIC_ADDR1	0x88 >> 1
#define SAA7121_IIC_ADDR2	0x8c >> 1 

/*
#define SAA7121_POWERDOWN           EDC_USER+1
#define SAA7121_POWERUP             EDC_USER+2
#define SAA7121_ENABLE_SLAVE_MODE   EDC_USER+3
#define SAA7121_LOAD_CURSOR         EDC_USER+4
#define SAA7121_LOAD_LUT            EDC_USER+5
#define SAA7121_ENABLE_COLORBAR     EDC_USER+6
*/
typedef unsigned int SAA7121_Cmd;

typedef struct {
	Uint8 video_stand;
} SAA7121_ConfParams;

typedef struct{
	Uint8 sub_addr;
	Uint8 reg_value;
}SAA7121_RegParam;	

extern EDC_Fxns SAA7121_Fxns;

#endif 

⌨️ 快捷键说明

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