zephyr/drivers/dma
Jun Li 74e320d859 api: dma: add api to retrieve runtime status
Some applications using DMA, such as UART RX, could
need to complete the current DMA transaction earlier than
predefined, based on other termination conditions,
like UART's IDLE interrupts.

In that case, the client needs to know how many data are
still left in DMA transfer buffer so that it can figure
out how many data has been transfered. However, the current
DMA API doesn't provide any information for the client
to learn the transfer buffer information.

And some other information, like whether DMA transfer is busy
or not, transfer direction, etc, could interest a client.

So, added a dma API function to retrieve the current DMA
runtime status.

And implemented the API for STM32F4's DMA while keeping
others unimplemented.

Signed-off-by: Jun Li <jun.r.li@intel.com>
2019-05-07 22:14:36 -04:00
..
CMakeLists.txt drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
Kconfig drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
Kconfig.cavs
Kconfig.nios2_msgdma
Kconfig.qmsi
Kconfig.sam0 drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
Kconfig.sam_xdmac
Kconfig.stm32f4x
dma_cavs.c
dma_cavs.h
dma_handlers.c
dma_nios2_msgdma.c
dma_qmsi.c
dma_sam0.c drivers: dma: Add SAM0 DMAC driver 2019-05-02 19:20:12 -05:00
dma_sam_xdmac.c
dma_sam_xdmac.h
dma_stm32f4x.c api: dma: add api to retrieve runtime status 2019-05-07 22:14:36 -04:00