[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [bug #18964] USART definitions *wrong* in iocanxx.h
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] [bug #18964] USART definitions *wrong* in iocanxx.h |
Date: |
Fri, 30 Mar 2007 21:33:27 +0200 |
User-agent: |
Mutt/1.5.11 |
As Eric Weddington wrote:
> Note the last sentence. The iocanxx.h has the correct naming with
> the "USART*" prefix. The vector names that start with "SIG*" should
> not be used anymore.
In general, I agree with your statement, though in this case, I'd
probably have made an exception. The iocanxxx.h file already contain
SIG_* vector names, but for the USART, it only contains the older (and
actually wrong) SIG_UART_* ones rather than SIG_USART_*. I'd
personally have made it match the ATmega128 definitions (where it has
once been derived from).
I fully agree though about new devices: they simply won't get any
SIG_* vector names anymore at all, as there's no historical precedence
to take care of.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)