aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios/os/hal/ports/STM32/LLD/DMAv1/notes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios/os/hal/ports/STM32/LLD/DMAv1/notes.txt')
-rw-r--r--lib/chibios/os/hal/ports/STM32/LLD/DMAv1/notes.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/ports/STM32/LLD/DMAv1/notes.txt b/lib/chibios/os/hal/ports/STM32/LLD/DMAv1/notes.txt
new file mode 100644
index 000000000..562f45fb5
--- /dev/null
+++ b/lib/chibios/os/hal/ports/STM32/LLD/DMAv1/notes.txt
@@ -0,0 +1,26 @@
1STM32 DMAv1 driver.
2
3Driver capability:
4
5- The driver supports the STM32 traditional DMA controller in the following
6 configurations: 5ch, 7ch, 7ch+5ch, 7ch+7ch.
7- Support for automatic the channel selection through the CSELR register.
8- For devices without CSELR register it is possible to select channels but
9 the SYSCFG CFGR register is not configured, the user has to configure it
10 before starting the DMA driver.
11- The driver supports shared ISR handlers with a quirk: the IRQ priority is
12 established by the first allocated channel among the channels sharing the
13 ISR.
14
15The file registry must export:
16
17STM32_ADVANCED_DMA - TRUE not used by the DMA drivers but other
18 drivers use it to enable checks on DMA
19 channels. Probably will be removed in the
20 future.
21STM32_DMA_SUPPORTS_CSELR - TRUE if the DMA have a CSELR register.
22STM32_DMA_SUPPORTS_DMAMUX - TRUE if the DMA is riven by a DMAMUX.
23STM32_DMAn_NUM_CHANNELS - Number of channels in DMAs "n" (1..2).
24STM32_DMAn_CHx_HANDLER - Vector name for IRQ "x" (1..7). If the macro
25 is not exported then the ISR is not declared.
26STM32_DMAn_CHx_NUMBER - Vector number for IRQ "x" (1..7).