[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] timer.h
From: |
Theodore A. Roth |
Subject: |
Re: [avr-libc-dev] timer.h |
Date: |
Mon, 30 Sep 2002 10:03:38 -0700 (PDT) |
On Mon, 30 Sep 2002, E. Weddington wrote:
:) > IMHO, it's hard to even make it `complete', since the notion of
:) > completeness might vary much between different environments. Also,
:) > newer ATmegas use different names for the bit descriptions.
:) >
:) That's what conditional compilation is for. ;-)
Be careful there. Conditional compilation can be dangerous. For instance,
how to you guarantee that you've tested all the various permutations of
the conditions? Then there's the fact that it can make the code incredibly
difficult to read (look at all the confusion lately with the _SFR_*
macros). Kernighan and Pike's "The Practice of Programming" has a good
discussion on this (among many excellent discussions).
Ted Roth
- [avr-libc-dev] [RFC] Boot Loader Support, E. Weddington, 2002/09/09
- Re: [avr-libc-dev] [RFC] Boot Loader Support, ken restivo, 2002/09/09
- [avr-libc-dev] timer.h, Chris Baugher, 2002/09/15
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/16
- Re: [avr-libc-dev] timer.h, Joerg Wunsch, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Joerg Wunsch, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h,
Theodore A. Roth <=
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] release (was timer.h), E. Weddington, 2002/09/30
- Re: [avr-libc-dev] release (was timer.h), Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] timer.h, Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Chris Baugher, 2002/09/30