At 05:40 AM 5/5/05 +0000, jase_ko wrote: <snip> >copy CR2 to my own data structure. My question is, how do I set up >an interrupt method that is called by the capture pin? > >I know it's got to do with VIC, but I'm unsure how to link an >interrupt method, with the capture pin P0.16 >eg, how do I link the interrupt method specified at vicvectaddr0 to >occur when the capture pin is triggered by the rising edge? I think there are some interrupt examples with VIC setup in the files area. I know there are a set of support routines for doing the VIC setup as well as interrupt shells in the newlib-lpc library (they are independent of the actual newlib stubs). http://www.aeolusdevelopment.com/ Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: [lpc2000] Capture pin interrupt issues
2005-05-05 by Robert Adsett
Attachments
- No local attachments were found for this message.