TianoCore EDK2 master
|
#include <MdePkg/Include/Pi/PiI2c.h>
Data Fields | |
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.
UINT32 EFI_I2C_DEVICE::DeviceIndex |
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 |
CONST UINT32* EFI_I2C_DEVICE::SlaveAddressArray |
UINT32 EFI_I2C_DEVICE::SlaveAddressCount |