* as/link/lkar.h: sgetl and sputl are independent of endianness
[fw/sdcc] / device / include / pic / pic16f84.h
index b92918ddc00cacc5867b56e174e430d64236166b..984096c6ad1b99b48fb8c9ce651bea8d1ed67b1d 100644 (file)
@@ -4,7 +4,7 @@
 //
 // This header file was automatically generated by:
 //
-//     inc2h.pl V4585
+//     inc2h.pl V4783
 //
 //     Copyright (c) 2002, Kevin L. Pauba, All Rights Reserved
 //
@@ -171,11 +171,13 @@ typedef union {
 } __EECON1_bits_t;
 extern volatile __EECON1_bits_t __at(EECON1_ADDR) EECON1_bits;
 
+#ifndef NO_BIT_DEFINES
 #define RD                   EECON1_bits.RD
 #define WR                   EECON1_bits.WR
 #define WREN                 EECON1_bits.WREN
 #define WRERR                EECON1_bits.WRERR
 #define EEIF                 EECON1_bits.EEIF
+#endif /* NO_BIT_DEFINES */
 
 // ----- INTCON bits --------------------
 typedef union {
@@ -192,6 +194,7 @@ typedef union {
 } __INTCON_bits_t;
 extern volatile __INTCON_bits_t __at(INTCON_ADDR) INTCON_bits;
 
+#ifndef NO_BIT_DEFINES
 #define RBIF                 INTCON_bits.RBIF
 #define INTF                 INTCON_bits.INTF
 #define T0IF                 INTCON_bits.T0IF
@@ -200,6 +203,7 @@ extern volatile __INTCON_bits_t __at(INTCON_ADDR) INTCON_bits;
 #define T0IE                 INTCON_bits.T0IE
 #define EEIE                 INTCON_bits.EEIE
 #define GIE                  INTCON_bits.GIE
+#endif /* NO_BIT_DEFINES */
 
 // ----- OPTION_REG bits --------------------
 typedef union {
@@ -216,6 +220,7 @@ typedef union {
 } __OPTION_REG_bits_t;
 extern volatile __OPTION_REG_bits_t __at(OPTION_REG_ADDR) OPTION_REG_bits;
 
+#ifndef NO_BIT_DEFINES
 #define PS0                  OPTION_REG_bits.PS0
 #define PS1                  OPTION_REG_bits.PS1
 #define PS2                  OPTION_REG_bits.PS2
@@ -224,6 +229,7 @@ extern volatile __OPTION_REG_bits_t __at(OPTION_REG_ADDR) OPTION_REG_bits;
 #define T0CS                 OPTION_REG_bits.T0CS
 #define INTEDG               OPTION_REG_bits.INTEDG
 #define NOT_RBPU             OPTION_REG_bits.NOT_RBPU
+#endif /* NO_BIT_DEFINES */
 
 // ----- PORTA bits --------------------
 typedef union {
@@ -240,12 +246,14 @@ typedef union {
 } __PORTA_bits_t;
 extern volatile __PORTA_bits_t __at(PORTA_ADDR) PORTA_bits;
 
+#ifndef NO_BIT_DEFINES
 #define RA0                  PORTA_bits.RA0
 #define RA1                  PORTA_bits.RA1
 #define RA2                  PORTA_bits.RA2
 #define RA3                  PORTA_bits.RA3
 #define RA4                  PORTA_bits.RA4
 #define RA5                  PORTA_bits.RA5
+#endif /* NO_BIT_DEFINES */
 
 // ----- PORTB bits --------------------
 typedef union {
@@ -262,6 +270,7 @@ typedef union {
 } __PORTB_bits_t;
 extern volatile __PORTB_bits_t __at(PORTB_ADDR) PORTB_bits;
 
+#ifndef NO_BIT_DEFINES
 #define RB0                  PORTB_bits.RB0
 #define RB1                  PORTB_bits.RB1
 #define RB2                  PORTB_bits.RB2
@@ -270,6 +279,7 @@ extern volatile __PORTB_bits_t __at(PORTB_ADDR) PORTB_bits;
 #define RB5                  PORTB_bits.RB5
 #define RB6                  PORTB_bits.RB6
 #define RB7                  PORTB_bits.RB7
+#endif /* NO_BIT_DEFINES */
 
 // ----- STATUS bits --------------------
 typedef union {
@@ -286,6 +296,7 @@ typedef union {
 } __STATUS_bits_t;
 extern volatile __STATUS_bits_t __at(STATUS_ADDR) STATUS_bits;
 
+#ifndef NO_BIT_DEFINES
 #define C                    STATUS_bits.C
 #define DC                   STATUS_bits.DC
 #define Z                    STATUS_bits.Z
@@ -294,6 +305,7 @@ extern volatile __STATUS_bits_t __at(STATUS_ADDR) STATUS_bits;
 #define RP0                  STATUS_bits.RP0
 #define RP1                  STATUS_bits.RP1
 #define IRP                  STATUS_bits.IRP
+#endif /* NO_BIT_DEFINES */
 
 // ----- TRISA bits --------------------
 typedef union {
@@ -310,12 +322,14 @@ typedef union {
 } __TRISA_bits_t;
 extern volatile __TRISA_bits_t __at(TRISA_ADDR) TRISA_bits;
 
+#ifndef NO_BIT_DEFINES
 #define TRISA0               TRISA_bits.TRISA0
 #define TRISA1               TRISA_bits.TRISA1
 #define TRISA2               TRISA_bits.TRISA2
 #define TRISA3               TRISA_bits.TRISA3
 #define TRISA4               TRISA_bits.TRISA4
 #define TRISA5               TRISA_bits.TRISA5
+#endif /* NO_BIT_DEFINES */
 
 // ----- TRISB bits --------------------
 typedef union {
@@ -332,6 +346,7 @@ typedef union {
 } __TRISB_bits_t;
 extern volatile __TRISB_bits_t __at(TRISB_ADDR) TRISB_bits;
 
+#ifndef NO_BIT_DEFINES
 #define TRISB0               TRISB_bits.TRISB0
 #define TRISB1               TRISB_bits.TRISB1
 #define TRISB2               TRISB_bits.TRISB2
@@ -340,5 +355,6 @@ extern volatile __TRISB_bits_t __at(TRISB_ADDR) TRISB_bits;
 #define TRISB5               TRISB_bits.TRISB5
 #define TRISB6               TRISB_bits.TRISB6
 #define TRISB7               TRISB_bits.TRISB7
+#endif /* NO_BIT_DEFINES */
 
 #endif