|
| PM5358 |
|
| Application Programming Interface |
|
|
|
| channel | : channel number |
| enable | : sets loop if |
Outputs | None |
|
Returns | Success = SUNI4x622_SUCCESS | |
| Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE | |
| SUNI4x622_ERR_INVALID_DEV | |
|
| SUNI4x622_ERR_INVALID_CHAN |
Valid States | SUNI4x622_ACTIVE | |
Side Effects | Will inhibit the flow of active data |
4.14 Callback Functions
The
The names given to the callback functions are given as examples only. The addresses of the callback functions invoked by the suni4x622DPR function are passed during the suni4x622Init call (inside a DIV). However the USER shall use the exact same prototype. The application is left responsible for releasing the passed DPV as soon as possible (to avoid running out of DPV buffers) by calling sysSuni4x622DPVBufferRtn either within the callback function or later inside the application code.
Notifying the Application of SOH Events: cbackSuni4x622SOH
This callback function is provided by the USER and is used by the DPR to report significant SOH section events back to the application. This function should be
Prototype
Inputs
Outputs Returns
void cbackSuni4x622SOH(sSUNI4x622_USR_CTXT usrCtxt, sSUNI4x622_DPV *pdpv)
usrCtxt | : user context (from suni4x622Add) |
pdpv | : (pointer to) DPV that describes this event |
None |
|
None |
|
Proprietary and Confidential to | 104 |
Document ID: |
|