2022-06-30 06:08 PM
2022-07-01 03:51 AM
If the RX pin is connected to a TIM Channel, you could measure the pulse widths, the shortest being One Bit Time, the others presumably being some higher integer multiple of that.
For example 9600 baud being around 0.1042666 ms