* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
[fw/sdcc] / device / include / pic16 / pic18f8520.h
index ba6d09641475bfb931d58376e87def28f3db7ec0..a03659a9121715c51ec6ced01c6f72b37b195fa0 100644 (file)
@@ -1299,6 +1299,16 @@ typedef union {
                unsigned PEIE:1;
                unsigned GIE:1;
        };
+       struct {
+               unsigned :1;
+               unsigned INT0IF:1;
+               unsigned TMR0IF:1;
+               unsigned :1;
+               unsigned INT0IE:1;
+               unsigned TMR0IE:1;
+               unsigned GIEL:1;
+               unsigned GIEH:1;
+       };
 } __INTCONbits_t;
 
 extern volatile __INTCONbits_t __at (0xff2) INTCONbits;