XenevaOS
Loading...
Searching...
No Matches
I2cMaster.h
Go to the documentation of this file.
1
21#ifndef __I2C_MASTER_H__
22#define __I2C_MASTER_H__
23
24#include <Pi/PiI2c.h>
25
26#define EFI_I2C_MASTER_PROTOCOL_GUID { 0xcd72881f, 0x45b5, 0x4feb, { 0x98, 0xc8, 0x31, 0x3d, 0xa8, 0x11, 0x74, 0x62 }}
27
29
55typedef
59 IN OUT UINTN *BusClockHertz
60 );
61
77typedef
81 );
82
150typedef
155 IN EFI_I2C_REQUEST_PACKET *RequestPacket,
156 IN EFI_EVENT Event OPTIONAL,
157 OUT EFI_STATUS *I2cStatus OPTIONAL
158 );
159
189
191
192#endif // __I2C_MASTER_H__
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
UINT16 SlaveAddress
Definition Acpi50.h:97
#define CONST
Definition Base.h:327
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
#define OPTIONAL
Definition Base.h:358
EFI_STATUS(EFIAPI * EFI_I2C_MASTER_PROTOCOL_START_REQUEST)(IN CONST EFI_I2C_MASTER_PROTOCOL *This, IN UINTN SlaveAddress, IN EFI_I2C_REQUEST_PACKET *RequestPacket, IN EFI_EVENT Event OPTIONAL, OUT EFI_STATUS *I2cStatus OPTIONAL)
Definition I2cMaster.h:152
EFI_STATUS(EFIAPI * EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY)(IN CONST EFI_I2C_MASTER_PROTOCOL *This, IN OUT UINTN *BusClockHertz)
Definition I2cMaster.h:57
EFI_STATUS(EFIAPI * EFI_I2C_MASTER_PROTOCOL_RESET)(IN CONST EFI_I2C_MASTER_PROTOCOL *This)
Definition I2cMaster.h:79
EFI_GUID gEfiI2cMasterProtocolGuid
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
VOID * EFI_EVENT
Definition UefiBaseType.h:41
Definition PiI2c.h:36
Definition PiI2c.h:295
Definition Base.h:281
Definition I2cMaster.h:167
EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY SetBusFrequency
Definition I2cMaster.h:171
EFI_I2C_MASTER_PROTOCOL_RESET Reset
Definition I2cMaster.h:176
EFI_I2C_MASTER_PROTOCOL_START_REQUEST StartRequest
Definition I2cMaster.h:181
CONST EFI_I2C_CONTROLLER_CAPABILITIES * I2cControllerCapabilities
Definition I2cMaster.h:187