Question
Multiple read from Peripheral to Memory using DMA
Dear Experts,
Can I configure the DMA2 to do say 3 repeats read on GPIOx_IDR by a single DMA request?
I do not want to have array of bytes instead I would like to write into a single variable and overriding it with the latest value.
I have set the MINC bit to 0 in the specific DMA2 register. So the variable always being written with the latest value.
HAL_DMA_Start( htim1.hdma[TIM_DMA_ID_CC2], (uint32_t)&GPIB_D0_GPIO_Port->IDR, (uint32_t)GPIOE_IDR_buff_, 3);Will the above API perform 3 reads on the GPIOx_IDR?
Please advice.