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_dma_controller.h
00001 #ifndef __HARDWARE_DMA_CONTROLLER_H_ 00002 #define __HARDWARE_DMA_CONTROLLER_H_ 00003 00004 00005 #ifdef __cplusplus 00006 extern "C" { 00007 #endif 00008 00009 #include "main.h" 00010 00011 /*Defining function that initializes DMA FOR ADC 3 - 3 CHANNELS*/ 00012 void initDMAForAdc3_3Channels(void); 00013 00014 /*Defining function that initializes DMA FOR ADC 3 - 1 CHANNELS*/ 00015 void initDMAForAdc3_1Channel(void); 00016 00017 /*Defining function that returns ADC value to DMA Storage Value FOR 3 CHANNEL*/ 00018 uint16_t returnADC3StoredValue3Channel(uint8_t index); 00019 00020 /*Defining function that returns ADC value to DMA Storage Value FOR 1 CHANNELS*/ 00021 uint16_t returnADC3StoredValue1Channel(uint8_t index); 00022 00023 00024 /*Defining function that enables DMA for ADC3 - 3 CHANNELS*/ 00025 void enableDMAForAdc3_3channels (void); 00026 00027 /*Defining function that enables DMA for ADC3 - 1 CHANNEL */ 00028 void enableDMAForAdc3_1channels (void); 00029 00030 #ifdef __cplusplus 00031 } 00032 #endif 00033 00034 #endif /*__HARDWARE_DMA_CONTROLLER_H */ 00035
Generated on Mon Jan 16 2023 14:41:56 by
1.7.2