B.1.6 CADIParameterValue_t

The CADIParameterInfo_t and CADIParameterValue_t structs configure component parameters.

struct CADIParameterValue_t
{
public: // methods
    CADIParameterValue_t(uint32_t parameterID = static_cast<uint32_t>(-1),
                        CADIValueDataType_t dataType=CADI_PARAM_INVALID,
                        int64_t intValue = 0,
                        const char *stringValue_par="") :
            parameterID(parameterID),
            dataType(dataType),
            intValue(intValue)
        {
            AssignString(stringValue, stringValue_par, CADI_DESCRIPTION_SIZE);
        }
public: // data
        uint32_t   parameterID;   
        CADIValueDataType_t dataType; 
        int64_t   intValue;   
        char  stringValue[CADI_DESCRIPTION_SIZE]; 
}; 
parameterID
refers to the id of respective CADIParameterInfo_t.
dataType
is the data type for interpretation by the debugger.
description
is the parameter description.
intValue
if the type is bool or int, the integer value (0 = false, 1 = true).
maxValue
is the maximum admissible value.
stringValue
if the type is string, the string value.
Non-ConfidentialPDF file icon PDF version100963_0200_03_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.