User`s guide
write
When the processor has only one memory page, as is true for many
digital signal processors, the value of the page portion of the memory
addressis0. Bydefault,
ticcs sets the page value to 0 at creation if
you omit
page as an input argum en t.
For processors that have one memory page, setting thepagevalueto0
lets you specify all memory locations in the processor using the memo ry
location without the page value.
Examples of Address Property Values
Property Value Address Type Interpretation
1F
String Offset is 31 decimal on the
page referred to by
cc.page
10
Decimal
Offset is 10 decimal on the
page referred to by
cc.page
[18,1]
Vector
Offset is 18 decimal
on memory page 1
(
cc.page = 1)
To specify the address in hexadecimal format, enter the address
property value as a string.
write interprets the string as the
hexadecimal representation of the desired memory location. To conv ert
thehexvaluetoadecimalvalue,the
write uses hex2dec.Whenyou
use the string option to enter the address as a hex value, you cannot
specify the memory page. For string input, the memory page defaults to
thepagespecified by
cc.page..
data — the scalar, vector, or array of values that are written to memory
on the processor.
write supports the following data types:
Datatype
s
Descript
ion
double
Double-p
recision floating point values
int8
Signed 8-
bit integers
7-160