A.8.18. CADI::CADIRegWrite()

This function writes to registers in the target.

virtual CADIReturn_t CADI::CADIRegWrite(uint32_t regCount,
                                        CADIReg_t * reg,
                                        uint32_t * numOfRegsWritten,
                                        uint8_t doSideEffects) =0;



is the requested number of registers (and consequently the size of the reg array).


is an array of CADIReg_t structures each holding the some attributes and an array of bytes containing the contents of an individual register. The number of required bytes for each register is available from the CADIInfo_t structure. The number of registers is returned by the CADIRegGetMap() call.


on return, is the number of registers that are actually written. Any value set on input is ignored.


If set to true, this parameter informs the target that it must perform side effects on a write access. Such side effects might be, for example, triggering an interrupt. If it is set to false, the target must decide when to ignore this parameter. For some cases it is not possible to write a register without doing a side effect such as manipulating a register that influences a hardware accelerator's behavior and changes the computed results.

Copyright © 2008-2010 ARM Limited. All rights reserved.ARM DUI 0444F