MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guía de usuario Pagina 295

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 575
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 294
isrunning
Purpose Determine whether processor is executing process
Syntax isrunning(cc)
Description isrunning(cc) returns 1 when the processor is executing a program.
When the processor is halted,
isrunning returns 0.
Using isrunning with Multiprocessor Boards
When your board contains m ore than one processor, isrunning checks
each processor o n the processor, as dened by the
cc object, and returns
the state for each processor on the board. In the returned variable
b,you
nd a vector that contains the information for each accessed proce ssor.
By providing a return variable, as shown here,
b = isrunning(cc)
b
contains a vector that holds the information about the state of all
processors accessed by
cc.
Examples isrunning lets you determine whether the processor is running. After
you load a program to the processor, use
isrunning to be sure the
program is running before you enable RTDX channels.
cc = ticcs;
isrunning(cc)
ans =
0
% Load a program to the processor.
run(cc)
isrunning(cc)
ans =
7-73
Vista de pagina 294
1 2 ... 290 291 292 293 294 295 296 297 298 299 300 ... 574 575

Comentarios a estos manuales

Sin comentarios