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.

ARM7 lpc214 help about VIC_Vector_IRQ

Status
Not open for further replies.

hbaocr

Full Member level 4
Full Member level 4
Joined
May 13, 2007
Messages
232
Helped
25
Reputation
48
Reaction score
4
Trophy points
1,298
Location
Hochiminh City university of technology (VietNam)
Activity points
2,765
lpc214

helllo , all friend
I have just learn ARM7 LPC2148 and I have some problem about VIC when it assigned to IRQ_vector.My problem means, how can I use more than one IRQ interrupt (IRQ vector) at the same time . and the code for it. Some friend tell me After I allow Interrupt sources which I want ,I can assign each ISR_routine functions to VICvectorAddr0,VICvectorAddr1,...etc(example VICvectorAddr0=unsigned(ISR_routine function1)
VICvectorAddr1=unsigned(ISR_routine function2)

) but I don't know how Arm can recognise which ISR_routine function service for which Vector IRQ interrupt-sources.
 

lpc214 programming

You need to read about the Vector Control Register (VICVectCntl).
The Vector Control Register contains two fields: a channel field and an enable bit. By programming the channel
field, any interrupt channel may be connected to any given slot and then activated using the enable bit. The
priority of a vectored interrupt is given by its slot number, the lower the slot number, the more important the
interrupt.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top