ixp425eeprom.h

来自「ixp425 bsp for vxworks」· C头文件 代码 · 共 39 行

H
39
字号
/* 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 *//* 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 + =
减小字号Ctrl + -
显示快捷键?