From: tecodev Date: Fri, 1 Feb 2008 15:57:45 +0000 (+0000) Subject: * device/include/pic/pic16f886.h, X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=309958ad3f70c8128729cf6201c55732e5b31679;p=fw%2Fsdcc * device/include/pic/pic16f886.h, * device/include/pic/pic16f887.h: added RA6 and RA7 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5001 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index ab51762c..98dde146 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-01 Raphael Neider + + * device/include/pic/pic16f886.h, + * device/include/pic/pic16f887.h: added RA6 and RA7 + 2008-01-24 Raphael Neider * device/include/pic/pic16f88.h: added RA6 and RA7 diff --git a/device/include/pic/pic16f886.h b/device/include/pic/pic16f886.h index cc93e34f..3c621f19 100644 --- a/device/include/pic/pic16f886.h +++ b/device/include/pic/pic16f886.h @@ -1044,8 +1044,8 @@ typedef union { unsigned char RA3:1; unsigned char RA4:1; unsigned char RA5:1; - unsigned char :1; - unsigned char :1; + unsigned char RA6:1; + unsigned char RA7:1; }; } __PORTA_bits_t; extern volatile __PORTA_bits_t __at(PORTA_ADDR) PORTA_bits; @@ -1057,6 +1057,8 @@ extern volatile __PORTA_bits_t __at(PORTA_ADDR) PORTA_bits; #define RA3 PORTA_bits.RA3 #define RA4 PORTA_bits.RA4 #define RA5 PORTA_bits.RA5 +#define RA6 PORTA_bits.RA6 +#define RA7 PORTA_bits.RA7 #endif /* NO_BIT_DEFINES */ // ----- PORTB bits -------------------- diff --git a/device/include/pic/pic16f887.h b/device/include/pic/pic16f887.h index 54442143..f0d67362 100644 --- a/device/include/pic/pic16f887.h +++ b/device/include/pic/pic16f887.h @@ -1049,8 +1049,8 @@ typedef union { unsigned char RA3:1; unsigned char RA4:1; unsigned char RA5:1; - unsigned char :1; - unsigned char :1; + unsigned char RA6:1; + unsigned char RA7:1; }; } __PORTA_bits_t; extern volatile __PORTA_bits_t __at(PORTA_ADDR) PORTA_bits; @@ -1062,6 +1062,8 @@ extern volatile __PORTA_bits_t __at(PORTA_ADDR) PORTA_bits; #define RA3 PORTA_bits.RA3 #define RA4 PORTA_bits.RA4 #define RA5 PORTA_bits.RA5 +#define RA6 PORTA_bits.RA6 +#define RA7 PORTA_bits.RA7 #endif /* NO_BIT_DEFINES */ // ----- PORTB bits --------------------