| AVR Z-LINKŪ |

# compiler.h

Go to the documentation of this file.

    00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
    00024 #ifndef COMPILER_H
    00025 #define COMPILER_H
    00026
    00027 #if defined( __ICCAVR__ )
    00028
    00029 # include <ioavr.h>
    00030 # include <intrinsics.h>
    00031 # include <pgmspace.h>
    00032
    00033 #define PRAGMA(x) _Pragma( #x )
    00034 #define ISR(vec) PRAGMA( vector=vec ) __interrupt void handler_##vec(void)
    00035
    00036 #define sei() __enable_interrupt()
    00037 #define cli() __disable_interrupt()
    00038
    00039
    00043 #elif defined(__GNUC__)
    00044
    00045 #include <avr/io.h>
    00046 #include <avr/eeprom.h>
    00047 #include <avr/interrupt.h>
    00048 #include <avr/pgmspace.h>
    00049 #include <avr/sleep.h>
    00050 #include <avr/wdt.h>
    00051
    00052 #define __flash
    00053
    00054 #endif
    00055
    00056 #endif

@DOC_TITLE@