notes.txt 1.3 KB

1234567891011121314151617181920212223242526
  1. STM32 DMAv1 driver.
  2. Driver capability:
  3. - The driver supports the STM32 traditional DMA controller in the following
  4. configurations: 5ch, 7ch, 7ch+5ch, 7ch+7ch.
  5. - Support for automatic the channel selection through the CSELR register.
  6. - For devices without CSELR register it is possible to select channels but
  7. the SYSCFG CFGR register is not configured, the user has to configure it
  8. before starting the DMA driver.
  9. - The driver supports shared ISR handlers with a quirk: the IRQ priority is
  10. established by the first allocated channel among the channels sharing the
  11. ISR.
  12. The file registry must export:
  13. STM32_ADVANCED_DMA - TRUE not used by the DMA drivers but other
  14. drivers use it to enable checks on DMA
  15. channels. Probably will be removed in the
  16. future.
  17. STM32_DMA_SUPPORTS_CSELR - TRUE if the DMA have a CSELR register.
  18. STM32_DMA_SUPPORTS_DMAMUX - TRUE if the DMA is riven by a DMAMUX.
  19. STM32_DMAn_NUM_CHANNELS - Number of channels in DMAs "n" (1..2).
  20. STM32_DMAn_CHx_HANDLER - Vector name for IRQ "x" (1..7). If the macro
  21. is not exported then the ISR is not declared.
  22. STM32_DMAn_CHx_NUMBER - Vector number for IRQ "x" (1..7).