⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ixp425eeprom.h

📁 IXP425 平台下嵌入式LINUX的I2Cz总线的驱动程序
💻 H
字号:
/** * ============================================================================ * = COPYRIGHT *              INTEL CORPORATION PROPRIETARY INFORMATION *   This software is supplied under the terms of a licence agreement or *   nondisclosure agreement with Intel Corporation and may not be copied  *   or disclosed except in accordance with the terms in that agreement. *      Copyright (C) 2000-2002 Intel Corporation. All rights reserved. * * = PRODUCT *      Intel(r) IXP425 Network Processor * * * ============================================================================ *//* ixp425Eeprom.h - Philips PCF8582C-2T/03 256byte I2C EEPROM driver header file */#ifndef __INCixp425Eepromh #define __INCixp425Eepromh#ifdef __cplusplusextern "C" {#endif#define IXP425_EEPROM_ADDR 0xA0#define IXP425_EEPROM_SIZE 256	/* 256byte EEPROM *//* Macros used by NVRAM driver */#define NV_RAM_READ(x) (ixp425EepromByteRead (x))#define NV_RAM_WRITE(x,y) (ixp425EepromByteWrite (x, y))int ixp425EepromRead (UINT8 *buf, UINT32 num, UINT8 offset);int ixp425EepromWrite (UINT8 *buf, UINT32 num, UINT8 offset);char ixp425EepromByteRead (UINT8 offset);void ixp425EepromByteWrite (UINT8 offset, char data);#ifdef __cplusplus}#endif#endif /* __INCixp425Eepromh */ 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -