altos/stm: Allow DMA channels to be hijacked by other code
authorKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 20:12:43 +0000 (12:12 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 20:34:01 +0000 (12:34 -0800)
commit72ea90d28817549c4343d2fea03a4c951f849cbe
tree58f8c4d06380b4213c1357c7ec1088cfafe95264
parent5dc5e2e238f8c1a8ca35d85ec046124afa9385ad
altos/stm: Allow DMA channels to be hijacked by other code

This lets code which needs finer control over DMA to use the channel
without interference, and leaves the DMA engine running so that it can.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_dma_stm.c