1 #ifndef DMADRV_CONFIG_H 2 #define DMADRV_CONFIG_H 3 4 // <<< Use Configuration Wizard in Context Menu >>> 5 6 // <o EMDRV_DMADRV_DMA_IRQ_PRIORITY> DMA interrupt priority <0-15> 7 // <i> Priority of the DMA interrupt. Smaller number equals higher priority. 8 // <i> Default: 8 9 #define EMDRV_DMADRV_DMA_IRQ_PRIORITY 8 10 11 // <o EMDRV_DMADRV_DMA_CH_COUNT> Number of available channels <1-8> 12 // <i> Number of DMA channels supported by the driver. A lower channel count 13 // <i> will reduce RAM memory footprint. The default is to support all channels 14 // <i> on the device. 15 // <i> Default: 8 16 #define EMDRV_DMADRV_DMA_CH_COUNT 8 17 18 // <o EMDRV_DMADRV_DMA_CH_PRIORITY> Number of fixed priority channels 19 // <i> This will configure channels [0, CH_PRIORITY - 1] as fixed priority, 20 // <i> and channels [CH_PRIORITY, CH_COUNT] as round-robin. 21 // <i> Default: 0 22 #define EMDRV_DMADRV_DMA_CH_PRIORITY 0 23 24 // <<< end of configuration section >>> 25 26 #endif // DMADRV_CONFIG_H 27