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

Notifying the Application of PYLD Events: cbackSuni4x622PYLD

This callback function is provided by the USER and is used by the DPR to report significant
PYLD 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 cbackSuni4x622PYLD(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

Notifying the Application of SYSINTF Events: cbackSuni4x622SysIntf

This callback function is provided by the USER and is used by the DPR to report significant
System Interface 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 cbackSuni4x622SysIntf(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