B.2.7. CADIRegDetails_t

Register details structure as listed in Example B.16.

Example B.16. CADIRegDetails_t

struct CADIRegDetails_t
{
public: // methods
    CADIRegDetails_t(CADIRegType_t type_par = CADI_REGTYPE_Simple,
                     uint32_t count_par = 0) :
            type(type_par)
        {
            u.compound.count = count_par;
        }
public: // data
        CADIRegType_t type;
        union
        {
            struct
            {
                uint32_t count;
            } compound; //Only valid for CADI_REGTYPE_Compound.
        } u;            // remains a union to leave room for
                        // any other register types we might have
                        // in the future.
};

Copyright © 2014 ARM. All rights reserved.ARM DUI 0842B
Non-ConfidentialID111014