Microchip Technology dsPIC33F Family Instrukcja Użytkownika Strona 15

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 26
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 14
© 2010 Microchip Technology Inc. DS70205C-page 11-15
Section 11. Timers
Timers
11
11.5 TIMER INTERRUPTS
A timer interrupt is generated:
On a period match for Timer mode or Synchronous/Asynchronous Counter mode (refer to
Figure 11-4)
On falling edge of the “gate” signal at the TxCK pin for Gated Timer mode (refer to
Figure 11-5)
The Timer Interrupt Flag bit (TxIF) must be cleared in software.
A timer is enabled as a source of interrupt via the respective Timer Interrupt Enable bit (TxIE).
The Interrupt Priority Level bits (TxIP<2:0>) must be written with a non-zero value for the timer
to be a source of interrupt. For further details, refer to Section 6. “Interrupts” (DS70184).
Note: A special case occurs when the period register, PRx, is loaded with 0x0000 and the
timer is enabled. No timer interrupts are generated for this configuration.
Przeglądanie stron 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 25 26

Komentarze do niniejszej Instrukcji

Brak uwag