
PM5358
Application Programming Interface
Failure = 0
Valid States SUNI4x622_PRESENT, SUNI4x622_ACTIVE,
SUNI4x622_INACTIVE
Side Effects May change the configuration of the device
Reading from a block of Device Registers: suni4x622ReadBlock
This function reads a register block of a specific
Prototype
Inputs
void suni4x622ReadBlock(sSUNI4x622_HNDL deviceHandle, UINT2 startRegNum, UINT2 size, UINT1 *pblock)
deviceHandle | : device handle (from suni4x622Add) |
startRegNum | : starting register number |
size | : size of the block to read |
pblock | : (pointer to) the block to read |
Outputs | ERROR code written to the DDB | |
|
| SUNI4x622_ERR_INVALID_DEV |
| ERROR code written to the DDB | |
|
| SUNI4x622_ERR_INVALID_ARG |
|
| SUNI4x622_ERR_INVALID_REG |
| pblock | : (pointer to) the block read |
Returns | None |
|
Valid States | SUNI4x622_PRESENT, SUNI4x622_ACTIVE, | |
| SUNI4x622_INACTIVE | |
Side Effects | May affect registers that change after a read operation |
Writing to a Block of Device Registers: suni4x622WriteBlock
This function writes to a register block of a specific
Prototype | void suni4x622WriteBlock(sSUNI4x622_HNDL |
| deviceHandle, UINT2 startRegNum, UINT2 size, UINT1 |
| *pblock, UINT1 *pmask) |
Proprietary and Confidential to | 60 |
Document ID: |
|