commiting examples

This commit is contained in:
Nicolas Trimborn
2021-07-26 10:32:22 +02:00
parent 76cd702edc
commit 312768d2cf
589 changed files with 464854 additions and 446 deletions

View File

@@ -0,0 +1,13 @@
#ifndef DMA_H_
#define DMA_H_
#define DMA_SOURCE_SERCOM0 0x02
#define DMA_SOURCE_ADC 0x27
extern volatile int dma_frame;
void DMA_init(void);
void DMA_add_channel(int source, DmacDescriptor *descriptor);
void DMA_enable(void);
#endif /* DMA_H_ */