9 years, 1 month ago.

Serial Break Condition

Is there a way to detect a Serial break condition using the RawSerial class without programming my own interrupt handler?

EDIT: If it matters, I am using the LPC1768

1 Answer

9 years, 1 month ago.

The mbed library does not contain code to detect a Serial Break. So you would need to directly read registers if you need to detect a serial break. I believe the frame error bit is used to detect break conditions if there is no special detection for it.