* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
[fw/sdcc] / device / include / pic16 / pic18f2221.h
index 6fd2de3900ccfbda6e29bf5c72dfdaf219e9dc89..c2d63e2b04a5db8e48187a705a1233ad8a8bf5ea 100644 (file)
 
 
 // Configuration Bits
-#define        _CONFIG1H               0x300001
-#define        _CONFIG2L               0x300002
-#define        _CONFIG2H               0x300003
-#define        _CONFIG3H               0x300005
-#define        _CONFIG4L               0x300006
-#define        _CONFIG5L               0x300008
-#define        _CONFIG5H               0x300009
-#define        _CONFIG6L               0x30000A
-#define        _CONFIG6H               0x30000B
-#define        _CONFIG7L               0x30000C
-#define        _CONFIG7H               0x30000D
+#define        __CONFIG1H              0x300001
+#define        __CONFIG2L              0x300002
+#define        __CONFIG2H              0x300003
+#define        __CONFIG3H              0x300005
+#define        __CONFIG4L              0x300006
+#define        __CONFIG5L              0x300008
+#define        __CONFIG5H              0x300009
+#define        __CONFIG6L              0x30000A
+#define        __CONFIG6H              0x30000B
+#define        __CONFIG7L              0x30000C
+#define        __CONFIG7H              0x30000D
 
 // CONFIG1H Options
 #define        _OSC_LP_1H              0xF0     // LP Oscillator
@@ -1304,10 +1304,10 @@ typedef union {
        };
        struct {
                unsigned                : 1;
-               unsigned                : 1;
+               unsigned INT0F          : 1;
                unsigned T0IF           : 1;
                unsigned                : 1;
-               unsigned                : 1;
+               unsigned INT0E          : 1;
                unsigned T0IE           : 1;
                unsigned GIEL           : 1;
                unsigned GIEH           : 1;