Thread: [libopenstm32-devel] External Interrupts
Status: Inactive
Brought to you by:
uh1763
From: Mark B. <mb...@ph...> - 2010-03-18 23:57:20
|
Hi, I am currently trying to write an external interrupt handler to work with your API. Just wondering how I would point to my interrupt service routines using your library. Cheers, Mark Butler |
From: Piotr Esden-T. <pi...@es...> - 2010-03-19 13:27:18
|
Hi, You just have to define a function with the right name. They get mapped automatically. Just take a look into lib/vector.c for the list of valid interrupt handler names. I have not tested the interrupt system yet, but it may be that we need to add a header containing the list of forward declaration for easier use. Mark if you got a working example I would be happy to add it to our examples collection. Cheers Esden On Mar 19, 2010, at 12:36 AM, Mark Butler wrote: > Hi, I am currently trying to write an external interrupt handler to work > with your API. Just wondering how I would point to my interrupt service > routines using your library. > > Cheers, > Mark Butler > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > libopenstm32-devel mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libopenstm32-devel -- My blog: http://www.esden.net My projects: http://open-bldc.org, http://openmulticopter.org |
From: Thomas O. <to...@vi...> - 2010-03-23 22:48:49
|
Hi Mark, i wrote a little interrupt example for tim2 interrupts. For this you need some additional patches to vector.c and nvic.h. The program simply toggles a LED thru the timer-interrupt. cu Tommi Am Freitag, den 19.03.2010, 12:36 +1300 schrieb Mark Butler: > Hi, I am currently trying to write an external interrupt handler to work > with your API. Just wondering how I would point to my interrupt service > routines using your library. > > Cheers, > Mark Butler > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > libopenstm32-devel mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libopenstm32-devel |
From: Thomas O. <to...@vi...> - 2010-03-23 22:55:31
|
If you need all my changes to the lib you can checkout my git repo. https://www.viadmin.org/git/libopenstm32.git cu Tommi Am Dienstag, den 23.03.2010, 23:48 +0100 schrieb Thomas Otto: > Hi Mark, > > i wrote a little interrupt example for tim2 interrupts. For this you > need some additional patches to vector.c and nvic.h. > The program simply toggles a LED thru the timer-interrupt. > > cu Tommi > > > Am Freitag, den 19.03.2010, 12:36 +1300 schrieb Mark Butler: > > Hi, I am currently trying to write an external interrupt handler to work > > with your API. Just wondering how I would point to my interrupt service > > routines using your library. > > > > Cheers, > > Mark Butler > > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > libopenstm32-devel mailing list > > lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libopenstm32-devel > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ libopenstm32-devel mailing list lib...@li... https://lists.sourceforge.net/lists/listinfo/libopenstm32-devel |
From: Uwe H. <uw...@he...> - 2010-03-27 19:16:00
|
On Tue, Mar 23, 2010 at 11:55:13PM +0100, Thomas Otto wrote: > If you need all my changes to the lib you can checkout my git repo. > https://www.viadmin.org/git/libopenstm32.git Thanks for the great work! I've pulled in your changes to the SF repo (but will change a few minor things soonish, and also compare all the new headers against the datasheets so we can be relatively sure there are no typos etc). Sorry for the delay, I've been pretty busy with another projects I'm working on with some other people: sigrok, and open-source, cross-platform logic analyzer software with command line tool and GUI. See http://www.sigrok.org if you're interested in this kind of stuff. Cheers, Uwe. -- http://www.hermann-uwe.de | http://www.randomprojects.org http://www.crazy-hacks.org | http://www.unmaintained-free-software.org |
From: Thomas O. <to...@vi...> - 2010-03-27 20:40:15
|
Hi Uwe, thanks for pulling to the main repo. It makes my life easier. Make your cosmetic fixes - there will be a lot of them nessessary... 8-) I will play around with my board the next weeks and will develop some other function blocks. cu Tommi Am Samstag, den 27.03.2010, 20:15 +0100 schrieb Uwe Hermann: > On Tue, Mar 23, 2010 at 11:55:13PM +0100, Thomas Otto wrote: > > If you need all my changes to the lib you can checkout my git repo. > > https://www.viadmin.org/git/libopenstm32.git > > Thanks for the great work! I've pulled in your changes to the SF repo > (but will change a few minor things soonish, and also compare all the > new headers against the datasheets so we can be relatively sure there > are no typos etc). > > Sorry for the delay, I've been pretty busy with another projects I'm > working on with some other people: sigrok, and open-source, > cross-platform logic analyzer software with command line tool and GUI. > > See http://www.sigrok.org if you're interested in this kind of stuff. > > > Cheers, Uwe. |