Defines | |
#define | ATTR_INIT_SECTION(x) __attribute__ ((naked, section (".init" #x ))) |
#define | ATTR_ALIAS(x) __attribute__ ((alias( #x ))) |
Macros for easy access GCC function attributes, which can be applied to function prototypes.
#define ATTR_ALIAS | ( | x | ) | __attribute__ ((alias( #x ))) |
Marks a function as an alias for another function of name "x".
#define ATTR_INIT_SECTION | ( | x | ) | __attribute__ ((naked, section (".init" #x ))) |
Places the function in one of the initialization sections, which execute before the main function of the application. The init function number can be specified as "x", as an integer. Refer to the avr-libc manual for more information on the initialization sections.