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

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
3.4
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-1991611, Issue 2
Figure 5: Device Management Flow Diagram
Interrupt Servicing
The TEMUX/TEMAP/TECT3 driver services device interrupts using an Interrupt-Service
Routine (ISR) that traps interrupts and a deferred interrupt-processing routine (DPR) that actually
processes the interrupt conditions. This lets the ISR execute quickly and exit. Most of the
time-consuming processing of the interrupt conditions is deferred to the DPR by queuing the
necessary interrupt-context information to the DPR task. The DPR function runs in the context of
a separate task within the RTOS.
Note: Since the DPR task processes potentially serious interrupt conditions, you should set the
DPR task’s priority higher than the application task interacting with the
TEMUX/TEMAP/TECT3 driver.
temuxReset
temuxDeactivate
temuxActivate
temuxDelete
temuxReset
temuxInit
temuxAdd
START
END
performs a register readback test,
allocates memory for storing device context
information, and applies a software reset to the device (using
temuxReset).
Initializes the device based on an initialization vector provided by the
application. The initialization vector is validated by the application and
stored by the driver as part of device context information. The device
registers are then configured accordingly.
Prepares the device for normal operation by enabling interrupts and other
global enables. The device is now operational and all other APIs
can be invoked.
Deactivates the device; and resets the device’s context, which enables the
application to once again initialize the device.
De-activates the device and removes it from normal operation. This
involves disabling the device interrupts and other global enables, such as
links.
Applies a software reset to the device to put it in its default startup state.
Removes the device from the list of devices being controlled by the
TEMUX driver. This function clears the device context information
for the device being deleted.
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
Software State Description
22

Related parts for PM5365