dma: define and document the source and dest adjust enum.
This is used in #6306 to make the driver more readable. Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
parent
12c5bfaf14
commit
d1bd3a6fe7
1 changed files with 7 additions and 0 deletions
|
|
@ -34,6 +34,13 @@ enum dma_channel_direction {
|
|||
PERIPHERAL_TO_MEMORY
|
||||
};
|
||||
|
||||
/** Valid values for @a source_addr_adj and @a dest_addr_adj */
|
||||
enum dma_addr_adj {
|
||||
DMA_ADDR_ADJ_INCREMENT,
|
||||
DMA_ADDR_ADJ_DECREMENT,
|
||||
DMA_ADDR_ADJ_NO_CHANGE,
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief DMA block configuration structure.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue