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

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
Other Functions
·
·
Variables
Naming of variables must follow the Hungarian notation.
·
·
·
Other Functions are the remaining functions that are part of the driver and have no special
naming convention. However, they must follow the Hungarian notation.
Example:
A pointer to a variable shall use
the variable name already starts with a
capitalized, but this is not a requirement. Double pointers might be prefixed with
this is not required.
Global variables must be identified with the device’s name in lowercase as a prefix.
Examples:
maxDevs
pprevBuf
both
pmatrix
, and
myOwnFunction()
maxDevs
and
temuxBaseAddress
and
pPrevBuf
ppmatrix
is a valid name for a variable,
are accepted names for a pointer to the
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
are accepted names for a double pointer to the variable matrix.
is a valid name for such a function.
“p”
as a prefix followed by the variable name unchanged. If
is a valid name for a global variable. Note that both
“p”
, the first letter of the variable name may be
pmaxDevs
Appendix A: Coding Conventions
is a valid name for a pointer to
prevBuf
variable, and that
“pp”
, but
95

Related parts for PM5365