/* param base eDMA peripheral base address. param channel edma channel number. param sourceOffset source address offset. param destOffset destination address offset.  */
void EDMA_SetMajorOffsetConfig(DMA_Type *base, uint32_t channel, int32_t sourceOffset, int32_t destOffset)
/* param base eDMA peripheral base address. param channel edma channel number. param sourceOffset source address offset. param destOffset destination address offset.  */
void EDMA_SetMajorOffsetConfig(DMA_Type *base, uint32_t channel, int32_t sourceOffset, int32_t destOffset)
{
    assert(channel < (uint32_t)FSL_FEATURE_EDMA_MODULE_CHANNEL);
    base->TCD[channel].SLAST     = sourceOffset;
    base->TCD[channel].DLAST_SGA = destOffset;
}