/* Initialize DMA repeat mode config structure. Fill each pstcDmaInit with default value.  */
int32_t DMA_RepeatStructInit(stc_dma_repeat_init_t *pstcDmaRepeatInit)
/* Initialize DMA repeat mode config structure. Fill each pstcDmaInit with default value.  */
int32_t DMA_RepeatStructInit(stc_dma_repeat_init_t *pstcDmaRepeatInit)
{
    int32_t i32Ret = LL_OK;
    if (NULL == pstcDmaRepeatInit) {
        i32Ret = LL_ERR_INVD_PARAM;
    } else {
        pstcDmaRepeatInit->u32Mode       = DMA_RPT_NONE;
        pstcDmaRepeatInit->u32SrcCount  = 0x00UL;
        pstcDmaRepeatInit->u32DestCount = 0x00UL;
    }
    return i32Ret;
}