2011-09-10 08:01 PM
2011-09-11 02:52 AM
Erm...its an interrupt timer?? don't really know how to explain this one simpler..Perhaps you should play around with Systick first as its much easier to understand.Darren.
2011-09-11 04:04 PM
thanks!!!
2011-09-11 11:28 PM
''how does this app keep looping if there is a empty while(1) at the end?''
This is fundamental to the concept of interrupts in any processor (not just STM32): An interrupt, as the name suggests, interrupts the current flow of execution to execute its ''handler'' or ''service routine'' (aka ''Interrupt Service Routine'', or ''ISR'' for short). Once the ISR is complete, normal execution resumes from the point at which it was interrupted... In your case, ''the current flow of execution'' is the empty 'while' loop.http://en.wikipedia.org/wiki/Interrupt
Keil has a useful booklist here: - they aren't (all) specific to Keil...