Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for serial port idle interrupts #42

Merged
merged 1 commit into from
Dec 2, 2018

Conversation

timbod7
Copy link
Contributor

@timbod7 timbod7 commented Nov 28, 2018

No description provided.

@therealprof
Copy link
Member

Looks fine to me but I'm curious about the usecase for this...

@timbod7
Copy link
Contributor Author

timbod7 commented Nov 28, 2018

I'm doing some experimentation with drone firmware, and want to receive the SBUS protocol, which has a 25 byte packet. To detect the packet start, I need to wait for the line to be idle, then wait for the start byte (0xF0).

Copy link
Member

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks.

@therealprof therealprof merged commit 4c40732 into stm32-rs:master Dec 2, 2018
@timbod7
Copy link
Contributor Author

timbod7 commented Dec 2, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants