/* Fills each DMA_InitStruct member with its default value.  */
void DMA_StructInit(DMA_InitTypeDef *DMA_InitStruct)
/* Fills each DMA_InitStruct member with its default value.  */
void DMA_StructInit(DMA_InitTypeDef *DMA_InitStruct)
{
  DMA_InitStruct->DMA_PeripheralBaseAddr = 0;
  DMA_InitStruct->DMA_MemoryBaseAddr = 0;
  DMA_InitStruct->DMA_DIR = DMA_DIR_PeripheralSRC;
  DMA_InitStruct->DMA_BufferSize = 0;
  DMA_InitStruct->DMA_PeripheralInc = DMA_PeripheralInc_Disable;
  DMA_InitStruct->DMA_MemoryInc = DMA_MemoryInc_Disable;
  DMA_InitStruct->DMA_PeripheralDataSize = DMA_PeripheralDataSize_Byte;
  DMA_InitStruct->DMA_MemoryDataSize = DMA_MemoryDataSize_Byte;
  DMA_InitStruct->DMA_Mode = DMA_Mode_Normal;
  DMA_InitStruct->DMA_Priority = DMA_Priority_Low;
  DMA_InitStruct->DMA_M2M = DMA_M2M_Disable;
}