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.

Accessing interrupts in Phillips LPC2368

Status
Not open for further replies.

engineer90

Newbie level 5
Joined
Nov 6, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,348
Hi,

I am a recent grad getting back into some mcu programming, and finally decided to not just use a pre-setup environment for my programming, but to instead delve deep into it.
I am currently using the nxp/phillips lpc2368 on a futurlec board. My IDE is uvision4 which i am guessing uses gcc as its compiler.
Anyway I never really understood how the interrupts work and are serviced.
I understand that the the IRQ get set whenever an event that can set an IRQ occurs, and if you have a routine, your code branches into it.
But does this mean that the processor is constantly checking for a interrupt request during every operation? or [from what i understand from arm], every operation has some bits prepended to it and it is anded with the some core bits. Is it done in there somehow?

I finished writing the GPIO part of my library (i plan on reading the whole user manual and making my own library instead of using the one already set up), and was trying to figure out how to access the GPIO interrupts. When i used the MSP430, we used the #prgrama vector function, which i never actually understood.

So would you know how to access the interrupt without contantly having to check the status, and the underlying workings?
Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top