-->
Page 1 of 1

timer1_detachInterrupt(); issue

PostPosted: Sat Dec 26, 2015 10:36 am
by sasasa
After timer1_detachInterrupt(); timer/counter not call handler function at all. I cant enable it with timer1_attachInterrupt(handler);
For test I added 1 line in code - timer1_detachInterrupt();. It stopped all. :(
Code: Select all  timer1_isr_init();
  timer1_enable(0, 0, 1);
  timer1_write(120000);
  timer1_detachInterrupt();
  timer1_attachInterrupt(handler);


Any solutions?

Re: timer1_detachInterrupt(); issue

PostPosted: Mon Jan 04, 2016 1:31 pm
by sasasa
any ideas?