Dear alec
Thanks for replying
I have known 1) and 2) of your post.
I know 3) as per your explanation but just bear me through with my explanation, and point out if i am wrong..
Normally i start the Timer1 for sine-weighted values from a look up table (LUT) after a key press.In the overflow interrupts , i update the counter with updated value and then do housekeeping stuff.Next value is updated from incremented LUT index on next overflow, and so on till LUT is reinit at 0.
This process occurs or rather progresses naturally.
Now how do i integrate this with an input capture event (triggered by ZCD).
Would you suggest , reinitialize Timer1 at every edge of the ZCD, or should i reset the index counter of LUT to zero?
Please provide an insight