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

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
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-1991611, Issue 2
Polling Interrupt Registers: temuxPoll
This function commands the driver to poll the interrupt registers in the device. The call will fail
unless the device was initialized into polling mode. The output of the poll is the same as it would
be if interrupts were enabled: the data gathered is passed to the DPR for disposition.
Interrupt Service: temuxISR
This function reads the state of the interrupt registers in the TEMUX/TEMAP/TECT3 and stores
them into an ISV. Performs whatever functions are needed to clear the interrupt, from simply
clearing bits to complex functions. This routine is called by the application code, from within
sysTemuxISRHandler
Valid States
Side Effects
Prototype
Inputs
Outputs
Returns
Valid States
Side Effects
Prototype
Inputs
Outputs
Returns
PRESENT, ACTIVE, INACTIVE
May change the operation of the ISR/DPR
INT4 temuxPoll (sTMX_HNDL devId, void *pBuf)
devId
pBuf
None
Success =
Failure =
ACTIVE, INACTIVE
None
void *temuxISR (sTMX_HNDL devId)
devId
None
(pointer to) an ISV or NULL on error
.
TMX_ERR_CLOSED
TMX_ERR_INVALID
TMX_ERR_NOTREADY
TMX_ERR_ISSTART
TMX_ERR_MODE
TMX_ERR_HNDL
TMX_OK
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
: device handle (from
: (pointer to) an ISV ((
: device Handle (from
cast to
void
*)
temuxAdd
sTMX_ISV
temuxAdd
Application Programming Interface
)
)
*)
69

Related parts for PM5365