2 * This declarations of the PIC16F610 MCU.
4 * This file is part of the GNU PIC library for SDCC, originally
5 * created by Molnar Karoly <molnarkaroly@users.sf.net> 2016.
7 * This file is generated automatically by the cinc2h.pl, 2016-04-13 17:22:56 UTC.
9 * SDCC is licensed under the GNU Public license (GPL) v2. Note that
10 * this license covers the code to the compiler and other executables,
11 * but explicitly does not cover any code or objects generated by sdcc.
13 * For pic device libraries and header files which are derived from
14 * Microchip header (.inc) and linker script (.lkr) files Microchip
15 * requires that "The header files should state that they are only to be
16 * used with authentic Microchip devices" which makes them incompatible
17 * with the GPL. Pic device libraries and header files are located at
18 * non-free/lib and non-free/include directories respectively.
19 * Sdcc should be run with the --use-non-free command line option in
20 * order to include non-free header files and libraries.
22 * See http://sdcc.sourceforge.net/ for the latest information on sdcc.
25 #ifndef __PIC16F610_H__
26 #define __PIC16F610_H__
28 //==============================================================================
32 //==============================================================================
34 #ifndef NO_ADDR_DEFINES
36 #define INDF_ADDR 0x0000
37 #define TMR0_ADDR 0x0001
38 #define PCL_ADDR 0x0002
39 #define STATUS_ADDR 0x0003
40 #define FSR_ADDR 0x0004
41 #define PORTA_ADDR 0x0005
42 #define PORTC_ADDR 0x0007
43 #define PCLATH_ADDR 0x000A
44 #define INTCON_ADDR 0x000B
45 #define PIR1_ADDR 0x000C
46 #define TMR1_ADDR 0x000E
47 #define TMR1L_ADDR 0x000E
48 #define TMR1H_ADDR 0x000F
49 #define T1CON_ADDR 0x0010
50 #define VRCON_ADDR 0x0019
51 #define CM1CON0_ADDR 0x001A
52 #define CM2CON0_ADDR 0x001B
53 #define CM2CON1_ADDR 0x001C
54 #define OPTION_REG_ADDR 0x0081
55 #define TRISA_ADDR 0x0085
56 #define TRISC_ADDR 0x0087
57 #define PIE1_ADDR 0x008C
58 #define PCON_ADDR 0x008E
59 #define OSCTUNE_ADDR 0x0090
60 #define ANSEL_ADDR 0x0091
61 #define WPU_ADDR 0x0095
62 #define WPUA_ADDR 0x0095
63 #define IOC_ADDR 0x0096
64 #define IOCA_ADDR 0x0096
65 #define SRCON0_ADDR 0x0099
66 #define SRCON1_ADDR 0x009A
68 #endif // #ifndef NO_ADDR_DEFINES
70 //==============================================================================
72 // Register Definitions
74 //==============================================================================
76 extern __at(0x0000) __sfr INDF
;
77 extern __at(0x0001) __sfr TMR0
;
78 extern __at(0x0002) __sfr PCL
;
80 //==============================================================================
83 extern __at(0x0003) __sfr STATUS
;
107 extern __at(0x0003) volatile __STATUSbits_t STATUSbits
;
118 //==============================================================================
120 extern __at(0x0004) __sfr FSR
;
122 //==============================================================================
125 extern __at(0x0005) __sfr PORTA
;
148 extern __at(0x0005) volatile __PORTAbits_t PORTAbits
;
157 //==============================================================================
160 //==============================================================================
163 extern __at(0x0007) __sfr PORTC
;
186 extern __at(0x0007) volatile __PORTCbits_t PORTCbits
;
195 //==============================================================================
197 extern __at(0x000A) __sfr PCLATH
;
199 //==============================================================================
202 extern __at(0x000B) __sfr INTCON
;
231 extern __at(0x000B) volatile __INTCONbits_t INTCONbits
;
244 //==============================================================================
247 //==============================================================================
250 extern __at(0x000C) __sfr PIR1
;
279 extern __at(0x000C) volatile __PIR1bits_t PIR1bits
;
286 //==============================================================================
288 extern __at(0x000E) __sfr TMR1
;
289 extern __at(0x000E) __sfr TMR1L
;
290 extern __at(0x000F) __sfr TMR1H
;
292 //==============================================================================
295 extern __at(0x0010) __sfr T1CON
;
303 unsigned NOT_T1SYNC
: 1;
304 unsigned T1OSCEN
: 1;
305 unsigned T1CKPS0
: 1;
306 unsigned T1CKPS1
: 1;
319 extern __at(0x0010) volatile __T1CONbits_t T1CONbits
;
323 #define _NOT_T1SYNC 0x04
324 #define _T1OSCEN 0x08
325 #define _T1CKPS0 0x10
326 #define _T1CKPS1 0x20
330 //==============================================================================
333 //==============================================================================
336 extern __at(0x0019) __sfr VRCON
;
371 extern __at(0x0019) volatile __VRCONbits_t VRCONbits
;
383 //==============================================================================
386 //==============================================================================
389 extern __at(0x001A) __sfr CM1CON0
;
412 extern __at(0x001A) volatile __CM1CON0bits_t CM1CON0bits
;
422 //==============================================================================
425 //==============================================================================
428 extern __at(0x001B) __sfr CM2CON0
;
451 extern __at(0x001B) volatile __CM2CON0bits_t CM2CON0bits
;
461 //==============================================================================
464 //==============================================================================
467 extern __at(0x001C) __sfr CM2CON1
;
481 extern __at(0x001C) volatile __CM2CON1bits_t CM2CON1bits
;
491 //==============================================================================
494 //==============================================================================
497 extern __at(0x0081) __sfr OPTION_REG
;
510 unsigned NOT_RAPU
: 1;
518 } __OPTION_REGbits_t
;
520 extern __at(0x0081) volatile __OPTION_REGbits_t OPTION_REGbits
;
529 #define _NOT_RAPU 0x80
531 //==============================================================================
534 //==============================================================================
537 extern __at(0x0085) __sfr TRISA
;
560 extern __at(0x0085) volatile __TRISAbits_t TRISAbits
;
569 //==============================================================================
572 //==============================================================================
575 extern __at(0x0087) __sfr TRISC
;
598 extern __at(0x0087) volatile __TRISCbits_t TRISCbits
;
607 //==============================================================================
610 //==============================================================================
613 extern __at(0x008C) __sfr PIE1
;
642 extern __at(0x008C) volatile __PIE1bits_t PIE1bits
;
649 //==============================================================================
652 //==============================================================================
655 extern __at(0x008E) __sfr PCON
;
661 unsigned NOT_BOR
: 1;
662 unsigned NOT_POR
: 1;
673 unsigned NOT_BOD
: 1;
684 extern __at(0x008E) volatile __PCONbits_t PCONbits
;
686 #define _NOT_BOR 0x01
687 #define _NOT_BOD 0x01
688 #define _NOT_POR 0x02
690 //==============================================================================
693 //==============================================================================
696 extern __at(0x0090) __sfr OSCTUNE
;
719 extern __at(0x0090) volatile __OSCTUNEbits_t OSCTUNEbits
;
727 //==============================================================================
730 //==============================================================================
733 extern __at(0x0091) __sfr ANSEL
;
747 extern __at(0x0091) volatile __ANSELbits_t ANSELbits
;
756 //==============================================================================
759 //==============================================================================
762 extern __at(0x0095) __sfr WPU
;
791 extern __at(0x0095) volatile __WPUbits_t WPUbits
;
804 //==============================================================================
807 //==============================================================================
810 extern __at(0x0095) __sfr WPUA
;
839 extern __at(0x0095) volatile __WPUAbits_t WPUAbits
;
841 #define _WPUA_WPUA0 0x01
842 #define _WPUA_WPU0 0x01
843 #define _WPUA_WPUA1 0x02
844 #define _WPUA_WPU1 0x02
845 #define _WPUA_WPUA2 0x04
846 #define _WPUA_WPU2 0x04
847 #define _WPUA_WPUA4 0x10
848 #define _WPUA_WPU4 0x10
849 #define _WPUA_WPUA5 0x20
850 #define _WPUA_WPU5 0x20
852 //==============================================================================
855 //==============================================================================
858 extern __at(0x0096) __sfr IOC
;
899 extern __at(0x0096) volatile __IOCbits_t IOCbits
;
914 //==============================================================================
917 //==============================================================================
920 extern __at(0x0096) __sfr IOCA
;
961 extern __at(0x0096) volatile __IOCAbits_t IOCAbits
;
963 #define _IOCA_IOCA0 0x01
964 #define _IOCA_IOC0 0x01
965 #define _IOCA_IOCA1 0x02
966 #define _IOCA_IOC1 0x02
967 #define _IOCA_IOCA2 0x04
968 #define _IOCA_IOC2 0x04
969 #define _IOCA_IOCA3 0x08
970 #define _IOCA_IOC3 0x08
971 #define _IOCA_IOCA4 0x10
972 #define _IOCA_IOC4 0x10
973 #define _IOCA_IOCA5 0x20
974 #define _IOCA_IOC5 0x20
976 //==============================================================================
979 //==============================================================================
982 extern __at(0x0099) __sfr SRCON0
;
988 unsigned SRCLKEN
: 1;
1005 extern __at(0x0099) volatile __SRCON0bits_t SRCON0bits
;
1007 #define _SRCLKEN 0x01
1015 //==============================================================================
1018 //==============================================================================
1021 extern __at(0x009A) __sfr SRCON1
;
1044 extern __at(0x009A) volatile __SRCON1bits_t SRCON1bits
;
1049 //==============================================================================
1052 //==============================================================================
1054 // Configuration Bits
1056 //==============================================================================
1058 #define _CONFIG 0x2007
1060 //----------------------------- CONFIG Options -------------------------------
1062 #define _FOSC_LP 0x3FF8 // LP oscillator: Low-power crystal on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN.
1063 #define _LP_OSC 0x3FF8 // LP oscillator: Low-power crystal on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN.
1064 #define _FOSC_XT 0x3FF9 // XT oscillator: Crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN.
1065 #define _XT_OSC 0x3FF9 // XT oscillator: Crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN.
1066 #define _FOSC_HS 0x3FFA // HS oscillator: High-speed crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN.
1067 #define _HS_OSC 0x3FFA // HS oscillator: High-speed crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN.
1068 #define _FOSC_EC 0x3FFB // EC: I/O function on RA4/OSC2/CLKOUT pin, CLKIN on RA5/OSC1/CLKIN.
1069 #define _EC_OSC 0x3FFB // EC: I/O function on RA4/OSC2/CLKOUT pin, CLKIN on RA5/OSC1/CLKIN.
1070 #define _FOSC_INTOSCIO 0x3FFC // INTOSCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN.
1071 #define _INTRC_OSC_NOCLKOUT 0x3FFC // INTOSCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN.
1072 #define _INTOSCIO 0x3FFC // INTOSCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN.
1073 #define _FOSC_INTOSCCLK 0x3FFD // INTOSC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN.
1074 #define _INTRC_OSC_CLKOUT 0x3FFD // INTOSC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN.
1075 #define _INTOSC 0x3FFD // INTOSC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN.
1076 #define _FOSC_EXTRCIO 0x3FFE // RCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN.
1077 #define _EXTRC_OSC_NOCLKOUT 0x3FFE // RCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN.
1078 #define _EXTRCIO 0x3FFE // RCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN.
1079 #define _FOSC_EXTRCCLK 0x3FFF // RC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN.
1080 #define _EXTRC_OSC_CLKOUT 0x3FFF // RC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN.
1081 #define _EXTRC 0x3FFF // RC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, RC on RA5/OSC1/CLKIN.
1082 #define _WDTE_OFF 0x3FF7 // WDT disabled and can be enabled by SWDTEN bit of the WDTCON register.
1083 #define _WDT_OFF 0x3FF7 // WDT disabled and can be enabled by SWDTEN bit of the WDTCON register.
1084 #define _WDTE_ON 0x3FFF // WDT enabled.
1085 #define _WDT_ON 0x3FFF // WDT enabled.
1086 #define _PWRTE_ON 0x3FEF // PWRT enabled.
1087 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
1088 #define _MCLRE_OFF 0x3FDF // MCLR pin function is digital input, MCLR internally tied to VDD.
1089 #define _MCLRE_ON 0x3FFF // MCLR pin function is MCLR.
1090 #define _CP_ON 0x3FBF // Program memory code protection is enabled.
1091 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
1092 #define _IOSCFS_4MHZ 0x3F7F // 4 MHz.
1093 #define _IOSCFS4 0x3F7F // 4 MHz.
1094 #define _IOSCFS_8MHZ 0x3FFF // 8 MHz.
1095 #define _IOSCFS8 0x3FFF // 8 MHz.
1096 #define _BOREN_OFF 0x3CFF // BOR Disabled.
1097 #define _BOD_OFF 0x3CFF // BOR Disabled.
1098 #define _BOR_OFF 0x3CFF // BOR Disabled.
1099 #define _BOREN_NSLEEP 0x3EFF // BOR enabled during operation and disabled in Sleep.
1100 #define _BOD_NSLEEP 0x3EFF // BOR enabled during operation and disabled in Sleep.
1101 #define _BOR_NSLEEP 0x3EFF // BOR enabled during operation and disabled in Sleep.
1102 #define _BOREN_ON 0x3FFF // BOR enabled.
1103 #define _BOD_ON 0x3FFF // BOR enabled.
1104 #define _BOR_ON 0x3FFF // BOR enabled.
1106 //==============================================================================
1108 #define _DEVID1 0x2006
1110 #define _IDLOC0 0x2000
1111 #define _IDLOC1 0x2001
1112 #define _IDLOC2 0x2002
1113 #define _IDLOC3 0x2003
1115 //==============================================================================
1117 #ifndef NO_BIT_DEFINES
1119 #define ANS0 ANSELbits.ANS0 // bit 0
1120 #define ANS1 ANSELbits.ANS1 // bit 1
1121 #define ANS4 ANSELbits.ANS4 // bit 4
1122 #define ANS5 ANSELbits.ANS5 // bit 5
1123 #define ANS6 ANSELbits.ANS6 // bit 6
1124 #define ANS7 ANSELbits.ANS7 // bit 7
1126 #define C1CH0 CM1CON0bits.C1CH0 // bit 0
1127 #define C1CH1 CM1CON0bits.C1CH1 // bit 1
1128 #define C1R CM1CON0bits.C1R // bit 2
1129 #define C1POL CM1CON0bits.C1POL // bit 4
1130 #define C1OE CM1CON0bits.C1OE // bit 5
1131 #define C1OUT CM1CON0bits.C1OUT // bit 6
1132 #define C1ON CM1CON0bits.C1ON // bit 7
1134 #define C2CH0 CM2CON0bits.C2CH0 // bit 0
1135 #define C2CH1 CM2CON0bits.C2CH1 // bit 1
1136 #define C2R CM2CON0bits.C2R // bit 2
1137 #define C2POL CM2CON0bits.C2POL // bit 4
1138 #define C2OE CM2CON0bits.C2OE // bit 5
1139 #define C2OUT CM2CON0bits.C2OUT // bit 6
1140 #define C2ON CM2CON0bits.C2ON // bit 7
1142 #define C2SYNC CM2CON1bits.C2SYNC // bit 0
1143 #define T1GSS CM2CON1bits.T1GSS // bit 1
1144 #define C2HYS CM2CON1bits.C2HYS // bit 2
1145 #define C1HYS CM2CON1bits.C1HYS // bit 3
1146 #define T1ACS CM2CON1bits.T1ACS // bit 4
1147 #define MC2OUT CM2CON1bits.MC2OUT // bit 6
1148 #define MC1OUT CM2CON1bits.MC1OUT // bit 7
1150 #define RAIF INTCONbits.RAIF // bit 0
1151 #define INTF INTCONbits.INTF // bit 1
1152 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
1153 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
1154 #define RAIE INTCONbits.RAIE // bit 3
1155 #define INTE INTCONbits.INTE // bit 4
1156 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
1157 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
1158 #define PEIE INTCONbits.PEIE // bit 6
1159 #define GIE INTCONbits.GIE // bit 7
1161 #define IOCA0 IOCbits.IOCA0 // bit 0, shadows bit in IOCbits
1162 #define IOC0 IOCbits.IOC0 // bit 0, shadows bit in IOCbits
1163 #define IOCA1 IOCbits.IOCA1 // bit 1, shadows bit in IOCbits
1164 #define IOC1 IOCbits.IOC1 // bit 1, shadows bit in IOCbits
1165 #define IOCA2 IOCbits.IOCA2 // bit 2, shadows bit in IOCbits
1166 #define IOC2 IOCbits.IOC2 // bit 2, shadows bit in IOCbits
1167 #define IOCA3 IOCbits.IOCA3 // bit 3, shadows bit in IOCbits
1168 #define IOC3 IOCbits.IOC3 // bit 3, shadows bit in IOCbits
1169 #define IOCA4 IOCbits.IOCA4 // bit 4, shadows bit in IOCbits
1170 #define IOC4 IOCbits.IOC4 // bit 4, shadows bit in IOCbits
1171 #define IOCA5 IOCbits.IOCA5 // bit 5, shadows bit in IOCbits
1172 #define IOC5 IOCbits.IOC5 // bit 5, shadows bit in IOCbits
1174 #define PS0 OPTION_REGbits.PS0 // bit 0
1175 #define PS1 OPTION_REGbits.PS1 // bit 1
1176 #define PS2 OPTION_REGbits.PS2 // bit 2
1177 #define PSA OPTION_REGbits.PSA // bit 3
1178 #define T0SE OPTION_REGbits.T0SE // bit 4
1179 #define T0CS OPTION_REGbits.T0CS // bit 5
1180 #define INTEDG OPTION_REGbits.INTEDG // bit 6
1181 #define NOT_RAPU OPTION_REGbits.NOT_RAPU // bit 7
1183 #define TUN0 OSCTUNEbits.TUN0 // bit 0
1184 #define TUN1 OSCTUNEbits.TUN1 // bit 1
1185 #define TUN2 OSCTUNEbits.TUN2 // bit 2
1186 #define TUN3 OSCTUNEbits.TUN3 // bit 3
1187 #define TUN4 OSCTUNEbits.TUN4 // bit 4
1189 #define NOT_BOR PCONbits.NOT_BOR // bit 0, shadows bit in PCONbits
1190 #define NOT_BOD PCONbits.NOT_BOD // bit 0, shadows bit in PCONbits
1191 #define NOT_POR PCONbits.NOT_POR // bit 1
1193 #define TMR1IE PIE1bits.TMR1IE // bit 0, shadows bit in PIE1bits
1194 #define T1IE PIE1bits.T1IE // bit 0, shadows bit in PIE1bits
1195 #define C1IE PIE1bits.C1IE // bit 3
1196 #define C2IE PIE1bits.C2IE // bit 4
1198 #define TMR1IF PIR1bits.TMR1IF // bit 0, shadows bit in PIR1bits
1199 #define T1IF PIR1bits.T1IF // bit 0, shadows bit in PIR1bits
1200 #define C1IF PIR1bits.C1IF // bit 3
1201 #define C2IF PIR1bits.C2IF // bit 4
1203 #define RA0 PORTAbits.RA0 // bit 0
1204 #define RA1 PORTAbits.RA1 // bit 1
1205 #define RA2 PORTAbits.RA2 // bit 2
1206 #define RA3 PORTAbits.RA3 // bit 3
1207 #define RA4 PORTAbits.RA4 // bit 4
1208 #define RA5 PORTAbits.RA5 // bit 5
1210 #define RC0 PORTCbits.RC0 // bit 0
1211 #define RC1 PORTCbits.RC1 // bit 1
1212 #define RC2 PORTCbits.RC2 // bit 2
1213 #define RC3 PORTCbits.RC3 // bit 3
1214 #define RC4 PORTCbits.RC4 // bit 4
1215 #define RC5 PORTCbits.RC5 // bit 5
1217 #define SRCLKEN SRCON0bits.SRCLKEN // bit 0
1218 #define PULSR SRCON0bits.PULSR // bit 2
1219 #define PULSS SRCON0bits.PULSS // bit 3
1220 #define C2REN SRCON0bits.C2REN // bit 4
1221 #define C1SEN SRCON0bits.C1SEN // bit 5
1222 #define SR0 SRCON0bits.SR0 // bit 6
1223 #define SR1 SRCON0bits.SR1 // bit 7
1225 #define SRCS0 SRCON1bits.SRCS0 // bit 6
1226 #define SRCS1 SRCON1bits.SRCS1 // bit 7
1228 #define C STATUSbits.C // bit 0
1229 #define DC STATUSbits.DC // bit 1
1230 #define Z STATUSbits.Z // bit 2
1231 #define NOT_PD STATUSbits.NOT_PD // bit 3
1232 #define NOT_TO STATUSbits.NOT_TO // bit 4
1233 #define RP0 STATUSbits.RP0 // bit 5
1234 #define RP1 STATUSbits.RP1 // bit 6
1235 #define IRP STATUSbits.IRP // bit 7
1237 #define TMR1ON T1CONbits.TMR1ON // bit 0
1238 #define TMR1CS T1CONbits.TMR1CS // bit 1
1239 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
1240 #define T1OSCEN T1CONbits.T1OSCEN // bit 3
1241 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
1242 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
1243 #define TMR1GE T1CONbits.TMR1GE // bit 6
1244 #define T1GINV T1CONbits.T1GINV // bit 7
1246 #define TRISA0 TRISAbits.TRISA0 // bit 0
1247 #define TRISA1 TRISAbits.TRISA1 // bit 1
1248 #define TRISA2 TRISAbits.TRISA2 // bit 2
1249 #define TRISA3 TRISAbits.TRISA3 // bit 3
1250 #define TRISA4 TRISAbits.TRISA4 // bit 4
1251 #define TRISA5 TRISAbits.TRISA5 // bit 5
1253 #define TRISC0 TRISCbits.TRISC0 // bit 0
1254 #define TRISC1 TRISCbits.TRISC1 // bit 1
1255 #define TRISC2 TRISCbits.TRISC2 // bit 2
1256 #define TRISC3 TRISCbits.TRISC3 // bit 3
1257 #define TRISC4 TRISCbits.TRISC4 // bit 4
1258 #define TRISC5 TRISCbits.TRISC5 // bit 5
1260 #define VR0 VRCONbits.VR0 // bit 0
1261 #define VR1 VRCONbits.VR1 // bit 1
1262 #define VR2 VRCONbits.VR2 // bit 2
1263 #define VR3 VRCONbits.VR3 // bit 3
1264 #define VP6EN VRCONbits.VP6EN // bit 4, shadows bit in VRCONbits
1265 #define FVREN VRCONbits.FVREN // bit 4, shadows bit in VRCONbits
1266 #define VRR VRCONbits.VRR // bit 5
1267 #define C2VREN VRCONbits.C2VREN // bit 6
1268 #define C1VREN VRCONbits.C1VREN // bit 7
1270 #define WPUA0 WPUbits.WPUA0 // bit 0, shadows bit in WPUbits
1271 #define WPU0 WPUbits.WPU0 // bit 0, shadows bit in WPUbits
1272 #define WPUA1 WPUbits.WPUA1 // bit 1, shadows bit in WPUbits
1273 #define WPU1 WPUbits.WPU1 // bit 1, shadows bit in WPUbits
1274 #define WPUA2 WPUbits.WPUA2 // bit 2, shadows bit in WPUbits
1275 #define WPU2 WPUbits.WPU2 // bit 2, shadows bit in WPUbits
1276 #define WPUA4 WPUbits.WPUA4 // bit 4, shadows bit in WPUbits
1277 #define WPU4 WPUbits.WPU4 // bit 4, shadows bit in WPUbits
1278 #define WPUA5 WPUbits.WPUA5 // bit 5, shadows bit in WPUbits
1279 #define WPU5 WPUbits.WPU5 // bit 5, shadows bit in WPUbits
1281 #endif // #ifndef NO_BIT_DEFINES
1283 #endif // #ifndef __PIC16F610_H__