[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #45185] inconsistent port bit definitions
From: |
anonymous |
Subject: |
[avr-libc-dev] [bug #45185] inconsistent port bit definitions |
Date: |
Mon, 25 May 2015 19:56:31 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 |
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: address@hidden
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [bug #45185] inconsistent port bit definitions,
anonymous <=