Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of DSP_200kHz by
Sample/adc.h
- Committer:
- timmey9
- Date:
- 2015-01-31
- Revision:
- 52:5a40cc58c4c2
- Parent:
- adc.h@ 51:43143a3fc2d7
File content as of revision 52:5a40cc58c4c2:
#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();
/***
* Toggles PTA0 when conversion completes
**/
void ADC0_IRQHandler();
//void adc_single_sample();
//void adc_start();
//void adc_stop();
#endif /* ADC_H_ */

