Is there a way to control the amount of data at the uart input required to generate an event? There could also be a timer to control when to generate an event after data has started to arrive. I want to start processing the input data earlier, rather than waiting for the whole message to arrive.
This is because I need to detect from the signalling at the start of the message what the baud rate is, then switch it before the rest of the message comes in. I’m not sure this is possible with the API we are presented with.
Any hints would be appreciated.