📄 davincihd_eeprom.h
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -