samd21e18a

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

as i am working with samd21e18a controller with asf. as i am while debugging  generating  error "GCLK could not evaluate Error" fallow this line

 

/* Disable the generic clock */

GCLK->CLKCTRL.reg &= ~GCLK_CLKCTRL_CLKEN;

 

while (GCLK->CLKCTRL.reg & GCLK_CLKCTRL_CLKEN)

{

/* Wait for clock to become disabled */

}

 

from gclk.c file