/* Enable source repeat function of the specified dma channel.  */
en_result_t Dma_EnableContinusTranfer(en_dma_channel_t enCh)
/* Enable source repeat function of the specified dma channel.  */
en_result_t Dma_EnableContinusTranfer(en_dma_channel_t enCh)
{
  ASSERT(IS_VALID_CH(enCh));
  if(!IS_VALID_CH(enCh))
  {
    return ErrorInvalidParameter;
  }
  if(enCh == DmaCh0)
  {
    M0P_DMAC->CONFB0_f.MSK = 1;
  }
  else{
    M0P_DMAC->CONFB1_f.MSK = 1;    }
  return Ok;
}