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

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
6
6.1
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-1991611, Issue 2
H
The TEMUX/TEMAP/TECT3 driver interfaces directly with the user’s hardware. In this section,
a listing of each point of interface is shown, along with a declaration and any specific porting
instructions. It is the responsibility of the user to connect these requirements into the hardware,
either by defining a macro or writing a function for each item listed. Care should be taken when
matching parameters and return values.
Platform Specific MACROs
Reading a Device Register: sysTemuxSafeRead
The first read the driver makes to a newly added device allows the driver to check on the presence
of that device via a ‘safe’ read. If the read fails, the driver will not continue to add the device and
will return an error to the application. This macro should be
defined by the user to reflect the target system’s addressing logic.
Reading from Registers: sysTemuxReadReg
This macro reads the contents of a specific register location. This macro should be
oriented and should be defined by the user to reflect the target system’s addressing logic. There is
no need for error recovery in this function.
Prototype
Inputs
Outputs
Returns
Prototype
Inputs
Outputs
Returns
ARDWARE
sysTemuxSafeRead (address, pData)
address
pData
None
Success =
Failure = <any other value>
sysTemuxReadReg (address)
address
None
value read from the addressed register location
I
NTERFACE
0x00
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
: register location to be read
: (pointer to) user’s variable
: register location to be read
UINT1
oriented and should be
Hardware Interface
UINT1
79

Related parts for PM5365