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 deprec


From: Theodore A. Roth
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
Date: Tue, 29 Apr 2003 09:06:19 -0700 (PDT)


On Tue, 29 Apr 2003, E. Weddington wrote:

:) On 28 Apr 2003 at 23:41, address@hidden wrote:
:)
:) > There are some portability issues that are better handled by using
:) > outb() instead of the <SFR> = <VAL>; idiom.
:)
:) Such as?

Not so much portability, but a valid point:
  http://www.egnite.de/pipermail/en-nut-discussion/2003-April/000670.html

Also, It's conceivable that someone could want to use a chunk of on
linux (using direct io access) or some other system and avr. Of
course, it would be some ugly code full of #if's and such.

If someone has some compelling arguments for deprecating outb and
friends, the bug report can be reopened.

On the other hand, outp(), inp() were deprecated since the name wasn't
intuitive and the arguments were in a goofy order.

Ted Roth




reply via email to

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