RE: Finding Hardware Interrupt Number
"Fahd Abidi" <[email protected]> Wed, 11 Jun 2008 12:14:38 -0400
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <071DB0C788671B48940BC79F8B4930693103F2@ultsol01.tewks.ultsol.local> |
Looking at include/asm-m68knommu/m527xsim.h the ICR base is set to 0x40. And since I am using IRQ pin 5 this would mean that interrupt vector would be 0x45? I think. Which is 69, this matched what Marc has mentioned and also seems to match your IRQ offsets, so I mmight have it. I'm still new to this and learning. Thanks for all the help! Fahd Abidi -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Allon Stern Sent: Wednesday, June 11, 2008 12:01 PM To: Fahd Abidi Subject: Re: [ColdFire] Finding Hardware Interrupt Number On Jun 11, 2008, at 11:34 AM, Allon Stern wrote: > In my linux environment (2.6), the interrupt# was IH_GPIO_BASE+4 (for > IRQ pin 4) Whoops, that was on the OMAP. Dang #ifdefs! On the Coldfire, it was 64+7 for IRQ pin 7. Sorry for any confusion. - allon --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list. --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.