DWCUserRecvCallback

Syntax

#include <dwc.h>
typedef void(*) DWCUserRecvCallback(u8 aid,
             u8 *buffer,
             int size,
             void *param);

Arguments

aid Sender's AID.
buffer Pointer to received data.
size Size of the received data.
param Callback parameter.

Return Values

None.

Description

Called when data sent to the local host using DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, or DWC_SendUnreliableBitmap has been received by the local host.

This callback function can be set using the DWC_SetUserRecvCallback function.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL