URL:
  <http://savannah.nongnu.org/bugs/?45185>

                 Summary: inconsistent port bit definitions
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Mon 25 May 2015 07:56:30 PM UTC
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: ralphdoncas...@gmail.com
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.0
           Fixed Release: None

    _______________________________________________________

Details:

Most AVR headers define the port bits by port name and bit number, as follows
(taken from iotn84a.h):
#define PORTB0 0
#define PORTB1 1
...
These bit definitions match s. 10.3.5 of datasheet.

However, in iotnx5.h, PORTB0 is not defined.  Instead it defines PB0:
...
#define PB1     1
#define PB0     0

This does NOT match s. 10.4.2 of the datasheet.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?45185>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to