?? 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 + -