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

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

Re: [avr-gcc-list] sfr_defs.h: _SFR_IO_REG_P(SMPCR)


From: Theodore A. Roth
Subject: Re: [avr-gcc-list] sfr_defs.h: _SFR_IO_REG_P(SMPCR)
Date: Thu, 29 Aug 2002 15:30:35 -0700 (PDT)

That example looks suspiciously like it's an asm example (not inline asm
though) to me. How are you trying to use _SFR_IO_REG_P()?


Ted Roth

On Thu, 29 Aug 2002, E. Weddington wrote:

:) In sfr_defs.h, the macro _SFR_IO_REG_P() is defined as well as
:) comments in the file about a  "real world" example of using it with
:) SMPCR to generate different code depending on the address of SMPCR.
:)
:) Has anybody used this macro successfully in C?
:) All I get is an error message about a missing binary operator before
:) token "int".
:)
:) Thanks
:) Eric
:) avr-gcc-list at http://avr1.org
:)


avr-gcc-list at http://avr1.org



reply via email to

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