Jared's DAC Code

Dependencies:   mbed

Dependents:   DCS_FINAL_CODE

Fork of Chemical_Sensor_DMA by Jared Baxter

Committer:
DeWayneDennis
Date:
Sat Dec 19 21:47:52 2015 +0000
Revision:
7:af255a90505e
Parent:
2:3771b3195c7b
Final Code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
baxterja 2:3771b3195c7b 1 #ifndef ADC_H_
baxterja 2:3771b3195c7b 2 #define ADC_H_
DeWayneDennis 7:af255a90505e 3
baxterja 2:3771b3195c7b 4 #include "mbed.h"
baxterja 2:3771b3195c7b 5 #include "dma.h"
DeWayneDennis 7:af255a90505e 6
DeWayneDennis 7:af255a90505e 7
baxterja 2:3771b3195c7b 8 /***
baxterja 2:3771b3195c7b 9 * Initializes the ADC to 16-bit single-ended, hardware triggered
baxterja 2:3771b3195c7b 10 * with DMA enabled.
baxterja 2:3771b3195c7b 11 **/
baxterja 2:3771b3195c7b 12 void adc_init();
baxterja 2:3771b3195c7b 13 int adc_cal(void);
DeWayneDennis 7:af255a90505e 14 int adc_cal1(void);
baxterja 2:3771b3195c7b 15 //void adc_single_sample();
baxterja 2:3771b3195c7b 16 //void adc_start();
baxterja 2:3771b3195c7b 17 //void adc_stop();
DeWayneDennis 7:af255a90505e 18
baxterja 2:3771b3195c7b 19 #endif /* ADC_H_ */