[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: |
Mon, 28 Apr 2003 23:41:16 -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: Mon 04/28/2003 at 20:41 (US/Pacific)
What | Removed | Added
---------------------------------------------------------------------------
Severity | 5 - Major | 1 - Ordinary
Resolution | None | Invalid
Assigned to | None | troth
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
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.
=================== 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: Invalid
Assigned to: troth Originator Email: address@hidden
Status: Closed
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: 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