|
|
| PM5358 |
|
|
| Data Structures |
|
|
|
|
|
|
|
|
| Field Name | Field Type | Field Description |
|
|
|
|
|
|
| initialized |
|
|
|
|
| stateModule | eSUNI4x622_MOD_STATE | Module state; can be one of the following |
|
|
| IDLE or READY |
|
|
|
|
| maxDevs | UINT2 | Maximum number of devices supported |
|
|
|
|
| numDevs | UINT2 | Number of devices currently registered |
|
|
|
|
| maxInitProfs | UINT2 | Maximum number of initialization profiles |
|
|
|
|
| pddb | sSUNI4x622_DDB * | (array of) Device Data Blocks (DDB) in |
|
|
| context memory |
|
|
|
|
| pinitProfs | sSUNI4x622_DIV * | (array of) Initialization profiles in context |
|
|
| memory |
|
|
|
|
Device Data Block: DDB
The DDB is the
•errDevice most of the device API functions return a specific error code directly. When the returned code is SUNI4x622_FAILURE, this indicates that the
•valid indicates that this structure has been properly initialized and may be read by the USER.
•stateDevice contains the current state of the device and could be set to:
SUNI4x622_START, SUNI4x622_PRESENT, SUNI4x622_ACTIVE or
SUNI4x622_INACTIVE.
•usrCtxt is a value that can be used by the USER to identify the device during the execution of the callback functions. It is passed to the driver when suni4x622Add is called and returned to the USER in the DPV when a callback function is invoked. The element is unused by the driver itself and may contain any value.
Table 9:
Field Name | Field Type | Field Description |
|
|
|
errDevice | INT4 | Global error indicator for device calls |
|
|
|
valid | UINT2 | Indicates that this structure has been |
|
|
|
Proprietary and Confidential to | 34 |
Document ID: |
|