/* Fills each DMA_InitParam member with its default value.  */
void DMA_StructInit(DMA_InitType *DMA_InitParam)
/* Fills each DMA_InitParam member with its default value.  */
void DMA_StructInit(DMA_InitType *DMA_InitParam)
{
    DMA_InitParam->PeriphAddr = 0;
    DMA_InitParam->MemAddr = 0;
    DMA_InitParam->Direction = DMA_DIR_PERIPH_SRC;
    DMA_InitParam->BufSize = 0;
    DMA_InitParam->PeriphInc = DMA_PERIPH_INC_DISABLE;
    DMA_InitParam->DMA_MemoryInc = DMA_MEM_INC_DISABLE;
    DMA_InitParam->PeriphDataSize = DMA_PERIPH_DATA_SIZE_BYTE;
    DMA_InitParam->MemDataSize = DMA_MemoryDataSize_Byte;
    DMA_InitParam->CircularMode = DMA_MODE_NORMAL;
    DMA_InitParam->Priority = DMA_PRIORITY_LOW;
    DMA_InitParam->Mem2Mem = DMA_M2M_DISABLE;
}