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.
Diff: hardware_dma_controller.h
- Revision:
- 0:716b93ab9a58
- Child:
- 1:c125f4e65df7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hardware_dma_controller.h Fri Oct 29 20:56:20 2021 +0000 @@ -0,0 +1,31 @@ +#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*/ +uint16_t returnADC3StoredValue(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 */ +