PM5365 PMC-Sierra, Inc., PM5365 Datasheet - Page 77

no-image

PM5365

Manufacturer Part Number
PM5365
Description
TEMUX/TEMAP/TECT3 T1/E1 FRAMER, VT/TU MAPPER, M12/M13 MUX DRIVER MANUAL
Manufacturer
PMC-Sierra, Inc.
Datasheet
5.8
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-1991611, Issue 2
Callback Functions
The TEMUX/TEMAP/TECT3 driver has the capability to callback functions within the user code
when certain events occur. These events and their associated callback routine declarations are
detailed below. There is no user code action that is required by the driver for these callbacks - the
user is free to implement these callbacks in any manner or else they can be deleted from the
driver.
Reporting IO Events: sysTemuxCBackIO
The
report significant IO 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. The user should free the DPV buffer.
Reporting DS3 Events: sysTemuxCBackDS3
This callback function is provided by the user and is used by the DPR to report significant DS3
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. The user should free the DPV buffer.
Prototype
Inputs
Outputs
Returns
Prototype
Inputs
Outputs
Returns
sysTemuxCBackIO
void sysTemuxCBackIO (void *usrCtxt
TMX_DPR_EVENT event, sTMX_DPV_IO *pDPV)
usrCtxt
event
pDPV
None
None
void sysTemuxCBackDS3 (void *usrCtxt
TMX_DPR_EVENT event, sTMX_DPV_DS3 *pDPV)
event
pDPV
usrCtxt
None
None
callback function is provided by the user and is used by the DPR to
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
: user context (passed in
: event that triggered the callback
: formatted event buffer
: event that triggered the callback
: formatted event buffer
: user context (passed in
Application Programming Interface
temuxAdd
temuxAdd)
)
77

Related parts for PM5365