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@0:716b93ab9a58, 2021-10-29 (annotated)
- Committer:
- rajathr
- Date:
- Fri Oct 29 20:56:20 2021 +0000
- Revision:
- 0:716b93ab9a58
- Child:
- 1:c125f4e65df7
AS ON 29TH OCT AT 5PM
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 | 0:716b93ab9a58 | 20 | #ifdef __cplusplus |
rajathr | 0:716b93ab9a58 | 21 | } |
rajathr | 0:716b93ab9a58 | 22 | #endif |
rajathr | 0:716b93ab9a58 | 23 | |
rajathr | 0:716b93ab9a58 | 24 | #endif /*__HARDWARE_ADC_H_ */ |
rajathr | 0:716b93ab9a58 | 25 |