TianoCore EDK2 master
No Matches
EFI_I2C_DEVICE Struct Reference

#include <MdePkg/Include/Pi/PiI2c.h>

Data Fields

UINT32 DeviceIndex
UINT32 HardwareRevision
UINT32 I2cBusConfiguration
UINT32 SlaveAddressCount
CONST UINT32 * SlaveAddressArray

Detailed Description

I2C device description

The EFI_I2C_ENUMERATE_PROTOCOL uses the EFI_I2C_DEVICE to describe the platform specific details associated with an I2C device. This description is passed to the I2C bus driver during enumeration where it is made available to the third party I2C device driver via the EFI_I2C_IO_PROTOCOL.

Definition at line 63 of file PiI2c.h.

Field Documentation

◆ DeviceGuid


Unique value assigned by the silicon manufacture or the third party I2C driver writer for the I2C part. This value logically combines both the manufacture name and the I2C part number into a single value specified as a GUID.

Definition at line 70 of file PiI2c.h.

◆ DeviceIndex

UINT32 EFI_I2C_DEVICE::DeviceIndex

Unique ID of the I2C part within the system

Definition at line 75 of file PiI2c.h.

◆ HardwareRevision

UINT32 EFI_I2C_DEVICE::HardwareRevision

Hardware revision - ACPI _HRV value. See the Advanced Configuration and Power Interface Specification, Revision 5.0 for the field format and the Plug and play support for I2C web-page for restriction on values.

http://www.acpi.info/spec.htm http://msdn.microsoft.com/en-us/library/windows/hardware/jj131711(v=vs.85).aspx

Definition at line 86 of file PiI2c.h.

◆ I2cBusConfiguration

UINT32 EFI_I2C_DEVICE::I2cBusConfiguration

I2C bus configuration for the I2C device

Definition at line 91 of file PiI2c.h.

◆ SlaveAddressArray

CONST UINT32* EFI_I2C_DEVICE::SlaveAddressArray

Pointer to the array of slave addresses for the I2C device.

Definition at line 101 of file PiI2c.h.

◆ SlaveAddressCount

UINT32 EFI_I2C_DEVICE::SlaveAddressCount

Number of slave addresses for the I2C device.

Definition at line 96 of file PiI2c.h.

The documentation for this struct was generated from the following file: