| Xmega Application Note | |||||
Preprocessor stringizing utils. More...

Go to the source code of this file.
Defines | |
| #define | ASTRINGZ(x) STRINGZ(x) |
| Absolute stringize. | |
| #define | STRINGZ(x) #x |
| Stringize. | |
Preprocessor stringizing utils.
Copyright (C) 2009 Atmel Corporation. All rights reserved.
Definition in file stringz.h.
| #define ASTRINGZ | ( | x | ) | STRINGZ(x) |
Absolute stringize.
Stringize a preprocessing token, this token being allowed to be #defined.
No restriction of use if the token is #defined.
For example, writing ASTRINGZ(PIN0) anywhere with PIN0 #defined as A0 is equivalent to writing "A0".
| #define STRINGZ | ( | x | ) | #x |
Stringize.
Stringize a preprocessing token, this token being allowed to be #defined.
May be used only within macros with the token passed as an argument if the token is #defined.
For example, writing STRINGZ(PIN) within a macro #defined by PIN_NAME(PIN) and invoked as PIN_NAME(PIN0) with PIN0 #defined as A0 is equivalent to writing "A0".
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by 1.6.3
|