[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] interrupt enable functions
From: |
Theodore A. Roth |
Subject: |
Re: [avr-libc-dev] interrupt enable functions |
Date: |
Fri, 9 Aug 2002 14:34:24 -0700 (PDT) |
On Fri, 9 Aug 2002, Joerg Wunsch wrote:
:) As E. Weddington wrote:
:)
:) > Personally I don't use that macro; I roll my own with the same
:) > definition and call it BIT(). Personally I don't like making
:) > abbreviations unless absolutely necessary. I find it easier to
:) > understand PORTA |= BIT(5) than PORTA |= BV(5) and then remember that
:) > BV stands for Bit Value.
:)
:) I just committed a FAQ entry about the use of _BV().
Two small nits (ignore them if you want):
- s/chip/device/
- you're not being consistent in your use of _BV(). There's some BV()'s
in there.
Ted Roth
- Re: [avr-libc-dev] interrupt enable functions, (continued)
- Re: [avr-libc-dev] interrupt enable functions, Joerg Wunsch, 2002/08/09
- Re: [avr-libc-dev] interrupt enable functions, E. Weddington, 2002/08/09
- Re: [avr-libc-dev] interrupt enable functions, Theodore A. Roth, 2002/08/09
- [avr-libc-dev] compatibility headers, Joerg Wunsch, 2002/08/11
- Re: [avr-libc-dev] interrupt enable functions, Marek Michalkiewicz, 2002/08/10
- Re: [avr-libc-dev] interrupt enable functions, Joerg Wunsch, 2002/08/11
- Re: [avr-libc-dev] interrupt enable functions, Joerg Wunsch, 2002/08/09
- Re: [avr-libc-dev] interrupt enable functions,
Theodore A. Roth <=
- Re: [avr-libc-dev] interrupt enable functions, Joerg Wunsch, 2002/08/10
- Re: [avr-libc-dev] interrupt enable functions, Theodore A. Roth, 2002/08/08
Re: [avr-libc-dev] interrupt enable functions, Theodore A. Roth, 2002/08/07