|
XenevaOS
|
#include <PiI2c.h>

Public Attributes | |
| CONST EFI_GUID * | DeviceGuid |
| UINT32 | DeviceIndex |
| UINT32 | HardwareRevision |
| UINT32 | I2cBusConfiguration |
| UINT32 | SlaveAddressCount |
| CONST UINT32 * | SlaveAddressArray |
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.
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.
| UINT32 EFI_I2C_DEVICE::DeviceIndex |
Unique ID of the I2C part within the system
| 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
| UINT32 EFI_I2C_DEVICE::I2cBusConfiguration |
I2C bus configuration for the I2C device
Pointer to the array of slave addresses for the I2C device.
| UINT32 EFI_I2C_DEVICE::SlaveAddressCount |
Number of slave addresses for the I2C device.