PM5358 S/UNI-4x622 Driver Manual

 

Application Programming Interface

 

 

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Getting the Device Counts: suni4x622GetCountsLOH

This function retrieves all the LOH counts.

Prototype

INT4 suni4x622GetCountsLOH(sSUNI4x622_HNDL

 

deviceHandle, UINT1 channel, sSUNI4x622_CNTR_LOH

 

*pcountsLOH)

 

Inputs

deviceHandle

: device handle (from suni4x622Add)

 

channel

: channel number

 

pcountsLOH

: (pointer to) LOH counter block

Outputs

pcountsLOH

: (pointer to) updated LOH counter 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 Counts: suni4x622GetCountsRPOH

This function retrieves all the RPOH counts.

Prototype

Inputs

INT4 suni4x622GetCountsRPOH(sSUNI4x622_HNDL deviceHandle, UINT1 channel, sSUNI4x622_CNTR_RPOH *pcountsRPOH)

deviceHandle

: device handle (from suni4x622Add)

channel

: channel number

pcountsRPOH

: (pointer to) RPOH counter block

Outputs

pcountsRPOH

: (pointer to) updated RPOH counter 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

Proprietary and Confidential to PMC-Sierra, Inc.

100

Document ID: PMC-2010419, Issue 1

 

Page 100
Image 100
PMC-Sierra PM5358 S/UNI 4x622 manual Getting the Device Counts suni4x622GetCountsLOH