avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] RfR: <avr/timer.h>


From: Theodore A. Roth
Subject: Re: [avr-libc-dev] RfR: <avr/timer.h>
Date: Sun, 15 Feb 2004 12:38:59 -0800 (PST)


On Sun, 15 Feb 2004, Joerg Wunsch wrote:

> As Joerg Wunsch wrote:
>
> > > Oh! Would you! Please! :-)
> >
> > Allright.  I did it.
>
> I also added warnings to the file in the 1.0 branch.
>
> > As Clemens Buchacher wrote:
> >
> > > I think the TCCR and TCNT registers are mixed up as well. It should be
> > > just the other way round.
> >
> > Thanks for pointing it out.  Since we gotta maintain that file for a
> > while in the 1.0 branch, I'll see to fix this there as well.
>
> They are not even reversed, but the entire idea behind the start/stop
> functions is bogus.  Of course, you cannot start/stop a timer by
> writing to the TCNT0 register.  But then, you can't start it without
> fully specifying the clock source anway (which is actually the purpose
> of the timer0_source() function).  Since we just removed the file from
> HEAD, I'd rather not mess with this at all, and only left a comment
> there that the functions are bogus.
>

Please mark it in 1.0 with \deprecated and scheduled for removal in next
stable series (1.2??).

Ted Roth




reply via email to

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