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

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
·
Table 3: Module Initialization Vector: sTMX_MIV
Device Initialization Vector
Passed via the
initialize a TEMUX/TEMAP/TECT3 device. Special or unusual fields are described first:
·
·
·
·
·
·
Table 4: Device Initialization Vector: sTMX_DIV
Field Name
autoStart
pMDB
maxDevs
Field Name
pDDB
baseAddress
maxDevs
during this session. The number is used to calculate the amount of memory that will be
allocated to the driver. The maximum value that can be passed is
pDDB
NULL, the driver will allocate sufficient memory to hold the DDB and return its address in
the
baseAddress
usrCtxt
will be stored in the DDB and passed back to the application during DPR processing. The
user might use it to identify ‘this’ device or point to some data related to this device.
autoInit
(calling
the device left uninitialized, and the application will have to call temuxInit at a later time.
profileNum
be initialized into. The function of this element is the same as the profileNum argument to the
function temuxInit. A value of zero indicates that during initialization, after the device is
reset, all registers should remain unchanged (in their initial state).
cbackIO, cbackDS3, cbackFramer, cbackMapper
application functions used by the DPR to inform the application code of pending events. If
the user sets the element to NULL, then any events that might cause the DPR to ‘call back’ to
the application will be processed during ISR processing but ignored by the DPR.
pDDB
can be used by the application to pass the address of a pre-allocated DDB. If
temuxInit
: is used to inform the driver how many devices will be operating concurrently
: this field is strictly a user field. The value passed into the function via this element
field.
temuxAdd
: is a flag that tells the driver to automatically initialize the device being added
: is used only when autoInit is set and indicates which mode the device should
Field Type
UINT2
void *
UINT2
: must contain the hardware base address of the device.
Field Type
void *
UINT1 *
internally does this). If the flag is zero, the DDB will be initialized and
call, this structure contains all the information needed by the driver to
Field Description
indicates to driver to start the module when opened
(pointer to) pre-allocated or (if NULL) returned MDB
number of devices that must be supported for this session
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
Field Description
(pointer to) pre-allocated or (if NULL) returned DDB
device base address
: Passes the addresses of
TMX_MAX_DEVICES
Data Structures
pDDB
.
is
27

Related parts for PM5365