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

Add uart_is_busy() method for UART devices #711

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Conversation

Rahix
Copy link
Contributor

@Rahix Rahix commented Nov 1, 2023

The uart_is_busy() method returns true as long as the UART is busy transmitting data. It will return false once all bits (including stop bits) have been transmitted.

The uart_is_busy() method returns `true` as long as the UART is busy
transmitting data.  It will return `false` once all bits (including stop
bits) have been transmitted.
Copy link
Member

@9names 9names 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!

@jannic jannic merged commit e70ad80 into rp-rs:main Nov 1, 2023
8 checks passed
@Rahix Rahix deleted the uart-busy branch November 1, 2023 22:24
Rahix added a commit to Rahix/profirust that referenced this pull request Dec 28, 2023
Replace the manual BUSY flag readout with a call to a HAL method.  This
method is not yet upstream (pending review [1]), so for the time being,
reference a vendored rp2040-hal version.

[1]: rp-rs/rp-hal#711
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.

3 participants