?? ixp425i2c.h
字號:
/* ixp425I2c.h - Intel IXP425 I2c header file *//* Copyright 2002 Wind River Systems, Inc. *//*modification history--------------------01a,05jun02,jb initial version...*/#ifndef __INCixp425I2ch #define __INCixp425I2ch#ifdef __cplusplusextern "C" {#endif#define IXP425_I2C_READ_FLAG 0x1 /* Read from slave */#define IXP425_I2C_WRITE_MSK 0xFE /* Write to slave */#define IXP425_I2C_ACK_RTY 5 /* Acknowledge Receive retry count *//* Function Declarations */STATUS ixp425I2CStart ();void ixp425I2CStop ();void ixp425I2CAckSend ();STATUS ixp425I2CAckReceive ();void ixp425I2CByteTransmit (unsigned char dataByte);void ixp425I2CByteReceive (unsigned char *dataByte);STATUS ixp425I2CWriteTransfer (UINT8 devAddr, UINT8 *buffer, UINT32 num, UINT8 offset);STATUS ixp425I2CReadTransfer (UINT8 devAddr, UINT8 *buffer, UINT32 num, UINT8 offset);#ifdef __cplusplus}#endif#endif /* __INCixp425I2ch */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -