is there any library that using all three timers?
but i don't understand anything about setting up the register
The Timer/Counter1 (TC1) module of the ATtinyX61 family is very well suited for driving threephase motors.
The three timers actually have 6 outputs. Each one has an A and B side. As for Timer 0, you may or may not care about the housekeeping Grumpy_Mike refers to, and in any case you could run the timer at the right speed to keep doing that.
The ATtiny861 (and family) is probably a better choice...http://www.atmel.com/Images/doc7827.pdfQuoteThe Timer/Counter1 (TC1) module of the ATtinyX61 family is very well suited for driving threephase motors.http://www.atmel.com/devices/attiny861.aspx
need to control TRIACs firing signal for 3 phase system. and i realize that i cannot use just one timer.
Quoteneed to control TRIACs firing signal for 3 phase system. and i realize that i cannot use just one timer. Why not?I am assuming it is for phase angle control, once you have detected the zero crossing for one phase you know it for the others. Are you going to have different delays for each phase?
Yes but do you want the same dealt on all three phases, I am assuming that you would. Therefor you only need to time the delay and then a repeat. I make that only two timers at most.
so i just need to detect the first zero crossing and firing the other phases at every 1200 delay?