AN2DMA_Init Function

Initializes AN2 (PA1) as analog input to use the ADC1 and DMA to transfer continuously converted data from ADC1 to memory.

Syntax

void AN2DMA_Init(uint16_t* pData, uint32_t length);

Parameters

uint16_t* -  pData 
uint32_t - length

Return Value

N/A

Remarks

N/A

Requirements

an2dma.h

Example

N/A