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

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

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


From: nobody
Subject: [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: Sat, 03 May 2003 20:20:55 -0400

=================== BUG #3327: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3327&group_id=2140

Changes by: Theodore A. Roth <address@hidden>
Date: Sat 05/03/2003 at 17:20 (US/Pacific)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | Invalid                   | None
              Status | Closed                    | Open


------------------ Additional Follow-up Comments ----------------------------
Looks like I jumped the gun on this. Looks like we will be deprecating the 
macros. See this thread on the mailing list for more details:

http://mail.nongnu.org/archive/html/avr-libc-dev/2003-05/msg00000.html





=================== BUG #3327: FULL BUG SNAPSHOT ===================


Submitted by: Jake                    Project: AVR C Runtime Library        
Submitted on: Fri 04/25/2003 at 03:55
Category:  Documentation              Severity:  1 - Ordinary               
Bug Group:  None                      Resolution:  None                     
Assigned to:  troth                   Originator Email:  address@hidden
Status:  Open                         

Summary:  I read from phorum that outb() is deprecated? But still can found a 
note from library "Use outb() in new programs".

Original Submission:  I'm not sure if I am right (still uncertain), but I read 
from avrfreaks phorum that outb() is deprecated. I know that outp() is 
deprecated, but I can't find such mention of outb(). I find such mentions 
(introduced below) on chapter "5.16 Special function registers".

PDF VERSION:
avr-libc Reference Manual 20030417cvs
Generated by Doxygen 1.2.18 Tue Apr 22 09:54:05 2003

chapter 5.16.2.12 #define outp(val, sfr) outb(sfr, val)

Deprecated:
For backwards compatibility only. This macro will eventually be removed.

Use outb() in new programs.


As well as there are also same mention on html manual. I also can't find any 
outb() mention on deprecated function list. At least, I find this version of 
documentation with \WinAVR\doc\avr-libc\...

Thanks.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Sat 05/03/2003 at 17:20       By: troth
Looks like I jumped the gun on this. Looks like we will be deprecating the 
macros. See this thread on the mailing list for more details:

http://mail.nongnu.org/archive/html/avr-libc-dev/2003-05/msg00000.html



-------------------------------------------------------
Date: Mon 04/28/2003 at 20:41       By: troth
outb() [and inb()/outw()] are _not_ deprecated. Only outp() and inp() have been 
deprecated.

There are some portability issues that are better handled by using outb() 
instead of the <SFR> = <VAL>; idiom. Therefore, outb()/inb()/outw()/inw() will 
probably see a long life in avr-libc.

The avrfreaks posting was incorrect.

One caveat: Since the last stable release (20020203), the order of the 
arguments for outb()/outw() has changes.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3327&group_id=2140




reply via email to

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