Microchip Technology dsPIC33F Family Uživatelský manuál Strana 15

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 26
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 25 26

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

Žádné komentáře