avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [Bug #3327] I read from phorum that outb() is depreca


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [Bug #3327] I read from phorum that outb() is deprecated? But still can found a note from library "Use outb() in new programs".
Date: Tue, 29 Apr 2003 09:53:27 +0200
User-agent: Mutt/1.2.5i

As address@hidden wrote:

> outb() [and inb()/outw()] are _not_ deprecated. Only outp() and
> inp() have been deprecated.

Hmm, they are, and i advised the person posting in AVRfreaks to open a
bug report for it so it won't be forgotten.  Too bad you've closed it
without any discussion.  (I didn't have the time so far to start much
discussion myself.)

We used to tell everybody to prefer the direct assignment instead of
inb()/outb().  It is better readable, and better portable between the
various AVR C compilers.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]