2008-12-14 06:00 PM
2008-12-14 06:00 PM
I used the ST7lite09, and I must use the PA2 as a Push-pull output not PWM signal output to drive a switcher, And at the same time I'd like to use the Auto reload timer as a counter to generate interruptor to form a 230Hz square wave at other ports, Is it possible? And I know I must set the ATCSR, CNTRH and CNTRL, Do I need set ATRH and ATRL also? And after each OVF, Is the counter still begin from 0 ? Anyone can help me for this? Thanks!