MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guide de l'utilisateur Page 295

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 575
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 294
1 2 ... 290 291 292 293 294 295 296 297 298 299 300 ... 574 575

Commentaires sur ces manuels

Pas de commentaire