1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #14794 from bergzand/pr/stm32/dma_add_unsuported_trigger_define

stm32: Add define for when DMA channel selection is not supported
This commit is contained in:
Francisco 2020-08-19 17:13:10 +02:00 committed by GitHub
commit e9833f68d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,6 +441,12 @@ typedef enum {
DMA_MEM_TO_MEM = 2, /**< Memory to memory */
} dma_mode_t;
/**
* @brief DMA channel/trigger configuration for DMA peripherals without
* channel/trigger filtering such as the stm32f1 and stm32f3.
*/
#define DMA_CHAN_CONFIG_UNSUPPORTED (UINT8_MAX)
/**
* @name DMA Increment modes
* @{