|
From: | Joerg Wunsch |
Subject: | Re: [avr-libc-dev] interrupt enable functions |
Date: | Fri, 9 Aug 2002 23:26:32 +0200 |
User-agent: | Mutt/1.2.5i |
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(). -- J"org Wunsch Unix support engineer address@hidden http://www.interface-systems.de/~j/
[Prev in Thread] | Current Thread | [Next in Thread] |