TianoCore EDK2 master
Loading...
Searching...
No Matches
I2cIo.h
Go to the documentation of this file.
1
15#ifndef __I2C_IO_H__
16#define __I2C_IO_H__
17
18#include <Pi/PiI2c.h>
19
20#define EFI_I2C_IO_PROTOCOL_GUID { 0xb60a3e6b, 0x18c4, 0x46e5, { 0xa2, 0x9a, 0xc9, 0xa1, 0x06, 0x65, 0xa2, 0x8e }}
21
42
114typedef
118 IN UINTN SlaveAddressIndex,
119 IN EFI_EVENT Event OPTIONAL,
120 IN EFI_I2C_REQUEST_PACKET *RequestPacket,
121 OUT EFI_STATUS *I2cStatus OPTIONAL
122 );
123
132
140
145
152
158};
159
164
165#endif // __I2C_IO_H__
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST)(IN CONST EFI_I2C_IO_PROTOCOL *This, IN UINTN SlaveAddressIndex, IN EFI_EVENT Event OPTIONAL, IN EFI_I2C_REQUEST_PACKET *RequestPacket, OUT EFI_STATUS *I2cStatus OPTIONAL)
Definition: I2cIo.h:116
EFI_GUID gEfiI2cIoProtocolGuid
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
UINT32 DeviceIndex
Definition: I2cIo.h:144
CONST EFI_GUID * DeviceGuid
Definition: I2cIo.h:139
EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST QueueRequest
Definition: I2cIo.h:131
UINT32 HardwareRevision
Definition: I2cIo.h:151
CONST EFI_I2C_CONTROLLER_CAPABILITIES * I2cControllerCapabilities
Definition: I2cIo.h:157
Definition: Base.h:213