3.2.17. CADI::CADIRegWrite()

Implementing this function to enable writing registers from debug windows. The implementation of this function is optional.

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

where:

regCount

is the number of registers in the reg array.

reg

is an array of structures each holding the number (as gathered from the CADIRegGetMap call) and value of an individual register. The number of bytes allocated for each register is available from the CADIRegGetMap call.

numOfRegsWritten

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

doSideEffects

indicates whether operation incurs side-effects.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0359B
Non-Confidential