Rajath Ravi / Mbed 2 deprecated ADC_DMA_POST_LEC12

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers hardware_adc.h Source File

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