RTC6 boards
Doc. Rev. 1.0.21 en-US
6 Developing RTC6-User Programs
135
6.9 Miscellaneous
6.9.1 Free Variables
8 so-called “free” variables are available.
Users can freely assign data to them by the control
command set_free_variable and the short
list command set_free_variable_list.
These variable values can be:
• outputted at the McBSP interface, see also
Chapter 9.1.7 ”McBSP Interface”, page 287
• read back by get_free_variable and get_value
(see command descriptions)
• recorded by
set_trigger/set_trigger4/set_trigger8
(see command descriptions)
The free variables let you, for example, transmit
control commands over the McBSP interface to user
hardware or document the operational states of the
board (for example, with branches).
Notes
• You can use set_free_variable and
set_free_variable_list to define any
unsigned 32-bit values as variable values.
However, the McBSP interface only outputs 24-bit
values by set_mcbsp_out_ptr and 16-bit values
by set_mcbsp_out (but get_free_variable,
get_value and
set_trigger/set_trigger4/set_trigger8 return full
32-bit values).