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 specified
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 fl oating point values
'int8'
Signed 8-bit integers
'int16'
Signed 16-bit integers
'int32'
Signed 32-bit integers
'single'
Single-precision floating 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 defined by the address,
and
count input arguments. When the processor cannot write any
portion of the specified memory block,
iswritable returns 0.Notice
that you use the same mem ory block specification for this function as
you use for the
write function. The data block tested begins at the
memory location defined 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 define 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
configuring m emory maps.
7-79