Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

The addresses of the beginning of the interrupt handler

Status
Not open for further replies.

ernytony

Newbie level 6
Joined
Jun 30, 2005
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,376
interrupt pic

I use pic 16f877 with PICC lite

it's possible specify the address of the beginning of the interrupt handler for each interrupt source in C.
the memory associated to the interrupt is fixed or is resizable.
 

interrupt pic

Hi,

the memory associated to the interupt is fixed.
 

Re: interrupt pic

Hello

You can overcome this issue easily. You now that the interrupt vector is located at a specific vector in the memory.

As long as an interrupt occurs, you can use a GOTO statement to go to another location, say, the ISR routine, if you are using more than one interrupt in your PIC, then you can simply arrange the priorities to see which one is pending, then serve it, go back and check again, till finished, then return from the interrupt.

Good luck
 

Re: interrupt pic

As the others have mentioned, the interrupt address is fixed. The common practice is to poll the interrupt status registers to determine the device delivering the interrupt, and then GOTO the relevant handler. The sequence in which you poll the interrupt status registers also determines the priority in which interrupts are handled.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top