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