Added DMA support for ADC

This commit is contained in:
dario
2024-03-15 13:00:23 +01:00
committed by CarlWachter
parent 5f0c180521
commit 40b71e2d68
2 changed files with 19 additions and 0 deletions

View File

@@ -31,6 +31,14 @@ namespace sta
*/
void start();
/**
* @brief Starts conversion of the incoming analog signal in DMA mode.
*
* @param buffer The buffer to write the converted values to.
* @param length The length of the buffer to write the converted values to.
*/
void startDMA(uint32_t * buffer, size_t length);
/**
* @brief Polls for the converted analog signal.
*