/* Returns the current memory target used by double buffer transfer.  */
uint32_t DMA_ReadCurrentMemoryTarget(DMA_Stream_T *stream)
/* Returns the current memory target used by double buffer transfer.  */
uint32_t DMA_ReadCurrentMemoryTarget(DMA_Stream_T *stream)
{
    return (uint32_t)(stream->SCFG_B.CTARG);
}