/* param handle Pointer to DMA handle. param xferCfg xfer configuration, user can reference DMA_CHANNEL_XFER about to how to get xferCfg value. param srcStartAddr source start address. param dstStartAddr destination start address. param nextDesc address of next descriptor.  */
void DMA_SubmitChannelTransferParameter(dma_handle_t *handle, uint32_t xferCfg, void *srcStartAddr, void *dstStartAddr, void *nextDesc)
/* param handle Pointer to DMA handle. param xferCfg xfer configuration, user can reference DMA_CHANNEL_XFER about to how to get xferCfg value. param srcStartAddr source start address. param dstStartAddr destination start address. param nextDesc address of next descriptor.  */
void DMA_SubmitChannelTransferParameter(dma_handle_t *handle, uint32_t xferCfg, void *srcStartAddr, void *dstStartAddr, void *nextDesc)
{
    assert((NULL != srcStartAddr) && (NULL != dstStartAddr));
    assert(handle->channel < (uint8_t)FSL_FEATURE_DMA_NUMBER_OF_CHANNELSn(handle->base));
    uint32_t instance            = DMA_GetInstance(handle->base);
    dma_descriptor_t *descriptor = (dma_descriptor_t *)(&s_dma_descriptor_table[instance][handle->channel]);
    DMA_SetupDescriptor(descriptor, xferCfg, srcStartAddr, dstStartAddr, nextDesc);
    handle->base->CHANNEL[handle->channel].XFERCFG = xferCfg;
}