Jared's DAC Code

Dependencies:   mbed

Dependents:   DCS_FINAL_CODE

Fork of Chemical_Sensor_DMA by Jared Baxter

Sample/adc.h

Committer:
DeWayneDennis
Date:
2015-12-19
Revision:
7:af255a90505e
Parent:
2:3771b3195c7b

File content as of revision 7:af255a90505e:

#ifndef ADC_H_
#define ADC_H_
 
#include "mbed.h"
#include "dma.h"
 
 
/***
 * Initializes the ADC to 16-bit single-ended, hardware triggered
 * with DMA enabled.
 **/
void adc_init();
int adc_cal(void);
int adc_cal1(void);
//void adc_single_sample();
//void adc_start();
//void adc_stop();
 
#endif /* ADC_H_ */