'priority' of main()?

Status
Not open for further replies.

WMXZ

Well-known member
Is it fair to assume that main() or any function called directly from main (e.g. loop()) has LOWEST priority?
In other words: ANY ISR will ALLWAYS interrupt main() of functions called from main()?
 
Yes, all interrupts even the lowest priority (255) interrupt the main program. Well, unless of course that interrupt is disabled, or all interrupts have been disabled.
 
Status
Not open for further replies.
Back
Top