📄 dm643_eeprom.h
字号:
/*
* Copyright 2003 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*/
/*
* ======== dm643_eeprom.h ========
*
* Interface for the CAT24WC256 I2C EEPROM on the DM643 board
*/
#ifndef DM643_EEPROM_
#define DM643_EEPROM_
#ifdef __cplusplus
extern "C" {
#endif
#include <csl.h>
/* EEPROM definitions */
#define DM643_EEPROM_SIZE 0x8000
#define DM643_EEPROM_I2CADDR 0x50
/* Read data from a range in the EEPROM */
void DM643_EEPROM_read(Uint32 src, Uint32 dst, Uint32 length);
/* Write data to a data range in the EEPROM */
void DM643_EEPROM_write(Uint32 src, Uint32 dst, Uint32 length);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -