How to handle time on embedded systems? – cryptotronix