summaryrefslogtreecommitdiff
path: root/atmel-samd/shared_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'atmel-samd/shared_dma.h')
-rw-r--r--atmel-samd/shared_dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/atmel-samd/shared_dma.h b/atmel-samd/shared_dma.h
index 7aa45547d..251b8357b 100644
--- a/atmel-samd/shared_dma.h
+++ b/atmel-samd/shared_dma.h
@@ -39,6 +39,7 @@ void init_shared_dma(void);
enum status_code shared_dma_write(Sercom* sercom, const uint8_t* buffer, uint32_t length);
enum status_code shared_dma_read(Sercom* sercom, uint8_t* buffer, uint32_t length, uint8_t tx);
+enum status_code shared_dma_transfer(Sercom* sercom, uint8_t* buffer_out, uint8_t* buffer_in, uint32_t length, uint8_t tx);
// Allocate a counter to track how far along we are in a DMA double buffer.
bool allocate_block_counter(void);