Skip to content

[bug #45185] inconsistent port bit definitions #618

Open
@avrs-admin

Description

@avrs-admin

Mon 25 May 2015 09:56:30 PM CEST

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.

This issue was migrated from https://savannah.nongnu.org/bugs/?45185

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions