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
- Committer:
- rajathr
- Date:
- 2021-11-03
- Revision:
- 1:c125f4e65df7
- Parent:
- 0:716b93ab9a58
File content as of revision 1:c125f4e65df7:
#ifndef __HARDWARE_DMA_CONTROLLER_H_ #define __HARDWARE_DMA_CONTROLLER_H_ #ifdef __cplusplus extern "C" { #endif #include "main.h" /*Defining function that initializes DMA FOR ADC 3 - 3 CHANNELS*/ void initDMAForAdc3_3Channels(void); /*Defining function that initializes DMA FOR ADC 3 - 1 CHANNELS*/ void initDMAForAdc3_1Channel(void); /*Defining function that returns ADC value to DMA Storage Value FOR 3 CHANNEL*/ uint16_t returnADC3StoredValue3Channel(uint8_t index); /*Defining function that returns ADC value to DMA Storage Value FOR 1 CHANNELS*/ uint16_t returnADC3StoredValue1Channel(uint8_t index); /*Defining function that enables DMA for ADC3 - 3 CHANNELS*/ void enableDMAForAdc3_3channels (void); /*Defining function that enables DMA for ADC3 - 1 CHANNEL */ void enableDMAForAdc3_1channels (void); #ifdef __cplusplus } #endif #endif /*__HARDWARE_DMA_CONTROLLER_H */