TianoCore EDK2 master
Loading...
Searching...
No Matches
I2cMaster.h
Go to the documentation of this file.
1
13#ifndef __I2C_MASTER_PPI_H__
14#define __I2C_MASTER_PPI_H__
15
16#include <Pi/PiI2c.h>
17
18#define EFI_PEI_I2C_MASTER_PPI_GUID \
19 { 0xb3bfab9b, 0x9f9c, 0x4e8b, { 0xad, 0x37, 0x7f, 0x8c, 0x51, 0xfc, 0x62, 0x80 }}
20
22
36typedef
40 IN UINTN *BusClockHertz
41 );
42
52typedef
56 );
57
80typedef
84 IN UINTN SlaveAddress,
85 IN EFI_I2C_REQUEST_PACKET *RequestPacket
86 );
87
96 CONST EFI_I2C_CONTROLLER_CAPABILITIES *I2cControllerCapabilities;
97 EFI_GUID Identifier;
98};
99
100extern EFI_GUID gEfiPeiI2cMasterPpiGuid;
101
102#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
EFI_STATUS(EFIAPI * EFI_PEI_I2C_MASTER_PPI_START_REQUEST)(IN CONST EFI_PEI_I2C_MASTER_PPI *This, IN UINTN SlaveAddress, IN EFI_I2C_REQUEST_PACKET *RequestPacket)
Definition: I2cMaster.h:82
EFI_STATUS(EFIAPI * EFI_PEI_I2C_MASTER_PPI_SET_BUS_FREQUENCY)(IN EFI_PEI_I2C_MASTER_PPI *This, IN UINTN *BusClockHertz)
Definition: I2cMaster.h:38
EFI_STATUS(EFIAPI * EFI_PEI_I2C_MASTER_PPI_RESET)(IN CONST EFI_PEI_I2C_MASTER_PPI *This)
Definition: I2cMaster.h:54
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213