projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
[fw/sdcc]
/
device
/
include
/
pic16
/
pic18f1220.h
diff --git
a/device/include/pic16/pic18f1220.h
b/device/include/pic16/pic18f1220.h
index 5c86e32e4bfd22bfb8678b785a85f40f1dff7585..d70cc1532c8d0bc698ace4d09a61e8f13414a5fc 100644
(file)
--- a/
device/include/pic16/pic18f1220.h
+++ b/
device/include/pic16/pic18f1220.h
@@
-642,6
+642,16
@@
typedef union {
unsigned PEIE:1;
unsigned GIE:1;
};
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;
} __INTCONbits_t;
extern volatile __INTCONbits_t __at (0xff2) INTCONbits;