ixp425i2c.h
来自「这是ARM在Vxworks的驱动源代码」· C头文件 代码 · 共 39 行
H
39 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?