User`s guide

regwrite
processor family prov ides the following register names that are valid
entries for
regname:
Register Names Register Contents
A0, A1, A2,..., A15
General purpose A registers
B0, B1, B2,..., B15
General purpose B registers
PC, ISTP, IFR, IRP,
NRP, AMR, CSR
Other general purpose 32-bit registers
A1:A0, A2:A1,...,
B15:B14
64-bit general purpose register pairs
Other processors provide other register sets. Refer to the documentation
for y our processor to determine the registers fo r the processor.
To limit the time that
regwrite spends transferring data to the
processor, the optional a rgument
timeout tells the data transfer process
to stop after
timeout seconds. timeout is dened as the number of
seconds allowed to complete the write operation. You might nd this
useful for limiting prolonged data transfer operations.
If you omit the
timeout inputargumentinthesyntax,regwrite
defaults to the global timeout dened in cc.Ifthewriteoperation
exceeds the time specied,
regwrite returns with a timeout error.
Generally, timeout errors do not stop the register write process. The
write process stops while waiting for CCS IDE to respond that the write
operation is complete.
regwrite(cc,'regname',value,'represent') omits the timeout
input argument and does not change the timeout value specied in cc.
regwrite(cc,'regname',value,) omits the represent input
argument. Writing the data does not reformat the data written to
regname.
7-132