| |||
| Home > The Cycle Accurate Debug Interface > Defining a CADI interface > 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:
regCountis the number of registers in the reg array.
regis 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.
numOfRegsWrittenon return, is the number of registers that are actually written. Any value set on input is ignored.
doSideEffectsindicates whether operation incurs side-effects.