aboutsummaryrefslogtreecommitdiff
path: root/examples/std
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-12-08 03:04:39 +0100
committerDario Nieuwenhuis <[email protected]>2021-12-08 03:04:39 +0100
commit6179da6b9c3c6f20f0b0c1da8350cacb1ebb25d2 (patch)
tree41f55444a0026480b142a3cc059052e8b28d3e28 /examples/std
parent4e349d0f5d79500d7918f62182c577a3c8797267 (diff)
stm32/dma: eagerly start transfers when calling the functions.
`async fn`s do nothing until polled, but we want the DMA transfer to immediately start in this case. Drivers rely on it. Some require special orders, such as "start DMA, start SPI, then wait for DMA" which is awkward to do without eager start. Also use a manually-impl'd future, this allows getting rid of the "double" Unborrow channel clone.
Diffstat (limited to 'examples/std')
0 files changed, 0 insertions, 0 deletions