TianoCore EDK2 master
Loading...
Searching...
No Matches
I2cEnumerate.h
Go to the documentation of this file.
1
14#ifndef __I2C_ENUMERATE_H__
15#define __I2C_ENUMERATE_H__
16
17#include <Pi/PiI2c.h>
18
19#define EFI_I2C_ENUMERATE_PROTOCOL_GUID { 0xda8cd7c4, 0x1c00, 0x49e2, { 0x80, 0x3e, 0x52, 0x14, 0xe7, 0x01, 0x89, 0x4c }}
20
22
46typedef
50 IN OUT CONST EFI_I2C_DEVICE **Device
51 );
52
74typedef
78 IN UINTN I2cBusConfiguration,
79 OUT UINTN *BusClockHertz
80 );
81
91
97};
98
103
104#endif // __I2C_ENUMERATE_H__
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_I2C_ENUMERATE_PROTOCOL_ENUMERATE)(IN CONST EFI_I2C_ENUMERATE_PROTOCOL *This, IN OUT CONST EFI_I2C_DEVICE **Device)
Definition: I2cEnumerate.h:48
EFI_GUID gEfiI2cEnumerateProtocolGuid
EFI_STATUS(EFIAPI * EFI_I2C_ENUMERATE_PROTOCOL_GET_BUS_FREQUENCY)(IN CONST EFI_I2C_ENUMERATE_PROTOCOL *This, IN UINTN I2cBusConfiguration, OUT UINTN *BusClockHertz)
Definition: I2cEnumerate.h:76
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_I2C_ENUMERATE_PROTOCOL_ENUMERATE Enumerate
Definition: I2cEnumerate.h:90
EFI_I2C_ENUMERATE_PROTOCOL_GET_BUS_FREQUENCY GetBusFrequency
Definition: I2cEnumerate.h:96
Definition: Base.h:213