avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] AVR Macro Reference


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] AVR Macro Reference
Date: Sat, 31 Mar 2012 14:29:38 +0200 (MET DST)

John Krautkramer <address@hidden> wrote:

> Studying the WinAVR & AVR Libc docs, I come across many references like:
> 
> #define UDR     UDR0

Keep in mind that this is only a compatibility layer: some (older)
devices have a name like UDR (since they've only got one UART anyway),
while in newer devices, the registers are always numbered (UDR0).  The
above define allows to use code that has been written for the older
conventions on a newer device.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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