ADL (AMD Display Library) Public APIs  Version 17.1
Data Fields
ADLI2C Struct Reference

Structure containing information about I2C. More...

#include <adl_structures.h>

Data Fields

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

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

◆ iAction

int ADLI2C::iAction

◆ iAddress

int ADLI2C::iAddress

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

◆ iDataSize

int ADLI2C::iDataSize

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

◆ iLine

int ADLI2C::iLine

Numerical value representing hardware I2C.

◆ iOffset

int ADLI2C::iOffset

The offset of the data from the address.

◆ iSize

int ADLI2C::iSize

Size of the structure.

◆ iSpeed

int ADLI2C::iSpeed

I2C clock speed in KHz.

◆ pcData

char* ADLI2C::pcData

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


The documentation for this struct was generated from the following file:

Copyright © 2009-2020 Advanced Micro Devices, Inc. All rights reserved.