Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
#define | XMC4XXX_DMA_REQUEST_SOURCE_POS 0 |
#define | XMC4XXX_DMA_REQUEST_SOURCE_MASK 0xf |
#define | XMC4XXX_DMA_LINE_POS 4 |
#define | XMC4XXX_DMA_LINE_MASK 0xf |
#define | XMC4XXX_DMA_GET_REQUEST_SOURCE(mx) ((mx >> XMC4XXX_DMA_REQUEST_SOURCE_POS) & XMC4XXX_DMA_REQUEST_SOURCE_MASK) |
#define | XMC4XXX_DMA_GET_LINE(mx) ((mx >> XMC4XXX_DMA_LINE_POS) & XMC4XXX_DMA_LINE_MASK) |
#define | XMC4XXX_SET_CONFIG(line, rs) ((line) << XMC4XXX_DMA_LINE_POS | (rs) << XMC4XXX_DMA_REQUEST_SOURCE_POS) |
#define XMC4XXX_DMA_GET_LINE | ( | mx | ) | ((mx >> XMC4XXX_DMA_LINE_POS) & XMC4XXX_DMA_LINE_MASK) |
#define XMC4XXX_DMA_GET_REQUEST_SOURCE | ( | mx | ) | ((mx >> XMC4XXX_DMA_REQUEST_SOURCE_POS) & XMC4XXX_DMA_REQUEST_SOURCE_MASK) |
#define XMC4XXX_DMA_LINE_MASK 0xf |
#define XMC4XXX_DMA_LINE_POS 4 |
#define XMC4XXX_DMA_REQUEST_SOURCE_MASK 0xf |
#define XMC4XXX_DMA_REQUEST_SOURCE_POS 0 |
#define XMC4XXX_SET_CONFIG | ( | line, | |
rs | |||
) | ((line) << XMC4XXX_DMA_LINE_POS | (rs) << XMC4XXX_DMA_REQUEST_SOURCE_POS) |