davincihd_eeprom.h
来自「用于dm6467 开发平台的uboot源码」· C头文件 代码 · 共 45 行
H
45 行
/*
* Copyright 2007 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*/
/*
* I2C EEPROM Header file [16 Kbytes - 24WC256]
*
*/
#ifndef EEPROM_
#define EEPROM_
#ifdef __cplusplus
extern "C" {
#endif
#include "davincihd.h"
#include "davincihd_i2c.h"
/* ------------------------------------------------------------------------ *
* I2C Address *
* ------------------------------------------------------------------------ */
#define EEPROM_I2C_ADDR 0x50
/* ------------------------------------------------------------------------ *
* EEPROM Memory Settings *
* ------------------------------------------------------------------------ */
#define EEPROM_PAGE_SIZE 64
#define EEPROM_PAGE_SIZE_POW2 6
#define EEPROM_MAX_BURST_LEN EEPROM_PAGE_SIZE
/* ------------------------------------------------------------------------ *
* Prototypes *
* ------------------------------------------------------------------------ */
Int16 DAVINCIHD_EEPROM_init( );
Int16 DAVINCIHD_EEPROM_read( Uint32 src, Uint32 dst, Uint32 length );
Int16 DAVINCIHD_EEPROM_write( Uint32 src, Uint32 dst, Uint32 length );
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?