To split an array to several ASAP2 objects, the keyword SPLIT must be used -
optional together with an index template or a list of index strings to be appended to
the original object name. The index template must contain a format specifier for each
dimension to describe how to resolve the index values. Possible format specifiers are
> "%d" (creates 0, 1, 2, … from the index values)
> "%c" (creates a, b, c,… from the index values)
> "%C" (creates A, B, C,… from the index values)
> "%x" (numeric values are created from the index values in hexadecimal format
using lower case letters 0, 1, 2,…, 9, a, b, c, d, e, f, 10,…)
> "%X" (numeric values are created from the index values in hexadecimal format
using upper case letters 0, 1, 2,…, 9, A, B, C, D, E, F, 10,…)
If neither an index template nor an index list is specified, the index suffixes are
created as [index] by default, e.g., for a three-dimensional object as
name[indexX][indexY][indexZ].
If the array is split to several ASAP2 objects, for all created ASAP2 objects the same
basic map name is used by default with an individual offset calculated from data type
and index. Alternatively, the index string by which the object is extended at each
splitting, can also be used as an extension for the MAP symbol name (see option
USE_SPLIT_POSTFIX_FOR_MAP_SYMBOL). In this case, no additional address
offsets are generated.
When defining an array of strings, the keyword SPLIT must be used, i.e. the array
must be split into single string objects, because the ASAP2 format does not support
string arrays.