|Home > Class Reference > CADI class > CADI::CADIRegGetCompound()|
This call gets the information about a compound register.
The structure of the compound register is as reported by a call to
CADIRegGetCompound(). Compound registers, that is, registers that contain
subregisters, form an additional hierarchy below register groups.
virtual CADIReturn_t CADI::CADIRegGetCompound(uint32_t reg, uint32_t componentIndex, uint32_t desiredNumOfComponents, uint32_t *actualNumOfcomponents, uint32_t *components) = 0;
regCountregisters it returns the number of registers successfully written in this field. The target must report an error only in the case of a cyclic graph where, for example, a compound register contains a register (component) that again is a compound register that owns a component that is the initially requested compound register.