MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Dokumentacja Strona 78

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 126
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 77
Modifying the Configuration File
5-8
7) Since the dataIO function is no longer run within main, what causes this
CLK object to run its function? To find out, right-click on the CLK - Clock
Manager object. From the pop-up menu, select Properties. You see the
Clock Manager Properties dialog.
Notice that the CPU Interrupt for the Clock Manager is HWI_INT14. This
property is gray because it is actually set by the HWI_INT14 object.
8) Click Cancel to close the Clock Manager Properties dialog without
making any changes.
9) Expand the list of HWI objects and examine the properties of the
HWI_INT14 object. Its interrupt source is Timer 0 on the DSP and it runs
a function called CLK_F_isr when the on-chip timer causes an interrupt.
The CLK object functions run from the context of the CLK_F_isr hardware
interrupt function. Therefore, they run to completion without yielding and
have higher priority than any software interrupts. (The CLK_F_isr saves
the register context, so the CLK functions do not need to save and restore
context as would be required normally within a hardware ISR function.)
Przeglądanie stron 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 125 126

Komentarze do niniejszej Instrukcji

Brak uwag