/* Fills each DMA_InitType member with its default value.  */
void DMA_StructInit(DMA_InitType *InitStruct)
/* Fills each DMA_InitType member with its default value.  */
void DMA_StructInit(DMA_InitType *InitStruct)
{
  InitStruct->DestAddr = 0;
  InitStruct->SrcAddr = 0;
  InitStruct->FrameLen = 0;
  InitStruct->PackLen = 0;
  InitStruct->ContMode = DMA_CONTMODE_DISABLE;
  InitStruct->TransMode = DMA_TRANSMODE_SINGLE;
  InitStruct->ReqSrc = DMA_REQSRC_SOFT;
  InitStruct->DestAddrMode = DMA_DESTADDRMODE_FIX;
  InitStruct->SrcAddrMode = DMA_SRCADDRMODE_FIX;
  InitStruct->TransSize = DMA_TRANSSIZE_BYTE;
}