| dp14 Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

- Data Structures
- Data Fields

Data Fields
XDp_RxIicMapEntry Struct Reference
Overview

This typedef represents one I2C map entry for a device. More...

## Data Fields
u8 | IicAddress
| The I2C address for the which to link the data to. More...
u8 | WriteVal
| The last value written to this I2C address. More...
u16 | ReadNumBytes
| The total number of available data bytes at this I2C address. More...
u8 * | ReadData
| The data available at the specified I2C address. More...

## Detailed Description

This typedef represents one I2C map entry for a device.

This is used to allow the user to define an I2C map for any port.

## Field Documentation

u8 XDp_RxIicMapEntry::IicAddress

The I2C address for the which to link the data to.

u8* XDp_RxIicMapEntry::ReadData

The data available at the specified I2C address.

User-defined by setting the pointer to a structure residing in the application.

u16 XDp_RxIicMapEntry::ReadNumBytes

The total number of available data bytes at this I2C address.

u8 XDp_RxIicMapEntry::WriteVal

The last value written to this I2C address.

This may be used when the TX writes to this I2C address in order to set a read offset or set the segment pointer.