Jared's DAC Code
Dependencies: mbed
Fork of Chemical_Sensor_DMA by
Sample/dma.h
- Committer:
- DeWayneDennis
- Date:
- 2015-12-19
- Revision:
- 7:af255a90505e
- Parent:
- 4:9fd291254686
File content as of revision 7:af255a90505e:
#ifndef DMA_H_ #define DMA_H_ #include "mbed.h" #define FILENAME_SIZE 26 #define TOTAL_SAMPLES 2000//18980 // a multiple of 1460 (tcp payload length within a packet) extern uint16_t sample_array0[TOTAL_SAMPLES]; extern uint16_t sample_array1[TOTAL_SAMPLES]; extern uint16_t out_val_pre[TOTAL_SAMPLES]; extern bool dma_done; extern bool dma_half_done; void dma_reset(); void dma_init(); void dma_enable_interrupt(); void DMA_IRQHandler(); void dma_print_registers(); #endif /* DMA_H_ */