
PM5358
Application Programming Interface
Side Effects None
Reading the K1K2 Byte: suni4x622LOHReadK1K2
This function reads the K1K2 byte from the line overhead.
Prototype
Inputs
Outputs
Returns
INT4 suni4x622LOHReadK1K2(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT1 *pK1, UINT1 *pK2)
deviceHandle | : device handle (from suni4x622Add) |
channel | : channel number |
pK1 | : (pointer to) store K1 byte read |
pK2 | : (pointer to) store K2 byte read |
pK1 | : (pointer to) K1 byte read |
pK2 | : (pointer to) K2 byte read |
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 S1 Byte: suni4x622LOHWriteS1
This function writes the S1 byte into the line overhead.
Prototype
Inputs
INT4 suni4x622LOHWriteS1(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT1 S1)
deviceHandle | : device handle (from suni4x622Add) |
channel | : channel number |
S1 | : S1 byte to write |
Outputs | None |
Returns | 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 | 66 |
Document ID: |
|