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.
hardware_adc.h@1:c125f4e65df7, 2021-11-03 (annotated)
- Committer:
- rajathr
- Date:
- Wed Nov 03 05:31:26 2021 +0000
- Revision:
- 1:c125f4e65df7
- Parent:
- 0:716b93ab9a58
Commit as on 3rd Nov at 1.31 AM
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rajathr | 0:716b93ab9a58 | 1 | #ifndef __HARDWARE_ADC_H_ |
rajathr | 0:716b93ab9a58 | 2 | #define __HARDWARE_ADC_H_ |
rajathr | 0:716b93ab9a58 | 3 | |
rajathr | 0:716b93ab9a58 | 4 | |
rajathr | 0:716b93ab9a58 | 5 | #ifdef __cplusplus |
rajathr | 0:716b93ab9a58 | 6 | extern "C" { |
rajathr | 0:716b93ab9a58 | 7 | #endif |
rajathr | 0:716b93ab9a58 | 8 | |
rajathr | 0:716b93ab9a58 | 9 | #include "main.h" |
rajathr | 0:716b93ab9a58 | 10 | |
rajathr | 0:716b93ab9a58 | 11 | /*Defining function that initializes ADC3 FOR 3 CHANNELS - 5 6 7*/ |
rajathr | 0:716b93ab9a58 | 12 | void initADC3_567_withDMA(void); |
rajathr | 0:716b93ab9a58 | 13 | |
rajathr | 0:716b93ab9a58 | 14 | //Defining Function that initializes ADC3 FOR 1 CHANNEL - CHANNEL 5 |
rajathr | 0:716b93ab9a58 | 15 | void initADC3_5_withDMA(void); |
rajathr | 0:716b93ab9a58 | 16 | |
rajathr | 0:716b93ab9a58 | 17 | //Definig Function that enables ADC3 |
rajathr | 0:716b93ab9a58 | 18 | void enableADC3(void); |
rajathr | 0:716b93ab9a58 | 19 | |
rajathr | 1:c125f4e65df7 | 20 | //DEFINING FUNCTION TO START ADC CONVERSION |
rajathr | 1:c125f4e65df7 | 21 | void startADCConversion(void); |
rajathr | 1:c125f4e65df7 | 22 | |
rajathr | 0:716b93ab9a58 | 23 | #ifdef __cplusplus |
rajathr | 0:716b93ab9a58 | 24 | } |
rajathr | 0:716b93ab9a58 | 25 | #endif |
rajathr | 0:716b93ab9a58 | 26 | |
rajathr | 0:716b93ab9a58 | 27 | #endif /*__HARDWARE_ADC_H_ */ |
rajathr | 0:716b93ab9a58 | 28 |