initial commit
[gbajam21] / src / dma.h
1 #ifndef DMA_H_
2 #define DMA_H_
3
4 #include <stdint.h>
5
6 void dma_copy32(int channel, void *dst, void *src, int words, unsigned int flags);
7 void dma_copy16(int channel, void *dst, void *src, int halfwords, unsigned int flags);
8
9 void dma_fill32(int channel, void *dst, uint32_t val, int words);
10 void dma_fill16(int channel, void *dst, uint16_t val, int halfwords);
11
12 #endif  /* DMA_H_ */