PM5358 S/UNI-4x622 Driver Manual

Application Programming Interface

Returns

Success = SUNI4x622_SUCCESS

 

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

 

SUNI4x622_ERR_INVALID_DEV

 

SUNI4x622_ERR_INVALID_CHAN

 

SUNI4x622_ERR_INVALID_ARG

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Getting the Device Status: suni4x622GetStatusIntfLine

This function retrieves the Line Interface status.

Prototype

INT4 suni4x622GetStatusIntfLine(sSUNI4x622_HNDL

 

deviceHandle, UINT1 channel,

 

sSUNI4x622_STATUS_INTF_LINE *pstatusLine)

Inputs

deviceHandle

: device handle (from suni4x622Add)

 

channel

: channel number

 

pstatusLine

: (pointer to) LINE status block

Outputs

pstatusLine

: (pointer to) updated LINE status block

Returns

Success = SUNI4x622_SUCCESS

 

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

 

SUNI4x622_ERR_INVALID_DEV

 

SUNI4x622_ERR_INVALID_CHAN

 

SUNI4x622_ERR_INVALID_ARG

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Getting the Device Status: suni4x622GetStatusPYLD

This function retrieves the payload status.

Prototype

INT4 suni4x622GetStatusPYLD(sSUNI4x622_HNDL

 

deviceHandle, UINT1 channel, sSUNI4x622_STATUS_PYLD

 

*pstatusPYLD)

 

Inputs

deviceHandle

: device handle (from suni4x622Add)

 

channel

: channel number

 

pstatusPYLD

: (pointer to) PYLD status block

Outputs

pstatusPYLD

: (pointer to) updated PYLD status block

Returns

Success = SUNI4x622_SUCCESS

 

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

 

SUNI4x622_ERR_INVALID_DEV

Proprietary and Confidential to PMC-Sierra, Inc.

98

Document ID: PMC-2010419, Issue 1

 

Page 98
Image 98
PMC-Sierra PM5358 S/UNI 4x622 manual Getting the Device Status suni4x622GetStatusIntfLine