| |||
Home > Data Structures Used by the CADI Interface > Registers and memory > CADIAddr_t |
Variables of type CADIAddr_t
describe a
basic address with the memory space associated with the address.
The definition is as listed in Example B.20:
Example B.20. CADIAddr_t
struct CADIAddr_t { public: // methods CADIAddr_t(CADIMemSpace_t space_par = 0, CADIAddrSimple_t addr_par = 0) : space(space_par), addr(addr_par) { } bool operator == (const CADIAddr_t &other) const { return (space == other.space) && (addr == other.addr); } public: // data CADIMemSpace_t space; CADIAddrSimple_t addr; };
The data members are:
space
is the numeric designation of the memory space (uint32_t
)
addr
is the actual memory address (uint32_t
)