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

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

Re: [avr-libc-dev] AT90CAN128 Header continued


From: Theodore A. Roth
Subject: Re: [avr-libc-dev] AT90CAN128 Header continued
Date: Thu, 13 May 2004 14:45:09 -0700 (PDT)

On Thu, 13 May 2004, Bruce Graham wrote:

> All,
>
> Since Timer 1 and Timer 3 are virtually identical it shoul come as no
> surprise that our header file has "cut and paste" disease.
> The definitions for the timer 3 output compare registers have the 3 and
> the letters A, B, and C dyslexically reversed as they were for Timer 1.
> In addition the address for OCRC3 should be 0x9C.
>
>     #define    OCRC3    _SFR_MEM16(0x9A)
>
> should read
>
>     #define    OCR3C    _SFR_MEM16(0x9C)
>
> The other OCR3x names need to be fixed accordingly.
>
> Next:  there is no definition for the CANMSG register.  Add the
> following line after the definition for CANSTMH
>
>     #define    CANMSG    _SFR_MEM8(0xFA)
>
> Continually checking,
> Bruce

Thanks. Keep 'em coming. ;-)

I've committed a fix (see attached patch).

---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden

Attachment: avr-libc-can128-fix.diff
Description: Text document


reply via email to

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