* Now it uses timer peripheral with interrupt. * It sets interrupt to trigger after certain time and waits for it to clear the "interrupt pending" flag.
* Now it uses timer peripheral with interrupt. * It sets interrupt to trigger after certain time and waits for it to clear the "interrupt pending" flag.