PM5358 S/UNI-4x622 Driver Manual

 

Application Programming Interface

 

 

 

SUNI4x622_ERR_INVALID_CHAN

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Forcing B1 Error: suni4x622SOHForceB1

This function inserts the B1 BIP-8 errors byte to be inserted to the section overhead.

Prototype

Inputs

Outputs Returns

INT4 suni4x622SOHForceB1(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT2 enable)

deviceHandle

: device handle (from suni4x622Add)

channel

: channel number

enable

: flag to start/stop B1 error insertion

None

 

Success = SUNI4x622_SUCCESS

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

SUNI4x622_ERR_INVALID_DEV

SUNI4x622_ERR_INVALID_CHAN

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Forcing OOF: suni4x622SOHForceOOF

This function forces the Section Overhead Processor temporarily out of frame. The Section Overhead Processor will attempt to lock back onto the frame.

Prototype

Inputs

Outputs Returns

INT4 suni4x622SOHForceOOF(sSUNI4x622_HNDL deviceHandle, UINT1 channel)

deviceHandle

: device handle (from suni4x622Add)

channel

: channel number

None

 

Success = SUNI4x622_SUCCESS

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

SUNI4x622_ERR_INVALID_DEV

SUNI4x622_ERR_INVALID_CHAN

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Proprietary and Confidential to PMC-Sierra, Inc.

63

Document ID: PMC-2010419, Issue 1

 

Page 63
Image 63
PMC-Sierra PM5358 S/UNI 4x622 manual Forcing B1 Error suni4x622SOHForceB1, Forcing OOF suni4x622SOHForceOOF