drivers/dma: stm32: Preparation for QSPI DMA mode support
In preparation for QSPI DMA mode: -Add a possibility to override driver by the HAL DMA. In that case stream is set as busy and no configuration nor treatment is done. In case of interrupt, flags clearing is let to HAL. -Treat Half Transfer interrupt prior to Transfer Complete for the cases were both IRQ are both raised at the time IRQ handler is called Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
93ced15ef8
commit
d43200e9c4
3 changed files with 41 additions and 4 deletions
|
@ -21,6 +21,7 @@ struct dma_stm32_stream {
|
|||
int mux_channel; /* stores the dmamux channel */
|
||||
#endif /* CONFIG_DMAMUX_STM32 */
|
||||
bool source_periph;
|
||||
bool hal_override;
|
||||
volatile bool busy;
|
||||
uint32_t src_size;
|
||||
uint32_t dst_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue