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

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
Writing to Register Blocks: temuxWriteBlock
This function writes to the block registers of a specific TEMUX/TEMAP/TECT3 device by
providing the starting register number and length.
Note: A failure to write forces a return of zero and any specific error indication is written to the
associated DDB
Reading Mapper Registers: temuxReadMapper (TEMUX/TEMAP only)
This function reads the mapper registers of a specific TEMUX/TEMAP device by providing the
base register, TUG3, TUG2 and TU number.
Valid States
Side Effects
Prototype
Inputs
Outputs
Returns
Valid States
Side Effects
Prototype
Inputs
PRESENT, ACTIVE, INACTIVE
MAY affect registers that change after a read operation
UINT1 temuxWriteBlock (sTMX_HNDL devId, UINT2
regNum, UINT2 length, UINT1 *pBlock)
devId
regNum
length
pBlock
Error Code written to MDB:
TMX_ERR_HNDL
Error Code written to DDB:
Success =
Failure
last previous value found
PRESENT, ACTIVE, INACTIVE
May change the configuration of the device
UINT1 temuxReadMapper (sTMX_HNDL devId, UINT2
regNum, UINT2 tug3, UINT2 tug2, UINT2 tu)
devId
regNum
tug3
tug2
tu
= TMX_ERR_RANGE
TMX_ERR_ADDR
TMX_ERR_HWFAIL
TMX_OK
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
: device handle (from
: register number
: number of register to write
: (pointer to) the block of data to write
: device handle (from
: register number
: tributary unit 3 group number (1-3)
: tributary unit 2 group number (1-7)
: tributary unit number (1-4)
temuxAdd
temuxAdd
Application Programming Interface
)
)
64

Related parts for PM5365