//
// This header file was automatically generated by:
//
-// inc2h.pl V4585
+// inc2h.pl V4783
//
// Copyright (c) 2002, Kevin L. Pauba, All Rights Reserved
//
} __ADCON0_bits_t;
extern volatile __ADCON0_bits_t __at(ADCON0_ADDR) ADCON0_bits;
+#ifndef NO_BIT_DEFINES
#define ADON ADCON0_bits.ADON
#define CHS3 ADCON0_bits.CHS3
#define GO ADCON0_bits.GO
#define CHS2 ADCON0_bits.CHS2
#define ADCS0 ADCON0_bits.ADCS0
#define ADCS1 ADCON0_bits.ADCS1
+#endif /* NO_BIT_DEFINES */
// ----- ADCON1 bits --------------------
typedef union {
} __ADCON1_bits_t;
extern volatile __ADCON1_bits_t __at(ADCON1_ADDR) ADCON1_bits;
+#ifndef NO_BIT_DEFINES
#define VCFG0 ADCON1_bits.VCFG0
#define VCFG1 ADCON1_bits.VCFG1
+#endif /* NO_BIT_DEFINES */
// ----- CALCON bits --------------------
typedef union {
} __CALCON_bits_t;
extern volatile __CALCON_bits_t __at(CALCON_ADDR) CALCON_bits;
+#ifndef NO_BIT_DEFINES
#define CALREF CALCON_bits.CALREF
#define CALERR CALCON_bits.CALERR
#define CAL CALCON_bits.CAL
+#endif /* NO_BIT_DEFINES */
// ----- CM1CON0 bits --------------------
typedef union {
} __CM1CON0_bits_t;
extern volatile __CM1CON0_bits_t __at(CM1CON0_ADDR) CM1CON0_bits;
+#ifndef NO_BIT_DEFINES
#define C1CH0 CM1CON0_bits.C1CH0
#define C1CH1 CM1CON0_bits.C1CH1
#define C1R CM1CON0_bits.C1R
#define C1OE CM1CON0_bits.C1OE
#define C1OUT CM1CON0_bits.C1OUT
#define C1ON CM1CON0_bits.C1ON
+#endif /* NO_BIT_DEFINES */
// ----- CM2CON0 bits --------------------
typedef union {
} __CM2CON0_bits_t;
extern volatile __CM2CON0_bits_t __at(CM2CON0_ADDR) CM2CON0_bits;
+#ifndef NO_BIT_DEFINES
#define C2CH0 CM2CON0_bits.C2CH0
#define C2CH1 CM2CON0_bits.C2CH1
#define C2R CM2CON0_bits.C2R
#define C2OE CM2CON0_bits.C2OE
#define C2OUT CM2CON0_bits.C2OUT
#define C2ON CM2CON0_bits.C2ON
+#endif /* NO_BIT_DEFINES */
// ----- CM2CON1 bits --------------------
typedef union {
} __CM2CON1_bits_t;
extern volatile __CM2CON1_bits_t __at(CM2CON1_ADDR) CM2CON1_bits;
+#ifndef NO_BIT_DEFINES
#define C2SYNC CM2CON1_bits.C2SYNC
#define MC2OUT CM2CON1_bits.MC2OUT
#define MC1OUT CM2CON1_bits.MC1OUT
+#endif /* NO_BIT_DEFINES */
// ----- DACON0 bits --------------------
typedef union {
} __DACON0_bits_t;
extern volatile __DACON0_bits_t __at(DACON0_ADDR) DACON0_bits;
+#ifndef NO_BIT_DEFINES
#define DARS0 DACON0_bits.DARS0
#define DARS1 DACON0_bits.DARS1
#define DAOE DACON0_bits.DAOE
#define DAON DACON0_bits.DAON
+#endif /* NO_BIT_DEFINES */
// ----- INTCON bits --------------------
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
#define T0IE INTCON_bits.T0IE
#define PEIE INTCON_bits.PEIE
#define GIE INTCON_bits.GIE
+#endif /* NO_BIT_DEFINES */
// ----- LVDCON bits --------------------
typedef union {
} __LVDCON_bits_t;
extern volatile __LVDCON_bits_t __at(LVDCON_ADDR) LVDCON_bits;
+#ifndef NO_BIT_DEFINES
#define LV0 LVDCON_bits.LV0
#define LV1 LVDCON_bits.LV1
#define LV2 LVDCON_bits.LV2
#define LV3 LVDCON_bits.LV3
#define LVDEN LVDCON_bits.LVDEN
#define BGST LVDCON_bits.BGST
+#endif /* NO_BIT_DEFINES */
// ----- OPACON bits --------------------
typedef union {
} __OPACON_bits_t;
extern volatile __OPACON_bits_t __at(OPACON_ADDR) OPACON_bits;
+#ifndef NO_BIT_DEFINES
#define GBWP OPACON_bits.GBWP
#define CMPEN OPACON_bits.CMPEN
#define OPAON OPACON_bits.OPAON
+#endif /* NO_BIT_DEFINES */
// ----- OPTION_REG bits --------------------
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
#define T0CS OPTION_REG_bits.T0CS
#define INTEDG OPTION_REG_bits.INTEDG
#define NOT_RBPU OPTION_REG_bits.NOT_RBPU
+#endif /* NO_BIT_DEFINES */
// ----- PCON bits --------------------
typedef union {
} __PCON_bits_t;
extern volatile __PCON_bits_t __at(PCON_ADDR) PCON_bits;
+#ifndef NO_BIT_DEFINES
#define NOT_BO PCON_bits.NOT_BO
#define NOT_BOR PCON_bits.NOT_BOR
#define NOT_POR PCON_bits.NOT_POR
#define OSCF PCON_bits.OSCF
#define WDTON PCON_bits.WDTON
+#endif /* NO_BIT_DEFINES */
// ----- PIE1 bits --------------------
typedef union {
} __PIE1_bits_t;
extern volatile __PIE1_bits_t __at(PIE1_ADDR) PIE1_bits;
+#ifndef NO_BIT_DEFINES
#define TMR1IE PIE1_bits.TMR1IE
#define C1IE PIE1_bits.C1IE
#define C2IE PIE1_bits.C2IE
#define ADIE PIE1_bits.ADIE
#define LVDIE PIE1_bits.LVDIE
+#endif /* NO_BIT_DEFINES */
// ----- PIR1 bits --------------------
typedef union {
} __PIR1_bits_t;
extern volatile __PIR1_bits_t __at(PIR1_ADDR) PIR1_bits;
+#ifndef NO_BIT_DEFINES
#define TMR1IF PIR1_bits.TMR1IF
#define C1IF PIR1_bits.C1IF
#define C2IF PIR1_bits.C2IF
#define ADIF PIR1_bits.ADIF
#define LVDIF PIR1_bits.LVDIF
+#endif /* NO_BIT_DEFINES */
// ----- PMCON1 bits --------------------
typedef union {
} __PMCON1_bits_t;
extern volatile __PMCON1_bits_t __at(PMCON1_ADDR) PMCON1_bits;
+#ifndef NO_BIT_DEFINES
#define RD PMCON1_bits.RD
+#endif /* NO_BIT_DEFINES */
// ----- PORTA bits --------------------
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 {
} __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
#define RB5 PORTB_bits.RB5
#define RB6 PORTB_bits.RB6
#define RB7 PORTB_bits.RB7
+#endif /* NO_BIT_DEFINES */
// ----- PSMCCON0 bits --------------------
typedef union {
} __PSMCCON0_bits_t;
extern volatile __PSMCCON0_bits_t __at(PSMCCON0_ADDR) PSMCCON0_bits;
+#ifndef NO_BIT_DEFINES
#define DC0 PSMCCON0_bits.DC0
#define DC1 PSMCCON0_bits.DC1
#define MAXDC0 PSMCCON0_bits.MAXDC0
#define MINDC1 PSMCCON0_bits.MINDC1
#define SMCCL0 PSMCCON0_bits.SMCCL0
#define SMCCL1 PSMCCON0_bits.SMCCL1
+#endif /* NO_BIT_DEFINES */
// ----- PSMCCON1 bits --------------------
typedef union {
} __PSMCCON1_bits_t;
extern volatile __PSMCCON1_bits_t __at(PSMCCON1_ADDR) PSMCCON1_bits;
+#ifndef NO_BIT_DEFINES
#define SMCCS PSMCCON1_bits.SMCCS
#define PWM PSMCCON1_bits.PWM
#define PSM PSMCCON1_bits.PSM
#define S1BPOL PSMCCON1_bits.S1BPOL
#define S1APOL PSMCCON1_bits.S1APOL
#define SMCON PSMCCON1_bits.SMCON
+#endif /* NO_BIT_DEFINES */
// ----- REFCON bits --------------------
typedef union {
} __REFCON_bits_t;
extern volatile __REFCON_bits_t __at(REFCON_ADDR) REFCON_bits;
+#ifndef NO_BIT_DEFINES
#define VREFOE REFCON_bits.VREFOE
#define VREFEN REFCON_bits.VREFEN
+#endif /* NO_BIT_DEFINES */
// ----- STATUS bits --------------------
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
#define RP0 STATUS_bits.RP0
#define RP1 STATUS_bits.RP1
#define IRP STATUS_bits.IRP
+#endif /* NO_BIT_DEFINES */
// ----- T1CON bits --------------------
typedef union {
} __T1CON_bits_t;
extern volatile __T1CON_bits_t __at(T1CON_ADDR) T1CON_bits;
+#ifndef NO_BIT_DEFINES
#define TMR1ON T1CON_bits.TMR1ON
#define TMR1CS T1CON_bits.TMR1CS
#define NOT_T1SYNC T1CON_bits.NOT_T1SYNC
#define T1CKPS0 T1CON_bits.T1CKPS0
#define T1CKPS1 T1CON_bits.T1CKPS1
#define TMR1GE T1CON_bits.TMR1GE
+#endif /* NO_BIT_DEFINES */
// ----- TRISA bits --------------------
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 {
} __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
#define TRISB5 TRISB_bits.TRISB5
#define TRISB6 TRISB_bits.TRISB6
#define TRISB7 TRISB_bits.TRISB7
+#endif /* NO_BIT_DEFINES */
#endif