drivers: dma: stm32: add get_status to dmamux driver
Add `get_status` function to dmamux driver api. This uses the regular dma driver `get_status` function. Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com>
This commit is contained in:
parent
6fd8cbb9b4
commit
cad96852a2
3 changed files with 26 additions and 2 deletions
|
@ -106,6 +106,8 @@ int dma_stm32_reload(const struct device *dev, uint32_t id,
|
|||
uint32_t src, uint32_t dst, size_t size);
|
||||
int dma_stm32_start(const struct device *dev, uint32_t id);
|
||||
int dma_stm32_stop(const struct device *dev, uint32_t id);
|
||||
int dma_stm32_get_status(const struct device *dev, uint32_t id,
|
||||
struct dma_status *stat);
|
||||
#else
|
||||
#define DMA_STM32_EXPORT_API static
|
||||
#endif /* CONFIG_DMAMUX_STM32 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue