PM8621-BI PMC-Sierra, Inc., PM8621-BI Datasheet - Page 241

no-image

PM8621-BI

Manufacturer Part Number
PM8621-BI
Description
Driver, NSE/SBS Narrowband Chipset Driver
Manufacturer
PMC-Sierra, Inc.
Datasheet
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-2021248, Issue 1
Prototype
Inputs
Outputs
Returns
Prototype
Inputs
Outputs
Returns
Sending Messages in ILC: dalNbcsTswSetIlcTxMsg
This function is used by the application to transmit messages on the in-band link over the working
and protect serial links. There is no limitation on the number of messages (each message has a
maximum of 32 bytes corresponding to size of data in each transmit FIFO) that can be sent. The
application specifies the transmit data buffer(
size of the transmit data buffer(
application can also specify the number of bytes of data to be sent in each message(
which ranges from 1 to 32 bytes). If the application wants to use all the available message size, it
will specify the pyldSz to be 32. In the event that the application has fixed size messages less than
32, say n (0 < n < 32) bytes, then pyldSz will be specified as n. In this case the function will put n
bytes of transmit data in each transmit FIFO. Note that the remaining unused bytes in each
transmit FIFO will be uninitialized.
The function returns the number of bytes that have been placed in the transmit FIFO’s in pBufSz.
Querying Free Space in ILC Tx FIFO: dalNbcsTswGetIlcTxFifoLvl
This function is to check the current capacity of the Tx FIFO. This allows the user to find out
how many more messages can be written to FIFO for transmission.
INT4 dalNbcsTswSetIlcTxMsg(void* deviceInfo,
sNBCS_TXBUF_DESC_ILC* ptxBufDesc, UINT1 pyldSz,
UINT1 numPorts)
deviceInfo
ptxBufDesc
pyldSz
numPorts
ptxBufDesc
Success = NBCS_SUCCESS
Failure = <NBCS error codes>
INT4 dalNbcsTswGetIlcTxFifoLvl(void*
deviceInfo, UINT1 link, UINT1* pnumMsg)
deviceInfo
link
pnumMsg
pnumMsg
Success = NBCS_SUCCESS
Failure = <NBCS error codes>
pBufSz
: device information handle
: device information handle
: (pointer to) buffer descriptor(s)
: payload size (from 1 to 32 bytes)
: number of links (from 1-32 max)
: buffer descriptor(s) that include the
:0 = working, 1 = protect link
: (pointer to) free FIFO capacity
: free FIFO capacity
inside the
number of bytes sent for each link.
pBuf
ptxBufDesc
inside the
Narrowband Chipset Device Driver Manual
ptxBufDesc
structure). In addition the
Time Switch Device Driver Interface
structure) and the
pyldSz
,
241

Related parts for PM8621-BI