[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] Nice to have: XCK Definition
From: |
Weddington, Eric |
Subject: |
RE: [avr-libc-dev] Nice to have: XCK Definition |
Date: |
Mon, 9 Mar 2009 14:18:16 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Frédéric Nadeau
> Sent: Monday, March 09, 2009 1:12 PM
> To: address@hidden
> Subject: [avr-libc-dev] Nice to have: XCK Definition
>
> Hi there,
>
> For what I can tell, the pin XCK is not define for, at least, ATmega8
> and 16. This pin definition would facilitate portage of code between
> ATmega8 and 16 since XCK is not on the same pin for both device(PD4
> for one and PD0 for the other).
>
> My suggestion is adding the following:
>
> #define XCK_DDR DDRD
> #define XCK_DDRx DDD4
>
Hi Frédéric
AFAIK, we haven't discussed yet whether we should add *pin* descriptions to the
I/O header files. This would be a big task because it has to be done on all of
the header files, and for all the various pin names, for it to be useful. And
it would have to be automated in the future.
At this point, you'll just have to define those yourself for your project.
Unless you're willing to provide a patch to implement it as described above.
Eric
- [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/09
- RE: [avr-libc-dev] Nice to have: XCK Definition,
Weddington, Eric <=
- Re: [avr-libc-dev] Nice to have: XCK Definition, Oleksandr Redchuk, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/10
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/10
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/10
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/11