TianoCore EDK2 master
Loading...
Searching...
No Matches
I2cHost.h
Go to the documentation of this file.
1
15#ifndef __I2C_HOST_H__
16#define __I2C_HOST_H__
17
18#include <Pi/PiI2c.h>
19
20#define EFI_I2C_HOST_PROTOCOL_GUID { 0xa5aab9e3, 0xc727, 0x48cd, { 0x8b, 0xbf, 0x42, 0x72, 0x33, 0x85, 0x49, 0x48 }}
21
39
113typedef
117 IN UINTN I2cBusConfiguration,
118 IN UINTN SlaveAddress,
119 IN EFI_EVENT Event OPTIONAL,
120 IN EFI_I2C_REQUEST_PACKET *RequestPacket,
121 OUT EFI_STATUS *I2cStatus OPTIONAL
122 );
123
132
138};
139
144
145#endif // __I2C_HOST_H__
UINT64 UINTN
EFI_GUID gEfiI2cHostProtocolGuid
EFI_STATUS(EFIAPI * EFI_I2C_HOST_PROTOCOL_QUEUE_REQUEST)(IN CONST EFI_I2C_HOST_PROTOCOL *This, IN UINTN I2cBusConfiguration, IN UINTN SlaveAddress, IN EFI_EVENT Event OPTIONAL, IN EFI_I2C_REQUEST_PACKET *RequestPacket, OUT EFI_STATUS *I2cStatus OPTIONAL)
Definition: I2cHost.h:115
#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
CONST EFI_I2C_CONTROLLER_CAPABILITIES * I2cControllerCapabilities
Definition: I2cHost.h:137
EFI_I2C_HOST_PROTOCOL_QUEUE_REQUEST QueueRequest
Definition: I2cHost.h:131
Definition: Base.h:213