TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | EFI_I2C_CONTROLLER_CAPABILITIES |
struct | EFI_I2C_DEVICE |
struct | EFI_I2C_OPERATION |
struct | EFI_I2C_REQUEST_PACKET |
Macros | |
#define | I2C_ADDRESSING_10_BIT 0x80000000 |
#define | I2C_FLAG_READ 0x00000001 |
#define | I2C_FLAG_SMBUS_OPERATION 0x00010000 |
SMBus operation. | |
#define | I2C_FLAG_SMBUS_BLOCK 0x00020000 |
#define | I2C_FLAG_SMBUS_PROCESS_CALL 0x00040000 |
SMBus process call operation. | |
#define | I2C_FLAG_SMBUS_PEC 0x00080000 |
Include file matches things in PI.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PiI2c.h.
#define I2C_ADDRESSING_10_BIT 0x80000000 |
#define I2C_FLAG_READ 0x00000001 |
#define I2C_FLAG_SMBUS_BLOCK 0x00020000 |
SMBus block operation The flag I2C_FLAG_SMBUS_BLOCK causes the I2C master protocol to update the LengthInBytes field of the operation in the request packet with the actual number of bytes read or written. These values are only valid when the entire I2C transaction is successful. This flag also changes the LengthInBytes meaning to be: A maximum of LengthInBytes is to be read from the device. The first byte read contains the number of bytes remaining to be read, plus an optional PEC value.
#define I2C_FLAG_SMBUS_OPERATION 0x00010000 |
#define I2C_FLAG_SMBUS_PEC 0x00080000 |