Topic : Interrup management

Forum : ST7/STM8

Original Post
Post Information Post
March 23, 2009 - 10:09am
Guest

Hi,
I've find the reason of my problem, there is a mismatch between the external interrupt on port (port A in my case) and the Lite Timer interrupt I use to manage MACRO for timing with "wait" instruction.
Any idea on how I can mask the external port interrupt while timing macro using LTC interrupt is running? Device is SY7FOXK1.
Regards
whitebull

Replies
Post Information Post
+1
0
-1
March 27, 2009 - 8:44am
Raisonance Support Team

Hi Whitebull,

I do not know the ST7FOXK1 enough to have a nice reply. You may ask the ST guys for this type of information.
But there could be a software workaround: From the interrupt handler, just have a "do nothing" flag that you can set from your main application. In the handler, if this flag is set, just return, else perform a proper IRQ handling.

My $.02,
Bruno