Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-01-13 15:57:42 +0300
committerKarl Palsson <karlp@tweak.net.au>2018-08-29 01:00:01 +0300
commit743513a4b1b15901fd6ff35f9b3c8812dc96dcaa (patch)
tree5cfe608c05835dea3241373bfeaf8e8c20bb9517 /include/libopencm3/stm32/common/dma_common_f24.h
parent824beaa472c26d09bc4a2f152d7003a0e632fdb3 (diff)
stm32: add dma_get_number_of_data
Original discussion at: https://github.com/libopencm3/libopencm3/pull/702
Diffstat (limited to 'include/libopencm3/stm32/common/dma_common_f24.h')
-rw-r--r--include/libopencm3/stm32/common/dma_common_f24.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/common/dma_common_f24.h b/include/libopencm3/stm32/common/dma_common_f24.h
index e32114b1..896f0ef5 100644
--- a/include/libopencm3/stm32/common/dma_common_f24.h
+++ b/include/libopencm3/stm32/common/dma_common_f24.h
@@ -613,6 +613,7 @@ void dma_disable_stream(uint32_t dma, uint8_t stream);
void dma_set_peripheral_address(uint32_t dma, uint8_t stream, uint32_t address);
void dma_set_memory_address(uint32_t dma, uint8_t stream, uint32_t address);
void dma_set_memory_address_1(uint32_t dma, uint8_t stream, uint32_t address);
+uint16_t dma_get_number_of_data(uint32_t dma, uint8_t stream);
void dma_set_number_of_data(uint32_t dma, uint8_t stream, uint16_t number);
END_DECLS