aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
authorAlex Ferro <[email protected]>2023-07-22 17:17:01 -0600
committerAlex Ferro <[email protected]>2023-07-22 17:17:01 -0600
commit4883fdd1549e8d43290b39d72c3b311d300010ea (patch)
tree1b15e2b4047129da1c4c510b7233474fc3e70407 /embassy-executor/src
parent18b9b6c780b46165ead1de59ce258bd78786bdcb (diff)
Add a STM32/DMARingBuffer::read_exact helper
This provides a helper function with an async implementation, that will only return (or error) when it was able to read that many bytes, sleeping until ready. Additionally, corrected the documentation for Ringbuffer functions to use "elements" instead of "bytes" as the types were already generic over the word/element size.
Diffstat (limited to 'embassy-executor/src')
0 files changed, 0 insertions, 0 deletions