avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] AVR Timer problem


From: Matte
Subject: RE: [avr-gcc-list] AVR Timer problem
Date: Sat, 05 Jun 2004 21:51:29 +0200

Hi

Thanks for your comments. I did get the timer going, I forgot that flags
are cleared when the interrupt is executed. When I set the OCIEA and
OCF1A it worked out correcty.. During the day I've started to think
about next issue. How is CLK_I/O related to CLK_CPU ?? Is CLK_I/O ==
CLK_CPU ?? Tryed to find that information but failed totally... 


> Why do you write:
> 
> >   volatile uint8_t *tccr1A; tccr1A = &TCCR1A;
> >    ...
> >   *tcnt1 = 5;


That I did from just old habit. Did a framework a while ago where I
wanted to set ports etc at compiletime... 

Well.. 
Thanks Again..!

Best Regards
Mattias


-- 
Mattias

address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]