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

[DMA] Next transfer returns number of remaining data #173

Merged
merged 2 commits into from
Jan 4, 2021

Conversation

ryan-summers
Copy link
Member

This PR updates the DMA next_transfer to return the number of data that was not transferred. This is necessary for applications that are cancelled prematurely (e.g. in scatter-gather implementations where we gather as many data as possible in a fixed amount of time).

@ryan-summers ryan-summers merged commit 25ee0f3 into stm32-rs:dma Jan 4, 2021
@ryan-summers ryan-summers deleted the feature/number-of-transfers branch January 4, 2021 15:40
richardeoin added a commit that referenced this pull request Jan 5, 2021
…into dma

This merge involved re-working much of #173
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