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
00001 #ifndef __HARDWARE_ADC_H_ 00002 #define __HARDWARE_ADC_H_ 00003 00004 00005 #ifdef __cplusplus 00006 extern "C" { 00007 #endif 00008 00009 #include "main.h" 00010 00011 /*Defining function that initializes ADC3 FOR 3 CHANNELS - 5 6 7*/ 00012 void initADC3_567_withDMA(void); 00013 00014 //Defining Function that initializes ADC3 FOR 1 CHANNEL - CHANNEL 5 00015 void initADC3_5_withDMA(void); 00016 00017 //Definig Function that enables ADC3 00018 void enableADC3(void); 00019 00020 //DEFINING FUNCTION TO START ADC CONVERSION 00021 void startADCConversion(void); 00022 00023 #ifdef __cplusplus 00024 } 00025 #endif 00026 00027 #endif /*__HARDWARE_ADC_H_ */ 00028
Generated on Mon Jan 16 2023 14:41:56 by
1.7.2