PM5358 S/UNI-4x622 Driver Manual

 

 

Application Programming Interface

 

 

 

 

pstatusSOH

: (pointer to) SOH status block

Outputs

pstatusSOH

: (pointer to) updated SOH 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: suni4x622GetStatusLOH

This function retrieves the LOH status.

Prototype

INT4 suni4x622GetStatusLOH(sSUNI4x622_HNDL

 

deviceHandle, UINT1 channel, sSUNI4x622_STATUS_LOH

 

*pstatusLOH)

 

Inputs

deviceHandle

: device handle (from suni4x622Add)

 

channel

: channel number

 

pstatusLOH

: (pointer to) LOH status block

Outputs

pstatusLOH

: (pointer to) updated LOH 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: suni4x622GetStatusRPOH

This function retrieves the RPOH status.

Prototype

INT4 suni4x622GetStatusRPOH(sSUNI4x622_HNDL

 

deviceHandle, UINT1 channel, sSUNI4x622_STATUS_RPOH

 

*pstatusRPOH)

 

Inputs

deviceHandle

: device handle (from suni4x622Add)

 

channel

: channel number

 

pstatusRPOH

: (pointer to) RPOH status block

Outputs

pstatusRPOH

: (pointer to) updated RPOH status block

Proprietary and Confidential to PMC-Sierra, Inc.

97

Document ID: PMC-2010419, Issue 1

 

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