/* Config DMA source offset number under non-sequence mode.  */
int32_t DMA_SetNonSeqSrcOffset(CM_DMA_TypeDef *DMAx, uint8_t u8Ch, uint32_t u32Offset)
/* Config DMA source offset number under non-sequence mode.  */
int32_t DMA_SetNonSeqSrcOffset(CM_DMA_TypeDef *DMAx, uint8_t u8Ch, uint32_t u32Offset)
{
    __IO uint32_t *SNSEQCTLx;
    DDL_ASSERT(IS_DMA_UNIT(DMAx));
    DDL_ASSERT(IS_DMA_CH(u8Ch));
    DDL_ASSERT(IS_DMA_NON_SEQ_OFFSET(u32Offset));
    SNSEQCTLx = &DMA_CH_REG(DMAx->SNSEQCTL0, u8Ch);
    MODIFY_REG32(*SNSEQCTLx, DMA_SNSEQCTL_SOFFSET, u32Offset);
    return LL_OK;
}