]> rtime.felk.cvut.cz Git - sysless.git/blob - arch/mcs51/mach-at89c51ed2/defines/mcu_regs.h
Updated check for SDCC compiler to support SDCC 3.2+ version.
[sysless.git] / arch / mcs51 / mach-at89c51ed2 / defines / mcu_regs.h
1 // Texas Instruments
2 // Name:        Reg1210.h
3 // Revision:    1.0
4 // Description: Header file for TI MSC1210 microcontroller
5
6 ///////////////////////////////////////////////////////////////////////////////
7 // Keyval
8 #define KVPB_CHUNK_SIZE 1
9
10 #if defined(SDCC) || defined(__SDCC)
11   #include <at89c51ed2.h>
12 __sfr __at (0xD1) FCON        ;
13 __sfr __at (0x8F) CKCON0      ;
14 #else
15   #ifdef __KEIL__
16     #include <atmel/at89c51ed2.h>
17   #else
18     #error Unknown 8051 kompiler
19   #endif
20 #endif