Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Interrupts in PIC18Fxxx: Definition

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Interrupts in PIC18Fxxx M

Definition:-Interrupts are events that cause your program to stop what it is doing in order to
run an Interrupt Service Routine which will handle the event by taking whatever action is
required before finally returning control to your main program.

PIC18 has two vectors: High and Low

 Interrupts require special functions to service the events that cause them:
 ISRs must not have any parameters
 ISRs must not be called by the main code
 ISRs should not call other functions

You might also like