| To: | |
|---|---|
| Subject: | [ts-7000] Re: Interrupt Controller |
| From: | "ElianeMazzawi" <> |
| Date: | Fri, 11 Mar 2005 23:25:48 -0000 |
I am having trouble finding how to write the device driver for using
gpio interrupts on portA and portB. i was hoping someone could tell
me if i am correct at how this would work:
we enable interrupts of some portA pins by writing some 1's on
GPIOIntEn, and setup up the GPIOIntType1 and GPIOIntType2
so now when some pin on portA goes high, it causes an interrupt that
goes to the Vectored Interrupt Controller, which causes the IRQ to
go high, and when that happens we need to write some C code so that
linux will acknowledge the IRQ, read the VICxIRQStatus, if it has a
value of 59 then it was a GPIO portA or B interrupt and it will do
whatever ISR we tell it to do?
any help at all will be appreciate, tia.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [ts-7000] Re: IPCP negotiation fails in PPP, slweasel2002 |
|---|---|
| Next by Date: | Re: [ts-7000] can i use "BDM" ?, just ddd |
| Previous by Thread: | [ts-7000] Re: USB 802.11 Wireless Network--anyone get this working?, bozemanmt25 |
| Next by Thread: | [ts-7000] question about threads, noone_1983 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU