📄 ixp425eeprom.h
字号:
/* ixp425Eeprom.h - Philips PCF8582C-2T/03 256byte I2C EEPROM driver header file *//* Copyright 2002 Wind River Systems, Inc. *//*modification history--------------------01b,05sep02,jb3 Merge in changes from w/ t2.1 ongiong development01b,22aug02,jb Adding 512 byte eeprom support01a,05jun02,jb initial version...*/#ifndef __INCixp425Eepromh #define __INCixp425Eepromh#ifdef __cplusplusextern "C" {#endif#define IXP425_EEPROM_ADDR 0xA0 /* #define IXP425_EEPROM_SIZE 512 *//* 256byte EEPROM */#define IXP425_EEPROM_SIZE 256 /* 256byte EEPROM *//* Macros used by vxWorks NVRAM driver */#define NV_RAM_READ(x) (ixp425EepromByteRead (x))#define NV_RAM_WRITE(x,y) (ixp425EepromByteWrite (x, y))int ixp425EepromRead (UINT8 *buf, UINT32 num, UINT32 offset);int ixp425EepromWrite (UINT8 *buf, UINT32 num, UINT32 offset);char ixp425EepromByteRead (UINT32 offset);void ixp425EepromByteWrite (UINT32 offset, char data);#ifdef __cplusplus}#endif#endif /* __INCixp425Eepromh */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -