- Sun Jul 05, 2009 7:44 pm
#76373
Ive been playing around with an Atmel AT91SAM7S64 (ARM7TDMI) for a little bit. Gradually trying to learn the thing.
There are a number of pins that can be configured for IRQ.
My question is, is it possible to have a different ISR for each different pin OR do all IRQ fall under one ISR and within that ISR i have to determine which pin was triggered and go from there ?
If it IS possible, how would I go about doing it ? I dont need the code or anything, just like steps on what i have to do (ill figure out the rest on my own).
Hardware: AT91SAM7S-EK developerboard (with AT91SAM7S64)
IAR J-LINK
Software: IAR, Crossworks, Kiel.
Ive been the most sucessful with Crossworks, but if you think another compiler might be easier to use, and or have better library support and just easier overall, let me know. I had a hard time getting my jlink to work with keil, and its still kind of iffy.
There are a number of pins that can be configured for IRQ.
My question is, is it possible to have a different ISR for each different pin OR do all IRQ fall under one ISR and within that ISR i have to determine which pin was triggered and go from there ?
If it IS possible, how would I go about doing it ? I dont need the code or anything, just like steps on what i have to do (ill figure out the rest on my own).
Hardware: AT91SAM7S-EK developerboard (with AT91SAM7S64)
IAR J-LINK
Software: IAR, Crossworks, Kiel.
Ive been the most sucessful with Crossworks, but if you think another compiler might be easier to use, and or have better library support and just easier overall, let me know. I had a hard time getting my jlink to work with keil, and its still kind of iffy.