PM5358 S/UNI-4x622 Driver Manual

 

Application Programming Interface

 

 

 

SUNI4x622_ERR_INVALID_ARG

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Configuring SD Error Monitor: suni4x622LOHSDCfg

This function configures the Signal Defect BERM automatic monitoring of line bit error rate threshold events.

Prototype

Inputs

Outputs Returns

INT4 suni4x622LOHSDCfg(sSUNI4x622_HNDL deviceHandle, UINT1 channel, sSUNI4x622_CFG_SD *psdcfg)

deviceHandle

: device handle (from suni4x622Add)

channel

: channel number

psdcfg

: (pointer to) SD configuration block

None

 

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

Writing the K1K2 Byte: suni4x622LOHWriteK1K2

This function writes the K1, K2 byte into the line overhead.

Prototype

Inputs

Outputs Returns

INT4 suni4x622LOHWriteK1K2(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT1 K1, UINT1 K2)

deviceHandle

: device handle (from suni4x622Add)

channel

: channel number

K1

: K1 byte to write

K2

: K2 byte to write

None

 

Success = SUNI4x622_SUCCESS

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

SUNI4x622_ERR_INVALID_DEV

SUNI4x622_ERR_INVALID_CHAN

Valid States SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Proprietary and Confidential to PMC-Sierra, Inc.

65

Document ID: PMC-2010419, Issue 1

 

Page 65
Image 65
PMC-Sierra PM5358 S/UNI 4x622 Configuring SD Error Monitor suni4x622LOHSDCfg, Writing the K1K2 Byte suni4x622LOHWriteK1K2