Real time operating system for Atmel series microcontrollers