edid.h

来自「IT projecotr reference design.」· C头文件 代码 · 共 45 行

H
45
字号
/****************************************************************************/
/*             TEXAS INSTRUMENTS PROPRIETARY INFORMATION                    */
/*                                                                          */
/*  (c) Copyright, Texas Instruments Incorporated, 2006.                    */
/*      All Rights Reserved.                                                */
/*                                                                          */
/*  Property of Texas Instruments Incorporated. Restricted Rights -         */
/*  Use, duplication, or disclosure is subject to restrictions set          */
/*  forth in TI's program license agreement and associated documentation.   */
/****************************************************************************/

/****************************************************************************/
/* edid.h                                                                   */
/*                                                                          */
/* EDID interface.                                                          */
/****************************************************************************/

#ifndef __EDID_H
#define __EDID_H

#include "common.h"
#include "i2c.h"


/****************************************************************************/
/* Declarations.                                                            */
/****************************************************************************/

#define EDID_I2C_PORT   I2C_PORT0                               /* i2c port */

#define EDID_DVI_I2C_DEVADDR  0xA0             /* DVI EEPROM device address */
#define EDID_ADC_I2C_DEVADDR  0xA4             /* VGA EEPROM device address */



/****************************************************************************/
/* Interface functions.                                                     */
/****************************************************************************/

int08 edid_compare( uint16 devAddress, uint08 *pComp, uint08 *pFlash );
int08 edid_read   ( uint16 devAddress, uint08 *pData  );
int08 edid_write  ( uint16 devAddress, uint08 *pFlash );

#endif

⌨️ 快捷键说明

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