PM5358 S/UNI-4x622 Driver Manual
Application Programming Interface
Proprietary and Confidential to PMC-Sierra, Inc. 107
Document ID: PMC-2010419, Issue 1

Notifying the Application of FIFO Events: cbackSuni4x622FIFO

This callback function is provided by the USER and is used by the DPR to report significant
FIFO section events back to the application. This function should be non-blocking. Typically, the
callback routine sends a message to another task with the event identifier and other context
information. The task that receives this message can then process this information according to
the system requirements. Note: the callback function’s addresses are passed to the driver doing
the suni4x622Init call. If the address of the callback function was passed as a NULL at
initialization no callback will be made.
Prototype void cbackSuni4x622FIFO(sSUNI4x622_USR_CTXT usrCtxt,
sSUNI4x622_DPV *pdpv)
Inputs usrCtxt : user context (from suni4x622Add)
pdpv : (pointer to) DPV that describes this event
Outputs None
Returns None
Valid States SUNI4x622_ACTIVE
Side Effects None