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
DMA_sampling/adc.h@87:80c9169acb85, 2018-06-27 (annotated)
- Committer:
- baxterja
- Date:
- Wed Jun 27 19:23:32 2018 +0000
- Revision:
- 87:80c9169acb85
- Parent:
- 53:83a90a47c1fd
Changed frequencies for different probe number. I also ordered frequencies from smallest to largest (I don't know if this is a good idea or not)
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| timmey9 | 39:82dc3daecf32 | 1 | #ifndef ADC_H_ |
| timmey9 | 39:82dc3daecf32 | 2 | #define ADC_H_ |
| timmey9 | 39:82dc3daecf32 | 3 | |
| timmey9 | 39:82dc3daecf32 | 4 | #include "mbed.h" |
| timmey9 | 41:3e0623d81b9a | 5 | #include "dma.h" |
| timmey9 | 39:82dc3daecf32 | 6 | |
| timmey9 | 39:82dc3daecf32 | 7 | |
| timmey9 | 45:d591d138cdeb | 8 | /*** |
| timmey9 | 51:43143a3fc2d7 | 9 | * Initializes the ADC to 16-bit single-ended, hardware triggered |
| timmey9 | 45:d591d138cdeb | 10 | * with DMA enabled. |
| timmey9 | 45:d591d138cdeb | 11 | **/ |
| timmey9 | 45:d591d138cdeb | 12 | void adc_init(); |
| timmey9 | 45:d591d138cdeb | 13 | |
| timmey9 | 41:3e0623d81b9a | 14 | #endif /* ADC_H_ */ |

