4 years, 9 months 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

Comment on this question

1 Answer

4 years, 9 months 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.


You need to log in to post a question