User`s guide

iswritable
iswritable w rites 30 values to the processor.
datatype a string that represents a MATLAB data type. The total
memory block size i s derived from the value of
count and the specied
datatype. datatype dete rmine s how many bytes to check for each
memory value.
iswritable supports the following data types:
datatype String Description
'double'
Double-precision oating point values
'int8'
Signed 8-bit integers
'int16'
Signed 16-bit integers
'int32'
Signed 32-bit integers
'single'
Single-precision oating point data
'uint8'
Unsigned 8-bit integers
'uint16'
Unsigned 16-bit integers
'uint32'
Unsigned 32-bit integers
iswritable(cc,address,'datatype') returns 1 if the processor
referred to by
cc can w rite to the memory block dened by the address,
and
count input arguments. When the processor cannot write any
portion of the specied memory block,
iswritable returns 0.Notice
that you use the same mem ory block specication for this function as
you use for the
write function. The data block tested begins at the
memory location dened by
address. When you omit the count option,
count defaults to one.
Note iswritable relies on the memory map optio n in CCS IDE. If
you did not properly dene the memory map for the processor in CC S
IDE, this function does not produce useful results. Re fer to your Texas
Instruments’ C ode Composer Studio documen t a t ion f or information on
conguring m emory maps.
7-79