2 * This declarations of the PIC12F609 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:23:03 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 __PIC12F609_H__
26 #define __PIC12F609_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 GPIO_ADDR 0x0005
42 #define PORTA_ADDR 0x0005
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 CMCON0_ADDR 0x001A
52 #define CMCON1_ADDR 0x001C
53 #define OPTION_REG_ADDR 0x0081
54 #define TRISA_ADDR 0x0085
55 #define TRISIO_ADDR 0x0085
56 #define PIE1_ADDR 0x008C
57 #define PCON_ADDR 0x008E
58 #define OSCTUNE_ADDR 0x0090
59 #define WPU_ADDR 0x0095
60 #define WPUA_ADDR 0x0095
61 #define IOC_ADDR 0x0096
62 #define IOCA_ADDR 0x0096
63 #define ANSEL_ADDR 0x009F
65 #endif // #ifndef NO_ADDR_DEFINES
67 //==============================================================================
69 // Register Definitions
71 //==============================================================================
73 extern __at(0x0000) __sfr INDF
;
74 extern __at(0x0001) __sfr TMR0
;
75 extern __at(0x0002) __sfr PCL
;
77 //==============================================================================
80 extern __at(0x0003) __sfr STATUS
;
104 extern __at(0x0003) volatile __STATUSbits_t STATUSbits
;
115 //==============================================================================
117 extern __at(0x0004) __sfr FSR
;
119 //==============================================================================
122 extern __at(0x0005) __sfr GPIO
;
181 extern __at(0x0005) volatile __GPIObits_t GPIObits
;
202 //==============================================================================
205 //==============================================================================
208 extern __at(0x0005) __sfr PORTA
;
267 extern __at(0x0005) volatile __PORTAbits_t PORTAbits
;
269 #define _PORTA_GP0 0x01
270 #define _PORTA_GPIO0 0x01
271 #define _PORTA_RA0 0x01
272 #define _PORTA_GP1 0x02
273 #define _PORTA_GPIO1 0x02
274 #define _PORTA_RA1 0x02
275 #define _PORTA_GP2 0x04
276 #define _PORTA_GPIO2 0x04
277 #define _PORTA_RA2 0x04
278 #define _PORTA_GP3 0x08
279 #define _PORTA_GPIO3 0x08
280 #define _PORTA_RA3 0x08
281 #define _PORTA_GP4 0x10
282 #define _PORTA_GPIO4 0x10
283 #define _PORTA_RA4 0x10
284 #define _PORTA_GP5 0x20
285 #define _PORTA_GPIO5 0x20
286 #define _PORTA_RA5 0x20
288 //==============================================================================
290 extern __at(0x000A) __sfr PCLATH
;
292 //==============================================================================
295 extern __at(0x000B) __sfr INTCON
;
324 extern __at(0x000B) volatile __INTCONbits_t INTCONbits
;
337 //==============================================================================
340 //==============================================================================
343 extern __at(0x000C) __sfr PIR1
;
372 extern __at(0x000C) volatile __PIR1bits_t PIR1bits
;
379 //==============================================================================
381 extern __at(0x000E) __sfr TMR1
;
382 extern __at(0x000E) __sfr TMR1L
;
383 extern __at(0x000F) __sfr TMR1H
;
385 //==============================================================================
388 extern __at(0x0010) __sfr T1CON
;
396 unsigned NOT_T1SYNC
: 1;
397 unsigned T1OSCEN
: 1;
398 unsigned T1CKPS0
: 1;
399 unsigned T1CKPS1
: 1;
412 extern __at(0x0010) volatile __T1CONbits_t T1CONbits
;
416 #define _NOT_T1SYNC 0x04
417 #define _T1OSCEN 0x08
418 #define _T1CKPS0 0x10
419 #define _T1CKPS1 0x20
423 //==============================================================================
426 //==============================================================================
429 extern __at(0x0019) __sfr VRCON
;
476 extern __at(0x0019) volatile __VRCONbits_t VRCONbits
;
489 //==============================================================================
492 //==============================================================================
495 extern __at(0x001A) __sfr CMCON0
;
536 extern __at(0x001A) volatile __CMCON0bits_t CMCON0bits
;
552 //==============================================================================
555 //==============================================================================
558 extern __at(0x001C) __sfr CMCON1
;
587 extern __at(0x001C) volatile __CMCON1bits_t CMCON1bits
;
596 //==============================================================================
599 //==============================================================================
602 extern __at(0x0081) __sfr OPTION_REG
;
615 unsigned NOT_GPPU
: 1;
623 } __OPTION_REGbits_t
;
625 extern __at(0x0081) volatile __OPTION_REGbits_t OPTION_REGbits
;
634 #define _NOT_GPPU 0x80
636 //==============================================================================
639 //==============================================================================
642 extern __at(0x0085) __sfr TRISA
;
648 unsigned TRISIO0
: 1;
649 unsigned TRISIO1
: 1;
650 unsigned TRISIO2
: 1;
651 unsigned TRISIO3
: 1;
652 unsigned TRISIO4
: 1;
653 unsigned TRISIO5
: 1;
683 extern __at(0x0085) volatile __TRISAbits_t TRISAbits
;
685 #define _TRISIO0 0x01
687 #define _TRISIO1 0x02
689 #define _TRISIO2 0x04
691 #define _TRISIO3 0x08
693 #define _TRISIO4 0x10
695 #define _TRISIO5 0x20
698 //==============================================================================
701 //==============================================================================
704 extern __at(0x0085) __sfr TRISIO
;
710 unsigned TRISIO0
: 1;
711 unsigned TRISIO1
: 1;
712 unsigned TRISIO2
: 1;
713 unsigned TRISIO3
: 1;
714 unsigned TRISIO4
: 1;
715 unsigned TRISIO5
: 1;
745 extern __at(0x0085) volatile __TRISIObits_t TRISIObits
;
747 #define _TRISIO_TRISIO0 0x01
748 #define _TRISIO_TRISA0 0x01
749 #define _TRISIO_TRISIO1 0x02
750 #define _TRISIO_TRISA1 0x02
751 #define _TRISIO_TRISIO2 0x04
752 #define _TRISIO_TRISA2 0x04
753 #define _TRISIO_TRISIO3 0x08
754 #define _TRISIO_TRISA3 0x08
755 #define _TRISIO_TRISIO4 0x10
756 #define _TRISIO_TRISA4 0x10
757 #define _TRISIO_TRISIO5 0x20
758 #define _TRISIO_TRISA5 0x20
760 //==============================================================================
763 //==============================================================================
766 extern __at(0x008C) __sfr PIE1
;
795 extern __at(0x008C) volatile __PIE1bits_t PIE1bits
;
802 //==============================================================================
805 //==============================================================================
808 extern __at(0x008E) __sfr PCON
;
814 unsigned NOT_BOR
: 1;
815 unsigned NOT_POR
: 1;
826 unsigned NOT_BOD
: 1;
837 extern __at(0x008E) volatile __PCONbits_t PCONbits
;
839 #define _NOT_BOR 0x01
840 #define _NOT_BOD 0x01
841 #define _NOT_POR 0x02
843 //==============================================================================
846 //==============================================================================
849 extern __at(0x0090) __sfr OSCTUNE
;
872 extern __at(0x0090) volatile __OSCTUNEbits_t OSCTUNEbits
;
880 //==============================================================================
883 //==============================================================================
886 extern __at(0x0095) __sfr WPU
;
915 extern __at(0x0095) volatile __WPUbits_t WPUbits
;
928 //==============================================================================
931 //==============================================================================
934 extern __at(0x0095) __sfr WPUA
;
963 extern __at(0x0095) volatile __WPUAbits_t WPUAbits
;
965 #define _WPUA_WPUA0 0x01
966 #define _WPUA_WPU0 0x01
967 #define _WPUA_WPUA1 0x02
968 #define _WPUA_WPU1 0x02
969 #define _WPUA_WPUA2 0x04
970 #define _WPUA_WPU2 0x04
971 #define _WPUA_WPUA4 0x10
972 #define _WPUA_WPU4 0x10
973 #define _WPUA_WPUA5 0x20
974 #define _WPUA_WPU5 0x20
976 //==============================================================================
979 //==============================================================================
982 extern __at(0x0096) __sfr IOC
;
1023 extern __at(0x0096) volatile __IOCbits_t IOCbits
;
1038 //==============================================================================
1041 //==============================================================================
1044 extern __at(0x0096) __sfr IOCA
;
1085 extern __at(0x0096) volatile __IOCAbits_t IOCAbits
;
1087 #define _IOCA_IOC0 0x01
1088 #define _IOCA_IOCA0 0x01
1089 #define _IOCA_IOC1 0x02
1090 #define _IOCA_IOCA1 0x02
1091 #define _IOCA_IOC2 0x04
1092 #define _IOCA_IOCA2 0x04
1093 #define _IOCA_IOC3 0x08
1094 #define _IOCA_IOCA3 0x08
1095 #define _IOCA_IOC4 0x10
1096 #define _IOCA_IOCA4 0x10
1097 #define _IOCA_IOC5 0x20
1098 #define _IOCA_IOCA5 0x20
1100 //==============================================================================
1103 //==============================================================================
1106 extern __at(0x009F) __sfr ANSEL
;
1120 extern __at(0x009F) volatile __ANSELbits_t ANSELbits
;
1126 //==============================================================================
1129 //==============================================================================
1131 // Configuration Bits
1133 //==============================================================================
1135 #define _CONFIG 0x2007
1137 //----------------------------- CONFIG Options -------------------------------
1139 #define _FOSC_LP 0x3FF8 // LP oscillator: Low-power crystal on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN.
1140 #define _LP_OSC 0x3FF8 // LP oscillator: Low-power crystal on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN.
1141 #define _FOSC_XT 0x3FF9 // XT oscillator: Crystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN.
1142 #define _XT_OSC 0x3FF9 // XT oscillator: Crystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN.
1143 #define _FOSC_HS 0x3FFA // HS oscillator: High-speed crystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN.
1144 #define _HS_OSC 0x3FFA // HS oscillator: High-speed crystal/resonator on GP4/OSC2/CLKOUT and GP5/OSC1/CLKIN.
1145 #define _FOSC_EC 0x3FFB // EC: I/O function on GP4/OSC2/CLKOUT pin, CLKIN on GP5/OSC1/CLKIN.
1146 #define _EC_OSC 0x3FFB // EC: I/O function on GP4/OSC2/CLKOUT pin, CLKIN on GP5/OSC1/CLKIN.
1147 #define _FOSC_INTOSCIO 0x3FFC // INTOSCIO oscillator: I/O function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN.
1148 #define _INTRC_OSC_NOCLKOUT 0x3FFC // INTOSCIO oscillator: I/O function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN.
1149 #define _INTOSCIO 0x3FFC // INTOSCIO oscillator: I/O function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN.
1150 #define _FOSC_INTOSCCLK 0x3FFD // INTOSC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN.
1151 #define _INTRC_OSC_CLKOUT 0x3FFD // INTOSC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN.
1152 #define _INTOSC 0x3FFD // INTOSC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN.
1153 #define _FOSC_EXTRCIO 0x3FFE // RCIO oscillator: I/O function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN.
1154 #define _EXTRC_OSC_NOCLKOUT 0x3FFE // RCIO oscillator: I/O function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN.
1155 #define _EXTRCIO 0x3FFE // RCIO oscillator: I/O function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN.
1156 #define _FOSC_EXTRCCLK 0x3FFF // RC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN.
1157 #define _EXTRC_OSC_CLKOUT 0x3FFF // RC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN.
1158 #define _EXTRC 0x3FFF // RC oscillator: CLKOUT function on GP4/OSC2/CLKOUT pin, RC on GP5/OSC1/CLKIN.
1159 #define _WDTE_OFF 0x3FF7 // WDT disabled and can be enabled by SWDTEN bit of the WDTCON register.
1160 #define _WDT_OFF 0x3FF7 // WDT disabled and can be enabled by SWDTEN bit of the WDTCON register.
1161 #define _WDTE_ON 0x3FFF // WDT enabled.
1162 #define _WDT_ON 0x3FFF // WDT enabled.
1163 #define _PWRTE_ON 0x3FEF // PWRT enabled.
1164 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
1165 #define _MCLRE_OFF 0x3FDF // MCLR pin function is digital input, MCLR internally tied to VDD.
1166 #define _MCLRE_ON 0x3FFF // MCLR pin function is MCLR.
1167 #define _CP_ON 0x3FBF // Program memory code protection is enabled.
1168 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
1169 #define _IOSCFS_4MHZ 0x3F7F // 4 MHz.
1170 #define _IOSCFS4 0x3F7F // 4 MHz.
1171 #define _IOSCFS_8MHZ 0x3FFF // 8 MHz.
1172 #define _IOSCFS8 0x3FFF // 8 MHz.
1173 #define _BOREN_OFF 0x3CFF // BOR disabled.
1174 #define _BOR_OFF 0x3CFF // BOR disabled.
1175 #define _BOD_OFF 0x3CFF // BOR disabled.
1176 #define _BOREN_NSLEEP 0x3EFF // BOR enabled during operation and disabled in Sleep.
1177 #define _BOR_NSLEEP 0x3EFF // BOR enabled during operation and disabled in Sleep.
1178 #define _BOD_NSLEEP 0x3EFF // BOR enabled during operation and disabled in Sleep.
1179 #define _BOREN_ON 0x3FFF // BOR enabled.
1180 #define _BOR_ON 0x3FFF // BOR enabled.
1181 #define _BOD_ON 0x3FFF // BOR enabled.
1183 //==============================================================================
1185 #define _DEVID1 0x2006
1187 #define _IDLOC0 0x2000
1188 #define _IDLOC1 0x2001
1189 #define _IDLOC2 0x2002
1190 #define _IDLOC3 0x2003
1192 //==============================================================================
1194 #ifndef NO_BIT_DEFINES
1196 #define ANS0 ANSELbits.ANS0 // bit 0
1197 #define ANS1 ANSELbits.ANS1 // bit 1
1198 #define ANS3 ANSELbits.ANS3 // bit 3
1200 #define C1CH CMCON0bits.C1CH // bit 0, shadows bit in CMCON0bits
1201 #define C1CH0 CMCON0bits.C1CH0 // bit 0, shadows bit in CMCON0bits
1202 #define CMCH CMCON0bits.CMCH // bit 0, shadows bit in CMCON0bits
1203 #define C1R CMCON0bits.C1R // bit 2, shadows bit in CMCON0bits
1204 #define CMR CMCON0bits.CMR // bit 2, shadows bit in CMCON0bits
1205 #define C1POL CMCON0bits.C1POL // bit 4, shadows bit in CMCON0bits
1206 #define CMPOL CMCON0bits.CMPOL // bit 4, shadows bit in CMCON0bits
1207 #define C1OE CMCON0bits.C1OE // bit 5, shadows bit in CMCON0bits
1208 #define CMOE CMCON0bits.CMOE // bit 5, shadows bit in CMCON0bits
1209 #define C1OUT CMCON0bits.C1OUT // bit 6, shadows bit in CMCON0bits
1210 #define COUT CMCON0bits.COUT // bit 6, shadows bit in CMCON0bits
1211 #define C1ON CMCON0bits.C1ON // bit 7, shadows bit in CMCON0bits
1212 #define CMON CMCON0bits.CMON // bit 7, shadows bit in CMCON0bits
1214 #define C1SYNC CMCON1bits.C1SYNC // bit 0, shadows bit in CMCON1bits
1215 #define CMSYNC CMCON1bits.CMSYNC // bit 0, shadows bit in CMCON1bits
1216 #define T1GSS CMCON1bits.T1GSS // bit 1
1217 #define C1HYS CMCON1bits.C1HYS // bit 3, shadows bit in CMCON1bits
1218 #define CMHYS CMCON1bits.CMHYS // bit 3, shadows bit in CMCON1bits
1219 #define T1ACS CMCON1bits.T1ACS // bit 4
1221 #define GP0 GPIObits.GP0 // bit 0, shadows bit in GPIObits
1222 #define GPIO0 GPIObits.GPIO0 // bit 0, shadows bit in GPIObits
1223 #define RA0 GPIObits.RA0 // bit 0, shadows bit in GPIObits
1224 #define GP1 GPIObits.GP1 // bit 1, shadows bit in GPIObits
1225 #define GPIO1 GPIObits.GPIO1 // bit 1, shadows bit in GPIObits
1226 #define RA1 GPIObits.RA1 // bit 1, shadows bit in GPIObits
1227 #define GP2 GPIObits.GP2 // bit 2, shadows bit in GPIObits
1228 #define GPIO2 GPIObits.GPIO2 // bit 2, shadows bit in GPIObits
1229 #define RA2 GPIObits.RA2 // bit 2, shadows bit in GPIObits
1230 #define GP3 GPIObits.GP3 // bit 3, shadows bit in GPIObits
1231 #define GPIO3 GPIObits.GPIO3 // bit 3, shadows bit in GPIObits
1232 #define RA3 GPIObits.RA3 // bit 3, shadows bit in GPIObits
1233 #define GP4 GPIObits.GP4 // bit 4, shadows bit in GPIObits
1234 #define GPIO4 GPIObits.GPIO4 // bit 4, shadows bit in GPIObits
1235 #define RA4 GPIObits.RA4 // bit 4, shadows bit in GPIObits
1236 #define GP5 GPIObits.GP5 // bit 5, shadows bit in GPIObits
1237 #define GPIO5 GPIObits.GPIO5 // bit 5, shadows bit in GPIObits
1238 #define RA5 GPIObits.RA5 // bit 5, shadows bit in GPIObits
1240 #define GPIF INTCONbits.GPIF // bit 0
1241 #define INTF INTCONbits.INTF // bit 1
1242 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
1243 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
1244 #define GPIE INTCONbits.GPIE // bit 3
1245 #define INTE INTCONbits.INTE // bit 4
1246 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
1247 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
1248 #define PEIE INTCONbits.PEIE // bit 6
1249 #define GIE INTCONbits.GIE // bit 7
1251 #define IOC0 IOCbits.IOC0 // bit 0, shadows bit in IOCbits
1252 #define IOCA0 IOCbits.IOCA0 // bit 0, shadows bit in IOCbits
1253 #define IOC1 IOCbits.IOC1 // bit 1, shadows bit in IOCbits
1254 #define IOCA1 IOCbits.IOCA1 // bit 1, shadows bit in IOCbits
1255 #define IOC2 IOCbits.IOC2 // bit 2, shadows bit in IOCbits
1256 #define IOCA2 IOCbits.IOCA2 // bit 2, shadows bit in IOCbits
1257 #define IOC3 IOCbits.IOC3 // bit 3, shadows bit in IOCbits
1258 #define IOCA3 IOCbits.IOCA3 // bit 3, shadows bit in IOCbits
1259 #define IOC4 IOCbits.IOC4 // bit 4, shadows bit in IOCbits
1260 #define IOCA4 IOCbits.IOCA4 // bit 4, shadows bit in IOCbits
1261 #define IOC5 IOCbits.IOC5 // bit 5, shadows bit in IOCbits
1262 #define IOCA5 IOCbits.IOCA5 // bit 5, shadows bit in IOCbits
1264 #define PS0 OPTION_REGbits.PS0 // bit 0
1265 #define PS1 OPTION_REGbits.PS1 // bit 1
1266 #define PS2 OPTION_REGbits.PS2 // bit 2
1267 #define PSA OPTION_REGbits.PSA // bit 3
1268 #define T0SE OPTION_REGbits.T0SE // bit 4
1269 #define T0CS OPTION_REGbits.T0CS // bit 5
1270 #define INTEDG OPTION_REGbits.INTEDG // bit 6
1271 #define NOT_GPPU OPTION_REGbits.NOT_GPPU // bit 7
1273 #define TUN0 OSCTUNEbits.TUN0 // bit 0
1274 #define TUN1 OSCTUNEbits.TUN1 // bit 1
1275 #define TUN2 OSCTUNEbits.TUN2 // bit 2
1276 #define TUN3 OSCTUNEbits.TUN3 // bit 3
1277 #define TUN4 OSCTUNEbits.TUN4 // bit 4
1279 #define NOT_BOR PCONbits.NOT_BOR // bit 0, shadows bit in PCONbits
1280 #define NOT_BOD PCONbits.NOT_BOD // bit 0, shadows bit in PCONbits
1281 #define NOT_POR PCONbits.NOT_POR // bit 1
1283 #define TMR1IE PIE1bits.TMR1IE // bit 0, shadows bit in PIE1bits
1284 #define T1IE PIE1bits.T1IE // bit 0, shadows bit in PIE1bits
1285 #define C1IE PIE1bits.C1IE // bit 3, shadows bit in PIE1bits
1286 #define CMIE PIE1bits.CMIE // bit 3, shadows bit in PIE1bits
1288 #define TMR1IF PIR1bits.TMR1IF // bit 0, shadows bit in PIR1bits
1289 #define T1IF PIR1bits.T1IF // bit 0, shadows bit in PIR1bits
1290 #define C1IF PIR1bits.C1IF // bit 3, shadows bit in PIR1bits
1291 #define CMIF PIR1bits.CMIF // bit 3, shadows bit in PIR1bits
1293 #define C STATUSbits.C // bit 0
1294 #define DC STATUSbits.DC // bit 1
1295 #define Z STATUSbits.Z // bit 2
1296 #define NOT_PD STATUSbits.NOT_PD // bit 3
1297 #define NOT_TO STATUSbits.NOT_TO // bit 4
1298 #define RP0 STATUSbits.RP0 // bit 5
1299 #define RP1 STATUSbits.RP1 // bit 6
1300 #define IRP STATUSbits.IRP // bit 7
1302 #define TMR1ON T1CONbits.TMR1ON // bit 0
1303 #define TMR1CS T1CONbits.TMR1CS // bit 1
1304 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
1305 #define T1OSCEN T1CONbits.T1OSCEN // bit 3
1306 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
1307 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
1308 #define TMR1GE T1CONbits.TMR1GE // bit 6
1309 #define T1GINV T1CONbits.T1GINV // bit 7
1311 #define TRISIO0 TRISAbits.TRISIO0 // bit 0, shadows bit in TRISAbits
1312 #define TRISA0 TRISAbits.TRISA0 // bit 0, shadows bit in TRISAbits
1313 #define TRISIO1 TRISAbits.TRISIO1 // bit 1, shadows bit in TRISAbits
1314 #define TRISA1 TRISAbits.TRISA1 // bit 1, shadows bit in TRISAbits
1315 #define TRISIO2 TRISAbits.TRISIO2 // bit 2, shadows bit in TRISAbits
1316 #define TRISA2 TRISAbits.TRISA2 // bit 2, shadows bit in TRISAbits
1317 #define TRISIO3 TRISAbits.TRISIO3 // bit 3, shadows bit in TRISAbits
1318 #define TRISA3 TRISAbits.TRISA3 // bit 3, shadows bit in TRISAbits
1319 #define TRISIO4 TRISAbits.TRISIO4 // bit 4, shadows bit in TRISAbits
1320 #define TRISA4 TRISAbits.TRISA4 // bit 4, shadows bit in TRISAbits
1321 #define TRISIO5 TRISAbits.TRISIO5 // bit 5, shadows bit in TRISAbits
1322 #define TRISA5 TRISAbits.TRISA5 // bit 5, shadows bit in TRISAbits
1324 #define VR0 VRCONbits.VR0 // bit 0
1325 #define VR1 VRCONbits.VR1 // bit 1
1326 #define VR2 VRCONbits.VR2 // bit 2
1327 #define VR3 VRCONbits.VR3 // bit 3
1328 #define FBREN VRCONbits.FBREN // bit 4, shadows bit in VRCONbits
1329 #define FVREN VRCONbits.FVREN // bit 4, shadows bit in VRCONbits
1330 #define VP6EN VRCONbits.VP6EN // bit 4, shadows bit in VRCONbits
1331 #define VRR VRCONbits.VRR // bit 5
1332 #define C1VREN VRCONbits.C1VREN // bit 7, shadows bit in VRCONbits
1333 #define CMVREN VRCONbits.CMVREN // bit 7, shadows bit in VRCONbits
1335 #define WPUA0 WPUbits.WPUA0 // bit 0, shadows bit in WPUbits
1336 #define WPU0 WPUbits.WPU0 // bit 0, shadows bit in WPUbits
1337 #define WPUA1 WPUbits.WPUA1 // bit 1, shadows bit in WPUbits
1338 #define WPU1 WPUbits.WPU1 // bit 1, shadows bit in WPUbits
1339 #define WPUA2 WPUbits.WPUA2 // bit 2, shadows bit in WPUbits
1340 #define WPU2 WPUbits.WPU2 // bit 2, shadows bit in WPUbits
1341 #define WPUA4 WPUbits.WPUA4 // bit 4, shadows bit in WPUbits
1342 #define WPU4 WPUbits.WPU4 // bit 4, shadows bit in WPUbits
1343 #define WPUA5 WPUbits.WPUA5 // bit 5, shadows bit in WPUbits
1344 #define WPU5 WPUbits.WPU5 // bit 5, shadows bit in WPUbits
1346 #endif // #ifndef NO_BIT_DEFINES
1348 #endif // #ifndef __PIC12F609_H__