MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Podręcznik Użytkownika Strona 352

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 575
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 351
1 2 ... 347 348 349 350 351 352 353 354 355 356 357 ... 574 575

Komentarze do niniejszej Instrukcji

Brak uwag