summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_dma.h')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_dma.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_dma.h b/nuttx/arch/arm/src/stm32/stm32_dma.h
index 771754bf9..1d4baae4f 100644
--- a/nuttx/arch/arm/src/stm32/stm32_dma.h
+++ b/nuttx/arch/arm/src/stm32/stm32_dma.h
@@ -271,9 +271,10 @@ size_t stm32_dmaresidual(DMA_HANDLE handle);
*
* Description:
* Check if the DMA controller can transfer data to/from given memory
- * address. This depends on the internal connections in the ARM bus matrix
- * of the processor. Note that this only applies to memory addresses, it
- * will return false for any peripheral address.
+ * address with the given configuration. This depends on the internal
+ * connections in the ARM bus matrix of the processor. Note that this
+ * only applies to memory addresses, it will return false for any peripheral
+ * address.
*
* Returned value:
* True, if transfer is possible.
@@ -281,9 +282,9 @@ size_t stm32_dmaresidual(DMA_HANDLE handle);
****************************************************************************/
#ifdef CONFIG_STM32_DMACAPABLE
-bool stm32_dmacapable(uintptr_t maddr);
+bool stm32_dmacapable(uintptr_t maddr, uint32_t count, uint32_t ccr);
#else
-# define stm32_dmacapable(maddr) (true)
+# define stm32_dmacapable(maddr, count, ccr) (true)
#endif
/****************************************************************************