/* initialize the parameters of DMA struct with the default values  */
void dma_struct_para_init(dma_parameter_struct *init_struct)
/* initialize the parameters of DMA struct with the default values  */
void dma_struct_para_init(dma_parameter_struct *init_struct)
{
    init_struct->periph_addr  = 0U;
    init_struct->periph_width = 0U;
    init_struct->periph_inc   = DMA_PERIPH_INCREASE_DISABLE;
    init_struct->memory_addr  = 0U;
    init_struct->memory_width = 0U;
    init_struct->memory_inc   = DMA_MEMORY_INCREASE_DISABLE;
    init_struct->number       = 0U;
    init_struct->direction    = DMA_PERIPHERAL_TO_MEMORY;
    init_struct->priority     = DMA_PRIORITY_LOW;
}