PM5358
Application Programming Interface
4.10 Automatic Protection Configuration
The Automatic Protection Configuration section is responsible for configuring the
Configuring APS Working/Protect Mate: suni4x622APSCfg
When enable is set, this function enables the
Prototype
Inputs
INT4 suni4x622APSCfg(sSUNI4x622_HNDL deviceHandle, UINT1 mode, UINT1 enable)
deviceHandle | : device handle (from suni4x622Add) |
mode | : =0 if working mate; =1 if protect mate |
enable | : start/stop APS operation |
Outputs | None |
Returns | Success = SUNI4x622_SUCCESS |
| Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE |
| SUNI4x622_ERR_INVALID_DEV |
Valid States | SUNI4x622_ACTIVE, SUNI4x622_INACTIVE |
Side Effects | None |
Configuring the Source Channel for the Given Channel Receive Path: suni4x622RPCfg
The function is used to control the source channel for the receive path.
Prototype
Inputs
Outputs Returns
INT4 suni4x622RPCfg(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT1 srcChan)
deviceHandle | : device handle (from suni4x622Add) |
channel | : receive path channel number |
srcChan | : source 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 | 78 |
Document ID: |
|