iic
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xiic_dyn_master.c File Reference

Overview

Implements IIC dynamic-mode master transfers.

Contains master functions for the XIic component in Dynamic controller mode. This file is necessary to send or receive as a master on the IIC bus.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.03a mta 04/10/06 Created. 1.13a wgr 03/22/07 Converted to new coding style. 2.00a ktn 10/22/09 Converted all register accesses to 32 bit access. Updated to use the HAL APIs/macros. The macros XIic_mDynSend7BitAddress and XIic_mDynSendStop have been removed from this file as they were already defined in a header file. Some of the macros have been renamed to remove _m from the name and Some of the macros have been renamed to be consistent, see the xiic_l.h file for further information. 3.16 tb 09/22/26 Align Doxygen comments with AMD documentation standards

#include "xiic.h"
#include "xiic_i.h"

Macros

#define XIIC_DYN_MASTER_INCLUDE
 Includes dynamic master code for sending and receiving data. More...
 

Functions

int XIic_DynMasterSend (XIic *InstancePtr, u8 *TxMsgPtr, u8 ByteCount)
 Sends data as a Dynamic master on the IIC bus. More...
 
int XIic_DynMasterRecv (XIic *InstancePtr, u8 *RxMsgPtr, u8 ByteCount)
 Receives data as a master from a slave device on the IIC bus. More...
 
int XIic_DynamicInitialize (XIic *InstancePtr)
 Initializes the IIC core for dynamic functionality. More...