PM5358 S/UNI-4x622 Driver Manual

Application Programming Interface

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

Inputs

Outputs

Returns

Valid States

Side Effects

void cbackSuni4x622PYLD(sSUNI4x622_USR_CTXT usrCtxt, sSUNI4x622_DPV *pdpv)

usrCtxt

: user context (from suni4x622Add)

pdpv

: (pointer to) DPV that describes this event

None

 

None

 

SUNI4x622_ACTIVE

 

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

Inputs

Outputs

Returns

Valid States

Side Effects

void cbackSuni4x622SysIntf(sSUNI4x622_USR_CTXT usrCtxt, sSUNI4x622_DPV *pdpv)

usrCtxt

: user context (from suni4x622Add)

pdpv

: (pointer to) DPV that describes this event

None

 

None

 

SUNI4x622_ACTIVE

 

None

 

Proprietary and Confidential to PMC-Sierra, Inc.

106

Document ID: PMC-2010419, Issue 1

 

Page 106
Image 106
PMC-Sierra PM5358 S/UNI 4x622 manual Notifying the Application of Pyld Events cbackSuni4x622PYLD