XenevaOS
Loading...
Searching...
No Matches
PiI2c.h
Go to the documentation of this file.
1
18#ifndef __PI_I2C_H__
19#define __PI_I2C_H__
20
24// and 127 in 10-bit mode.
26#define I2C_ADDRESSING_10_BIT 0x80000000
27
59
109
114#define I2C_FLAG_READ 0x00000001
115
123
125#define I2C_FLAG_SMBUS_OPERATION 0x00010000
126
136#define I2C_FLAG_SMBUS_BLOCK 0x00020000
137
139#define I2C_FLAG_SMBUS_PROCESS_CALL 0x00040000
140
146#define I2C_FLAG_SMBUS_PEC 0x00080000
147
148//----------------------------------------------------------------------
247//----------------------------------------------------------------------
248
284
295typedef struct {
300
304 EFI_I2C_OPERATION Operation [1];
306
307#endif // __PI_I2C_H__
UINT64 UINTN
Definition ProcessorBind.h:118
unsigned int UINT32
Definition ProcessorBind.h:102
#define CONST
Definition Base.h:327
unsigned char UINT8
Definition actypes.h:236
Definition PiI2c.h:36
UINT32 MaximumTransmitBytes
Definition PiI2c.h:52
UINT32 MaximumReceiveBytes
Definition PiI2c.h:46
UINT32 StructureSizeInBytes
Definition PiI2c.h:40
UINT32 MaximumTotalBytes
Definition PiI2c.h:57
Definition PiI2c.h:69
UINT32 DeviceIndex
Definition PiI2c.h:81
UINT32 HardwareRevision
Definition PiI2c.h:92
CONST EFI_GUID * DeviceGuid
Definition PiI2c.h:76
CONST UINT32 * SlaveAddressArray
Definition PiI2c.h:107
UINT32 SlaveAddressCount
Definition PiI2c.h:102
UINT32 I2cBusConfiguration
Definition PiI2c.h:97
Definition PiI2c.h:265
UINT32 LengthInBytes
Definition PiI2c.h:276
UINT8 * Buffer
Definition PiI2c.h:282
UINT32 Flags
Definition PiI2c.h:269
Definition PiI2c.h:295
UINTN OperationCount
Definition PiI2c.h:299
Definition Base.h:281