AnsweredAssumed Answered

Setting up an interrupt.........

Question asked by hopkins.john on Jul 27, 2011
Latest reply on Jul 27, 2011 by Clive One
Hi there folks,

I am currently controlling an STM32F100 LQFP48 using a program I am editing on IAR workspace. There is a function embedded in my program which checks for an audio sample using a microphone every 90ms and to notify that my program is listening i wish to have a short but noticeable output. (ie, one that lasts longer than 90ms). 

I expect I could set up any of the GPIO's to trigger an interrupt but I am unsure on what code I would need to do that. 

Also any knowledge on how the priority of an interrupt is set would be greatly appreciated. 

Thanks
JohnH

Outcomes