MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Uživatelská příručka Strana 352

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 575
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 351
regread
For processors in the C6xxx family, regread lets you a ccess processor
registers directly . To read the value in general p urpose register A0,
type the following function.
treg = cc.regread('A0','2scomp');
treg
now contains the two’s comple ment representation of the value
in
A0.
Now read the value stored in reg ister B2 as an unsigned binary integer,
by typing
cc.regread('B2','binary');
See Also read, regwrite, write
7-130
Zobrazit stránku 351
1 2 ... 347 348 349 350 351 352 353 354 355 356 357 ... 574 575

Komentáře k této Příručce

Žádné komentáře