2015-05-09 04:05 PM
I have a question regarding good practices.
Shall we code interrupt handling like that or shall we code interrupt handling like that .Best Regards #stm322015-05-09 06:31 PM
A)
Always assume that more that one source can be signalling upon entry, if you fail to clear all the sources the routine will tail-chain back into itself. In the worse case scenario it will never leave the interrupt cycle. This usually occurs if you enable an interrupt source that you don't have service code for.