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 Impedance_Fast_Circuitry by
Diff: adc.h
- Revision:
- 51:43143a3fc2d7
- Parent:
- 45:d591d138cdeb
--- a/adc.h Sat Jan 31 19:46:00 2015 +0000 +++ b/adc.h Sat Jan 31 20:17:58 2015 +0000 @@ -4,28 +4,22 @@ #include "mbed.h" #include "dma.h" -/*** - * Sets ADC to continuous conversion mode with software trigger, then - * triggers the ADC. - **/ -void adc_start(); /*** - * Sets ADC to single conversion mode with hardware trigger. So the - * ADC stops unless triggered by a timer. - **/ -void adc_stop(); - -/*** - * Initializes the ADC to 16-bit single-ended CH13, hardware triggered + * Initializes the ADC to 16-bit single-ended, hardware triggered * with DMA enabled. **/ void adc_init(); /*** - * Toggles PTC16 when conversion completes + * Toggles PTA0 when conversion completes **/ void ADC0_IRQHandler(); -void adc_single_sample(); + + + +//void adc_single_sample(); +//void adc_start(); +//void adc_stop(); #endif /* ADC_H_ */ \ No newline at end of file