Jared's DAC Code

Dependencies:   mbed

Dependents:   DCS_FINAL_CODE

Fork of Chemical_Sensor_DMA by Jared Baxter

Sample/adc.h

Committer:
baxterja
Date:
2015-10-29
Revision:
2:3771b3195c7b
Child:
7:af255a90505e

File content as of revision 2:3771b3195c7b:

#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);
//void adc_single_sample();
//void adc_start();
//void adc_stop();

#endif /* ADC_H_ */