MikroElektronika PIC Microcontrollers PIC16 Spécifications Page 38

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 186
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 37
Chapter 2 - Microcontroller PIC16F84
Previous page Table of contents Chapter overview Next page
2.6 Interrupts
Interrupts are a mechanism of a microcontroller which enables it to respond to some events at the
moment when they occur, regardless of what microcontroller is doing at the time. This is a very
important part, because it provides connection between a microcontroller and environment which
surrounds it. Generally, each interrupt changes the program flow, interrupts it and after executing an
interrupt subprogram (interrupt routine) it continues from that same point on.
One of the possible sources of an interrupt and how it affects the main program
Control register of an interrupt is called INTCON and is found at 0Bh address. Its role is to allow or
disallowed interrupts, and in case they are not allowed, it registers single interrupt requests through
its own bits.
INTCON Register
http://www.mikroelektronika.co.yu/english/product/books/PICbook/2_07Poglavlje.htm (1 of 7) [4/2/2003 16:17:55]
Vue de la page 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 185 186

Commentaires sur ces manuels

Pas de commentaire