Please advise me on which timer to use, resettable one shot? | Cypress Semiconductor
Please advise me on which timer to use, resettable one shot?
So I am implementing the comms protocol which terminates the end of message with a 1.04uS blank space.
My UART code is working fine but what I need is to implement the following scenario
UART-READ BYTE IN
RESET 1.04US TIMER
then when the timer overflows it must mean that the UART has stopped receiving and the message is over as every new character resets the timer.
So I would need a timer interrupt which just said
EndOfMessageFlag = 1;
I read the following thread but it is 2 years old and based on the PSoC3 so wanted to get some more up to date advice on what timer use.