1 Reply Latest reply on May 10, 2017 1:08 PM by BoTa_264741

    May I modify the TCPWM_CNT_CC value when the timer is enable and start ?



      My application for multiple time cc events used.


      I wish used a same timer resource, it means that I write a compare register value to generate cc event interrupts when timer count reach the compare register, in the mean time, the timer does not stop, keep running and enter interrupt service routine, then firmware change compare register to a new value , new value is great than old (example it is a up counting mode), after clear interrupt return to main routine, wait for reaching  next compare register value then CC event happened. The new value is enough to process interrupt service routine. 


      Is it workable ?