commiting examples
This commit is contained in:
13
Examples/NeoPixel Example/DMA.h
Normal file
13
Examples/NeoPixel Example/DMA.h
Normal 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_ */
|
||||
Reference in New Issue
Block a user