9 DMA_CONFIG_LOOP = 1 << 0,
10 DMA_CONFIG_RUNSTDBY = 1 << 1,
11} dma_configuration_flags_t;
14 DMA_INCREMENT_NONE = 0,
15 DMA_INCREMENT_SOURCE = (1 << 0),
16 DMA_INCREMENT_DESTINATION = (1 << 1),
17 DMA_INCREMENT_BOTH = (1 << 1) | (1 << 0),
18} dma_address_increment_t;
22 DMA_TRIGGER_ACTION_BLOCK = DMAC_CHCTRLB_TRIGACT_BLOCK_Val,
23 DMA_TRIGGER_ACTION_BEAT = DMAC_CHCTRLB_TRIGACT_BEAT_Val,
24 DMA_TRIGGER_ACTION_TRANSACTION = DMAC_CHCTRLB_TRIGACT_TRANSACTION_Val,
25} dma_trigger_action_t;
31 DMA_CALLBACK_TRANSFER_ERROR,
32 DMA_CALLBACK_TRANSFER_DONE,
33 DMA_CALLBACK_CHANNEL_SUSPEND,
38 DMA_BEAT_SIZE_BYTE = 0,
44 DMA_EVENT_OUTPUT_DISABLE = 0,
45 DMA_EVENT_OUTPUT_BLOCK,
46 DMA_EVENT_OUTPUT_RESERVED,
47 DMA_EVENT_OUTPUT_BEAT,
48} dma_event_output_selection_t;
51 DMA_BLOCK_ACTION_NONE = 0,
54 DMA_BLOCK_ACTION_INTERRUPT,
57 DMA_BLOCK_ACTION_SUSPEND,
61 DMA_BLOCK_ACTION_INTERRUPT_AND_SUSPEND,
67 DMA_STEPSEL_DESTINATION = 0,
96 DMA_STATUS_ERR_NOT_FOUND,
97 DMA_STATUS_ERR_NOT_INITIALIZED,
98 DMA_STATUS_ERR_INVALID_ARG,
100 DMA_STATUS_ERR_TIMEOUT,
104 DMA_STATUS_JOBSTATUS = -1