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

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

[avr-libc-dev] [bug #37627] #define PA0_DDR DDRADC without ever defining


From: anonymous
Subject: [avr-libc-dev] [bug #37627] #define PA0_DDR DDRADC without ever defining DDRADC
Date: Wed, 24 Oct 2012 15:13:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 Iceweasel/17.0

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

                 Summary: #define PA0_DDR   DDRADC without ever defining
DDRADC
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Wed 24 Oct 2012 03:13:11 PM UTC
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  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:

A number of header files contains macros definitions like:
#define PA0_DDR   DDRADC
#define PA0_PORT  PORTADC
#define PA0_PIN   PINADC
#define PA0_BIT   ADC0
or 
#define PCINT1_DDR   DDRADC
#define PCINT1_PORT  PORTADC
#define PCINT1_PIN   PINADC
#define PCINT1_BIT   ADC1

without ever defining DDRADC, PORTADC, ADC0...

I assume these lines were supposed to read:
#define PA0_DDR   DDRA
#define PA0_PORT  PORTA
#define PA0_PIN   PINA
#define PA0_BIT   0
??

This applies to all device pin definitions in:
avr/iotn861a.h 
avr/iom88pa.h 
avr/iotn20.h 
avr/iotn461a.h
avr/iotn40.h
avr/iotn261a.h





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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