Clarification for timer restart | Cypress Semiconductor
Clarification for timer restart
From what I understand, the Timer component will reload the period register everytime it gets to 0.
Can I simply write the count = 0 to force the timer to start over ?
For example, I want to add a timeout to a serial rx routine...
Timer_ReadeStatusRegister(); //clear interrupt
timeout = 1;
in my routine.........
timeout = 0;
//do my stuff