> -----Original Message----- > From: > [email protected] > [mailto:avr-libc-dev-bounces+eweddington=cso.atmel....@nongnu. > org] On Behalf Of Frédéric Nadeau > Sent: Monday, March 09, 2009 1:12 PM > To: [email protected] > 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 mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
