![]() |
iic
Vitis Drivers API Documentation
|
Implements IIC master transfer APIs.
Contains master functions for the XIic component. This file is necessary to send or receive as a master on the IIC bus.
MODIFICATION HISTORY:
Ver Who Date Changes
1.01b jhl 03/27/02 Reparitioned the driver 1.01c ecm 12/05/02 new rev 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. Removed the macro XIic_mEnterCriticalRegion, XIic_IntrGlobalDisable should be used in its place. Removed the macro XIic_mExitCriticalRegion, XIic_IntrGlobalEnable should be used in its place. 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_i.h and xiic_l.h files for further information 2.05a bss 02/05/12 Assigned RecvBufferPtr in XIic_MasterSend API and SendBufferPtr in XIic_MasterRecv NULL 3.15 vlt 10/10/25 Replace u8 to int for LoopCnt in RecvMasterData to eliminate type mismatch warning. 3.16 tb 09/22/26 Align Doxygen comments with AMD documentation standards
Macros | |
| #define | XIIC_MASTER_INCLUDE |
| Includes master code for sending and receiving data. More... | |
Functions | |
| int | XIic_MasterSend (XIic *InstancePtr, u8 *TxMsgPtr, int ByteCount) |
| Sends data as a master on the IIC bus. More... | |
| int | XIic_MasterRecv (XIic *InstancePtr, u8 *RxMsgPtr, int ByteCount) |
| Receives data as a master from a slave device on the IIC bus. More... | |