| PM5358 |
| Application Programming Interface |
|
|
| SUNI4x622_ERR_INVALID_CHAN |
| SUNI4x622_ERR_INVALID_ARG |
Valid States | SUNI4x622_ACTIVE, SUNI4x622_INACTIVE |
Side Effects | None |
Getting the Device Counts: suni4x622GetCountsChan
This function retrieves all the counts for a specific channel.
Prototype | INT4 suni4x622GetCountsChan(sSUNI4x622_HNDL | |
| deviceHandle, UINT1 channel, sSUNI4x622_CNTR_CHAN | |
| *pcountsChan) |
|
Inputs | deviceHandle | : device handle (from suni4x622Add) |
| channel | : channel number |
| pcountsChan | : (pointer to) counter block |
Outputs | pcountsChan | : (pointer to) updated 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: suni4x622GetCountsSOH
This function retrieves all the SOH counts.
Prototype | INT4 suni4x622GetCountsSOH(sSUNI4x622_HNDL | |
| deviceHandle, UINT1 channel, sSUNI4x622_CNTR_SOH | |
| *pcountsSOH) |
|
Inputs | deviceHandle | : device handle (from suni4x622Add) |
| channel | : channel number |
| pcountsSOH | : (pointer to) SOH counter block |
Outputs | pcountsSOH | : (pointer to) updated SOH counter block |
Returns Success = SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
SUNI4x622_ERR_INVALID_ARG
Proprietary and Confidential to | 99 |
Document ID: |
|