|
libtonc
|
Macros | |
| #define | DMA_TRANSFER(_dst, _src, count, ch, mode) |
| General purpose DMA transfer macro. | |
Functions | |
| INLINE void | dma_cpy (void *dst, const void *src, uint count, uint ch, u32 mode) |
| Generic DMA copy routine. | |
| INLINE void | dma_fill (void *dst, volatile u32 src, uint count, uint ch, u32 mode) |
| Generic DMA fill routine. | |
| INLINE void | dma3_cpy (void *dst, const void *src, uint size) |
| Specific DMA copier, using channel 3, word transfers. | |
| INLINE void | dma3_fill (void *dst, volatile u32 src, uint size) |
| Specific DMA filler, using channel 3, word transfers. | |
| #define DMA_TRANSFER | ( | _dst, | |
| _src, | |||
| count, | |||
| ch, | |||
| mode | |||
| ) |
| INLINE void dma3_cpy | ( | void * | dst, |
| const void * | src, | ||
| uint | size | ||
| ) |
Specific DMA copier, using channel 3, word transfers.
| dst | Destination address. |
| src | Source address. |
| size | Number of bytes to copy |
References dma_cpy().
| INLINE void dma3_fill | ( | void * | dst, |
| volatile u32 | src, | ||
| uint | size | ||
| ) |
Specific DMA filler, using channel 3, word transfers.
| dst | Destination address. |
| src | Source value. |
| size | Number of bytes to copy |
References dma_fill().
| INLINE void dma_cpy | ( | void * | dst, |
| const void * | src, | ||
| uint | count, | ||
| uint | ch, | ||
| u32 | mode | ||
| ) |
Generic DMA copy routine.
| dst | Destination address. |
| src | Source address. |
| count | Number of copies to perform. |
| ch | DMA channel. |
| mode | DMA transfer mode. |
References REG_DMA.
Referenced by dma3_cpy().
| INLINE void dma_fill | ( | void * | dst, |
| volatile u32 | src, | ||
| uint | count, | ||
| uint | ch, | ||
| u32 | mode | ||
| ) |
Generic DMA fill routine.
| dst | Destination address. |
| src | Source value. |
| count | Number of copies to perform. |
| ch | DMA channel. |
| mode | DMA transfer mode. |
References DMA_SRC_FIXED, and REG_DMA.
Referenced by dma3_fill().