Setting up an interrupt.........
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
#interrupt #stm32f100