i3cpsx
Vitis Drivers API Documentation
xi3cpsx_master.c File Reference

Macros

#define TX_MAX_LOOPCNT   1000000U
 Used to wait in polled function. More...
 

Functions

s32 XI3cPsx_BusInit (XI3cPsx *InstancePtr)
 Initializes the I3c bus by configuring the device address table, resets and assigns the dynamic address to the slave devices. More...
 
s32 XI3cPsx_MasterSend (XI3cPsx *InstancePtr, u8 *MsgPtr, s32 ByteCount, XI3cPsx_Cmd Cmds)
 This function initiates an interrupt-driven send in master mode. More...
 
s32 XI3cPsx_MasterRecv (XI3cPsx *InstancePtr, u8 *MsgPtr, s32 ByteCount, XI3cPsx_Cmd *Cmds)
 This function initiates an interrupt-driven receive in master mode. More...
 
s32 XI3cPsx_MasterSendPolled (XI3cPsx *InstancePtr, u8 *MsgPtr, s32 ByteCount, XI3cPsx_Cmd Cmds)
 This function initiates a polled mode send in master mode. More...
 
s32 XI3cPsx_MasterRecvPolled (XI3cPsx *InstancePtr, u8 *MsgPtr, s32 ByteCount, XI3cPsx_Cmd *Cmds)
 This function initiates a polled mode receive in master mode. More...
 
void XI3cPsx_SetStatusHandler (XI3cPsx *InstancePtr, void *CallBackRef, XI3cPsx_IntrHandler FunctionPtr)
 This function sets the status handler, which the driver calls when it encounters conditions that should be reported to the higher layer software. More...
 
void XI3cPsx_MasterInterruptHandler (XI3cPsx *InstancePtr)
 The interrupt handler for the master mode. More...