We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I want to work with the interrupt int0 of the FX2.
The regsiters I have to use are written down in the TRM of the FX2. But where are informations about enabling the interrupt or name of the ISR for example?
Where I can search? I only find information snippets.
Best regards Jan
And 'static' variables don't (generally?) exist on the stack anyhow!
"the only (sic) way you can communicate between a function and an ISR is having them in the same module..."
Strictly, in the same Translation Unit - in which case you'd need a variable at File Scope.
"...or using a global variable"
I guess you could also do something really horrible with absolute memory locations...