[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fw: Fw: Fw: [avr-gcc-list] AVR UART as ANSI Terminal Interface
From: |
Ned Konz |
Subject: |
Re: Fw: Fw: Fw: [avr-gcc-list] AVR UART as ANSI Terminal Interface |
Date: |
Tue, 2 Nov 2004 14:58:13 -0800 |
User-agent: |
KMail/1.7 |
On Tuesday 02 November 2004 9:28 am, Royce & Sharal Pereira wrote:
> >/* somewhat better chance of handling common registers (PORTA, etc.) */
> >#define ADCMUX_sfr (*(volatile ADCMUX_t *)(_SFR_IO8(0x07)))
>
> ----------------------------
> Thanks for all the explanation! But the above is not clear...does the
> 'typedef ' statement have something to do with this? Sorry if my C is not
> up to speed!
This define is needed to support the later defines that use ADCMUX_sfr.
And the typedef for ADCMUX_t is indeed necessary, as that type is used in the
cast.
--
Ned Konz
http://bike-nomad.com