ADLI2C Struct Reference

Structure containing information about I2C. More...


Data Fields

int iSize
 Size of the structure.
int iLine
 Numerical value representing hardware I2C.
int iAddress
 The 7-bit I2C slave device address, shifted one bit to the left.
int iOffset
 The offset of the data from the address.
int iAction
 Read from or write to slave device. ADL_DL_I2C_ACTIONREAD or ADL_DL_I2C_ACTIONWRITE or ADL_DL_I2C_ACTIONREAD_REPEATEDSTART.
int iSpeed
 I2C clock speed in KHz.
int iDataSize
 A numerical value representing the number of bytes to be sent or received on the I2C bus.
char * pcData
 Address of the characters which are to be sent or received on the I2C bus.


Detailed Description

Structure containing information about I2C.

This structure is used to store the I2C information for the current adapter. This structure is used by the ADL_Display_WriteAndReadI2C() function.


Field Documentation

Size of the structure.

Numerical value representing hardware I2C.

The 7-bit I2C slave device address, shifted one bit to the left.

The offset of the data from the address.

I2C clock speed in KHz.

A numerical value representing the number of bytes to be sent or received on the I2C bus.

Address of the characters which are to be sent or received on the I2C bus.


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer