Question
Bug Comment of HAL-DMA Lib
Posted on October 08, 2015 at 13:18
Hi,
in this part of theDMA-SetConfig()
function the comments are wrong./*
Memory to Peripheral
*/ if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH) { /* Configure DMA Stream destination address */ hdma->Instance->PAR = DstAddress; /* Configure DMA Stream source address */ hdma->Instance->M0AR = SrcAddress; } /*Peripheral to Memory
*/ else { /* Configure DMA Stream source address */ hdma->Instance->PAR = SrcAddress; /* Configure DMA Stream destination address */ hdma->Instance->M0AR = DstAddress; } }Michael