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:
- 1:c125f4e65df7
- Parent:
- 0:716b93ab9a58
--- a/hardware_dma_controller.h Fri Oct 29 20:56:20 2021 +0000 +++ b/hardware_dma_controller.h Wed Nov 03 05:31:26 2021 +0000 @@ -14,8 +14,12 @@ /*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 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);