Data Structures | |
struct | XMbox_Config |
struct | XMbox |
Functions | |
int | XMbox_CfgInitialize (XMbox *InstancePtr, XMbox_Config *ConfigPtr, u32 EffectiveAddress) |
int | XMbox_Read (XMbox *InstancePtr, u32 *BufferPtr, u32 RequestedBytes, u32 *BytesRecvdPtr) |
void | XMbox_ReadBlocking (XMbox *InstancePtr, u32 *BufferPtr, u32 RequestedBytes) |
int | XMbox_Write (XMbox *InstancePtr, u32 *BufferPtr, u32 RequestedBytes, u32 *BytesSentPtr) |
void | XMbox_WriteBlocking (XMbox *InstancePtr, u32 *BufferPtr, u32 RequestedBytes) |
u32 | XMbox_IsEmpty (XMbox *InstancePtr) |
u32 | XMbox_IsFull (XMbox *InstancePtr) |
int | XMbox_Flush (XMbox *InstancePtr) |
|
Initializes a specific mailbox.
|
|
Resets the mailbox FIFOs by empting the READ FIFO and making sure the Error Status is zero.
|
|
Checks to see if there is data available to be read
|
|
Checks to see if there is room in the write FIFO
|
|
Reads requested bytes from the mailbox referenced by InstancePtr,into the buffer pointed to by the provided pointer. The number of bytes must be a multiple of 4 (bytes). If not, the call will fail in an ASSERT This function is non blocking.
|
|
Reads requested bytes from the mailbox referenced by InstancePtr,into the buffer pointed to by the provided pointer. The number of bytes must be a multiple of 4 (bytes). If not, the call will fail in an ASSERT
|
|
Writes the requested bytes from the buffer pointed to by the provided pointer into the mailbox referenced by InstancePtr.The number of bytes must be a multiple of 4 (bytes). If not, the call will fail in an ASSERT This function is non blocking.
|
|
Writes the requested bytes from the buffer pointed to by the provided pointer into the mailbox referenced by InstancePtr.The number of bytes must be a multiple of 4 (bytes). If not, the call will fail in an ASSERT
|
Copyright © 1995-2008 Xilinx, Inc. All rights reserved.