Event Recorder  Version 1.0.0
MDK Debugger Views for Status and Event Information
 All Files Functions Macros Groups Pages
Data Types

Numeric Constants

Numeric constants are supported in standard 'C' format, for example: 13, 0xF8, 1.5, 1E+10. A symbolic enumerator name (enum) represents a constant value that can be referenced using the syntax :typedef_name:member:enum.

Scalar Data Types

The following scalar data types are supported and can be used in read, typedef, and var elements. read and var also support arrays based on scalar data types.

Table with supported scalar types:

Data Type Description
uint8_t unsigned char (8 bit)
int8_t signed char (8 bit)
uint16_t unsigned short (16 bit)
int16_t signed short (16 bit)
uint32_t unsigned int (32 bit)
int32_t signed int (32 bit)
uint64_t unsigned long long (64 bit)
int64_t signed long long (64 bit)
float single precision floating number (32-bit)
double double precision floating number (64-bit)

Example:

<read name="main" type="uint8_t" symbol="main" size="64" const="1" />
<var name="ObjSum" type="uint32_t" value="0" />
<var name="i" type="int32_t" value="0" /> <!-- helper -->
<!-- sum up object code bytes starting from main() with the given size in <read main>: -->
<list name="i" start="0" limit="main._count" >
<calc>
ObjSum += main[i];
</calc>
</list>

Special Data Types

Todo:
Special Data Types (IP addresses, USB strings) Format Strings?

Complex Data Types

Complex data types are defined using a typedef element and can be used in read and readlist elements.

var and read define a single variable or array based on a data type.

readlist defines a list of variables or arrays. The first instance of <readlist name="var"> will define 'var', the following use of <readlist name="var"> will use the definition.