/* param base eDMA peripheral base address. param channel eDMA channel number. param config A pointer to the minor offset configuration structure.  */
void EDMA_SetMinorOffsetConfig(EDMA_Type *base, uint32_t channel, const edma_minor_offset_config_t *config)
/* param base eDMA peripheral base address. param channel eDMA channel number. param config A pointer to the minor offset configuration structure.  */
void EDMA_SetMinorOffsetConfig(EDMA_Type *base, uint32_t channel, const edma_minor_offset_config_t *config)
{
    assert(channel < (uint32_t)FSL_FEATURE_EDMA_MODULE_CHANNEL(base));
    assert(config != NULL);
    uint32_t tmpreg;
    tmpreg = EDMA_TCD_BASE(base, channel)->NBYTES;
    tmpreg &= ~(DMA_NBYTES_MLOFFYES_SMLOE_MASK | DMA_NBYTES_MLOFFYES_DMLOE_MASK | DMA_NBYTES_MLOFFYES_MLOFF_MASK);
    tmpreg |=
        (DMA_NBYTES_MLOFFYES_SMLOE(config->enableSrcMinorOffset) |
         DMA_NBYTES_MLOFFYES_DMLOE(config->enableDestMinorOffset) | DMA_NBYTES_MLOFFYES_MLOFF(config->minorOffset));
    EDMA_TCD_BASE(base, channel)->NBYTES = tmpreg;
}