2 * This declarations of the PIC16F1618 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:10 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 __PIC16F1618_H__
26 #define __PIC16F1618_H__
28 //==============================================================================
32 //==============================================================================
34 #ifndef NO_ADDR_DEFINES
36 #define INDF0_ADDR 0x0000
37 #define INDF1_ADDR 0x0001
38 #define PCL_ADDR 0x0002
39 #define STATUS_ADDR 0x0003
40 #define FSR0_ADDR 0x0004
41 #define FSR0L_ADDR 0x0004
42 #define FSR0H_ADDR 0x0005
43 #define FSR1_ADDR 0x0006
44 #define FSR1L_ADDR 0x0006
45 #define FSR1H_ADDR 0x0007
46 #define BSR_ADDR 0x0008
47 #define WREG_ADDR 0x0009
48 #define PCLATH_ADDR 0x000A
49 #define INTCON_ADDR 0x000B
50 #define PORTA_ADDR 0x000C
51 #define PORTB_ADDR 0x000D
52 #define PORTC_ADDR 0x000E
53 #define PIR1_ADDR 0x0010
54 #define PIR2_ADDR 0x0011
55 #define PIR3_ADDR 0x0012
56 #define PIR4_ADDR 0x0013
57 #define PIR5_ADDR 0x0014
58 #define TMR0_ADDR 0x0015
59 #define TMR1_ADDR 0x0016
60 #define TMR1L_ADDR 0x0016
61 #define TMR1H_ADDR 0x0017
62 #define T1CON_ADDR 0x0018
63 #define T1GCON_ADDR 0x0019
64 #define T2TMR_ADDR 0x001A
65 #define TMR2_ADDR 0x001A
66 #define PR2_ADDR 0x001B
67 #define T2PR_ADDR 0x001B
68 #define T2CON_ADDR 0x001C
69 #define T2HLT_ADDR 0x001D
70 #define T2CLKCON_ADDR 0x001E
71 #define T2RST_ADDR 0x001F
72 #define TRISA_ADDR 0x008C
73 #define TRISB_ADDR 0x008D
74 #define TRISC_ADDR 0x008E
75 #define PIE1_ADDR 0x0090
76 #define PIE2_ADDR 0x0091
77 #define PIE3_ADDR 0x0092
78 #define PIE4_ADDR 0x0093
79 #define PIE5_ADDR 0x0094
80 #define OPTION_REG_ADDR 0x0095
81 #define PCON_ADDR 0x0096
82 #define OSCTUNE_ADDR 0x0098
83 #define OSCCON_ADDR 0x0099
84 #define OSCSTAT_ADDR 0x009A
85 #define ADRES_ADDR 0x009B
86 #define ADRESL_ADDR 0x009B
87 #define ADRESH_ADDR 0x009C
88 #define ADCON0_ADDR 0x009D
89 #define ADCON1_ADDR 0x009E
90 #define ADCON2_ADDR 0x009F
91 #define LATA_ADDR 0x010C
92 #define LATB_ADDR 0x010D
93 #define LATC_ADDR 0x010E
94 #define CM1CON0_ADDR 0x0111
95 #define CM1CON1_ADDR 0x0112
96 #define CM2CON0_ADDR 0x0113
97 #define CM2CON1_ADDR 0x0114
98 #define CMOUT_ADDR 0x0115
99 #define BORCON_ADDR 0x0116
100 #define FVRCON_ADDR 0x0117
101 #define DAC1CON0_ADDR 0x0118
102 #define DAC1CON1_ADDR 0x0119
103 #define ZCD1CON_ADDR 0x011C
104 #define ANSELA_ADDR 0x018C
105 #define ANSELB_ADDR 0x018D
106 #define ANSELC_ADDR 0x018E
107 #define PMADR_ADDR 0x0191
108 #define PMADRL_ADDR 0x0191
109 #define PMADRH_ADDR 0x0192
110 #define PMDAT_ADDR 0x0193
111 #define PMDATL_ADDR 0x0193
112 #define PMDATH_ADDR 0x0194
113 #define PMCON1_ADDR 0x0195
114 #define PMCON2_ADDR 0x0196
115 #define VREGCON_ADDR 0x0197
116 #define RC1REG_ADDR 0x0199
117 #define RCREG_ADDR 0x0199
118 #define RCREG1_ADDR 0x0199
119 #define TX1REG_ADDR 0x019A
120 #define TXREG_ADDR 0x019A
121 #define TXREG1_ADDR 0x019A
122 #define SP1BRG_ADDR 0x019B
123 #define SP1BRGL_ADDR 0x019B
124 #define SPBRG_ADDR 0x019B
125 #define SPBRG1_ADDR 0x019B
126 #define SPBRGL_ADDR 0x019B
127 #define SP1BRGH_ADDR 0x019C
128 #define SPBRGH_ADDR 0x019C
129 #define SPBRGH1_ADDR 0x019C
130 #define RC1STA_ADDR 0x019D
131 #define RCSTA_ADDR 0x019D
132 #define RCSTA1_ADDR 0x019D
133 #define TX1STA_ADDR 0x019E
134 #define TXSTA_ADDR 0x019E
135 #define TXSTA1_ADDR 0x019E
136 #define BAUD1CON_ADDR 0x019F
137 #define BAUDCON_ADDR 0x019F
138 #define BAUDCON1_ADDR 0x019F
139 #define BAUDCTL_ADDR 0x019F
140 #define BAUDCTL1_ADDR 0x019F
141 #define WPUA_ADDR 0x020C
142 #define WPUB_ADDR 0x020D
143 #define WPUC_ADDR 0x020E
144 #define SSP1BUF_ADDR 0x0211
145 #define SSPBUF_ADDR 0x0211
146 #define SSP1ADD_ADDR 0x0212
147 #define SSPADD_ADDR 0x0212
148 #define SSP1MSK_ADDR 0x0213
149 #define SSPMSK_ADDR 0x0213
150 #define SSP1STAT_ADDR 0x0214
151 #define SSPSTAT_ADDR 0x0214
152 #define SSP1CON_ADDR 0x0215
153 #define SSP1CON1_ADDR 0x0215
154 #define SSPCON_ADDR 0x0215
155 #define SSPCON1_ADDR 0x0215
156 #define SSP1CON2_ADDR 0x0216
157 #define SSPCON2_ADDR 0x0216
158 #define SSP1CON3_ADDR 0x0217
159 #define SSPCON3_ADDR 0x0217
160 #define ODCONA_ADDR 0x028C
161 #define ODCONB_ADDR 0x028D
162 #define ODCONC_ADDR 0x028E
163 #define CCPR1_ADDR 0x0291
164 #define CCPR1L_ADDR 0x0291
165 #define CCPR1H_ADDR 0x0292
166 #define CCP1CON_ADDR 0x0293
167 #define CCP1CAP_ADDR 0x0294
168 #define CCPR2_ADDR 0x0298
169 #define CCPR2L_ADDR 0x0298
170 #define CCPR2H_ADDR 0x0299
171 #define CCP2CON_ADDR 0x029A
172 #define CCP2CAP_ADDR 0x029B
173 #define CCPTMRS_ADDR 0x029E
174 #define SLRCONA_ADDR 0x030C
175 #define SLRCONB_ADDR 0x030D
176 #define SLRCONC_ADDR 0x030E
177 #define INLVLA_ADDR 0x038C
178 #define INLVLB_ADDR 0x038D
179 #define INLVLC_ADDR 0x038E
180 #define IOCAP_ADDR 0x0391
181 #define IOCAN_ADDR 0x0392
182 #define IOCAF_ADDR 0x0393
183 #define IOCBP_ADDR 0x0394
184 #define IOCBN_ADDR 0x0395
185 #define IOCBF_ADDR 0x0396
186 #define IOCCP_ADDR 0x0397
187 #define IOCCN_ADDR 0x0398
188 #define IOCCF_ADDR 0x0399
189 #define HIDRVC_ADDR 0x040E
190 #define T4TMR_ADDR 0x0413
191 #define TMR4_ADDR 0x0413
192 #define PR4_ADDR 0x0414
193 #define T4PR_ADDR 0x0414
194 #define T4CON_ADDR 0x0415
195 #define T4HLT_ADDR 0x0416
196 #define T4CLKCON_ADDR 0x0417
197 #define T4RST_ADDR 0x0418
198 #define T6TMR_ADDR 0x041A
199 #define TMR6_ADDR 0x041A
200 #define PR6_ADDR 0x041B
201 #define T6PR_ADDR 0x041B
202 #define T6CON_ADDR 0x041C
203 #define T6HLT_ADDR 0x041D
204 #define T6CLKCON_ADDR 0x041E
205 #define T6RST_ADDR 0x041F
206 #define TMR3L_ADDR 0x0493
207 #define TMR3H_ADDR 0x0494
208 #define T3CON_ADDR 0x0495
209 #define T3GCON_ADDR 0x0496
210 #define TMR5L_ADDR 0x049A
211 #define TMR5H_ADDR 0x049B
212 #define T5CON_ADDR 0x049C
213 #define T5GCON_ADDR 0x049D
214 #define PID1SET_ADDR 0x058C
215 #define PID1SETL_ADDR 0x058C
216 #define PID1SETH_ADDR 0x058D
217 #define PID1IN_ADDR 0x058E
218 #define PID1INL_ADDR 0x058E
219 #define PID1INH_ADDR 0x058F
220 #define PID1K1_ADDR 0x0590
221 #define PID1K1L_ADDR 0x0590
222 #define PID1K1H_ADDR 0x0591
223 #define PID1K2_ADDR 0x0592
224 #define PID1K2L_ADDR 0x0592
225 #define PID1K2H_ADDR 0x0593
226 #define PID1K3_ADDR 0x0594
227 #define PID1K3L_ADDR 0x0594
228 #define PID1K3H_ADDR 0x0595
229 #define PID1OUT_ADDR 0x0596
230 #define PID1OUTLL_ADDR 0x0596
231 #define PID1OUTLH_ADDR 0x0597
232 #define PID1OUTHL_ADDR 0x0598
233 #define PID1OUTHH_ADDR 0x0599
234 #define PID1OUTU_ADDR 0x059A
235 #define PID1Z1_ADDR 0x059B
236 #define PID1Z1L_ADDR 0x059B
237 #define PID1Z1H_ADDR 0x059C
238 #define PID1Z1U_ADDR 0x059D
239 #define PID1Z2_ADDR 0x060C
240 #define PID1Z2L_ADDR 0x060C
241 #define PID1Z2H_ADDR 0x060D
242 #define PID1Z2U_ADDR 0x060E
243 #define PID1ACC_ADDR 0x060F
244 #define PID1ACCLL_ADDR 0x060F
245 #define PID1ACCLH_ADDR 0x0610
246 #define PID1ACCHL_ADDR 0x0611
247 #define PID1ACCHH_ADDR 0x0612
248 #define PID1ACCU_ADDR 0x0613
249 #define PID1CON_ADDR 0x0614
250 #define PWM3DCL_ADDR 0x0617
251 #define PWM3DCH_ADDR 0x0618
252 #define PWM3CON_ADDR 0x0619
253 #define PWM4DCL_ADDR 0x061A
254 #define PWM4DCH_ADDR 0x061B
255 #define PWM4CON_ADDR 0x061C
256 #define CWG1DBR_ADDR 0x0691
257 #define CWG1DBF_ADDR 0x0692
258 #define CWG1AS0_ADDR 0x0693
259 #define CWG1AS1_ADDR 0x0694
260 #define CWG1OCON0_ADDR 0x0695
261 #define CWG1CON0_ADDR 0x0696
262 #define CWG1CON1_ADDR 0x0697
263 #define CWG1CLKCON_ADDR 0x0699
264 #define CWG1ISM_ADDR 0x069A
265 #define WDTCON0_ADDR 0x0711
266 #define WDTCON1_ADDR 0x0712
267 #define WDTPSL_ADDR 0x0713
268 #define WDTPSH_ADDR 0x0714
269 #define WDTTMR_ADDR 0x0715
270 #define SCANLADR_ADDR 0x0718
271 #define SCANLADRL_ADDR 0x0718
272 #define SCANLADRH_ADDR 0x0719
273 #define SCANHADR_ADDR 0x071A
274 #define SCANHADRL_ADDR 0x071A
275 #define SCANHADRH_ADDR 0x071B
276 #define SCANCON0_ADDR 0x071C
277 #define SCANTRIG_ADDR 0x071D
278 #define CRCDAT_ADDR 0x0791
279 #define CRCDATL_ADDR 0x0791
280 #define CRCDATH_ADDR 0x0792
281 #define CRCACC_ADDR 0x0793
282 #define CRCACCL_ADDR 0x0793
283 #define CRCACCH_ADDR 0x0794
284 #define CRCSHIFT_ADDR 0x0795
285 #define CRCSHIFTL_ADDR 0x0795
286 #define CRCSHIFTH_ADDR 0x0796
287 #define CRCXOR_ADDR 0x0797
288 #define CRCXORL_ADDR 0x0797
289 #define CRCXORH_ADDR 0x0798
290 #define CRCCON0_ADDR 0x0799
291 #define CRCCON1_ADDR 0x079A
292 #define AT1RES_ADDR 0x080C
293 #define AT1RESL_ADDR 0x080C
294 #define AT1RESH_ADDR 0x080D
295 #define AT1MISS_ADDR 0x080E
296 #define AT1MISSL_ADDR 0x080E
297 #define AT1MISSH_ADDR 0x080F
298 #define AT1PER_ADDR 0x0810
299 #define AT1PERL_ADDR 0x0810
300 #define AT1PERH_ADDR 0x0811
301 #define AT1PHS_ADDR 0x0812
302 #define AT1PHSL_ADDR 0x0812
303 #define AT1PHSH_ADDR 0x0813
304 #define AT1CON0_ADDR 0x0814
305 #define AT1CON1_ADDR 0x0815
306 #define AT1IR0_ADDR 0x0816
307 #define AT1IE0_ADDR 0x0817
308 #define AT1IR1_ADDR 0x0818
309 #define AT1IE1_ADDR 0x0819
310 #define AT1STPT_ADDR 0x081A
311 #define AT1STPTL_ADDR 0x081A
312 #define AT1STPTH_ADDR 0x081B
313 #define AT1ERR_ADDR 0x081C
314 #define AT1ERRL_ADDR 0x081C
315 #define AT1ERRH_ADDR 0x081D
316 #define AT1CLK_ADDR 0x088C
317 #define AT1SIG_ADDR 0x088D
318 #define AT1CSEL1_ADDR 0x088E
319 #define AT1CC1_ADDR 0x088F
320 #define AT1CC1L_ADDR 0x088F
321 #define AT1CC1H_ADDR 0x0890
322 #define AT1CCON1_ADDR 0x0891
323 #define AT1CSEL2_ADDR 0x0892
324 #define AT1CC2_ADDR 0x0893
325 #define AT1CC2L_ADDR 0x0893
326 #define AT1CC2H_ADDR 0x0894
327 #define AT1CCON2_ADDR 0x0895
328 #define AT1CSEL3_ADDR 0x0896
329 #define AT1CC3_ADDR 0x0897
330 #define AT1CC3L_ADDR 0x0897
331 #define AT1CC3H_ADDR 0x0898
332 #define AT1CCON3_ADDR 0x0899
333 #define SMT1TMR_ADDR 0x0D8C
334 #define SMT1TMRL_ADDR 0x0D8C
335 #define SMT1TMRH_ADDR 0x0D8D
336 #define SMT1TMRU_ADDR 0x0D8E
337 #define SMT1CPR_ADDR 0x0D8F
338 #define SMT1CPRL_ADDR 0x0D8F
339 #define SMT1CPRH_ADDR 0x0D90
340 #define SMT1CPRU_ADDR 0x0D91
341 #define SMT1CPW_ADDR 0x0D92
342 #define SMT1CPWL_ADDR 0x0D92
343 #define SMT1CPWH_ADDR 0x0D93
344 #define SMT1CPWU_ADDR 0x0D94
345 #define SMT1PR_ADDR 0x0D95
346 #define SMT1PRL_ADDR 0x0D95
347 #define SMT1PRH_ADDR 0x0D96
348 #define SMT1PRU_ADDR 0x0D97
349 #define SMT1CON0_ADDR 0x0D98
350 #define SMT1CON1_ADDR 0x0D99
351 #define SMT1STAT_ADDR 0x0D9A
352 #define SMT1CLK_ADDR 0x0D9B
353 #define SMT1SIG_ADDR 0x0D9C
354 #define SMT1WIN_ADDR 0x0D9D
355 #define SMT2TMR_ADDR 0x0D9E
356 #define SMT2TMRL_ADDR 0x0D9E
357 #define SMT2TMRH_ADDR 0x0D9F
358 #define SMT2TMRU_ADDR 0x0DA0
359 #define SMT2CPR_ADDR 0x0DA1
360 #define SMT2CPRL_ADDR 0x0DA1
361 #define SMT2CPRH_ADDR 0x0DA2
362 #define SMT2CPRU_ADDR 0x0DA3
363 #define SMT2CPW_ADDR 0x0DA4
364 #define SMT2CPWL_ADDR 0x0DA4
365 #define SMT2CPWH_ADDR 0x0DA5
366 #define SMT2CPWU_ADDR 0x0DA6
367 #define SMT2PR_ADDR 0x0DA7
368 #define SMT2PRL_ADDR 0x0DA7
369 #define SMT2PRH_ADDR 0x0DA8
370 #define SMT2PRU_ADDR 0x0DA9
371 #define SMT2CON0_ADDR 0x0DAA
372 #define SMT2CON1_ADDR 0x0DAB
373 #define SMT2STAT_ADDR 0x0DAC
374 #define SMT2CLK_ADDR 0x0DAD
375 #define SMT2SIG_ADDR 0x0DAE
376 #define SMT2WIN_ADDR 0x0DAF
377 #define PPSLOCK_ADDR 0x0E0F
378 #define INTPPS_ADDR 0x0E10
379 #define T0CKIPPS_ADDR 0x0E11
380 #define T1CKIPPS_ADDR 0x0E12
381 #define T1GPPS_ADDR 0x0E13
382 #define CCP1PPS_ADDR 0x0E14
383 #define CCP2PPS_ADDR 0x0E15
384 #define ATINPPS_ADDR 0x0E16
385 #define CWGINPPS_ADDR 0x0E17
386 #define T2PPS_ADDR 0x0E18
387 #define T3CKIPPS_ADDR 0x0E19
388 #define T3GPPS_ADDR 0x0E1A
389 #define T4PPS_ADDR 0x0E1B
390 #define T5CKIPPS_ADDR 0x0E1C
391 #define T5GPPS_ADDR 0x0E1D
392 #define T6PPS_ADDR 0x0E1E
393 #define ATCC1PPS_ADDR 0x0E1F
394 #define SSPCLKPPS_ADDR 0x0E20
395 #define SSPDATPPS_ADDR 0x0E21
396 #define SSPSSPPS_ADDR 0x0E22
397 #define ATCC2PPS_ADDR 0x0E23
398 #define RXPPS_ADDR 0x0E24
399 #define CKPPS_ADDR 0x0E25
400 #define SMT1SIGPPS_ADDR 0x0E26
401 #define SMT1WINPPS_ADDR 0x0E27
402 #define CLCIN0PPS_ADDR 0x0E28
403 #define CLCIN1PPS_ADDR 0x0E29
404 #define CLCIN2PPS_ADDR 0x0E2A
405 #define CLCIN3PPS_ADDR 0x0E2B
406 #define SMT2SIGPPS_ADDR 0x0E2C
407 #define SMT2WINPPS_ADDR 0x0E2D
408 #define ATCC3PPS_ADDR 0x0E2E
409 #define RA0PPS_ADDR 0x0E90
410 #define RA1PPS_ADDR 0x0E91
411 #define RA2PPS_ADDR 0x0E92
412 #define RA4PPS_ADDR 0x0E94
413 #define RA5PPS_ADDR 0x0E95
414 #define RB4PPS_ADDR 0x0E9C
415 #define RB5PPS_ADDR 0x0E9D
416 #define RB6PPS_ADDR 0x0E9E
417 #define RB7PPS_ADDR 0x0E9F
418 #define RC0PPS_ADDR 0x0EA0
419 #define RC1PPS_ADDR 0x0EA1
420 #define RC2PPS_ADDR 0x0EA2
421 #define RC3PPS_ADDR 0x0EA3
422 #define RC4PPS_ADDR 0x0EA4
423 #define RC5PPS_ADDR 0x0EA5
424 #define RC6PPS_ADDR 0x0EA6
425 #define RC7PPS_ADDR 0x0EA7
426 #define CLCDATA_ADDR 0x0F0F
427 #define CLC1CON_ADDR 0x0F10
428 #define CLC1POL_ADDR 0x0F11
429 #define CLC1SEL0_ADDR 0x0F12
430 #define CLC1SEL1_ADDR 0x0F13
431 #define CLC1SEL2_ADDR 0x0F14
432 #define CLC1SEL3_ADDR 0x0F15
433 #define CLC1GLS0_ADDR 0x0F16
434 #define CLC1GLS1_ADDR 0x0F17
435 #define CLC1GLS2_ADDR 0x0F18
436 #define CLC1GLS3_ADDR 0x0F19
437 #define CLC2CON_ADDR 0x0F1A
438 #define CLC2POL_ADDR 0x0F1B
439 #define CLC2SEL0_ADDR 0x0F1C
440 #define CLC2SEL1_ADDR 0x0F1D
441 #define CLC2SEL2_ADDR 0x0F1E
442 #define CLC2SEL3_ADDR 0x0F1F
443 #define CLC2GLS0_ADDR 0x0F20
444 #define CLC2GLS1_ADDR 0x0F21
445 #define CLC2GLS2_ADDR 0x0F22
446 #define CLC2GLS3_ADDR 0x0F23
447 #define STATUS_SHAD_ADDR 0x0FE4
448 #define WREG_SHAD_ADDR 0x0FE5
449 #define BSR_SHAD_ADDR 0x0FE6
450 #define PCLATH_SHAD_ADDR 0x0FE7
451 #define FSR0L_SHAD_ADDR 0x0FE8
452 #define FSR0H_SHAD_ADDR 0x0FE9
453 #define FSR1L_SHAD_ADDR 0x0FEA
454 #define FSR1H_SHAD_ADDR 0x0FEB
455 #define STKPTR_ADDR 0x0FED
456 #define TOSL_ADDR 0x0FEE
457 #define TOSH_ADDR 0x0FEF
459 #endif // #ifndef NO_ADDR_DEFINES
461 //==============================================================================
463 // Register Definitions
465 //==============================================================================
467 extern __at(0x0000) __sfr INDF0
;
468 extern __at(0x0001) __sfr INDF1
;
469 extern __at(0x0002) __sfr PCL
;
471 //==============================================================================
474 extern __at(0x0003) __sfr STATUS
;
488 extern __at(0x0003) volatile __STATUSbits_t STATUSbits
;
496 //==============================================================================
498 extern __at(0x0004) __sfr FSR0
;
499 extern __at(0x0004) __sfr FSR0L
;
500 extern __at(0x0005) __sfr FSR0H
;
501 extern __at(0x0006) __sfr FSR1
;
502 extern __at(0x0006) __sfr FSR1L
;
503 extern __at(0x0007) __sfr FSR1H
;
505 //==============================================================================
508 extern __at(0x0008) __sfr BSR
;
531 extern __at(0x0008) volatile __BSRbits_t BSRbits
;
539 //==============================================================================
541 extern __at(0x0009) __sfr WREG
;
542 extern __at(0x000A) __sfr PCLATH
;
544 //==============================================================================
547 extern __at(0x000B) __sfr INTCON
;
576 extern __at(0x000B) volatile __INTCONbits_t INTCONbits
;
589 //==============================================================================
592 //==============================================================================
595 extern __at(0x000C) __sfr PORTA
;
618 extern __at(0x000C) volatile __PORTAbits_t PORTAbits
;
627 //==============================================================================
630 //==============================================================================
633 extern __at(0x000D) __sfr PORTB
;
647 extern __at(0x000D) volatile __PORTBbits_t PORTBbits
;
654 //==============================================================================
657 //==============================================================================
660 extern __at(0x000E) __sfr PORTC
;
674 extern __at(0x000E) volatile __PORTCbits_t PORTCbits
;
685 //==============================================================================
688 //==============================================================================
691 extern __at(0x0010) __sfr PIR1
;
702 unsigned TMR1GIF
: 1;
705 extern __at(0x0010) volatile __PIR1bits_t PIR1bits
;
714 #define _TMR1GIF 0x80
716 //==============================================================================
719 //==============================================================================
722 extern __at(0x0011) __sfr PIR2
;
736 extern __at(0x0011) volatile __PIR2bits_t PIR2bits
;
745 //==============================================================================
748 //==============================================================================
751 extern __at(0x0012) __sfr PIR3
;
765 extern __at(0x0012) volatile __PIR3bits_t PIR3bits
;
772 //==============================================================================
775 //==============================================================================
778 extern __at(0x0013) __sfr PIR4
;
783 unsigned SMT1PRAIF
: 1;
784 unsigned SMT1PWAIF
: 1;
786 unsigned SMT2PRAIF
: 1;
787 unsigned SMT2PWAIF
: 1;
792 extern __at(0x0013) volatile __PIR4bits_t PIR4bits
;
795 #define _SMT1PRAIF 0x02
796 #define _SMT1PWAIF 0x04
798 #define _SMT2PRAIF 0x10
799 #define _SMT2PWAIF 0x20
803 //==============================================================================
806 //==============================================================================
809 extern __at(0x0014) __sfr PIR5
;
813 unsigned PID1DIF
: 1;
814 unsigned PID1EIF
: 1;
818 unsigned TMR5GIF
: 1;
820 unsigned TMR3GIF
: 1;
823 extern __at(0x0014) volatile __PIR5bits_t PIR5bits
;
825 #define _PID1DIF 0x01
826 #define _PID1EIF 0x02
829 #define _TMR5GIF 0x20
831 #define _TMR3GIF 0x80
833 //==============================================================================
835 extern __at(0x0015) __sfr TMR0
;
836 extern __at(0x0016) __sfr TMR1
;
837 extern __at(0x0016) __sfr TMR1L
;
838 extern __at(0x0017) __sfr TMR1H
;
840 //==============================================================================
843 extern __at(0x0018) __sfr T1CON
;
851 unsigned NOT_T1SYNC
: 1;
853 unsigned T1CKPS0
: 1;
854 unsigned T1CKPS1
: 1;
855 unsigned TMR1CS0
: 1;
856 unsigned TMR1CS1
: 1;
873 extern __at(0x0018) volatile __T1CONbits_t T1CONbits
;
876 #define _NOT_T1SYNC 0x04
877 #define _T1CKPS0 0x10
878 #define _T1CKPS1 0x20
879 #define _TMR1CS0 0x40
880 #define _TMR1CS1 0x80
882 //==============================================================================
885 //==============================================================================
888 extern __at(0x0019) __sfr T1GCON
;
897 unsigned T1GGO_NOT_DONE
: 1;
911 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits
;
916 #define _T1GGO_NOT_DONE 0x08
922 //==============================================================================
924 extern __at(0x001A) __sfr T2TMR
;
925 extern __at(0x001A) __sfr TMR2
;
926 extern __at(0x001B) __sfr PR2
;
927 extern __at(0x001B) __sfr T2PR
;
929 //==============================================================================
932 extern __at(0x001C) __sfr T2CON
;
950 unsigned T2OUTPS0
: 1;
951 unsigned T2OUTPS1
: 1;
952 unsigned T2OUTPS2
: 1;
953 unsigned T2OUTPS3
: 1;
954 unsigned T2CKPS0
: 1;
955 unsigned T2CKPS1
: 1;
956 unsigned T2CKPS2
: 1;
980 unsigned T2OUTPS
: 4;
999 extern __at(0x001C) volatile __T2CONbits_t T2CONbits
;
1001 #define _OUTPS0 0x01
1002 #define _T2OUTPS0 0x01
1003 #define _OUTPS1 0x02
1004 #define _T2OUTPS1 0x02
1005 #define _OUTPS2 0x04
1006 #define _T2OUTPS2 0x04
1007 #define _OUTPS3 0x08
1008 #define _T2OUTPS3 0x08
1010 #define _T2CKPS0 0x10
1012 #define _T2CKPS1 0x20
1014 #define _T2CKPS2 0x40
1017 #define _TMR2ON 0x80
1019 //==============================================================================
1022 //==============================================================================
1025 extern __at(0x001D) __sfr T2HLT
;
1036 unsigned CKSYNC
: 1;
1043 unsigned T2MODE0
: 1;
1044 unsigned T2MODE1
: 1;
1045 unsigned T2MODE2
: 1;
1046 unsigned T2MODE3
: 1;
1047 unsigned T2MODE4
: 1;
1048 unsigned T2CKSYNC
: 1;
1049 unsigned T2CKPOL
: 1;
1050 unsigned T2PSYNC
: 1;
1055 unsigned T2MODE
: 5;
1066 extern __at(0x001D) volatile __T2HLTbits_t T2HLTbits
;
1068 #define _T2HLT_MODE0 0x01
1069 #define _T2HLT_T2MODE0 0x01
1070 #define _T2HLT_MODE1 0x02
1071 #define _T2HLT_T2MODE1 0x02
1072 #define _T2HLT_MODE2 0x04
1073 #define _T2HLT_T2MODE2 0x04
1074 #define _T2HLT_MODE3 0x08
1075 #define _T2HLT_T2MODE3 0x08
1076 #define _T2HLT_MODE4 0x10
1077 #define _T2HLT_T2MODE4 0x10
1078 #define _T2HLT_CKSYNC 0x20
1079 #define _T2HLT_T2CKSYNC 0x20
1080 #define _T2HLT_CKPOL 0x40
1081 #define _T2HLT_T2CKPOL 0x40
1082 #define _T2HLT_PSYNC 0x80
1083 #define _T2HLT_T2PSYNC 0x80
1085 //==============================================================================
1088 //==============================================================================
1091 extern __at(0x001E) __sfr T2CLKCON
;
1132 extern __at(0x001E) volatile __T2CLKCONbits_t T2CLKCONbits
;
1134 #define _T2CLKCON_CS0 0x01
1135 #define _T2CLKCON_T2CS0 0x01
1136 #define _T2CLKCON_CS1 0x02
1137 #define _T2CLKCON_T2CS1 0x02
1138 #define _T2CLKCON_CS2 0x04
1139 #define _T2CLKCON_T2CS2 0x04
1140 #define _T2CLKCON_CS3 0x08
1141 #define _T2CLKCON_T2CS3 0x08
1143 //==============================================================================
1146 //==============================================================================
1149 extern __at(0x001F) __sfr T2RST
;
1167 unsigned T2RSEL0
: 1;
1168 unsigned T2RSEL1
: 1;
1169 unsigned T2RSEL2
: 1;
1170 unsigned T2RSEL3
: 1;
1185 unsigned T2RSEL
: 4;
1190 extern __at(0x001F) volatile __T2RSTbits_t T2RSTbits
;
1193 #define _T2RSEL0 0x01
1195 #define _T2RSEL1 0x02
1197 #define _T2RSEL2 0x04
1199 #define _T2RSEL3 0x08
1201 //==============================================================================
1204 //==============================================================================
1207 extern __at(0x008C) __sfr TRISA
;
1213 unsigned TRISA0
: 1;
1214 unsigned TRISA1
: 1;
1215 unsigned TRISA2
: 1;
1216 unsigned TRISA3
: 1;
1217 unsigned TRISA4
: 1;
1218 unsigned TRISA5
: 1;
1230 extern __at(0x008C) volatile __TRISAbits_t TRISAbits
;
1232 #define _TRISA0 0x01
1233 #define _TRISA1 0x02
1234 #define _TRISA2 0x04
1235 #define _TRISA3 0x08
1236 #define _TRISA4 0x10
1237 #define _TRISA5 0x20
1239 //==============================================================================
1242 //==============================================================================
1245 extern __at(0x008D) __sfr TRISB
;
1253 unsigned TRISB4
: 1;
1254 unsigned TRISB5
: 1;
1255 unsigned TRISB6
: 1;
1256 unsigned TRISB7
: 1;
1259 extern __at(0x008D) volatile __TRISBbits_t TRISBbits
;
1261 #define _TRISB4 0x10
1262 #define _TRISB5 0x20
1263 #define _TRISB6 0x40
1264 #define _TRISB7 0x80
1266 //==============================================================================
1269 //==============================================================================
1272 extern __at(0x008E) __sfr TRISC
;
1276 unsigned TRISC0
: 1;
1277 unsigned TRISC1
: 1;
1278 unsigned TRISC2
: 1;
1279 unsigned TRISC3
: 1;
1280 unsigned TRISC4
: 1;
1281 unsigned TRISC5
: 1;
1282 unsigned TRISC6
: 1;
1283 unsigned TRISC7
: 1;
1286 extern __at(0x008E) volatile __TRISCbits_t TRISCbits
;
1288 #define _TRISC0 0x01
1289 #define _TRISC1 0x02
1290 #define _TRISC2 0x04
1291 #define _TRISC3 0x08
1292 #define _TRISC4 0x10
1293 #define _TRISC5 0x20
1294 #define _TRISC6 0x40
1295 #define _TRISC7 0x80
1297 //==============================================================================
1300 //==============================================================================
1303 extern __at(0x0090) __sfr PIE1
;
1307 unsigned TMR1IE
: 1;
1308 unsigned TMR2IE
: 1;
1309 unsigned CCP1IE
: 1;
1310 unsigned SSP1IE
: 1;
1314 unsigned TMR1GIE
: 1;
1317 extern __at(0x0090) volatile __PIE1bits_t PIE1bits
;
1319 #define _TMR1IE 0x01
1320 #define _TMR2IE 0x02
1321 #define _CCP1IE 0x04
1322 #define _SSP1IE 0x08
1326 #define _TMR1GIE 0x80
1328 //==============================================================================
1331 //==============================================================================
1334 extern __at(0x0091) __sfr PIE2
;
1338 unsigned CCP2IE
: 1;
1339 unsigned TMR4IE
: 1;
1340 unsigned TMR6IE
: 1;
1341 unsigned BCL1IE
: 1;
1348 extern __at(0x0091) volatile __PIE2bits_t PIE2bits
;
1350 #define _CCP2IE 0x01
1351 #define _TMR4IE 0x02
1352 #define _TMR6IE 0x04
1353 #define _BCL1IE 0x08
1357 //==============================================================================
1360 //==============================================================================
1363 extern __at(0x0092) __sfr PIE3
;
1367 unsigned CLC1IE
: 1;
1368 unsigned CLC2IE
: 1;
1377 extern __at(0x0092) volatile __PIE3bits_t PIE3bits
;
1379 #define _CLC1IE 0x01
1380 #define _CLC2IE 0x02
1384 //==============================================================================
1387 //==============================================================================
1390 extern __at(0x0093) __sfr PIE4
;
1394 unsigned SMT1IE
: 1;
1395 unsigned SMT1PRAIE
: 1;
1396 unsigned SMT1PWAIE
: 1;
1397 unsigned SMT2IE
: 1;
1398 unsigned SMT2PRAIE
: 1;
1399 unsigned SMT2PWAIE
: 1;
1401 unsigned SCANIE
: 1;
1404 extern __at(0x0093) volatile __PIE4bits_t PIE4bits
;
1406 #define _SMT1IE 0x01
1407 #define _SMT1PRAIE 0x02
1408 #define _SMT1PWAIE 0x04
1409 #define _SMT2IE 0x08
1410 #define _SMT2PRAIE 0x10
1411 #define _SMT2PWAIE 0x20
1413 #define _SCANIE 0x80
1415 //==============================================================================
1418 //==============================================================================
1421 extern __at(0x0094) __sfr PIE5
;
1425 unsigned PID1DIE
: 1;
1426 unsigned PID1EIE
: 1;
1429 unsigned TMR5IE
: 1;
1430 unsigned TMR5GIE
: 1;
1431 unsigned TMR3IE
: 1;
1432 unsigned TMR3GIE
: 1;
1435 extern __at(0x0094) volatile __PIE5bits_t PIE5bits
;
1437 #define _PID1DIE 0x01
1438 #define _PID1EIE 0x02
1440 #define _TMR5IE 0x10
1441 #define _TMR5GIE 0x20
1442 #define _TMR3IE 0x40
1443 #define _TMR3GIE 0x80
1445 //==============================================================================
1448 //==============================================================================
1451 extern __at(0x0095) __sfr OPTION_REG
;
1461 unsigned TMR0SE
: 1;
1462 unsigned TMR0CS
: 1;
1463 unsigned INTEDG
: 1;
1464 unsigned NOT_WPUEN
: 1;
1484 } __OPTION_REGbits_t
;
1486 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits
;
1488 #define _OPTION_REG_PS0 0x01
1489 #define _OPTION_REG_PS1 0x02
1490 #define _OPTION_REG_PS2 0x04
1491 #define _OPTION_REG_PSA 0x08
1492 #define _OPTION_REG_TMR0SE 0x10
1493 #define _OPTION_REG_T0SE 0x10
1494 #define _OPTION_REG_TMR0CS 0x20
1495 #define _OPTION_REG_T0CS 0x20
1496 #define _OPTION_REG_INTEDG 0x40
1497 #define _OPTION_REG_NOT_WPUEN 0x80
1499 //==============================================================================
1502 //==============================================================================
1505 extern __at(0x0096) __sfr PCON
;
1509 unsigned NOT_BOR
: 1;
1510 unsigned NOT_POR
: 1;
1511 unsigned NOT_RI
: 1;
1512 unsigned NOT_RMCLR
: 1;
1513 unsigned NOT_RWDT
: 1;
1514 unsigned NOT_WDTWV
: 1;
1515 unsigned STKUNF
: 1;
1516 unsigned STKOVF
: 1;
1519 extern __at(0x0096) volatile __PCONbits_t PCONbits
;
1521 #define _NOT_BOR 0x01
1522 #define _NOT_POR 0x02
1523 #define _NOT_RI 0x04
1524 #define _NOT_RMCLR 0x08
1525 #define _NOT_RWDT 0x10
1526 #define _NOT_WDTWV 0x20
1527 #define _STKUNF 0x40
1528 #define _STKOVF 0x80
1530 //==============================================================================
1533 //==============================================================================
1536 extern __at(0x0098) __sfr OSCTUNE
;
1559 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits
;
1568 //==============================================================================
1571 //==============================================================================
1574 extern __at(0x0099) __sfr OSCCON
;
1587 unsigned SPLLEN
: 1;
1604 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits
;
1612 #define _SPLLEN 0x80
1614 //==============================================================================
1617 //==============================================================================
1620 extern __at(0x009A) __sfr OSCSTAT
;
1624 unsigned HFIOFS
: 1;
1625 unsigned LFIOFR
: 1;
1626 unsigned MFIOFR
: 1;
1627 unsigned HFIOFL
: 1;
1628 unsigned HFIOFR
: 1;
1634 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits
;
1636 #define _HFIOFS 0x01
1637 #define _LFIOFR 0x02
1638 #define _MFIOFR 0x04
1639 #define _HFIOFL 0x08
1640 #define _HFIOFR 0x10
1643 //==============================================================================
1645 extern __at(0x009B) __sfr ADRES
;
1646 extern __at(0x009B) __sfr ADRESL
;
1647 extern __at(0x009C) __sfr ADRESH
;
1649 //==============================================================================
1652 extern __at(0x009D) __sfr ADCON0
;
1659 unsigned GO_NOT_DONE
: 1;
1700 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits
;
1703 #define _GO_NOT_DONE 0x02
1712 //==============================================================================
1715 //==============================================================================
1718 extern __at(0x009E) __sfr ADCON1
;
1724 unsigned ADPREF0
: 1;
1725 unsigned ADPREF1
: 1;
1736 unsigned ADPREF
: 2;
1748 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits
;
1750 #define _ADPREF0 0x01
1751 #define _ADPREF1 0x02
1757 //==============================================================================
1760 //==============================================================================
1763 extern __at(0x009F) __sfr ADCON2
;
1773 unsigned TRIGSEL0
: 1;
1774 unsigned TRIGSEL1
: 1;
1775 unsigned TRIGSEL2
: 1;
1776 unsigned TRIGSEL3
: 1;
1782 unsigned TRIGSEL
: 4;
1786 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits
;
1788 #define _TRIGSEL0 0x10
1789 #define _TRIGSEL1 0x20
1790 #define _TRIGSEL2 0x40
1791 #define _TRIGSEL3 0x80
1793 //==============================================================================
1796 //==============================================================================
1799 extern __at(0x010C) __sfr LATA
;
1822 extern __at(0x010C) volatile __LATAbits_t LATAbits
;
1831 //==============================================================================
1834 //==============================================================================
1837 extern __at(0x010D) __sfr LATB
;
1851 extern __at(0x010D) volatile __LATBbits_t LATBbits
;
1858 //==============================================================================
1861 //==============================================================================
1864 extern __at(0x010E) __sfr LATC
;
1878 extern __at(0x010E) volatile __LATCbits_t LATCbits
;
1889 //==============================================================================
1892 //==============================================================================
1895 extern __at(0x0111) __sfr CM1CON0
;
1899 unsigned C1SYNC
: 1;
1909 extern __at(0x0111) volatile __CM1CON0bits_t CM1CON0bits
;
1911 #define _C1SYNC 0x01
1918 //==============================================================================
1921 //==============================================================================
1924 extern __at(0x0112) __sfr CM1CON1
;
1930 unsigned C1NCH0
: 1;
1931 unsigned C1NCH1
: 1;
1932 unsigned C1NCH2
: 1;
1934 unsigned C1PCH0
: 1;
1935 unsigned C1PCH1
: 1;
1936 unsigned C1INTN
: 1;
1937 unsigned C1INTP
: 1;
1954 extern __at(0x0112) volatile __CM1CON1bits_t CM1CON1bits
;
1956 #define _C1NCH0 0x01
1957 #define _C1NCH1 0x02
1958 #define _C1NCH2 0x04
1959 #define _C1PCH0 0x10
1960 #define _C1PCH1 0x20
1961 #define _C1INTN 0x40
1962 #define _C1INTP 0x80
1964 //==============================================================================
1967 //==============================================================================
1970 extern __at(0x0113) __sfr CM2CON0
;
1974 unsigned C2SYNC
: 1;
1984 extern __at(0x0113) volatile __CM2CON0bits_t CM2CON0bits
;
1986 #define _C2SYNC 0x01
1993 //==============================================================================
1996 //==============================================================================
1999 extern __at(0x0114) __sfr CM2CON1
;
2005 unsigned C2NCH0
: 1;
2006 unsigned C2NCH1
: 1;
2007 unsigned C2NCH2
: 1;
2009 unsigned C2PCH0
: 1;
2010 unsigned C2PCH1
: 1;
2011 unsigned C2INTN
: 1;
2012 unsigned C2INTP
: 1;
2029 extern __at(0x0114) volatile __CM2CON1bits_t CM2CON1bits
;
2031 #define _C2NCH0 0x01
2032 #define _C2NCH1 0x02
2033 #define _C2NCH2 0x04
2034 #define _C2PCH0 0x10
2035 #define _C2PCH1 0x20
2036 #define _C2INTN 0x40
2037 #define _C2INTP 0x80
2039 //==============================================================================
2042 //==============================================================================
2045 extern __at(0x0115) __sfr CMOUT
;
2049 unsigned MC1OUT
: 1;
2050 unsigned MC2OUT
: 1;
2059 extern __at(0x0115) volatile __CMOUTbits_t CMOUTbits
;
2061 #define _MC1OUT 0x01
2062 #define _MC2OUT 0x02
2064 //==============================================================================
2067 //==============================================================================
2070 extern __at(0x0116) __sfr BORCON
;
2074 unsigned BORRDY
: 1;
2081 unsigned SBOREN
: 1;
2084 extern __at(0x0116) volatile __BORCONbits_t BORCONbits
;
2086 #define _BORRDY 0x01
2088 #define _SBOREN 0x80
2090 //==============================================================================
2093 //==============================================================================
2096 extern __at(0x0117) __sfr FVRCON
;
2102 unsigned ADFVR0
: 1;
2103 unsigned ADFVR1
: 1;
2104 unsigned CDAFVR0
: 1;
2105 unsigned CDAFVR1
: 1;
2108 unsigned FVRRDY
: 1;
2121 unsigned CDAFVR
: 2;
2126 extern __at(0x0117) volatile __FVRCONbits_t FVRCONbits
;
2128 #define _ADFVR0 0x01
2129 #define _ADFVR1 0x02
2130 #define _CDAFVR0 0x04
2131 #define _CDAFVR1 0x08
2134 #define _FVRRDY 0x40
2137 //==============================================================================
2140 //==============================================================================
2143 extern __at(0x0118) __sfr DAC1CON0
;
2151 unsigned D1PSS0
: 1;
2152 unsigned D1PSS1
: 1;
2154 unsigned DAC1OE
: 1;
2156 unsigned DAC1EN
: 1;
2167 extern __at(0x0118) volatile __DAC1CON0bits_t DAC1CON0bits
;
2169 #define _D1PSS0 0x04
2170 #define _D1PSS1 0x08
2171 #define _DAC1OE 0x20
2172 #define _DAC1EN 0x80
2174 //==============================================================================
2177 //==============================================================================
2180 extern __at(0x0119) __sfr DAC1CON1
;
2184 unsigned DAC1R0
: 1;
2185 unsigned DAC1R1
: 1;
2186 unsigned DAC1R2
: 1;
2187 unsigned DAC1R3
: 1;
2188 unsigned DAC1R4
: 1;
2189 unsigned DAC1R5
: 1;
2190 unsigned DAC1R6
: 1;
2191 unsigned DAC1R7
: 1;
2194 extern __at(0x0119) volatile __DAC1CON1bits_t DAC1CON1bits
;
2196 #define _DAC1R0 0x01
2197 #define _DAC1R1 0x02
2198 #define _DAC1R2 0x04
2199 #define _DAC1R3 0x08
2200 #define _DAC1R4 0x10
2201 #define _DAC1R5 0x20
2202 #define _DAC1R6 0x40
2203 #define _DAC1R7 0x80
2205 //==============================================================================
2208 //==============================================================================
2211 extern __at(0x011C) __sfr ZCD1CON
;
2215 unsigned ZCD1INTN
: 1;
2216 unsigned ZCD1INTP
: 1;
2219 unsigned ZCD1POL
: 1;
2220 unsigned ZCD1OUT
: 1;
2222 unsigned ZCD1EN
: 1;
2225 extern __at(0x011C) volatile __ZCD1CONbits_t ZCD1CONbits
;
2227 #define _ZCD1INTN 0x01
2228 #define _ZCD1INTP 0x02
2229 #define _ZCD1POL 0x10
2230 #define _ZCD1OUT 0x20
2231 #define _ZCD1EN 0x80
2233 //==============================================================================
2236 //==============================================================================
2239 extern __at(0x018C) __sfr ANSELA
;
2253 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits
;
2260 //==============================================================================
2263 //==============================================================================
2266 extern __at(0x018D) __sfr ANSELB
;
2280 extern __at(0x018D) volatile __ANSELBbits_t ANSELBbits
;
2287 //==============================================================================
2290 //==============================================================================
2293 extern __at(0x018E) __sfr ANSELC
;
2307 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits
;
2316 //==============================================================================
2318 extern __at(0x0191) __sfr PMADR
;
2319 extern __at(0x0191) __sfr PMADRL
;
2320 extern __at(0x0192) __sfr PMADRH
;
2321 extern __at(0x0193) __sfr PMDAT
;
2322 extern __at(0x0193) __sfr PMDATL
;
2323 extern __at(0x0194) __sfr PMDATH
;
2325 //==============================================================================
2328 extern __at(0x0195) __sfr PMCON1
;
2342 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits
;
2352 //==============================================================================
2354 extern __at(0x0196) __sfr PMCON2
;
2356 //==============================================================================
2359 extern __at(0x0197) __sfr VREGCON
;
2365 unsigned VREGPM0
: 1;
2366 unsigned VREGPM1
: 1;
2377 unsigned VREGPM
: 2;
2382 extern __at(0x0197) volatile __VREGCONbits_t VREGCONbits
;
2384 #define _VREGPM0 0x01
2385 #define _VREGPM1 0x02
2387 //==============================================================================
2389 extern __at(0x0199) __sfr RC1REG
;
2390 extern __at(0x0199) __sfr RCREG
;
2391 extern __at(0x0199) __sfr RCREG1
;
2392 extern __at(0x019A) __sfr TX1REG
;
2393 extern __at(0x019A) __sfr TXREG
;
2394 extern __at(0x019A) __sfr TXREG1
;
2395 extern __at(0x019B) __sfr SP1BRG
;
2396 extern __at(0x019B) __sfr SP1BRGL
;
2397 extern __at(0x019B) __sfr SPBRG
;
2398 extern __at(0x019B) __sfr SPBRG1
;
2399 extern __at(0x019B) __sfr SPBRGL
;
2400 extern __at(0x019C) __sfr SP1BRGH
;
2401 extern __at(0x019C) __sfr SPBRGH
;
2402 extern __at(0x019C) __sfr SPBRGH1
;
2404 //==============================================================================
2407 extern __at(0x019D) __sfr RC1STA
;
2421 extern __at(0x019D) volatile __RC1STAbits_t RC1STAbits
;
2432 //==============================================================================
2435 //==============================================================================
2438 extern __at(0x019D) __sfr RCSTA
;
2452 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits
;
2454 #define _RCSTA_RX9D 0x01
2455 #define _RCSTA_OERR 0x02
2456 #define _RCSTA_FERR 0x04
2457 #define _RCSTA_ADDEN 0x08
2458 #define _RCSTA_CREN 0x10
2459 #define _RCSTA_SREN 0x20
2460 #define _RCSTA_RX9 0x40
2461 #define _RCSTA_SPEN 0x80
2463 //==============================================================================
2466 //==============================================================================
2469 extern __at(0x019D) __sfr RCSTA1
;
2483 extern __at(0x019D) volatile __RCSTA1bits_t RCSTA1bits
;
2485 #define _RCSTA1_RX9D 0x01
2486 #define _RCSTA1_OERR 0x02
2487 #define _RCSTA1_FERR 0x04
2488 #define _RCSTA1_ADDEN 0x08
2489 #define _RCSTA1_CREN 0x10
2490 #define _RCSTA1_SREN 0x20
2491 #define _RCSTA1_RX9 0x40
2492 #define _RCSTA1_SPEN 0x80
2494 //==============================================================================
2497 //==============================================================================
2500 extern __at(0x019E) __sfr TX1STA
;
2514 extern __at(0x019E) volatile __TX1STAbits_t TX1STAbits
;
2525 //==============================================================================
2528 //==============================================================================
2531 extern __at(0x019E) __sfr TXSTA
;
2545 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits
;
2547 #define _TXSTA_TX9D 0x01
2548 #define _TXSTA_TRMT 0x02
2549 #define _TXSTA_BRGH 0x04
2550 #define _TXSTA_SENDB 0x08
2551 #define _TXSTA_SYNC 0x10
2552 #define _TXSTA_TXEN 0x20
2553 #define _TXSTA_TX9 0x40
2554 #define _TXSTA_CSRC 0x80
2556 //==============================================================================
2559 //==============================================================================
2562 extern __at(0x019E) __sfr TXSTA1
;
2576 extern __at(0x019E) volatile __TXSTA1bits_t TXSTA1bits
;
2578 #define _TXSTA1_TX9D 0x01
2579 #define _TXSTA1_TRMT 0x02
2580 #define _TXSTA1_BRGH 0x04
2581 #define _TXSTA1_SENDB 0x08
2582 #define _TXSTA1_SYNC 0x10
2583 #define _TXSTA1_TXEN 0x20
2584 #define _TXSTA1_TX9 0x40
2585 #define _TXSTA1_CSRC 0x80
2587 //==============================================================================
2590 //==============================================================================
2593 extern __at(0x019F) __sfr BAUD1CON
;
2604 unsigned ABDOVF
: 1;
2607 extern __at(0x019F) volatile __BAUD1CONbits_t BAUD1CONbits
;
2614 #define _ABDOVF 0x80
2616 //==============================================================================
2619 //==============================================================================
2622 extern __at(0x019F) __sfr BAUDCON
;
2633 unsigned ABDOVF
: 1;
2636 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits
;
2638 #define _BAUDCON_ABDEN 0x01
2639 #define _BAUDCON_WUE 0x02
2640 #define _BAUDCON_BRG16 0x08
2641 #define _BAUDCON_SCKP 0x10
2642 #define _BAUDCON_RCIDL 0x40
2643 #define _BAUDCON_ABDOVF 0x80
2645 //==============================================================================
2648 //==============================================================================
2651 extern __at(0x019F) __sfr BAUDCON1
;
2662 unsigned ABDOVF
: 1;
2665 extern __at(0x019F) volatile __BAUDCON1bits_t BAUDCON1bits
;
2667 #define _BAUDCON1_ABDEN 0x01
2668 #define _BAUDCON1_WUE 0x02
2669 #define _BAUDCON1_BRG16 0x08
2670 #define _BAUDCON1_SCKP 0x10
2671 #define _BAUDCON1_RCIDL 0x40
2672 #define _BAUDCON1_ABDOVF 0x80
2674 //==============================================================================
2677 //==============================================================================
2680 extern __at(0x019F) __sfr BAUDCTL
;
2691 unsigned ABDOVF
: 1;
2694 extern __at(0x019F) volatile __BAUDCTLbits_t BAUDCTLbits
;
2696 #define _BAUDCTL_ABDEN 0x01
2697 #define _BAUDCTL_WUE 0x02
2698 #define _BAUDCTL_BRG16 0x08
2699 #define _BAUDCTL_SCKP 0x10
2700 #define _BAUDCTL_RCIDL 0x40
2701 #define _BAUDCTL_ABDOVF 0x80
2703 //==============================================================================
2706 //==============================================================================
2709 extern __at(0x019F) __sfr BAUDCTL1
;
2720 unsigned ABDOVF
: 1;
2723 extern __at(0x019F) volatile __BAUDCTL1bits_t BAUDCTL1bits
;
2725 #define _BAUDCTL1_ABDEN 0x01
2726 #define _BAUDCTL1_WUE 0x02
2727 #define _BAUDCTL1_BRG16 0x08
2728 #define _BAUDCTL1_SCKP 0x10
2729 #define _BAUDCTL1_RCIDL 0x40
2730 #define _BAUDCTL1_ABDOVF 0x80
2732 //==============================================================================
2735 //==============================================================================
2738 extern __at(0x020C) __sfr WPUA
;
2761 extern __at(0x020C) volatile __WPUAbits_t WPUAbits
;
2770 //==============================================================================
2773 //==============================================================================
2776 extern __at(0x020D) __sfr WPUB
;
2790 extern __at(0x020D) volatile __WPUBbits_t WPUBbits
;
2797 //==============================================================================
2800 //==============================================================================
2803 extern __at(0x020E) __sfr WPUC
;
2817 extern __at(0x020E) volatile __WPUCbits_t WPUCbits
;
2828 //==============================================================================
2831 //==============================================================================
2834 extern __at(0x0211) __sfr SSP1BUF
;
2840 unsigned SSP1BUF0
: 1;
2841 unsigned SSP1BUF1
: 1;
2842 unsigned SSP1BUF2
: 1;
2843 unsigned SSP1BUF3
: 1;
2844 unsigned SSP1BUF4
: 1;
2845 unsigned SSP1BUF5
: 1;
2846 unsigned SSP1BUF6
: 1;
2847 unsigned SSP1BUF7
: 1;
2863 extern __at(0x0211) volatile __SSP1BUFbits_t SSP1BUFbits
;
2865 #define _SSP1BUF0 0x01
2867 #define _SSP1BUF1 0x02
2869 #define _SSP1BUF2 0x04
2871 #define _SSP1BUF3 0x08
2873 #define _SSP1BUF4 0x10
2875 #define _SSP1BUF5 0x20
2877 #define _SSP1BUF6 0x40
2879 #define _SSP1BUF7 0x80
2882 //==============================================================================
2885 //==============================================================================
2888 extern __at(0x0211) __sfr SSPBUF
;
2894 unsigned SSP1BUF0
: 1;
2895 unsigned SSP1BUF1
: 1;
2896 unsigned SSP1BUF2
: 1;
2897 unsigned SSP1BUF3
: 1;
2898 unsigned SSP1BUF4
: 1;
2899 unsigned SSP1BUF5
: 1;
2900 unsigned SSP1BUF6
: 1;
2901 unsigned SSP1BUF7
: 1;
2917 extern __at(0x0211) volatile __SSPBUFbits_t SSPBUFbits
;
2919 #define _SSPBUF_SSP1BUF0 0x01
2920 #define _SSPBUF_BUF0 0x01
2921 #define _SSPBUF_SSP1BUF1 0x02
2922 #define _SSPBUF_BUF1 0x02
2923 #define _SSPBUF_SSP1BUF2 0x04
2924 #define _SSPBUF_BUF2 0x04
2925 #define _SSPBUF_SSP1BUF3 0x08
2926 #define _SSPBUF_BUF3 0x08
2927 #define _SSPBUF_SSP1BUF4 0x10
2928 #define _SSPBUF_BUF4 0x10
2929 #define _SSPBUF_SSP1BUF5 0x20
2930 #define _SSPBUF_BUF5 0x20
2931 #define _SSPBUF_SSP1BUF6 0x40
2932 #define _SSPBUF_BUF6 0x40
2933 #define _SSPBUF_SSP1BUF7 0x80
2934 #define _SSPBUF_BUF7 0x80
2936 //==============================================================================
2939 //==============================================================================
2942 extern __at(0x0212) __sfr SSP1ADD
;
2948 unsigned SSP1ADD0
: 1;
2949 unsigned SSP1ADD1
: 1;
2950 unsigned SSP1ADD2
: 1;
2951 unsigned SSP1ADD3
: 1;
2952 unsigned SSP1ADD4
: 1;
2953 unsigned SSP1ADD5
: 1;
2954 unsigned SSP1ADD6
: 1;
2955 unsigned SSP1ADD7
: 1;
2971 extern __at(0x0212) volatile __SSP1ADDbits_t SSP1ADDbits
;
2973 #define _SSP1ADD0 0x01
2975 #define _SSP1ADD1 0x02
2977 #define _SSP1ADD2 0x04
2979 #define _SSP1ADD3 0x08
2981 #define _SSP1ADD4 0x10
2983 #define _SSP1ADD5 0x20
2985 #define _SSP1ADD6 0x40
2987 #define _SSP1ADD7 0x80
2990 //==============================================================================
2993 //==============================================================================
2996 extern __at(0x0212) __sfr SSPADD
;
3002 unsigned SSP1ADD0
: 1;
3003 unsigned SSP1ADD1
: 1;
3004 unsigned SSP1ADD2
: 1;
3005 unsigned SSP1ADD3
: 1;
3006 unsigned SSP1ADD4
: 1;
3007 unsigned SSP1ADD5
: 1;
3008 unsigned SSP1ADD6
: 1;
3009 unsigned SSP1ADD7
: 1;
3025 extern __at(0x0212) volatile __SSPADDbits_t SSPADDbits
;
3027 #define _SSPADD_SSP1ADD0 0x01
3028 #define _SSPADD_ADD0 0x01
3029 #define _SSPADD_SSP1ADD1 0x02
3030 #define _SSPADD_ADD1 0x02
3031 #define _SSPADD_SSP1ADD2 0x04
3032 #define _SSPADD_ADD2 0x04
3033 #define _SSPADD_SSP1ADD3 0x08
3034 #define _SSPADD_ADD3 0x08
3035 #define _SSPADD_SSP1ADD4 0x10
3036 #define _SSPADD_ADD4 0x10
3037 #define _SSPADD_SSP1ADD5 0x20
3038 #define _SSPADD_ADD5 0x20
3039 #define _SSPADD_SSP1ADD6 0x40
3040 #define _SSPADD_ADD6 0x40
3041 #define _SSPADD_SSP1ADD7 0x80
3042 #define _SSPADD_ADD7 0x80
3044 //==============================================================================
3047 //==============================================================================
3050 extern __at(0x0213) __sfr SSP1MSK
;
3056 unsigned SSP1MSK0
: 1;
3057 unsigned SSP1MSK1
: 1;
3058 unsigned SSP1MSK2
: 1;
3059 unsigned SSP1MSK3
: 1;
3060 unsigned SSP1MSK4
: 1;
3061 unsigned SSP1MSK5
: 1;
3062 unsigned SSP1MSK6
: 1;
3063 unsigned SSP1MSK7
: 1;
3079 extern __at(0x0213) volatile __SSP1MSKbits_t SSP1MSKbits
;
3081 #define _SSP1MSK0 0x01
3083 #define _SSP1MSK1 0x02
3085 #define _SSP1MSK2 0x04
3087 #define _SSP1MSK3 0x08
3089 #define _SSP1MSK4 0x10
3091 #define _SSP1MSK5 0x20
3093 #define _SSP1MSK6 0x40
3095 #define _SSP1MSK7 0x80
3098 //==============================================================================
3101 //==============================================================================
3104 extern __at(0x0213) __sfr SSPMSK
;
3110 unsigned SSP1MSK0
: 1;
3111 unsigned SSP1MSK1
: 1;
3112 unsigned SSP1MSK2
: 1;
3113 unsigned SSP1MSK3
: 1;
3114 unsigned SSP1MSK4
: 1;
3115 unsigned SSP1MSK5
: 1;
3116 unsigned SSP1MSK6
: 1;
3117 unsigned SSP1MSK7
: 1;
3133 extern __at(0x0213) volatile __SSPMSKbits_t SSPMSKbits
;
3135 #define _SSPMSK_SSP1MSK0 0x01
3136 #define _SSPMSK_MSK0 0x01
3137 #define _SSPMSK_SSP1MSK1 0x02
3138 #define _SSPMSK_MSK1 0x02
3139 #define _SSPMSK_SSP1MSK2 0x04
3140 #define _SSPMSK_MSK2 0x04
3141 #define _SSPMSK_SSP1MSK3 0x08
3142 #define _SSPMSK_MSK3 0x08
3143 #define _SSPMSK_SSP1MSK4 0x10
3144 #define _SSPMSK_MSK4 0x10
3145 #define _SSPMSK_SSP1MSK5 0x20
3146 #define _SSPMSK_MSK5 0x20
3147 #define _SSPMSK_SSP1MSK6 0x40
3148 #define _SSPMSK_MSK6 0x40
3149 #define _SSPMSK_SSP1MSK7 0x80
3150 #define _SSPMSK_MSK7 0x80
3152 //==============================================================================
3155 //==============================================================================
3158 extern __at(0x0214) __sfr SSP1STAT
;
3164 unsigned R_NOT_W
: 1;
3167 unsigned D_NOT_A
: 1;
3172 extern __at(0x0214) volatile __SSP1STATbits_t SSP1STATbits
;
3176 #define _R_NOT_W 0x04
3179 #define _D_NOT_A 0x20
3183 //==============================================================================
3186 //==============================================================================
3189 extern __at(0x0214) __sfr SSPSTAT
;
3195 unsigned R_NOT_W
: 1;
3198 unsigned D_NOT_A
: 1;
3203 extern __at(0x0214) volatile __SSPSTATbits_t SSPSTATbits
;
3205 #define _SSPSTAT_BF 0x01
3206 #define _SSPSTAT_UA 0x02
3207 #define _SSPSTAT_R_NOT_W 0x04
3208 #define _SSPSTAT_S 0x08
3209 #define _SSPSTAT_P 0x10
3210 #define _SSPSTAT_D_NOT_A 0x20
3211 #define _SSPSTAT_CKE 0x40
3212 #define _SSPSTAT_SMP 0x80
3214 //==============================================================================
3217 //==============================================================================
3220 extern __at(0x0215) __sfr SSP1CON
;
3243 extern __at(0x0215) volatile __SSP1CONbits_t SSP1CONbits
;
3254 //==============================================================================
3257 //==============================================================================
3260 extern __at(0x0215) __sfr SSP1CON1
;
3283 extern __at(0x0215) volatile __SSP1CON1bits_t SSP1CON1bits
;
3285 #define _SSP1CON1_SSPM0 0x01
3286 #define _SSP1CON1_SSPM1 0x02
3287 #define _SSP1CON1_SSPM2 0x04
3288 #define _SSP1CON1_SSPM3 0x08
3289 #define _SSP1CON1_CKP 0x10
3290 #define _SSP1CON1_SSPEN 0x20
3291 #define _SSP1CON1_SSPOV 0x40
3292 #define _SSP1CON1_WCOL 0x80
3294 //==============================================================================
3297 //==============================================================================
3300 extern __at(0x0215) __sfr SSPCON
;
3323 extern __at(0x0215) volatile __SSPCONbits_t SSPCONbits
;
3325 #define _SSPCON_SSPM0 0x01
3326 #define _SSPCON_SSPM1 0x02
3327 #define _SSPCON_SSPM2 0x04
3328 #define _SSPCON_SSPM3 0x08
3329 #define _SSPCON_CKP 0x10
3330 #define _SSPCON_SSPEN 0x20
3331 #define _SSPCON_SSPOV 0x40
3332 #define _SSPCON_WCOL 0x80
3334 //==============================================================================
3337 //==============================================================================
3340 extern __at(0x0215) __sfr SSPCON1
;
3363 extern __at(0x0215) volatile __SSPCON1bits_t SSPCON1bits
;
3365 #define _SSPCON1_SSPM0 0x01
3366 #define _SSPCON1_SSPM1 0x02
3367 #define _SSPCON1_SSPM2 0x04
3368 #define _SSPCON1_SSPM3 0x08
3369 #define _SSPCON1_CKP 0x10
3370 #define _SSPCON1_SSPEN 0x20
3371 #define _SSPCON1_SSPOV 0x40
3372 #define _SSPCON1_WCOL 0x80
3374 //==============================================================================
3377 //==============================================================================
3380 extern __at(0x0216) __sfr SSP1CON2
;
3390 unsigned ACKSTAT
: 1;
3394 extern __at(0x0216) volatile __SSP1CON2bits_t SSP1CON2bits
;
3402 #define _ACKSTAT 0x40
3405 //==============================================================================
3408 //==============================================================================
3411 extern __at(0x0216) __sfr SSPCON2
;
3421 unsigned ACKSTAT
: 1;
3425 extern __at(0x0216) volatile __SSPCON2bits_t SSPCON2bits
;
3427 #define _SSPCON2_SEN 0x01
3428 #define _SSPCON2_RSEN 0x02
3429 #define _SSPCON2_PEN 0x04
3430 #define _SSPCON2_RCEN 0x08
3431 #define _SSPCON2_ACKEN 0x10
3432 #define _SSPCON2_ACKDT 0x20
3433 #define _SSPCON2_ACKSTAT 0x40
3434 #define _SSPCON2_GCEN 0x80
3436 //==============================================================================
3439 //==============================================================================
3442 extern __at(0x0217) __sfr SSP1CON3
;
3453 unsigned ACKTIM
: 1;
3456 extern __at(0x0217) volatile __SSP1CON3bits_t SSP1CON3bits
;
3465 #define _ACKTIM 0x80
3467 //==============================================================================
3470 //==============================================================================
3473 extern __at(0x0217) __sfr SSPCON3
;
3484 unsigned ACKTIM
: 1;
3487 extern __at(0x0217) volatile __SSPCON3bits_t SSPCON3bits
;
3489 #define _SSPCON3_DHEN 0x01
3490 #define _SSPCON3_AHEN 0x02
3491 #define _SSPCON3_SBCDE 0x04
3492 #define _SSPCON3_SDAHT 0x08
3493 #define _SSPCON3_BOEN 0x10
3494 #define _SSPCON3_SCIE 0x20
3495 #define _SSPCON3_PCIE 0x40
3496 #define _SSPCON3_ACKTIM 0x80
3498 //==============================================================================
3501 //==============================================================================
3504 extern __at(0x028C) __sfr ODCONA
;
3518 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits
;
3526 //==============================================================================
3529 //==============================================================================
3532 extern __at(0x028D) __sfr ODCONB
;
3546 extern __at(0x028D) volatile __ODCONBbits_t ODCONBbits
;
3553 //==============================================================================
3556 //==============================================================================
3559 extern __at(0x028E) __sfr ODCONC
;
3573 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits
;
3584 //==============================================================================
3586 extern __at(0x0291) __sfr CCPR1
;
3587 extern __at(0x0291) __sfr CCPR1L
;
3588 extern __at(0x0292) __sfr CCPR1H
;
3590 //==============================================================================
3593 extern __at(0x0293) __sfr CCP1CON
;
3611 unsigned CCP1MODE0
: 1;
3612 unsigned CCP1MODE1
: 1;
3613 unsigned CCP1MODE2
: 1;
3614 unsigned CCP1MODE3
: 1;
3615 unsigned CCP1FMT
: 1;
3616 unsigned CCP1OUT
: 1;
3618 unsigned CCP1EN
: 1;
3623 unsigned CCP1MODE
: 4;
3634 extern __at(0x0293) volatile __CCP1CONbits_t CCP1CONbits
;
3636 #define _CCP1CON_MODE0 0x01
3637 #define _CCP1CON_CCP1MODE0 0x01
3638 #define _CCP1CON_MODE1 0x02
3639 #define _CCP1CON_CCP1MODE1 0x02
3640 #define _CCP1CON_MODE2 0x04
3641 #define _CCP1CON_CCP1MODE2 0x04
3642 #define _CCP1CON_MODE3 0x08
3643 #define _CCP1CON_CCP1MODE3 0x08
3644 #define _CCP1CON_FMT 0x10
3645 #define _CCP1CON_CCP1FMT 0x10
3646 #define _CCP1CON_OUT 0x20
3647 #define _CCP1CON_CCP1OUT 0x20
3648 #define _CCP1CON_EN 0x80
3649 #define _CCP1CON_CCP1EN 0x80
3651 //==============================================================================
3654 //==============================================================================
3657 extern __at(0x0294) __sfr CCP1CAP
;
3675 unsigned CCP1CTS0
: 1;
3676 unsigned CCP1CTS1
: 1;
3677 unsigned CCP1CTS2
: 1;
3687 unsigned CCP1CTS
: 3;
3698 extern __at(0x0294) volatile __CCP1CAPbits_t CCP1CAPbits
;
3701 #define _CCP1CTS0 0x01
3703 #define _CCP1CTS1 0x02
3705 #define _CCP1CTS2 0x04
3707 //==============================================================================
3709 extern __at(0x0298) __sfr CCPR2
;
3710 extern __at(0x0298) __sfr CCPR2L
;
3711 extern __at(0x0299) __sfr CCPR2H
;
3713 //==============================================================================
3716 extern __at(0x029A) __sfr CCP2CON
;
3734 unsigned CCP2MODE0
: 1;
3735 unsigned CCP2MODE1
: 1;
3736 unsigned CCP2MODE2
: 1;
3737 unsigned CCP2MODE3
: 1;
3738 unsigned CCP2FMT
: 1;
3739 unsigned CCP2OUT
: 1;
3741 unsigned CCP2EN
: 1;
3746 unsigned CCP2MODE
: 4;
3757 extern __at(0x029A) volatile __CCP2CONbits_t CCP2CONbits
;
3759 #define _CCP2CON_MODE0 0x01
3760 #define _CCP2CON_CCP2MODE0 0x01
3761 #define _CCP2CON_MODE1 0x02
3762 #define _CCP2CON_CCP2MODE1 0x02
3763 #define _CCP2CON_MODE2 0x04
3764 #define _CCP2CON_CCP2MODE2 0x04
3765 #define _CCP2CON_MODE3 0x08
3766 #define _CCP2CON_CCP2MODE3 0x08
3767 #define _CCP2CON_FMT 0x10
3768 #define _CCP2CON_CCP2FMT 0x10
3769 #define _CCP2CON_OUT 0x20
3770 #define _CCP2CON_CCP2OUT 0x20
3771 #define _CCP2CON_EN 0x80
3772 #define _CCP2CON_CCP2EN 0x80
3774 //==============================================================================
3777 //==============================================================================
3780 extern __at(0x029B) __sfr CCP2CAP
;
3798 unsigned CCP2CTS0
: 1;
3799 unsigned CCP2CTS1
: 1;
3800 unsigned CCP2CTS2
: 1;
3816 unsigned CCP2CTS
: 3;
3821 extern __at(0x029B) volatile __CCP2CAPbits_t CCP2CAPbits
;
3823 #define _CCP2CAP_CTS0 0x01
3824 #define _CCP2CAP_CCP2CTS0 0x01
3825 #define _CCP2CAP_CTS1 0x02
3826 #define _CCP2CAP_CCP2CTS1 0x02
3827 #define _CCP2CAP_CTS2 0x04
3828 #define _CCP2CAP_CCP2CTS2 0x04
3830 //==============================================================================
3833 //==============================================================================
3836 extern __at(0x029E) __sfr CCPTMRS
;
3842 unsigned CCP1TSEL0
: 1;
3843 unsigned CCP1TSEL1
: 1;
3844 unsigned CCP2TSEL0
: 1;
3845 unsigned CCP2TSEL1
: 1;
3846 unsigned P3TSEL0
: 1;
3847 unsigned P3TSEL1
: 1;
3848 unsigned P4TSEL0
: 1;
3849 unsigned P4TSEL1
: 1;
3854 unsigned CCP1TSEL
: 2;
3861 unsigned CCP2TSEL
: 2;
3868 unsigned P3TSEL
: 2;
3875 unsigned P4TSEL
: 2;
3879 extern __at(0x029E) volatile __CCPTMRSbits_t CCPTMRSbits
;
3881 #define _CCP1TSEL0 0x01
3882 #define _CCP1TSEL1 0x02
3883 #define _CCP2TSEL0 0x04
3884 #define _CCP2TSEL1 0x08
3885 #define _P3TSEL0 0x10
3886 #define _P3TSEL1 0x20
3887 #define _P4TSEL0 0x40
3888 #define _P4TSEL1 0x80
3890 //==============================================================================
3893 //==============================================================================
3896 extern __at(0x030C) __sfr SLRCONA
;
3910 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits
;
3918 //==============================================================================
3921 //==============================================================================
3924 extern __at(0x030D) __sfr SLRCONB
;
3938 extern __at(0x030D) volatile __SLRCONBbits_t SLRCONBbits
;
3945 //==============================================================================
3948 //==============================================================================
3951 extern __at(0x030E) __sfr SLRCONC
;
3965 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits
;
3976 //==============================================================================
3979 //==============================================================================
3982 extern __at(0x038C) __sfr INLVLA
;
3988 unsigned INLVLA0
: 1;
3989 unsigned INLVLA1
: 1;
3990 unsigned INLVLA2
: 1;
3991 unsigned INLVLA3
: 1;
3992 unsigned INLVLA4
: 1;
3993 unsigned INLVLA5
: 1;
4000 unsigned INLVLA
: 6;
4005 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits
;
4007 #define _INLVLA0 0x01
4008 #define _INLVLA1 0x02
4009 #define _INLVLA2 0x04
4010 #define _INLVLA3 0x08
4011 #define _INLVLA4 0x10
4012 #define _INLVLA5 0x20
4014 //==============================================================================
4017 //==============================================================================
4020 extern __at(0x038D) __sfr INLVLB
;
4028 unsigned INLVLB4
: 1;
4029 unsigned INLVLB5
: 1;
4030 unsigned INLVLB6
: 1;
4031 unsigned INLVLB7
: 1;
4034 extern __at(0x038D) volatile __INLVLBbits_t INLVLBbits
;
4036 #define _INLVLB4 0x10
4037 #define _INLVLB5 0x20
4038 #define _INLVLB6 0x40
4039 #define _INLVLB7 0x80
4041 //==============================================================================
4044 //==============================================================================
4047 extern __at(0x038E) __sfr INLVLC
;
4051 unsigned INLVLC0
: 1;
4052 unsigned INLVLC1
: 1;
4053 unsigned INLVLC2
: 1;
4054 unsigned INLVLC3
: 1;
4055 unsigned INLVLC4
: 1;
4056 unsigned INLVLC5
: 1;
4057 unsigned INLVLC6
: 1;
4058 unsigned INLVLC7
: 1;
4061 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits
;
4063 #define _INLVLC0 0x01
4064 #define _INLVLC1 0x02
4065 #define _INLVLC2 0x04
4066 #define _INLVLC3 0x08
4067 #define _INLVLC4 0x10
4068 #define _INLVLC5 0x20
4069 #define _INLVLC6 0x40
4070 #define _INLVLC7 0x80
4072 //==============================================================================
4075 //==============================================================================
4078 extern __at(0x0391) __sfr IOCAP
;
4084 unsigned IOCAP0
: 1;
4085 unsigned IOCAP1
: 1;
4086 unsigned IOCAP2
: 1;
4087 unsigned IOCAP3
: 1;
4088 unsigned IOCAP4
: 1;
4089 unsigned IOCAP5
: 1;
4101 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits
;
4103 #define _IOCAP0 0x01
4104 #define _IOCAP1 0x02
4105 #define _IOCAP2 0x04
4106 #define _IOCAP3 0x08
4107 #define _IOCAP4 0x10
4108 #define _IOCAP5 0x20
4110 //==============================================================================
4113 //==============================================================================
4116 extern __at(0x0392) __sfr IOCAN
;
4122 unsigned IOCAN0
: 1;
4123 unsigned IOCAN1
: 1;
4124 unsigned IOCAN2
: 1;
4125 unsigned IOCAN3
: 1;
4126 unsigned IOCAN4
: 1;
4127 unsigned IOCAN5
: 1;
4139 extern __at(0x0392) volatile __IOCANbits_t IOCANbits
;
4141 #define _IOCAN0 0x01
4142 #define _IOCAN1 0x02
4143 #define _IOCAN2 0x04
4144 #define _IOCAN3 0x08
4145 #define _IOCAN4 0x10
4146 #define _IOCAN5 0x20
4148 //==============================================================================
4151 //==============================================================================
4154 extern __at(0x0393) __sfr IOCAF
;
4160 unsigned IOCAF0
: 1;
4161 unsigned IOCAF1
: 1;
4162 unsigned IOCAF2
: 1;
4163 unsigned IOCAF3
: 1;
4164 unsigned IOCAF4
: 1;
4165 unsigned IOCAF5
: 1;
4177 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits
;
4179 #define _IOCAF0 0x01
4180 #define _IOCAF1 0x02
4181 #define _IOCAF2 0x04
4182 #define _IOCAF3 0x08
4183 #define _IOCAF4 0x10
4184 #define _IOCAF5 0x20
4186 //==============================================================================
4189 //==============================================================================
4192 extern __at(0x0394) __sfr IOCBP
;
4200 unsigned IOCBP4
: 1;
4201 unsigned IOCBP5
: 1;
4202 unsigned IOCBP6
: 1;
4203 unsigned IOCBP7
: 1;
4206 extern __at(0x0394) volatile __IOCBPbits_t IOCBPbits
;
4208 #define _IOCBP4 0x10
4209 #define _IOCBP5 0x20
4210 #define _IOCBP6 0x40
4211 #define _IOCBP7 0x80
4213 //==============================================================================
4216 //==============================================================================
4219 extern __at(0x0395) __sfr IOCBN
;
4227 unsigned IOCBN4
: 1;
4228 unsigned IOCBN5
: 1;
4229 unsigned IOCBN6
: 1;
4230 unsigned IOCBN7
: 1;
4233 extern __at(0x0395) volatile __IOCBNbits_t IOCBNbits
;
4235 #define _IOCBN4 0x10
4236 #define _IOCBN5 0x20
4237 #define _IOCBN6 0x40
4238 #define _IOCBN7 0x80
4240 //==============================================================================
4243 //==============================================================================
4246 extern __at(0x0396) __sfr IOCBF
;
4254 unsigned IOCBF4
: 1;
4255 unsigned IOCBF5
: 1;
4256 unsigned IOCBF6
: 1;
4257 unsigned IOCBF7
: 1;
4260 extern __at(0x0396) volatile __IOCBFbits_t IOCBFbits
;
4262 #define _IOCBF4 0x10
4263 #define _IOCBF5 0x20
4264 #define _IOCBF6 0x40
4265 #define _IOCBF7 0x80
4267 //==============================================================================
4270 //==============================================================================
4273 extern __at(0x0397) __sfr IOCCP
;
4277 unsigned IOCCP0
: 1;
4278 unsigned IOCCP1
: 1;
4279 unsigned IOCCP2
: 1;
4280 unsigned IOCCP3
: 1;
4281 unsigned IOCCP4
: 1;
4282 unsigned IOCCP5
: 1;
4283 unsigned IOCCP6
: 1;
4284 unsigned IOCCP7
: 1;
4287 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits
;
4289 #define _IOCCP0 0x01
4290 #define _IOCCP1 0x02
4291 #define _IOCCP2 0x04
4292 #define _IOCCP3 0x08
4293 #define _IOCCP4 0x10
4294 #define _IOCCP5 0x20
4295 #define _IOCCP6 0x40
4296 #define _IOCCP7 0x80
4298 //==============================================================================
4301 //==============================================================================
4304 extern __at(0x0398) __sfr IOCCN
;
4308 unsigned IOCCN0
: 1;
4309 unsigned IOCCN1
: 1;
4310 unsigned IOCCN2
: 1;
4311 unsigned IOCCN3
: 1;
4312 unsigned IOCCN4
: 1;
4313 unsigned IOCCN5
: 1;
4314 unsigned IOCCN6
: 1;
4315 unsigned IOCCN7
: 1;
4318 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits
;
4320 #define _IOCCN0 0x01
4321 #define _IOCCN1 0x02
4322 #define _IOCCN2 0x04
4323 #define _IOCCN3 0x08
4324 #define _IOCCN4 0x10
4325 #define _IOCCN5 0x20
4326 #define _IOCCN6 0x40
4327 #define _IOCCN7 0x80
4329 //==============================================================================
4332 //==============================================================================
4335 extern __at(0x0399) __sfr IOCCF
;
4339 unsigned IOCCF0
: 1;
4340 unsigned IOCCF1
: 1;
4341 unsigned IOCCF2
: 1;
4342 unsigned IOCCF3
: 1;
4343 unsigned IOCCF4
: 1;
4344 unsigned IOCCF5
: 1;
4345 unsigned IOCCF6
: 1;
4346 unsigned IOCCF7
: 1;
4349 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits
;
4351 #define _IOCCF0 0x01
4352 #define _IOCCF1 0x02
4353 #define _IOCCF2 0x04
4354 #define _IOCCF3 0x08
4355 #define _IOCCF4 0x10
4356 #define _IOCCF5 0x20
4357 #define _IOCCF6 0x40
4358 #define _IOCCF7 0x80
4360 //==============================================================================
4363 //==============================================================================
4366 extern __at(0x040E) __sfr HIDRVC
;
4380 extern __at(0x040E) volatile __HIDRVCbits_t HIDRVCbits
;
4385 //==============================================================================
4387 extern __at(0x0413) __sfr T4TMR
;
4388 extern __at(0x0413) __sfr TMR4
;
4389 extern __at(0x0414) __sfr PR4
;
4390 extern __at(0x0414) __sfr T4PR
;
4392 //==============================================================================
4395 extern __at(0x0415) __sfr T4CON
;
4401 unsigned OUTPS0
: 1;
4402 unsigned OUTPS1
: 1;
4403 unsigned OUTPS2
: 1;
4404 unsigned OUTPS3
: 1;
4413 unsigned T4OUTPS0
: 1;
4414 unsigned T4OUTPS1
: 1;
4415 unsigned T4OUTPS2
: 1;
4416 unsigned T4OUTPS3
: 1;
4417 unsigned T4CKPS0
: 1;
4418 unsigned T4CKPS1
: 1;
4419 unsigned T4CKPS2
: 1;
4432 unsigned TMR4ON
: 1;
4437 unsigned T4OUTPS
: 4;
4457 unsigned T4CKPS
: 3;
4462 extern __at(0x0415) volatile __T4CONbits_t T4CONbits
;
4464 #define _T4CON_OUTPS0 0x01
4465 #define _T4CON_T4OUTPS0 0x01
4466 #define _T4CON_OUTPS1 0x02
4467 #define _T4CON_T4OUTPS1 0x02
4468 #define _T4CON_OUTPS2 0x04
4469 #define _T4CON_T4OUTPS2 0x04
4470 #define _T4CON_OUTPS3 0x08
4471 #define _T4CON_T4OUTPS3 0x08
4472 #define _T4CON_CKPS0 0x10
4473 #define _T4CON_T4CKPS0 0x10
4474 #define _T4CON_CKPS1 0x20
4475 #define _T4CON_T4CKPS1 0x20
4476 #define _T4CON_CKPS2 0x40
4477 #define _T4CON_T4CKPS2 0x40
4478 #define _T4CON_ON 0x80
4479 #define _T4CON_T4ON 0x80
4480 #define _T4CON_TMR4ON 0x80
4482 //==============================================================================
4485 //==============================================================================
4488 extern __at(0x0416) __sfr T4HLT
;
4499 unsigned CKSYNC
: 1;
4506 unsigned T4MODE0
: 1;
4507 unsigned T4MODE1
: 1;
4508 unsigned T4MODE2
: 1;
4509 unsigned T4MODE3
: 1;
4510 unsigned T4MODE4
: 1;
4511 unsigned T4CKSYNC
: 1;
4512 unsigned T4CKPOL
: 1;
4513 unsigned T4PSYNC
: 1;
4518 unsigned T4MODE
: 5;
4529 extern __at(0x0416) volatile __T4HLTbits_t T4HLTbits
;
4531 #define _T4HLT_MODE0 0x01
4532 #define _T4HLT_T4MODE0 0x01
4533 #define _T4HLT_MODE1 0x02
4534 #define _T4HLT_T4MODE1 0x02
4535 #define _T4HLT_MODE2 0x04
4536 #define _T4HLT_T4MODE2 0x04
4537 #define _T4HLT_MODE3 0x08
4538 #define _T4HLT_T4MODE3 0x08
4539 #define _T4HLT_MODE4 0x10
4540 #define _T4HLT_T4MODE4 0x10
4541 #define _T4HLT_CKSYNC 0x20
4542 #define _T4HLT_T4CKSYNC 0x20
4543 #define _T4HLT_CKPOL 0x40
4544 #define _T4HLT_T4CKPOL 0x40
4545 #define _T4HLT_PSYNC 0x80
4546 #define _T4HLT_T4PSYNC 0x80
4548 //==============================================================================
4551 //==============================================================================
4554 extern __at(0x0417) __sfr T4CLKCON
;
4595 extern __at(0x0417) volatile __T4CLKCONbits_t T4CLKCONbits
;
4597 #define _T4CLKCON_CS0 0x01
4598 #define _T4CLKCON_T4CS0 0x01
4599 #define _T4CLKCON_CS1 0x02
4600 #define _T4CLKCON_T4CS1 0x02
4601 #define _T4CLKCON_CS2 0x04
4602 #define _T4CLKCON_T4CS2 0x04
4603 #define _T4CLKCON_CS3 0x08
4604 #define _T4CLKCON_T4CS3 0x08
4606 //==============================================================================
4609 //==============================================================================
4612 extern __at(0x0418) __sfr T4RST
;
4630 unsigned T4RSEL0
: 1;
4631 unsigned T4RSEL1
: 1;
4632 unsigned T4RSEL2
: 1;
4633 unsigned T4RSEL3
: 1;
4642 unsigned T4RSEL
: 4;
4653 extern __at(0x0418) volatile __T4RSTbits_t T4RSTbits
;
4655 #define _T4RST_RSEL0 0x01
4656 #define _T4RST_T4RSEL0 0x01
4657 #define _T4RST_RSEL1 0x02
4658 #define _T4RST_T4RSEL1 0x02
4659 #define _T4RST_RSEL2 0x04
4660 #define _T4RST_T4RSEL2 0x04
4661 #define _T4RST_RSEL3 0x08
4662 #define _T4RST_T4RSEL3 0x08
4664 //==============================================================================
4666 extern __at(0x041A) __sfr T6TMR
;
4667 extern __at(0x041A) __sfr TMR6
;
4668 extern __at(0x041B) __sfr PR6
;
4669 extern __at(0x041B) __sfr T6PR
;
4671 //==============================================================================
4674 extern __at(0x041C) __sfr T6CON
;
4680 unsigned OUTPS0
: 1;
4681 unsigned OUTPS1
: 1;
4682 unsigned OUTPS2
: 1;
4683 unsigned OUTPS3
: 1;
4692 unsigned T6OUTPS0
: 1;
4693 unsigned T6OUTPS1
: 1;
4694 unsigned T6OUTPS2
: 1;
4695 unsigned T6OUTPS3
: 1;
4696 unsigned T6CKPS0
: 1;
4697 unsigned T6CKPS1
: 1;
4698 unsigned T6CKPS2
: 1;
4711 unsigned TMR6ON
: 1;
4722 unsigned T6OUTPS
: 4;
4729 unsigned T6CKPS
: 3;
4741 extern __at(0x041C) volatile __T6CONbits_t T6CONbits
;
4743 #define _T6CON_OUTPS0 0x01
4744 #define _T6CON_T6OUTPS0 0x01
4745 #define _T6CON_OUTPS1 0x02
4746 #define _T6CON_T6OUTPS1 0x02
4747 #define _T6CON_OUTPS2 0x04
4748 #define _T6CON_T6OUTPS2 0x04
4749 #define _T6CON_OUTPS3 0x08
4750 #define _T6CON_T6OUTPS3 0x08
4751 #define _T6CON_CKPS0 0x10
4752 #define _T6CON_T6CKPS0 0x10
4753 #define _T6CON_CKPS1 0x20
4754 #define _T6CON_T6CKPS1 0x20
4755 #define _T6CON_CKPS2 0x40
4756 #define _T6CON_T6CKPS2 0x40
4757 #define _T6CON_ON 0x80
4758 #define _T6CON_T6ON 0x80
4759 #define _T6CON_TMR6ON 0x80
4761 //==============================================================================
4764 //==============================================================================
4767 extern __at(0x041D) __sfr T6HLT
;
4778 unsigned CKSYNC
: 1;
4785 unsigned T6MODE0
: 1;
4786 unsigned T6MODE1
: 1;
4787 unsigned T6MODE2
: 1;
4788 unsigned T6MODE3
: 1;
4789 unsigned T6MODE4
: 1;
4790 unsigned T6CKSYNC
: 1;
4791 unsigned T6CKPOL
: 1;
4792 unsigned T6PSYNC
: 1;
4803 unsigned T6MODE
: 5;
4808 extern __at(0x041D) volatile __T6HLTbits_t T6HLTbits
;
4810 #define _T6HLT_MODE0 0x01
4811 #define _T6HLT_T6MODE0 0x01
4812 #define _T6HLT_MODE1 0x02
4813 #define _T6HLT_T6MODE1 0x02
4814 #define _T6HLT_MODE2 0x04
4815 #define _T6HLT_T6MODE2 0x04
4816 #define _T6HLT_MODE3 0x08
4817 #define _T6HLT_T6MODE3 0x08
4818 #define _T6HLT_MODE4 0x10
4819 #define _T6HLT_T6MODE4 0x10
4820 #define _T6HLT_CKSYNC 0x20
4821 #define _T6HLT_T6CKSYNC 0x20
4822 #define _T6HLT_CKPOL 0x40
4823 #define _T6HLT_T6CKPOL 0x40
4824 #define _T6HLT_PSYNC 0x80
4825 #define _T6HLT_T6PSYNC 0x80
4827 //==============================================================================
4830 //==============================================================================
4833 extern __at(0x041E) __sfr T6CLKCON
;
4874 extern __at(0x041E) volatile __T6CLKCONbits_t T6CLKCONbits
;
4876 #define _T6CLKCON_CS0 0x01
4877 #define _T6CLKCON_T6CS0 0x01
4878 #define _T6CLKCON_CS1 0x02
4879 #define _T6CLKCON_T6CS1 0x02
4880 #define _T6CLKCON_CS2 0x04
4881 #define _T6CLKCON_T6CS2 0x04
4882 #define _T6CLKCON_CS3 0x08
4883 #define _T6CLKCON_T6CS3 0x08
4885 //==============================================================================
4888 //==============================================================================
4891 extern __at(0x041F) __sfr T6RST
;
4909 unsigned T6RSEL0
: 1;
4910 unsigned T6RSEL1
: 1;
4911 unsigned T6RSEL2
: 1;
4912 unsigned T6RSEL3
: 1;
4921 unsigned T6RSEL
: 4;
4932 extern __at(0x041F) volatile __T6RSTbits_t T6RSTbits
;
4934 #define _T6RST_RSEL0 0x01
4935 #define _T6RST_T6RSEL0 0x01
4936 #define _T6RST_RSEL1 0x02
4937 #define _T6RST_T6RSEL1 0x02
4938 #define _T6RST_RSEL2 0x04
4939 #define _T6RST_T6RSEL2 0x04
4940 #define _T6RST_RSEL3 0x08
4941 #define _T6RST_T6RSEL3 0x08
4943 //==============================================================================
4945 extern __at(0x0493) __sfr TMR3L
;
4946 extern __at(0x0494) __sfr TMR3H
;
4948 //==============================================================================
4951 extern __at(0x0495) __sfr T3CON
;
4957 unsigned TMR3ON
: 1;
4959 unsigned T3SYNC
: 1;
4961 unsigned T3CKPS0
: 1;
4962 unsigned T3CKPS1
: 1;
4963 unsigned TMR3CS0
: 1;
4964 unsigned TMR3CS1
: 1;
4970 unsigned T3CKPS
: 2;
4977 unsigned TMR3CS
: 2;
4981 extern __at(0x0495) volatile __T3CONbits_t T3CONbits
;
4983 #define _TMR3ON 0x01
4984 #define _T3SYNC 0x04
4985 #define _T3CKPS0 0x10
4986 #define _T3CKPS1 0x20
4987 #define _TMR3CS0 0x40
4988 #define _TMR3CS1 0x80
4990 //==============================================================================
4993 //==============================================================================
4996 extern __at(0x0496) __sfr T3GCON
;
5002 unsigned T3GSS0
: 1;
5003 unsigned T3GSS1
: 1;
5004 unsigned T3GVAL
: 1;
5005 unsigned T3GGO_NOT_DONE
: 1;
5006 unsigned T3GSPM
: 1;
5008 unsigned T3GPOL
: 1;
5009 unsigned TMR3GE
: 1;
5019 extern __at(0x0496) volatile __T3GCONbits_t T3GCONbits
;
5021 #define _T3GSS0 0x01
5022 #define _T3GSS1 0x02
5023 #define _T3GVAL 0x04
5024 #define _T3GGO_NOT_DONE 0x08
5025 #define _T3GSPM 0x10
5027 #define _T3GPOL 0x40
5028 #define _TMR3GE 0x80
5030 //==============================================================================
5032 extern __at(0x049A) __sfr TMR5L
;
5033 extern __at(0x049B) __sfr TMR5H
;
5035 //==============================================================================
5038 extern __at(0x049C) __sfr T5CON
;
5044 unsigned TMR5ON
: 1;
5046 unsigned T5SYNC
: 1;
5048 unsigned T5CKPS0
: 1;
5049 unsigned T5CKPS1
: 1;
5050 unsigned TMR5CS0
: 1;
5051 unsigned TMR5CS1
: 1;
5057 unsigned T5CKPS
: 2;
5064 unsigned TMR5CS
: 2;
5068 extern __at(0x049C) volatile __T5CONbits_t T5CONbits
;
5070 #define _TMR5ON 0x01
5071 #define _T5SYNC 0x04
5072 #define _T5CKPS0 0x10
5073 #define _T5CKPS1 0x20
5074 #define _TMR5CS0 0x40
5075 #define _TMR5CS1 0x80
5077 //==============================================================================
5080 //==============================================================================
5083 extern __at(0x049D) __sfr T5GCON
;
5089 unsigned T5GSS0
: 1;
5090 unsigned T5GSS1
: 1;
5091 unsigned T5GVAL
: 1;
5092 unsigned T5GGO_NOT_DONE
: 1;
5093 unsigned T5GSPM
: 1;
5095 unsigned T5GPOL
: 1;
5096 unsigned TMR5GE
: 1;
5106 extern __at(0x049D) volatile __T5GCONbits_t T5GCONbits
;
5108 #define _T5GSS0 0x01
5109 #define _T5GSS1 0x02
5110 #define _T5GVAL 0x04
5111 #define _T5GGO_NOT_DONE 0x08
5112 #define _T5GSPM 0x10
5114 #define _T5GPOL 0x40
5115 #define _TMR5GE 0x80
5117 //==============================================================================
5119 extern __at(0x058C) __sfr PID1SET
;
5121 //==============================================================================
5124 extern __at(0x058C) __sfr PID1SETL
;
5130 unsigned PID1SET0
: 1;
5131 unsigned PID1SET1
: 1;
5132 unsigned PID1SET2
: 1;
5133 unsigned PID1SET3
: 1;
5134 unsigned PID1SET4
: 1;
5135 unsigned PID1SET5
: 1;
5136 unsigned PID1SET6
: 1;
5137 unsigned PID1SET7
: 1;
5153 extern __at(0x058C) volatile __PID1SETLbits_t PID1SETLbits
;
5155 #define _PID1SET0 0x01
5157 #define _PID1SET1 0x02
5159 #define _PID1SET2 0x04
5161 #define _PID1SET3 0x08
5163 #define _PID1SET4 0x10
5165 #define _PID1SET5 0x20
5167 #define _PID1SET6 0x40
5169 #define _PID1SET7 0x80
5172 //==============================================================================
5175 //==============================================================================
5178 extern __at(0x058D) __sfr PID1SETH
;
5184 unsigned PID1SET8
: 1;
5185 unsigned PID1SET9
: 1;
5186 unsigned PID1SET10
: 1;
5187 unsigned PID1SET11
: 1;
5188 unsigned PID1SET12
: 1;
5189 unsigned PID1SET13
: 1;
5190 unsigned PID1SET14
: 1;
5191 unsigned PID1SET15
: 1;
5207 extern __at(0x058D) volatile __PID1SETHbits_t PID1SETHbits
;
5209 #define _PID1SET8 0x01
5211 #define _PID1SET9 0x02
5213 #define _PID1SET10 0x04
5215 #define _PID1SET11 0x08
5217 #define _PID1SET12 0x10
5219 #define _PID1SET13 0x20
5221 #define _PID1SET14 0x40
5223 #define _PID1SET15 0x80
5226 //==============================================================================
5228 extern __at(0x058E) __sfr PID1IN
;
5230 //==============================================================================
5233 extern __at(0x058E) __sfr PID1INL
;
5239 unsigned PID1IN0
: 1;
5240 unsigned PID1IN1
: 1;
5241 unsigned PID1IN2
: 1;
5242 unsigned PID1IN3
: 1;
5243 unsigned PID1IN4
: 1;
5244 unsigned PID1IN5
: 1;
5245 unsigned PID1IN6
: 1;
5246 unsigned PID1IN7
: 1;
5262 extern __at(0x058E) volatile __PID1INLbits_t PID1INLbits
;
5264 #define _PID1IN0 0x01
5266 #define _PID1IN1 0x02
5268 #define _PID1IN2 0x04
5270 #define _PID1IN3 0x08
5272 #define _PID1IN4 0x10
5274 #define _PID1IN5 0x20
5276 #define _PID1IN6 0x40
5278 #define _PID1IN7 0x80
5281 //==============================================================================
5284 //==============================================================================
5287 extern __at(0x058F) __sfr PID1INH
;
5293 unsigned PID1IN8
: 1;
5294 unsigned PID1IN9
: 1;
5295 unsigned PID1IN10
: 1;
5296 unsigned PID1IN11
: 1;
5297 unsigned PID1IN12
: 1;
5298 unsigned PID1IN13
: 1;
5299 unsigned PID1IN14
: 1;
5300 unsigned PID1IN15
: 1;
5316 extern __at(0x058F) volatile __PID1INHbits_t PID1INHbits
;
5318 #define _PID1IN8 0x01
5320 #define _PID1IN9 0x02
5322 #define _PID1IN10 0x04
5324 #define _PID1IN11 0x08
5326 #define _PID1IN12 0x10
5328 #define _PID1IN13 0x20
5330 #define _PID1IN14 0x40
5332 #define _PID1IN15 0x80
5335 //==============================================================================
5337 extern __at(0x0590) __sfr PID1K1
;
5339 //==============================================================================
5342 extern __at(0x0590) __sfr PID1K1L
;
5348 unsigned PID1K10
: 1;
5349 unsigned PID1K11
: 1;
5350 unsigned PID1K12
: 1;
5351 unsigned PID1K13
: 1;
5352 unsigned PID1K14
: 1;
5353 unsigned PID1K15
: 1;
5354 unsigned PID1K16
: 1;
5355 unsigned PID1K17
: 1;
5371 extern __at(0x0590) volatile __PID1K1Lbits_t PID1K1Lbits
;
5373 #define _PID1K10 0x01
5375 #define _PID1K11 0x02
5377 #define _PID1K12 0x04
5379 #define _PID1K13 0x08
5381 #define _PID1K14 0x10
5383 #define _PID1K15 0x20
5385 #define _PID1K16 0x40
5387 #define _PID1K17 0x80
5390 //==============================================================================
5393 //==============================================================================
5396 extern __at(0x0591) __sfr PID1K1H
;
5402 unsigned PID1K18
: 1;
5403 unsigned PID1K19
: 1;
5404 unsigned PID1K110
: 1;
5405 unsigned PID1K111
: 1;
5406 unsigned PID1K112
: 1;
5407 unsigned PID1K113
: 1;
5408 unsigned PID1K114
: 1;
5409 unsigned PID1K115
: 1;
5425 extern __at(0x0591) volatile __PID1K1Hbits_t PID1K1Hbits
;
5427 #define _PID1K18 0x01
5429 #define _PID1K19 0x02
5431 #define _PID1K110 0x04
5433 #define _PID1K111 0x08
5435 #define _PID1K112 0x10
5437 #define _PID1K113 0x20
5439 #define _PID1K114 0x40
5441 #define _PID1K115 0x80
5444 //==============================================================================
5446 extern __at(0x0592) __sfr PID1K2
;
5448 //==============================================================================
5451 extern __at(0x0592) __sfr PID1K2L
;
5457 unsigned PID1K20
: 1;
5458 unsigned PID1K21
: 1;
5459 unsigned PID1K22
: 1;
5460 unsigned PID1K23
: 1;
5461 unsigned PID1K24
: 1;
5462 unsigned PID1K25
: 1;
5463 unsigned PID1K26
: 1;
5464 unsigned PID1K27
: 1;
5480 extern __at(0x0592) volatile __PID1K2Lbits_t PID1K2Lbits
;
5482 #define _PID1K20 0x01
5484 #define _PID1K21 0x02
5486 #define _PID1K22 0x04
5488 #define _PID1K23 0x08
5490 #define _PID1K24 0x10
5492 #define _PID1K25 0x20
5494 #define _PID1K26 0x40
5496 #define _PID1K27 0x80
5499 //==============================================================================
5502 //==============================================================================
5505 extern __at(0x0593) __sfr PID1K2H
;
5511 unsigned PID1K28
: 1;
5512 unsigned PID1K29
: 1;
5513 unsigned PID1K210
: 1;
5514 unsigned PID1K211
: 1;
5515 unsigned PID1K212
: 1;
5516 unsigned PID1K213
: 1;
5517 unsigned PID1K214
: 1;
5518 unsigned PID1K215
: 1;
5534 extern __at(0x0593) volatile __PID1K2Hbits_t PID1K2Hbits
;
5536 #define _PID1K28 0x01
5538 #define _PID1K29 0x02
5540 #define _PID1K210 0x04
5542 #define _PID1K211 0x08
5544 #define _PID1K212 0x10
5546 #define _PID1K213 0x20
5548 #define _PID1K214 0x40
5550 #define _PID1K215 0x80
5553 //==============================================================================
5555 extern __at(0x0594) __sfr PID1K3
;
5557 //==============================================================================
5560 extern __at(0x0594) __sfr PID1K3L
;
5566 unsigned PID1K30
: 1;
5567 unsigned PID1K31
: 1;
5568 unsigned PID1K32
: 1;
5569 unsigned PID1K33
: 1;
5570 unsigned PID1K34
: 1;
5571 unsigned PID1K35
: 1;
5572 unsigned PID1K36
: 1;
5573 unsigned PID1K37
: 1;
5589 extern __at(0x0594) volatile __PID1K3Lbits_t PID1K3Lbits
;
5591 #define _PID1K30 0x01
5593 #define _PID1K31 0x02
5595 #define _PID1K32 0x04
5597 #define _PID1K33 0x08
5599 #define _PID1K34 0x10
5601 #define _PID1K35 0x20
5603 #define _PID1K36 0x40
5605 #define _PID1K37 0x80
5608 //==============================================================================
5611 //==============================================================================
5614 extern __at(0x0595) __sfr PID1K3H
;
5620 unsigned PID1K38
: 1;
5621 unsigned PID1K39
: 1;
5622 unsigned PID1K310
: 1;
5623 unsigned PID1K311
: 1;
5624 unsigned PID1K312
: 1;
5625 unsigned PID1K313
: 1;
5626 unsigned PID1K314
: 1;
5627 unsigned PID1K315
: 1;
5643 extern __at(0x0595) volatile __PID1K3Hbits_t PID1K3Hbits
;
5645 #define _PID1K38 0x01
5647 #define _PID1K39 0x02
5649 #define _PID1K310 0x04
5651 #define _PID1K311 0x08
5653 #define _PID1K312 0x10
5655 #define _PID1K313 0x20
5657 #define _PID1K314 0x40
5659 #define _PID1K315 0x80
5662 //==============================================================================
5664 extern __at(0x0596) __sfr PID1OUT
;
5666 //==============================================================================
5669 extern __at(0x0596) __sfr PID1OUTLL
;
5675 unsigned PID1OUT0
: 1;
5676 unsigned PID1OUT1
: 1;
5677 unsigned PID1OUT2
: 1;
5678 unsigned PID1OUT3
: 1;
5679 unsigned PID1OUT4
: 1;
5680 unsigned PID1OUT5
: 1;
5681 unsigned PID1OUT6
: 1;
5682 unsigned PID1OUT7
: 1;
5696 } __PID1OUTLLbits_t
;
5698 extern __at(0x0596) volatile __PID1OUTLLbits_t PID1OUTLLbits
;
5700 #define _PID1OUT0 0x01
5702 #define _PID1OUT1 0x02
5704 #define _PID1OUT2 0x04
5706 #define _PID1OUT3 0x08
5708 #define _PID1OUT4 0x10
5710 #define _PID1OUT5 0x20
5712 #define _PID1OUT6 0x40
5714 #define _PID1OUT7 0x80
5717 //==============================================================================
5720 //==============================================================================
5723 extern __at(0x0597) __sfr PID1OUTLH
;
5729 unsigned PID1OUT8
: 1;
5730 unsigned PID1OUT9
: 1;
5731 unsigned PID1OUT10
: 1;
5732 unsigned PID1OUT11
: 1;
5733 unsigned PID1OUT12
: 1;
5734 unsigned PID1OUT13
: 1;
5735 unsigned PID1OUT14
: 1;
5736 unsigned PID1OUT15
: 1;
5750 } __PID1OUTLHbits_t
;
5752 extern __at(0x0597) volatile __PID1OUTLHbits_t PID1OUTLHbits
;
5754 #define _PID1OUT8 0x01
5756 #define _PID1OUT9 0x02
5758 #define _PID1OUT10 0x04
5760 #define _PID1OUT11 0x08
5762 #define _PID1OUT12 0x10
5764 #define _PID1OUT13 0x20
5766 #define _PID1OUT14 0x40
5768 #define _PID1OUT15 0x80
5771 //==============================================================================
5774 //==============================================================================
5777 extern __at(0x0598) __sfr PID1OUTHL
;
5783 unsigned PID1OUT16
: 1;
5784 unsigned PID1OUT17
: 1;
5785 unsigned PID1OUT18
: 1;
5786 unsigned PID1OUT19
: 1;
5787 unsigned PID1OUT20
: 1;
5788 unsigned PID1OUT21
: 1;
5789 unsigned PID1OUT22
: 1;
5790 unsigned PID1OUT23
: 1;
5804 } __PID1OUTHLbits_t
;
5806 extern __at(0x0598) volatile __PID1OUTHLbits_t PID1OUTHLbits
;
5808 #define _PID1OUT16 0x01
5810 #define _PID1OUT17 0x02
5812 #define _PID1OUT18 0x04
5814 #define _PID1OUT19 0x08
5816 #define _PID1OUT20 0x10
5818 #define _PID1OUT21 0x20
5820 #define _PID1OUT22 0x40
5822 #define _PID1OUT23 0x80
5825 //==============================================================================
5828 //==============================================================================
5831 extern __at(0x0599) __sfr PID1OUTHH
;
5837 unsigned PID1OUT24
: 1;
5838 unsigned PID1OUT25
: 1;
5839 unsigned PID1OUT26
: 1;
5840 unsigned PID1OUT27
: 1;
5841 unsigned PID1OUT28
: 1;
5842 unsigned PID1OUT29
: 1;
5843 unsigned PID1OUT30
: 1;
5844 unsigned PID1OUT31
: 1;
5858 } __PID1OUTHHbits_t
;
5860 extern __at(0x0599) volatile __PID1OUTHHbits_t PID1OUTHHbits
;
5862 #define _PID1OUT24 0x01
5864 #define _PID1OUT25 0x02
5866 #define _PID1OUT26 0x04
5868 #define _PID1OUT27 0x08
5870 #define _PID1OUT28 0x10
5872 #define _PID1OUT29 0x20
5874 #define _PID1OUT30 0x40
5876 #define _PID1OUT31 0x80
5879 //==============================================================================
5882 //==============================================================================
5885 extern __at(0x059A) __sfr PID1OUTU
;
5891 unsigned PID1OUT32
: 1;
5892 unsigned PID1OUT33
: 1;
5893 unsigned PID1OUT34
: 1;
5894 unsigned PID1OUT35
: 1;
5914 extern __at(0x059A) volatile __PID1OUTUbits_t PID1OUTUbits
;
5916 #define _PID1OUT32 0x01
5918 #define _PID1OUT33 0x02
5920 #define _PID1OUT34 0x04
5922 #define _PID1OUT35 0x08
5925 //==============================================================================
5927 extern __at(0x059B) __sfr PID1Z1
;
5929 //==============================================================================
5932 extern __at(0x059B) __sfr PID1Z1L
;
5938 unsigned PID1Z10
: 1;
5939 unsigned PID1Z11
: 1;
5940 unsigned PID1Z12
: 1;
5941 unsigned PID1Z13
: 1;
5942 unsigned PID1Z14
: 1;
5943 unsigned PID1Z15
: 1;
5944 unsigned PID1Z16
: 1;
5945 unsigned PID1Z17
: 1;
5961 extern __at(0x059B) volatile __PID1Z1Lbits_t PID1Z1Lbits
;
5963 #define _PID1Z10 0x01
5965 #define _PID1Z11 0x02
5967 #define _PID1Z12 0x04
5969 #define _PID1Z13 0x08
5971 #define _PID1Z14 0x10
5973 #define _PID1Z15 0x20
5975 #define _PID1Z16 0x40
5977 #define _PID1Z17 0x80
5980 //==============================================================================
5983 //==============================================================================
5986 extern __at(0x059C) __sfr PID1Z1H
;
5992 unsigned PID1Z18
: 1;
5993 unsigned PID1Z19
: 1;
5994 unsigned PID1Z110
: 1;
5995 unsigned PID1Z111
: 1;
5996 unsigned PID1Z112
: 1;
5997 unsigned PID1Z113
: 1;
5998 unsigned PID1Z114
: 1;
5999 unsigned PID1Z115
: 1;
6015 extern __at(0x059C) volatile __PID1Z1Hbits_t PID1Z1Hbits
;
6017 #define _PID1Z18 0x01
6019 #define _PID1Z19 0x02
6021 #define _PID1Z110 0x04
6023 #define _PID1Z111 0x08
6025 #define _PID1Z112 0x10
6027 #define _PID1Z113 0x20
6029 #define _PID1Z114 0x40
6031 #define _PID1Z115 0x80
6034 //==============================================================================
6037 //==============================================================================
6040 extern __at(0x059D) __sfr PID1Z1U
;
6046 unsigned PID1Z116
: 1;
6069 extern __at(0x059D) volatile __PID1Z1Ubits_t PID1Z1Ubits
;
6071 #define _PID1Z116 0x01
6074 //==============================================================================
6076 extern __at(0x060C) __sfr PID1Z2
;
6078 //==============================================================================
6081 extern __at(0x060C) __sfr PID1Z2L
;
6087 unsigned PID1Z20
: 1;
6088 unsigned PID1Z21
: 1;
6089 unsigned PID1Z22
: 1;
6090 unsigned PID1Z23
: 1;
6091 unsigned PID1Z24
: 1;
6092 unsigned PID1Z25
: 1;
6093 unsigned PID1Z26
: 1;
6094 unsigned PID1Z27
: 1;
6110 extern __at(0x060C) volatile __PID1Z2Lbits_t PID1Z2Lbits
;
6112 #define _PID1Z20 0x01
6114 #define _PID1Z21 0x02
6116 #define _PID1Z22 0x04
6118 #define _PID1Z23 0x08
6120 #define _PID1Z24 0x10
6122 #define _PID1Z25 0x20
6124 #define _PID1Z26 0x40
6126 #define _PID1Z27 0x80
6129 //==============================================================================
6132 //==============================================================================
6135 extern __at(0x060D) __sfr PID1Z2H
;
6141 unsigned PID1Z28
: 1;
6142 unsigned PID1Z29
: 1;
6143 unsigned PID1Z210
: 1;
6144 unsigned PID1Z211
: 1;
6145 unsigned PID1Z212
: 1;
6146 unsigned PID1Z213
: 1;
6147 unsigned PID1Z214
: 1;
6148 unsigned PID1Z215
: 1;
6164 extern __at(0x060D) volatile __PID1Z2Hbits_t PID1Z2Hbits
;
6166 #define _PID1Z28 0x01
6168 #define _PID1Z29 0x02
6170 #define _PID1Z210 0x04
6172 #define _PID1Z211 0x08
6174 #define _PID1Z212 0x10
6176 #define _PID1Z213 0x20
6178 #define _PID1Z214 0x40
6180 #define _PID1Z215 0x80
6183 //==============================================================================
6186 //==============================================================================
6189 extern __at(0x060E) __sfr PID1Z2U
;
6195 unsigned PID1Z216
: 1;
6218 extern __at(0x060E) volatile __PID1Z2Ubits_t PID1Z2Ubits
;
6220 #define _PID1Z216 0x01
6223 //==============================================================================
6225 extern __at(0x060F) __sfr PID1ACC
;
6227 //==============================================================================
6230 extern __at(0x060F) __sfr PID1ACCLL
;
6236 unsigned PID1ACC0
: 1;
6237 unsigned PID1ACC1
: 1;
6238 unsigned PID1ACC2
: 1;
6239 unsigned PID1ACC3
: 1;
6240 unsigned PID1ACC4
: 1;
6241 unsigned PID1ACC5
: 1;
6242 unsigned PID1ACC6
: 1;
6243 unsigned PID1ACC7
: 1;
6257 } __PID1ACCLLbits_t
;
6259 extern __at(0x060F) volatile __PID1ACCLLbits_t PID1ACCLLbits
;
6261 #define _PID1ACCLL_PID1ACC0 0x01
6262 #define _PID1ACCLL_ACC0 0x01
6263 #define _PID1ACCLL_PID1ACC1 0x02
6264 #define _PID1ACCLL_ACC1 0x02
6265 #define _PID1ACCLL_PID1ACC2 0x04
6266 #define _PID1ACCLL_ACC2 0x04
6267 #define _PID1ACCLL_PID1ACC3 0x08
6268 #define _PID1ACCLL_ACC3 0x08
6269 #define _PID1ACCLL_PID1ACC4 0x10
6270 #define _PID1ACCLL_ACC4 0x10
6271 #define _PID1ACCLL_PID1ACC5 0x20
6272 #define _PID1ACCLL_ACC5 0x20
6273 #define _PID1ACCLL_PID1ACC6 0x40
6274 #define _PID1ACCLL_ACC6 0x40
6275 #define _PID1ACCLL_PID1ACC7 0x80
6276 #define _PID1ACCLL_ACC7 0x80
6278 //==============================================================================
6281 //==============================================================================
6284 extern __at(0x0610) __sfr PID1ACCLH
;
6290 unsigned PID1ACC8
: 1;
6291 unsigned PID1ACC9
: 1;
6292 unsigned PID1ACC10
: 1;
6293 unsigned PID1ACC11
: 1;
6294 unsigned PID1ACC12
: 1;
6295 unsigned PID1ACC13
: 1;
6296 unsigned PID1ACC14
: 1;
6297 unsigned PID1ACC15
: 1;
6311 } __PID1ACCLHbits_t
;
6313 extern __at(0x0610) volatile __PID1ACCLHbits_t PID1ACCLHbits
;
6315 #define _PID1ACCLH_PID1ACC8 0x01
6316 #define _PID1ACCLH_ACC8 0x01
6317 #define _PID1ACCLH_PID1ACC9 0x02
6318 #define _PID1ACCLH_ACC9 0x02
6319 #define _PID1ACCLH_PID1ACC10 0x04
6320 #define _PID1ACCLH_ACC10 0x04
6321 #define _PID1ACCLH_PID1ACC11 0x08
6322 #define _PID1ACCLH_ACC11 0x08
6323 #define _PID1ACCLH_PID1ACC12 0x10
6324 #define _PID1ACCLH_ACC12 0x10
6325 #define _PID1ACCLH_PID1ACC13 0x20
6326 #define _PID1ACCLH_ACC13 0x20
6327 #define _PID1ACCLH_PID1ACC14 0x40
6328 #define _PID1ACCLH_ACC14 0x40
6329 #define _PID1ACCLH_PID1ACC15 0x80
6330 #define _PID1ACCLH_ACC15 0x80
6332 //==============================================================================
6335 //==============================================================================
6338 extern __at(0x0611) __sfr PID1ACCHL
;
6344 unsigned PID1ACC16
: 1;
6345 unsigned PID1ACC17
: 1;
6346 unsigned PID1ACC18
: 1;
6347 unsigned PID1ACC19
: 1;
6348 unsigned PID1ACC20
: 1;
6349 unsigned PID1ACC21
: 1;
6350 unsigned PID1ACC22
: 1;
6351 unsigned PID1ACC23
: 1;
6365 } __PID1ACCHLbits_t
;
6367 extern __at(0x0611) volatile __PID1ACCHLbits_t PID1ACCHLbits
;
6369 #define _PID1ACC16 0x01
6371 #define _PID1ACC17 0x02
6373 #define _PID1ACC18 0x04
6375 #define _PID1ACC19 0x08
6377 #define _PID1ACC20 0x10
6379 #define _PID1ACC21 0x20
6381 #define _PID1ACC22 0x40
6383 #define _PID1ACC23 0x80
6386 //==============================================================================
6389 //==============================================================================
6392 extern __at(0x0612) __sfr PID1ACCHH
;
6398 unsigned PID1ACC24
: 1;
6399 unsigned PID1ACC25
: 1;
6400 unsigned PID1ACC26
: 1;
6401 unsigned PID1ACC27
: 1;
6402 unsigned PID1ACC28
: 1;
6403 unsigned PID1ACC29
: 1;
6404 unsigned PID1ACC30
: 1;
6405 unsigned PID1ACC31
: 1;
6419 } __PID1ACCHHbits_t
;
6421 extern __at(0x0612) volatile __PID1ACCHHbits_t PID1ACCHHbits
;
6423 #define _PID1ACC24 0x01
6425 #define _PID1ACC25 0x02
6427 #define _PID1ACC26 0x04
6429 #define _PID1ACC27 0x08
6431 #define _PID1ACC28 0x10
6433 #define _PID1ACC29 0x20
6435 #define _PID1ACC30 0x40
6437 #define _PID1ACC31 0x80
6440 //==============================================================================
6443 //==============================================================================
6446 extern __at(0x0613) __sfr PID1ACCU
;
6452 unsigned PID1ACC32
: 1;
6453 unsigned PID1ACC33
: 1;
6454 unsigned PID1ACC34
: 1;
6475 extern __at(0x0613) volatile __PID1ACCUbits_t PID1ACCUbits
;
6477 #define _PID1ACC32 0x01
6479 #define _PID1ACC33 0x02
6481 #define _PID1ACC34 0x04
6484 //==============================================================================
6487 //==============================================================================
6490 extern __at(0x0614) __sfr PID1CON
;
6502 unsigned PID1BUSY
: 1;
6503 unsigned PID1EN
: 1;
6508 unsigned PID1MODE0
: 1;
6509 unsigned PID1MODE1
: 1;
6510 unsigned PID1MODE2
: 1;
6526 unsigned PID1MODE
: 3;
6531 extern __at(0x0614) volatile __PID1CONbits_t PID1CONbits
;
6533 #define _PID1CON_MODE0 0x01
6534 #define _PID1CON_PID1MODE0 0x01
6535 #define _PID1CON_MODE1 0x02
6536 #define _PID1CON_PID1MODE1 0x02
6537 #define _PID1CON_MODE2 0x04
6538 #define _PID1CON_PID1MODE2 0x04
6539 #define _PID1CON_PID1BUSY 0x40
6540 #define _PID1CON_BUSY 0x40
6541 #define _PID1CON_PID1EN 0x80
6542 #define _PID1CON_EN 0x80
6544 //==============================================================================
6547 //==============================================================================
6550 extern __at(0x0617) __sfr PWM3DCL
;
6574 unsigned PWM3DC0
: 1;
6575 unsigned PWM3DC1
: 1;
6586 unsigned PWMPW0
: 1;
6587 unsigned PWMPW1
: 1;
6605 unsigned PWM3DC
: 2;
6609 extern __at(0x0617) volatile __PWM3DCLbits_t PWM3DCLbits
;
6612 #define _PWM3DC0 0x40
6613 #define _PWMPW0 0x40
6615 #define _PWM3DC1 0x80
6616 #define _PWMPW1 0x80
6618 //==============================================================================
6621 //==============================================================================
6624 extern __at(0x0618) __sfr PWM3DCH
;
6642 unsigned PWM3DC2
: 1;
6643 unsigned PWM3DC3
: 1;
6644 unsigned PWM3DC4
: 1;
6645 unsigned PWM3DC5
: 1;
6646 unsigned PWM3DC6
: 1;
6647 unsigned PWM3DC7
: 1;
6648 unsigned PWM3DC8
: 1;
6649 unsigned PWM3DC9
: 1;
6654 unsigned PWMPW2
: 1;
6655 unsigned PWMPW3
: 1;
6656 unsigned PWMPW4
: 1;
6657 unsigned PWMPW5
: 1;
6658 unsigned PWMPW6
: 1;
6659 unsigned PWMPW7
: 1;
6660 unsigned PWMPW8
: 1;
6661 unsigned PWMPW9
: 1;
6665 extern __at(0x0618) volatile __PWM3DCHbits_t PWM3DCHbits
;
6668 #define _PWM3DC2 0x01
6669 #define _PWMPW2 0x01
6671 #define _PWM3DC3 0x02
6672 #define _PWMPW3 0x02
6674 #define _PWM3DC4 0x04
6675 #define _PWMPW4 0x04
6677 #define _PWM3DC5 0x08
6678 #define _PWMPW5 0x08
6680 #define _PWM3DC6 0x10
6681 #define _PWMPW6 0x10
6683 #define _PWM3DC7 0x20
6684 #define _PWMPW7 0x20
6686 #define _PWM3DC8 0x40
6687 #define _PWMPW8 0x40
6689 #define _PWM3DC9 0x80
6690 #define _PWMPW9 0x80
6692 //==============================================================================
6695 //==============================================================================
6698 extern __at(0x0619) __sfr PWM3CON
;
6720 unsigned PWM3POL
: 1;
6721 unsigned PWM3OUT
: 1;
6723 unsigned PWM3EN
: 1;
6727 extern __at(0x0619) volatile __PWM3CONbits_t PWM3CONbits
;
6729 #define _PWM3CON_POL 0x10
6730 #define _PWM3CON_PWM3POL 0x10
6731 #define _PWM3CON_OUT 0x20
6732 #define _PWM3CON_PWM3OUT 0x20
6733 #define _PWM3CON_EN 0x80
6734 #define _PWM3CON_PWM3EN 0x80
6736 //==============================================================================
6739 //==============================================================================
6742 extern __at(0x061A) __sfr PWM4DCL
;
6766 unsigned PWM4DC0
: 1;
6767 unsigned PWM4DC1
: 1;
6778 unsigned PWMPW0
: 1;
6779 unsigned PWMPW1
: 1;
6785 unsigned PWM4DC
: 2;
6801 extern __at(0x061A) volatile __PWM4DCLbits_t PWM4DCLbits
;
6803 #define _PWM4DCL_DC0 0x40
6804 #define _PWM4DCL_PWM4DC0 0x40
6805 #define _PWM4DCL_PWMPW0 0x40
6806 #define _PWM4DCL_DC1 0x80
6807 #define _PWM4DCL_PWM4DC1 0x80
6808 #define _PWM4DCL_PWMPW1 0x80
6810 //==============================================================================
6813 //==============================================================================
6816 extern __at(0x061B) __sfr PWM4DCH
;
6834 unsigned PWM4DC2
: 1;
6835 unsigned PWM4DC3
: 1;
6836 unsigned PWM4DC4
: 1;
6837 unsigned PWM4DC5
: 1;
6838 unsigned PWM4DC6
: 1;
6839 unsigned PWM4DC7
: 1;
6840 unsigned PWM4DC8
: 1;
6841 unsigned PWM4DC9
: 1;
6846 unsigned PWMPW2
: 1;
6847 unsigned PWMPW3
: 1;
6848 unsigned PWMPW4
: 1;
6849 unsigned PWMPW5
: 1;
6850 unsigned PWMPW6
: 1;
6851 unsigned PWMPW7
: 1;
6852 unsigned PWMPW8
: 1;
6853 unsigned PWMPW9
: 1;
6857 extern __at(0x061B) volatile __PWM4DCHbits_t PWM4DCHbits
;
6859 #define _PWM4DCH_DC2 0x01
6860 #define _PWM4DCH_PWM4DC2 0x01
6861 #define _PWM4DCH_PWMPW2 0x01
6862 #define _PWM4DCH_DC3 0x02
6863 #define _PWM4DCH_PWM4DC3 0x02
6864 #define _PWM4DCH_PWMPW3 0x02
6865 #define _PWM4DCH_DC4 0x04
6866 #define _PWM4DCH_PWM4DC4 0x04
6867 #define _PWM4DCH_PWMPW4 0x04
6868 #define _PWM4DCH_DC5 0x08
6869 #define _PWM4DCH_PWM4DC5 0x08
6870 #define _PWM4DCH_PWMPW5 0x08
6871 #define _PWM4DCH_DC6 0x10
6872 #define _PWM4DCH_PWM4DC6 0x10
6873 #define _PWM4DCH_PWMPW6 0x10
6874 #define _PWM4DCH_DC7 0x20
6875 #define _PWM4DCH_PWM4DC7 0x20
6876 #define _PWM4DCH_PWMPW7 0x20
6877 #define _PWM4DCH_DC8 0x40
6878 #define _PWM4DCH_PWM4DC8 0x40
6879 #define _PWM4DCH_PWMPW8 0x40
6880 #define _PWM4DCH_DC9 0x80
6881 #define _PWM4DCH_PWM4DC9 0x80
6882 #define _PWM4DCH_PWMPW9 0x80
6884 //==============================================================================
6887 //==============================================================================
6890 extern __at(0x061C) __sfr PWM4CON
;
6912 unsigned PWM4POL
: 1;
6913 unsigned PWM4OUT
: 1;
6915 unsigned PWM4EN
: 1;
6919 extern __at(0x061C) volatile __PWM4CONbits_t PWM4CONbits
;
6921 #define _PWM4CON_POL 0x10
6922 #define _PWM4CON_PWM4POL 0x10
6923 #define _PWM4CON_OUT 0x20
6924 #define _PWM4CON_PWM4OUT 0x20
6925 #define _PWM4CON_EN 0x80
6926 #define _PWM4CON_PWM4EN 0x80
6928 //==============================================================================
6931 //==============================================================================
6934 extern __at(0x0691) __sfr CWG1DBR
;
6952 unsigned CWG1DBR0
: 1;
6953 unsigned CWG1DBR1
: 1;
6954 unsigned CWG1DBR2
: 1;
6955 unsigned CWG1DBR3
: 1;
6956 unsigned CWG1DBR4
: 1;
6957 unsigned CWG1DBR5
: 1;
6970 unsigned CWG1DBR
: 6;
6975 extern __at(0x0691) volatile __CWG1DBRbits_t CWG1DBRbits
;
6978 #define _CWG1DBR0 0x01
6980 #define _CWG1DBR1 0x02
6982 #define _CWG1DBR2 0x04
6984 #define _CWG1DBR3 0x08
6986 #define _CWG1DBR4 0x10
6988 #define _CWG1DBR5 0x20
6990 //==============================================================================
6993 //==============================================================================
6996 extern __at(0x0692) __sfr CWG1DBF
;
7014 unsigned CWG1DBF0
: 1;
7015 unsigned CWG1DBF1
: 1;
7016 unsigned CWG1DBF2
: 1;
7017 unsigned CWG1DBF3
: 1;
7018 unsigned CWG1DBF4
: 1;
7019 unsigned CWG1DBF5
: 1;
7032 unsigned CWG1DBF
: 6;
7037 extern __at(0x0692) volatile __CWG1DBFbits_t CWG1DBFbits
;
7040 #define _CWG1DBF0 0x01
7042 #define _CWG1DBF1 0x02
7044 #define _CWG1DBF2 0x04
7046 #define _CWG1DBF3 0x08
7048 #define _CWG1DBF4 0x10
7050 #define _CWG1DBF5 0x20
7052 //==============================================================================
7055 //==============================================================================
7058 extern __at(0x0693) __sfr CWG1AS0
;
7071 unsigned SHUTDOWN
: 1;
7078 unsigned CWG1LSAC0
: 1;
7079 unsigned CWG1LSAC1
: 1;
7080 unsigned CWG1LSBD0
: 1;
7081 unsigned CWG1LSBD1
: 1;
7082 unsigned CWG1REN
: 1;
7083 unsigned CWG1SHUTDOWN
: 1;
7089 unsigned CWG1LSAC
: 2;
7103 unsigned CWG1LSBD
: 2;
7115 extern __at(0x0693) volatile __CWG1AS0bits_t CWG1AS0bits
;
7118 #define _CWG1LSAC0 0x04
7120 #define _CWG1LSAC1 0x08
7122 #define _CWG1LSBD0 0x10
7124 #define _CWG1LSBD1 0x20
7126 #define _CWG1REN 0x40
7127 #define _SHUTDOWN 0x80
7128 #define _CWG1SHUTDOWN 0x80
7130 //==============================================================================
7133 //==============================================================================
7136 extern __at(0x0694) __sfr CWG1AS1
;
7146 unsigned TMR2AS
: 1;
7147 unsigned TMR4AS
: 1;
7148 unsigned TMR6AS
: 1;
7154 unsigned CWG1INAS
: 1;
7155 unsigned CWG1C1AS
: 1;
7156 unsigned CWG1C2AS
: 1;
7158 unsigned CWG1TMR2AS
: 1;
7159 unsigned CWG1TMR4AS
: 1;
7160 unsigned CWG1TMR6AS
: 1;
7165 extern __at(0x0694) volatile __CWG1AS1bits_t CWG1AS1bits
;
7168 #define _CWG1INAS 0x01
7170 #define _CWG1C1AS 0x02
7172 #define _CWG1C2AS 0x04
7173 #define _TMR2AS 0x10
7174 #define _CWG1TMR2AS 0x10
7175 #define _TMR4AS 0x20
7176 #define _CWG1TMR4AS 0x20
7177 #define _TMR6AS 0x40
7178 #define _CWG1TMR6AS 0x40
7180 //==============================================================================
7183 //==============================================================================
7186 extern __at(0x0695) __sfr CWG1OCON0
;
7204 unsigned CWG1STRA
: 1;
7205 unsigned CWG1STRB
: 1;
7206 unsigned CWG1STRC
: 1;
7207 unsigned CWG1STRD
: 1;
7208 unsigned CWG1OVRA
: 1;
7209 unsigned CWG1OVRB
: 1;
7210 unsigned CWG1OVRC
: 1;
7211 unsigned CWG1OVRD
: 1;
7213 } __CWG1OCON0bits_t
;
7215 extern __at(0x0695) volatile __CWG1OCON0bits_t CWG1OCON0bits
;
7218 #define _CWG1STRA 0x01
7220 #define _CWG1STRB 0x02
7222 #define _CWG1STRC 0x04
7224 #define _CWG1STRD 0x08
7226 #define _CWG1OVRA 0x10
7228 #define _CWG1OVRB 0x20
7230 #define _CWG1OVRC 0x40
7232 #define _CWG1OVRD 0x80
7234 //==============================================================================
7237 //==============================================================================
7240 extern __at(0x0696) __sfr CWG1CON0
;
7258 unsigned CWG1MODE0
: 1;
7259 unsigned CWG1MODE1
: 1;
7260 unsigned CWG1MODE2
: 1;
7264 unsigned CWG1LD
: 1;
7277 unsigned CWG1EN
: 1;
7282 unsigned CWG1MODE
: 3;
7293 extern __at(0x0696) volatile __CWG1CON0bits_t CWG1CON0bits
;
7295 #define _CWG1CON0_MODE0 0x01
7296 #define _CWG1CON0_CWG1MODE0 0x01
7297 #define _CWG1CON0_MODE1 0x02
7298 #define _CWG1CON0_CWG1MODE1 0x02
7299 #define _CWG1CON0_MODE2 0x04
7300 #define _CWG1CON0_CWG1MODE2 0x04
7301 #define _CWG1CON0_LD 0x40
7302 #define _CWG1CON0_CWG1LD 0x40
7303 #define _CWG1CON0_EN 0x80
7304 #define _CWG1CON0_G1EN 0x80
7305 #define _CWG1CON0_CWG1EN 0x80
7307 //==============================================================================
7310 //==============================================================================
7313 extern __at(0x0697) __sfr CWG1CON1
;
7331 unsigned CWG1POLA
: 1;
7332 unsigned CWG1POLB
: 1;
7333 unsigned CWG1POLC
: 1;
7334 unsigned CWG1POLD
: 1;
7336 unsigned CWG1IN
: 1;
7342 extern __at(0x0697) volatile __CWG1CON1bits_t CWG1CON1bits
;
7345 #define _CWG1POLA 0x01
7347 #define _CWG1POLB 0x02
7349 #define _CWG1POLC 0x04
7351 #define _CWG1POLD 0x08
7353 #define _CWG1IN 0x20
7355 //==============================================================================
7358 //==============================================================================
7361 extern __at(0x0699) __sfr CWG1CLKCON
;
7379 unsigned CWG1CS
: 1;
7388 } __CWG1CLKCONbits_t
;
7390 extern __at(0x0699) volatile __CWG1CLKCONbits_t CWG1CLKCONbits
;
7392 #define _CWG1CLKCON_CS 0x01
7393 #define _CWG1CLKCON_CWG1CS 0x01
7395 //==============================================================================
7398 //==============================================================================
7401 extern __at(0x069A) __sfr CWG1ISM
;
7419 unsigned CWG1IS0
: 1;
7420 unsigned CWG1IS1
: 1;
7421 unsigned CWG1IS2
: 1;
7422 unsigned CWG1IS3
: 1;
7437 unsigned CWG1IS
: 4;
7442 extern __at(0x069A) volatile __CWG1ISMbits_t CWG1ISMbits
;
7445 #define _CWG1IS0 0x01
7447 #define _CWG1IS1 0x02
7449 #define _CWG1IS2 0x04
7451 #define _CWG1IS3 0x08
7453 //==============================================================================
7456 //==============================================================================
7459 extern __at(0x0711) __sfr WDTCON0
;
7466 unsigned WDTPS0
: 1;
7467 unsigned WDTPS1
: 1;
7468 unsigned WDTPS2
: 1;
7469 unsigned WDTPS3
: 1;
7470 unsigned WDTPS4
: 1;
7477 unsigned SWDTEN
: 1;
7489 unsigned WDTSEN
: 1;
7507 extern __at(0x0711) volatile __WDTCON0bits_t WDTCON0bits
;
7509 #define _WDTCON0_SEN 0x01
7510 #define _WDTCON0_SWDTEN 0x01
7511 #define _WDTCON0_WDTSEN 0x01
7512 #define _WDTCON0_WDTPS0 0x02
7513 #define _WDTCON0_WDTPS1 0x04
7514 #define _WDTCON0_WDTPS2 0x08
7515 #define _WDTCON0_WDTPS3 0x10
7516 #define _WDTCON0_WDTPS4 0x20
7518 //==============================================================================
7521 //==============================================================================
7524 extern __at(0x0712) __sfr WDTCON1
;
7530 unsigned WINDOW0
: 1;
7531 unsigned WINDOW1
: 1;
7532 unsigned WINDOW2
: 1;
7534 unsigned WDTCS0
: 1;
7535 unsigned WDTCS1
: 1;
7536 unsigned WDTCS2
: 1;
7542 unsigned WDTWINDOW0
: 1;
7543 unsigned WDTWINDOW1
: 1;
7544 unsigned WDTWINDOW2
: 1;
7554 unsigned WDTWINDOW
: 3;
7560 unsigned WINDOW
: 3;
7572 extern __at(0x0712) volatile __WDTCON1bits_t WDTCON1bits
;
7574 #define _WINDOW0 0x01
7575 #define _WDTWINDOW0 0x01
7576 #define _WINDOW1 0x02
7577 #define _WDTWINDOW1 0x02
7578 #define _WINDOW2 0x04
7579 #define _WDTWINDOW2 0x04
7580 #define _WDTCS0 0x10
7581 #define _WDTCS1 0x20
7582 #define _WDTCS2 0x40
7584 //==============================================================================
7587 //==============================================================================
7590 extern __at(0x0713) __sfr WDTPSL
;
7596 unsigned PSCNT0
: 1;
7597 unsigned PSCNT1
: 1;
7598 unsigned PSCNT2
: 1;
7599 unsigned PSCNT3
: 1;
7600 unsigned PSCNT4
: 1;
7601 unsigned PSCNT5
: 1;
7602 unsigned PSCNT6
: 1;
7603 unsigned PSCNT7
: 1;
7608 unsigned WDTPSCNT0
: 1;
7609 unsigned WDTPSCNT1
: 1;
7610 unsigned WDTPSCNT2
: 1;
7611 unsigned WDTPSCNT3
: 1;
7612 unsigned WDTPSCNT4
: 1;
7613 unsigned WDTPSCNT5
: 1;
7614 unsigned WDTPSCNT6
: 1;
7615 unsigned WDTPSCNT7
: 1;
7619 extern __at(0x0713) volatile __WDTPSLbits_t WDTPSLbits
;
7621 #define _PSCNT0 0x01
7622 #define _WDTPSCNT0 0x01
7623 #define _PSCNT1 0x02
7624 #define _WDTPSCNT1 0x02
7625 #define _PSCNT2 0x04
7626 #define _WDTPSCNT2 0x04
7627 #define _PSCNT3 0x08
7628 #define _WDTPSCNT3 0x08
7629 #define _PSCNT4 0x10
7630 #define _WDTPSCNT4 0x10
7631 #define _PSCNT5 0x20
7632 #define _WDTPSCNT5 0x20
7633 #define _PSCNT6 0x40
7634 #define _WDTPSCNT6 0x40
7635 #define _PSCNT7 0x80
7636 #define _WDTPSCNT7 0x80
7638 //==============================================================================
7641 //==============================================================================
7644 extern __at(0x0714) __sfr WDTPSH
;
7650 unsigned PSCNT8
: 1;
7651 unsigned PSCNT9
: 1;
7652 unsigned PSCNT10
: 1;
7653 unsigned PSCNT11
: 1;
7654 unsigned PSCNT12
: 1;
7655 unsigned PSCNT13
: 1;
7656 unsigned PSCNT14
: 1;
7657 unsigned PSCNT15
: 1;
7662 unsigned WDTPSCNT8
: 1;
7663 unsigned WDTPSCNT9
: 1;
7664 unsigned WDTPSCNT10
: 1;
7665 unsigned WDTPSCNT11
: 1;
7666 unsigned WDTPSCNT12
: 1;
7667 unsigned WDTPSCNT13
: 1;
7668 unsigned WDTPSCNT14
: 1;
7669 unsigned WDTPSCNT15
: 1;
7673 extern __at(0x0714) volatile __WDTPSHbits_t WDTPSHbits
;
7675 #define _PSCNT8 0x01
7676 #define _WDTPSCNT8 0x01
7677 #define _PSCNT9 0x02
7678 #define _WDTPSCNT9 0x02
7679 #define _PSCNT10 0x04
7680 #define _WDTPSCNT10 0x04
7681 #define _PSCNT11 0x08
7682 #define _WDTPSCNT11 0x08
7683 #define _PSCNT12 0x10
7684 #define _WDTPSCNT12 0x10
7685 #define _PSCNT13 0x20
7686 #define _WDTPSCNT13 0x20
7687 #define _PSCNT14 0x40
7688 #define _WDTPSCNT14 0x40
7689 #define _PSCNT15 0x80
7690 #define _WDTPSCNT15 0x80
7692 //==============================================================================
7695 //==============================================================================
7698 extern __at(0x0715) __sfr WDTTMR
;
7704 unsigned PSCNT16
: 1;
7705 unsigned PSCNT17
: 1;
7707 unsigned WDTTMR0
: 1;
7708 unsigned WDTTMR1
: 1;
7709 unsigned WDTTMR2
: 1;
7710 unsigned WDTTMR3
: 1;
7711 unsigned WDTTMR4
: 1;
7716 unsigned WDTPSCNT16
: 1;
7717 unsigned WDTPSCNT17
: 1;
7718 unsigned WDTSTATE
: 1;
7729 unsigned WDTTMR
: 5;
7733 extern __at(0x0715) volatile __WDTTMRbits_t WDTTMRbits
;
7735 #define _PSCNT16 0x01
7736 #define _WDTPSCNT16 0x01
7737 #define _PSCNT17 0x02
7738 #define _WDTPSCNT17 0x02
7740 #define _WDTSTATE 0x04
7741 #define _WDTTMR0 0x08
7742 #define _WDTTMR1 0x10
7743 #define _WDTTMR2 0x20
7744 #define _WDTTMR3 0x40
7745 #define _WDTTMR4 0x80
7747 //==============================================================================
7749 extern __at(0x0718) __sfr SCANLADR
;
7751 //==============================================================================
7754 extern __at(0x0718) __sfr SCANLADRL
;
7772 unsigned SCANLADR0
: 1;
7773 unsigned SCANLADR1
: 1;
7774 unsigned SCANLADR2
: 1;
7775 unsigned SCANLADR3
: 1;
7776 unsigned SCANLADR4
: 1;
7777 unsigned SCANLADR5
: 1;
7778 unsigned SCANLADR6
: 1;
7779 unsigned SCANLADR7
: 1;
7787 } __SCANLADRLbits_t
;
7789 extern __at(0x0718) volatile __SCANLADRLbits_t SCANLADRLbits
;
7792 #define _SCANLADR0 0x01
7794 #define _SCANLADR1 0x02
7796 #define _SCANLADR2 0x04
7798 #define _SCANLADR3 0x08
7800 #define _SCANLADR4 0x10
7802 #define _SCANLADR5 0x20
7804 #define _SCANLADR6 0x40
7806 #define _SCANLADR7 0x80
7808 //==============================================================================
7811 //==============================================================================
7814 extern __at(0x0719) __sfr SCANLADRH
;
7822 unsigned LADR10
: 1;
7823 unsigned LADR11
: 1;
7824 unsigned LADR12
: 1;
7825 unsigned LADR13
: 1;
7826 unsigned LADR14
: 1;
7827 unsigned LADR15
: 1;
7832 unsigned SCANLADR8
: 1;
7833 unsigned SCANLADR9
: 1;
7834 unsigned SCANLADR10
: 1;
7835 unsigned SCANLADR11
: 1;
7836 unsigned SCANLADR12
: 1;
7837 unsigned SCANLADR13
: 1;
7838 unsigned SCANLADR14
: 1;
7839 unsigned SCANLADR15
: 1;
7841 } __SCANLADRHbits_t
;
7843 extern __at(0x0719) volatile __SCANLADRHbits_t SCANLADRHbits
;
7846 #define _SCANLADR8 0x01
7848 #define _SCANLADR9 0x02
7849 #define _LADR10 0x04
7850 #define _SCANLADR10 0x04
7851 #define _LADR11 0x08
7852 #define _SCANLADR11 0x08
7853 #define _LADR12 0x10
7854 #define _SCANLADR12 0x10
7855 #define _LADR13 0x20
7856 #define _SCANLADR13 0x20
7857 #define _LADR14 0x40
7858 #define _SCANLADR14 0x40
7859 #define _LADR15 0x80
7860 #define _SCANLADR15 0x80
7862 //==============================================================================
7864 extern __at(0x071A) __sfr SCANHADR
;
7866 //==============================================================================
7869 extern __at(0x071A) __sfr SCANHADRL
;
7887 unsigned SCANHADR0
: 1;
7888 unsigned SCANHADR1
: 1;
7889 unsigned SCANHADR2
: 1;
7890 unsigned SCANHADR3
: 1;
7891 unsigned SCANHADR4
: 1;
7892 unsigned SCANHADR5
: 1;
7893 unsigned SCANHADR6
: 1;
7894 unsigned SCANHADR7
: 1;
7896 } __SCANHADRLbits_t
;
7898 extern __at(0x071A) volatile __SCANHADRLbits_t SCANHADRLbits
;
7901 #define _SCANHADR0 0x01
7903 #define _SCANHADR1 0x02
7905 #define _SCANHADR2 0x04
7907 #define _SCANHADR3 0x08
7909 #define _SCANHADR4 0x10
7911 #define _SCANHADR5 0x20
7913 #define _SCANHADR6 0x40
7915 #define _SCANHADR7 0x80
7917 //==============================================================================
7920 //==============================================================================
7923 extern __at(0x071B) __sfr SCANHADRH
;
7931 unsigned HADR10
: 1;
7932 unsigned HADR11
: 1;
7933 unsigned HADR12
: 1;
7934 unsigned HADR13
: 1;
7935 unsigned HADR14
: 1;
7936 unsigned HADR15
: 1;
7941 unsigned SCANHADR8
: 1;
7942 unsigned SCANHADR9
: 1;
7943 unsigned SCANHADR10
: 1;
7944 unsigned SCANHADR11
: 1;
7945 unsigned SCANHADR12
: 1;
7946 unsigned SCANHADR13
: 1;
7947 unsigned SCANHADR14
: 1;
7948 unsigned SCANHADR15
: 1;
7950 } __SCANHADRHbits_t
;
7952 extern __at(0x071B) volatile __SCANHADRHbits_t SCANHADRHbits
;
7955 #define _SCANHADR8 0x01
7957 #define _SCANHADR9 0x02
7958 #define _HADR10 0x04
7959 #define _SCANHADR10 0x04
7960 #define _HADR11 0x08
7961 #define _SCANHADR11 0x08
7962 #define _HADR12 0x10
7963 #define _SCANHADR12 0x10
7964 #define _HADR13 0x20
7965 #define _SCANHADR13 0x20
7966 #define _HADR14 0x40
7967 #define _SCANHADR14 0x40
7968 #define _HADR15 0x80
7969 #define _SCANHADR15 0x80
7971 //==============================================================================
7974 //==============================================================================
7977 extern __at(0x071C) __sfr SCANCON0
;
7987 unsigned INVALID
: 1;
7989 unsigned SCANGO
: 1;
7995 unsigned SCANMODE0
: 1;
7996 unsigned SCANMODE1
: 1;
7998 unsigned SCANINTM
: 1;
7999 unsigned SCANINVALID
: 1;
8000 unsigned SCANBUSY
: 1;
8002 unsigned SCANEN
: 1;
8007 unsigned SCANMODE
: 2;
8018 extern __at(0x071C) volatile __SCANCON0bits_t SCANCON0bits
;
8020 #define _SCANCON0_MODE0 0x01
8021 #define _SCANCON0_SCANMODE0 0x01
8022 #define _SCANCON0_MODE1 0x02
8023 #define _SCANCON0_SCANMODE1 0x02
8024 #define _SCANCON0_INTM 0x08
8025 #define _SCANCON0_SCANINTM 0x08
8026 #define _SCANCON0_INVALID 0x10
8027 #define _SCANCON0_SCANINVALID 0x10
8028 #define _SCANCON0_BUSY 0x20
8029 #define _SCANCON0_SCANBUSY 0x20
8030 #define _SCANCON0_SCANGO 0x40
8031 #define _SCANCON0_EN 0x80
8032 #define _SCANCON0_SCANEN 0x80
8034 //==============================================================================
8037 //==============================================================================
8040 extern __at(0x071D) __sfr SCANTRIG
;
8058 unsigned SCANTSEL0
: 1;
8059 unsigned SCANTSEL1
: 1;
8060 unsigned SCANTSEL2
: 1;
8061 unsigned SCANTSEL3
: 1;
8070 unsigned SCANTSEL
: 4;
8081 extern __at(0x071D) volatile __SCANTRIGbits_t SCANTRIGbits
;
8084 #define _SCANTSEL0 0x01
8086 #define _SCANTSEL1 0x02
8088 #define _SCANTSEL2 0x04
8090 #define _SCANTSEL3 0x08
8092 //==============================================================================
8094 extern __at(0x0791) __sfr CRCDAT
;
8096 //==============================================================================
8099 extern __at(0x0791) __sfr CRCDATL
;
8117 unsigned CRCDAT0
: 1;
8118 unsigned CRCDAT1
: 1;
8119 unsigned CRCDAT2
: 1;
8120 unsigned CRCDAT3
: 1;
8121 unsigned CRCDAT4
: 1;
8122 unsigned CRCDAT5
: 1;
8123 unsigned CRCDAT6
: 1;
8124 unsigned CRDCDAT7
: 1;
8129 unsigned CRCDAT
: 7;
8134 extern __at(0x0791) volatile __CRCDATLbits_t CRCDATLbits
;
8137 #define _CRCDAT0 0x01
8139 #define _CRCDAT1 0x02
8141 #define _CRCDAT2 0x04
8143 #define _CRCDAT3 0x08
8145 #define _CRCDAT4 0x10
8147 #define _CRCDAT5 0x20
8149 #define _CRCDAT6 0x40
8151 #define _CRDCDAT7 0x80
8153 //==============================================================================
8156 //==============================================================================
8159 extern __at(0x0792) __sfr CRCDATH
;
8177 unsigned CRCDAT8
: 1;
8178 unsigned CRCDAT9
: 1;
8179 unsigned CRCDAT10
: 1;
8180 unsigned CRCDAT11
: 1;
8181 unsigned CRCDAT12
: 1;
8182 unsigned CRCDAT13
: 1;
8183 unsigned CRCDAT14
: 1;
8184 unsigned CRCDAT15
: 1;
8188 extern __at(0x0792) volatile __CRCDATHbits_t CRCDATHbits
;
8191 #define _CRCDAT8 0x01
8193 #define _CRCDAT9 0x02
8195 #define _CRCDAT10 0x04
8197 #define _CRCDAT11 0x08
8199 #define _CRCDAT12 0x10
8201 #define _CRCDAT13 0x20
8203 #define _CRCDAT14 0x40
8205 #define _CRCDAT15 0x80
8207 //==============================================================================
8209 extern __at(0x0793) __sfr CRCACC
;
8211 //==============================================================================
8214 extern __at(0x0793) __sfr CRCACCL
;
8232 unsigned CRCACC0
: 1;
8233 unsigned CRCACC1
: 1;
8234 unsigned CRCACC2
: 1;
8235 unsigned CRCACC3
: 1;
8236 unsigned CRCACC4
: 1;
8237 unsigned CRCACC5
: 1;
8238 unsigned CRCACC6
: 1;
8239 unsigned CRCACC7
: 1;
8243 extern __at(0x0793) volatile __CRCACCLbits_t CRCACCLbits
;
8246 #define _CRCACC0 0x01
8248 #define _CRCACC1 0x02
8250 #define _CRCACC2 0x04
8252 #define _CRCACC3 0x08
8254 #define _CRCACC4 0x10
8256 #define _CRCACC5 0x20
8258 #define _CRCACC6 0x40
8260 #define _CRCACC7 0x80
8262 //==============================================================================
8265 //==============================================================================
8268 extern __at(0x0794) __sfr CRCACCH
;
8286 unsigned CRCACC8
: 1;
8287 unsigned CRCACC9
: 1;
8288 unsigned CRCACC10
: 1;
8289 unsigned CRCACC11
: 1;
8290 unsigned CRCACC12
: 1;
8291 unsigned CRCACC13
: 1;
8292 unsigned CRCACC14
: 1;
8293 unsigned CRCACC15
: 1;
8297 extern __at(0x0794) volatile __CRCACCHbits_t CRCACCHbits
;
8300 #define _CRCACC8 0x01
8302 #define _CRCACC9 0x02
8304 #define _CRCACC10 0x04
8306 #define _CRCACC11 0x08
8308 #define _CRCACC12 0x10
8310 #define _CRCACC13 0x20
8312 #define _CRCACC14 0x40
8314 #define _CRCACC15 0x80
8316 //==============================================================================
8318 extern __at(0x0795) __sfr CRCSHIFT
;
8320 //==============================================================================
8323 extern __at(0x0795) __sfr CRCSHIFTL
;
8329 unsigned SHIFT0
: 1;
8330 unsigned SHIFT1
: 1;
8331 unsigned SHIFT2
: 1;
8332 unsigned SHIFT3
: 1;
8333 unsigned SHIFT4
: 1;
8334 unsigned SHIFT5
: 1;
8335 unsigned SHIFT6
: 1;
8336 unsigned SHIFT7
: 1;
8341 unsigned CRCSHIFT0
: 1;
8342 unsigned CRCSHIFT1
: 1;
8343 unsigned CRCSHIFT2
: 1;
8344 unsigned CRCSHIFT3
: 1;
8345 unsigned CRCSHIFT4
: 1;
8346 unsigned CRCSHIFT5
: 1;
8347 unsigned CRCSHIFT6
: 1;
8348 unsigned CRCSHIFT7
: 1;
8350 } __CRCSHIFTLbits_t
;
8352 extern __at(0x0795) volatile __CRCSHIFTLbits_t CRCSHIFTLbits
;
8354 #define _SHIFT0 0x01
8355 #define _CRCSHIFT0 0x01
8356 #define _SHIFT1 0x02
8357 #define _CRCSHIFT1 0x02
8358 #define _SHIFT2 0x04
8359 #define _CRCSHIFT2 0x04
8360 #define _SHIFT3 0x08
8361 #define _CRCSHIFT3 0x08
8362 #define _SHIFT4 0x10
8363 #define _CRCSHIFT4 0x10
8364 #define _SHIFT5 0x20
8365 #define _CRCSHIFT5 0x20
8366 #define _SHIFT6 0x40
8367 #define _CRCSHIFT6 0x40
8368 #define _SHIFT7 0x80
8369 #define _CRCSHIFT7 0x80
8371 //==============================================================================
8374 //==============================================================================
8377 extern __at(0x0796) __sfr CRCSHIFTH
;
8383 unsigned SHIFT8
: 1;
8384 unsigned SHIFT9
: 1;
8385 unsigned SHIFT10
: 1;
8386 unsigned SHIFT11
: 1;
8387 unsigned SHIFT12
: 1;
8388 unsigned SHIFT13
: 1;
8389 unsigned SHIFT14
: 1;
8390 unsigned SHIFT15
: 1;
8395 unsigned CRCSHIFT8
: 1;
8396 unsigned CRCSHIFT9
: 1;
8397 unsigned CRCSHIFT10
: 1;
8398 unsigned CRCSHIFT11
: 1;
8399 unsigned CRCSHIFT12
: 1;
8400 unsigned CRCSHIFT13
: 1;
8401 unsigned CRCSHIFT14
: 1;
8402 unsigned CRCSHIFT15
: 1;
8404 } __CRCSHIFTHbits_t
;
8406 extern __at(0x0796) volatile __CRCSHIFTHbits_t CRCSHIFTHbits
;
8408 #define _SHIFT8 0x01
8409 #define _CRCSHIFT8 0x01
8410 #define _SHIFT9 0x02
8411 #define _CRCSHIFT9 0x02
8412 #define _SHIFT10 0x04
8413 #define _CRCSHIFT10 0x04
8414 #define _SHIFT11 0x08
8415 #define _CRCSHIFT11 0x08
8416 #define _SHIFT12 0x10
8417 #define _CRCSHIFT12 0x10
8418 #define _SHIFT13 0x20
8419 #define _CRCSHIFT13 0x20
8420 #define _SHIFT14 0x40
8421 #define _CRCSHIFT14 0x40
8422 #define _SHIFT15 0x80
8423 #define _CRCSHIFT15 0x80
8425 //==============================================================================
8427 extern __at(0x0797) __sfr CRCXOR
;
8429 //==============================================================================
8432 extern __at(0x0797) __sfr CRCXORL
;
8451 unsigned CRCXOR1
: 1;
8452 unsigned CRCXOR2
: 1;
8453 unsigned CRCXOR3
: 1;
8454 unsigned CRCXOR4
: 1;
8455 unsigned CRCXOR5
: 1;
8456 unsigned CRCXOR6
: 1;
8457 unsigned CRCXOR7
: 1;
8461 extern __at(0x0797) volatile __CRCXORLbits_t CRCXORLbits
;
8464 #define _CRCXOR1 0x02
8466 #define _CRCXOR2 0x04
8468 #define _CRCXOR3 0x08
8470 #define _CRCXOR4 0x10
8472 #define _CRCXOR5 0x20
8474 #define _CRCXOR6 0x40
8476 #define _CRCXOR7 0x80
8478 //==============================================================================
8481 //==============================================================================
8484 extern __at(0x0798) __sfr CRCXORH
;
8502 unsigned CRCXOR8
: 1;
8503 unsigned CRCXOR9
: 1;
8504 unsigned CRCXOR10
: 1;
8505 unsigned CRCXOR11
: 1;
8506 unsigned CRCXOR12
: 1;
8507 unsigned CRCXOR13
: 1;
8508 unsigned CRCXOR14
: 1;
8509 unsigned CRCXOR15
: 1;
8513 extern __at(0x0798) volatile __CRCXORHbits_t CRCXORHbits
;
8516 #define _CRCXOR8 0x01
8518 #define _CRCXOR9 0x02
8520 #define _CRCXOR10 0x04
8522 #define _CRCXOR11 0x08
8524 #define _CRCXOR12 0x10
8526 #define _CRCXOR13 0x20
8528 #define _CRCXOR14 0x40
8530 #define _CRCXOR15 0x80
8532 //==============================================================================
8535 //==============================================================================
8538 extern __at(0x0799) __sfr CRCCON0
;
8545 unsigned SHIFTM
: 1;
8556 unsigned CRCFULL
: 1;
8557 unsigned CRCSHIFTM
: 1;
8560 unsigned CRCACCM
: 1;
8561 unsigned CRCBUSY
: 1;
8567 extern __at(0x0799) volatile __CRCCON0bits_t CRCCON0bits
;
8569 #define _CRCCON0_FULL 0x01
8570 #define _CRCCON0_CRCFULL 0x01
8571 #define _CRCCON0_SHIFTM 0x02
8572 #define _CRCCON0_CRCSHIFTM 0x02
8573 #define _CRCCON0_ACCM 0x10
8574 #define _CRCCON0_CRCACCM 0x10
8575 #define _CRCCON0_BUSY 0x20
8576 #define _CRCCON0_CRCBUSY 0x20
8577 #define _CRCCON0_CRCGO 0x40
8578 #define _CRCCON0_EN 0x80
8579 #define _CRCCON0_CRCEN 0x80
8581 //==============================================================================
8584 //==============================================================================
8587 extern __at(0x079A) __sfr CRCCON1
;
8605 unsigned CRCPLEN0
: 1;
8606 unsigned CRCPLEN1
: 1;
8607 unsigned CRCPLEN2
: 1;
8608 unsigned CRCPLEN3
: 1;
8609 unsigned CRCDLEN0
: 1;
8610 unsigned CRCDLEN1
: 1;
8611 unsigned CRCDLEN2
: 1;
8612 unsigned CRCDLEN3
: 1;
8623 unsigned CRCPLEN
: 4;
8636 unsigned CRCDLEN
: 4;
8640 extern __at(0x079A) volatile __CRCCON1bits_t CRCCON1bits
;
8643 #define _CRCPLEN0 0x01
8645 #define _CRCPLEN1 0x02
8647 #define _CRCPLEN2 0x04
8649 #define _CRCPLEN3 0x08
8651 #define _CRCDLEN0 0x10
8653 #define _CRCDLEN1 0x20
8655 #define _CRCDLEN2 0x40
8657 #define _CRCDLEN3 0x80
8659 //==============================================================================
8661 extern __at(0x080C) __sfr AT1RES
;
8663 //==============================================================================
8666 extern __at(0x080C) __sfr AT1RESL
;
8672 unsigned AT1RES0
: 1;
8673 unsigned AT1RES1
: 1;
8674 unsigned AT1RES2
: 1;
8675 unsigned AT1RES3
: 1;
8676 unsigned AT1RES4
: 1;
8677 unsigned AT1RES5
: 1;
8678 unsigned AT1RES6
: 1;
8679 unsigned AT1RES7
: 1;
8695 extern __at(0x080C) volatile __AT1RESLbits_t AT1RESLbits
;
8697 #define _AT1RES0 0x01
8699 #define _AT1RES1 0x02
8701 #define _AT1RES2 0x04
8703 #define _AT1RES3 0x08
8705 #define _AT1RES4 0x10
8707 #define _AT1RES5 0x20
8709 #define _AT1RES6 0x40
8711 #define _AT1RES7 0x80
8714 //==============================================================================
8717 //==============================================================================
8720 extern __at(0x080D) __sfr AT1RESH
;
8726 unsigned AT1RES8
: 1;
8727 unsigned AT1RES9
: 1;
8749 extern __at(0x080D) volatile __AT1RESHbits_t AT1RESHbits
;
8751 #define _AT1RES8 0x01
8753 #define _AT1RES9 0x02
8756 //==============================================================================
8758 extern __at(0x080E) __sfr AT1MISS
;
8760 //==============================================================================
8763 extern __at(0x080E) __sfr AT1MISSL
;
8769 unsigned AT1MISS0
: 1;
8770 unsigned AT1MISS1
: 1;
8771 unsigned AT1MISS2
: 1;
8772 unsigned AT1MISS3
: 1;
8773 unsigned AT1MISS4
: 1;
8774 unsigned AT1MISS5
: 1;
8775 unsigned AT1MISS6
: 1;
8776 unsigned AT1MISS7
: 1;
8792 extern __at(0x080E) volatile __AT1MISSLbits_t AT1MISSLbits
;
8794 #define _AT1MISS0 0x01
8796 #define _AT1MISS1 0x02
8798 #define _AT1MISS2 0x04
8800 #define _AT1MISS3 0x08
8802 #define _AT1MISS4 0x10
8804 #define _AT1MISS5 0x20
8806 #define _AT1MISS6 0x40
8808 #define _AT1MISS7 0x80
8811 //==============================================================================
8814 //==============================================================================
8817 extern __at(0x080F) __sfr AT1MISSH
;
8823 unsigned AT1MISS8
: 1;
8824 unsigned AT1MISS9
: 1;
8825 unsigned AT1MISS10
: 1;
8826 unsigned AT1MISS11
: 1;
8827 unsigned AT1MISS12
: 1;
8828 unsigned AT1MISS13
: 1;
8829 unsigned AT1MISS14
: 1;
8830 unsigned AT1MISS15
: 1;
8837 unsigned MISS10
: 1;
8838 unsigned MISS11
: 1;
8839 unsigned MISS12
: 1;
8840 unsigned MISS13
: 1;
8841 unsigned MISS14
: 1;
8842 unsigned MISS15
: 1;
8846 extern __at(0x080F) volatile __AT1MISSHbits_t AT1MISSHbits
;
8848 #define _AT1MISS8 0x01
8850 #define _AT1MISS9 0x02
8852 #define _AT1MISS10 0x04
8853 #define _MISS10 0x04
8854 #define _AT1MISS11 0x08
8855 #define _MISS11 0x08
8856 #define _AT1MISS12 0x10
8857 #define _MISS12 0x10
8858 #define _AT1MISS13 0x20
8859 #define _MISS13 0x20
8860 #define _AT1MISS14 0x40
8861 #define _MISS14 0x40
8862 #define _AT1MISS15 0x80
8863 #define _MISS15 0x80
8865 //==============================================================================
8867 extern __at(0x0810) __sfr AT1PER
;
8869 //==============================================================================
8872 extern __at(0x0810) __sfr AT1PERL
;
8878 unsigned AT1PER0
: 1;
8879 unsigned AT1PER1
: 1;
8880 unsigned AT1PER2
: 1;
8881 unsigned AT1PER3
: 1;
8882 unsigned AT1PER4
: 1;
8883 unsigned AT1PER5
: 1;
8884 unsigned AT1PER6
: 1;
8885 unsigned AT1PER7
: 1;
8913 extern __at(0x0810) volatile __AT1PERLbits_t AT1PERLbits
;
8915 #define _AT1PER0 0x01
8918 #define _AT1PER1 0x02
8921 #define _AT1PER2 0x04
8924 #define _AT1PER3 0x08
8927 #define _AT1PER4 0x10
8930 #define _AT1PER5 0x20
8933 #define _AT1PER6 0x40
8936 #define _AT1PER7 0x80
8940 //==============================================================================
8943 //==============================================================================
8946 extern __at(0x0811) __sfr AT1PERH
;
8952 unsigned AT1PER8
: 1;
8953 unsigned AT1PER9
: 1;
8954 unsigned AT1PER10
: 1;
8955 unsigned AT1PER11
: 1;
8956 unsigned AT1PER12
: 1;
8957 unsigned AT1PER13
: 1;
8958 unsigned AT1PER14
: 1;
8959 unsigned AT1POV
: 1;
8987 extern __at(0x0811) volatile __AT1PERHbits_t AT1PERHbits
;
8989 #define _AT1PER8 0x01
8992 #define _AT1PER9 0x02
8995 #define _AT1PER10 0x04
8998 #define _AT1PER11 0x08
9001 #define _AT1PER12 0x10
9004 #define _AT1PER13 0x20
9007 #define _AT1PER14 0x40
9010 #define _AT1POV 0x80
9014 //==============================================================================
9016 extern __at(0x0812) __sfr AT1PHS
;
9018 //==============================================================================
9021 extern __at(0x0812) __sfr AT1PHSL
;
9027 unsigned AT1PHS0
: 1;
9028 unsigned AT1PHS1
: 1;
9029 unsigned AT1PHS2
: 1;
9030 unsigned AT1PHS3
: 1;
9031 unsigned AT1PHS4
: 1;
9032 unsigned AT1PHS5
: 1;
9033 unsigned AT1PHS6
: 1;
9034 unsigned AT1PHS7
: 1;
9050 extern __at(0x0812) volatile __AT1PHSLbits_t AT1PHSLbits
;
9052 #define _AT1PHS0 0x01
9054 #define _AT1PHS1 0x02
9056 #define _AT1PHS2 0x04
9058 #define _AT1PHS3 0x08
9060 #define _AT1PHS4 0x10
9062 #define _AT1PHS5 0x20
9064 #define _AT1PHS6 0x40
9066 #define _AT1PHS7 0x80
9069 //==============================================================================
9072 //==============================================================================
9075 extern __at(0x0813) __sfr AT1PHSH
;
9081 unsigned AT1PHS8
: 1;
9082 unsigned AT1PHS9
: 1;
9116 extern __at(0x0813) volatile __AT1PHSHbits_t AT1PHSHbits
;
9118 #define _AT1PHS8 0x01
9121 #define _AT1PHS9 0x02
9125 //==============================================================================
9128 //==============================================================================
9131 extern __at(0x0814) __sfr AT1CON0
;
9149 unsigned AT1MODE
: 1;
9150 unsigned AT1APMOD
: 1;
9152 unsigned AT1POL
: 1;
9153 unsigned AT1PS0
: 1;
9154 unsigned AT1PS1
: 1;
9155 unsigned AT1PREC
: 1;
9174 extern __at(0x0814) volatile __AT1CON0bits_t AT1CON0bits
;
9177 #define _AT1MODE 0x01
9179 #define _AT1APMOD 0x02
9181 #define _AT1POL 0x08
9183 #define _AT1PS0 0x10
9185 #define _AT1PS1 0x20
9187 #define _AT1PREC 0x40
9191 //==============================================================================
9194 //==============================================================================
9197 extern __at(0x0815) __sfr AT1CON1
;
9215 unsigned AT1VALID
: 1;
9216 unsigned AT1ACCS
: 1;
9217 unsigned AT1MPP
: 1;
9219 unsigned AT1PRP
: 1;
9221 unsigned AT1PHP
: 1;
9226 extern __at(0x0815) volatile __AT1CON1bits_t AT1CON1bits
;
9229 #define _AT1VALID 0x01
9231 #define _AT1ACCS 0x02
9233 #define _AT1MPP 0x04
9235 #define _AT1PRP 0x10
9237 #define _AT1PHP 0x40
9239 //==============================================================================
9242 //==============================================================================
9245 extern __at(0x0816) __sfr AT1IR0
;
9249 unsigned AT1PERIF
: 1;
9250 unsigned AT1MISSIF
: 1;
9251 unsigned AT1PHSIF
: 1;
9259 extern __at(0x0816) volatile __AT1IR0bits_t AT1IR0bits
;
9261 #define _AT1PERIF 0x01
9262 #define _AT1MISSIF 0x02
9263 #define _AT1PHSIF 0x04
9265 //==============================================================================
9268 //==============================================================================
9271 extern __at(0x0817) __sfr AT1IE0
;
9275 unsigned AT1PERIE
: 1;
9276 unsigned AT1MISSIE
: 1;
9277 unsigned AT1PHSIE
: 1;
9285 extern __at(0x0817) volatile __AT1IE0bits_t AT1IE0bits
;
9287 #define _AT1PERIE 0x01
9288 #define _AT1MISSIE 0x02
9289 #define _AT1PHSIE 0x04
9291 //==============================================================================
9294 //==============================================================================
9297 extern __at(0x0818) __sfr AT1IR1
;
9301 unsigned AT1CC1IF
: 1;
9302 unsigned AT1CC2IF
: 1;
9303 unsigned AT1CC3IF
: 1;
9311 extern __at(0x0818) volatile __AT1IR1bits_t AT1IR1bits
;
9313 #define _AT1CC1IF 0x01
9314 #define _AT1CC2IF 0x02
9315 #define _AT1CC3IF 0x04
9317 //==============================================================================
9320 //==============================================================================
9323 extern __at(0x0819) __sfr AT1IE1
;
9327 unsigned AT1CC1IE
: 1;
9328 unsigned AT1CC2IE
: 1;
9329 unsigned AT1CC3IE
: 1;
9337 extern __at(0x0819) volatile __AT1IE1bits_t AT1IE1bits
;
9339 #define _AT1CC1IE 0x01
9340 #define _AT1CC2IE 0x02
9341 #define _AT1CC3IE 0x04
9343 //==============================================================================
9345 extern __at(0x081A) __sfr AT1STPT
;
9347 //==============================================================================
9350 extern __at(0x081A) __sfr AT1STPTL
;
9356 unsigned AT1STPT0
: 1;
9357 unsigned AT1STPT1
: 1;
9358 unsigned AT1STPT2
: 1;
9359 unsigned AT1STPT3
: 1;
9360 unsigned AT1STPT4
: 1;
9361 unsigned AT1STPT5
: 1;
9362 unsigned AT1STPT6
: 1;
9363 unsigned AT1STPT7
: 1;
9379 extern __at(0x081A) volatile __AT1STPTLbits_t AT1STPTLbits
;
9381 #define _AT1STPT0 0x01
9383 #define _AT1STPT1 0x02
9385 #define _AT1STPT2 0x04
9387 #define _AT1STPT3 0x08
9389 #define _AT1STPT4 0x10
9391 #define _AT1STPT5 0x20
9393 #define _AT1STPT6 0x40
9395 #define _AT1STPT7 0x80
9398 //==============================================================================
9401 //==============================================================================
9404 extern __at(0x081B) __sfr AT1STPTH
;
9410 unsigned AT1STPT8
: 1;
9411 unsigned AT1STPT9
: 1;
9412 unsigned AT1STPT10
: 1;
9413 unsigned AT1STPT11
: 1;
9414 unsigned AT1STPT12
: 1;
9415 unsigned AT1STPT13
: 1;
9416 unsigned AT1STPT14
: 1;
9424 unsigned STPT10
: 1;
9425 unsigned STPT11
: 1;
9426 unsigned STPT12
: 1;
9427 unsigned STPT13
: 1;
9428 unsigned STPT14
: 1;
9433 extern __at(0x081B) volatile __AT1STPTHbits_t AT1STPTHbits
;
9435 #define _AT1STPT8 0x01
9437 #define _AT1STPT9 0x02
9439 #define _AT1STPT10 0x04
9440 #define _STPT10 0x04
9441 #define _AT1STPT11 0x08
9442 #define _STPT11 0x08
9443 #define _AT1STPT12 0x10
9444 #define _STPT12 0x10
9445 #define _AT1STPT13 0x20
9446 #define _STPT13 0x20
9447 #define _AT1STPT14 0x40
9448 #define _STPT14 0x40
9450 //==============================================================================
9452 extern __at(0x081C) __sfr AT1ERR
;
9454 //==============================================================================
9457 extern __at(0x081C) __sfr AT1ERRL
;
9463 unsigned AT1ERR0
: 1;
9464 unsigned AT1ERR1
: 1;
9465 unsigned AT1ERR2
: 1;
9466 unsigned AT1ERR3
: 1;
9467 unsigned AT1ERR4
: 1;
9468 unsigned AT1ERR5
: 1;
9469 unsigned AT1ERR6
: 1;
9470 unsigned AT1ERR7
: 1;
9498 extern __at(0x081C) volatile __AT1ERRLbits_t AT1ERRLbits
;
9500 #define _AT1ERR0 0x01
9503 #define _AT1ERR1 0x02
9506 #define _AT1ERR2 0x04
9509 #define _AT1ERR3 0x08
9512 #define _AT1ERR4 0x10
9515 #define _AT1ERR5 0x20
9518 #define _AT1ERR6 0x40
9521 #define _AT1ERR7 0x80
9525 //==============================================================================
9528 //==============================================================================
9531 extern __at(0x081D) __sfr AT1ERRH
;
9537 unsigned AT1ERR8
: 1;
9538 unsigned AT1ERR9
: 1;
9539 unsigned AT1ERR10
: 1;
9540 unsigned AT1ERR11
: 1;
9541 unsigned AT1ERR12
: 1;
9542 unsigned AT1ERR13
: 1;
9543 unsigned AT1ERR14
: 1;
9544 unsigned AT1ERR15
: 1;
9572 extern __at(0x081D) volatile __AT1ERRHbits_t AT1ERRHbits
;
9574 #define _AT1ERR8 0x01
9577 #define _AT1ERR9 0x02
9580 #define _AT1ERR10 0x04
9583 #define _AT1ERR11 0x08
9586 #define _AT1ERR12 0x10
9589 #define _AT1ERR13 0x20
9592 #define _AT1ERR14 0x40
9595 #define _AT1ERR15 0x80
9599 //==============================================================================
9602 //==============================================================================
9605 extern __at(0x088C) __sfr AT1CLK
;
9647 unsigned AT1CS0
: 1;
9658 extern __at(0x088C) volatile __AT1CLKbits_t AT1CLKbits
;
9663 #define _AT1CS0 0x01
9665 //==============================================================================
9668 //==============================================================================
9671 extern __at(0x088D) __sfr AT1SIG
;
9677 unsigned AT1SSEL0
: 1;
9678 unsigned AT1SSEL1
: 1;
9679 unsigned AT1SSEL2
: 1;
9701 unsigned AT1SSEL
: 3;
9712 extern __at(0x088D) volatile __AT1SIGbits_t AT1SIGbits
;
9714 #define _AT1SSEL0 0x01
9716 #define _AT1SSEL1 0x02
9718 #define _AT1SSEL2 0x04
9721 //==============================================================================
9724 //==============================================================================
9727 extern __at(0x088E) __sfr AT1CSEL1
;
9733 unsigned AT1CP1S0
: 1;
9734 unsigned AT1CP1S1
: 1;
9735 unsigned AT1CP1S2
: 1;
9763 unsigned AT1CP1S
: 3;
9768 extern __at(0x088E) volatile __AT1CSEL1bits_t AT1CSEL1bits
;
9770 #define _AT1CP1S0 0x01
9772 #define _AT1CP1S1 0x02
9774 #define _AT1CP1S2 0x04
9777 //==============================================================================
9779 extern __at(0x088F) __sfr AT1CC1
;
9781 //==============================================================================
9784 extern __at(0x088F) __sfr AT1CC1L
;
9790 unsigned AT1CC10
: 1;
9791 unsigned AT1CC11
: 1;
9792 unsigned AT1CC12
: 1;
9793 unsigned AT1CC13
: 1;
9794 unsigned AT1CC14
: 1;
9795 unsigned AT1CC15
: 1;
9796 unsigned AT1CC16
: 1;
9797 unsigned AT1CC17
: 1;
9813 extern __at(0x088F) volatile __AT1CC1Lbits_t AT1CC1Lbits
;
9815 #define _AT1CC10 0x01
9817 #define _AT1CC11 0x02
9819 #define _AT1CC12 0x04
9821 #define _AT1CC13 0x08
9823 #define _AT1CC14 0x10
9825 #define _AT1CC15 0x20
9827 #define _AT1CC16 0x40
9829 #define _AT1CC17 0x80
9832 //==============================================================================
9835 //==============================================================================
9838 extern __at(0x0890) __sfr AT1CC1H
;
9844 unsigned AT1CC18
: 1;
9845 unsigned AT1CC19
: 1;
9867 extern __at(0x0890) volatile __AT1CC1Hbits_t AT1CC1Hbits
;
9869 #define _AT1CC18 0x01
9871 #define _AT1CC19 0x02
9874 //==============================================================================
9877 //==============================================================================
9880 extern __at(0x0891) __sfr AT1CCON1
;
9886 unsigned AT1CC1MODE
: 1;
9889 unsigned AT1CAP1P
: 1;
9890 unsigned AT1CC1POL
: 1;
9893 unsigned AT1CC1EN
: 1;
9898 unsigned CC1MODE
: 1;
9902 unsigned CC1POL
: 1;
9909 extern __at(0x0891) volatile __AT1CCON1bits_t AT1CCON1bits
;
9911 #define _AT1CC1MODE 0x01
9912 #define _CC1MODE 0x01
9913 #define _AT1CAP1P 0x08
9915 #define _AT1CC1POL 0x10
9916 #define _CC1POL 0x10
9917 #define _AT1CC1EN 0x80
9920 //==============================================================================
9923 //==============================================================================
9926 extern __at(0x0892) __sfr AT1CSEL2
;
9932 unsigned AT1CP2S0
: 1;
9933 unsigned AT1CP2S1
: 1;
9934 unsigned AT1CP2S2
: 1;
9962 unsigned AT1CP2S
: 3;
9967 extern __at(0x0892) volatile __AT1CSEL2bits_t AT1CSEL2bits
;
9969 #define _AT1CP2S0 0x01
9971 #define _AT1CP2S1 0x02
9973 #define _AT1CP2S2 0x04
9976 //==============================================================================
9978 extern __at(0x0893) __sfr AT1CC2
;
9980 //==============================================================================
9983 extern __at(0x0893) __sfr AT1CC2L
;
9989 unsigned AT1CC20
: 1;
9990 unsigned AT1CC21
: 1;
9991 unsigned AT1CC22
: 1;
9992 unsigned AT1CC23
: 1;
9993 unsigned AT1CC24
: 1;
9994 unsigned AT1CC25
: 1;
9995 unsigned AT1CC26
: 1;
9996 unsigned AT1CC27
: 1;
10012 extern __at(0x0893) volatile __AT1CC2Lbits_t AT1CC2Lbits
;
10014 #define _AT1CC2L_AT1CC20 0x01
10015 #define _AT1CC2L_CC20 0x01
10016 #define _AT1CC2L_AT1CC21 0x02
10017 #define _AT1CC2L_CC21 0x02
10018 #define _AT1CC2L_AT1CC22 0x04
10019 #define _AT1CC2L_CC22 0x04
10020 #define _AT1CC2L_AT1CC23 0x08
10021 #define _AT1CC2L_CC13 0x08
10022 #define _AT1CC2L_AT1CC24 0x10
10023 #define _AT1CC2L_CC24 0x10
10024 #define _AT1CC2L_AT1CC25 0x20
10025 #define _AT1CC2L_CCW5 0x20
10026 #define _AT1CC2L_AT1CC26 0x40
10027 #define _AT1CC2L_CC26 0x40
10028 #define _AT1CC2L_AT1CC27 0x80
10029 #define _AT1CC2L_CC27 0x80
10031 //==============================================================================
10034 //==============================================================================
10037 extern __at(0x0894) __sfr AT1CC2H
;
10043 unsigned AT1CC28
: 1;
10044 unsigned AT1CC29
: 1;
10066 extern __at(0x0894) volatile __AT1CC2Hbits_t AT1CC2Hbits
;
10068 #define _AT1CC28 0x01
10070 #define _AT1CC29 0x02
10073 //==============================================================================
10076 //==============================================================================
10079 extern __at(0x0895) __sfr AT1CCON2
;
10085 unsigned AT1CC2MODE
: 1;
10088 unsigned AT1CAP2P
: 1;
10089 unsigned AT1CC2POL
: 1;
10092 unsigned AT1CC2EN
: 1;
10097 unsigned CC2MODE
: 1;
10100 unsigned CAP2P
: 1;
10101 unsigned CC2POL
: 1;
10104 unsigned CC2EN
: 1;
10106 } __AT1CCON2bits_t
;
10108 extern __at(0x0895) volatile __AT1CCON2bits_t AT1CCON2bits
;
10110 #define _AT1CC2MODE 0x01
10111 #define _CC2MODE 0x01
10112 #define _AT1CAP2P 0x08
10113 #define _CAP2P 0x08
10114 #define _AT1CC2POL 0x10
10115 #define _CC2POL 0x10
10116 #define _AT1CC2EN 0x80
10117 #define _CC2EN 0x80
10119 //==============================================================================
10122 //==============================================================================
10125 extern __at(0x0896) __sfr AT1CSEL3
;
10131 unsigned AT1CP3S0
: 1;
10132 unsigned AT1CP3S1
: 1;
10133 unsigned AT1CP3S2
: 1;
10143 unsigned CP3S0
: 1;
10144 unsigned CP3S1
: 1;
10145 unsigned CP3S2
: 1;
10161 unsigned AT1CP3S
: 3;
10164 } __AT1CSEL3bits_t
;
10166 extern __at(0x0896) volatile __AT1CSEL3bits_t AT1CSEL3bits
;
10168 #define _AT1CP3S0 0x01
10169 #define _CP3S0 0x01
10170 #define _AT1CP3S1 0x02
10171 #define _CP3S1 0x02
10172 #define _AT1CP3S2 0x04
10173 #define _CP3S2 0x04
10175 //==============================================================================
10177 extern __at(0x0897) __sfr AT1CC3
;
10179 //==============================================================================
10182 extern __at(0x0897) __sfr AT1CC3L
;
10188 unsigned AT1CC30
: 1;
10189 unsigned AT1CC31
: 1;
10190 unsigned AT1CC32
: 1;
10191 unsigned AT1CC33
: 1;
10192 unsigned AT1CC34
: 1;
10193 unsigned AT1CC35
: 1;
10194 unsigned AT1CC36
: 1;
10195 unsigned AT1CC37
: 1;
10211 extern __at(0x0897) volatile __AT1CC3Lbits_t AT1CC3Lbits
;
10213 #define _AT1CC30 0x01
10215 #define _AT1CC31 0x02
10217 #define _AT1CC32 0x04
10219 #define _AT1CC33 0x08
10221 #define _AT1CC34 0x10
10223 #define _AT1CC35 0x20
10225 #define _AT1CC36 0x40
10227 #define _AT1CC37 0x80
10230 //==============================================================================
10233 //==============================================================================
10236 extern __at(0x0898) __sfr AT1CC3H
;
10242 unsigned AT1CC38
: 1;
10243 unsigned AT1CC39
: 1;
10265 extern __at(0x0898) volatile __AT1CC3Hbits_t AT1CC3Hbits
;
10267 #define _AT1CC38 0x01
10269 #define _AT1CC39 0x02
10272 //==============================================================================
10275 //==============================================================================
10278 extern __at(0x0899) __sfr AT1CCON3
;
10284 unsigned AT1CC3MODE
: 1;
10287 unsigned AT1CAP3P
: 1;
10288 unsigned AT1CC3POL
: 1;
10291 unsigned AT1CC3EN
: 1;
10296 unsigned CC3MODE
: 1;
10299 unsigned CAP3P
: 1;
10300 unsigned CC3POL
: 1;
10303 unsigned CC3EN
: 1;
10305 } __AT1CCON3bits_t
;
10307 extern __at(0x0899) volatile __AT1CCON3bits_t AT1CCON3bits
;
10309 #define _AT1CC3MODE 0x01
10310 #define _CC3MODE 0x01
10311 #define _AT1CAP3P 0x08
10312 #define _CAP3P 0x08
10313 #define _AT1CC3POL 0x10
10314 #define _CC3POL 0x10
10315 #define _AT1CC3EN 0x80
10316 #define _CC3EN 0x80
10318 //==============================================================================
10320 extern __at(0x0D8C) __sfr SMT1TMR
;
10322 //==============================================================================
10325 extern __at(0x0D8C) __sfr SMT1TMRL
;
10329 unsigned SMT1TMR0
: 1;
10330 unsigned SMT1TMR1
: 1;
10331 unsigned SMT1TMR2
: 1;
10332 unsigned SMT1TMR3
: 1;
10333 unsigned SMT1TMR4
: 1;
10334 unsigned SMT1TMR5
: 1;
10335 unsigned SMT1TMR6
: 1;
10336 unsigned SMT1TMR7
: 1;
10337 } __SMT1TMRLbits_t
;
10339 extern __at(0x0D8C) volatile __SMT1TMRLbits_t SMT1TMRLbits
;
10341 #define _SMT1TMR0 0x01
10342 #define _SMT1TMR1 0x02
10343 #define _SMT1TMR2 0x04
10344 #define _SMT1TMR3 0x08
10345 #define _SMT1TMR4 0x10
10346 #define _SMT1TMR5 0x20
10347 #define _SMT1TMR6 0x40
10348 #define _SMT1TMR7 0x80
10350 //==============================================================================
10353 //==============================================================================
10356 extern __at(0x0D8D) __sfr SMT1TMRH
;
10360 unsigned SMT1TMR8
: 1;
10361 unsigned SMT1TMR9
: 1;
10362 unsigned SMT1TMR10
: 1;
10363 unsigned SMT1TMR11
: 1;
10364 unsigned SMT1TMR12
: 1;
10365 unsigned SMT1TMR13
: 1;
10366 unsigned SMT1TMR14
: 1;
10367 unsigned SMT1TMR15
: 1;
10368 } __SMT1TMRHbits_t
;
10370 extern __at(0x0D8D) volatile __SMT1TMRHbits_t SMT1TMRHbits
;
10372 #define _SMT1TMR8 0x01
10373 #define _SMT1TMR9 0x02
10374 #define _SMT1TMR10 0x04
10375 #define _SMT1TMR11 0x08
10376 #define _SMT1TMR12 0x10
10377 #define _SMT1TMR13 0x20
10378 #define _SMT1TMR14 0x40
10379 #define _SMT1TMR15 0x80
10381 //==============================================================================
10384 //==============================================================================
10387 extern __at(0x0D8E) __sfr SMT1TMRU
;
10391 unsigned SMT1TMR16
: 1;
10392 unsigned SMT1TMR17
: 1;
10393 unsigned SMT1TMR18
: 1;
10394 unsigned SMT1TMR19
: 1;
10395 unsigned SMT1TMR20
: 1;
10396 unsigned SMT1TMR21
: 1;
10397 unsigned SMT1TMR22
: 1;
10398 unsigned SMT1TMR23
: 1;
10399 } __SMT1TMRUbits_t
;
10401 extern __at(0x0D8E) volatile __SMT1TMRUbits_t SMT1TMRUbits
;
10403 #define _SMT1TMR16 0x01
10404 #define _SMT1TMR17 0x02
10405 #define _SMT1TMR18 0x04
10406 #define _SMT1TMR19 0x08
10407 #define _SMT1TMR20 0x10
10408 #define _SMT1TMR21 0x20
10409 #define _SMT1TMR22 0x40
10410 #define _SMT1TMR23 0x80
10412 //==============================================================================
10414 extern __at(0x0D8F) __sfr SMT1CPR
;
10416 //==============================================================================
10419 extern __at(0x0D8F) __sfr SMT1CPRL
;
10423 unsigned SMT1CPR0
: 1;
10424 unsigned SMT1CPR1
: 1;
10425 unsigned SMT1CPR2
: 1;
10426 unsigned SMT1CPR3
: 1;
10427 unsigned SMT1CPR4
: 1;
10428 unsigned SMT1CPR5
: 1;
10429 unsigned SMT1CPR6
: 1;
10430 unsigned SMT1CPR7
: 1;
10431 } __SMT1CPRLbits_t
;
10433 extern __at(0x0D8F) volatile __SMT1CPRLbits_t SMT1CPRLbits
;
10435 #define _SMT1CPR0 0x01
10436 #define _SMT1CPR1 0x02
10437 #define _SMT1CPR2 0x04
10438 #define _SMT1CPR3 0x08
10439 #define _SMT1CPR4 0x10
10440 #define _SMT1CPR5 0x20
10441 #define _SMT1CPR6 0x40
10442 #define _SMT1CPR7 0x80
10444 //==============================================================================
10447 //==============================================================================
10450 extern __at(0x0D90) __sfr SMT1CPRH
;
10454 unsigned SMT1CPR8
: 1;
10455 unsigned SMT1CPR9
: 1;
10456 unsigned SMT1CPR10
: 1;
10457 unsigned SMT1CPR11
: 1;
10458 unsigned SMT1CPR12
: 1;
10459 unsigned SMT1CPR13
: 1;
10460 unsigned SMT1CPR14
: 1;
10461 unsigned SMT1CPR15
: 1;
10462 } __SMT1CPRHbits_t
;
10464 extern __at(0x0D90) volatile __SMT1CPRHbits_t SMT1CPRHbits
;
10466 #define _SMT1CPR8 0x01
10467 #define _SMT1CPR9 0x02
10468 #define _SMT1CPR10 0x04
10469 #define _SMT1CPR11 0x08
10470 #define _SMT1CPR12 0x10
10471 #define _SMT1CPR13 0x20
10472 #define _SMT1CPR14 0x40
10473 #define _SMT1CPR15 0x80
10475 //==============================================================================
10478 //==============================================================================
10481 extern __at(0x0D91) __sfr SMT1CPRU
;
10485 unsigned SMT1CPR16
: 1;
10486 unsigned SMT1CPR17
: 1;
10487 unsigned SMT1CPR18
: 1;
10488 unsigned SMT1CPR19
: 1;
10489 unsigned SMT1CPR20
: 1;
10490 unsigned SMT1CPR21
: 1;
10491 unsigned SMT1CPR22
: 1;
10492 unsigned SMT1CPR23
: 1;
10493 } __SMT1CPRUbits_t
;
10495 extern __at(0x0D91) volatile __SMT1CPRUbits_t SMT1CPRUbits
;
10497 #define _SMT1CPR16 0x01
10498 #define _SMT1CPR17 0x02
10499 #define _SMT1CPR18 0x04
10500 #define _SMT1CPR19 0x08
10501 #define _SMT1CPR20 0x10
10502 #define _SMT1CPR21 0x20
10503 #define _SMT1CPR22 0x40
10504 #define _SMT1CPR23 0x80
10506 //==============================================================================
10508 extern __at(0x0D92) __sfr SMT1CPW
;
10510 //==============================================================================
10513 extern __at(0x0D92) __sfr SMT1CPWL
;
10517 unsigned SMT1CPW0
: 1;
10518 unsigned SMT1CPW1
: 1;
10519 unsigned SMT1CPW2
: 1;
10520 unsigned SMT1CPW3
: 1;
10521 unsigned SMT1CPW4
: 1;
10522 unsigned SMT1CPW5
: 1;
10523 unsigned SMT1CPW6
: 1;
10524 unsigned SMT1CPW7
: 1;
10525 } __SMT1CPWLbits_t
;
10527 extern __at(0x0D92) volatile __SMT1CPWLbits_t SMT1CPWLbits
;
10529 #define _SMT1CPW0 0x01
10530 #define _SMT1CPW1 0x02
10531 #define _SMT1CPW2 0x04
10532 #define _SMT1CPW3 0x08
10533 #define _SMT1CPW4 0x10
10534 #define _SMT1CPW5 0x20
10535 #define _SMT1CPW6 0x40
10536 #define _SMT1CPW7 0x80
10538 //==============================================================================
10541 //==============================================================================
10544 extern __at(0x0D93) __sfr SMT1CPWH
;
10548 unsigned SMT1CPW8
: 1;
10549 unsigned SMT1CPW9
: 1;
10550 unsigned SMT1CPW10
: 1;
10551 unsigned SMT1CPW11
: 1;
10552 unsigned SMT1CPW12
: 1;
10553 unsigned SMT1CPW13
: 1;
10554 unsigned SMT1CPW14
: 1;
10555 unsigned SMT1CPW15
: 1;
10556 } __SMT1CPWHbits_t
;
10558 extern __at(0x0D93) volatile __SMT1CPWHbits_t SMT1CPWHbits
;
10560 #define _SMT1CPW8 0x01
10561 #define _SMT1CPW9 0x02
10562 #define _SMT1CPW10 0x04
10563 #define _SMT1CPW11 0x08
10564 #define _SMT1CPW12 0x10
10565 #define _SMT1CPW13 0x20
10566 #define _SMT1CPW14 0x40
10567 #define _SMT1CPW15 0x80
10569 //==============================================================================
10572 //==============================================================================
10575 extern __at(0x0D94) __sfr SMT1CPWU
;
10579 unsigned SMT1CPW16
: 1;
10580 unsigned SMT1CPW17
: 1;
10581 unsigned SMT1CPW18
: 1;
10582 unsigned SMT1CPW19
: 1;
10583 unsigned SMT1CPW20
: 1;
10584 unsigned SMT1CPW21
: 1;
10585 unsigned SMT1CPW22
: 1;
10586 unsigned SMT1CPW23
: 1;
10587 } __SMT1CPWUbits_t
;
10589 extern __at(0x0D94) volatile __SMT1CPWUbits_t SMT1CPWUbits
;
10591 #define _SMT1CPW16 0x01
10592 #define _SMT1CPW17 0x02
10593 #define _SMT1CPW18 0x04
10594 #define _SMT1CPW19 0x08
10595 #define _SMT1CPW20 0x10
10596 #define _SMT1CPW21 0x20
10597 #define _SMT1CPW22 0x40
10598 #define _SMT1CPW23 0x80
10600 //==============================================================================
10602 extern __at(0x0D95) __sfr SMT1PR
;
10604 //==============================================================================
10607 extern __at(0x0D95) __sfr SMT1PRL
;
10611 unsigned SMT1PR0
: 1;
10612 unsigned SMT1PR1
: 1;
10613 unsigned SMT1PR2
: 1;
10614 unsigned SMT1PR3
: 1;
10615 unsigned SMT1PR4
: 1;
10616 unsigned SMT1PR5
: 1;
10617 unsigned SMT1PR6
: 1;
10618 unsigned SMT1PR7
: 1;
10621 extern __at(0x0D95) volatile __SMT1PRLbits_t SMT1PRLbits
;
10623 #define _SMT1PR0 0x01
10624 #define _SMT1PR1 0x02
10625 #define _SMT1PR2 0x04
10626 #define _SMT1PR3 0x08
10627 #define _SMT1PR4 0x10
10628 #define _SMT1PR5 0x20
10629 #define _SMT1PR6 0x40
10630 #define _SMT1PR7 0x80
10632 //==============================================================================
10635 //==============================================================================
10638 extern __at(0x0D96) __sfr SMT1PRH
;
10642 unsigned SMT1PR8
: 1;
10643 unsigned SMT1PR9
: 1;
10644 unsigned SMT1PR10
: 1;
10645 unsigned SMT1PR11
: 1;
10646 unsigned SMT1PR12
: 1;
10647 unsigned SMT1PR13
: 1;
10648 unsigned SMT1PR14
: 1;
10649 unsigned SMT1PR15
: 1;
10652 extern __at(0x0D96) volatile __SMT1PRHbits_t SMT1PRHbits
;
10654 #define _SMT1PR8 0x01
10655 #define _SMT1PR9 0x02
10656 #define _SMT1PR10 0x04
10657 #define _SMT1PR11 0x08
10658 #define _SMT1PR12 0x10
10659 #define _SMT1PR13 0x20
10660 #define _SMT1PR14 0x40
10661 #define _SMT1PR15 0x80
10663 //==============================================================================
10666 //==============================================================================
10669 extern __at(0x0D97) __sfr SMT1PRU
;
10673 unsigned SMT1PR16
: 1;
10674 unsigned SMT1PR17
: 1;
10675 unsigned SMT1PR18
: 1;
10676 unsigned SMT1PR19
: 1;
10677 unsigned SMT1PR20
: 1;
10678 unsigned SMT1PR21
: 1;
10679 unsigned SMT1PR22
: 1;
10680 unsigned SMT1PR23
: 1;
10683 extern __at(0x0D97) volatile __SMT1PRUbits_t SMT1PRUbits
;
10685 #define _SMT1PR16 0x01
10686 #define _SMT1PR17 0x02
10687 #define _SMT1PR18 0x04
10688 #define _SMT1PR19 0x08
10689 #define _SMT1PR20 0x10
10690 #define _SMT1PR21 0x20
10691 #define _SMT1PR22 0x40
10692 #define _SMT1PR23 0x80
10694 //==============================================================================
10697 //==============================================================================
10700 extern __at(0x0D98) __sfr SMT1CON0
;
10706 unsigned SMT1PS0
: 1;
10707 unsigned SMT1PS1
: 1;
10718 unsigned SMT1PS
: 2;
10721 } __SMT1CON0bits_t
;
10723 extern __at(0x0D98) volatile __SMT1CON0bits_t SMT1CON0bits
;
10725 #define _SMT1CON0_SMT1PS0 0x01
10726 #define _SMT1CON0_SMT1PS1 0x02
10727 #define _SMT1CON0_CPOL 0x04
10728 #define _SMT1CON0_SPOL 0x08
10729 #define _SMT1CON0_WPOL 0x10
10730 #define _SMT1CON0_STP 0x20
10731 #define _SMT1CON0_EN 0x80
10733 //==============================================================================
10736 //==============================================================================
10739 extern __at(0x0D99) __sfr SMT1CON1
;
10745 unsigned MODE0
: 1;
10746 unsigned MODE1
: 1;
10747 unsigned MODE2
: 1;
10748 unsigned MODE3
: 1;
10751 unsigned REPEAT
: 1;
10752 unsigned SMT1GO
: 1;
10757 unsigned SMT1MODE0
: 1;
10758 unsigned SMT1MODE1
: 1;
10759 unsigned SMT1MODE2
: 1;
10760 unsigned SMT1MODE3
: 1;
10763 unsigned SMT1REPEAT
: 1;
10769 unsigned SMT1MODE
: 4;
10778 } __SMT1CON1bits_t
;
10780 extern __at(0x0D99) volatile __SMT1CON1bits_t SMT1CON1bits
;
10782 #define _SMT1CON1_MODE0 0x01
10783 #define _SMT1CON1_SMT1MODE0 0x01
10784 #define _SMT1CON1_MODE1 0x02
10785 #define _SMT1CON1_SMT1MODE1 0x02
10786 #define _SMT1CON1_MODE2 0x04
10787 #define _SMT1CON1_SMT1MODE2 0x04
10788 #define _SMT1CON1_MODE3 0x08
10789 #define _SMT1CON1_SMT1MODE3 0x08
10790 #define _SMT1CON1_REPEAT 0x40
10791 #define _SMT1CON1_SMT1REPEAT 0x40
10792 #define _SMT1CON1_SMT1GO 0x80
10794 //==============================================================================
10797 //==============================================================================
10800 extern __at(0x0D9A) __sfr SMT1STAT
;
10812 unsigned CPWUP
: 1;
10813 unsigned CPRUP
: 1;
10818 unsigned SMT1AS
: 1;
10819 unsigned SMT1WS
: 1;
10820 unsigned SMT1TS
: 1;
10823 unsigned SMT1RESET
: 1;
10824 unsigned SMT1CPWUP
: 1;
10825 unsigned SMT1CPRUP
: 1;
10827 } __SMT1STATbits_t
;
10829 extern __at(0x0D9A) volatile __SMT1STATbits_t SMT1STATbits
;
10832 #define _SMT1AS 0x01
10834 #define _SMT1WS 0x02
10836 #define _SMT1TS 0x04
10838 #define _SMT1RESET 0x20
10839 #define _CPWUP 0x40
10840 #define _SMT1CPWUP 0x40
10841 #define _CPRUP 0x80
10842 #define _SMT1CPRUP 0x80
10844 //==============================================================================
10847 //==============================================================================
10850 extern __at(0x0D9B) __sfr SMT1CLK
;
10856 unsigned CSEL0
: 1;
10857 unsigned CSEL1
: 1;
10858 unsigned CSEL2
: 1;
10868 unsigned SMT1CSEL0
: 1;
10869 unsigned SMT1CSEL1
: 1;
10870 unsigned SMT1CSEL2
: 1;
10880 unsigned SMT1CSEL
: 3;
10891 extern __at(0x0D9B) volatile __SMT1CLKbits_t SMT1CLKbits
;
10893 #define _CSEL0 0x01
10894 #define _SMT1CSEL0 0x01
10895 #define _CSEL1 0x02
10896 #define _SMT1CSEL1 0x02
10897 #define _CSEL2 0x04
10898 #define _SMT1CSEL2 0x04
10900 //==============================================================================
10903 //==============================================================================
10906 extern __at(0x0D9C) __sfr SMT1SIG
;
10912 unsigned SSEL0
: 1;
10913 unsigned SSEL1
: 1;
10914 unsigned SSEL2
: 1;
10915 unsigned SSEL3
: 1;
10916 unsigned SSEL4
: 1;
10924 unsigned SMT1SSEL0
: 1;
10925 unsigned SMT1SSEL1
: 1;
10926 unsigned SMT1SSEL2
: 1;
10927 unsigned SMT1SSEL3
: 1;
10928 unsigned SMT1SSEL4
: 1;
10936 unsigned SMT1SSEL
: 5;
10947 extern __at(0x0D9C) volatile __SMT1SIGbits_t SMT1SIGbits
;
10949 #define _SMT1SIG_SSEL0 0x01
10950 #define _SMT1SIG_SMT1SSEL0 0x01
10951 #define _SMT1SIG_SSEL1 0x02
10952 #define _SMT1SIG_SMT1SSEL1 0x02
10953 #define _SMT1SIG_SSEL2 0x04
10954 #define _SMT1SIG_SMT1SSEL2 0x04
10955 #define _SMT1SIG_SSEL3 0x08
10956 #define _SMT1SIG_SMT1SSEL3 0x08
10957 #define _SMT1SIG_SSEL4 0x10
10958 #define _SMT1SIG_SMT1SSEL4 0x10
10960 //==============================================================================
10963 //==============================================================================
10966 extern __at(0x0D9D) __sfr SMT1WIN
;
10972 unsigned WSEL0
: 1;
10973 unsigned WSEL1
: 1;
10974 unsigned WSEL2
: 1;
10975 unsigned WSEL3
: 1;
10976 unsigned WSEL4
: 1;
10984 unsigned SMT1WSEL0
: 1;
10985 unsigned SMT1WSEL1
: 1;
10986 unsigned SMT1WSEL2
: 1;
10987 unsigned SMT1WSEL3
: 1;
10988 unsigned SMT1WSEL4
: 1;
11002 unsigned SMT1WSEL
: 5;
11007 extern __at(0x0D9D) volatile __SMT1WINbits_t SMT1WINbits
;
11009 #define _WSEL0 0x01
11010 #define _SMT1WSEL0 0x01
11011 #define _WSEL1 0x02
11012 #define _SMT1WSEL1 0x02
11013 #define _WSEL2 0x04
11014 #define _SMT1WSEL2 0x04
11015 #define _WSEL3 0x08
11016 #define _SMT1WSEL3 0x08
11017 #define _WSEL4 0x10
11018 #define _SMT1WSEL4 0x10
11020 //==============================================================================
11022 extern __at(0x0D9E) __sfr SMT2TMR
;
11024 //==============================================================================
11027 extern __at(0x0D9E) __sfr SMT2TMRL
;
11031 unsigned SMT2TMR0
: 1;
11032 unsigned SMT2TMR1
: 1;
11033 unsigned SMT2TMR2
: 1;
11034 unsigned SMT2TMR3
: 1;
11035 unsigned SMT2TMR4
: 1;
11036 unsigned SMT2TMR5
: 1;
11037 unsigned SMT2TMR6
: 1;
11038 unsigned SMT2TMR7
: 1;
11039 } __SMT2TMRLbits_t
;
11041 extern __at(0x0D9E) volatile __SMT2TMRLbits_t SMT2TMRLbits
;
11043 #define _SMT2TMR0 0x01
11044 #define _SMT2TMR1 0x02
11045 #define _SMT2TMR2 0x04
11046 #define _SMT2TMR3 0x08
11047 #define _SMT2TMR4 0x10
11048 #define _SMT2TMR5 0x20
11049 #define _SMT2TMR6 0x40
11050 #define _SMT2TMR7 0x80
11052 //==============================================================================
11055 //==============================================================================
11058 extern __at(0x0D9F) __sfr SMT2TMRH
;
11062 unsigned SMT2TMR8
: 1;
11063 unsigned SMT2TMR9
: 1;
11064 unsigned SMT2TMR10
: 1;
11065 unsigned SMT2TMR11
: 1;
11066 unsigned SMT2TMR12
: 1;
11067 unsigned SMT2TMR13
: 1;
11068 unsigned SMT2TMR14
: 1;
11069 unsigned SMT2TMR15
: 1;
11070 } __SMT2TMRHbits_t
;
11072 extern __at(0x0D9F) volatile __SMT2TMRHbits_t SMT2TMRHbits
;
11074 #define _SMT2TMR8 0x01
11075 #define _SMT2TMR9 0x02
11076 #define _SMT2TMR10 0x04
11077 #define _SMT2TMR11 0x08
11078 #define _SMT2TMR12 0x10
11079 #define _SMT2TMR13 0x20
11080 #define _SMT2TMR14 0x40
11081 #define _SMT2TMR15 0x80
11083 //==============================================================================
11086 //==============================================================================
11089 extern __at(0x0DA0) __sfr SMT2TMRU
;
11093 unsigned SMT2TMR16
: 1;
11094 unsigned SMT2TMR17
: 1;
11095 unsigned SMT2TMR18
: 1;
11096 unsigned SMT2TMR19
: 1;
11097 unsigned SMT2TMR20
: 1;
11098 unsigned SMT2TMR21
: 1;
11099 unsigned SMT2TMR22
: 1;
11100 unsigned SMT2TMR23
: 1;
11101 } __SMT2TMRUbits_t
;
11103 extern __at(0x0DA0) volatile __SMT2TMRUbits_t SMT2TMRUbits
;
11105 #define _SMT2TMR16 0x01
11106 #define _SMT2TMR17 0x02
11107 #define _SMT2TMR18 0x04
11108 #define _SMT2TMR19 0x08
11109 #define _SMT2TMR20 0x10
11110 #define _SMT2TMR21 0x20
11111 #define _SMT2TMR22 0x40
11112 #define _SMT2TMR23 0x80
11114 //==============================================================================
11116 extern __at(0x0DA1) __sfr SMT2CPR
;
11118 //==============================================================================
11121 extern __at(0x0DA1) __sfr SMT2CPRL
;
11125 unsigned SMT2CPR0
: 1;
11126 unsigned SMT2CPR1
: 1;
11127 unsigned SMT2CPR2
: 1;
11128 unsigned SMT2CPR3
: 1;
11129 unsigned SMT2CPR4
: 1;
11130 unsigned SMT2CPR5
: 1;
11131 unsigned SMT2CPR6
: 1;
11132 unsigned SMT2CPR7
: 1;
11133 } __SMT2CPRLbits_t
;
11135 extern __at(0x0DA1) volatile __SMT2CPRLbits_t SMT2CPRLbits
;
11137 #define _SMT2CPR0 0x01
11138 #define _SMT2CPR1 0x02
11139 #define _SMT2CPR2 0x04
11140 #define _SMT2CPR3 0x08
11141 #define _SMT2CPR4 0x10
11142 #define _SMT2CPR5 0x20
11143 #define _SMT2CPR6 0x40
11144 #define _SMT2CPR7 0x80
11146 //==============================================================================
11149 //==============================================================================
11152 extern __at(0x0DA2) __sfr SMT2CPRH
;
11156 unsigned SMT2CPR8
: 1;
11157 unsigned SMT2CPR9
: 1;
11158 unsigned SMT2CPR10
: 1;
11159 unsigned SMT2CPR11
: 1;
11160 unsigned SMT2CPR12
: 1;
11161 unsigned SMT2CPR13
: 1;
11162 unsigned SMT2CPR14
: 1;
11163 unsigned SMT2CPR15
: 1;
11164 } __SMT2CPRHbits_t
;
11166 extern __at(0x0DA2) volatile __SMT2CPRHbits_t SMT2CPRHbits
;
11168 #define _SMT2CPR8 0x01
11169 #define _SMT2CPR9 0x02
11170 #define _SMT2CPR10 0x04
11171 #define _SMT2CPR11 0x08
11172 #define _SMT2CPR12 0x10
11173 #define _SMT2CPR13 0x20
11174 #define _SMT2CPR14 0x40
11175 #define _SMT2CPR15 0x80
11177 //==============================================================================
11180 //==============================================================================
11183 extern __at(0x0DA3) __sfr SMT2CPRU
;
11187 unsigned SMT2CPR16
: 1;
11188 unsigned SMT2CPR17
: 1;
11189 unsigned SMT2CPR18
: 1;
11190 unsigned SMT2CPR19
: 1;
11191 unsigned SMT2CPR20
: 1;
11192 unsigned SMT2CPR21
: 1;
11193 unsigned SMT2CPR22
: 1;
11194 unsigned SMT2CPR23
: 1;
11195 } __SMT2CPRUbits_t
;
11197 extern __at(0x0DA3) volatile __SMT2CPRUbits_t SMT2CPRUbits
;
11199 #define _SMT2CPR16 0x01
11200 #define _SMT2CPR17 0x02
11201 #define _SMT2CPR18 0x04
11202 #define _SMT2CPR19 0x08
11203 #define _SMT2CPR20 0x10
11204 #define _SMT2CPR21 0x20
11205 #define _SMT2CPR22 0x40
11206 #define _SMT2CPR23 0x80
11208 //==============================================================================
11210 extern __at(0x0DA4) __sfr SMT2CPW
;
11212 //==============================================================================
11215 extern __at(0x0DA4) __sfr SMT2CPWL
;
11219 unsigned SMT2CPW0
: 1;
11220 unsigned SMT2CPW1
: 1;
11221 unsigned SMT2CPW2
: 1;
11222 unsigned SMT2CPW3
: 1;
11223 unsigned SMT2CPW4
: 1;
11224 unsigned SMT2CPW5
: 1;
11225 unsigned SMT2CPW6
: 1;
11226 unsigned SMT2CPW7
: 1;
11227 } __SMT2CPWLbits_t
;
11229 extern __at(0x0DA4) volatile __SMT2CPWLbits_t SMT2CPWLbits
;
11231 #define _SMT2CPW0 0x01
11232 #define _SMT2CPW1 0x02
11233 #define _SMT2CPW2 0x04
11234 #define _SMT2CPW3 0x08
11235 #define _SMT2CPW4 0x10
11236 #define _SMT2CPW5 0x20
11237 #define _SMT2CPW6 0x40
11238 #define _SMT2CPW7 0x80
11240 //==============================================================================
11243 //==============================================================================
11246 extern __at(0x0DA5) __sfr SMT2CPWH
;
11250 unsigned SMT2CPW8
: 1;
11251 unsigned SMT2CPW9
: 1;
11252 unsigned SMT2CPW10
: 1;
11253 unsigned SMT2CPW11
: 1;
11254 unsigned SMT2CPW12
: 1;
11255 unsigned SMT2CPW13
: 1;
11256 unsigned SMT2CPW14
: 1;
11257 unsigned SMT2CPW15
: 1;
11258 } __SMT2CPWHbits_t
;
11260 extern __at(0x0DA5) volatile __SMT2CPWHbits_t SMT2CPWHbits
;
11262 #define _SMT2CPW8 0x01
11263 #define _SMT2CPW9 0x02
11264 #define _SMT2CPW10 0x04
11265 #define _SMT2CPW11 0x08
11266 #define _SMT2CPW12 0x10
11267 #define _SMT2CPW13 0x20
11268 #define _SMT2CPW14 0x40
11269 #define _SMT2CPW15 0x80
11271 //==============================================================================
11274 //==============================================================================
11277 extern __at(0x0DA6) __sfr SMT2CPWU
;
11281 unsigned SMT2CPW16
: 1;
11282 unsigned SMT2CPW17
: 1;
11283 unsigned SMT2CPW18
: 1;
11284 unsigned SMT2CPW19
: 1;
11285 unsigned SMT2CPW20
: 1;
11286 unsigned SMT2CPW21
: 1;
11287 unsigned SMT2CPW22
: 1;
11288 unsigned SMT2CPW23
: 1;
11289 } __SMT2CPWUbits_t
;
11291 extern __at(0x0DA6) volatile __SMT2CPWUbits_t SMT2CPWUbits
;
11293 #define _SMT2CPW16 0x01
11294 #define _SMT2CPW17 0x02
11295 #define _SMT2CPW18 0x04
11296 #define _SMT2CPW19 0x08
11297 #define _SMT2CPW20 0x10
11298 #define _SMT2CPW21 0x20
11299 #define _SMT2CPW22 0x40
11300 #define _SMT2CPW23 0x80
11302 //==============================================================================
11304 extern __at(0x0DA7) __sfr SMT2PR
;
11306 //==============================================================================
11309 extern __at(0x0DA7) __sfr SMT2PRL
;
11313 unsigned SMT2PR0
: 1;
11314 unsigned SMT2PR1
: 1;
11315 unsigned SMT2PR2
: 1;
11316 unsigned SMT2PR3
: 1;
11317 unsigned SMT2PR4
: 1;
11318 unsigned SMT2PR5
: 1;
11319 unsigned SMT2PR6
: 1;
11320 unsigned SMT2PR7
: 1;
11323 extern __at(0x0DA7) volatile __SMT2PRLbits_t SMT2PRLbits
;
11325 #define _SMT2PR0 0x01
11326 #define _SMT2PR1 0x02
11327 #define _SMT2PR2 0x04
11328 #define _SMT2PR3 0x08
11329 #define _SMT2PR4 0x10
11330 #define _SMT2PR5 0x20
11331 #define _SMT2PR6 0x40
11332 #define _SMT2PR7 0x80
11334 //==============================================================================
11337 //==============================================================================
11340 extern __at(0x0DA8) __sfr SMT2PRH
;
11344 unsigned SMT2PR8
: 1;
11345 unsigned SMT2PR9
: 1;
11346 unsigned SMT2PR10
: 1;
11347 unsigned SMT2PR11
: 1;
11348 unsigned SMT2PR12
: 1;
11349 unsigned SMT2PR13
: 1;
11350 unsigned SMT2PR14
: 1;
11351 unsigned SMT2PR15
: 1;
11354 extern __at(0x0DA8) volatile __SMT2PRHbits_t SMT2PRHbits
;
11356 #define _SMT2PR8 0x01
11357 #define _SMT2PR9 0x02
11358 #define _SMT2PR10 0x04
11359 #define _SMT2PR11 0x08
11360 #define _SMT2PR12 0x10
11361 #define _SMT2PR13 0x20
11362 #define _SMT2PR14 0x40
11363 #define _SMT2PR15 0x80
11365 //==============================================================================
11368 //==============================================================================
11371 extern __at(0x0DA9) __sfr SMT2PRU
;
11375 unsigned SMT2PR16
: 1;
11376 unsigned SMT2PR17
: 1;
11377 unsigned SMT2PR18
: 1;
11378 unsigned SMT2PR19
: 1;
11379 unsigned SMT2PR20
: 1;
11380 unsigned SMT2PR21
: 1;
11381 unsigned SMT2PR22
: 1;
11382 unsigned SMT2PR23
: 1;
11385 extern __at(0x0DA9) volatile __SMT2PRUbits_t SMT2PRUbits
;
11387 #define _SMT2PR16 0x01
11388 #define _SMT2PR17 0x02
11389 #define _SMT2PR18 0x04
11390 #define _SMT2PR19 0x08
11391 #define _SMT2PR20 0x10
11392 #define _SMT2PR21 0x20
11393 #define _SMT2PR22 0x40
11394 #define _SMT2PR23 0x80
11396 //==============================================================================
11399 //==============================================================================
11402 extern __at(0x0DAA) __sfr SMT2CON0
;
11408 unsigned SMT2PS0
: 1;
11409 unsigned SMT2PS1
: 1;
11420 unsigned SMT2PS
: 2;
11423 } __SMT2CON0bits_t
;
11425 extern __at(0x0DAA) volatile __SMT2CON0bits_t SMT2CON0bits
;
11427 #define _SMT2CON0_SMT2PS0 0x01
11428 #define _SMT2CON0_SMT2PS1 0x02
11429 #define _SMT2CON0_CPOL 0x04
11430 #define _SMT2CON0_SPOL 0x08
11431 #define _SMT2CON0_WPOL 0x10
11432 #define _SMT2CON0_STP 0x20
11433 #define _SMT2CON0_EN 0x80
11435 //==============================================================================
11438 //==============================================================================
11441 extern __at(0x0DAB) __sfr SMT2CON1
;
11447 unsigned MODE0
: 1;
11448 unsigned MODE1
: 1;
11449 unsigned MODE2
: 1;
11450 unsigned MODE3
: 1;
11453 unsigned REPEAT
: 1;
11454 unsigned SMT2GO
: 1;
11459 unsigned SMT2MODE0
: 1;
11460 unsigned SMT2MODE1
: 1;
11461 unsigned SMT2MODE2
: 1;
11462 unsigned SMT2MODE3
: 1;
11465 unsigned SMT2REPEAT
: 1;
11471 unsigned SMT2MODE
: 4;
11480 } __SMT2CON1bits_t
;
11482 extern __at(0x0DAB) volatile __SMT2CON1bits_t SMT2CON1bits
;
11484 #define _SMT2CON1_MODE0 0x01
11485 #define _SMT2CON1_SMT2MODE0 0x01
11486 #define _SMT2CON1_MODE1 0x02
11487 #define _SMT2CON1_SMT2MODE1 0x02
11488 #define _SMT2CON1_MODE2 0x04
11489 #define _SMT2CON1_SMT2MODE2 0x04
11490 #define _SMT2CON1_MODE3 0x08
11491 #define _SMT2CON1_SMT2MODE3 0x08
11492 #define _SMT2CON1_REPEAT 0x40
11493 #define _SMT2CON1_SMT2REPEAT 0x40
11494 #define _SMT2CON1_SMT2GO 0x80
11496 //==============================================================================
11499 //==============================================================================
11502 extern __at(0x0DAC) __sfr SMT2STAT
;
11514 unsigned CPWUP
: 1;
11515 unsigned CPRUP
: 1;
11520 unsigned SMT2AS
: 1;
11521 unsigned SMT2WS
: 1;
11522 unsigned SMT2TS
: 1;
11525 unsigned SMT2RESET
: 1;
11526 unsigned SMT2CPWUP
: 1;
11527 unsigned SMT2CPRUP
: 1;
11529 } __SMT2STATbits_t
;
11531 extern __at(0x0DAC) volatile __SMT2STATbits_t SMT2STATbits
;
11533 #define _SMT2STAT_AS 0x01
11534 #define _SMT2STAT_SMT2AS 0x01
11535 #define _SMT2STAT_WS 0x02
11536 #define _SMT2STAT_SMT2WS 0x02
11537 #define _SMT2STAT_TS 0x04
11538 #define _SMT2STAT_SMT2TS 0x04
11539 #define _SMT2STAT_RST 0x20
11540 #define _SMT2STAT_SMT2RESET 0x20
11541 #define _SMT2STAT_CPWUP 0x40
11542 #define _SMT2STAT_SMT2CPWUP 0x40
11543 #define _SMT2STAT_CPRUP 0x80
11544 #define _SMT2STAT_SMT2CPRUP 0x80
11546 //==============================================================================
11549 //==============================================================================
11552 extern __at(0x0DAD) __sfr SMT2CLK
;
11558 unsigned CSEL0
: 1;
11559 unsigned CSEL1
: 1;
11560 unsigned CSEL2
: 1;
11570 unsigned SMT2CSEL0
: 1;
11571 unsigned SMT2CSEL1
: 1;
11572 unsigned SMT2CSEL2
: 1;
11588 unsigned SMT2CSEL
: 3;
11593 extern __at(0x0DAD) volatile __SMT2CLKbits_t SMT2CLKbits
;
11595 #define _SMT2CLK_CSEL0 0x01
11596 #define _SMT2CLK_SMT2CSEL0 0x01
11597 #define _SMT2CLK_CSEL1 0x02
11598 #define _SMT2CLK_SMT2CSEL1 0x02
11599 #define _SMT2CLK_CSEL2 0x04
11600 #define _SMT2CLK_SMT2CSEL2 0x04
11602 //==============================================================================
11605 //==============================================================================
11608 extern __at(0x0DAE) __sfr SMT2SIG
;
11614 unsigned SSEL0
: 1;
11615 unsigned SSEL1
: 1;
11616 unsigned SSEL2
: 1;
11617 unsigned SSEL3
: 1;
11618 unsigned SSEL4
: 1;
11626 unsigned SMT2SSEL0
: 1;
11627 unsigned SMT2SSEL1
: 1;
11628 unsigned SMT2SSEL2
: 1;
11629 unsigned SMT2SSEL3
: 1;
11630 unsigned SMT2SSEL4
: 1;
11638 unsigned SMT2SSEL
: 5;
11649 extern __at(0x0DAE) volatile __SMT2SIGbits_t SMT2SIGbits
;
11651 #define _SMT2SIG_SSEL0 0x01
11652 #define _SMT2SIG_SMT2SSEL0 0x01
11653 #define _SMT2SIG_SSEL1 0x02
11654 #define _SMT2SIG_SMT2SSEL1 0x02
11655 #define _SMT2SIG_SSEL2 0x04
11656 #define _SMT2SIG_SMT2SSEL2 0x04
11657 #define _SMT2SIG_SSEL3 0x08
11658 #define _SMT2SIG_SMT2SSEL3 0x08
11659 #define _SMT2SIG_SSEL4 0x10
11660 #define _SMT2SIG_SMT2SSEL4 0x10
11662 //==============================================================================
11665 //==============================================================================
11668 extern __at(0x0DAF) __sfr SMT2WIN
;
11674 unsigned WSEL0
: 1;
11675 unsigned WSEL1
: 1;
11676 unsigned WSEL2
: 1;
11677 unsigned WSEL3
: 1;
11678 unsigned WSEL4
: 1;
11686 unsigned SMT2WSEL0
: 1;
11687 unsigned SMT2WSEL1
: 1;
11688 unsigned SMT2WSEL2
: 1;
11689 unsigned SMT2WSEL3
: 1;
11690 unsigned SMT2WSEL4
: 1;
11704 unsigned SMT2WSEL
: 5;
11709 extern __at(0x0DAF) volatile __SMT2WINbits_t SMT2WINbits
;
11711 #define _SMT2WIN_WSEL0 0x01
11712 #define _SMT2WIN_SMT2WSEL0 0x01
11713 #define _SMT2WIN_WSEL1 0x02
11714 #define _SMT2WIN_SMT2WSEL1 0x02
11715 #define _SMT2WIN_WSEL2 0x04
11716 #define _SMT2WIN_SMT2WSEL2 0x04
11717 #define _SMT2WIN_WSEL3 0x08
11718 #define _SMT2WIN_SMT2WSEL3 0x08
11719 #define _SMT2WIN_WSEL4 0x10
11720 #define _SMT2WIN_SMT2WSEL4 0x10
11722 //==============================================================================
11725 //==============================================================================
11728 extern __at(0x0E0F) __sfr PPSLOCK
;
11732 unsigned PPSLOCKED
: 1;
11742 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits
;
11744 #define _PPSLOCKED 0x01
11746 //==============================================================================
11749 //==============================================================================
11752 extern __at(0x0E10) __sfr INTPPS
;
11758 unsigned INTPPS0
: 1;
11759 unsigned INTPPS1
: 1;
11760 unsigned INTPPS2
: 1;
11761 unsigned INTPPS3
: 1;
11762 unsigned INTPPS4
: 1;
11770 unsigned INTPPS
: 5;
11775 extern __at(0x0E10) volatile __INTPPSbits_t INTPPSbits
;
11777 #define _INTPPS0 0x01
11778 #define _INTPPS1 0x02
11779 #define _INTPPS2 0x04
11780 #define _INTPPS3 0x08
11781 #define _INTPPS4 0x10
11783 //==============================================================================
11786 //==============================================================================
11789 extern __at(0x0E11) __sfr T0CKIPPS
;
11795 unsigned T0CKIPPS0
: 1;
11796 unsigned T0CKIPPS1
: 1;
11797 unsigned T0CKIPPS2
: 1;
11798 unsigned T0CKIPPS3
: 1;
11799 unsigned T0CKIPPS4
: 1;
11807 unsigned T0CKIPPS
: 5;
11810 } __T0CKIPPSbits_t
;
11812 extern __at(0x0E11) volatile __T0CKIPPSbits_t T0CKIPPSbits
;
11814 #define _T0CKIPPS0 0x01
11815 #define _T0CKIPPS1 0x02
11816 #define _T0CKIPPS2 0x04
11817 #define _T0CKIPPS3 0x08
11818 #define _T0CKIPPS4 0x10
11820 //==============================================================================
11823 //==============================================================================
11826 extern __at(0x0E12) __sfr T1CKIPPS
;
11832 unsigned T1CKIPPS0
: 1;
11833 unsigned T1CKIPPS1
: 1;
11834 unsigned T1CKIPPS2
: 1;
11835 unsigned T1CKIPPS3
: 1;
11836 unsigned T1CKIPPS4
: 1;
11844 unsigned T1CKIPPS
: 5;
11847 } __T1CKIPPSbits_t
;
11849 extern __at(0x0E12) volatile __T1CKIPPSbits_t T1CKIPPSbits
;
11851 #define _T1CKIPPS0 0x01
11852 #define _T1CKIPPS1 0x02
11853 #define _T1CKIPPS2 0x04
11854 #define _T1CKIPPS3 0x08
11855 #define _T1CKIPPS4 0x10
11857 //==============================================================================
11860 //==============================================================================
11863 extern __at(0x0E13) __sfr T1GPPS
;
11869 unsigned T1GPPS0
: 1;
11870 unsigned T1GPPS1
: 1;
11871 unsigned T1GPPS2
: 1;
11872 unsigned T1GPPS3
: 1;
11873 unsigned T1GPPS4
: 1;
11881 unsigned T1GPPS
: 5;
11886 extern __at(0x0E13) volatile __T1GPPSbits_t T1GPPSbits
;
11888 #define _T1GPPS0 0x01
11889 #define _T1GPPS1 0x02
11890 #define _T1GPPS2 0x04
11891 #define _T1GPPS3 0x08
11892 #define _T1GPPS4 0x10
11894 //==============================================================================
11897 //==============================================================================
11900 extern __at(0x0E14) __sfr CCP1PPS
;
11906 unsigned CCP1PPS0
: 1;
11907 unsigned CCP1PPS1
: 1;
11908 unsigned CCP1PPS2
: 1;
11909 unsigned CCP1PPS3
: 1;
11910 unsigned CCP1PPS4
: 1;
11918 unsigned CCP1PPS
: 5;
11923 extern __at(0x0E14) volatile __CCP1PPSbits_t CCP1PPSbits
;
11925 #define _CCP1PPS0 0x01
11926 #define _CCP1PPS1 0x02
11927 #define _CCP1PPS2 0x04
11928 #define _CCP1PPS3 0x08
11929 #define _CCP1PPS4 0x10
11931 //==============================================================================
11934 //==============================================================================
11937 extern __at(0x0E15) __sfr CCP2PPS
;
11943 unsigned CCP2PPS0
: 1;
11944 unsigned CCP2PPS1
: 1;
11945 unsigned CCP2PPS2
: 1;
11946 unsigned CCP2PPS3
: 1;
11947 unsigned CCP2PPS4
: 1;
11955 unsigned CCP2PPS
: 5;
11960 extern __at(0x0E15) volatile __CCP2PPSbits_t CCP2PPSbits
;
11962 #define _CCP2PPS0 0x01
11963 #define _CCP2PPS1 0x02
11964 #define _CCP2PPS2 0x04
11965 #define _CCP2PPS3 0x08
11966 #define _CCP2PPS4 0x10
11968 //==============================================================================
11971 //==============================================================================
11974 extern __at(0x0E16) __sfr ATINPPS
;
11980 unsigned ATINPPS0
: 1;
11981 unsigned ATINPPS1
: 1;
11982 unsigned ATINPPS2
: 1;
11983 unsigned ATINPPS3
: 1;
11984 unsigned ATINPPS4
: 1;
11992 unsigned ATINPPS
: 5;
11997 extern __at(0x0E16) volatile __ATINPPSbits_t ATINPPSbits
;
11999 #define _ATINPPS0 0x01
12000 #define _ATINPPS1 0x02
12001 #define _ATINPPS2 0x04
12002 #define _ATINPPS3 0x08
12003 #define _ATINPPS4 0x10
12005 //==============================================================================
12008 //==============================================================================
12011 extern __at(0x0E17) __sfr CWGINPPS
;
12017 unsigned CWGINPPS0
: 1;
12018 unsigned CWGINPPS1
: 1;
12019 unsigned CWGINPPS2
: 1;
12020 unsigned CWGINPPS3
: 1;
12021 unsigned CWGINPPS4
: 1;
12029 unsigned CWGINPPS
: 5;
12032 } __CWGINPPSbits_t
;
12034 extern __at(0x0E17) volatile __CWGINPPSbits_t CWGINPPSbits
;
12036 #define _CWGINPPS0 0x01
12037 #define _CWGINPPS1 0x02
12038 #define _CWGINPPS2 0x04
12039 #define _CWGINPPS3 0x08
12040 #define _CWGINPPS4 0x10
12042 //==============================================================================
12045 //==============================================================================
12048 extern __at(0x0E18) __sfr T2PPS
;
12054 unsigned T2PPS0
: 1;
12055 unsigned T2PPS1
: 1;
12056 unsigned T2PPS2
: 1;
12057 unsigned T2PPS3
: 1;
12058 unsigned T2PPS4
: 1;
12066 unsigned T2PPS
: 5;
12071 extern __at(0x0E18) volatile __T2PPSbits_t T2PPSbits
;
12073 #define _T2PPS0 0x01
12074 #define _T2PPS1 0x02
12075 #define _T2PPS2 0x04
12076 #define _T2PPS3 0x08
12077 #define _T2PPS4 0x10
12079 //==============================================================================
12082 //==============================================================================
12085 extern __at(0x0E19) __sfr T3CKIPPS
;
12091 unsigned T3CKIPPS0
: 1;
12092 unsigned T3CKIPPS1
: 1;
12093 unsigned T3CKIPPS2
: 1;
12094 unsigned T3CKIPPS3
: 1;
12095 unsigned T3CKIPPS4
: 1;
12103 unsigned T3CKIPPS
: 5;
12106 } __T3CKIPPSbits_t
;
12108 extern __at(0x0E19) volatile __T3CKIPPSbits_t T3CKIPPSbits
;
12110 #define _T3CKIPPS0 0x01
12111 #define _T3CKIPPS1 0x02
12112 #define _T3CKIPPS2 0x04
12113 #define _T3CKIPPS3 0x08
12114 #define _T3CKIPPS4 0x10
12116 //==============================================================================
12119 //==============================================================================
12122 extern __at(0x0E1A) __sfr T3GPPS
;
12128 unsigned T3GPPS0
: 1;
12129 unsigned T3GPPS1
: 1;
12130 unsigned T3GPPS2
: 1;
12131 unsigned T3GPPS3
: 1;
12132 unsigned T3GPPS4
: 1;
12140 unsigned T3GPPS
: 5;
12145 extern __at(0x0E1A) volatile __T3GPPSbits_t T3GPPSbits
;
12147 #define _T3GPPS0 0x01
12148 #define _T3GPPS1 0x02
12149 #define _T3GPPS2 0x04
12150 #define _T3GPPS3 0x08
12151 #define _T3GPPS4 0x10
12153 //==============================================================================
12156 //==============================================================================
12159 extern __at(0x0E1B) __sfr T4PPS
;
12165 unsigned T4PPS0
: 1;
12166 unsigned T4PPS1
: 1;
12167 unsigned T4PPS2
: 1;
12168 unsigned T4PPS3
: 1;
12169 unsigned T4PPS4
: 1;
12177 unsigned T4PPS
: 5;
12182 extern __at(0x0E1B) volatile __T4PPSbits_t T4PPSbits
;
12184 #define _T4PPS0 0x01
12185 #define _T4PPS1 0x02
12186 #define _T4PPS2 0x04
12187 #define _T4PPS3 0x08
12188 #define _T4PPS4 0x10
12190 //==============================================================================
12193 //==============================================================================
12196 extern __at(0x0E1C) __sfr T5CKIPPS
;
12202 unsigned T5CKIPPS0
: 1;
12203 unsigned T5CKIPPS1
: 1;
12204 unsigned T5CKIPPS2
: 1;
12205 unsigned T5CKIPPS3
: 1;
12206 unsigned T5CKIPPS4
: 1;
12214 unsigned T5CKIPPS
: 5;
12217 } __T5CKIPPSbits_t
;
12219 extern __at(0x0E1C) volatile __T5CKIPPSbits_t T5CKIPPSbits
;
12221 #define _T5CKIPPS0 0x01
12222 #define _T5CKIPPS1 0x02
12223 #define _T5CKIPPS2 0x04
12224 #define _T5CKIPPS3 0x08
12225 #define _T5CKIPPS4 0x10
12227 //==============================================================================
12230 //==============================================================================
12233 extern __at(0x0E1D) __sfr T5GPPS
;
12239 unsigned T5GPPS0
: 1;
12240 unsigned T5GPPS1
: 1;
12241 unsigned T5GPPS2
: 1;
12242 unsigned T5GPPS3
: 1;
12243 unsigned T5GPPS4
: 1;
12251 unsigned T5GPPS
: 5;
12256 extern __at(0x0E1D) volatile __T5GPPSbits_t T5GPPSbits
;
12258 #define _T5GPPS0 0x01
12259 #define _T5GPPS1 0x02
12260 #define _T5GPPS2 0x04
12261 #define _T5GPPS3 0x08
12262 #define _T5GPPS4 0x10
12264 //==============================================================================
12267 //==============================================================================
12270 extern __at(0x0E1E) __sfr T6PPS
;
12276 unsigned T6PPS0
: 1;
12277 unsigned T6PPS1
: 1;
12278 unsigned T6PPS2
: 1;
12279 unsigned T6PPS3
: 1;
12280 unsigned T6PPS4
: 1;
12288 unsigned T6PPS
: 5;
12293 extern __at(0x0E1E) volatile __T6PPSbits_t T6PPSbits
;
12295 #define _T6PPS0 0x01
12296 #define _T6PPS1 0x02
12297 #define _T6PPS2 0x04
12298 #define _T6PPS3 0x08
12299 #define _T6PPS4 0x10
12301 //==============================================================================
12304 //==============================================================================
12307 extern __at(0x0E1F) __sfr ATCC1PPS
;
12313 unsigned ATCC1PPS0
: 1;
12314 unsigned ATCC1PPS1
: 1;
12315 unsigned ATCC1PPS2
: 1;
12316 unsigned ATCC1PPS3
: 1;
12317 unsigned ATCC1PPS4
: 1;
12325 unsigned ATCC1PPS
: 5;
12328 } __ATCC1PPSbits_t
;
12330 extern __at(0x0E1F) volatile __ATCC1PPSbits_t ATCC1PPSbits
;
12332 #define _ATCC1PPS0 0x01
12333 #define _ATCC1PPS1 0x02
12334 #define _ATCC1PPS2 0x04
12335 #define _ATCC1PPS3 0x08
12336 #define _ATCC1PPS4 0x10
12338 //==============================================================================
12341 //==============================================================================
12344 extern __at(0x0E20) __sfr SSPCLKPPS
;
12350 unsigned SSPCLKPPS0
: 1;
12351 unsigned SSPCLKPPS1
: 1;
12352 unsigned SSPCLKPPS2
: 1;
12353 unsigned SSPCLKPPS3
: 1;
12354 unsigned SSPCLKPPS4
: 1;
12362 unsigned SSPCLKPPS
: 5;
12365 } __SSPCLKPPSbits_t
;
12367 extern __at(0x0E20) volatile __SSPCLKPPSbits_t SSPCLKPPSbits
;
12369 #define _SSPCLKPPS0 0x01
12370 #define _SSPCLKPPS1 0x02
12371 #define _SSPCLKPPS2 0x04
12372 #define _SSPCLKPPS3 0x08
12373 #define _SSPCLKPPS4 0x10
12375 //==============================================================================
12378 //==============================================================================
12381 extern __at(0x0E21) __sfr SSPDATPPS
;
12387 unsigned SSPDATPPS0
: 1;
12388 unsigned SSPDATPPS1
: 1;
12389 unsigned SSPDATPPS2
: 1;
12390 unsigned SSPDATPPS3
: 1;
12391 unsigned SSPDATPPS4
: 1;
12399 unsigned SSPDATPPS
: 5;
12402 } __SSPDATPPSbits_t
;
12404 extern __at(0x0E21) volatile __SSPDATPPSbits_t SSPDATPPSbits
;
12406 #define _SSPDATPPS0 0x01
12407 #define _SSPDATPPS1 0x02
12408 #define _SSPDATPPS2 0x04
12409 #define _SSPDATPPS3 0x08
12410 #define _SSPDATPPS4 0x10
12412 //==============================================================================
12415 //==============================================================================
12418 extern __at(0x0E22) __sfr SSPSSPPS
;
12424 unsigned SSPSSPPS0
: 1;
12425 unsigned SSPSSPPS1
: 1;
12426 unsigned SSPSSPPS2
: 1;
12427 unsigned SSPSSPPS3
: 1;
12428 unsigned SSPSSPPS4
: 1;
12436 unsigned SSPSSPPS
: 5;
12439 } __SSPSSPPSbits_t
;
12441 extern __at(0x0E22) volatile __SSPSSPPSbits_t SSPSSPPSbits
;
12443 #define _SSPSSPPS0 0x01
12444 #define _SSPSSPPS1 0x02
12445 #define _SSPSSPPS2 0x04
12446 #define _SSPSSPPS3 0x08
12447 #define _SSPSSPPS4 0x10
12449 //==============================================================================
12452 //==============================================================================
12455 extern __at(0x0E23) __sfr ATCC2PPS
;
12461 unsigned ATCC2PPS0
: 1;
12462 unsigned ATCC2PPS1
: 1;
12463 unsigned ATCC2PPS2
: 1;
12464 unsigned ATCC2PPS3
: 1;
12465 unsigned ATCC2PPS4
: 1;
12473 unsigned ATCC2PPS
: 5;
12476 } __ATCC2PPSbits_t
;
12478 extern __at(0x0E23) volatile __ATCC2PPSbits_t ATCC2PPSbits
;
12480 #define _ATCC2PPS0 0x01
12481 #define _ATCC2PPS1 0x02
12482 #define _ATCC2PPS2 0x04
12483 #define _ATCC2PPS3 0x08
12484 #define _ATCC2PPS4 0x10
12486 //==============================================================================
12489 //==============================================================================
12492 extern __at(0x0E24) __sfr RXPPS
;
12498 unsigned RXPPS0
: 1;
12499 unsigned RXPPS1
: 1;
12500 unsigned RXPPS2
: 1;
12501 unsigned RXPPS3
: 1;
12502 unsigned RXPPS4
: 1;
12510 unsigned RXPPS
: 5;
12515 extern __at(0x0E24) volatile __RXPPSbits_t RXPPSbits
;
12517 #define _RXPPS0 0x01
12518 #define _RXPPS1 0x02
12519 #define _RXPPS2 0x04
12520 #define _RXPPS3 0x08
12521 #define _RXPPS4 0x10
12523 //==============================================================================
12526 //==============================================================================
12529 extern __at(0x0E25) __sfr CKPPS
;
12535 unsigned CKPPS0
: 1;
12536 unsigned CKPPS1
: 1;
12537 unsigned CKPPS2
: 1;
12538 unsigned CKPPS3
: 1;
12539 unsigned CKPPS4
: 1;
12547 unsigned CKPPS
: 5;
12552 extern __at(0x0E25) volatile __CKPPSbits_t CKPPSbits
;
12554 #define _CKPPS0 0x01
12555 #define _CKPPS1 0x02
12556 #define _CKPPS2 0x04
12557 #define _CKPPS3 0x08
12558 #define _CKPPS4 0x10
12560 //==============================================================================
12563 //==============================================================================
12566 extern __at(0x0E26) __sfr SMT1SIGPPS
;
12572 unsigned SMT1SIGPPS0
: 1;
12573 unsigned SMT1SIGPPS1
: 1;
12574 unsigned SMT1SIGPPS2
: 1;
12575 unsigned SMT1SIGPPS3
: 1;
12576 unsigned SMT1SIGPPS4
: 1;
12584 unsigned SMT1SIGPPS
: 5;
12587 } __SMT1SIGPPSbits_t
;
12589 extern __at(0x0E26) volatile __SMT1SIGPPSbits_t SMT1SIGPPSbits
;
12591 #define _SMT1SIGPPS0 0x01
12592 #define _SMT1SIGPPS1 0x02
12593 #define _SMT1SIGPPS2 0x04
12594 #define _SMT1SIGPPS3 0x08
12595 #define _SMT1SIGPPS4 0x10
12597 //==============================================================================
12600 //==============================================================================
12603 extern __at(0x0E27) __sfr SMT1WINPPS
;
12609 unsigned SMTWINPPS0
: 1;
12610 unsigned SMTWINPPS1
: 1;
12611 unsigned SMTWINPPS2
: 1;
12612 unsigned SMTWINPPS3
: 1;
12613 unsigned SMTWINPPS4
: 1;
12621 unsigned SMTWINPPS
: 5;
12624 } __SMT1WINPPSbits_t
;
12626 extern __at(0x0E27) volatile __SMT1WINPPSbits_t SMT1WINPPSbits
;
12628 #define _SMTWINPPS0 0x01
12629 #define _SMTWINPPS1 0x02
12630 #define _SMTWINPPS2 0x04
12631 #define _SMTWINPPS3 0x08
12632 #define _SMTWINPPS4 0x10
12634 //==============================================================================
12637 //==============================================================================
12640 extern __at(0x0E28) __sfr CLCIN0PPS
;
12646 unsigned CLCIN0PPS0
: 1;
12647 unsigned CLCIN0PPS1
: 1;
12648 unsigned CLCIN0PPS2
: 1;
12649 unsigned CLCIN0PPS3
: 1;
12650 unsigned CLCIN0PPS4
: 1;
12658 unsigned CLCIN0PPS
: 5;
12661 } __CLCIN0PPSbits_t
;
12663 extern __at(0x0E28) volatile __CLCIN0PPSbits_t CLCIN0PPSbits
;
12665 #define _CLCIN0PPS0 0x01
12666 #define _CLCIN0PPS1 0x02
12667 #define _CLCIN0PPS2 0x04
12668 #define _CLCIN0PPS3 0x08
12669 #define _CLCIN0PPS4 0x10
12671 //==============================================================================
12674 //==============================================================================
12677 extern __at(0x0E29) __sfr CLCIN1PPS
;
12683 unsigned CLCIN1PPS0
: 1;
12684 unsigned CLCIN1PPS1
: 1;
12685 unsigned CLCIN1PPS2
: 1;
12686 unsigned CLCIN1PPS3
: 1;
12687 unsigned CLCIN1PPS4
: 1;
12695 unsigned CLCIN1PPS
: 5;
12698 } __CLCIN1PPSbits_t
;
12700 extern __at(0x0E29) volatile __CLCIN1PPSbits_t CLCIN1PPSbits
;
12702 #define _CLCIN1PPS0 0x01
12703 #define _CLCIN1PPS1 0x02
12704 #define _CLCIN1PPS2 0x04
12705 #define _CLCIN1PPS3 0x08
12706 #define _CLCIN1PPS4 0x10
12708 //==============================================================================
12711 //==============================================================================
12714 extern __at(0x0E2A) __sfr CLCIN2PPS
;
12720 unsigned CLCIN2PPS0
: 1;
12721 unsigned CLCIN2PPS1
: 1;
12722 unsigned CLCIN2PPS2
: 1;
12723 unsigned CLCIN2PPS3
: 1;
12724 unsigned CLCIN2PPS4
: 1;
12732 unsigned CLCIN2PPS
: 5;
12735 } __CLCIN2PPSbits_t
;
12737 extern __at(0x0E2A) volatile __CLCIN2PPSbits_t CLCIN2PPSbits
;
12739 #define _CLCIN2PPS0 0x01
12740 #define _CLCIN2PPS1 0x02
12741 #define _CLCIN2PPS2 0x04
12742 #define _CLCIN2PPS3 0x08
12743 #define _CLCIN2PPS4 0x10
12745 //==============================================================================
12748 //==============================================================================
12751 extern __at(0x0E2B) __sfr CLCIN3PPS
;
12757 unsigned CLCIN3PPS0
: 1;
12758 unsigned CLCIN3PPS1
: 1;
12759 unsigned CLCIN3PPS2
: 1;
12760 unsigned CLCIN3PPS3
: 1;
12761 unsigned CLCIN3PPS4
: 1;
12769 unsigned CLCIN3PPS
: 5;
12772 } __CLCIN3PPSbits_t
;
12774 extern __at(0x0E2B) volatile __CLCIN3PPSbits_t CLCIN3PPSbits
;
12776 #define _CLCIN3PPS0 0x01
12777 #define _CLCIN3PPS1 0x02
12778 #define _CLCIN3PPS2 0x04
12779 #define _CLCIN3PPS3 0x08
12780 #define _CLCIN3PPS4 0x10
12782 //==============================================================================
12785 //==============================================================================
12788 extern __at(0x0E2C) __sfr SMT2SIGPPS
;
12794 unsigned SMT2SIGPPS0
: 1;
12795 unsigned SMT2SIGPPS1
: 1;
12796 unsigned SMT2SIGPPS2
: 1;
12797 unsigned SMT2SIGPPS3
: 1;
12798 unsigned SMT2SIGPPS4
: 1;
12806 unsigned SMT2SIGPPS
: 5;
12809 } __SMT2SIGPPSbits_t
;
12811 extern __at(0x0E2C) volatile __SMT2SIGPPSbits_t SMT2SIGPPSbits
;
12813 #define _SMT2SIGPPS0 0x01
12814 #define _SMT2SIGPPS1 0x02
12815 #define _SMT2SIGPPS2 0x04
12816 #define _SMT2SIGPPS3 0x08
12817 #define _SMT2SIGPPS4 0x10
12819 //==============================================================================
12822 //==============================================================================
12825 extern __at(0x0E2D) __sfr SMT2WINPPS
;
12831 unsigned SMT2WINPPS0
: 1;
12832 unsigned SMT2WINPPS1
: 1;
12833 unsigned SMT2WINPPS2
: 1;
12834 unsigned SMT2WINPPS3
: 1;
12835 unsigned SMT2WINPPS4
: 1;
12843 unsigned SMT2WINPPS
: 5;
12846 } __SMT2WINPPSbits_t
;
12848 extern __at(0x0E2D) volatile __SMT2WINPPSbits_t SMT2WINPPSbits
;
12850 #define _SMT2WINPPS0 0x01
12851 #define _SMT2WINPPS1 0x02
12852 #define _SMT2WINPPS2 0x04
12853 #define _SMT2WINPPS3 0x08
12854 #define _SMT2WINPPS4 0x10
12856 //==============================================================================
12859 //==============================================================================
12862 extern __at(0x0E2E) __sfr ATCC3PPS
;
12868 unsigned ATCC3PPS0
: 1;
12869 unsigned ATCC3PPS1
: 1;
12870 unsigned ATCC3PPS2
: 1;
12871 unsigned ATCC3PPS3
: 1;
12872 unsigned ATCC3PPS4
: 1;
12880 unsigned ATCC3PPS
: 5;
12883 } __ATCC3PPSbits_t
;
12885 extern __at(0x0E2E) volatile __ATCC3PPSbits_t ATCC3PPSbits
;
12887 #define _ATCC3PPS0 0x01
12888 #define _ATCC3PPS1 0x02
12889 #define _ATCC3PPS2 0x04
12890 #define _ATCC3PPS3 0x08
12891 #define _ATCC3PPS4 0x10
12893 //==============================================================================
12896 //==============================================================================
12899 extern __at(0x0E90) __sfr RA0PPS
;
12905 unsigned RA0PPS0
: 1;
12906 unsigned RA0PPS1
: 1;
12907 unsigned RA0PPS2
: 1;
12908 unsigned RA0PPS3
: 1;
12909 unsigned RA0PPS4
: 1;
12917 unsigned RA0PPS
: 5;
12922 extern __at(0x0E90) volatile __RA0PPSbits_t RA0PPSbits
;
12924 #define _RA0PPS0 0x01
12925 #define _RA0PPS1 0x02
12926 #define _RA0PPS2 0x04
12927 #define _RA0PPS3 0x08
12928 #define _RA0PPS4 0x10
12930 //==============================================================================
12933 //==============================================================================
12936 extern __at(0x0E91) __sfr RA1PPS
;
12942 unsigned RA1PPS0
: 1;
12943 unsigned RA1PPS1
: 1;
12944 unsigned RA1PPS2
: 1;
12945 unsigned RA1PPS3
: 1;
12946 unsigned RA1PPS4
: 1;
12954 unsigned RA1PPS
: 5;
12959 extern __at(0x0E91) volatile __RA1PPSbits_t RA1PPSbits
;
12961 #define _RA1PPS0 0x01
12962 #define _RA1PPS1 0x02
12963 #define _RA1PPS2 0x04
12964 #define _RA1PPS3 0x08
12965 #define _RA1PPS4 0x10
12967 //==============================================================================
12970 //==============================================================================
12973 extern __at(0x0E92) __sfr RA2PPS
;
12979 unsigned RA2PPS0
: 1;
12980 unsigned RA2PPS1
: 1;
12981 unsigned RA2PPS2
: 1;
12982 unsigned RA2PPS3
: 1;
12983 unsigned RA2PPS4
: 1;
12991 unsigned RA2PPS
: 5;
12996 extern __at(0x0E92) volatile __RA2PPSbits_t RA2PPSbits
;
12998 #define _RA2PPS0 0x01
12999 #define _RA2PPS1 0x02
13000 #define _RA2PPS2 0x04
13001 #define _RA2PPS3 0x08
13002 #define _RA2PPS4 0x10
13004 //==============================================================================
13007 //==============================================================================
13010 extern __at(0x0E94) __sfr RA4PPS
;
13016 unsigned RA4PPS0
: 1;
13017 unsigned RA4PPS1
: 1;
13018 unsigned RA4PPS2
: 1;
13019 unsigned RA4PPS3
: 1;
13020 unsigned RA4PPS4
: 1;
13028 unsigned RA4PPS
: 5;
13033 extern __at(0x0E94) volatile __RA4PPSbits_t RA4PPSbits
;
13035 #define _RA4PPS0 0x01
13036 #define _RA4PPS1 0x02
13037 #define _RA4PPS2 0x04
13038 #define _RA4PPS3 0x08
13039 #define _RA4PPS4 0x10
13041 //==============================================================================
13044 //==============================================================================
13047 extern __at(0x0E95) __sfr RA5PPS
;
13053 unsigned RA5PPS0
: 1;
13054 unsigned RA5PPS1
: 1;
13055 unsigned RA5PPS2
: 1;
13056 unsigned RA5PPS3
: 1;
13057 unsigned RA5PPS4
: 1;
13065 unsigned RA5PPS
: 5;
13070 extern __at(0x0E95) volatile __RA5PPSbits_t RA5PPSbits
;
13072 #define _RA5PPS0 0x01
13073 #define _RA5PPS1 0x02
13074 #define _RA5PPS2 0x04
13075 #define _RA5PPS3 0x08
13076 #define _RA5PPS4 0x10
13078 //==============================================================================
13081 //==============================================================================
13084 extern __at(0x0E9C) __sfr RB4PPS
;
13090 unsigned RB4PPS0
: 1;
13091 unsigned RB4PPS1
: 1;
13092 unsigned RB4PPS2
: 1;
13093 unsigned RB4PPS3
: 1;
13094 unsigned RB4PPS4
: 1;
13102 unsigned RB4PPS
: 5;
13107 extern __at(0x0E9C) volatile __RB4PPSbits_t RB4PPSbits
;
13109 #define _RB4PPS0 0x01
13110 #define _RB4PPS1 0x02
13111 #define _RB4PPS2 0x04
13112 #define _RB4PPS3 0x08
13113 #define _RB4PPS4 0x10
13115 //==============================================================================
13118 //==============================================================================
13121 extern __at(0x0E9D) __sfr RB5PPS
;
13127 unsigned RB5PPS0
: 1;
13128 unsigned RB5PPS1
: 1;
13129 unsigned RB5PPS2
: 1;
13130 unsigned RB5PPS3
: 1;
13131 unsigned RB5PPS4
: 1;
13139 unsigned RB5PPS
: 5;
13144 extern __at(0x0E9D) volatile __RB5PPSbits_t RB5PPSbits
;
13146 #define _RB5PPS0 0x01
13147 #define _RB5PPS1 0x02
13148 #define _RB5PPS2 0x04
13149 #define _RB5PPS3 0x08
13150 #define _RB5PPS4 0x10
13152 //==============================================================================
13155 //==============================================================================
13158 extern __at(0x0E9E) __sfr RB6PPS
;
13164 unsigned RB6PPS0
: 1;
13165 unsigned RB6PPS1
: 1;
13166 unsigned RB6PPS2
: 1;
13167 unsigned RB6PPS3
: 1;
13168 unsigned RB6PPS4
: 1;
13176 unsigned RB6PPS
: 5;
13181 extern __at(0x0E9E) volatile __RB6PPSbits_t RB6PPSbits
;
13183 #define _RB6PPS0 0x01
13184 #define _RB6PPS1 0x02
13185 #define _RB6PPS2 0x04
13186 #define _RB6PPS3 0x08
13187 #define _RB6PPS4 0x10
13189 //==============================================================================
13192 //==============================================================================
13195 extern __at(0x0E9F) __sfr RB7PPS
;
13201 unsigned RB7PPS0
: 1;
13202 unsigned RB7PPS1
: 1;
13203 unsigned RB7PPS2
: 1;
13204 unsigned RB7PPS3
: 1;
13205 unsigned RB7PPS4
: 1;
13213 unsigned RB7PPS
: 5;
13218 extern __at(0x0E9F) volatile __RB7PPSbits_t RB7PPSbits
;
13220 #define _RB7PPS0 0x01
13221 #define _RB7PPS1 0x02
13222 #define _RB7PPS2 0x04
13223 #define _RB7PPS3 0x08
13224 #define _RB7PPS4 0x10
13226 //==============================================================================
13229 //==============================================================================
13232 extern __at(0x0EA0) __sfr RC0PPS
;
13238 unsigned RC0PPS0
: 1;
13239 unsigned RC0PPS1
: 1;
13240 unsigned RC0PPS2
: 1;
13241 unsigned RC0PPS3
: 1;
13242 unsigned RC0PPS4
: 1;
13250 unsigned RC0PPS
: 5;
13255 extern __at(0x0EA0) volatile __RC0PPSbits_t RC0PPSbits
;
13257 #define _RC0PPS0 0x01
13258 #define _RC0PPS1 0x02
13259 #define _RC0PPS2 0x04
13260 #define _RC0PPS3 0x08
13261 #define _RC0PPS4 0x10
13263 //==============================================================================
13266 //==============================================================================
13269 extern __at(0x0EA1) __sfr RC1PPS
;
13275 unsigned RC1PPS0
: 1;
13276 unsigned RC1PPS1
: 1;
13277 unsigned RC1PPS2
: 1;
13278 unsigned RC1PPS3
: 1;
13279 unsigned RC1PPS4
: 1;
13287 unsigned RC1PPS
: 5;
13292 extern __at(0x0EA1) volatile __RC1PPSbits_t RC1PPSbits
;
13294 #define _RC1PPS0 0x01
13295 #define _RC1PPS1 0x02
13296 #define _RC1PPS2 0x04
13297 #define _RC1PPS3 0x08
13298 #define _RC1PPS4 0x10
13300 //==============================================================================
13303 //==============================================================================
13306 extern __at(0x0EA2) __sfr RC2PPS
;
13312 unsigned RC2PPS0
: 1;
13313 unsigned RC2PPS1
: 1;
13314 unsigned RC2PPS2
: 1;
13315 unsigned RC2PPS3
: 1;
13316 unsigned RC2PPS4
: 1;
13324 unsigned RC2PPS
: 5;
13329 extern __at(0x0EA2) volatile __RC2PPSbits_t RC2PPSbits
;
13331 #define _RC2PPS0 0x01
13332 #define _RC2PPS1 0x02
13333 #define _RC2PPS2 0x04
13334 #define _RC2PPS3 0x08
13335 #define _RC2PPS4 0x10
13337 //==============================================================================
13340 //==============================================================================
13343 extern __at(0x0EA3) __sfr RC3PPS
;
13349 unsigned RC3PPS0
: 1;
13350 unsigned RC3PPS1
: 1;
13351 unsigned RC3PPS2
: 1;
13352 unsigned RC3PPS3
: 1;
13353 unsigned RC3PPS4
: 1;
13361 unsigned RC3PPS
: 5;
13366 extern __at(0x0EA3) volatile __RC3PPSbits_t RC3PPSbits
;
13368 #define _RC3PPS0 0x01
13369 #define _RC3PPS1 0x02
13370 #define _RC3PPS2 0x04
13371 #define _RC3PPS3 0x08
13372 #define _RC3PPS4 0x10
13374 //==============================================================================
13377 //==============================================================================
13380 extern __at(0x0EA4) __sfr RC4PPS
;
13386 unsigned RC4PPS0
: 1;
13387 unsigned RC4PPS1
: 1;
13388 unsigned RC4PPS2
: 1;
13389 unsigned RC4PPS3
: 1;
13390 unsigned RC4PPS4
: 1;
13398 unsigned RC4PPS
: 5;
13403 extern __at(0x0EA4) volatile __RC4PPSbits_t RC4PPSbits
;
13405 #define _RC4PPS0 0x01
13406 #define _RC4PPS1 0x02
13407 #define _RC4PPS2 0x04
13408 #define _RC4PPS3 0x08
13409 #define _RC4PPS4 0x10
13411 //==============================================================================
13414 //==============================================================================
13417 extern __at(0x0EA5) __sfr RC5PPS
;
13423 unsigned RC5PPS0
: 1;
13424 unsigned RC5PPS1
: 1;
13425 unsigned RC5PPS2
: 1;
13426 unsigned RC5PPS3
: 1;
13427 unsigned RC5PPS4
: 1;
13435 unsigned RC5PPS
: 5;
13440 extern __at(0x0EA5) volatile __RC5PPSbits_t RC5PPSbits
;
13442 #define _RC5PPS0 0x01
13443 #define _RC5PPS1 0x02
13444 #define _RC5PPS2 0x04
13445 #define _RC5PPS3 0x08
13446 #define _RC5PPS4 0x10
13448 //==============================================================================
13451 //==============================================================================
13454 extern __at(0x0EA6) __sfr RC6PPS
;
13460 unsigned RC6PPS0
: 1;
13461 unsigned RC6PPS1
: 1;
13462 unsigned RC6PPS2
: 1;
13463 unsigned RC6PPS3
: 1;
13464 unsigned RC6PPS4
: 1;
13472 unsigned RC6PPS
: 5;
13477 extern __at(0x0EA6) volatile __RC6PPSbits_t RC6PPSbits
;
13479 #define _RC6PPS0 0x01
13480 #define _RC6PPS1 0x02
13481 #define _RC6PPS2 0x04
13482 #define _RC6PPS3 0x08
13483 #define _RC6PPS4 0x10
13485 //==============================================================================
13488 //==============================================================================
13491 extern __at(0x0EA7) __sfr RC7PPS
;
13497 unsigned RC7PPS0
: 1;
13498 unsigned RC7PPS1
: 1;
13499 unsigned RC7PPS2
: 1;
13500 unsigned RC7PPS3
: 1;
13501 unsigned RC7PPS4
: 1;
13509 unsigned RC7PPS
: 5;
13514 extern __at(0x0EA7) volatile __RC7PPSbits_t RC7PPSbits
;
13516 #define _RC7PPS0 0x01
13517 #define _RC7PPS1 0x02
13518 #define _RC7PPS2 0x04
13519 #define _RC7PPS3 0x08
13520 #define _RC7PPS4 0x10
13522 //==============================================================================
13525 //==============================================================================
13528 extern __at(0x0F0F) __sfr CLCDATA
;
13532 unsigned MLC1OUT
: 1;
13533 unsigned MLC2OUT
: 1;
13542 extern __at(0x0F0F) volatile __CLCDATAbits_t CLCDATAbits
;
13544 #define _MLC1OUT 0x01
13545 #define _MLC2OUT 0x02
13547 //==============================================================================
13550 //==============================================================================
13553 extern __at(0x0F10) __sfr CLC1CON
;
13559 unsigned LC1MODE0
: 1;
13560 unsigned LC1MODE1
: 1;
13561 unsigned LC1MODE2
: 1;
13562 unsigned LC1INTN
: 1;
13563 unsigned LC1INTP
: 1;
13564 unsigned LC1OUT
: 1;
13566 unsigned LC1EN
: 1;
13571 unsigned MODE0
: 1;
13572 unsigned MODE1
: 1;
13573 unsigned MODE2
: 1;
13583 unsigned LC1MODE
: 3;
13594 extern __at(0x0F10) volatile __CLC1CONbits_t CLC1CONbits
;
13596 #define _CLC1CON_LC1MODE0 0x01
13597 #define _CLC1CON_MODE0 0x01
13598 #define _CLC1CON_LC1MODE1 0x02
13599 #define _CLC1CON_MODE1 0x02
13600 #define _CLC1CON_LC1MODE2 0x04
13601 #define _CLC1CON_MODE2 0x04
13602 #define _CLC1CON_LC1INTN 0x08
13603 #define _CLC1CON_INTN 0x08
13604 #define _CLC1CON_LC1INTP 0x10
13605 #define _CLC1CON_INTP 0x10
13606 #define _CLC1CON_LC1OUT 0x20
13607 #define _CLC1CON_OUT 0x20
13608 #define _CLC1CON_LC1EN 0x80
13609 #define _CLC1CON_EN 0x80
13611 //==============================================================================
13614 //==============================================================================
13617 extern __at(0x0F11) __sfr CLC1POL
;
13623 unsigned LC1G1POL
: 1;
13624 unsigned LC1G2POL
: 1;
13625 unsigned LC1G3POL
: 1;
13626 unsigned LC1G4POL
: 1;
13630 unsigned LC1POL
: 1;
13635 unsigned G1POL
: 1;
13636 unsigned G2POL
: 1;
13637 unsigned G3POL
: 1;
13638 unsigned G4POL
: 1;
13646 extern __at(0x0F11) volatile __CLC1POLbits_t CLC1POLbits
;
13648 #define _CLC1POL_LC1G1POL 0x01
13649 #define _CLC1POL_G1POL 0x01
13650 #define _CLC1POL_LC1G2POL 0x02
13651 #define _CLC1POL_G2POL 0x02
13652 #define _CLC1POL_LC1G3POL 0x04
13653 #define _CLC1POL_G3POL 0x04
13654 #define _CLC1POL_LC1G4POL 0x08
13655 #define _CLC1POL_G4POL 0x08
13656 #define _CLC1POL_LC1POL 0x80
13657 #define _CLC1POL_POL 0x80
13659 //==============================================================================
13662 //==============================================================================
13665 extern __at(0x0F12) __sfr CLC1SEL0
;
13671 unsigned LC1D1S0
: 1;
13672 unsigned LC1D1S1
: 1;
13673 unsigned LC1D1S2
: 1;
13674 unsigned LC1D1S3
: 1;
13675 unsigned LC1D1S4
: 1;
13676 unsigned LC1D1S5
: 1;
13695 unsigned LC1D1S
: 6;
13704 } __CLC1SEL0bits_t
;
13706 extern __at(0x0F12) volatile __CLC1SEL0bits_t CLC1SEL0bits
;
13708 #define _LC1D1S0 0x01
13710 #define _LC1D1S1 0x02
13712 #define _LC1D1S2 0x04
13714 #define _LC1D1S3 0x08
13716 #define _LC1D1S4 0x10
13718 #define _LC1D1S5 0x20
13721 //==============================================================================
13724 //==============================================================================
13727 extern __at(0x0F13) __sfr CLC1SEL1
;
13733 unsigned LC1D2S0
: 1;
13734 unsigned LC1D2S1
: 1;
13735 unsigned LC1D2S2
: 1;
13736 unsigned LC1D2S3
: 1;
13737 unsigned LC1D2S4
: 1;
13738 unsigned LC1D2S5
: 1;
13757 unsigned LC1D2S
: 6;
13766 } __CLC1SEL1bits_t
;
13768 extern __at(0x0F13) volatile __CLC1SEL1bits_t CLC1SEL1bits
;
13770 #define _LC1D2S0 0x01
13772 #define _LC1D2S1 0x02
13774 #define _LC1D2S2 0x04
13776 #define _LC1D2S3 0x08
13778 #define _LC1D2S4 0x10
13780 #define _LC1D2S5 0x20
13783 //==============================================================================
13786 //==============================================================================
13789 extern __at(0x0F14) __sfr CLC1SEL2
;
13795 unsigned LC1D3S0
: 1;
13796 unsigned LC1D3S1
: 1;
13797 unsigned LC1D3S2
: 1;
13798 unsigned LC1D3S3
: 1;
13799 unsigned LC1D3S4
: 1;
13800 unsigned LC1D3S5
: 1;
13825 unsigned LC1D3S
: 6;
13828 } __CLC1SEL2bits_t
;
13830 extern __at(0x0F14) volatile __CLC1SEL2bits_t CLC1SEL2bits
;
13832 #define _LC1D3S0 0x01
13834 #define _LC1D3S1 0x02
13836 #define _LC1D3S2 0x04
13838 #define _LC1D3S3 0x08
13840 #define _LC1D3S4 0x10
13842 #define _LC1D3S5 0x20
13845 //==============================================================================
13848 //==============================================================================
13851 extern __at(0x0F15) __sfr CLC1SEL3
;
13857 unsigned LC1D4S0
: 1;
13858 unsigned LC1D4S1
: 1;
13859 unsigned LC1D4S2
: 1;
13860 unsigned LC1D4S3
: 1;
13861 unsigned LC1D4S4
: 1;
13862 unsigned LC1D4S5
: 1;
13881 unsigned LC1D4S
: 6;
13890 } __CLC1SEL3bits_t
;
13892 extern __at(0x0F15) volatile __CLC1SEL3bits_t CLC1SEL3bits
;
13894 #define _LC1D4S0 0x01
13896 #define _LC1D4S1 0x02
13898 #define _LC1D4S2 0x04
13900 #define _LC1D4S3 0x08
13902 #define _LC1D4S4 0x10
13904 #define _LC1D4S5 0x20
13907 //==============================================================================
13910 //==============================================================================
13913 extern __at(0x0F16) __sfr CLC1GLS0
;
13919 unsigned LC1G1D1N
: 1;
13920 unsigned LC1G1D1T
: 1;
13921 unsigned LC1G1D2N
: 1;
13922 unsigned LC1G1D2T
: 1;
13923 unsigned LC1G1D3N
: 1;
13924 unsigned LC1G1D3T
: 1;
13925 unsigned LC1G1D4N
: 1;
13926 unsigned LC1G1D4T
: 1;
13940 } __CLC1GLS0bits_t
;
13942 extern __at(0x0F16) volatile __CLC1GLS0bits_t CLC1GLS0bits
;
13944 #define _LC1G1D1N 0x01
13946 #define _LC1G1D1T 0x02
13948 #define _LC1G1D2N 0x04
13950 #define _LC1G1D2T 0x08
13952 #define _LC1G1D3N 0x10
13954 #define _LC1G1D3T 0x20
13956 #define _LC1G1D4N 0x40
13958 #define _LC1G1D4T 0x80
13961 //==============================================================================
13964 //==============================================================================
13967 extern __at(0x0F17) __sfr CLC1GLS1
;
13973 unsigned LC1G2D1N
: 1;
13974 unsigned LC1G2D1T
: 1;
13975 unsigned LC1G2D2N
: 1;
13976 unsigned LC1G2D2T
: 1;
13977 unsigned LC1G2D3N
: 1;
13978 unsigned LC1G2D3T
: 1;
13979 unsigned LC1G2D4N
: 1;
13980 unsigned LC1G2D4T
: 1;
13994 } __CLC1GLS1bits_t
;
13996 extern __at(0x0F17) volatile __CLC1GLS1bits_t CLC1GLS1bits
;
13998 #define _CLC1GLS1_LC1G2D1N 0x01
13999 #define _CLC1GLS1_D1N 0x01
14000 #define _CLC1GLS1_LC1G2D1T 0x02
14001 #define _CLC1GLS1_D1T 0x02
14002 #define _CLC1GLS1_LC1G2D2N 0x04
14003 #define _CLC1GLS1_D2N 0x04
14004 #define _CLC1GLS1_LC1G2D2T 0x08
14005 #define _CLC1GLS1_D2T 0x08
14006 #define _CLC1GLS1_LC1G2D3N 0x10
14007 #define _CLC1GLS1_D3N 0x10
14008 #define _CLC1GLS1_LC1G2D3T 0x20
14009 #define _CLC1GLS1_D3T 0x20
14010 #define _CLC1GLS1_LC1G2D4N 0x40
14011 #define _CLC1GLS1_D4N 0x40
14012 #define _CLC1GLS1_LC1G2D4T 0x80
14013 #define _CLC1GLS1_D4T 0x80
14015 //==============================================================================
14018 //==============================================================================
14021 extern __at(0x0F18) __sfr CLC1GLS2
;
14027 unsigned LC1G3D1N
: 1;
14028 unsigned LC1G3D1T
: 1;
14029 unsigned LC1G3D2N
: 1;
14030 unsigned LC1G3D2T
: 1;
14031 unsigned LC1G3D3N
: 1;
14032 unsigned LC1G3D3T
: 1;
14033 unsigned LC1G3D4N
: 1;
14034 unsigned LC1G3D4T
: 1;
14048 } __CLC1GLS2bits_t
;
14050 extern __at(0x0F18) volatile __CLC1GLS2bits_t CLC1GLS2bits
;
14052 #define _CLC1GLS2_LC1G3D1N 0x01
14053 #define _CLC1GLS2_D1N 0x01
14054 #define _CLC1GLS2_LC1G3D1T 0x02
14055 #define _CLC1GLS2_D1T 0x02
14056 #define _CLC1GLS2_LC1G3D2N 0x04
14057 #define _CLC1GLS2_D2N 0x04
14058 #define _CLC1GLS2_LC1G3D2T 0x08
14059 #define _CLC1GLS2_D2T 0x08
14060 #define _CLC1GLS2_LC1G3D3N 0x10
14061 #define _CLC1GLS2_D3N 0x10
14062 #define _CLC1GLS2_LC1G3D3T 0x20
14063 #define _CLC1GLS2_D3T 0x20
14064 #define _CLC1GLS2_LC1G3D4N 0x40
14065 #define _CLC1GLS2_D4N 0x40
14066 #define _CLC1GLS2_LC1G3D4T 0x80
14067 #define _CLC1GLS2_D4T 0x80
14069 //==============================================================================
14072 //==============================================================================
14075 extern __at(0x0F19) __sfr CLC1GLS3
;
14081 unsigned LC1G4D1N
: 1;
14082 unsigned LC1G4D1T
: 1;
14083 unsigned LC1G4D2N
: 1;
14084 unsigned LC1G4D2T
: 1;
14085 unsigned LC1G4D3N
: 1;
14086 unsigned LC1G4D3T
: 1;
14087 unsigned LC1G4D4N
: 1;
14088 unsigned LC1G4D4T
: 1;
14093 unsigned G4D1N
: 1;
14094 unsigned G4D1T
: 1;
14095 unsigned G4D2N
: 1;
14096 unsigned G4D2T
: 1;
14097 unsigned G4D3N
: 1;
14098 unsigned G4D3T
: 1;
14099 unsigned G4D4N
: 1;
14100 unsigned G4D4T
: 1;
14102 } __CLC1GLS3bits_t
;
14104 extern __at(0x0F19) volatile __CLC1GLS3bits_t CLC1GLS3bits
;
14106 #define _LC1G4D1N 0x01
14107 #define _G4D1N 0x01
14108 #define _LC1G4D1T 0x02
14109 #define _G4D1T 0x02
14110 #define _LC1G4D2N 0x04
14111 #define _G4D2N 0x04
14112 #define _LC1G4D2T 0x08
14113 #define _G4D2T 0x08
14114 #define _LC1G4D3N 0x10
14115 #define _G4D3N 0x10
14116 #define _LC1G4D3T 0x20
14117 #define _G4D3T 0x20
14118 #define _LC1G4D4N 0x40
14119 #define _G4D4N 0x40
14120 #define _LC1G4D4T 0x80
14121 #define _G4D4T 0x80
14123 //==============================================================================
14126 //==============================================================================
14129 extern __at(0x0F1A) __sfr CLC2CON
;
14135 unsigned LC2MODE0
: 1;
14136 unsigned LC2MODE1
: 1;
14137 unsigned LC2MODE2
: 1;
14138 unsigned LC2INTN
: 1;
14139 unsigned LC2INTP
: 1;
14140 unsigned LC2OUT
: 1;
14142 unsigned LC2EN
: 1;
14147 unsigned MODE0
: 1;
14148 unsigned MODE1
: 1;
14149 unsigned MODE2
: 1;
14159 unsigned LC2MODE
: 3;
14170 extern __at(0x0F1A) volatile __CLC2CONbits_t CLC2CONbits
;
14172 #define _CLC2CON_LC2MODE0 0x01
14173 #define _CLC2CON_MODE0 0x01
14174 #define _CLC2CON_LC2MODE1 0x02
14175 #define _CLC2CON_MODE1 0x02
14176 #define _CLC2CON_LC2MODE2 0x04
14177 #define _CLC2CON_MODE2 0x04
14178 #define _CLC2CON_LC2INTN 0x08
14179 #define _CLC2CON_INTN 0x08
14180 #define _CLC2CON_LC2INTP 0x10
14181 #define _CLC2CON_INTP 0x10
14182 #define _CLC2CON_LC2OUT 0x20
14183 #define _CLC2CON_OUT 0x20
14184 #define _CLC2CON_LC2EN 0x80
14185 #define _CLC2CON_EN 0x80
14187 //==============================================================================
14190 //==============================================================================
14193 extern __at(0x0F1B) __sfr CLC2POL
;
14199 unsigned LC2G1POL
: 1;
14200 unsigned LC2G2POL
: 1;
14201 unsigned LC2G3POL
: 1;
14202 unsigned LC2G4POL
: 1;
14206 unsigned LC2POL
: 1;
14211 unsigned G1POL
: 1;
14212 unsigned G2POL
: 1;
14213 unsigned G3POL
: 1;
14214 unsigned G4POL
: 1;
14222 extern __at(0x0F1B) volatile __CLC2POLbits_t CLC2POLbits
;
14224 #define _CLC2POL_LC2G1POL 0x01
14225 #define _CLC2POL_G1POL 0x01
14226 #define _CLC2POL_LC2G2POL 0x02
14227 #define _CLC2POL_G2POL 0x02
14228 #define _CLC2POL_LC2G3POL 0x04
14229 #define _CLC2POL_G3POL 0x04
14230 #define _CLC2POL_LC2G4POL 0x08
14231 #define _CLC2POL_G4POL 0x08
14232 #define _CLC2POL_LC2POL 0x80
14233 #define _CLC2POL_POL 0x80
14235 //==============================================================================
14238 //==============================================================================
14241 extern __at(0x0F1C) __sfr CLC2SEL0
;
14247 unsigned LC2D1S0
: 1;
14248 unsigned LC2D1S1
: 1;
14249 unsigned LC2D1S2
: 1;
14250 unsigned LC2D1S3
: 1;
14251 unsigned LC2D1S4
: 1;
14252 unsigned LC2D1S5
: 1;
14277 unsigned LC2D1S
: 6;
14280 } __CLC2SEL0bits_t
;
14282 extern __at(0x0F1C) volatile __CLC2SEL0bits_t CLC2SEL0bits
;
14284 #define _CLC2SEL0_LC2D1S0 0x01
14285 #define _CLC2SEL0_D1S0 0x01
14286 #define _CLC2SEL0_LC2D1S1 0x02
14287 #define _CLC2SEL0_D1S1 0x02
14288 #define _CLC2SEL0_LC2D1S2 0x04
14289 #define _CLC2SEL0_D1S2 0x04
14290 #define _CLC2SEL0_LC2D1S3 0x08
14291 #define _CLC2SEL0_D1S3 0x08
14292 #define _CLC2SEL0_LC2D1S4 0x10
14293 #define _CLC2SEL0_D1S4 0x10
14294 #define _CLC2SEL0_LC2D1S5 0x20
14295 #define _CLC2SEL0_D1S5 0x20
14297 //==============================================================================
14300 //==============================================================================
14303 extern __at(0x0F1D) __sfr CLC2SEL1
;
14309 unsigned LC2D2S0
: 1;
14310 unsigned LC2D2S1
: 1;
14311 unsigned LC2D2S2
: 1;
14312 unsigned LC2D2S3
: 1;
14313 unsigned LC2D2S4
: 1;
14314 unsigned LC2D2S5
: 1;
14339 unsigned LC2D2S
: 6;
14342 } __CLC2SEL1bits_t
;
14344 extern __at(0x0F1D) volatile __CLC2SEL1bits_t CLC2SEL1bits
;
14346 #define _CLC2SEL1_LC2D2S0 0x01
14347 #define _CLC2SEL1_D2S0 0x01
14348 #define _CLC2SEL1_LC2D2S1 0x02
14349 #define _CLC2SEL1_D2S1 0x02
14350 #define _CLC2SEL1_LC2D2S2 0x04
14351 #define _CLC2SEL1_D2S2 0x04
14352 #define _CLC2SEL1_LC2D2S3 0x08
14353 #define _CLC2SEL1_D2S3 0x08
14354 #define _CLC2SEL1_LC2D2S4 0x10
14355 #define _CLC2SEL1_D2S4 0x10
14356 #define _CLC2SEL1_LC2D2S5 0x20
14357 #define _CLC2SEL1_D2S5 0x20
14359 //==============================================================================
14362 //==============================================================================
14365 extern __at(0x0F1E) __sfr CLC2SEL2
;
14371 unsigned LC2D3S0
: 1;
14372 unsigned LC2D3S1
: 1;
14373 unsigned LC2D3S2
: 1;
14374 unsigned LC2D3S3
: 1;
14375 unsigned LC2D3S4
: 1;
14376 unsigned LC2D3S5
: 1;
14401 unsigned LC2D3S
: 6;
14404 } __CLC2SEL2bits_t
;
14406 extern __at(0x0F1E) volatile __CLC2SEL2bits_t CLC2SEL2bits
;
14408 #define _CLC2SEL2_LC2D3S0 0x01
14409 #define _CLC2SEL2_D3S0 0x01
14410 #define _CLC2SEL2_LC2D3S1 0x02
14411 #define _CLC2SEL2_D3S1 0x02
14412 #define _CLC2SEL2_LC2D3S2 0x04
14413 #define _CLC2SEL2_D3S2 0x04
14414 #define _CLC2SEL2_LC2D3S3 0x08
14415 #define _CLC2SEL2_D3S3 0x08
14416 #define _CLC2SEL2_LC2D3S4 0x10
14417 #define _CLC2SEL2_D3S4 0x10
14418 #define _CLC2SEL2_LC2D3S5 0x20
14419 #define _CLC2SEL2_D3S5 0x20
14421 //==============================================================================
14424 //==============================================================================
14427 extern __at(0x0F1F) __sfr CLC2SEL3
;
14433 unsigned LC2D4S0
: 1;
14434 unsigned LC2D4S1
: 1;
14435 unsigned LC2D4S2
: 1;
14436 unsigned LC2D4S3
: 1;
14437 unsigned LC2D4S4
: 1;
14438 unsigned LC2D4S5
: 1;
14457 unsigned LC2D4S
: 6;
14466 } __CLC2SEL3bits_t
;
14468 extern __at(0x0F1F) volatile __CLC2SEL3bits_t CLC2SEL3bits
;
14470 #define _CLC2SEL3_LC2D4S0 0x01
14471 #define _CLC2SEL3_D4S0 0x01
14472 #define _CLC2SEL3_LC2D4S1 0x02
14473 #define _CLC2SEL3_D4S1 0x02
14474 #define _CLC2SEL3_LC2D4S2 0x04
14475 #define _CLC2SEL3_D4S2 0x04
14476 #define _CLC2SEL3_LC2D4S3 0x08
14477 #define _CLC2SEL3_D4S3 0x08
14478 #define _CLC2SEL3_LC2D4S4 0x10
14479 #define _CLC2SEL3_D4S4 0x10
14480 #define _CLC2SEL3_LC2D4S5 0x20
14481 #define _CLC2SEL3_D4S5 0x20
14483 //==============================================================================
14486 //==============================================================================
14489 extern __at(0x0F20) __sfr CLC2GLS0
;
14495 unsigned LC2G1D1N
: 1;
14496 unsigned LC2G1D1T
: 1;
14497 unsigned LC2G1D2N
: 1;
14498 unsigned LC2G1D2T
: 1;
14499 unsigned LC2G1D3N
: 1;
14500 unsigned LC2G1D3T
: 1;
14501 unsigned LC2G1D4N
: 1;
14502 unsigned LC2G1D4T
: 1;
14516 } __CLC2GLS0bits_t
;
14518 extern __at(0x0F20) volatile __CLC2GLS0bits_t CLC2GLS0bits
;
14520 #define _CLC2GLS0_LC2G1D1N 0x01
14521 #define _CLC2GLS0_D1N 0x01
14522 #define _CLC2GLS0_LC2G1D1T 0x02
14523 #define _CLC2GLS0_D1T 0x02
14524 #define _CLC2GLS0_LC2G1D2N 0x04
14525 #define _CLC2GLS0_D2N 0x04
14526 #define _CLC2GLS0_LC2G1D2T 0x08
14527 #define _CLC2GLS0_D2T 0x08
14528 #define _CLC2GLS0_LC2G1D3N 0x10
14529 #define _CLC2GLS0_D3N 0x10
14530 #define _CLC2GLS0_LC2G1D3T 0x20
14531 #define _CLC2GLS0_D3T 0x20
14532 #define _CLC2GLS0_LC2G1D4N 0x40
14533 #define _CLC2GLS0_D4N 0x40
14534 #define _CLC2GLS0_LC2G1D4T 0x80
14535 #define _CLC2GLS0_D4T 0x80
14537 //==============================================================================
14540 //==============================================================================
14543 extern __at(0x0F21) __sfr CLC2GLS1
;
14549 unsigned LC2G2D1N
: 1;
14550 unsigned LC2G2D1T
: 1;
14551 unsigned LC2G2D2N
: 1;
14552 unsigned LC2G2D2T
: 1;
14553 unsigned LC2G2D3N
: 1;
14554 unsigned LC2G2D3T
: 1;
14555 unsigned LC2G2D4N
: 1;
14556 unsigned LC2G2D4T
: 1;
14570 } __CLC2GLS1bits_t
;
14572 extern __at(0x0F21) volatile __CLC2GLS1bits_t CLC2GLS1bits
;
14574 #define _CLC2GLS1_LC2G2D1N 0x01
14575 #define _CLC2GLS1_D1N 0x01
14576 #define _CLC2GLS1_LC2G2D1T 0x02
14577 #define _CLC2GLS1_D1T 0x02
14578 #define _CLC2GLS1_LC2G2D2N 0x04
14579 #define _CLC2GLS1_D2N 0x04
14580 #define _CLC2GLS1_LC2G2D2T 0x08
14581 #define _CLC2GLS1_D2T 0x08
14582 #define _CLC2GLS1_LC2G2D3N 0x10
14583 #define _CLC2GLS1_D3N 0x10
14584 #define _CLC2GLS1_LC2G2D3T 0x20
14585 #define _CLC2GLS1_D3T 0x20
14586 #define _CLC2GLS1_LC2G2D4N 0x40
14587 #define _CLC2GLS1_D4N 0x40
14588 #define _CLC2GLS1_LC2G2D4T 0x80
14589 #define _CLC2GLS1_D4T 0x80
14591 //==============================================================================
14594 //==============================================================================
14597 extern __at(0x0F22) __sfr CLC2GLS2
;
14603 unsigned LC2G3D1N
: 1;
14604 unsigned LC2G3D1T
: 1;
14605 unsigned LC2G3D2N
: 1;
14606 unsigned LC2G3D2T
: 1;
14607 unsigned LC2G3D3N
: 1;
14608 unsigned LC2G3D3T
: 1;
14609 unsigned LC2G3D4N
: 1;
14610 unsigned LC2G3D4T
: 1;
14624 } __CLC2GLS2bits_t
;
14626 extern __at(0x0F22) volatile __CLC2GLS2bits_t CLC2GLS2bits
;
14628 #define _CLC2GLS2_LC2G3D1N 0x01
14629 #define _CLC2GLS2_D1N 0x01
14630 #define _CLC2GLS2_LC2G3D1T 0x02
14631 #define _CLC2GLS2_D1T 0x02
14632 #define _CLC2GLS2_LC2G3D2N 0x04
14633 #define _CLC2GLS2_D2N 0x04
14634 #define _CLC2GLS2_LC2G3D2T 0x08
14635 #define _CLC2GLS2_D2T 0x08
14636 #define _CLC2GLS2_LC2G3D3N 0x10
14637 #define _CLC2GLS2_D3N 0x10
14638 #define _CLC2GLS2_LC2G3D3T 0x20
14639 #define _CLC2GLS2_D3T 0x20
14640 #define _CLC2GLS2_LC2G3D4N 0x40
14641 #define _CLC2GLS2_D4N 0x40
14642 #define _CLC2GLS2_LC2G3D4T 0x80
14643 #define _CLC2GLS2_D4T 0x80
14645 //==============================================================================
14648 //==============================================================================
14651 extern __at(0x0F23) __sfr CLC2GLS3
;
14657 unsigned LC2G4D1N
: 1;
14658 unsigned LC2G4D1T
: 1;
14659 unsigned LC2G4D2N
: 1;
14660 unsigned LC2G4D2T
: 1;
14661 unsigned LC2G4D3N
: 1;
14662 unsigned LC2G4D3T
: 1;
14663 unsigned LC2G4D4N
: 1;
14664 unsigned LC2G4D4T
: 1;
14669 unsigned G4D1N
: 1;
14670 unsigned G4D1T
: 1;
14671 unsigned G4D2N
: 1;
14672 unsigned G4D2T
: 1;
14673 unsigned G4D3N
: 1;
14674 unsigned G4D3T
: 1;
14675 unsigned G4D4N
: 1;
14676 unsigned G4D4T
: 1;
14678 } __CLC2GLS3bits_t
;
14680 extern __at(0x0F23) volatile __CLC2GLS3bits_t CLC2GLS3bits
;
14682 #define _CLC2GLS3_LC2G4D1N 0x01
14683 #define _CLC2GLS3_G4D1N 0x01
14684 #define _CLC2GLS3_LC2G4D1T 0x02
14685 #define _CLC2GLS3_G4D1T 0x02
14686 #define _CLC2GLS3_LC2G4D2N 0x04
14687 #define _CLC2GLS3_G4D2N 0x04
14688 #define _CLC2GLS3_LC2G4D2T 0x08
14689 #define _CLC2GLS3_G4D2T 0x08
14690 #define _CLC2GLS3_LC2G4D3N 0x10
14691 #define _CLC2GLS3_G4D3N 0x10
14692 #define _CLC2GLS3_LC2G4D3T 0x20
14693 #define _CLC2GLS3_G4D3T 0x20
14694 #define _CLC2GLS3_LC2G4D4N 0x40
14695 #define _CLC2GLS3_G4D4N 0x40
14696 #define _CLC2GLS3_LC2G4D4T 0x80
14697 #define _CLC2GLS3_G4D4T 0x80
14699 //==============================================================================
14702 //==============================================================================
14703 // STATUS_SHAD Bits
14705 extern __at(0x0FE4) __sfr STATUS_SHAD
;
14709 unsigned C_SHAD
: 1;
14710 unsigned DC_SHAD
: 1;
14711 unsigned Z_SHAD
: 1;
14717 } __STATUS_SHADbits_t
;
14719 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits
;
14721 #define _C_SHAD 0x01
14722 #define _DC_SHAD 0x02
14723 #define _Z_SHAD 0x04
14725 //==============================================================================
14727 extern __at(0x0FE5) __sfr WREG_SHAD
;
14728 extern __at(0x0FE6) __sfr BSR_SHAD
;
14729 extern __at(0x0FE7) __sfr PCLATH_SHAD
;
14730 extern __at(0x0FE8) __sfr FSR0L_SHAD
;
14731 extern __at(0x0FE9) __sfr FSR0H_SHAD
;
14732 extern __at(0x0FEA) __sfr FSR1L_SHAD
;
14733 extern __at(0x0FEB) __sfr FSR1H_SHAD
;
14734 extern __at(0x0FED) __sfr STKPTR
;
14735 extern __at(0x0FEE) __sfr TOSL
;
14736 extern __at(0x0FEF) __sfr TOSH
;
14738 //==============================================================================
14740 // Configuration Bits
14742 //==============================================================================
14744 #define _CONFIG1 0x8007
14745 #define _CONFIG2 0x8008
14746 #define _CONFIG3 0x8009
14748 //----------------------------- CONFIG1 Options -------------------------------
14750 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator: I/O function on CLKIN pin.
14751 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins.
14752 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins.
14753 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins.
14754 #define _PWRTE_ON 0x3FDF // PWRT enabled.
14755 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
14756 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
14757 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
14758 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
14759 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
14760 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
14761 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
14762 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
14763 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
14764 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
14765 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
14767 //----------------------------- CONFIG2 Options -------------------------------
14769 #define _WRT_ALL 0x3FFC // 000h to 1FFFh write protected, no addresses may be modified by PMCON control.
14770 #define _WRT_HALF 0x3FFD // 000h to FFFh write protected, 1000h to 1FFFh may be modified by PMCON control.
14771 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to 1FFFh may be modified by PMCON control.
14772 #define _WRT_OFF 0x3FFF // Write protection off.
14773 #define _PPS1WAY_OFF 0x3FFB // The PPSLOCK bit can be set and cleared repeatedly by software.
14774 #define _PPS1WAY_ON 0x3FFF // The PPSLOCK bit cannot be cleared once it is set by software.
14775 #define _ZCD_ON 0x3F7F // ZCD always enabled.
14776 #define _ZCD_OFF 0x3FFF // ZCD disable. ZCD can be enabled by setting the ZCDSEN bit of ZCDCON.
14777 #define _PLLEN_OFF 0x3EFF // 4x PLL is enabled when software sets the SPLLEN bit.
14778 #define _PLLEN_ON 0x3FFF // 4x PLL is always enabled.
14779 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
14780 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
14781 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
14782 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
14783 #define _LPBOR_ON 0x37FF // Low-Power BOR is enabled.
14784 #define _LPBOR_OFF 0x3FFF // Low-Power BOR is disabled.
14785 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
14786 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
14787 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
14788 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
14790 //----------------------------- CONFIG3 Options -------------------------------
14792 #define _WDTCPS_WDTCPS0 0x3FE0 // 1:32 (1 ms period).
14793 #define _WDTCPS_WDTCPS1 0x3FE1 // 1:64 (2 ms period).
14794 #define _WDTCPS_WDTCPS2 0x3FE2 // 1:128 (4 ms period).
14795 #define _WDTCPS_WDTCPS3 0x3FE3 // 1:256 (8 ms period).
14796 #define _WDTCPS_WDTCPS4 0x3FE4 // 1:512 (16 ms period).
14797 #define _WDTCPS_WDTCPS5 0x3FE5 // 1:1024 (32 ms period).
14798 #define _WDTCPS_WDTCPS6 0x3FE6 // 1:2048 (64 ms period).
14799 #define _WDTCPS_WDTCPS7 0x3FE7 // 1:4096 (128 ms period).
14800 #define _WDTCPS_WDTCPS8 0x3FE8 // 1:8192 (256 ms period).
14801 #define _WDTCPS_WDTCPS9 0x3FE9 // 1:16384 (512 ms period).
14802 #define _WDTCPS_WDTCPSA 0x3FEA // 1:32768 (1 s period).
14803 #define _WDTCPS_WDTCPSB 0x3FEB // 1:65536 (2 s period).
14804 #define _WDTCPS_WDTCPSC 0x3FEC // 1:131072 (4 s period).
14805 #define _WDTCPS_WDTCPSD 0x3FED // 1:262144 (8 s period).
14806 #define _WDTCPS_WDTCPSE 0x3FEE // 1:524299 (16 s period).
14807 #define _WDTCPS_WDTCPSF 0x3FEF // 1:1048576 (32 s period).
14808 #define _WDTCPS_WDTCPS10 0x3FF0 // 1:2097152 (64 s period).
14809 #define _WDTCPS_WDTCPS11 0x3FF1 // 1:4194304 (128 s period).
14810 #define _WDTCPS_WDTCPS12 0x3FF2 // 1:8388608 (256 s period).
14811 #define _WDTCPS_WDTCPS1F 0x3FFF // Software Control (WDTPS).
14812 #define _WDTE_OFF 0x3F9F // WDT disabled.
14813 #define _WDTE_SWDTEN 0x3FBF // WDT controlled by the SWDTEN bit in the WDTCON register.
14814 #define _WDTE_NSLEEP 0x3FDF // WDT enabled while running and disabled in Sleep.
14815 #define _WDTE_ON 0x3FFF // WDT enabled.
14816 #define _WDTCWS_WDTCWS125 0x38FF // 12.5 percent window open time.
14817 #define _WDTCWS_WDTCWS25 0x39FF // 25 percent window open time.
14818 #define _WDTCWS_WDTCWS375 0x3AFF // 37.5 percent window open time.
14819 #define _WDTCWS_WDTCWS50 0x3BFF // 50 percent window open time.
14820 #define _WDTCWS_WDTCWS625 0x3CFF // 62.5 percent window open time.
14821 #define _WDTCWS_WDTCWS75 0x3DFF // 75 percent window open time.
14822 #define _WDTCWS_WDTCWS100 0x3EFF // 100 percent window open time (Legacy WDT).
14823 #define _WDTCWS_WDTCWSSW 0x3FFF // Software WDT window size control (WDTWS bits).
14824 #define _WDTCCS_LFINTOSC 0x07FF // 31.0kHz LFINTOSC.
14825 #define _WDTCCS_MFINTOSC 0x0FFF // 31.25 kHz HFINTOSC (MFINTOSC).
14826 #define _WDTCCS_SWC 0x3FFF // Software control, controlled by WDTCS bits.
14828 //==============================================================================
14830 #define _DEVID1 0x8006
14832 #define _IDLOC0 0x8000
14833 #define _IDLOC1 0x8001
14834 #define _IDLOC2 0x8002
14835 #define _IDLOC3 0x8003
14837 //==============================================================================
14839 #ifndef NO_BIT_DEFINES
14841 #define ADON ADCON0bits.ADON // bit 0
14842 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
14843 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
14844 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
14845 #define CHS0 ADCON0bits.CHS0 // bit 2
14846 #define CHS1 ADCON0bits.CHS1 // bit 3
14847 #define CHS2 ADCON0bits.CHS2 // bit 4
14848 #define CHS3 ADCON0bits.CHS3 // bit 5
14849 #define CHS4 ADCON0bits.CHS4 // bit 6
14851 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
14852 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
14853 #define ADCS0 ADCON1bits.ADCS0 // bit 4
14854 #define ADCS1 ADCON1bits.ADCS1 // bit 5
14855 #define ADCS2 ADCON1bits.ADCS2 // bit 6
14856 #define ADFM ADCON1bits.ADFM // bit 7
14858 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 4
14859 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 5
14860 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 6
14861 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 7
14863 #define ANSA0 ANSELAbits.ANSA0 // bit 0
14864 #define ANSA1 ANSELAbits.ANSA1 // bit 1
14865 #define ANSA2 ANSELAbits.ANSA2 // bit 2
14866 #define ANSA4 ANSELAbits.ANSA4 // bit 4
14868 #define ANSB4 ANSELBbits.ANSB4 // bit 4
14869 #define ANSB5 ANSELBbits.ANSB5 // bit 5
14870 #define ANSB6 ANSELBbits.ANSB6 // bit 6
14871 #define ANSB7 ANSELBbits.ANSB7 // bit 7
14873 #define ANSC0 ANSELCbits.ANSC0 // bit 0
14874 #define ANSC1 ANSELCbits.ANSC1 // bit 1
14875 #define ANSC2 ANSELCbits.ANSC2 // bit 2
14876 #define ANSC3 ANSELCbits.ANSC3 // bit 3
14877 #define ANSC6 ANSELCbits.ANSC6 // bit 6
14878 #define ANSC7 ANSELCbits.ANSC7 // bit 7
14880 #define AT1CC18 AT1CC1Hbits.AT1CC18 // bit 0, shadows bit in AT1CC1Hbits
14881 #define CC18 AT1CC1Hbits.CC18 // bit 0, shadows bit in AT1CC1Hbits
14882 #define AT1CC19 AT1CC1Hbits.AT1CC19 // bit 1, shadows bit in AT1CC1Hbits
14883 #define CC19 AT1CC1Hbits.CC19 // bit 1, shadows bit in AT1CC1Hbits
14885 #define AT1CC10 AT1CC1Lbits.AT1CC10 // bit 0, shadows bit in AT1CC1Lbits
14886 #define CC10 AT1CC1Lbits.CC10 // bit 0, shadows bit in AT1CC1Lbits
14887 #define AT1CC11 AT1CC1Lbits.AT1CC11 // bit 1, shadows bit in AT1CC1Lbits
14888 #define CC11 AT1CC1Lbits.CC11 // bit 1, shadows bit in AT1CC1Lbits
14889 #define AT1CC12 AT1CC1Lbits.AT1CC12 // bit 2, shadows bit in AT1CC1Lbits
14890 #define CC12 AT1CC1Lbits.CC12 // bit 2, shadows bit in AT1CC1Lbits
14891 #define AT1CC13 AT1CC1Lbits.AT1CC13 // bit 3, shadows bit in AT1CC1Lbits
14892 #define CC13 AT1CC1Lbits.CC13 // bit 3, shadows bit in AT1CC1Lbits
14893 #define AT1CC14 AT1CC1Lbits.AT1CC14 // bit 4, shadows bit in AT1CC1Lbits
14894 #define CC14 AT1CC1Lbits.CC14 // bit 4, shadows bit in AT1CC1Lbits
14895 #define AT1CC15 AT1CC1Lbits.AT1CC15 // bit 5, shadows bit in AT1CC1Lbits
14896 #define CC15 AT1CC1Lbits.CC15 // bit 5, shadows bit in AT1CC1Lbits
14897 #define AT1CC16 AT1CC1Lbits.AT1CC16 // bit 6, shadows bit in AT1CC1Lbits
14898 #define CC16 AT1CC1Lbits.CC16 // bit 6, shadows bit in AT1CC1Lbits
14899 #define AT1CC17 AT1CC1Lbits.AT1CC17 // bit 7, shadows bit in AT1CC1Lbits
14900 #define CC17 AT1CC1Lbits.CC17 // bit 7, shadows bit in AT1CC1Lbits
14902 #define AT1CC28 AT1CC2Hbits.AT1CC28 // bit 0, shadows bit in AT1CC2Hbits
14903 #define CC28 AT1CC2Hbits.CC28 // bit 0, shadows bit in AT1CC2Hbits
14904 #define AT1CC29 AT1CC2Hbits.AT1CC29 // bit 1, shadows bit in AT1CC2Hbits
14905 #define CC29 AT1CC2Hbits.CC29 // bit 1, shadows bit in AT1CC2Hbits
14907 #define AT1CC38 AT1CC3Hbits.AT1CC38 // bit 0, shadows bit in AT1CC3Hbits
14908 #define CC38 AT1CC3Hbits.CC38 // bit 0, shadows bit in AT1CC3Hbits
14909 #define AT1CC39 AT1CC3Hbits.AT1CC39 // bit 1, shadows bit in AT1CC3Hbits
14910 #define CC39 AT1CC3Hbits.CC39 // bit 1, shadows bit in AT1CC3Hbits
14912 #define AT1CC30 AT1CC3Lbits.AT1CC30 // bit 0, shadows bit in AT1CC3Lbits
14913 #define CC30 AT1CC3Lbits.CC30 // bit 0, shadows bit in AT1CC3Lbits
14914 #define AT1CC31 AT1CC3Lbits.AT1CC31 // bit 1, shadows bit in AT1CC3Lbits
14915 #define CC31 AT1CC3Lbits.CC31 // bit 1, shadows bit in AT1CC3Lbits
14916 #define AT1CC32 AT1CC3Lbits.AT1CC32 // bit 2, shadows bit in AT1CC3Lbits
14917 #define CC32 AT1CC3Lbits.CC32 // bit 2, shadows bit in AT1CC3Lbits
14918 #define AT1CC33 AT1CC3Lbits.AT1CC33 // bit 3, shadows bit in AT1CC3Lbits
14919 #define CC33 AT1CC3Lbits.CC33 // bit 3, shadows bit in AT1CC3Lbits
14920 #define AT1CC34 AT1CC3Lbits.AT1CC34 // bit 4, shadows bit in AT1CC3Lbits
14921 #define CC34 AT1CC3Lbits.CC34 // bit 4, shadows bit in AT1CC3Lbits
14922 #define AT1CC35 AT1CC3Lbits.AT1CC35 // bit 5, shadows bit in AT1CC3Lbits
14923 #define CC35 AT1CC3Lbits.CC35 // bit 5, shadows bit in AT1CC3Lbits
14924 #define AT1CC36 AT1CC3Lbits.AT1CC36 // bit 6, shadows bit in AT1CC3Lbits
14925 #define CC36 AT1CC3Lbits.CC36 // bit 6, shadows bit in AT1CC3Lbits
14926 #define AT1CC37 AT1CC3Lbits.AT1CC37 // bit 7, shadows bit in AT1CC3Lbits
14927 #define CC37 AT1CC3Lbits.CC37 // bit 7, shadows bit in AT1CC3Lbits
14929 #define AT1CC1MODE AT1CCON1bits.AT1CC1MODE // bit 0, shadows bit in AT1CCON1bits
14930 #define CC1MODE AT1CCON1bits.CC1MODE // bit 0, shadows bit in AT1CCON1bits
14931 #define AT1CAP1P AT1CCON1bits.AT1CAP1P // bit 3, shadows bit in AT1CCON1bits
14932 #define CAP1P AT1CCON1bits.CAP1P // bit 3, shadows bit in AT1CCON1bits
14933 #define AT1CC1POL AT1CCON1bits.AT1CC1POL // bit 4, shadows bit in AT1CCON1bits
14934 #define CC1POL AT1CCON1bits.CC1POL // bit 4, shadows bit in AT1CCON1bits
14935 #define AT1CC1EN AT1CCON1bits.AT1CC1EN // bit 7, shadows bit in AT1CCON1bits
14936 #define CC1EN AT1CCON1bits.CC1EN // bit 7, shadows bit in AT1CCON1bits
14938 #define AT1CC2MODE AT1CCON2bits.AT1CC2MODE // bit 0, shadows bit in AT1CCON2bits
14939 #define CC2MODE AT1CCON2bits.CC2MODE // bit 0, shadows bit in AT1CCON2bits
14940 #define AT1CAP2P AT1CCON2bits.AT1CAP2P // bit 3, shadows bit in AT1CCON2bits
14941 #define CAP2P AT1CCON2bits.CAP2P // bit 3, shadows bit in AT1CCON2bits
14942 #define AT1CC2POL AT1CCON2bits.AT1CC2POL // bit 4, shadows bit in AT1CCON2bits
14943 #define CC2POL AT1CCON2bits.CC2POL // bit 4, shadows bit in AT1CCON2bits
14944 #define AT1CC2EN AT1CCON2bits.AT1CC2EN // bit 7, shadows bit in AT1CCON2bits
14945 #define CC2EN AT1CCON2bits.CC2EN // bit 7, shadows bit in AT1CCON2bits
14947 #define AT1CC3MODE AT1CCON3bits.AT1CC3MODE // bit 0, shadows bit in AT1CCON3bits
14948 #define CC3MODE AT1CCON3bits.CC3MODE // bit 0, shadows bit in AT1CCON3bits
14949 #define AT1CAP3P AT1CCON3bits.AT1CAP3P // bit 3, shadows bit in AT1CCON3bits
14950 #define CAP3P AT1CCON3bits.CAP3P // bit 3, shadows bit in AT1CCON3bits
14951 #define AT1CC3POL AT1CCON3bits.AT1CC3POL // bit 4, shadows bit in AT1CCON3bits
14952 #define CC3POL AT1CCON3bits.CC3POL // bit 4, shadows bit in AT1CCON3bits
14953 #define AT1CC3EN AT1CCON3bits.AT1CC3EN // bit 7, shadows bit in AT1CCON3bits
14954 #define CC3EN AT1CCON3bits.CC3EN // bit 7, shadows bit in AT1CCON3bits
14956 #define CS AT1CLKbits.CS // bit 0, shadows bit in AT1CLKbits
14957 #define AT1CS AT1CLKbits.AT1CS // bit 0, shadows bit in AT1CLKbits
14958 #define CS0 AT1CLKbits.CS0 // bit 0, shadows bit in AT1CLKbits
14959 #define AT1CS0 AT1CLKbits.AT1CS0 // bit 0, shadows bit in AT1CLKbits
14961 #define MODE AT1CON0bits.MODE // bit 0, shadows bit in AT1CON0bits
14962 #define AT1MODE AT1CON0bits.AT1MODE // bit 0, shadows bit in AT1CON0bits
14963 #define APMOD AT1CON0bits.APMOD // bit 1, shadows bit in AT1CON0bits
14964 #define AT1APMOD AT1CON0bits.AT1APMOD // bit 1, shadows bit in AT1CON0bits
14965 #define POL AT1CON0bits.POL // bit 3, shadows bit in AT1CON0bits
14966 #define AT1POL AT1CON0bits.AT1POL // bit 3, shadows bit in AT1CON0bits
14967 #define PS0 AT1CON0bits.PS0 // bit 4, shadows bit in AT1CON0bits
14968 #define AT1PS0 AT1CON0bits.AT1PS0 // bit 4, shadows bit in AT1CON0bits
14969 #define PS1 AT1CON0bits.PS1 // bit 5, shadows bit in AT1CON0bits
14970 #define AT1PS1 AT1CON0bits.AT1PS1 // bit 5, shadows bit in AT1CON0bits
14971 #define PREC AT1CON0bits.PREC // bit 6, shadows bit in AT1CON0bits
14972 #define AT1PREC AT1CON0bits.AT1PREC // bit 6, shadows bit in AT1CON0bits
14973 #define EN AT1CON0bits.EN // bit 7, shadows bit in AT1CON0bits
14974 #define AT1EN AT1CON0bits.AT1EN // bit 7, shadows bit in AT1CON0bits
14976 #define VALID AT1CON1bits.VALID // bit 0, shadows bit in AT1CON1bits
14977 #define AT1VALID AT1CON1bits.AT1VALID // bit 0, shadows bit in AT1CON1bits
14978 #define ACCS AT1CON1bits.ACCS // bit 1, shadows bit in AT1CON1bits
14979 #define AT1ACCS AT1CON1bits.AT1ACCS // bit 1, shadows bit in AT1CON1bits
14980 #define MPP AT1CON1bits.MPP // bit 2, shadows bit in AT1CON1bits
14981 #define AT1MPP AT1CON1bits.AT1MPP // bit 2, shadows bit in AT1CON1bits
14982 #define PRP AT1CON1bits.PRP // bit 4, shadows bit in AT1CON1bits
14983 #define AT1PRP AT1CON1bits.AT1PRP // bit 4, shadows bit in AT1CON1bits
14984 #define PHP AT1CON1bits.PHP // bit 6, shadows bit in AT1CON1bits
14985 #define AT1PHP AT1CON1bits.AT1PHP // bit 6, shadows bit in AT1CON1bits
14987 #define AT1CP1S0 AT1CSEL1bits.AT1CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14988 #define CP1S0 AT1CSEL1bits.CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14989 #define AT1CP1S1 AT1CSEL1bits.AT1CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14990 #define CP1S1 AT1CSEL1bits.CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14991 #define AT1CP1S2 AT1CSEL1bits.AT1CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14992 #define CP1S2 AT1CSEL1bits.CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14994 #define AT1CP2S0 AT1CSEL2bits.AT1CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14995 #define CP2S0 AT1CSEL2bits.CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14996 #define AT1CP2S1 AT1CSEL2bits.AT1CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14997 #define CP2S1 AT1CSEL2bits.CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14998 #define AT1CP2S2 AT1CSEL2bits.AT1CP2S2 // bit 2, shadows bit in AT1CSEL2bits
14999 #define CP2S2 AT1CSEL2bits.CP2S2 // bit 2, shadows bit in AT1CSEL2bits
15001 #define AT1CP3S0 AT1CSEL3bits.AT1CP3S0 // bit 0, shadows bit in AT1CSEL3bits
15002 #define CP3S0 AT1CSEL3bits.CP3S0 // bit 0, shadows bit in AT1CSEL3bits
15003 #define AT1CP3S1 AT1CSEL3bits.AT1CP3S1 // bit 1, shadows bit in AT1CSEL3bits
15004 #define CP3S1 AT1CSEL3bits.CP3S1 // bit 1, shadows bit in AT1CSEL3bits
15005 #define AT1CP3S2 AT1CSEL3bits.AT1CP3S2 // bit 2, shadows bit in AT1CSEL3bits
15006 #define CP3S2 AT1CSEL3bits.CP3S2 // bit 2, shadows bit in AT1CSEL3bits
15008 #define AT1ERR8 AT1ERRHbits.AT1ERR8 // bit 0, shadows bit in AT1ERRHbits
15009 #define ERR8 AT1ERRHbits.ERR8 // bit 0, shadows bit in AT1ERRHbits
15010 #define ERRH0 AT1ERRHbits.ERRH0 // bit 0, shadows bit in AT1ERRHbits
15011 #define AT1ERR9 AT1ERRHbits.AT1ERR9 // bit 1, shadows bit in AT1ERRHbits
15012 #define ERR9 AT1ERRHbits.ERR9 // bit 1, shadows bit in AT1ERRHbits
15013 #define ERRH1 AT1ERRHbits.ERRH1 // bit 1, shadows bit in AT1ERRHbits
15014 #define AT1ERR10 AT1ERRHbits.AT1ERR10 // bit 2, shadows bit in AT1ERRHbits
15015 #define ERR10 AT1ERRHbits.ERR10 // bit 2, shadows bit in AT1ERRHbits
15016 #define ERRH2 AT1ERRHbits.ERRH2 // bit 2, shadows bit in AT1ERRHbits
15017 #define AT1ERR11 AT1ERRHbits.AT1ERR11 // bit 3, shadows bit in AT1ERRHbits
15018 #define ERR11 AT1ERRHbits.ERR11 // bit 3, shadows bit in AT1ERRHbits
15019 #define ERRH3 AT1ERRHbits.ERRH3 // bit 3, shadows bit in AT1ERRHbits
15020 #define AT1ERR12 AT1ERRHbits.AT1ERR12 // bit 4, shadows bit in AT1ERRHbits
15021 #define ERR12 AT1ERRHbits.ERR12 // bit 4, shadows bit in AT1ERRHbits
15022 #define ERRH4 AT1ERRHbits.ERRH4 // bit 4, shadows bit in AT1ERRHbits
15023 #define AT1ERR13 AT1ERRHbits.AT1ERR13 // bit 5, shadows bit in AT1ERRHbits
15024 #define ERR13 AT1ERRHbits.ERR13 // bit 5, shadows bit in AT1ERRHbits
15025 #define ERRH5 AT1ERRHbits.ERRH5 // bit 5, shadows bit in AT1ERRHbits
15026 #define AT1ERR14 AT1ERRHbits.AT1ERR14 // bit 6, shadows bit in AT1ERRHbits
15027 #define ERR14 AT1ERRHbits.ERR14 // bit 6, shadows bit in AT1ERRHbits
15028 #define ERRH6 AT1ERRHbits.ERRH6 // bit 6, shadows bit in AT1ERRHbits
15029 #define AT1ERR15 AT1ERRHbits.AT1ERR15 // bit 7, shadows bit in AT1ERRHbits
15030 #define ERR15 AT1ERRHbits.ERR15 // bit 7, shadows bit in AT1ERRHbits
15031 #define ERRH7 AT1ERRHbits.ERRH7 // bit 7, shadows bit in AT1ERRHbits
15033 #define AT1ERR0 AT1ERRLbits.AT1ERR0 // bit 0, shadows bit in AT1ERRLbits
15034 #define ERR0 AT1ERRLbits.ERR0 // bit 0, shadows bit in AT1ERRLbits
15035 #define ERRL0 AT1ERRLbits.ERRL0 // bit 0, shadows bit in AT1ERRLbits
15036 #define AT1ERR1 AT1ERRLbits.AT1ERR1 // bit 1, shadows bit in AT1ERRLbits
15037 #define ERR1 AT1ERRLbits.ERR1 // bit 1, shadows bit in AT1ERRLbits
15038 #define ERRL1 AT1ERRLbits.ERRL1 // bit 1, shadows bit in AT1ERRLbits
15039 #define AT1ERR2 AT1ERRLbits.AT1ERR2 // bit 2, shadows bit in AT1ERRLbits
15040 #define ERR2 AT1ERRLbits.ERR2 // bit 2, shadows bit in AT1ERRLbits
15041 #define ERRL2 AT1ERRLbits.ERRL2 // bit 2, shadows bit in AT1ERRLbits
15042 #define AT1ERR3 AT1ERRLbits.AT1ERR3 // bit 3, shadows bit in AT1ERRLbits
15043 #define ERR3 AT1ERRLbits.ERR3 // bit 3, shadows bit in AT1ERRLbits
15044 #define ERRL3 AT1ERRLbits.ERRL3 // bit 3, shadows bit in AT1ERRLbits
15045 #define AT1ERR4 AT1ERRLbits.AT1ERR4 // bit 4, shadows bit in AT1ERRLbits
15046 #define ERR4 AT1ERRLbits.ERR4 // bit 4, shadows bit in AT1ERRLbits
15047 #define ERRL4 AT1ERRLbits.ERRL4 // bit 4, shadows bit in AT1ERRLbits
15048 #define AT1ERR5 AT1ERRLbits.AT1ERR5 // bit 5, shadows bit in AT1ERRLbits
15049 #define ERR5 AT1ERRLbits.ERR5 // bit 5, shadows bit in AT1ERRLbits
15050 #define ERRL5 AT1ERRLbits.ERRL5 // bit 5, shadows bit in AT1ERRLbits
15051 #define AT1ERR6 AT1ERRLbits.AT1ERR6 // bit 6, shadows bit in AT1ERRLbits
15052 #define ERR6 AT1ERRLbits.ERR6 // bit 6, shadows bit in AT1ERRLbits
15053 #define ERRL6 AT1ERRLbits.ERRL6 // bit 6, shadows bit in AT1ERRLbits
15054 #define AT1ERR7 AT1ERRLbits.AT1ERR7 // bit 7, shadows bit in AT1ERRLbits
15055 #define ERR7 AT1ERRLbits.ERR7 // bit 7, shadows bit in AT1ERRLbits
15056 #define ERRL7 AT1ERRLbits.ERRL7 // bit 7, shadows bit in AT1ERRLbits
15058 #define AT1PERIE AT1IE0bits.AT1PERIE // bit 0
15059 #define AT1MISSIE AT1IE0bits.AT1MISSIE // bit 1
15060 #define AT1PHSIE AT1IE0bits.AT1PHSIE // bit 2
15062 #define AT1CC1IE AT1IE1bits.AT1CC1IE // bit 0
15063 #define AT1CC2IE AT1IE1bits.AT1CC2IE // bit 1
15064 #define AT1CC3IE AT1IE1bits.AT1CC3IE // bit 2
15066 #define AT1PERIF AT1IR0bits.AT1PERIF // bit 0
15067 #define AT1MISSIF AT1IR0bits.AT1MISSIF // bit 1
15068 #define AT1PHSIF AT1IR0bits.AT1PHSIF // bit 2
15070 #define AT1CC1IF AT1IR1bits.AT1CC1IF // bit 0
15071 #define AT1CC2IF AT1IR1bits.AT1CC2IF // bit 1
15072 #define AT1CC3IF AT1IR1bits.AT1CC3IF // bit 2
15074 #define AT1MISS8 AT1MISSHbits.AT1MISS8 // bit 0, shadows bit in AT1MISSHbits
15075 #define MISS8 AT1MISSHbits.MISS8 // bit 0, shadows bit in AT1MISSHbits
15076 #define AT1MISS9 AT1MISSHbits.AT1MISS9 // bit 1, shadows bit in AT1MISSHbits
15077 #define MISS9 AT1MISSHbits.MISS9 // bit 1, shadows bit in AT1MISSHbits
15078 #define AT1MISS10 AT1MISSHbits.AT1MISS10 // bit 2, shadows bit in AT1MISSHbits
15079 #define MISS10 AT1MISSHbits.MISS10 // bit 2, shadows bit in AT1MISSHbits
15080 #define AT1MISS11 AT1MISSHbits.AT1MISS11 // bit 3, shadows bit in AT1MISSHbits
15081 #define MISS11 AT1MISSHbits.MISS11 // bit 3, shadows bit in AT1MISSHbits
15082 #define AT1MISS12 AT1MISSHbits.AT1MISS12 // bit 4, shadows bit in AT1MISSHbits
15083 #define MISS12 AT1MISSHbits.MISS12 // bit 4, shadows bit in AT1MISSHbits
15084 #define AT1MISS13 AT1MISSHbits.AT1MISS13 // bit 5, shadows bit in AT1MISSHbits
15085 #define MISS13 AT1MISSHbits.MISS13 // bit 5, shadows bit in AT1MISSHbits
15086 #define AT1MISS14 AT1MISSHbits.AT1MISS14 // bit 6, shadows bit in AT1MISSHbits
15087 #define MISS14 AT1MISSHbits.MISS14 // bit 6, shadows bit in AT1MISSHbits
15088 #define AT1MISS15 AT1MISSHbits.AT1MISS15 // bit 7, shadows bit in AT1MISSHbits
15089 #define MISS15 AT1MISSHbits.MISS15 // bit 7, shadows bit in AT1MISSHbits
15091 #define AT1MISS0 AT1MISSLbits.AT1MISS0 // bit 0, shadows bit in AT1MISSLbits
15092 #define MISS0 AT1MISSLbits.MISS0 // bit 0, shadows bit in AT1MISSLbits
15093 #define AT1MISS1 AT1MISSLbits.AT1MISS1 // bit 1, shadows bit in AT1MISSLbits
15094 #define MISS1 AT1MISSLbits.MISS1 // bit 1, shadows bit in AT1MISSLbits
15095 #define AT1MISS2 AT1MISSLbits.AT1MISS2 // bit 2, shadows bit in AT1MISSLbits
15096 #define MISS2 AT1MISSLbits.MISS2 // bit 2, shadows bit in AT1MISSLbits
15097 #define AT1MISS3 AT1MISSLbits.AT1MISS3 // bit 3, shadows bit in AT1MISSLbits
15098 #define MISS3 AT1MISSLbits.MISS3 // bit 3, shadows bit in AT1MISSLbits
15099 #define AT1MISS4 AT1MISSLbits.AT1MISS4 // bit 4, shadows bit in AT1MISSLbits
15100 #define MISS4 AT1MISSLbits.MISS4 // bit 4, shadows bit in AT1MISSLbits
15101 #define AT1MISS5 AT1MISSLbits.AT1MISS5 // bit 5, shadows bit in AT1MISSLbits
15102 #define MISS5 AT1MISSLbits.MISS5 // bit 5, shadows bit in AT1MISSLbits
15103 #define AT1MISS6 AT1MISSLbits.AT1MISS6 // bit 6, shadows bit in AT1MISSLbits
15104 #define MISS6 AT1MISSLbits.MISS6 // bit 6, shadows bit in AT1MISSLbits
15105 #define AT1MISS7 AT1MISSLbits.AT1MISS7 // bit 7, shadows bit in AT1MISSLbits
15106 #define MISS7 AT1MISSLbits.MISS7 // bit 7, shadows bit in AT1MISSLbits
15108 #define AT1PER8 AT1PERHbits.AT1PER8 // bit 0, shadows bit in AT1PERHbits
15109 #define PER8 AT1PERHbits.PER8 // bit 0, shadows bit in AT1PERHbits
15110 #define PERH0 AT1PERHbits.PERH0 // bit 0, shadows bit in AT1PERHbits
15111 #define AT1PER9 AT1PERHbits.AT1PER9 // bit 1, shadows bit in AT1PERHbits
15112 #define PER9 AT1PERHbits.PER9 // bit 1, shadows bit in AT1PERHbits
15113 #define PERH1 AT1PERHbits.PERH1 // bit 1, shadows bit in AT1PERHbits
15114 #define AT1PER10 AT1PERHbits.AT1PER10 // bit 2, shadows bit in AT1PERHbits
15115 #define PER10 AT1PERHbits.PER10 // bit 2, shadows bit in AT1PERHbits
15116 #define PERH2 AT1PERHbits.PERH2 // bit 2, shadows bit in AT1PERHbits
15117 #define AT1PER11 AT1PERHbits.AT1PER11 // bit 3, shadows bit in AT1PERHbits
15118 #define PER11 AT1PERHbits.PER11 // bit 3, shadows bit in AT1PERHbits
15119 #define PERH3 AT1PERHbits.PERH3 // bit 3, shadows bit in AT1PERHbits
15120 #define AT1PER12 AT1PERHbits.AT1PER12 // bit 4, shadows bit in AT1PERHbits
15121 #define PER12 AT1PERHbits.PER12 // bit 4, shadows bit in AT1PERHbits
15122 #define PERH4 AT1PERHbits.PERH4 // bit 4, shadows bit in AT1PERHbits
15123 #define AT1PER13 AT1PERHbits.AT1PER13 // bit 5, shadows bit in AT1PERHbits
15124 #define PER13 AT1PERHbits.PER13 // bit 5, shadows bit in AT1PERHbits
15125 #define PERH5 AT1PERHbits.PERH5 // bit 5, shadows bit in AT1PERHbits
15126 #define AT1PER14 AT1PERHbits.AT1PER14 // bit 6, shadows bit in AT1PERHbits
15127 #define PER14 AT1PERHbits.PER14 // bit 6, shadows bit in AT1PERHbits
15128 #define PERH6 AT1PERHbits.PERH6 // bit 6, shadows bit in AT1PERHbits
15129 #define AT1POV AT1PERHbits.AT1POV // bit 7, shadows bit in AT1PERHbits
15130 #define PER15 AT1PERHbits.PER15 // bit 7, shadows bit in AT1PERHbits
15131 #define PERH7 AT1PERHbits.PERH7 // bit 7, shadows bit in AT1PERHbits
15133 #define AT1PER0 AT1PERLbits.AT1PER0 // bit 0, shadows bit in AT1PERLbits
15134 #define PER0 AT1PERLbits.PER0 // bit 0, shadows bit in AT1PERLbits
15135 #define PERL0 AT1PERLbits.PERL0 // bit 0, shadows bit in AT1PERLbits
15136 #define AT1PER1 AT1PERLbits.AT1PER1 // bit 1, shadows bit in AT1PERLbits
15137 #define PER1 AT1PERLbits.PER1 // bit 1, shadows bit in AT1PERLbits
15138 #define PERL1 AT1PERLbits.PERL1 // bit 1, shadows bit in AT1PERLbits
15139 #define AT1PER2 AT1PERLbits.AT1PER2 // bit 2, shadows bit in AT1PERLbits
15140 #define PER2 AT1PERLbits.PER2 // bit 2, shadows bit in AT1PERLbits
15141 #define PERL2 AT1PERLbits.PERL2 // bit 2, shadows bit in AT1PERLbits
15142 #define AT1PER3 AT1PERLbits.AT1PER3 // bit 3, shadows bit in AT1PERLbits
15143 #define PER3 AT1PERLbits.PER3 // bit 3, shadows bit in AT1PERLbits
15144 #define PERL3 AT1PERLbits.PERL3 // bit 3, shadows bit in AT1PERLbits
15145 #define AT1PER4 AT1PERLbits.AT1PER4 // bit 4, shadows bit in AT1PERLbits
15146 #define PER4 AT1PERLbits.PER4 // bit 4, shadows bit in AT1PERLbits
15147 #define PERL4 AT1PERLbits.PERL4 // bit 4, shadows bit in AT1PERLbits
15148 #define AT1PER5 AT1PERLbits.AT1PER5 // bit 5, shadows bit in AT1PERLbits
15149 #define PER5 AT1PERLbits.PER5 // bit 5, shadows bit in AT1PERLbits
15150 #define PERL5 AT1PERLbits.PERL5 // bit 5, shadows bit in AT1PERLbits
15151 #define AT1PER6 AT1PERLbits.AT1PER6 // bit 6, shadows bit in AT1PERLbits
15152 #define PER6 AT1PERLbits.PER6 // bit 6, shadows bit in AT1PERLbits
15153 #define PERL6 AT1PERLbits.PERL6 // bit 6, shadows bit in AT1PERLbits
15154 #define AT1PER7 AT1PERLbits.AT1PER7 // bit 7, shadows bit in AT1PERLbits
15155 #define PER7 AT1PERLbits.PER7 // bit 7, shadows bit in AT1PERLbits
15156 #define PERL7 AT1PERLbits.PERL7 // bit 7, shadows bit in AT1PERLbits
15158 #define AT1PHS8 AT1PHSHbits.AT1PHS8 // bit 0, shadows bit in AT1PHSHbits
15159 #define PHS8 AT1PHSHbits.PHS8 // bit 0, shadows bit in AT1PHSHbits
15160 #define PHSL8 AT1PHSHbits.PHSL8 // bit 0, shadows bit in AT1PHSHbits
15161 #define AT1PHS9 AT1PHSHbits.AT1PHS9 // bit 1, shadows bit in AT1PHSHbits
15162 #define PHS9 AT1PHSHbits.PHS9 // bit 1, shadows bit in AT1PHSHbits
15163 #define PHSL9 AT1PHSHbits.PHSL9 // bit 1, shadows bit in AT1PHSHbits
15165 #define AT1PHS0 AT1PHSLbits.AT1PHS0 // bit 0, shadows bit in AT1PHSLbits
15166 #define PHS0 AT1PHSLbits.PHS0 // bit 0, shadows bit in AT1PHSLbits
15167 #define AT1PHS1 AT1PHSLbits.AT1PHS1 // bit 1, shadows bit in AT1PHSLbits
15168 #define PHS1 AT1PHSLbits.PHS1 // bit 1, shadows bit in AT1PHSLbits
15169 #define AT1PHS2 AT1PHSLbits.AT1PHS2 // bit 2, shadows bit in AT1PHSLbits
15170 #define PHS2 AT1PHSLbits.PHS2 // bit 2, shadows bit in AT1PHSLbits
15171 #define AT1PHS3 AT1PHSLbits.AT1PHS3 // bit 3, shadows bit in AT1PHSLbits
15172 #define PHS3 AT1PHSLbits.PHS3 // bit 3, shadows bit in AT1PHSLbits
15173 #define AT1PHS4 AT1PHSLbits.AT1PHS4 // bit 4, shadows bit in AT1PHSLbits
15174 #define PHS4 AT1PHSLbits.PHS4 // bit 4, shadows bit in AT1PHSLbits
15175 #define AT1PHS5 AT1PHSLbits.AT1PHS5 // bit 5, shadows bit in AT1PHSLbits
15176 #define PHS5 AT1PHSLbits.PHS5 // bit 5, shadows bit in AT1PHSLbits
15177 #define AT1PHS6 AT1PHSLbits.AT1PHS6 // bit 6, shadows bit in AT1PHSLbits
15178 #define PHS6 AT1PHSLbits.PHS6 // bit 6, shadows bit in AT1PHSLbits
15179 #define AT1PHS7 AT1PHSLbits.AT1PHS7 // bit 7, shadows bit in AT1PHSLbits
15180 #define PHS7 AT1PHSLbits.PHS7 // bit 7, shadows bit in AT1PHSLbits
15182 #define AT1RES8 AT1RESHbits.AT1RES8 // bit 0, shadows bit in AT1RESHbits
15183 #define RES8 AT1RESHbits.RES8 // bit 0, shadows bit in AT1RESHbits
15184 #define AT1RES9 AT1RESHbits.AT1RES9 // bit 1, shadows bit in AT1RESHbits
15185 #define RES9 AT1RESHbits.RES9 // bit 1, shadows bit in AT1RESHbits
15187 #define AT1RES0 AT1RESLbits.AT1RES0 // bit 0, shadows bit in AT1RESLbits
15188 #define RES0 AT1RESLbits.RES0 // bit 0, shadows bit in AT1RESLbits
15189 #define AT1RES1 AT1RESLbits.AT1RES1 // bit 1, shadows bit in AT1RESLbits
15190 #define RES1 AT1RESLbits.RES1 // bit 1, shadows bit in AT1RESLbits
15191 #define AT1RES2 AT1RESLbits.AT1RES2 // bit 2, shadows bit in AT1RESLbits
15192 #define RES2 AT1RESLbits.RES2 // bit 2, shadows bit in AT1RESLbits
15193 #define AT1RES3 AT1RESLbits.AT1RES3 // bit 3, shadows bit in AT1RESLbits
15194 #define RES3 AT1RESLbits.RES3 // bit 3, shadows bit in AT1RESLbits
15195 #define AT1RES4 AT1RESLbits.AT1RES4 // bit 4, shadows bit in AT1RESLbits
15196 #define RES4 AT1RESLbits.RES4 // bit 4, shadows bit in AT1RESLbits
15197 #define AT1RES5 AT1RESLbits.AT1RES5 // bit 5, shadows bit in AT1RESLbits
15198 #define RES5 AT1RESLbits.RES5 // bit 5, shadows bit in AT1RESLbits
15199 #define AT1RES6 AT1RESLbits.AT1RES6 // bit 6, shadows bit in AT1RESLbits
15200 #define RES6 AT1RESLbits.RES6 // bit 6, shadows bit in AT1RESLbits
15201 #define AT1RES7 AT1RESLbits.AT1RES7 // bit 7, shadows bit in AT1RESLbits
15202 #define RES7 AT1RESLbits.RES7 // bit 7, shadows bit in AT1RESLbits
15204 #define AT1SSEL0 AT1SIGbits.AT1SSEL0 // bit 0, shadows bit in AT1SIGbits
15205 #define SSEL0 AT1SIGbits.SSEL0 // bit 0, shadows bit in AT1SIGbits
15206 #define AT1SSEL1 AT1SIGbits.AT1SSEL1 // bit 1, shadows bit in AT1SIGbits
15207 #define SSEL1 AT1SIGbits.SSEL1 // bit 1, shadows bit in AT1SIGbits
15208 #define AT1SSEL2 AT1SIGbits.AT1SSEL2 // bit 2, shadows bit in AT1SIGbits
15209 #define SSEL2 AT1SIGbits.SSEL2 // bit 2, shadows bit in AT1SIGbits
15211 #define AT1STPT8 AT1STPTHbits.AT1STPT8 // bit 0, shadows bit in AT1STPTHbits
15212 #define STPT8 AT1STPTHbits.STPT8 // bit 0, shadows bit in AT1STPTHbits
15213 #define AT1STPT9 AT1STPTHbits.AT1STPT9 // bit 1, shadows bit in AT1STPTHbits
15214 #define STPT9 AT1STPTHbits.STPT9 // bit 1, shadows bit in AT1STPTHbits
15215 #define AT1STPT10 AT1STPTHbits.AT1STPT10 // bit 2, shadows bit in AT1STPTHbits
15216 #define STPT10 AT1STPTHbits.STPT10 // bit 2, shadows bit in AT1STPTHbits
15217 #define AT1STPT11 AT1STPTHbits.AT1STPT11 // bit 3, shadows bit in AT1STPTHbits
15218 #define STPT11 AT1STPTHbits.STPT11 // bit 3, shadows bit in AT1STPTHbits
15219 #define AT1STPT12 AT1STPTHbits.AT1STPT12 // bit 4, shadows bit in AT1STPTHbits
15220 #define STPT12 AT1STPTHbits.STPT12 // bit 4, shadows bit in AT1STPTHbits
15221 #define AT1STPT13 AT1STPTHbits.AT1STPT13 // bit 5, shadows bit in AT1STPTHbits
15222 #define STPT13 AT1STPTHbits.STPT13 // bit 5, shadows bit in AT1STPTHbits
15223 #define AT1STPT14 AT1STPTHbits.AT1STPT14 // bit 6, shadows bit in AT1STPTHbits
15224 #define STPT14 AT1STPTHbits.STPT14 // bit 6, shadows bit in AT1STPTHbits
15226 #define AT1STPT0 AT1STPTLbits.AT1STPT0 // bit 0, shadows bit in AT1STPTLbits
15227 #define STPT0 AT1STPTLbits.STPT0 // bit 0, shadows bit in AT1STPTLbits
15228 #define AT1STPT1 AT1STPTLbits.AT1STPT1 // bit 1, shadows bit in AT1STPTLbits
15229 #define STPT1 AT1STPTLbits.STPT1 // bit 1, shadows bit in AT1STPTLbits
15230 #define AT1STPT2 AT1STPTLbits.AT1STPT2 // bit 2, shadows bit in AT1STPTLbits
15231 #define STPT2 AT1STPTLbits.STPT2 // bit 2, shadows bit in AT1STPTLbits
15232 #define AT1STPT3 AT1STPTLbits.AT1STPT3 // bit 3, shadows bit in AT1STPTLbits
15233 #define STPT3 AT1STPTLbits.STPT3 // bit 3, shadows bit in AT1STPTLbits
15234 #define AT1STPT4 AT1STPTLbits.AT1STPT4 // bit 4, shadows bit in AT1STPTLbits
15235 #define STPT4 AT1STPTLbits.STPT4 // bit 4, shadows bit in AT1STPTLbits
15236 #define AT1STPT5 AT1STPTLbits.AT1STPT5 // bit 5, shadows bit in AT1STPTLbits
15237 #define STPT5 AT1STPTLbits.STPT5 // bit 5, shadows bit in AT1STPTLbits
15238 #define AT1STPT6 AT1STPTLbits.AT1STPT6 // bit 6, shadows bit in AT1STPTLbits
15239 #define STPT6 AT1STPTLbits.STPT6 // bit 6, shadows bit in AT1STPTLbits
15240 #define AT1STPT7 AT1STPTLbits.AT1STPT7 // bit 7, shadows bit in AT1STPTLbits
15241 #define STPT7 AT1STPTLbits.STPT7 // bit 7, shadows bit in AT1STPTLbits
15243 #define ATCC1PPS0 ATCC1PPSbits.ATCC1PPS0 // bit 0
15244 #define ATCC1PPS1 ATCC1PPSbits.ATCC1PPS1 // bit 1
15245 #define ATCC1PPS2 ATCC1PPSbits.ATCC1PPS2 // bit 2
15246 #define ATCC1PPS3 ATCC1PPSbits.ATCC1PPS3 // bit 3
15247 #define ATCC1PPS4 ATCC1PPSbits.ATCC1PPS4 // bit 4
15249 #define ATCC2PPS0 ATCC2PPSbits.ATCC2PPS0 // bit 0
15250 #define ATCC2PPS1 ATCC2PPSbits.ATCC2PPS1 // bit 1
15251 #define ATCC2PPS2 ATCC2PPSbits.ATCC2PPS2 // bit 2
15252 #define ATCC2PPS3 ATCC2PPSbits.ATCC2PPS3 // bit 3
15253 #define ATCC2PPS4 ATCC2PPSbits.ATCC2PPS4 // bit 4
15255 #define ATCC3PPS0 ATCC3PPSbits.ATCC3PPS0 // bit 0
15256 #define ATCC3PPS1 ATCC3PPSbits.ATCC3PPS1 // bit 1
15257 #define ATCC3PPS2 ATCC3PPSbits.ATCC3PPS2 // bit 2
15258 #define ATCC3PPS3 ATCC3PPSbits.ATCC3PPS3 // bit 3
15259 #define ATCC3PPS4 ATCC3PPSbits.ATCC3PPS4 // bit 4
15261 #define ATINPPS0 ATINPPSbits.ATINPPS0 // bit 0
15262 #define ATINPPS1 ATINPPSbits.ATINPPS1 // bit 1
15263 #define ATINPPS2 ATINPPSbits.ATINPPS2 // bit 2
15264 #define ATINPPS3 ATINPPSbits.ATINPPS3 // bit 3
15265 #define ATINPPS4 ATINPPSbits.ATINPPS4 // bit 4
15267 #define ABDEN BAUD1CONbits.ABDEN // bit 0
15268 #define WUE BAUD1CONbits.WUE // bit 1
15269 #define BRG16 BAUD1CONbits.BRG16 // bit 3
15270 #define SCKP BAUD1CONbits.SCKP // bit 4
15271 #define RCIDL BAUD1CONbits.RCIDL // bit 6
15272 #define ABDOVF BAUD1CONbits.ABDOVF // bit 7
15274 #define BORRDY BORCONbits.BORRDY // bit 0
15275 #define BORFS BORCONbits.BORFS // bit 6
15276 #define SBOREN BORCONbits.SBOREN // bit 7
15278 #define BSR0 BSRbits.BSR0 // bit 0
15279 #define BSR1 BSRbits.BSR1 // bit 1
15280 #define BSR2 BSRbits.BSR2 // bit 2
15281 #define BSR3 BSRbits.BSR3 // bit 3
15282 #define BSR4 BSRbits.BSR4 // bit 4
15284 #define CTS0 CCP1CAPbits.CTS0 // bit 0, shadows bit in CCP1CAPbits
15285 #define CCP1CTS0 CCP1CAPbits.CCP1CTS0 // bit 0, shadows bit in CCP1CAPbits
15286 #define CTS1 CCP1CAPbits.CTS1 // bit 1, shadows bit in CCP1CAPbits
15287 #define CCP1CTS1 CCP1CAPbits.CCP1CTS1 // bit 1, shadows bit in CCP1CAPbits
15288 #define CTS2 CCP1CAPbits.CTS2 // bit 2, shadows bit in CCP1CAPbits
15289 #define CCP1CTS2 CCP1CAPbits.CCP1CTS2 // bit 2, shadows bit in CCP1CAPbits
15291 #define CCP1PPS0 CCP1PPSbits.CCP1PPS0 // bit 0
15292 #define CCP1PPS1 CCP1PPSbits.CCP1PPS1 // bit 1
15293 #define CCP1PPS2 CCP1PPSbits.CCP1PPS2 // bit 2
15294 #define CCP1PPS3 CCP1PPSbits.CCP1PPS3 // bit 3
15295 #define CCP1PPS4 CCP1PPSbits.CCP1PPS4 // bit 4
15297 #define CCP2PPS0 CCP2PPSbits.CCP2PPS0 // bit 0
15298 #define CCP2PPS1 CCP2PPSbits.CCP2PPS1 // bit 1
15299 #define CCP2PPS2 CCP2PPSbits.CCP2PPS2 // bit 2
15300 #define CCP2PPS3 CCP2PPSbits.CCP2PPS3 // bit 3
15301 #define CCP2PPS4 CCP2PPSbits.CCP2PPS4 // bit 4
15303 #define CCP1TSEL0 CCPTMRSbits.CCP1TSEL0 // bit 0
15304 #define CCP1TSEL1 CCPTMRSbits.CCP1TSEL1 // bit 1
15305 #define CCP2TSEL0 CCPTMRSbits.CCP2TSEL0 // bit 2
15306 #define CCP2TSEL1 CCPTMRSbits.CCP2TSEL1 // bit 3
15307 #define P3TSEL0 CCPTMRSbits.P3TSEL0 // bit 4
15308 #define P3TSEL1 CCPTMRSbits.P3TSEL1 // bit 5
15309 #define P4TSEL0 CCPTMRSbits.P4TSEL0 // bit 6
15310 #define P4TSEL1 CCPTMRSbits.P4TSEL1 // bit 7
15312 #define CKPPS0 CKPPSbits.CKPPS0 // bit 0
15313 #define CKPPS1 CKPPSbits.CKPPS1 // bit 1
15314 #define CKPPS2 CKPPSbits.CKPPS2 // bit 2
15315 #define CKPPS3 CKPPSbits.CKPPS3 // bit 3
15316 #define CKPPS4 CKPPSbits.CKPPS4 // bit 4
15318 #define LC1G1D1N CLC1GLS0bits.LC1G1D1N // bit 0, shadows bit in CLC1GLS0bits
15319 #define D1N CLC1GLS0bits.D1N // bit 0, shadows bit in CLC1GLS0bits
15320 #define LC1G1D1T CLC1GLS0bits.LC1G1D1T // bit 1, shadows bit in CLC1GLS0bits
15321 #define D1T CLC1GLS0bits.D1T // bit 1, shadows bit in CLC1GLS0bits
15322 #define LC1G1D2N CLC1GLS0bits.LC1G1D2N // bit 2, shadows bit in CLC1GLS0bits
15323 #define D2N CLC1GLS0bits.D2N // bit 2, shadows bit in CLC1GLS0bits
15324 #define LC1G1D2T CLC1GLS0bits.LC1G1D2T // bit 3, shadows bit in CLC1GLS0bits
15325 #define D2T CLC1GLS0bits.D2T // bit 3, shadows bit in CLC1GLS0bits
15326 #define LC1G1D3N CLC1GLS0bits.LC1G1D3N // bit 4, shadows bit in CLC1GLS0bits
15327 #define D3N CLC1GLS0bits.D3N // bit 4, shadows bit in CLC1GLS0bits
15328 #define LC1G1D3T CLC1GLS0bits.LC1G1D3T // bit 5, shadows bit in CLC1GLS0bits
15329 #define D3T CLC1GLS0bits.D3T // bit 5, shadows bit in CLC1GLS0bits
15330 #define LC1G1D4N CLC1GLS0bits.LC1G1D4N // bit 6, shadows bit in CLC1GLS0bits
15331 #define D4N CLC1GLS0bits.D4N // bit 6, shadows bit in CLC1GLS0bits
15332 #define LC1G1D4T CLC1GLS0bits.LC1G1D4T // bit 7, shadows bit in CLC1GLS0bits
15333 #define D4T CLC1GLS0bits.D4T // bit 7, shadows bit in CLC1GLS0bits
15335 #define LC1G4D1N CLC1GLS3bits.LC1G4D1N // bit 0, shadows bit in CLC1GLS3bits
15336 #define G4D1N CLC1GLS3bits.G4D1N // bit 0, shadows bit in CLC1GLS3bits
15337 #define LC1G4D1T CLC1GLS3bits.LC1G4D1T // bit 1, shadows bit in CLC1GLS3bits
15338 #define G4D1T CLC1GLS3bits.G4D1T // bit 1, shadows bit in CLC1GLS3bits
15339 #define LC1G4D2N CLC1GLS3bits.LC1G4D2N // bit 2, shadows bit in CLC1GLS3bits
15340 #define G4D2N CLC1GLS3bits.G4D2N // bit 2, shadows bit in CLC1GLS3bits
15341 #define LC1G4D2T CLC1GLS3bits.LC1G4D2T // bit 3, shadows bit in CLC1GLS3bits
15342 #define G4D2T CLC1GLS3bits.G4D2T // bit 3, shadows bit in CLC1GLS3bits
15343 #define LC1G4D3N CLC1GLS3bits.LC1G4D3N // bit 4, shadows bit in CLC1GLS3bits
15344 #define G4D3N CLC1GLS3bits.G4D3N // bit 4, shadows bit in CLC1GLS3bits
15345 #define LC1G4D3T CLC1GLS3bits.LC1G4D3T // bit 5, shadows bit in CLC1GLS3bits
15346 #define G4D3T CLC1GLS3bits.G4D3T // bit 5, shadows bit in CLC1GLS3bits
15347 #define LC1G4D4N CLC1GLS3bits.LC1G4D4N // bit 6, shadows bit in CLC1GLS3bits
15348 #define G4D4N CLC1GLS3bits.G4D4N // bit 6, shadows bit in CLC1GLS3bits
15349 #define LC1G4D4T CLC1GLS3bits.LC1G4D4T // bit 7, shadows bit in CLC1GLS3bits
15350 #define G4D4T CLC1GLS3bits.G4D4T // bit 7, shadows bit in CLC1GLS3bits
15352 #define LC1D1S0 CLC1SEL0bits.LC1D1S0 // bit 0, shadows bit in CLC1SEL0bits
15353 #define D1S0 CLC1SEL0bits.D1S0 // bit 0, shadows bit in CLC1SEL0bits
15354 #define LC1D1S1 CLC1SEL0bits.LC1D1S1 // bit 1, shadows bit in CLC1SEL0bits
15355 #define D1S1 CLC1SEL0bits.D1S1 // bit 1, shadows bit in CLC1SEL0bits
15356 #define LC1D1S2 CLC1SEL0bits.LC1D1S2 // bit 2, shadows bit in CLC1SEL0bits
15357 #define D1S2 CLC1SEL0bits.D1S2 // bit 2, shadows bit in CLC1SEL0bits
15358 #define LC1D1S3 CLC1SEL0bits.LC1D1S3 // bit 3, shadows bit in CLC1SEL0bits
15359 #define D1S3 CLC1SEL0bits.D1S3 // bit 3, shadows bit in CLC1SEL0bits
15360 #define LC1D1S4 CLC1SEL0bits.LC1D1S4 // bit 4, shadows bit in CLC1SEL0bits
15361 #define D1S4 CLC1SEL0bits.D1S4 // bit 4, shadows bit in CLC1SEL0bits
15362 #define LC1D1S5 CLC1SEL0bits.LC1D1S5 // bit 5, shadows bit in CLC1SEL0bits
15363 #define D1S5 CLC1SEL0bits.D1S5 // bit 5, shadows bit in CLC1SEL0bits
15365 #define LC1D2S0 CLC1SEL1bits.LC1D2S0 // bit 0, shadows bit in CLC1SEL1bits
15366 #define D2S0 CLC1SEL1bits.D2S0 // bit 0, shadows bit in CLC1SEL1bits
15367 #define LC1D2S1 CLC1SEL1bits.LC1D2S1 // bit 1, shadows bit in CLC1SEL1bits
15368 #define D2S1 CLC1SEL1bits.D2S1 // bit 1, shadows bit in CLC1SEL1bits
15369 #define LC1D2S2 CLC1SEL1bits.LC1D2S2 // bit 2, shadows bit in CLC1SEL1bits
15370 #define D2S2 CLC1SEL1bits.D2S2 // bit 2, shadows bit in CLC1SEL1bits
15371 #define LC1D2S3 CLC1SEL1bits.LC1D2S3 // bit 3, shadows bit in CLC1SEL1bits
15372 #define D2S3 CLC1SEL1bits.D2S3 // bit 3, shadows bit in CLC1SEL1bits
15373 #define LC1D2S4 CLC1SEL1bits.LC1D2S4 // bit 4, shadows bit in CLC1SEL1bits
15374 #define D2S4 CLC1SEL1bits.D2S4 // bit 4, shadows bit in CLC1SEL1bits
15375 #define LC1D2S5 CLC1SEL1bits.LC1D2S5 // bit 5, shadows bit in CLC1SEL1bits
15376 #define D2S5 CLC1SEL1bits.D2S5 // bit 5, shadows bit in CLC1SEL1bits
15378 #define LC1D3S0 CLC1SEL2bits.LC1D3S0 // bit 0, shadows bit in CLC1SEL2bits
15379 #define D3S0 CLC1SEL2bits.D3S0 // bit 0, shadows bit in CLC1SEL2bits
15380 #define LC1D3S1 CLC1SEL2bits.LC1D3S1 // bit 1, shadows bit in CLC1SEL2bits
15381 #define D3S1 CLC1SEL2bits.D3S1 // bit 1, shadows bit in CLC1SEL2bits
15382 #define LC1D3S2 CLC1SEL2bits.LC1D3S2 // bit 2, shadows bit in CLC1SEL2bits
15383 #define D3S2 CLC1SEL2bits.D3S2 // bit 2, shadows bit in CLC1SEL2bits
15384 #define LC1D3S3 CLC1SEL2bits.LC1D3S3 // bit 3, shadows bit in CLC1SEL2bits
15385 #define D3S3 CLC1SEL2bits.D3S3 // bit 3, shadows bit in CLC1SEL2bits
15386 #define LC1D3S4 CLC1SEL2bits.LC1D3S4 // bit 4, shadows bit in CLC1SEL2bits
15387 #define D3S4 CLC1SEL2bits.D3S4 // bit 4, shadows bit in CLC1SEL2bits
15388 #define LC1D3S5 CLC1SEL2bits.LC1D3S5 // bit 5, shadows bit in CLC1SEL2bits
15389 #define D3S5 CLC1SEL2bits.D3S5 // bit 5, shadows bit in CLC1SEL2bits
15391 #define LC1D4S0 CLC1SEL3bits.LC1D4S0 // bit 0, shadows bit in CLC1SEL3bits
15392 #define D4S0 CLC1SEL3bits.D4S0 // bit 0, shadows bit in CLC1SEL3bits
15393 #define LC1D4S1 CLC1SEL3bits.LC1D4S1 // bit 1, shadows bit in CLC1SEL3bits
15394 #define D4S1 CLC1SEL3bits.D4S1 // bit 1, shadows bit in CLC1SEL3bits
15395 #define LC1D4S2 CLC1SEL3bits.LC1D4S2 // bit 2, shadows bit in CLC1SEL3bits
15396 #define D4S2 CLC1SEL3bits.D4S2 // bit 2, shadows bit in CLC1SEL3bits
15397 #define LC1D4S3 CLC1SEL3bits.LC1D4S3 // bit 3, shadows bit in CLC1SEL3bits
15398 #define D4S3 CLC1SEL3bits.D4S3 // bit 3, shadows bit in CLC1SEL3bits
15399 #define LC1D4S4 CLC1SEL3bits.LC1D4S4 // bit 4, shadows bit in CLC1SEL3bits
15400 #define D4S4 CLC1SEL3bits.D4S4 // bit 4, shadows bit in CLC1SEL3bits
15401 #define LC1D4S5 CLC1SEL3bits.LC1D4S5 // bit 5, shadows bit in CLC1SEL3bits
15402 #define D4S5 CLC1SEL3bits.D4S5 // bit 5, shadows bit in CLC1SEL3bits
15404 #define MLC1OUT CLCDATAbits.MLC1OUT // bit 0
15405 #define MLC2OUT CLCDATAbits.MLC2OUT // bit 1
15407 #define CLCIN0PPS0 CLCIN0PPSbits.CLCIN0PPS0 // bit 0
15408 #define CLCIN0PPS1 CLCIN0PPSbits.CLCIN0PPS1 // bit 1
15409 #define CLCIN0PPS2 CLCIN0PPSbits.CLCIN0PPS2 // bit 2
15410 #define CLCIN0PPS3 CLCIN0PPSbits.CLCIN0PPS3 // bit 3
15411 #define CLCIN0PPS4 CLCIN0PPSbits.CLCIN0PPS4 // bit 4
15413 #define CLCIN1PPS0 CLCIN1PPSbits.CLCIN1PPS0 // bit 0
15414 #define CLCIN1PPS1 CLCIN1PPSbits.CLCIN1PPS1 // bit 1
15415 #define CLCIN1PPS2 CLCIN1PPSbits.CLCIN1PPS2 // bit 2
15416 #define CLCIN1PPS3 CLCIN1PPSbits.CLCIN1PPS3 // bit 3
15417 #define CLCIN1PPS4 CLCIN1PPSbits.CLCIN1PPS4 // bit 4
15419 #define CLCIN2PPS0 CLCIN2PPSbits.CLCIN2PPS0 // bit 0
15420 #define CLCIN2PPS1 CLCIN2PPSbits.CLCIN2PPS1 // bit 1
15421 #define CLCIN2PPS2 CLCIN2PPSbits.CLCIN2PPS2 // bit 2
15422 #define CLCIN2PPS3 CLCIN2PPSbits.CLCIN2PPS3 // bit 3
15423 #define CLCIN2PPS4 CLCIN2PPSbits.CLCIN2PPS4 // bit 4
15425 #define CLCIN3PPS0 CLCIN3PPSbits.CLCIN3PPS0 // bit 0
15426 #define CLCIN3PPS1 CLCIN3PPSbits.CLCIN3PPS1 // bit 1
15427 #define CLCIN3PPS2 CLCIN3PPSbits.CLCIN3PPS2 // bit 2
15428 #define CLCIN3PPS3 CLCIN3PPSbits.CLCIN3PPS3 // bit 3
15429 #define CLCIN3PPS4 CLCIN3PPSbits.CLCIN3PPS4 // bit 4
15431 #define C1SYNC CM1CON0bits.C1SYNC // bit 0
15432 #define C1HYS CM1CON0bits.C1HYS // bit 1
15433 #define C1SP CM1CON0bits.C1SP // bit 2
15434 #define C1POL CM1CON0bits.C1POL // bit 4
15435 #define C1OUT CM1CON0bits.C1OUT // bit 6
15436 #define C1ON CM1CON0bits.C1ON // bit 7
15438 #define C1NCH0 CM1CON1bits.C1NCH0 // bit 0
15439 #define C1NCH1 CM1CON1bits.C1NCH1 // bit 1
15440 #define C1NCH2 CM1CON1bits.C1NCH2 // bit 2
15441 #define C1PCH0 CM1CON1bits.C1PCH0 // bit 4
15442 #define C1PCH1 CM1CON1bits.C1PCH1 // bit 5
15443 #define C1INTN CM1CON1bits.C1INTN // bit 6
15444 #define C1INTP CM1CON1bits.C1INTP // bit 7
15446 #define C2SYNC CM2CON0bits.C2SYNC // bit 0
15447 #define C2HYS CM2CON0bits.C2HYS // bit 1
15448 #define C2SP CM2CON0bits.C2SP // bit 2
15449 #define C2POL CM2CON0bits.C2POL // bit 4
15450 #define C2OUT CM2CON0bits.C2OUT // bit 6
15451 #define C2ON CM2CON0bits.C2ON // bit 7
15453 #define C2NCH0 CM2CON1bits.C2NCH0 // bit 0
15454 #define C2NCH1 CM2CON1bits.C2NCH1 // bit 1
15455 #define C2NCH2 CM2CON1bits.C2NCH2 // bit 2
15456 #define C2PCH0 CM2CON1bits.C2PCH0 // bit 4
15457 #define C2PCH1 CM2CON1bits.C2PCH1 // bit 5
15458 #define C2INTN CM2CON1bits.C2INTN // bit 6
15459 #define C2INTP CM2CON1bits.C2INTP // bit 7
15461 #define MC1OUT CMOUTbits.MC1OUT // bit 0
15462 #define MC2OUT CMOUTbits.MC2OUT // bit 1
15464 #define ACC8 CRCACCHbits.ACC8 // bit 0, shadows bit in CRCACCHbits
15465 #define CRCACC8 CRCACCHbits.CRCACC8 // bit 0, shadows bit in CRCACCHbits
15466 #define ACC9 CRCACCHbits.ACC9 // bit 1, shadows bit in CRCACCHbits
15467 #define CRCACC9 CRCACCHbits.CRCACC9 // bit 1, shadows bit in CRCACCHbits
15468 #define ACC10 CRCACCHbits.ACC10 // bit 2, shadows bit in CRCACCHbits
15469 #define CRCACC10 CRCACCHbits.CRCACC10 // bit 2, shadows bit in CRCACCHbits
15470 #define ACC11 CRCACCHbits.ACC11 // bit 3, shadows bit in CRCACCHbits
15471 #define CRCACC11 CRCACCHbits.CRCACC11 // bit 3, shadows bit in CRCACCHbits
15472 #define ACC12 CRCACCHbits.ACC12 // bit 4, shadows bit in CRCACCHbits
15473 #define CRCACC12 CRCACCHbits.CRCACC12 // bit 4, shadows bit in CRCACCHbits
15474 #define ACC13 CRCACCHbits.ACC13 // bit 5, shadows bit in CRCACCHbits
15475 #define CRCACC13 CRCACCHbits.CRCACC13 // bit 5, shadows bit in CRCACCHbits
15476 #define ACC14 CRCACCHbits.ACC14 // bit 6, shadows bit in CRCACCHbits
15477 #define CRCACC14 CRCACCHbits.CRCACC14 // bit 6, shadows bit in CRCACCHbits
15478 #define ACC15 CRCACCHbits.ACC15 // bit 7, shadows bit in CRCACCHbits
15479 #define CRCACC15 CRCACCHbits.CRCACC15 // bit 7, shadows bit in CRCACCHbits
15481 #define ACC0 CRCACCLbits.ACC0 // bit 0, shadows bit in CRCACCLbits
15482 #define CRCACC0 CRCACCLbits.CRCACC0 // bit 0, shadows bit in CRCACCLbits
15483 #define ACC1 CRCACCLbits.ACC1 // bit 1, shadows bit in CRCACCLbits
15484 #define CRCACC1 CRCACCLbits.CRCACC1 // bit 1, shadows bit in CRCACCLbits
15485 #define ACC2 CRCACCLbits.ACC2 // bit 2, shadows bit in CRCACCLbits
15486 #define CRCACC2 CRCACCLbits.CRCACC2 // bit 2, shadows bit in CRCACCLbits
15487 #define ACC3 CRCACCLbits.ACC3 // bit 3, shadows bit in CRCACCLbits
15488 #define CRCACC3 CRCACCLbits.CRCACC3 // bit 3, shadows bit in CRCACCLbits
15489 #define ACC4 CRCACCLbits.ACC4 // bit 4, shadows bit in CRCACCLbits
15490 #define CRCACC4 CRCACCLbits.CRCACC4 // bit 4, shadows bit in CRCACCLbits
15491 #define ACC5 CRCACCLbits.ACC5 // bit 5, shadows bit in CRCACCLbits
15492 #define CRCACC5 CRCACCLbits.CRCACC5 // bit 5, shadows bit in CRCACCLbits
15493 #define ACC6 CRCACCLbits.ACC6 // bit 6, shadows bit in CRCACCLbits
15494 #define CRCACC6 CRCACCLbits.CRCACC6 // bit 6, shadows bit in CRCACCLbits
15495 #define ACC7 CRCACCLbits.ACC7 // bit 7, shadows bit in CRCACCLbits
15496 #define CRCACC7 CRCACCLbits.CRCACC7 // bit 7, shadows bit in CRCACCLbits
15498 #define PLEN0 CRCCON1bits.PLEN0 // bit 0, shadows bit in CRCCON1bits
15499 #define CRCPLEN0 CRCCON1bits.CRCPLEN0 // bit 0, shadows bit in CRCCON1bits
15500 #define PLEN1 CRCCON1bits.PLEN1 // bit 1, shadows bit in CRCCON1bits
15501 #define CRCPLEN1 CRCCON1bits.CRCPLEN1 // bit 1, shadows bit in CRCCON1bits
15502 #define PLEN2 CRCCON1bits.PLEN2 // bit 2, shadows bit in CRCCON1bits
15503 #define CRCPLEN2 CRCCON1bits.CRCPLEN2 // bit 2, shadows bit in CRCCON1bits
15504 #define PLEN3 CRCCON1bits.PLEN3 // bit 3, shadows bit in CRCCON1bits
15505 #define CRCPLEN3 CRCCON1bits.CRCPLEN3 // bit 3, shadows bit in CRCCON1bits
15506 #define DLEN0 CRCCON1bits.DLEN0 // bit 4, shadows bit in CRCCON1bits
15507 #define CRCDLEN0 CRCCON1bits.CRCDLEN0 // bit 4, shadows bit in CRCCON1bits
15508 #define DLEN1 CRCCON1bits.DLEN1 // bit 5, shadows bit in CRCCON1bits
15509 #define CRCDLEN1 CRCCON1bits.CRCDLEN1 // bit 5, shadows bit in CRCCON1bits
15510 #define DLEN2 CRCCON1bits.DLEN2 // bit 6, shadows bit in CRCCON1bits
15511 #define CRCDLEN2 CRCCON1bits.CRCDLEN2 // bit 6, shadows bit in CRCCON1bits
15512 #define DLEN3 CRCCON1bits.DLEN3 // bit 7, shadows bit in CRCCON1bits
15513 #define CRCDLEN3 CRCCON1bits.CRCDLEN3 // bit 7, shadows bit in CRCCON1bits
15515 #define DAT8 CRCDATHbits.DAT8 // bit 0, shadows bit in CRCDATHbits
15516 #define CRCDAT8 CRCDATHbits.CRCDAT8 // bit 0, shadows bit in CRCDATHbits
15517 #define DAT9 CRCDATHbits.DAT9 // bit 1, shadows bit in CRCDATHbits
15518 #define CRCDAT9 CRCDATHbits.CRCDAT9 // bit 1, shadows bit in CRCDATHbits
15519 #define DAT10 CRCDATHbits.DAT10 // bit 2, shadows bit in CRCDATHbits
15520 #define CRCDAT10 CRCDATHbits.CRCDAT10 // bit 2, shadows bit in CRCDATHbits
15521 #define DAT11 CRCDATHbits.DAT11 // bit 3, shadows bit in CRCDATHbits
15522 #define CRCDAT11 CRCDATHbits.CRCDAT11 // bit 3, shadows bit in CRCDATHbits
15523 #define DAT12 CRCDATHbits.DAT12 // bit 4, shadows bit in CRCDATHbits
15524 #define CRCDAT12 CRCDATHbits.CRCDAT12 // bit 4, shadows bit in CRCDATHbits
15525 #define DAT13 CRCDATHbits.DAT13 // bit 5, shadows bit in CRCDATHbits
15526 #define CRCDAT13 CRCDATHbits.CRCDAT13 // bit 5, shadows bit in CRCDATHbits
15527 #define DAT14 CRCDATHbits.DAT14 // bit 6, shadows bit in CRCDATHbits
15528 #define CRCDAT14 CRCDATHbits.CRCDAT14 // bit 6, shadows bit in CRCDATHbits
15529 #define DAT15 CRCDATHbits.DAT15 // bit 7, shadows bit in CRCDATHbits
15530 #define CRCDAT15 CRCDATHbits.CRCDAT15 // bit 7, shadows bit in CRCDATHbits
15532 #define DAT0 CRCDATLbits.DAT0 // bit 0, shadows bit in CRCDATLbits
15533 #define CRCDAT0 CRCDATLbits.CRCDAT0 // bit 0, shadows bit in CRCDATLbits
15534 #define DAT1 CRCDATLbits.DAT1 // bit 1, shadows bit in CRCDATLbits
15535 #define CRCDAT1 CRCDATLbits.CRCDAT1 // bit 1, shadows bit in CRCDATLbits
15536 #define DAT2 CRCDATLbits.DAT2 // bit 2, shadows bit in CRCDATLbits
15537 #define CRCDAT2 CRCDATLbits.CRCDAT2 // bit 2, shadows bit in CRCDATLbits
15538 #define DAT3 CRCDATLbits.DAT3 // bit 3, shadows bit in CRCDATLbits
15539 #define CRCDAT3 CRCDATLbits.CRCDAT3 // bit 3, shadows bit in CRCDATLbits
15540 #define DAT4 CRCDATLbits.DAT4 // bit 4, shadows bit in CRCDATLbits
15541 #define CRCDAT4 CRCDATLbits.CRCDAT4 // bit 4, shadows bit in CRCDATLbits
15542 #define DAT5 CRCDATLbits.DAT5 // bit 5, shadows bit in CRCDATLbits
15543 #define CRCDAT5 CRCDATLbits.CRCDAT5 // bit 5, shadows bit in CRCDATLbits
15544 #define DAT6 CRCDATLbits.DAT6 // bit 6, shadows bit in CRCDATLbits
15545 #define CRCDAT6 CRCDATLbits.CRCDAT6 // bit 6, shadows bit in CRCDATLbits
15546 #define DAT7 CRCDATLbits.DAT7 // bit 7, shadows bit in CRCDATLbits
15547 #define CRDCDAT7 CRCDATLbits.CRDCDAT7 // bit 7, shadows bit in CRCDATLbits
15549 #define SHIFT8 CRCSHIFTHbits.SHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15550 #define CRCSHIFT8 CRCSHIFTHbits.CRCSHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15551 #define SHIFT9 CRCSHIFTHbits.SHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15552 #define CRCSHIFT9 CRCSHIFTHbits.CRCSHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15553 #define SHIFT10 CRCSHIFTHbits.SHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15554 #define CRCSHIFT10 CRCSHIFTHbits.CRCSHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15555 #define SHIFT11 CRCSHIFTHbits.SHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15556 #define CRCSHIFT11 CRCSHIFTHbits.CRCSHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15557 #define SHIFT12 CRCSHIFTHbits.SHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15558 #define CRCSHIFT12 CRCSHIFTHbits.CRCSHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15559 #define SHIFT13 CRCSHIFTHbits.SHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15560 #define CRCSHIFT13 CRCSHIFTHbits.CRCSHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15561 #define SHIFT14 CRCSHIFTHbits.SHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15562 #define CRCSHIFT14 CRCSHIFTHbits.CRCSHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15563 #define SHIFT15 CRCSHIFTHbits.SHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15564 #define CRCSHIFT15 CRCSHIFTHbits.CRCSHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15566 #define SHIFT0 CRCSHIFTLbits.SHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15567 #define CRCSHIFT0 CRCSHIFTLbits.CRCSHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15568 #define SHIFT1 CRCSHIFTLbits.SHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15569 #define CRCSHIFT1 CRCSHIFTLbits.CRCSHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15570 #define SHIFT2 CRCSHIFTLbits.SHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15571 #define CRCSHIFT2 CRCSHIFTLbits.CRCSHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15572 #define SHIFT3 CRCSHIFTLbits.SHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15573 #define CRCSHIFT3 CRCSHIFTLbits.CRCSHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15574 #define SHIFT4 CRCSHIFTLbits.SHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15575 #define CRCSHIFT4 CRCSHIFTLbits.CRCSHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15576 #define SHIFT5 CRCSHIFTLbits.SHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15577 #define CRCSHIFT5 CRCSHIFTLbits.CRCSHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15578 #define SHIFT6 CRCSHIFTLbits.SHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15579 #define CRCSHIFT6 CRCSHIFTLbits.CRCSHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15580 #define SHIFT7 CRCSHIFTLbits.SHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15581 #define CRCSHIFT7 CRCSHIFTLbits.CRCSHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15583 #define XOR8 CRCXORHbits.XOR8 // bit 0, shadows bit in CRCXORHbits
15584 #define CRCXOR8 CRCXORHbits.CRCXOR8 // bit 0, shadows bit in CRCXORHbits
15585 #define XOR9 CRCXORHbits.XOR9 // bit 1, shadows bit in CRCXORHbits
15586 #define CRCXOR9 CRCXORHbits.CRCXOR9 // bit 1, shadows bit in CRCXORHbits
15587 #define XOR10 CRCXORHbits.XOR10 // bit 2, shadows bit in CRCXORHbits
15588 #define CRCXOR10 CRCXORHbits.CRCXOR10 // bit 2, shadows bit in CRCXORHbits
15589 #define XOR11 CRCXORHbits.XOR11 // bit 3, shadows bit in CRCXORHbits
15590 #define CRCXOR11 CRCXORHbits.CRCXOR11 // bit 3, shadows bit in CRCXORHbits
15591 #define XOR12 CRCXORHbits.XOR12 // bit 4, shadows bit in CRCXORHbits
15592 #define CRCXOR12 CRCXORHbits.CRCXOR12 // bit 4, shadows bit in CRCXORHbits
15593 #define XOR13 CRCXORHbits.XOR13 // bit 5, shadows bit in CRCXORHbits
15594 #define CRCXOR13 CRCXORHbits.CRCXOR13 // bit 5, shadows bit in CRCXORHbits
15595 #define XOR14 CRCXORHbits.XOR14 // bit 6, shadows bit in CRCXORHbits
15596 #define CRCXOR14 CRCXORHbits.CRCXOR14 // bit 6, shadows bit in CRCXORHbits
15597 #define XOR15 CRCXORHbits.XOR15 // bit 7, shadows bit in CRCXORHbits
15598 #define CRCXOR15 CRCXORHbits.CRCXOR15 // bit 7, shadows bit in CRCXORHbits
15600 #define XOR1 CRCXORLbits.XOR1 // bit 1, shadows bit in CRCXORLbits
15601 #define CRCXOR1 CRCXORLbits.CRCXOR1 // bit 1, shadows bit in CRCXORLbits
15602 #define XOR2 CRCXORLbits.XOR2 // bit 2, shadows bit in CRCXORLbits
15603 #define CRCXOR2 CRCXORLbits.CRCXOR2 // bit 2, shadows bit in CRCXORLbits
15604 #define XOR3 CRCXORLbits.XOR3 // bit 3, shadows bit in CRCXORLbits
15605 #define CRCXOR3 CRCXORLbits.CRCXOR3 // bit 3, shadows bit in CRCXORLbits
15606 #define XOR4 CRCXORLbits.XOR4 // bit 4, shadows bit in CRCXORLbits
15607 #define CRCXOR4 CRCXORLbits.CRCXOR4 // bit 4, shadows bit in CRCXORLbits
15608 #define XOR5 CRCXORLbits.XOR5 // bit 5, shadows bit in CRCXORLbits
15609 #define CRCXOR5 CRCXORLbits.CRCXOR5 // bit 5, shadows bit in CRCXORLbits
15610 #define XOR6 CRCXORLbits.XOR6 // bit 6, shadows bit in CRCXORLbits
15611 #define CRCXOR6 CRCXORLbits.CRCXOR6 // bit 6, shadows bit in CRCXORLbits
15612 #define XOR7 CRCXORLbits.XOR7 // bit 7, shadows bit in CRCXORLbits
15613 #define CRCXOR7 CRCXORLbits.CRCXOR7 // bit 7, shadows bit in CRCXORLbits
15615 #define LSAC0 CWG1AS0bits.LSAC0 // bit 2, shadows bit in CWG1AS0bits
15616 #define CWG1LSAC0 CWG1AS0bits.CWG1LSAC0 // bit 2, shadows bit in CWG1AS0bits
15617 #define LSAC1 CWG1AS0bits.LSAC1 // bit 3, shadows bit in CWG1AS0bits
15618 #define CWG1LSAC1 CWG1AS0bits.CWG1LSAC1 // bit 3, shadows bit in CWG1AS0bits
15619 #define LSBD0 CWG1AS0bits.LSBD0 // bit 4, shadows bit in CWG1AS0bits
15620 #define CWG1LSBD0 CWG1AS0bits.CWG1LSBD0 // bit 4, shadows bit in CWG1AS0bits
15621 #define LSBD1 CWG1AS0bits.LSBD1 // bit 5, shadows bit in CWG1AS0bits
15622 #define CWG1LSBD1 CWG1AS0bits.CWG1LSBD1 // bit 5, shadows bit in CWG1AS0bits
15623 #define REN CWG1AS0bits.REN // bit 6, shadows bit in CWG1AS0bits
15624 #define CWG1REN CWG1AS0bits.CWG1REN // bit 6, shadows bit in CWG1AS0bits
15625 #define SHUTDOWN CWG1AS0bits.SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15626 #define CWG1SHUTDOWN CWG1AS0bits.CWG1SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15628 #define INAS CWG1AS1bits.INAS // bit 0, shadows bit in CWG1AS1bits
15629 #define CWG1INAS CWG1AS1bits.CWG1INAS // bit 0, shadows bit in CWG1AS1bits
15630 #define C1AS CWG1AS1bits.C1AS // bit 1, shadows bit in CWG1AS1bits
15631 #define CWG1C1AS CWG1AS1bits.CWG1C1AS // bit 1, shadows bit in CWG1AS1bits
15632 #define C2AS CWG1AS1bits.C2AS // bit 2, shadows bit in CWG1AS1bits
15633 #define CWG1C2AS CWG1AS1bits.CWG1C2AS // bit 2, shadows bit in CWG1AS1bits
15634 #define TMR2AS CWG1AS1bits.TMR2AS // bit 4, shadows bit in CWG1AS1bits
15635 #define CWG1TMR2AS CWG1AS1bits.CWG1TMR2AS // bit 4, shadows bit in CWG1AS1bits
15636 #define TMR4AS CWG1AS1bits.TMR4AS // bit 5, shadows bit in CWG1AS1bits
15637 #define CWG1TMR4AS CWG1AS1bits.CWG1TMR4AS // bit 5, shadows bit in CWG1AS1bits
15638 #define TMR6AS CWG1AS1bits.TMR6AS // bit 6, shadows bit in CWG1AS1bits
15639 #define CWG1TMR6AS CWG1AS1bits.CWG1TMR6AS // bit 6, shadows bit in CWG1AS1bits
15641 #define POLA CWG1CON1bits.POLA // bit 0, shadows bit in CWG1CON1bits
15642 #define CWG1POLA CWG1CON1bits.CWG1POLA // bit 0, shadows bit in CWG1CON1bits
15643 #define POLB CWG1CON1bits.POLB // bit 1, shadows bit in CWG1CON1bits
15644 #define CWG1POLB CWG1CON1bits.CWG1POLB // bit 1, shadows bit in CWG1CON1bits
15645 #define POLC CWG1CON1bits.POLC // bit 2, shadows bit in CWG1CON1bits
15646 #define CWG1POLC CWG1CON1bits.CWG1POLC // bit 2, shadows bit in CWG1CON1bits
15647 #define POLD CWG1CON1bits.POLD // bit 3, shadows bit in CWG1CON1bits
15648 #define CWG1POLD CWG1CON1bits.CWG1POLD // bit 3, shadows bit in CWG1CON1bits
15649 #define IN CWG1CON1bits.IN // bit 5, shadows bit in CWG1CON1bits
15650 #define CWG1IN CWG1CON1bits.CWG1IN // bit 5, shadows bit in CWG1CON1bits
15652 #define DBF0 CWG1DBFbits.DBF0 // bit 0, shadows bit in CWG1DBFbits
15653 #define CWG1DBF0 CWG1DBFbits.CWG1DBF0 // bit 0, shadows bit in CWG1DBFbits
15654 #define DBF1 CWG1DBFbits.DBF1 // bit 1, shadows bit in CWG1DBFbits
15655 #define CWG1DBF1 CWG1DBFbits.CWG1DBF1 // bit 1, shadows bit in CWG1DBFbits
15656 #define DBF2 CWG1DBFbits.DBF2 // bit 2, shadows bit in CWG1DBFbits
15657 #define CWG1DBF2 CWG1DBFbits.CWG1DBF2 // bit 2, shadows bit in CWG1DBFbits
15658 #define DBF3 CWG1DBFbits.DBF3 // bit 3, shadows bit in CWG1DBFbits
15659 #define CWG1DBF3 CWG1DBFbits.CWG1DBF3 // bit 3, shadows bit in CWG1DBFbits
15660 #define DBF4 CWG1DBFbits.DBF4 // bit 4, shadows bit in CWG1DBFbits
15661 #define CWG1DBF4 CWG1DBFbits.CWG1DBF4 // bit 4, shadows bit in CWG1DBFbits
15662 #define DBF5 CWG1DBFbits.DBF5 // bit 5, shadows bit in CWG1DBFbits
15663 #define CWG1DBF5 CWG1DBFbits.CWG1DBF5 // bit 5, shadows bit in CWG1DBFbits
15665 #define DBR0 CWG1DBRbits.DBR0 // bit 0, shadows bit in CWG1DBRbits
15666 #define CWG1DBR0 CWG1DBRbits.CWG1DBR0 // bit 0, shadows bit in CWG1DBRbits
15667 #define DBR1 CWG1DBRbits.DBR1 // bit 1, shadows bit in CWG1DBRbits
15668 #define CWG1DBR1 CWG1DBRbits.CWG1DBR1 // bit 1, shadows bit in CWG1DBRbits
15669 #define DBR2 CWG1DBRbits.DBR2 // bit 2, shadows bit in CWG1DBRbits
15670 #define CWG1DBR2 CWG1DBRbits.CWG1DBR2 // bit 2, shadows bit in CWG1DBRbits
15671 #define DBR3 CWG1DBRbits.DBR3 // bit 3, shadows bit in CWG1DBRbits
15672 #define CWG1DBR3 CWG1DBRbits.CWG1DBR3 // bit 3, shadows bit in CWG1DBRbits
15673 #define DBR4 CWG1DBRbits.DBR4 // bit 4, shadows bit in CWG1DBRbits
15674 #define CWG1DBR4 CWG1DBRbits.CWG1DBR4 // bit 4, shadows bit in CWG1DBRbits
15675 #define DBR5 CWG1DBRbits.DBR5 // bit 5, shadows bit in CWG1DBRbits
15676 #define CWG1DBR5 CWG1DBRbits.CWG1DBR5 // bit 5, shadows bit in CWG1DBRbits
15678 #define IS0 CWG1ISMbits.IS0 // bit 0, shadows bit in CWG1ISMbits
15679 #define CWG1IS0 CWG1ISMbits.CWG1IS0 // bit 0, shadows bit in CWG1ISMbits
15680 #define IS1 CWG1ISMbits.IS1 // bit 1, shadows bit in CWG1ISMbits
15681 #define CWG1IS1 CWG1ISMbits.CWG1IS1 // bit 1, shadows bit in CWG1ISMbits
15682 #define IS2 CWG1ISMbits.IS2 // bit 2, shadows bit in CWG1ISMbits
15683 #define CWG1IS2 CWG1ISMbits.CWG1IS2 // bit 2, shadows bit in CWG1ISMbits
15684 #define IS3 CWG1ISMbits.IS3 // bit 3, shadows bit in CWG1ISMbits
15685 #define CWG1IS3 CWG1ISMbits.CWG1IS3 // bit 3, shadows bit in CWG1ISMbits
15687 #define STRA CWG1OCON0bits.STRA // bit 0, shadows bit in CWG1OCON0bits
15688 #define CWG1STRA CWG1OCON0bits.CWG1STRA // bit 0, shadows bit in CWG1OCON0bits
15689 #define STRB CWG1OCON0bits.STRB // bit 1, shadows bit in CWG1OCON0bits
15690 #define CWG1STRB CWG1OCON0bits.CWG1STRB // bit 1, shadows bit in CWG1OCON0bits
15691 #define STRC CWG1OCON0bits.STRC // bit 2, shadows bit in CWG1OCON0bits
15692 #define CWG1STRC CWG1OCON0bits.CWG1STRC // bit 2, shadows bit in CWG1OCON0bits
15693 #define STRD CWG1OCON0bits.STRD // bit 3, shadows bit in CWG1OCON0bits
15694 #define CWG1STRD CWG1OCON0bits.CWG1STRD // bit 3, shadows bit in CWG1OCON0bits
15695 #define OVRA CWG1OCON0bits.OVRA // bit 4, shadows bit in CWG1OCON0bits
15696 #define CWG1OVRA CWG1OCON0bits.CWG1OVRA // bit 4, shadows bit in CWG1OCON0bits
15697 #define OVRB CWG1OCON0bits.OVRB // bit 5, shadows bit in CWG1OCON0bits
15698 #define CWG1OVRB CWG1OCON0bits.CWG1OVRB // bit 5, shadows bit in CWG1OCON0bits
15699 #define OVRC CWG1OCON0bits.OVRC // bit 6, shadows bit in CWG1OCON0bits
15700 #define CWG1OVRC CWG1OCON0bits.CWG1OVRC // bit 6, shadows bit in CWG1OCON0bits
15701 #define OVRD CWG1OCON0bits.OVRD // bit 7, shadows bit in CWG1OCON0bits
15702 #define CWG1OVRD CWG1OCON0bits.CWG1OVRD // bit 7, shadows bit in CWG1OCON0bits
15704 #define CWGINPPS0 CWGINPPSbits.CWGINPPS0 // bit 0
15705 #define CWGINPPS1 CWGINPPSbits.CWGINPPS1 // bit 1
15706 #define CWGINPPS2 CWGINPPSbits.CWGINPPS2 // bit 2
15707 #define CWGINPPS3 CWGINPPSbits.CWGINPPS3 // bit 3
15708 #define CWGINPPS4 CWGINPPSbits.CWGINPPS4 // bit 4
15710 #define D1PSS0 DAC1CON0bits.D1PSS0 // bit 2
15711 #define D1PSS1 DAC1CON0bits.D1PSS1 // bit 3
15712 #define DAC1OE DAC1CON0bits.DAC1OE // bit 5
15713 #define DAC1EN DAC1CON0bits.DAC1EN // bit 7
15715 #define DAC1R0 DAC1CON1bits.DAC1R0 // bit 0
15716 #define DAC1R1 DAC1CON1bits.DAC1R1 // bit 1
15717 #define DAC1R2 DAC1CON1bits.DAC1R2 // bit 2
15718 #define DAC1R3 DAC1CON1bits.DAC1R3 // bit 3
15719 #define DAC1R4 DAC1CON1bits.DAC1R4 // bit 4
15720 #define DAC1R5 DAC1CON1bits.DAC1R5 // bit 5
15721 #define DAC1R6 DAC1CON1bits.DAC1R6 // bit 6
15722 #define DAC1R7 DAC1CON1bits.DAC1R7 // bit 7
15724 #define ADFVR0 FVRCONbits.ADFVR0 // bit 0
15725 #define ADFVR1 FVRCONbits.ADFVR1 // bit 1
15726 #define CDAFVR0 FVRCONbits.CDAFVR0 // bit 2
15727 #define CDAFVR1 FVRCONbits.CDAFVR1 // bit 3
15728 #define TSRNG FVRCONbits.TSRNG // bit 4
15729 #define TSEN FVRCONbits.TSEN // bit 5
15730 #define FVRRDY FVRCONbits.FVRRDY // bit 6
15731 #define FVREN FVRCONbits.FVREN // bit 7
15733 #define HIDC4 HIDRVCbits.HIDC4 // bit 4
15734 #define HIDC5 HIDRVCbits.HIDC5 // bit 5
15736 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
15737 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
15738 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
15739 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
15740 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
15741 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
15743 #define INLVLB4 INLVLBbits.INLVLB4 // bit 4
15744 #define INLVLB5 INLVLBbits.INLVLB5 // bit 5
15745 #define INLVLB6 INLVLBbits.INLVLB6 // bit 6
15746 #define INLVLB7 INLVLBbits.INLVLB7 // bit 7
15748 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
15749 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
15750 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
15751 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
15752 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
15753 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
15754 #define INLVLC6 INLVLCbits.INLVLC6 // bit 6
15755 #define INLVLC7 INLVLCbits.INLVLC7 // bit 7
15757 #define IOCIF INTCONbits.IOCIF // bit 0
15758 #define INTF INTCONbits.INTF // bit 1
15759 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
15760 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
15761 #define IOCIE INTCONbits.IOCIE // bit 3
15762 #define INTE INTCONbits.INTE // bit 4
15763 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
15764 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
15765 #define PEIE INTCONbits.PEIE // bit 6
15766 #define GIE INTCONbits.GIE // bit 7
15768 #define INTPPS0 INTPPSbits.INTPPS0 // bit 0
15769 #define INTPPS1 INTPPSbits.INTPPS1 // bit 1
15770 #define INTPPS2 INTPPSbits.INTPPS2 // bit 2
15771 #define INTPPS3 INTPPSbits.INTPPS3 // bit 3
15772 #define INTPPS4 INTPPSbits.INTPPS4 // bit 4
15774 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
15775 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
15776 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
15777 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
15778 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
15779 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
15781 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
15782 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
15783 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
15784 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
15785 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
15786 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
15788 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
15789 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
15790 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
15791 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
15792 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
15793 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
15795 #define IOCBF4 IOCBFbits.IOCBF4 // bit 4
15796 #define IOCBF5 IOCBFbits.IOCBF5 // bit 5
15797 #define IOCBF6 IOCBFbits.IOCBF6 // bit 6
15798 #define IOCBF7 IOCBFbits.IOCBF7 // bit 7
15800 #define IOCBN4 IOCBNbits.IOCBN4 // bit 4
15801 #define IOCBN5 IOCBNbits.IOCBN5 // bit 5
15802 #define IOCBN6 IOCBNbits.IOCBN6 // bit 6
15803 #define IOCBN7 IOCBNbits.IOCBN7 // bit 7
15805 #define IOCBP4 IOCBPbits.IOCBP4 // bit 4
15806 #define IOCBP5 IOCBPbits.IOCBP5 // bit 5
15807 #define IOCBP6 IOCBPbits.IOCBP6 // bit 6
15808 #define IOCBP7 IOCBPbits.IOCBP7 // bit 7
15810 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
15811 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
15812 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
15813 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
15814 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
15815 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
15816 #define IOCCF6 IOCCFbits.IOCCF6 // bit 6
15817 #define IOCCF7 IOCCFbits.IOCCF7 // bit 7
15819 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
15820 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
15821 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
15822 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
15823 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
15824 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
15825 #define IOCCN6 IOCCNbits.IOCCN6 // bit 6
15826 #define IOCCN7 IOCCNbits.IOCCN7 // bit 7
15828 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
15829 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
15830 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
15831 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
15832 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
15833 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
15834 #define IOCCP6 IOCCPbits.IOCCP6 // bit 6
15835 #define IOCCP7 IOCCPbits.IOCCP7 // bit 7
15837 #define LATA0 LATAbits.LATA0 // bit 0
15838 #define LATA1 LATAbits.LATA1 // bit 1
15839 #define LATA2 LATAbits.LATA2 // bit 2
15840 #define LATA3 LATAbits.LATA3 // bit 3
15841 #define LATA4 LATAbits.LATA4 // bit 4
15842 #define LATA5 LATAbits.LATA5 // bit 5
15844 #define LATB4 LATBbits.LATB4 // bit 4
15845 #define LATB5 LATBbits.LATB5 // bit 5
15846 #define LATB6 LATBbits.LATB6 // bit 6
15847 #define LATB7 LATBbits.LATB7 // bit 7
15849 #define LATC0 LATCbits.LATC0 // bit 0
15850 #define LATC1 LATCbits.LATC1 // bit 1
15851 #define LATC2 LATCbits.LATC2 // bit 2
15852 #define LATC3 LATCbits.LATC3 // bit 3
15853 #define LATC4 LATCbits.LATC4 // bit 4
15854 #define LATC5 LATCbits.LATC5 // bit 5
15855 #define LATC6 LATCbits.LATC6 // bit 6
15856 #define LATC7 LATCbits.LATC7 // bit 7
15858 #define ODA0 ODCONAbits.ODA0 // bit 0
15859 #define ODA1 ODCONAbits.ODA1 // bit 1
15860 #define ODA2 ODCONAbits.ODA2 // bit 2
15861 #define ODA4 ODCONAbits.ODA4 // bit 4
15862 #define ODA5 ODCONAbits.ODA5 // bit 5
15864 #define ODB4 ODCONBbits.ODB4 // bit 4
15865 #define ODB5 ODCONBbits.ODB5 // bit 5
15866 #define ODB6 ODCONBbits.ODB6 // bit 6
15867 #define ODB7 ODCONBbits.ODB7 // bit 7
15869 #define ODC0 ODCONCbits.ODC0 // bit 0
15870 #define ODC1 ODCONCbits.ODC1 // bit 1
15871 #define ODC2 ODCONCbits.ODC2 // bit 2
15872 #define ODC3 ODCONCbits.ODC3 // bit 3
15873 #define ODC4 ODCONCbits.ODC4 // bit 4
15874 #define ODC5 ODCONCbits.ODC5 // bit 5
15875 #define ODC6 ODCONCbits.ODC6 // bit 6
15876 #define ODC7 ODCONCbits.ODC7 // bit 7
15878 #define SCS0 OSCCONbits.SCS0 // bit 0
15879 #define SCS1 OSCCONbits.SCS1 // bit 1
15880 #define IRCF0 OSCCONbits.IRCF0 // bit 3
15881 #define IRCF1 OSCCONbits.IRCF1 // bit 4
15882 #define IRCF2 OSCCONbits.IRCF2 // bit 5
15883 #define IRCF3 OSCCONbits.IRCF3 // bit 6
15884 #define SPLLEN OSCCONbits.SPLLEN // bit 7
15886 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
15887 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
15888 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
15889 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
15890 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
15891 #define PLLR OSCSTATbits.PLLR // bit 6
15893 #define TUN0 OSCTUNEbits.TUN0 // bit 0
15894 #define TUN1 OSCTUNEbits.TUN1 // bit 1
15895 #define TUN2 OSCTUNEbits.TUN2 // bit 2
15896 #define TUN3 OSCTUNEbits.TUN3 // bit 3
15897 #define TUN4 OSCTUNEbits.TUN4 // bit 4
15898 #define TUN5 OSCTUNEbits.TUN5 // bit 5
15900 #define NOT_BOR PCONbits.NOT_BOR // bit 0
15901 #define NOT_POR PCONbits.NOT_POR // bit 1
15902 #define NOT_RI PCONbits.NOT_RI // bit 2
15903 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
15904 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
15905 #define NOT_WDTWV PCONbits.NOT_WDTWV // bit 5
15906 #define STKUNF PCONbits.STKUNF // bit 6
15907 #define STKOVF PCONbits.STKOVF // bit 7
15909 #define PID1ACC24 PID1ACCHHbits.PID1ACC24 // bit 0, shadows bit in PID1ACCHHbits
15910 #define ACC24 PID1ACCHHbits.ACC24 // bit 0, shadows bit in PID1ACCHHbits
15911 #define PID1ACC25 PID1ACCHHbits.PID1ACC25 // bit 1, shadows bit in PID1ACCHHbits
15912 #define ACC25 PID1ACCHHbits.ACC25 // bit 1, shadows bit in PID1ACCHHbits
15913 #define PID1ACC26 PID1ACCHHbits.PID1ACC26 // bit 2, shadows bit in PID1ACCHHbits
15914 #define ACC26 PID1ACCHHbits.ACC26 // bit 2, shadows bit in PID1ACCHHbits
15915 #define PID1ACC27 PID1ACCHHbits.PID1ACC27 // bit 3, shadows bit in PID1ACCHHbits
15916 #define ACC27 PID1ACCHHbits.ACC27 // bit 3, shadows bit in PID1ACCHHbits
15917 #define PID1ACC28 PID1ACCHHbits.PID1ACC28 // bit 4, shadows bit in PID1ACCHHbits
15918 #define ACC28 PID1ACCHHbits.ACC28 // bit 4, shadows bit in PID1ACCHHbits
15919 #define PID1ACC29 PID1ACCHHbits.PID1ACC29 // bit 5, shadows bit in PID1ACCHHbits
15920 #define ACC29 PID1ACCHHbits.ACC29 // bit 5, shadows bit in PID1ACCHHbits
15921 #define PID1ACC30 PID1ACCHHbits.PID1ACC30 // bit 6, shadows bit in PID1ACCHHbits
15922 #define ACC30 PID1ACCHHbits.ACC30 // bit 6, shadows bit in PID1ACCHHbits
15923 #define PID1ACC31 PID1ACCHHbits.PID1ACC31 // bit 7, shadows bit in PID1ACCHHbits
15924 #define ACC31 PID1ACCHHbits.ACC31 // bit 7, shadows bit in PID1ACCHHbits
15926 #define PID1ACC16 PID1ACCHLbits.PID1ACC16 // bit 0, shadows bit in PID1ACCHLbits
15927 #define ACC16 PID1ACCHLbits.ACC16 // bit 0, shadows bit in PID1ACCHLbits
15928 #define PID1ACC17 PID1ACCHLbits.PID1ACC17 // bit 1, shadows bit in PID1ACCHLbits
15929 #define ACC17 PID1ACCHLbits.ACC17 // bit 1, shadows bit in PID1ACCHLbits
15930 #define PID1ACC18 PID1ACCHLbits.PID1ACC18 // bit 2, shadows bit in PID1ACCHLbits
15931 #define ACC18 PID1ACCHLbits.ACC18 // bit 2, shadows bit in PID1ACCHLbits
15932 #define PID1ACC19 PID1ACCHLbits.PID1ACC19 // bit 3, shadows bit in PID1ACCHLbits
15933 #define ACC19 PID1ACCHLbits.ACC19 // bit 3, shadows bit in PID1ACCHLbits
15934 #define PID1ACC20 PID1ACCHLbits.PID1ACC20 // bit 4, shadows bit in PID1ACCHLbits
15935 #define ACC20 PID1ACCHLbits.ACC20 // bit 4, shadows bit in PID1ACCHLbits
15936 #define PID1ACC21 PID1ACCHLbits.PID1ACC21 // bit 5, shadows bit in PID1ACCHLbits
15937 #define ACC21 PID1ACCHLbits.ACC21 // bit 5, shadows bit in PID1ACCHLbits
15938 #define PID1ACC22 PID1ACCHLbits.PID1ACC22 // bit 6, shadows bit in PID1ACCHLbits
15939 #define ACC22 PID1ACCHLbits.ACC22 // bit 6, shadows bit in PID1ACCHLbits
15940 #define PID1ACC23 PID1ACCHLbits.PID1ACC23 // bit 7, shadows bit in PID1ACCHLbits
15941 #define ACC23 PID1ACCHLbits.ACC23 // bit 7, shadows bit in PID1ACCHLbits
15943 #define PID1ACC32 PID1ACCUbits.PID1ACC32 // bit 0, shadows bit in PID1ACCUbits
15944 #define ACC32 PID1ACCUbits.ACC32 // bit 0, shadows bit in PID1ACCUbits
15945 #define PID1ACC33 PID1ACCUbits.PID1ACC33 // bit 1, shadows bit in PID1ACCUbits
15946 #define ACC33 PID1ACCUbits.ACC33 // bit 1, shadows bit in PID1ACCUbits
15947 #define PID1ACC34 PID1ACCUbits.PID1ACC34 // bit 2, shadows bit in PID1ACCUbits
15948 #define ACC34 PID1ACCUbits.ACC34 // bit 2, shadows bit in PID1ACCUbits
15950 #define PID1IN8 PID1INHbits.PID1IN8 // bit 0, shadows bit in PID1INHbits
15951 #define IN8 PID1INHbits.IN8 // bit 0, shadows bit in PID1INHbits
15952 #define PID1IN9 PID1INHbits.PID1IN9 // bit 1, shadows bit in PID1INHbits
15953 #define IN9 PID1INHbits.IN9 // bit 1, shadows bit in PID1INHbits
15954 #define PID1IN10 PID1INHbits.PID1IN10 // bit 2, shadows bit in PID1INHbits
15955 #define IN10 PID1INHbits.IN10 // bit 2, shadows bit in PID1INHbits
15956 #define PID1IN11 PID1INHbits.PID1IN11 // bit 3, shadows bit in PID1INHbits
15957 #define IN11 PID1INHbits.IN11 // bit 3, shadows bit in PID1INHbits
15958 #define PID1IN12 PID1INHbits.PID1IN12 // bit 4, shadows bit in PID1INHbits
15959 #define IN12 PID1INHbits.IN12 // bit 4, shadows bit in PID1INHbits
15960 #define PID1IN13 PID1INHbits.PID1IN13 // bit 5, shadows bit in PID1INHbits
15961 #define IN13 PID1INHbits.IN13 // bit 5, shadows bit in PID1INHbits
15962 #define PID1IN14 PID1INHbits.PID1IN14 // bit 6, shadows bit in PID1INHbits
15963 #define IN14 PID1INHbits.IN14 // bit 6, shadows bit in PID1INHbits
15964 #define PID1IN15 PID1INHbits.PID1IN15 // bit 7, shadows bit in PID1INHbits
15965 #define IN15 PID1INHbits.IN15 // bit 7, shadows bit in PID1INHbits
15967 #define PID1IN0 PID1INLbits.PID1IN0 // bit 0, shadows bit in PID1INLbits
15968 #define IN0 PID1INLbits.IN0 // bit 0, shadows bit in PID1INLbits
15969 #define PID1IN1 PID1INLbits.PID1IN1 // bit 1, shadows bit in PID1INLbits
15970 #define IN1 PID1INLbits.IN1 // bit 1, shadows bit in PID1INLbits
15971 #define PID1IN2 PID1INLbits.PID1IN2 // bit 2, shadows bit in PID1INLbits
15972 #define IN2 PID1INLbits.IN2 // bit 2, shadows bit in PID1INLbits
15973 #define PID1IN3 PID1INLbits.PID1IN3 // bit 3, shadows bit in PID1INLbits
15974 #define IN3 PID1INLbits.IN3 // bit 3, shadows bit in PID1INLbits
15975 #define PID1IN4 PID1INLbits.PID1IN4 // bit 4, shadows bit in PID1INLbits
15976 #define IN4 PID1INLbits.IN4 // bit 4, shadows bit in PID1INLbits
15977 #define PID1IN5 PID1INLbits.PID1IN5 // bit 5, shadows bit in PID1INLbits
15978 #define IN5 PID1INLbits.IN5 // bit 5, shadows bit in PID1INLbits
15979 #define PID1IN6 PID1INLbits.PID1IN6 // bit 6, shadows bit in PID1INLbits
15980 #define IN6 PID1INLbits.IN6 // bit 6, shadows bit in PID1INLbits
15981 #define PID1IN7 PID1INLbits.PID1IN7 // bit 7, shadows bit in PID1INLbits
15982 #define IN7 PID1INLbits.IN7 // bit 7, shadows bit in PID1INLbits
15984 #define PID1K18 PID1K1Hbits.PID1K18 // bit 0, shadows bit in PID1K1Hbits
15985 #define K18 PID1K1Hbits.K18 // bit 0, shadows bit in PID1K1Hbits
15986 #define PID1K19 PID1K1Hbits.PID1K19 // bit 1, shadows bit in PID1K1Hbits
15987 #define K19 PID1K1Hbits.K19 // bit 1, shadows bit in PID1K1Hbits
15988 #define PID1K110 PID1K1Hbits.PID1K110 // bit 2, shadows bit in PID1K1Hbits
15989 #define K110 PID1K1Hbits.K110 // bit 2, shadows bit in PID1K1Hbits
15990 #define PID1K111 PID1K1Hbits.PID1K111 // bit 3, shadows bit in PID1K1Hbits
15991 #define K111 PID1K1Hbits.K111 // bit 3, shadows bit in PID1K1Hbits
15992 #define PID1K112 PID1K1Hbits.PID1K112 // bit 4, shadows bit in PID1K1Hbits
15993 #define K112 PID1K1Hbits.K112 // bit 4, shadows bit in PID1K1Hbits
15994 #define PID1K113 PID1K1Hbits.PID1K113 // bit 5, shadows bit in PID1K1Hbits
15995 #define K113 PID1K1Hbits.K113 // bit 5, shadows bit in PID1K1Hbits
15996 #define PID1K114 PID1K1Hbits.PID1K114 // bit 6, shadows bit in PID1K1Hbits
15997 #define K114 PID1K1Hbits.K114 // bit 6, shadows bit in PID1K1Hbits
15998 #define PID1K115 PID1K1Hbits.PID1K115 // bit 7, shadows bit in PID1K1Hbits
15999 #define K115 PID1K1Hbits.K115 // bit 7, shadows bit in PID1K1Hbits
16001 #define PID1K10 PID1K1Lbits.PID1K10 // bit 0, shadows bit in PID1K1Lbits
16002 #define K10 PID1K1Lbits.K10 // bit 0, shadows bit in PID1K1Lbits
16003 #define PID1K11 PID1K1Lbits.PID1K11 // bit 1, shadows bit in PID1K1Lbits
16004 #define K11 PID1K1Lbits.K11 // bit 1, shadows bit in PID1K1Lbits
16005 #define PID1K12 PID1K1Lbits.PID1K12 // bit 2, shadows bit in PID1K1Lbits
16006 #define K12 PID1K1Lbits.K12 // bit 2, shadows bit in PID1K1Lbits
16007 #define PID1K13 PID1K1Lbits.PID1K13 // bit 3, shadows bit in PID1K1Lbits
16008 #define K13 PID1K1Lbits.K13 // bit 3, shadows bit in PID1K1Lbits
16009 #define PID1K14 PID1K1Lbits.PID1K14 // bit 4, shadows bit in PID1K1Lbits
16010 #define K14 PID1K1Lbits.K14 // bit 4, shadows bit in PID1K1Lbits
16011 #define PID1K15 PID1K1Lbits.PID1K15 // bit 5, shadows bit in PID1K1Lbits
16012 #define K15 PID1K1Lbits.K15 // bit 5, shadows bit in PID1K1Lbits
16013 #define PID1K16 PID1K1Lbits.PID1K16 // bit 6, shadows bit in PID1K1Lbits
16014 #define K16 PID1K1Lbits.K16 // bit 6, shadows bit in PID1K1Lbits
16015 #define PID1K17 PID1K1Lbits.PID1K17 // bit 7, shadows bit in PID1K1Lbits
16016 #define K17 PID1K1Lbits.K17 // bit 7, shadows bit in PID1K1Lbits
16018 #define PID1K28 PID1K2Hbits.PID1K28 // bit 0, shadows bit in PID1K2Hbits
16019 #define K28 PID1K2Hbits.K28 // bit 0, shadows bit in PID1K2Hbits
16020 #define PID1K29 PID1K2Hbits.PID1K29 // bit 1, shadows bit in PID1K2Hbits
16021 #define K29 PID1K2Hbits.K29 // bit 1, shadows bit in PID1K2Hbits
16022 #define PID1K210 PID1K2Hbits.PID1K210 // bit 2, shadows bit in PID1K2Hbits
16023 #define K210 PID1K2Hbits.K210 // bit 2, shadows bit in PID1K2Hbits
16024 #define PID1K211 PID1K2Hbits.PID1K211 // bit 3, shadows bit in PID1K2Hbits
16025 #define K211 PID1K2Hbits.K211 // bit 3, shadows bit in PID1K2Hbits
16026 #define PID1K212 PID1K2Hbits.PID1K212 // bit 4, shadows bit in PID1K2Hbits
16027 #define K212 PID1K2Hbits.K212 // bit 4, shadows bit in PID1K2Hbits
16028 #define PID1K213 PID1K2Hbits.PID1K213 // bit 5, shadows bit in PID1K2Hbits
16029 #define K213 PID1K2Hbits.K213 // bit 5, shadows bit in PID1K2Hbits
16030 #define PID1K214 PID1K2Hbits.PID1K214 // bit 6, shadows bit in PID1K2Hbits
16031 #define K214 PID1K2Hbits.K214 // bit 6, shadows bit in PID1K2Hbits
16032 #define PID1K215 PID1K2Hbits.PID1K215 // bit 7, shadows bit in PID1K2Hbits
16033 #define K215 PID1K2Hbits.K215 // bit 7, shadows bit in PID1K2Hbits
16035 #define PID1K20 PID1K2Lbits.PID1K20 // bit 0, shadows bit in PID1K2Lbits
16036 #define K20 PID1K2Lbits.K20 // bit 0, shadows bit in PID1K2Lbits
16037 #define PID1K21 PID1K2Lbits.PID1K21 // bit 1, shadows bit in PID1K2Lbits
16038 #define K21 PID1K2Lbits.K21 // bit 1, shadows bit in PID1K2Lbits
16039 #define PID1K22 PID1K2Lbits.PID1K22 // bit 2, shadows bit in PID1K2Lbits
16040 #define K22 PID1K2Lbits.K22 // bit 2, shadows bit in PID1K2Lbits
16041 #define PID1K23 PID1K2Lbits.PID1K23 // bit 3, shadows bit in PID1K2Lbits
16042 #define K23 PID1K2Lbits.K23 // bit 3, shadows bit in PID1K2Lbits
16043 #define PID1K24 PID1K2Lbits.PID1K24 // bit 4, shadows bit in PID1K2Lbits
16044 #define K24 PID1K2Lbits.K24 // bit 4, shadows bit in PID1K2Lbits
16045 #define PID1K25 PID1K2Lbits.PID1K25 // bit 5, shadows bit in PID1K2Lbits
16046 #define K25 PID1K2Lbits.K25 // bit 5, shadows bit in PID1K2Lbits
16047 #define PID1K26 PID1K2Lbits.PID1K26 // bit 6, shadows bit in PID1K2Lbits
16048 #define K26 PID1K2Lbits.K26 // bit 6, shadows bit in PID1K2Lbits
16049 #define PID1K27 PID1K2Lbits.PID1K27 // bit 7, shadows bit in PID1K2Lbits
16050 #define K27 PID1K2Lbits.K27 // bit 7, shadows bit in PID1K2Lbits
16052 #define PID1K38 PID1K3Hbits.PID1K38 // bit 0, shadows bit in PID1K3Hbits
16053 #define K38 PID1K3Hbits.K38 // bit 0, shadows bit in PID1K3Hbits
16054 #define PID1K39 PID1K3Hbits.PID1K39 // bit 1, shadows bit in PID1K3Hbits
16055 #define K39 PID1K3Hbits.K39 // bit 1, shadows bit in PID1K3Hbits
16056 #define PID1K310 PID1K3Hbits.PID1K310 // bit 2, shadows bit in PID1K3Hbits
16057 #define K310 PID1K3Hbits.K310 // bit 2, shadows bit in PID1K3Hbits
16058 #define PID1K311 PID1K3Hbits.PID1K311 // bit 3, shadows bit in PID1K3Hbits
16059 #define K311 PID1K3Hbits.K311 // bit 3, shadows bit in PID1K3Hbits
16060 #define PID1K312 PID1K3Hbits.PID1K312 // bit 4, shadows bit in PID1K3Hbits
16061 #define K312 PID1K3Hbits.K312 // bit 4, shadows bit in PID1K3Hbits
16062 #define PID1K313 PID1K3Hbits.PID1K313 // bit 5, shadows bit in PID1K3Hbits
16063 #define K313 PID1K3Hbits.K313 // bit 5, shadows bit in PID1K3Hbits
16064 #define PID1K314 PID1K3Hbits.PID1K314 // bit 6, shadows bit in PID1K3Hbits
16065 #define K314 PID1K3Hbits.K314 // bit 6, shadows bit in PID1K3Hbits
16066 #define PID1K315 PID1K3Hbits.PID1K315 // bit 7, shadows bit in PID1K3Hbits
16067 #define K315 PID1K3Hbits.K315 // bit 7, shadows bit in PID1K3Hbits
16069 #define PID1K30 PID1K3Lbits.PID1K30 // bit 0, shadows bit in PID1K3Lbits
16070 #define K30 PID1K3Lbits.K30 // bit 0, shadows bit in PID1K3Lbits
16071 #define PID1K31 PID1K3Lbits.PID1K31 // bit 1, shadows bit in PID1K3Lbits
16072 #define K31 PID1K3Lbits.K31 // bit 1, shadows bit in PID1K3Lbits
16073 #define PID1K32 PID1K3Lbits.PID1K32 // bit 2, shadows bit in PID1K3Lbits
16074 #define K32 PID1K3Lbits.K32 // bit 2, shadows bit in PID1K3Lbits
16075 #define PID1K33 PID1K3Lbits.PID1K33 // bit 3, shadows bit in PID1K3Lbits
16076 #define K33 PID1K3Lbits.K33 // bit 3, shadows bit in PID1K3Lbits
16077 #define PID1K34 PID1K3Lbits.PID1K34 // bit 4, shadows bit in PID1K3Lbits
16078 #define K34 PID1K3Lbits.K34 // bit 4, shadows bit in PID1K3Lbits
16079 #define PID1K35 PID1K3Lbits.PID1K35 // bit 5, shadows bit in PID1K3Lbits
16080 #define K35 PID1K3Lbits.K35 // bit 5, shadows bit in PID1K3Lbits
16081 #define PID1K36 PID1K3Lbits.PID1K36 // bit 6, shadows bit in PID1K3Lbits
16082 #define K36 PID1K3Lbits.K36 // bit 6, shadows bit in PID1K3Lbits
16083 #define PID1K37 PID1K3Lbits.PID1K37 // bit 7, shadows bit in PID1K3Lbits
16084 #define K37 PID1K3Lbits.K37 // bit 7, shadows bit in PID1K3Lbits
16086 #define PID1OUT24 PID1OUTHHbits.PID1OUT24 // bit 0, shadows bit in PID1OUTHHbits
16087 #define OUT24 PID1OUTHHbits.OUT24 // bit 0, shadows bit in PID1OUTHHbits
16088 #define PID1OUT25 PID1OUTHHbits.PID1OUT25 // bit 1, shadows bit in PID1OUTHHbits
16089 #define OUT25 PID1OUTHHbits.OUT25 // bit 1, shadows bit in PID1OUTHHbits
16090 #define PID1OUT26 PID1OUTHHbits.PID1OUT26 // bit 2, shadows bit in PID1OUTHHbits
16091 #define OUT26 PID1OUTHHbits.OUT26 // bit 2, shadows bit in PID1OUTHHbits
16092 #define PID1OUT27 PID1OUTHHbits.PID1OUT27 // bit 3, shadows bit in PID1OUTHHbits
16093 #define OUT27 PID1OUTHHbits.OUT27 // bit 3, shadows bit in PID1OUTHHbits
16094 #define PID1OUT28 PID1OUTHHbits.PID1OUT28 // bit 4, shadows bit in PID1OUTHHbits
16095 #define OUT28 PID1OUTHHbits.OUT28 // bit 4, shadows bit in PID1OUTHHbits
16096 #define PID1OUT29 PID1OUTHHbits.PID1OUT29 // bit 5, shadows bit in PID1OUTHHbits
16097 #define OUT29 PID1OUTHHbits.OUT29 // bit 5, shadows bit in PID1OUTHHbits
16098 #define PID1OUT30 PID1OUTHHbits.PID1OUT30 // bit 6, shadows bit in PID1OUTHHbits
16099 #define OUT30 PID1OUTHHbits.OUT30 // bit 6, shadows bit in PID1OUTHHbits
16100 #define PID1OUT31 PID1OUTHHbits.PID1OUT31 // bit 7, shadows bit in PID1OUTHHbits
16101 #define OUT31 PID1OUTHHbits.OUT31 // bit 7, shadows bit in PID1OUTHHbits
16103 #define PID1OUT16 PID1OUTHLbits.PID1OUT16 // bit 0, shadows bit in PID1OUTHLbits
16104 #define OUT16 PID1OUTHLbits.OUT16 // bit 0, shadows bit in PID1OUTHLbits
16105 #define PID1OUT17 PID1OUTHLbits.PID1OUT17 // bit 1, shadows bit in PID1OUTHLbits
16106 #define OUT17 PID1OUTHLbits.OUT17 // bit 1, shadows bit in PID1OUTHLbits
16107 #define PID1OUT18 PID1OUTHLbits.PID1OUT18 // bit 2, shadows bit in PID1OUTHLbits
16108 #define OUT18 PID1OUTHLbits.OUT18 // bit 2, shadows bit in PID1OUTHLbits
16109 #define PID1OUT19 PID1OUTHLbits.PID1OUT19 // bit 3, shadows bit in PID1OUTHLbits
16110 #define OUT19 PID1OUTHLbits.OUT19 // bit 3, shadows bit in PID1OUTHLbits
16111 #define PID1OUT20 PID1OUTHLbits.PID1OUT20 // bit 4, shadows bit in PID1OUTHLbits
16112 #define OUT20 PID1OUTHLbits.OUT20 // bit 4, shadows bit in PID1OUTHLbits
16113 #define PID1OUT21 PID1OUTHLbits.PID1OUT21 // bit 5, shadows bit in PID1OUTHLbits
16114 #define OUT21 PID1OUTHLbits.OUT21 // bit 5, shadows bit in PID1OUTHLbits
16115 #define PID1OUT22 PID1OUTHLbits.PID1OUT22 // bit 6, shadows bit in PID1OUTHLbits
16116 #define OUT22 PID1OUTHLbits.OUT22 // bit 6, shadows bit in PID1OUTHLbits
16117 #define PID1OUT23 PID1OUTHLbits.PID1OUT23 // bit 7, shadows bit in PID1OUTHLbits
16118 #define OUT23 PID1OUTHLbits.OUT23 // bit 7, shadows bit in PID1OUTHLbits
16120 #define PID1OUT8 PID1OUTLHbits.PID1OUT8 // bit 0, shadows bit in PID1OUTLHbits
16121 #define OUT8 PID1OUTLHbits.OUT8 // bit 0, shadows bit in PID1OUTLHbits
16122 #define PID1OUT9 PID1OUTLHbits.PID1OUT9 // bit 1, shadows bit in PID1OUTLHbits
16123 #define OUT9 PID1OUTLHbits.OUT9 // bit 1, shadows bit in PID1OUTLHbits
16124 #define PID1OUT10 PID1OUTLHbits.PID1OUT10 // bit 2, shadows bit in PID1OUTLHbits
16125 #define OUT10 PID1OUTLHbits.OUT10 // bit 2, shadows bit in PID1OUTLHbits
16126 #define PID1OUT11 PID1OUTLHbits.PID1OUT11 // bit 3, shadows bit in PID1OUTLHbits
16127 #define OUT11 PID1OUTLHbits.OUT11 // bit 3, shadows bit in PID1OUTLHbits
16128 #define PID1OUT12 PID1OUTLHbits.PID1OUT12 // bit 4, shadows bit in PID1OUTLHbits
16129 #define OUT12 PID1OUTLHbits.OUT12 // bit 4, shadows bit in PID1OUTLHbits
16130 #define PID1OUT13 PID1OUTLHbits.PID1OUT13 // bit 5, shadows bit in PID1OUTLHbits
16131 #define OUT13 PID1OUTLHbits.OUT13 // bit 5, shadows bit in PID1OUTLHbits
16132 #define PID1OUT14 PID1OUTLHbits.PID1OUT14 // bit 6, shadows bit in PID1OUTLHbits
16133 #define OUT14 PID1OUTLHbits.OUT14 // bit 6, shadows bit in PID1OUTLHbits
16134 #define PID1OUT15 PID1OUTLHbits.PID1OUT15 // bit 7, shadows bit in PID1OUTLHbits
16135 #define OUT15 PID1OUTLHbits.OUT15 // bit 7, shadows bit in PID1OUTLHbits
16137 #define PID1OUT0 PID1OUTLLbits.PID1OUT0 // bit 0, shadows bit in PID1OUTLLbits
16138 #define OUT0 PID1OUTLLbits.OUT0 // bit 0, shadows bit in PID1OUTLLbits
16139 #define PID1OUT1 PID1OUTLLbits.PID1OUT1 // bit 1, shadows bit in PID1OUTLLbits
16140 #define OUT1 PID1OUTLLbits.OUT1 // bit 1, shadows bit in PID1OUTLLbits
16141 #define PID1OUT2 PID1OUTLLbits.PID1OUT2 // bit 2, shadows bit in PID1OUTLLbits
16142 #define OUT2 PID1OUTLLbits.OUT2 // bit 2, shadows bit in PID1OUTLLbits
16143 #define PID1OUT3 PID1OUTLLbits.PID1OUT3 // bit 3, shadows bit in PID1OUTLLbits
16144 #define OUT3 PID1OUTLLbits.OUT3 // bit 3, shadows bit in PID1OUTLLbits
16145 #define PID1OUT4 PID1OUTLLbits.PID1OUT4 // bit 4, shadows bit in PID1OUTLLbits
16146 #define OUT4 PID1OUTLLbits.OUT4 // bit 4, shadows bit in PID1OUTLLbits
16147 #define PID1OUT5 PID1OUTLLbits.PID1OUT5 // bit 5, shadows bit in PID1OUTLLbits
16148 #define OUT5 PID1OUTLLbits.OUT5 // bit 5, shadows bit in PID1OUTLLbits
16149 #define PID1OUT6 PID1OUTLLbits.PID1OUT6 // bit 6, shadows bit in PID1OUTLLbits
16150 #define OUT6 PID1OUTLLbits.OUT6 // bit 6, shadows bit in PID1OUTLLbits
16151 #define PID1OUT7 PID1OUTLLbits.PID1OUT7 // bit 7, shadows bit in PID1OUTLLbits
16152 #define OUT7 PID1OUTLLbits.OUT7 // bit 7, shadows bit in PID1OUTLLbits
16154 #define PID1OUT32 PID1OUTUbits.PID1OUT32 // bit 0, shadows bit in PID1OUTUbits
16155 #define OUT32 PID1OUTUbits.OUT32 // bit 0, shadows bit in PID1OUTUbits
16156 #define PID1OUT33 PID1OUTUbits.PID1OUT33 // bit 1, shadows bit in PID1OUTUbits
16157 #define OUT33 PID1OUTUbits.OUT33 // bit 1, shadows bit in PID1OUTUbits
16158 #define PID1OUT34 PID1OUTUbits.PID1OUT34 // bit 2, shadows bit in PID1OUTUbits
16159 #define OUT34 PID1OUTUbits.OUT34 // bit 2, shadows bit in PID1OUTUbits
16160 #define PID1OUT35 PID1OUTUbits.PID1OUT35 // bit 3, shadows bit in PID1OUTUbits
16161 #define OUT35 PID1OUTUbits.OUT35 // bit 3, shadows bit in PID1OUTUbits
16163 #define PID1SET8 PID1SETHbits.PID1SET8 // bit 0, shadows bit in PID1SETHbits
16164 #define SET8 PID1SETHbits.SET8 // bit 0, shadows bit in PID1SETHbits
16165 #define PID1SET9 PID1SETHbits.PID1SET9 // bit 1, shadows bit in PID1SETHbits
16166 #define SET9 PID1SETHbits.SET9 // bit 1, shadows bit in PID1SETHbits
16167 #define PID1SET10 PID1SETHbits.PID1SET10 // bit 2, shadows bit in PID1SETHbits
16168 #define SET10 PID1SETHbits.SET10 // bit 2, shadows bit in PID1SETHbits
16169 #define PID1SET11 PID1SETHbits.PID1SET11 // bit 3, shadows bit in PID1SETHbits
16170 #define SET11 PID1SETHbits.SET11 // bit 3, shadows bit in PID1SETHbits
16171 #define PID1SET12 PID1SETHbits.PID1SET12 // bit 4, shadows bit in PID1SETHbits
16172 #define SET12 PID1SETHbits.SET12 // bit 4, shadows bit in PID1SETHbits
16173 #define PID1SET13 PID1SETHbits.PID1SET13 // bit 5, shadows bit in PID1SETHbits
16174 #define SET13 PID1SETHbits.SET13 // bit 5, shadows bit in PID1SETHbits
16175 #define PID1SET14 PID1SETHbits.PID1SET14 // bit 6, shadows bit in PID1SETHbits
16176 #define SET14 PID1SETHbits.SET14 // bit 6, shadows bit in PID1SETHbits
16177 #define PID1SET15 PID1SETHbits.PID1SET15 // bit 7, shadows bit in PID1SETHbits
16178 #define SET15 PID1SETHbits.SET15 // bit 7, shadows bit in PID1SETHbits
16180 #define PID1SET0 PID1SETLbits.PID1SET0 // bit 0, shadows bit in PID1SETLbits
16181 #define SET0 PID1SETLbits.SET0 // bit 0, shadows bit in PID1SETLbits
16182 #define PID1SET1 PID1SETLbits.PID1SET1 // bit 1, shadows bit in PID1SETLbits
16183 #define SET1 PID1SETLbits.SET1 // bit 1, shadows bit in PID1SETLbits
16184 #define PID1SET2 PID1SETLbits.PID1SET2 // bit 2, shadows bit in PID1SETLbits
16185 #define SET2 PID1SETLbits.SET2 // bit 2, shadows bit in PID1SETLbits
16186 #define PID1SET3 PID1SETLbits.PID1SET3 // bit 3, shadows bit in PID1SETLbits
16187 #define SET3 PID1SETLbits.SET3 // bit 3, shadows bit in PID1SETLbits
16188 #define PID1SET4 PID1SETLbits.PID1SET4 // bit 4, shadows bit in PID1SETLbits
16189 #define SET4 PID1SETLbits.SET4 // bit 4, shadows bit in PID1SETLbits
16190 #define PID1SET5 PID1SETLbits.PID1SET5 // bit 5, shadows bit in PID1SETLbits
16191 #define SET5 PID1SETLbits.SET5 // bit 5, shadows bit in PID1SETLbits
16192 #define PID1SET6 PID1SETLbits.PID1SET6 // bit 6, shadows bit in PID1SETLbits
16193 #define SET6 PID1SETLbits.SET6 // bit 6, shadows bit in PID1SETLbits
16194 #define PID1SET7 PID1SETLbits.PID1SET7 // bit 7, shadows bit in PID1SETLbits
16195 #define SET7 PID1SETLbits.SET7 // bit 7, shadows bit in PID1SETLbits
16197 #define PID1Z18 PID1Z1Hbits.PID1Z18 // bit 0, shadows bit in PID1Z1Hbits
16198 #define Z18 PID1Z1Hbits.Z18 // bit 0, shadows bit in PID1Z1Hbits
16199 #define PID1Z19 PID1Z1Hbits.PID1Z19 // bit 1, shadows bit in PID1Z1Hbits
16200 #define Z19 PID1Z1Hbits.Z19 // bit 1, shadows bit in PID1Z1Hbits
16201 #define PID1Z110 PID1Z1Hbits.PID1Z110 // bit 2, shadows bit in PID1Z1Hbits
16202 #define Z110 PID1Z1Hbits.Z110 // bit 2, shadows bit in PID1Z1Hbits
16203 #define PID1Z111 PID1Z1Hbits.PID1Z111 // bit 3, shadows bit in PID1Z1Hbits
16204 #define Z111 PID1Z1Hbits.Z111 // bit 3, shadows bit in PID1Z1Hbits
16205 #define PID1Z112 PID1Z1Hbits.PID1Z112 // bit 4, shadows bit in PID1Z1Hbits
16206 #define Z112 PID1Z1Hbits.Z112 // bit 4, shadows bit in PID1Z1Hbits
16207 #define PID1Z113 PID1Z1Hbits.PID1Z113 // bit 5, shadows bit in PID1Z1Hbits
16208 #define Z113 PID1Z1Hbits.Z113 // bit 5, shadows bit in PID1Z1Hbits
16209 #define PID1Z114 PID1Z1Hbits.PID1Z114 // bit 6, shadows bit in PID1Z1Hbits
16210 #define Z114 PID1Z1Hbits.Z114 // bit 6, shadows bit in PID1Z1Hbits
16211 #define PID1Z115 PID1Z1Hbits.PID1Z115 // bit 7, shadows bit in PID1Z1Hbits
16212 #define Z115 PID1Z1Hbits.Z115 // bit 7, shadows bit in PID1Z1Hbits
16214 #define PID1Z10 PID1Z1Lbits.PID1Z10 // bit 0, shadows bit in PID1Z1Lbits
16215 #define Z10 PID1Z1Lbits.Z10 // bit 0, shadows bit in PID1Z1Lbits
16216 #define PID1Z11 PID1Z1Lbits.PID1Z11 // bit 1, shadows bit in PID1Z1Lbits
16217 #define Z11 PID1Z1Lbits.Z11 // bit 1, shadows bit in PID1Z1Lbits
16218 #define PID1Z12 PID1Z1Lbits.PID1Z12 // bit 2, shadows bit in PID1Z1Lbits
16219 #define Z12 PID1Z1Lbits.Z12 // bit 2, shadows bit in PID1Z1Lbits
16220 #define PID1Z13 PID1Z1Lbits.PID1Z13 // bit 3, shadows bit in PID1Z1Lbits
16221 #define Z13 PID1Z1Lbits.Z13 // bit 3, shadows bit in PID1Z1Lbits
16222 #define PID1Z14 PID1Z1Lbits.PID1Z14 // bit 4, shadows bit in PID1Z1Lbits
16223 #define Z14 PID1Z1Lbits.Z14 // bit 4, shadows bit in PID1Z1Lbits
16224 #define PID1Z15 PID1Z1Lbits.PID1Z15 // bit 5, shadows bit in PID1Z1Lbits
16225 #define Z15 PID1Z1Lbits.Z15 // bit 5, shadows bit in PID1Z1Lbits
16226 #define PID1Z16 PID1Z1Lbits.PID1Z16 // bit 6, shadows bit in PID1Z1Lbits
16227 #define Z16 PID1Z1Lbits.Z16 // bit 6, shadows bit in PID1Z1Lbits
16228 #define PID1Z17 PID1Z1Lbits.PID1Z17 // bit 7, shadows bit in PID1Z1Lbits
16229 #define Z17 PID1Z1Lbits.Z17 // bit 7, shadows bit in PID1Z1Lbits
16231 #define PID1Z116 PID1Z1Ubits.PID1Z116 // bit 0, shadows bit in PID1Z1Ubits
16232 #define Z116 PID1Z1Ubits.Z116 // bit 0, shadows bit in PID1Z1Ubits
16234 #define PID1Z28 PID1Z2Hbits.PID1Z28 // bit 0, shadows bit in PID1Z2Hbits
16235 #define Z28 PID1Z2Hbits.Z28 // bit 0, shadows bit in PID1Z2Hbits
16236 #define PID1Z29 PID1Z2Hbits.PID1Z29 // bit 1, shadows bit in PID1Z2Hbits
16237 #define Z29 PID1Z2Hbits.Z29 // bit 1, shadows bit in PID1Z2Hbits
16238 #define PID1Z210 PID1Z2Hbits.PID1Z210 // bit 2, shadows bit in PID1Z2Hbits
16239 #define Z210 PID1Z2Hbits.Z210 // bit 2, shadows bit in PID1Z2Hbits
16240 #define PID1Z211 PID1Z2Hbits.PID1Z211 // bit 3, shadows bit in PID1Z2Hbits
16241 #define Z211 PID1Z2Hbits.Z211 // bit 3, shadows bit in PID1Z2Hbits
16242 #define PID1Z212 PID1Z2Hbits.PID1Z212 // bit 4, shadows bit in PID1Z2Hbits
16243 #define Z212 PID1Z2Hbits.Z212 // bit 4, shadows bit in PID1Z2Hbits
16244 #define PID1Z213 PID1Z2Hbits.PID1Z213 // bit 5, shadows bit in PID1Z2Hbits
16245 #define Z213 PID1Z2Hbits.Z213 // bit 5, shadows bit in PID1Z2Hbits
16246 #define PID1Z214 PID1Z2Hbits.PID1Z214 // bit 6, shadows bit in PID1Z2Hbits
16247 #define Z214 PID1Z2Hbits.Z214 // bit 6, shadows bit in PID1Z2Hbits
16248 #define PID1Z215 PID1Z2Hbits.PID1Z215 // bit 7, shadows bit in PID1Z2Hbits
16249 #define Z215 PID1Z2Hbits.Z215 // bit 7, shadows bit in PID1Z2Hbits
16251 #define PID1Z20 PID1Z2Lbits.PID1Z20 // bit 0, shadows bit in PID1Z2Lbits
16252 #define Z20 PID1Z2Lbits.Z20 // bit 0, shadows bit in PID1Z2Lbits
16253 #define PID1Z21 PID1Z2Lbits.PID1Z21 // bit 1, shadows bit in PID1Z2Lbits
16254 #define Z21 PID1Z2Lbits.Z21 // bit 1, shadows bit in PID1Z2Lbits
16255 #define PID1Z22 PID1Z2Lbits.PID1Z22 // bit 2, shadows bit in PID1Z2Lbits
16256 #define Z22 PID1Z2Lbits.Z22 // bit 2, shadows bit in PID1Z2Lbits
16257 #define PID1Z23 PID1Z2Lbits.PID1Z23 // bit 3, shadows bit in PID1Z2Lbits
16258 #define Z23 PID1Z2Lbits.Z23 // bit 3, shadows bit in PID1Z2Lbits
16259 #define PID1Z24 PID1Z2Lbits.PID1Z24 // bit 4, shadows bit in PID1Z2Lbits
16260 #define Z24 PID1Z2Lbits.Z24 // bit 4, shadows bit in PID1Z2Lbits
16261 #define PID1Z25 PID1Z2Lbits.PID1Z25 // bit 5, shadows bit in PID1Z2Lbits
16262 #define Z25 PID1Z2Lbits.Z25 // bit 5, shadows bit in PID1Z2Lbits
16263 #define PID1Z26 PID1Z2Lbits.PID1Z26 // bit 6, shadows bit in PID1Z2Lbits
16264 #define Z26 PID1Z2Lbits.Z26 // bit 6, shadows bit in PID1Z2Lbits
16265 #define PID1Z27 PID1Z2Lbits.PID1Z27 // bit 7, shadows bit in PID1Z2Lbits
16266 #define Z27 PID1Z2Lbits.Z27 // bit 7, shadows bit in PID1Z2Lbits
16268 #define PID1Z216 PID1Z2Ubits.PID1Z216 // bit 0, shadows bit in PID1Z2Ubits
16269 #define Z216 PID1Z2Ubits.Z216 // bit 0, shadows bit in PID1Z2Ubits
16271 #define TMR1IE PIE1bits.TMR1IE // bit 0
16272 #define TMR2IE PIE1bits.TMR2IE // bit 1
16273 #define CCP1IE PIE1bits.CCP1IE // bit 2
16274 #define SSP1IE PIE1bits.SSP1IE // bit 3
16275 #define TXIE PIE1bits.TXIE // bit 4
16276 #define RCIE PIE1bits.RCIE // bit 5
16277 #define ADIE PIE1bits.ADIE // bit 6
16278 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
16280 #define CCP2IE PIE2bits.CCP2IE // bit 0
16281 #define TMR4IE PIE2bits.TMR4IE // bit 1
16282 #define TMR6IE PIE2bits.TMR6IE // bit 2
16283 #define BCL1IE PIE2bits.BCL1IE // bit 3
16284 #define C1IE PIE2bits.C1IE // bit 5
16285 #define C2IE PIE2bits.C2IE // bit 6
16287 #define CLC1IE PIE3bits.CLC1IE // bit 0
16288 #define CLC2IE PIE3bits.CLC2IE // bit 1
16289 #define ZCDIE PIE3bits.ZCDIE // bit 4
16290 #define CWGIE PIE3bits.CWGIE // bit 5
16292 #define SMT1IE PIE4bits.SMT1IE // bit 0
16293 #define SMT1PRAIE PIE4bits.SMT1PRAIE // bit 1
16294 #define SMT1PWAIE PIE4bits.SMT1PWAIE // bit 2
16295 #define SMT2IE PIE4bits.SMT2IE // bit 3
16296 #define SMT2PRAIE PIE4bits.SMT2PRAIE // bit 4
16297 #define SMT2PWAIE PIE4bits.SMT2PWAIE // bit 5
16298 #define CRCIE PIE4bits.CRCIE // bit 6
16299 #define SCANIE PIE4bits.SCANIE // bit 7
16301 #define PID1DIE PIE5bits.PID1DIE // bit 0
16302 #define PID1EIE PIE5bits.PID1EIE // bit 1
16303 #define AT1IE PIE5bits.AT1IE // bit 2
16304 #define TMR5IE PIE5bits.TMR5IE // bit 4
16305 #define TMR5GIE PIE5bits.TMR5GIE // bit 5
16306 #define TMR3IE PIE5bits.TMR3IE // bit 6
16307 #define TMR3GIE PIE5bits.TMR3GIE // bit 7
16309 #define TMR1IF PIR1bits.TMR1IF // bit 0
16310 #define TMR2IF PIR1bits.TMR2IF // bit 1
16311 #define CCP1IF PIR1bits.CCP1IF // bit 2
16312 #define SSP1IF PIR1bits.SSP1IF // bit 3
16313 #define TXIF PIR1bits.TXIF // bit 4
16314 #define RCIF PIR1bits.RCIF // bit 5
16315 #define ADIF PIR1bits.ADIF // bit 6
16316 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
16318 #define CCP2IF PIR2bits.CCP2IF // bit 0
16319 #define TMR4IF PIR2bits.TMR4IF // bit 1
16320 #define TMR6IF PIR2bits.TMR6IF // bit 2
16321 #define BCL1IF PIR2bits.BCL1IF // bit 3
16322 #define C1IF PIR2bits.C1IF // bit 5
16323 #define C2IF PIR2bits.C2IF // bit 6
16325 #define CLC1IF PIR3bits.CLC1IF // bit 0
16326 #define CLC2IF PIR3bits.CLC2IF // bit 1
16327 #define ZCDIF PIR3bits.ZCDIF // bit 4
16328 #define CWGIF PIR3bits.CWGIF // bit 5
16330 #define SMT1IF PIR4bits.SMT1IF // bit 0
16331 #define SMT1PRAIF PIR4bits.SMT1PRAIF // bit 1
16332 #define SMT1PWAIF PIR4bits.SMT1PWAIF // bit 2
16333 #define SMT2IF PIR4bits.SMT2IF // bit 3
16334 #define SMT2PRAIF PIR4bits.SMT2PRAIF // bit 4
16335 #define SMT2PWAIF PIR4bits.SMT2PWAIF // bit 5
16336 #define CRCIF PIR4bits.CRCIF // bit 6
16337 #define SCANIF PIR4bits.SCANIF // bit 7
16339 #define PID1DIF PIR5bits.PID1DIF // bit 0
16340 #define PID1EIF PIR5bits.PID1EIF // bit 1
16341 #define AT1IF PIR5bits.AT1IF // bit 2
16342 #define TMR5IF PIR5bits.TMR5IF // bit 4
16343 #define TMR5GIF PIR5bits.TMR5GIF // bit 5
16344 #define TMR3IF PIR5bits.TMR3IF // bit 6
16345 #define TMR3GIF PIR5bits.TMR3GIF // bit 7
16347 #define RD PMCON1bits.RD // bit 0
16348 #define WR PMCON1bits.WR // bit 1
16349 #define WREN PMCON1bits.WREN // bit 2
16350 #define WRERR PMCON1bits.WRERR // bit 3
16351 #define FREE PMCON1bits.FREE // bit 4
16352 #define LWLO PMCON1bits.LWLO // bit 5
16353 #define CFGS PMCON1bits.CFGS // bit 6
16355 #define RA0 PORTAbits.RA0 // bit 0
16356 #define RA1 PORTAbits.RA1 // bit 1
16357 #define RA2 PORTAbits.RA2 // bit 2
16358 #define RA3 PORTAbits.RA3 // bit 3
16359 #define RA4 PORTAbits.RA4 // bit 4
16360 #define RA5 PORTAbits.RA5 // bit 5
16362 #define RB4 PORTBbits.RB4 // bit 4
16363 #define RB5 PORTBbits.RB5 // bit 5
16364 #define RB6 PORTBbits.RB6 // bit 6
16365 #define RB7 PORTBbits.RB7 // bit 7
16367 #define RC0 PORTCbits.RC0 // bit 0
16368 #define RC1 PORTCbits.RC1 // bit 1
16369 #define RC2 PORTCbits.RC2 // bit 2
16370 #define RC3 PORTCbits.RC3 // bit 3
16371 #define RC4 PORTCbits.RC4 // bit 4
16372 #define RC5 PORTCbits.RC5 // bit 5
16373 #define RC6 PORTCbits.RC6 // bit 6
16374 #define RC7 PORTCbits.RC7 // bit 7
16376 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
16378 #define DC2 PWM3DCHbits.DC2 // bit 0, shadows bit in PWM3DCHbits
16379 #define PWM3DC2 PWM3DCHbits.PWM3DC2 // bit 0, shadows bit in PWM3DCHbits
16380 #define PWMPW2 PWM3DCHbits.PWMPW2 // bit 0, shadows bit in PWM3DCHbits
16381 #define DC3 PWM3DCHbits.DC3 // bit 1, shadows bit in PWM3DCHbits
16382 #define PWM3DC3 PWM3DCHbits.PWM3DC3 // bit 1, shadows bit in PWM3DCHbits
16383 #define PWMPW3 PWM3DCHbits.PWMPW3 // bit 1, shadows bit in PWM3DCHbits
16384 #define DC4 PWM3DCHbits.DC4 // bit 2, shadows bit in PWM3DCHbits
16385 #define PWM3DC4 PWM3DCHbits.PWM3DC4 // bit 2, shadows bit in PWM3DCHbits
16386 #define PWMPW4 PWM3DCHbits.PWMPW4 // bit 2, shadows bit in PWM3DCHbits
16387 #define DC5 PWM3DCHbits.DC5 // bit 3, shadows bit in PWM3DCHbits
16388 #define PWM3DC5 PWM3DCHbits.PWM3DC5 // bit 3, shadows bit in PWM3DCHbits
16389 #define PWMPW5 PWM3DCHbits.PWMPW5 // bit 3, shadows bit in PWM3DCHbits
16390 #define DC6 PWM3DCHbits.DC6 // bit 4, shadows bit in PWM3DCHbits
16391 #define PWM3DC6 PWM3DCHbits.PWM3DC6 // bit 4, shadows bit in PWM3DCHbits
16392 #define PWMPW6 PWM3DCHbits.PWMPW6 // bit 4, shadows bit in PWM3DCHbits
16393 #define DC7 PWM3DCHbits.DC7 // bit 5, shadows bit in PWM3DCHbits
16394 #define PWM3DC7 PWM3DCHbits.PWM3DC7 // bit 5, shadows bit in PWM3DCHbits
16395 #define PWMPW7 PWM3DCHbits.PWMPW7 // bit 5, shadows bit in PWM3DCHbits
16396 #define DC8 PWM3DCHbits.DC8 // bit 6, shadows bit in PWM3DCHbits
16397 #define PWM3DC8 PWM3DCHbits.PWM3DC8 // bit 6, shadows bit in PWM3DCHbits
16398 #define PWMPW8 PWM3DCHbits.PWMPW8 // bit 6, shadows bit in PWM3DCHbits
16399 #define DC9 PWM3DCHbits.DC9 // bit 7, shadows bit in PWM3DCHbits
16400 #define PWM3DC9 PWM3DCHbits.PWM3DC9 // bit 7, shadows bit in PWM3DCHbits
16401 #define PWMPW9 PWM3DCHbits.PWMPW9 // bit 7, shadows bit in PWM3DCHbits
16403 #define DC0 PWM3DCLbits.DC0 // bit 6, shadows bit in PWM3DCLbits
16404 #define PWM3DC0 PWM3DCLbits.PWM3DC0 // bit 6, shadows bit in PWM3DCLbits
16405 #define PWMPW0 PWM3DCLbits.PWMPW0 // bit 6, shadows bit in PWM3DCLbits
16406 #define DC1 PWM3DCLbits.DC1 // bit 7, shadows bit in PWM3DCLbits
16407 #define PWM3DC1 PWM3DCLbits.PWM3DC1 // bit 7, shadows bit in PWM3DCLbits
16408 #define PWMPW1 PWM3DCLbits.PWMPW1 // bit 7, shadows bit in PWM3DCLbits
16410 #define RA0PPS0 RA0PPSbits.RA0PPS0 // bit 0
16411 #define RA0PPS1 RA0PPSbits.RA0PPS1 // bit 1
16412 #define RA0PPS2 RA0PPSbits.RA0PPS2 // bit 2
16413 #define RA0PPS3 RA0PPSbits.RA0PPS3 // bit 3
16414 #define RA0PPS4 RA0PPSbits.RA0PPS4 // bit 4
16416 #define RA1PPS0 RA1PPSbits.RA1PPS0 // bit 0
16417 #define RA1PPS1 RA1PPSbits.RA1PPS1 // bit 1
16418 #define RA1PPS2 RA1PPSbits.RA1PPS2 // bit 2
16419 #define RA1PPS3 RA1PPSbits.RA1PPS3 // bit 3
16420 #define RA1PPS4 RA1PPSbits.RA1PPS4 // bit 4
16422 #define RA2PPS0 RA2PPSbits.RA2PPS0 // bit 0
16423 #define RA2PPS1 RA2PPSbits.RA2PPS1 // bit 1
16424 #define RA2PPS2 RA2PPSbits.RA2PPS2 // bit 2
16425 #define RA2PPS3 RA2PPSbits.RA2PPS3 // bit 3
16426 #define RA2PPS4 RA2PPSbits.RA2PPS4 // bit 4
16428 #define RA4PPS0 RA4PPSbits.RA4PPS0 // bit 0
16429 #define RA4PPS1 RA4PPSbits.RA4PPS1 // bit 1
16430 #define RA4PPS2 RA4PPSbits.RA4PPS2 // bit 2
16431 #define RA4PPS3 RA4PPSbits.RA4PPS3 // bit 3
16432 #define RA4PPS4 RA4PPSbits.RA4PPS4 // bit 4
16434 #define RA5PPS0 RA5PPSbits.RA5PPS0 // bit 0
16435 #define RA5PPS1 RA5PPSbits.RA5PPS1 // bit 1
16436 #define RA5PPS2 RA5PPSbits.RA5PPS2 // bit 2
16437 #define RA5PPS3 RA5PPSbits.RA5PPS3 // bit 3
16438 #define RA5PPS4 RA5PPSbits.RA5PPS4 // bit 4
16440 #define RB4PPS0 RB4PPSbits.RB4PPS0 // bit 0
16441 #define RB4PPS1 RB4PPSbits.RB4PPS1 // bit 1
16442 #define RB4PPS2 RB4PPSbits.RB4PPS2 // bit 2
16443 #define RB4PPS3 RB4PPSbits.RB4PPS3 // bit 3
16444 #define RB4PPS4 RB4PPSbits.RB4PPS4 // bit 4
16446 #define RB5PPS0 RB5PPSbits.RB5PPS0 // bit 0
16447 #define RB5PPS1 RB5PPSbits.RB5PPS1 // bit 1
16448 #define RB5PPS2 RB5PPSbits.RB5PPS2 // bit 2
16449 #define RB5PPS3 RB5PPSbits.RB5PPS3 // bit 3
16450 #define RB5PPS4 RB5PPSbits.RB5PPS4 // bit 4
16452 #define RB6PPS0 RB6PPSbits.RB6PPS0 // bit 0
16453 #define RB6PPS1 RB6PPSbits.RB6PPS1 // bit 1
16454 #define RB6PPS2 RB6PPSbits.RB6PPS2 // bit 2
16455 #define RB6PPS3 RB6PPSbits.RB6PPS3 // bit 3
16456 #define RB6PPS4 RB6PPSbits.RB6PPS4 // bit 4
16458 #define RB7PPS0 RB7PPSbits.RB7PPS0 // bit 0
16459 #define RB7PPS1 RB7PPSbits.RB7PPS1 // bit 1
16460 #define RB7PPS2 RB7PPSbits.RB7PPS2 // bit 2
16461 #define RB7PPS3 RB7PPSbits.RB7PPS3 // bit 3
16462 #define RB7PPS4 RB7PPSbits.RB7PPS4 // bit 4
16464 #define RC0PPS0 RC0PPSbits.RC0PPS0 // bit 0
16465 #define RC0PPS1 RC0PPSbits.RC0PPS1 // bit 1
16466 #define RC0PPS2 RC0PPSbits.RC0PPS2 // bit 2
16467 #define RC0PPS3 RC0PPSbits.RC0PPS3 // bit 3
16468 #define RC0PPS4 RC0PPSbits.RC0PPS4 // bit 4
16470 #define RC1PPS0 RC1PPSbits.RC1PPS0 // bit 0
16471 #define RC1PPS1 RC1PPSbits.RC1PPS1 // bit 1
16472 #define RC1PPS2 RC1PPSbits.RC1PPS2 // bit 2
16473 #define RC1PPS3 RC1PPSbits.RC1PPS3 // bit 3
16474 #define RC1PPS4 RC1PPSbits.RC1PPS4 // bit 4
16476 #define RX9D RC1STAbits.RX9D // bit 0
16477 #define OERR RC1STAbits.OERR // bit 1
16478 #define FERR RC1STAbits.FERR // bit 2
16479 #define ADDEN RC1STAbits.ADDEN // bit 3
16480 #define CREN RC1STAbits.CREN // bit 4
16481 #define SREN RC1STAbits.SREN // bit 5
16482 #define RX9 RC1STAbits.RX9 // bit 6
16483 #define SPEN RC1STAbits.SPEN // bit 7
16485 #define RC2PPS0 RC2PPSbits.RC2PPS0 // bit 0
16486 #define RC2PPS1 RC2PPSbits.RC2PPS1 // bit 1
16487 #define RC2PPS2 RC2PPSbits.RC2PPS2 // bit 2
16488 #define RC2PPS3 RC2PPSbits.RC2PPS3 // bit 3
16489 #define RC2PPS4 RC2PPSbits.RC2PPS4 // bit 4
16491 #define RC3PPS0 RC3PPSbits.RC3PPS0 // bit 0
16492 #define RC3PPS1 RC3PPSbits.RC3PPS1 // bit 1
16493 #define RC3PPS2 RC3PPSbits.RC3PPS2 // bit 2
16494 #define RC3PPS3 RC3PPSbits.RC3PPS3 // bit 3
16495 #define RC3PPS4 RC3PPSbits.RC3PPS4 // bit 4
16497 #define RC4PPS0 RC4PPSbits.RC4PPS0 // bit 0
16498 #define RC4PPS1 RC4PPSbits.RC4PPS1 // bit 1
16499 #define RC4PPS2 RC4PPSbits.RC4PPS2 // bit 2
16500 #define RC4PPS3 RC4PPSbits.RC4PPS3 // bit 3
16501 #define RC4PPS4 RC4PPSbits.RC4PPS4 // bit 4
16503 #define RC5PPS0 RC5PPSbits.RC5PPS0 // bit 0
16504 #define RC5PPS1 RC5PPSbits.RC5PPS1 // bit 1
16505 #define RC5PPS2 RC5PPSbits.RC5PPS2 // bit 2
16506 #define RC5PPS3 RC5PPSbits.RC5PPS3 // bit 3
16507 #define RC5PPS4 RC5PPSbits.RC5PPS4 // bit 4
16509 #define RC6PPS0 RC6PPSbits.RC6PPS0 // bit 0
16510 #define RC6PPS1 RC6PPSbits.RC6PPS1 // bit 1
16511 #define RC6PPS2 RC6PPSbits.RC6PPS2 // bit 2
16512 #define RC6PPS3 RC6PPSbits.RC6PPS3 // bit 3
16513 #define RC6PPS4 RC6PPSbits.RC6PPS4 // bit 4
16515 #define RC7PPS0 RC7PPSbits.RC7PPS0 // bit 0
16516 #define RC7PPS1 RC7PPSbits.RC7PPS1 // bit 1
16517 #define RC7PPS2 RC7PPSbits.RC7PPS2 // bit 2
16518 #define RC7PPS3 RC7PPSbits.RC7PPS3 // bit 3
16519 #define RC7PPS4 RC7PPSbits.RC7PPS4 // bit 4
16521 #define RXPPS0 RXPPSbits.RXPPS0 // bit 0
16522 #define RXPPS1 RXPPSbits.RXPPS1 // bit 1
16523 #define RXPPS2 RXPPSbits.RXPPS2 // bit 2
16524 #define RXPPS3 RXPPSbits.RXPPS3 // bit 3
16525 #define RXPPS4 RXPPSbits.RXPPS4 // bit 4
16527 #define HADR8 SCANHADRHbits.HADR8 // bit 0, shadows bit in SCANHADRHbits
16528 #define SCANHADR8 SCANHADRHbits.SCANHADR8 // bit 0, shadows bit in SCANHADRHbits
16529 #define HADR9 SCANHADRHbits.HADR9 // bit 1, shadows bit in SCANHADRHbits
16530 #define SCANHADR9 SCANHADRHbits.SCANHADR9 // bit 1, shadows bit in SCANHADRHbits
16531 #define HADR10 SCANHADRHbits.HADR10 // bit 2, shadows bit in SCANHADRHbits
16532 #define SCANHADR10 SCANHADRHbits.SCANHADR10 // bit 2, shadows bit in SCANHADRHbits
16533 #define HADR11 SCANHADRHbits.HADR11 // bit 3, shadows bit in SCANHADRHbits
16534 #define SCANHADR11 SCANHADRHbits.SCANHADR11 // bit 3, shadows bit in SCANHADRHbits
16535 #define HADR12 SCANHADRHbits.HADR12 // bit 4, shadows bit in SCANHADRHbits
16536 #define SCANHADR12 SCANHADRHbits.SCANHADR12 // bit 4, shadows bit in SCANHADRHbits
16537 #define HADR13 SCANHADRHbits.HADR13 // bit 5, shadows bit in SCANHADRHbits
16538 #define SCANHADR13 SCANHADRHbits.SCANHADR13 // bit 5, shadows bit in SCANHADRHbits
16539 #define HADR14 SCANHADRHbits.HADR14 // bit 6, shadows bit in SCANHADRHbits
16540 #define SCANHADR14 SCANHADRHbits.SCANHADR14 // bit 6, shadows bit in SCANHADRHbits
16541 #define HADR15 SCANHADRHbits.HADR15 // bit 7, shadows bit in SCANHADRHbits
16542 #define SCANHADR15 SCANHADRHbits.SCANHADR15 // bit 7, shadows bit in SCANHADRHbits
16544 #define HADR0 SCANHADRLbits.HADR0 // bit 0, shadows bit in SCANHADRLbits
16545 #define SCANHADR0 SCANHADRLbits.SCANHADR0 // bit 0, shadows bit in SCANHADRLbits
16546 #define HADR1 SCANHADRLbits.HADR1 // bit 1, shadows bit in SCANHADRLbits
16547 #define SCANHADR1 SCANHADRLbits.SCANHADR1 // bit 1, shadows bit in SCANHADRLbits
16548 #define HARD2 SCANHADRLbits.HARD2 // bit 2, shadows bit in SCANHADRLbits
16549 #define SCANHADR2 SCANHADRLbits.SCANHADR2 // bit 2, shadows bit in SCANHADRLbits
16550 #define HADR3 SCANHADRLbits.HADR3 // bit 3, shadows bit in SCANHADRLbits
16551 #define SCANHADR3 SCANHADRLbits.SCANHADR3 // bit 3, shadows bit in SCANHADRLbits
16552 #define HADR4 SCANHADRLbits.HADR4 // bit 4, shadows bit in SCANHADRLbits
16553 #define SCANHADR4 SCANHADRLbits.SCANHADR4 // bit 4, shadows bit in SCANHADRLbits
16554 #define HADR5 SCANHADRLbits.HADR5 // bit 5, shadows bit in SCANHADRLbits
16555 #define SCANHADR5 SCANHADRLbits.SCANHADR5 // bit 5, shadows bit in SCANHADRLbits
16556 #define HADR6 SCANHADRLbits.HADR6 // bit 6, shadows bit in SCANHADRLbits
16557 #define SCANHADR6 SCANHADRLbits.SCANHADR6 // bit 6, shadows bit in SCANHADRLbits
16558 #define HADR7 SCANHADRLbits.HADR7 // bit 7, shadows bit in SCANHADRLbits
16559 #define SCANHADR7 SCANHADRLbits.SCANHADR7 // bit 7, shadows bit in SCANHADRLbits
16561 #define LADR8 SCANLADRHbits.LADR8 // bit 0, shadows bit in SCANLADRHbits
16562 #define SCANLADR8 SCANLADRHbits.SCANLADR8 // bit 0, shadows bit in SCANLADRHbits
16563 #define LADR9 SCANLADRHbits.LADR9 // bit 1, shadows bit in SCANLADRHbits
16564 #define SCANLADR9 SCANLADRHbits.SCANLADR9 // bit 1, shadows bit in SCANLADRHbits
16565 #define LADR10 SCANLADRHbits.LADR10 // bit 2, shadows bit in SCANLADRHbits
16566 #define SCANLADR10 SCANLADRHbits.SCANLADR10 // bit 2, shadows bit in SCANLADRHbits
16567 #define LADR11 SCANLADRHbits.LADR11 // bit 3, shadows bit in SCANLADRHbits
16568 #define SCANLADR11 SCANLADRHbits.SCANLADR11 // bit 3, shadows bit in SCANLADRHbits
16569 #define LADR12 SCANLADRHbits.LADR12 // bit 4, shadows bit in SCANLADRHbits
16570 #define SCANLADR12 SCANLADRHbits.SCANLADR12 // bit 4, shadows bit in SCANLADRHbits
16571 #define LADR13 SCANLADRHbits.LADR13 // bit 5, shadows bit in SCANLADRHbits
16572 #define SCANLADR13 SCANLADRHbits.SCANLADR13 // bit 5, shadows bit in SCANLADRHbits
16573 #define LADR14 SCANLADRHbits.LADR14 // bit 6, shadows bit in SCANLADRHbits
16574 #define SCANLADR14 SCANLADRHbits.SCANLADR14 // bit 6, shadows bit in SCANLADRHbits
16575 #define LADR15 SCANLADRHbits.LADR15 // bit 7, shadows bit in SCANLADRHbits
16576 #define SCANLADR15 SCANLADRHbits.SCANLADR15 // bit 7, shadows bit in SCANLADRHbits
16578 #define LDAR0 SCANLADRLbits.LDAR0 // bit 0, shadows bit in SCANLADRLbits
16579 #define SCANLADR0 SCANLADRLbits.SCANLADR0 // bit 0, shadows bit in SCANLADRLbits
16580 #define LDAR1 SCANLADRLbits.LDAR1 // bit 1, shadows bit in SCANLADRLbits
16581 #define SCANLADR1 SCANLADRLbits.SCANLADR1 // bit 1, shadows bit in SCANLADRLbits
16582 #define LADR2 SCANLADRLbits.LADR2 // bit 2, shadows bit in SCANLADRLbits
16583 #define SCANLADR2 SCANLADRLbits.SCANLADR2 // bit 2, shadows bit in SCANLADRLbits
16584 #define LADR3 SCANLADRLbits.LADR3 // bit 3, shadows bit in SCANLADRLbits
16585 #define SCANLADR3 SCANLADRLbits.SCANLADR3 // bit 3, shadows bit in SCANLADRLbits
16586 #define LADR4 SCANLADRLbits.LADR4 // bit 4, shadows bit in SCANLADRLbits
16587 #define SCANLADR4 SCANLADRLbits.SCANLADR4 // bit 4, shadows bit in SCANLADRLbits
16588 #define LADR5 SCANLADRLbits.LADR5 // bit 5, shadows bit in SCANLADRLbits
16589 #define SCANLADR5 SCANLADRLbits.SCANLADR5 // bit 5, shadows bit in SCANLADRLbits
16590 #define LADR6 SCANLADRLbits.LADR6 // bit 6, shadows bit in SCANLADRLbits
16591 #define SCANLADR6 SCANLADRLbits.SCANLADR6 // bit 6, shadows bit in SCANLADRLbits
16592 #define LADR7 SCANLADRLbits.LADR7 // bit 7, shadows bit in SCANLADRLbits
16593 #define SCANLADR7 SCANLADRLbits.SCANLADR7 // bit 7, shadows bit in SCANLADRLbits
16595 #define TSEL0 SCANTRIGbits.TSEL0 // bit 0, shadows bit in SCANTRIGbits
16596 #define SCANTSEL0 SCANTRIGbits.SCANTSEL0 // bit 0, shadows bit in SCANTRIGbits
16597 #define TSEL1 SCANTRIGbits.TSEL1 // bit 1, shadows bit in SCANTRIGbits
16598 #define SCANTSEL1 SCANTRIGbits.SCANTSEL1 // bit 1, shadows bit in SCANTRIGbits
16599 #define TSEL2 SCANTRIGbits.TSEL2 // bit 2, shadows bit in SCANTRIGbits
16600 #define SCANTSEL2 SCANTRIGbits.SCANTSEL2 // bit 2, shadows bit in SCANTRIGbits
16601 #define TSEL3 SCANTRIGbits.TSEL3 // bit 3, shadows bit in SCANTRIGbits
16602 #define SCANTSEL3 SCANTRIGbits.SCANTSEL3 // bit 3, shadows bit in SCANTRIGbits
16604 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
16605 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
16606 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
16607 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
16608 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
16610 #define SLRB4 SLRCONBbits.SLRB4 // bit 4
16611 #define SLRB5 SLRCONBbits.SLRB5 // bit 5
16612 #define SLRB6 SLRCONBbits.SLRB6 // bit 6
16613 #define SLRB7 SLRCONBbits.SLRB7 // bit 7
16615 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
16616 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
16617 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
16618 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
16619 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
16620 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
16621 #define SLRC6 SLRCONCbits.SLRC6 // bit 6
16622 #define SLRC7 SLRCONCbits.SLRC7 // bit 7
16624 #define CSEL0 SMT1CLKbits.CSEL0 // bit 0, shadows bit in SMT1CLKbits
16625 #define SMT1CSEL0 SMT1CLKbits.SMT1CSEL0 // bit 0, shadows bit in SMT1CLKbits
16626 #define CSEL1 SMT1CLKbits.CSEL1 // bit 1, shadows bit in SMT1CLKbits
16627 #define SMT1CSEL1 SMT1CLKbits.SMT1CSEL1 // bit 1, shadows bit in SMT1CLKbits
16628 #define CSEL2 SMT1CLKbits.CSEL2 // bit 2, shadows bit in SMT1CLKbits
16629 #define SMT1CSEL2 SMT1CLKbits.SMT1CSEL2 // bit 2, shadows bit in SMT1CLKbits
16631 #define SMT1CPR8 SMT1CPRHbits.SMT1CPR8 // bit 0
16632 #define SMT1CPR9 SMT1CPRHbits.SMT1CPR9 // bit 1
16633 #define SMT1CPR10 SMT1CPRHbits.SMT1CPR10 // bit 2
16634 #define SMT1CPR11 SMT1CPRHbits.SMT1CPR11 // bit 3
16635 #define SMT1CPR12 SMT1CPRHbits.SMT1CPR12 // bit 4
16636 #define SMT1CPR13 SMT1CPRHbits.SMT1CPR13 // bit 5
16637 #define SMT1CPR14 SMT1CPRHbits.SMT1CPR14 // bit 6
16638 #define SMT1CPR15 SMT1CPRHbits.SMT1CPR15 // bit 7
16640 #define SMT1CPR0 SMT1CPRLbits.SMT1CPR0 // bit 0
16641 #define SMT1CPR1 SMT1CPRLbits.SMT1CPR1 // bit 1
16642 #define SMT1CPR2 SMT1CPRLbits.SMT1CPR2 // bit 2
16643 #define SMT1CPR3 SMT1CPRLbits.SMT1CPR3 // bit 3
16644 #define SMT1CPR4 SMT1CPRLbits.SMT1CPR4 // bit 4
16645 #define SMT1CPR5 SMT1CPRLbits.SMT1CPR5 // bit 5
16646 #define SMT1CPR6 SMT1CPRLbits.SMT1CPR6 // bit 6
16647 #define SMT1CPR7 SMT1CPRLbits.SMT1CPR7 // bit 7
16649 #define SMT1CPR16 SMT1CPRUbits.SMT1CPR16 // bit 0
16650 #define SMT1CPR17 SMT1CPRUbits.SMT1CPR17 // bit 1
16651 #define SMT1CPR18 SMT1CPRUbits.SMT1CPR18 // bit 2
16652 #define SMT1CPR19 SMT1CPRUbits.SMT1CPR19 // bit 3
16653 #define SMT1CPR20 SMT1CPRUbits.SMT1CPR20 // bit 4
16654 #define SMT1CPR21 SMT1CPRUbits.SMT1CPR21 // bit 5
16655 #define SMT1CPR22 SMT1CPRUbits.SMT1CPR22 // bit 6
16656 #define SMT1CPR23 SMT1CPRUbits.SMT1CPR23 // bit 7
16658 #define SMT1CPW8 SMT1CPWHbits.SMT1CPW8 // bit 0
16659 #define SMT1CPW9 SMT1CPWHbits.SMT1CPW9 // bit 1
16660 #define SMT1CPW10 SMT1CPWHbits.SMT1CPW10 // bit 2
16661 #define SMT1CPW11 SMT1CPWHbits.SMT1CPW11 // bit 3
16662 #define SMT1CPW12 SMT1CPWHbits.SMT1CPW12 // bit 4
16663 #define SMT1CPW13 SMT1CPWHbits.SMT1CPW13 // bit 5
16664 #define SMT1CPW14 SMT1CPWHbits.SMT1CPW14 // bit 6
16665 #define SMT1CPW15 SMT1CPWHbits.SMT1CPW15 // bit 7
16667 #define SMT1CPW0 SMT1CPWLbits.SMT1CPW0 // bit 0
16668 #define SMT1CPW1 SMT1CPWLbits.SMT1CPW1 // bit 1
16669 #define SMT1CPW2 SMT1CPWLbits.SMT1CPW2 // bit 2
16670 #define SMT1CPW3 SMT1CPWLbits.SMT1CPW3 // bit 3
16671 #define SMT1CPW4 SMT1CPWLbits.SMT1CPW4 // bit 4
16672 #define SMT1CPW5 SMT1CPWLbits.SMT1CPW5 // bit 5
16673 #define SMT1CPW6 SMT1CPWLbits.SMT1CPW6 // bit 6
16674 #define SMT1CPW7 SMT1CPWLbits.SMT1CPW7 // bit 7
16676 #define SMT1CPW16 SMT1CPWUbits.SMT1CPW16 // bit 0
16677 #define SMT1CPW17 SMT1CPWUbits.SMT1CPW17 // bit 1
16678 #define SMT1CPW18 SMT1CPWUbits.SMT1CPW18 // bit 2
16679 #define SMT1CPW19 SMT1CPWUbits.SMT1CPW19 // bit 3
16680 #define SMT1CPW20 SMT1CPWUbits.SMT1CPW20 // bit 4
16681 #define SMT1CPW21 SMT1CPWUbits.SMT1CPW21 // bit 5
16682 #define SMT1CPW22 SMT1CPWUbits.SMT1CPW22 // bit 6
16683 #define SMT1CPW23 SMT1CPWUbits.SMT1CPW23 // bit 7
16685 #define SMT1PR8 SMT1PRHbits.SMT1PR8 // bit 0
16686 #define SMT1PR9 SMT1PRHbits.SMT1PR9 // bit 1
16687 #define SMT1PR10 SMT1PRHbits.SMT1PR10 // bit 2
16688 #define SMT1PR11 SMT1PRHbits.SMT1PR11 // bit 3
16689 #define SMT1PR12 SMT1PRHbits.SMT1PR12 // bit 4
16690 #define SMT1PR13 SMT1PRHbits.SMT1PR13 // bit 5
16691 #define SMT1PR14 SMT1PRHbits.SMT1PR14 // bit 6
16692 #define SMT1PR15 SMT1PRHbits.SMT1PR15 // bit 7
16694 #define SMT1PR0 SMT1PRLbits.SMT1PR0 // bit 0
16695 #define SMT1PR1 SMT1PRLbits.SMT1PR1 // bit 1
16696 #define SMT1PR2 SMT1PRLbits.SMT1PR2 // bit 2
16697 #define SMT1PR3 SMT1PRLbits.SMT1PR3 // bit 3
16698 #define SMT1PR4 SMT1PRLbits.SMT1PR4 // bit 4
16699 #define SMT1PR5 SMT1PRLbits.SMT1PR5 // bit 5
16700 #define SMT1PR6 SMT1PRLbits.SMT1PR6 // bit 6
16701 #define SMT1PR7 SMT1PRLbits.SMT1PR7 // bit 7
16703 #define SMT1PR16 SMT1PRUbits.SMT1PR16 // bit 0
16704 #define SMT1PR17 SMT1PRUbits.SMT1PR17 // bit 1
16705 #define SMT1PR18 SMT1PRUbits.SMT1PR18 // bit 2
16706 #define SMT1PR19 SMT1PRUbits.SMT1PR19 // bit 3
16707 #define SMT1PR20 SMT1PRUbits.SMT1PR20 // bit 4
16708 #define SMT1PR21 SMT1PRUbits.SMT1PR21 // bit 5
16709 #define SMT1PR22 SMT1PRUbits.SMT1PR22 // bit 6
16710 #define SMT1PR23 SMT1PRUbits.SMT1PR23 // bit 7
16712 #define SMT1SIGPPS0 SMT1SIGPPSbits.SMT1SIGPPS0 // bit 0
16713 #define SMT1SIGPPS1 SMT1SIGPPSbits.SMT1SIGPPS1 // bit 1
16714 #define SMT1SIGPPS2 SMT1SIGPPSbits.SMT1SIGPPS2 // bit 2
16715 #define SMT1SIGPPS3 SMT1SIGPPSbits.SMT1SIGPPS3 // bit 3
16716 #define SMT1SIGPPS4 SMT1SIGPPSbits.SMT1SIGPPS4 // bit 4
16718 #define AS SMT1STATbits.AS // bit 0, shadows bit in SMT1STATbits
16719 #define SMT1AS SMT1STATbits.SMT1AS // bit 0, shadows bit in SMT1STATbits
16720 #define WS SMT1STATbits.WS // bit 1, shadows bit in SMT1STATbits
16721 #define SMT1WS SMT1STATbits.SMT1WS // bit 1, shadows bit in SMT1STATbits
16722 #define TS SMT1STATbits.TS // bit 2, shadows bit in SMT1STATbits
16723 #define SMT1TS SMT1STATbits.SMT1TS // bit 2, shadows bit in SMT1STATbits
16724 #define RST SMT1STATbits.RST // bit 5, shadows bit in SMT1STATbits
16725 #define SMT1RESET SMT1STATbits.SMT1RESET // bit 5, shadows bit in SMT1STATbits
16726 #define CPWUP SMT1STATbits.CPWUP // bit 6, shadows bit in SMT1STATbits
16727 #define SMT1CPWUP SMT1STATbits.SMT1CPWUP // bit 6, shadows bit in SMT1STATbits
16728 #define CPRUP SMT1STATbits.CPRUP // bit 7, shadows bit in SMT1STATbits
16729 #define SMT1CPRUP SMT1STATbits.SMT1CPRUP // bit 7, shadows bit in SMT1STATbits
16731 #define SMT1TMR8 SMT1TMRHbits.SMT1TMR8 // bit 0
16732 #define SMT1TMR9 SMT1TMRHbits.SMT1TMR9 // bit 1
16733 #define SMT1TMR10 SMT1TMRHbits.SMT1TMR10 // bit 2
16734 #define SMT1TMR11 SMT1TMRHbits.SMT1TMR11 // bit 3
16735 #define SMT1TMR12 SMT1TMRHbits.SMT1TMR12 // bit 4
16736 #define SMT1TMR13 SMT1TMRHbits.SMT1TMR13 // bit 5
16737 #define SMT1TMR14 SMT1TMRHbits.SMT1TMR14 // bit 6
16738 #define SMT1TMR15 SMT1TMRHbits.SMT1TMR15 // bit 7
16740 #define SMT1TMR0 SMT1TMRLbits.SMT1TMR0 // bit 0
16741 #define SMT1TMR1 SMT1TMRLbits.SMT1TMR1 // bit 1
16742 #define SMT1TMR2 SMT1TMRLbits.SMT1TMR2 // bit 2
16743 #define SMT1TMR3 SMT1TMRLbits.SMT1TMR3 // bit 3
16744 #define SMT1TMR4 SMT1TMRLbits.SMT1TMR4 // bit 4
16745 #define SMT1TMR5 SMT1TMRLbits.SMT1TMR5 // bit 5
16746 #define SMT1TMR6 SMT1TMRLbits.SMT1TMR6 // bit 6
16747 #define SMT1TMR7 SMT1TMRLbits.SMT1TMR7 // bit 7
16749 #define SMT1TMR16 SMT1TMRUbits.SMT1TMR16 // bit 0
16750 #define SMT1TMR17 SMT1TMRUbits.SMT1TMR17 // bit 1
16751 #define SMT1TMR18 SMT1TMRUbits.SMT1TMR18 // bit 2
16752 #define SMT1TMR19 SMT1TMRUbits.SMT1TMR19 // bit 3
16753 #define SMT1TMR20 SMT1TMRUbits.SMT1TMR20 // bit 4
16754 #define SMT1TMR21 SMT1TMRUbits.SMT1TMR21 // bit 5
16755 #define SMT1TMR22 SMT1TMRUbits.SMT1TMR22 // bit 6
16756 #define SMT1TMR23 SMT1TMRUbits.SMT1TMR23 // bit 7
16758 #define WSEL0 SMT1WINbits.WSEL0 // bit 0, shadows bit in SMT1WINbits
16759 #define SMT1WSEL0 SMT1WINbits.SMT1WSEL0 // bit 0, shadows bit in SMT1WINbits
16760 #define WSEL1 SMT1WINbits.WSEL1 // bit 1, shadows bit in SMT1WINbits
16761 #define SMT1WSEL1 SMT1WINbits.SMT1WSEL1 // bit 1, shadows bit in SMT1WINbits
16762 #define WSEL2 SMT1WINbits.WSEL2 // bit 2, shadows bit in SMT1WINbits
16763 #define SMT1WSEL2 SMT1WINbits.SMT1WSEL2 // bit 2, shadows bit in SMT1WINbits
16764 #define WSEL3 SMT1WINbits.WSEL3 // bit 3, shadows bit in SMT1WINbits
16765 #define SMT1WSEL3 SMT1WINbits.SMT1WSEL3 // bit 3, shadows bit in SMT1WINbits
16766 #define WSEL4 SMT1WINbits.WSEL4 // bit 4, shadows bit in SMT1WINbits
16767 #define SMT1WSEL4 SMT1WINbits.SMT1WSEL4 // bit 4, shadows bit in SMT1WINbits
16769 #define SMTWINPPS0 SMT1WINPPSbits.SMTWINPPS0 // bit 0
16770 #define SMTWINPPS1 SMT1WINPPSbits.SMTWINPPS1 // bit 1
16771 #define SMTWINPPS2 SMT1WINPPSbits.SMTWINPPS2 // bit 2
16772 #define SMTWINPPS3 SMT1WINPPSbits.SMTWINPPS3 // bit 3
16773 #define SMTWINPPS4 SMT1WINPPSbits.SMTWINPPS4 // bit 4
16775 #define SMT2CPR8 SMT2CPRHbits.SMT2CPR8 // bit 0
16776 #define SMT2CPR9 SMT2CPRHbits.SMT2CPR9 // bit 1
16777 #define SMT2CPR10 SMT2CPRHbits.SMT2CPR10 // bit 2
16778 #define SMT2CPR11 SMT2CPRHbits.SMT2CPR11 // bit 3
16779 #define SMT2CPR12 SMT2CPRHbits.SMT2CPR12 // bit 4
16780 #define SMT2CPR13 SMT2CPRHbits.SMT2CPR13 // bit 5
16781 #define SMT2CPR14 SMT2CPRHbits.SMT2CPR14 // bit 6
16782 #define SMT2CPR15 SMT2CPRHbits.SMT2CPR15 // bit 7
16784 #define SMT2CPR0 SMT2CPRLbits.SMT2CPR0 // bit 0
16785 #define SMT2CPR1 SMT2CPRLbits.SMT2CPR1 // bit 1
16786 #define SMT2CPR2 SMT2CPRLbits.SMT2CPR2 // bit 2
16787 #define SMT2CPR3 SMT2CPRLbits.SMT2CPR3 // bit 3
16788 #define SMT2CPR4 SMT2CPRLbits.SMT2CPR4 // bit 4
16789 #define SMT2CPR5 SMT2CPRLbits.SMT2CPR5 // bit 5
16790 #define SMT2CPR6 SMT2CPRLbits.SMT2CPR6 // bit 6
16791 #define SMT2CPR7 SMT2CPRLbits.SMT2CPR7 // bit 7
16793 #define SMT2CPR16 SMT2CPRUbits.SMT2CPR16 // bit 0
16794 #define SMT2CPR17 SMT2CPRUbits.SMT2CPR17 // bit 1
16795 #define SMT2CPR18 SMT2CPRUbits.SMT2CPR18 // bit 2
16796 #define SMT2CPR19 SMT2CPRUbits.SMT2CPR19 // bit 3
16797 #define SMT2CPR20 SMT2CPRUbits.SMT2CPR20 // bit 4
16798 #define SMT2CPR21 SMT2CPRUbits.SMT2CPR21 // bit 5
16799 #define SMT2CPR22 SMT2CPRUbits.SMT2CPR22 // bit 6
16800 #define SMT2CPR23 SMT2CPRUbits.SMT2CPR23 // bit 7
16802 #define SMT2CPW8 SMT2CPWHbits.SMT2CPW8 // bit 0
16803 #define SMT2CPW9 SMT2CPWHbits.SMT2CPW9 // bit 1
16804 #define SMT2CPW10 SMT2CPWHbits.SMT2CPW10 // bit 2
16805 #define SMT2CPW11 SMT2CPWHbits.SMT2CPW11 // bit 3
16806 #define SMT2CPW12 SMT2CPWHbits.SMT2CPW12 // bit 4
16807 #define SMT2CPW13 SMT2CPWHbits.SMT2CPW13 // bit 5
16808 #define SMT2CPW14 SMT2CPWHbits.SMT2CPW14 // bit 6
16809 #define SMT2CPW15 SMT2CPWHbits.SMT2CPW15 // bit 7
16811 #define SMT2CPW0 SMT2CPWLbits.SMT2CPW0 // bit 0
16812 #define SMT2CPW1 SMT2CPWLbits.SMT2CPW1 // bit 1
16813 #define SMT2CPW2 SMT2CPWLbits.SMT2CPW2 // bit 2
16814 #define SMT2CPW3 SMT2CPWLbits.SMT2CPW3 // bit 3
16815 #define SMT2CPW4 SMT2CPWLbits.SMT2CPW4 // bit 4
16816 #define SMT2CPW5 SMT2CPWLbits.SMT2CPW5 // bit 5
16817 #define SMT2CPW6 SMT2CPWLbits.SMT2CPW6 // bit 6
16818 #define SMT2CPW7 SMT2CPWLbits.SMT2CPW7 // bit 7
16820 #define SMT2CPW16 SMT2CPWUbits.SMT2CPW16 // bit 0
16821 #define SMT2CPW17 SMT2CPWUbits.SMT2CPW17 // bit 1
16822 #define SMT2CPW18 SMT2CPWUbits.SMT2CPW18 // bit 2
16823 #define SMT2CPW19 SMT2CPWUbits.SMT2CPW19 // bit 3
16824 #define SMT2CPW20 SMT2CPWUbits.SMT2CPW20 // bit 4
16825 #define SMT2CPW21 SMT2CPWUbits.SMT2CPW21 // bit 5
16826 #define SMT2CPW22 SMT2CPWUbits.SMT2CPW22 // bit 6
16827 #define SMT2CPW23 SMT2CPWUbits.SMT2CPW23 // bit 7
16829 #define SMT2PR8 SMT2PRHbits.SMT2PR8 // bit 0
16830 #define SMT2PR9 SMT2PRHbits.SMT2PR9 // bit 1
16831 #define SMT2PR10 SMT2PRHbits.SMT2PR10 // bit 2
16832 #define SMT2PR11 SMT2PRHbits.SMT2PR11 // bit 3
16833 #define SMT2PR12 SMT2PRHbits.SMT2PR12 // bit 4
16834 #define SMT2PR13 SMT2PRHbits.SMT2PR13 // bit 5
16835 #define SMT2PR14 SMT2PRHbits.SMT2PR14 // bit 6
16836 #define SMT2PR15 SMT2PRHbits.SMT2PR15 // bit 7
16838 #define SMT2PR0 SMT2PRLbits.SMT2PR0 // bit 0
16839 #define SMT2PR1 SMT2PRLbits.SMT2PR1 // bit 1
16840 #define SMT2PR2 SMT2PRLbits.SMT2PR2 // bit 2
16841 #define SMT2PR3 SMT2PRLbits.SMT2PR3 // bit 3
16842 #define SMT2PR4 SMT2PRLbits.SMT2PR4 // bit 4
16843 #define SMT2PR5 SMT2PRLbits.SMT2PR5 // bit 5
16844 #define SMT2PR6 SMT2PRLbits.SMT2PR6 // bit 6
16845 #define SMT2PR7 SMT2PRLbits.SMT2PR7 // bit 7
16847 #define SMT2PR16 SMT2PRUbits.SMT2PR16 // bit 0
16848 #define SMT2PR17 SMT2PRUbits.SMT2PR17 // bit 1
16849 #define SMT2PR18 SMT2PRUbits.SMT2PR18 // bit 2
16850 #define SMT2PR19 SMT2PRUbits.SMT2PR19 // bit 3
16851 #define SMT2PR20 SMT2PRUbits.SMT2PR20 // bit 4
16852 #define SMT2PR21 SMT2PRUbits.SMT2PR21 // bit 5
16853 #define SMT2PR22 SMT2PRUbits.SMT2PR22 // bit 6
16854 #define SMT2PR23 SMT2PRUbits.SMT2PR23 // bit 7
16856 #define SMT2SIGPPS0 SMT2SIGPPSbits.SMT2SIGPPS0 // bit 0
16857 #define SMT2SIGPPS1 SMT2SIGPPSbits.SMT2SIGPPS1 // bit 1
16858 #define SMT2SIGPPS2 SMT2SIGPPSbits.SMT2SIGPPS2 // bit 2
16859 #define SMT2SIGPPS3 SMT2SIGPPSbits.SMT2SIGPPS3 // bit 3
16860 #define SMT2SIGPPS4 SMT2SIGPPSbits.SMT2SIGPPS4 // bit 4
16862 #define SMT2TMR8 SMT2TMRHbits.SMT2TMR8 // bit 0
16863 #define SMT2TMR9 SMT2TMRHbits.SMT2TMR9 // bit 1
16864 #define SMT2TMR10 SMT2TMRHbits.SMT2TMR10 // bit 2
16865 #define SMT2TMR11 SMT2TMRHbits.SMT2TMR11 // bit 3
16866 #define SMT2TMR12 SMT2TMRHbits.SMT2TMR12 // bit 4
16867 #define SMT2TMR13 SMT2TMRHbits.SMT2TMR13 // bit 5
16868 #define SMT2TMR14 SMT2TMRHbits.SMT2TMR14 // bit 6
16869 #define SMT2TMR15 SMT2TMRHbits.SMT2TMR15 // bit 7
16871 #define SMT2TMR0 SMT2TMRLbits.SMT2TMR0 // bit 0
16872 #define SMT2TMR1 SMT2TMRLbits.SMT2TMR1 // bit 1
16873 #define SMT2TMR2 SMT2TMRLbits.SMT2TMR2 // bit 2
16874 #define SMT2TMR3 SMT2TMRLbits.SMT2TMR3 // bit 3
16875 #define SMT2TMR4 SMT2TMRLbits.SMT2TMR4 // bit 4
16876 #define SMT2TMR5 SMT2TMRLbits.SMT2TMR5 // bit 5
16877 #define SMT2TMR6 SMT2TMRLbits.SMT2TMR6 // bit 6
16878 #define SMT2TMR7 SMT2TMRLbits.SMT2TMR7 // bit 7
16880 #define SMT2TMR16 SMT2TMRUbits.SMT2TMR16 // bit 0
16881 #define SMT2TMR17 SMT2TMRUbits.SMT2TMR17 // bit 1
16882 #define SMT2TMR18 SMT2TMRUbits.SMT2TMR18 // bit 2
16883 #define SMT2TMR19 SMT2TMRUbits.SMT2TMR19 // bit 3
16884 #define SMT2TMR20 SMT2TMRUbits.SMT2TMR20 // bit 4
16885 #define SMT2TMR21 SMT2TMRUbits.SMT2TMR21 // bit 5
16886 #define SMT2TMR22 SMT2TMRUbits.SMT2TMR22 // bit 6
16887 #define SMT2TMR23 SMT2TMRUbits.SMT2TMR23 // bit 7
16889 #define SMT2WINPPS0 SMT2WINPPSbits.SMT2WINPPS0 // bit 0
16890 #define SMT2WINPPS1 SMT2WINPPSbits.SMT2WINPPS1 // bit 1
16891 #define SMT2WINPPS2 SMT2WINPPSbits.SMT2WINPPS2 // bit 2
16892 #define SMT2WINPPS3 SMT2WINPPSbits.SMT2WINPPS3 // bit 3
16893 #define SMT2WINPPS4 SMT2WINPPSbits.SMT2WINPPS4 // bit 4
16895 #define SSP1ADD0 SSP1ADDbits.SSP1ADD0 // bit 0, shadows bit in SSP1ADDbits
16896 #define ADD0 SSP1ADDbits.ADD0 // bit 0, shadows bit in SSP1ADDbits
16897 #define SSP1ADD1 SSP1ADDbits.SSP1ADD1 // bit 1, shadows bit in SSP1ADDbits
16898 #define ADD1 SSP1ADDbits.ADD1 // bit 1, shadows bit in SSP1ADDbits
16899 #define SSP1ADD2 SSP1ADDbits.SSP1ADD2 // bit 2, shadows bit in SSP1ADDbits
16900 #define ADD2 SSP1ADDbits.ADD2 // bit 2, shadows bit in SSP1ADDbits
16901 #define SSP1ADD3 SSP1ADDbits.SSP1ADD3 // bit 3, shadows bit in SSP1ADDbits
16902 #define ADD3 SSP1ADDbits.ADD3 // bit 3, shadows bit in SSP1ADDbits
16903 #define SSP1ADD4 SSP1ADDbits.SSP1ADD4 // bit 4, shadows bit in SSP1ADDbits
16904 #define ADD4 SSP1ADDbits.ADD4 // bit 4, shadows bit in SSP1ADDbits
16905 #define SSP1ADD5 SSP1ADDbits.SSP1ADD5 // bit 5, shadows bit in SSP1ADDbits
16906 #define ADD5 SSP1ADDbits.ADD5 // bit 5, shadows bit in SSP1ADDbits
16907 #define SSP1ADD6 SSP1ADDbits.SSP1ADD6 // bit 6, shadows bit in SSP1ADDbits
16908 #define ADD6 SSP1ADDbits.ADD6 // bit 6, shadows bit in SSP1ADDbits
16909 #define SSP1ADD7 SSP1ADDbits.SSP1ADD7 // bit 7, shadows bit in SSP1ADDbits
16910 #define ADD7 SSP1ADDbits.ADD7 // bit 7, shadows bit in SSP1ADDbits
16912 #define SSP1BUF0 SSP1BUFbits.SSP1BUF0 // bit 0, shadows bit in SSP1BUFbits
16913 #define BUF0 SSP1BUFbits.BUF0 // bit 0, shadows bit in SSP1BUFbits
16914 #define SSP1BUF1 SSP1BUFbits.SSP1BUF1 // bit 1, shadows bit in SSP1BUFbits
16915 #define BUF1 SSP1BUFbits.BUF1 // bit 1, shadows bit in SSP1BUFbits
16916 #define SSP1BUF2 SSP1BUFbits.SSP1BUF2 // bit 2, shadows bit in SSP1BUFbits
16917 #define BUF2 SSP1BUFbits.BUF2 // bit 2, shadows bit in SSP1BUFbits
16918 #define SSP1BUF3 SSP1BUFbits.SSP1BUF3 // bit 3, shadows bit in SSP1BUFbits
16919 #define BUF3 SSP1BUFbits.BUF3 // bit 3, shadows bit in SSP1BUFbits
16920 #define SSP1BUF4 SSP1BUFbits.SSP1BUF4 // bit 4, shadows bit in SSP1BUFbits
16921 #define BUF4 SSP1BUFbits.BUF4 // bit 4, shadows bit in SSP1BUFbits
16922 #define SSP1BUF5 SSP1BUFbits.SSP1BUF5 // bit 5, shadows bit in SSP1BUFbits
16923 #define BUF5 SSP1BUFbits.BUF5 // bit 5, shadows bit in SSP1BUFbits
16924 #define SSP1BUF6 SSP1BUFbits.SSP1BUF6 // bit 6, shadows bit in SSP1BUFbits
16925 #define BUF6 SSP1BUFbits.BUF6 // bit 6, shadows bit in SSP1BUFbits
16926 #define SSP1BUF7 SSP1BUFbits.SSP1BUF7 // bit 7, shadows bit in SSP1BUFbits
16927 #define BUF7 SSP1BUFbits.BUF7 // bit 7, shadows bit in SSP1BUFbits
16929 #define SSPM0 SSP1CONbits.SSPM0 // bit 0
16930 #define SSPM1 SSP1CONbits.SSPM1 // bit 1
16931 #define SSPM2 SSP1CONbits.SSPM2 // bit 2
16932 #define SSPM3 SSP1CONbits.SSPM3 // bit 3
16933 #define CKP SSP1CONbits.CKP // bit 4
16934 #define SSPEN SSP1CONbits.SSPEN // bit 5
16935 #define SSPOV SSP1CONbits.SSPOV // bit 6
16936 #define WCOL SSP1CONbits.WCOL // bit 7
16938 #define SEN SSP1CON2bits.SEN // bit 0
16939 #define RSEN SSP1CON2bits.RSEN // bit 1
16940 #define PEN SSP1CON2bits.PEN // bit 2
16941 #define RCEN SSP1CON2bits.RCEN // bit 3
16942 #define ACKEN SSP1CON2bits.ACKEN // bit 4
16943 #define ACKDT SSP1CON2bits.ACKDT // bit 5
16944 #define ACKSTAT SSP1CON2bits.ACKSTAT // bit 6
16945 #define GCEN SSP1CON2bits.GCEN // bit 7
16947 #define DHEN SSP1CON3bits.DHEN // bit 0
16948 #define AHEN SSP1CON3bits.AHEN // bit 1
16949 #define SBCDE SSP1CON3bits.SBCDE // bit 2
16950 #define SDAHT SSP1CON3bits.SDAHT // bit 3
16951 #define BOEN SSP1CON3bits.BOEN // bit 4
16952 #define SCIE SSP1CON3bits.SCIE // bit 5
16953 #define PCIE SSP1CON3bits.PCIE // bit 6
16954 #define ACKTIM SSP1CON3bits.ACKTIM // bit 7
16956 #define SSP1MSK0 SSP1MSKbits.SSP1MSK0 // bit 0, shadows bit in SSP1MSKbits
16957 #define MSK0 SSP1MSKbits.MSK0 // bit 0, shadows bit in SSP1MSKbits
16958 #define SSP1MSK1 SSP1MSKbits.SSP1MSK1 // bit 1, shadows bit in SSP1MSKbits
16959 #define MSK1 SSP1MSKbits.MSK1 // bit 1, shadows bit in SSP1MSKbits
16960 #define SSP1MSK2 SSP1MSKbits.SSP1MSK2 // bit 2, shadows bit in SSP1MSKbits
16961 #define MSK2 SSP1MSKbits.MSK2 // bit 2, shadows bit in SSP1MSKbits
16962 #define SSP1MSK3 SSP1MSKbits.SSP1MSK3 // bit 3, shadows bit in SSP1MSKbits
16963 #define MSK3 SSP1MSKbits.MSK3 // bit 3, shadows bit in SSP1MSKbits
16964 #define SSP1MSK4 SSP1MSKbits.SSP1MSK4 // bit 4, shadows bit in SSP1MSKbits
16965 #define MSK4 SSP1MSKbits.MSK4 // bit 4, shadows bit in SSP1MSKbits
16966 #define SSP1MSK5 SSP1MSKbits.SSP1MSK5 // bit 5, shadows bit in SSP1MSKbits
16967 #define MSK5 SSP1MSKbits.MSK5 // bit 5, shadows bit in SSP1MSKbits
16968 #define SSP1MSK6 SSP1MSKbits.SSP1MSK6 // bit 6, shadows bit in SSP1MSKbits
16969 #define MSK6 SSP1MSKbits.MSK6 // bit 6, shadows bit in SSP1MSKbits
16970 #define SSP1MSK7 SSP1MSKbits.SSP1MSK7 // bit 7, shadows bit in SSP1MSKbits
16971 #define MSK7 SSP1MSKbits.MSK7 // bit 7, shadows bit in SSP1MSKbits
16973 #define BF SSP1STATbits.BF // bit 0
16974 #define UA SSP1STATbits.UA // bit 1
16975 #define R_NOT_W SSP1STATbits.R_NOT_W // bit 2
16976 #define S SSP1STATbits.S // bit 3
16977 #define P SSP1STATbits.P // bit 4
16978 #define D_NOT_A SSP1STATbits.D_NOT_A // bit 5
16979 #define CKE SSP1STATbits.CKE // bit 6
16980 #define SMP SSP1STATbits.SMP // bit 7
16982 #define SSPCLKPPS0 SSPCLKPPSbits.SSPCLKPPS0 // bit 0
16983 #define SSPCLKPPS1 SSPCLKPPSbits.SSPCLKPPS1 // bit 1
16984 #define SSPCLKPPS2 SSPCLKPPSbits.SSPCLKPPS2 // bit 2
16985 #define SSPCLKPPS3 SSPCLKPPSbits.SSPCLKPPS3 // bit 3
16986 #define SSPCLKPPS4 SSPCLKPPSbits.SSPCLKPPS4 // bit 4
16988 #define SSPDATPPS0 SSPDATPPSbits.SSPDATPPS0 // bit 0
16989 #define SSPDATPPS1 SSPDATPPSbits.SSPDATPPS1 // bit 1
16990 #define SSPDATPPS2 SSPDATPPSbits.SSPDATPPS2 // bit 2
16991 #define SSPDATPPS3 SSPDATPPSbits.SSPDATPPS3 // bit 3
16992 #define SSPDATPPS4 SSPDATPPSbits.SSPDATPPS4 // bit 4
16994 #define SSPSSPPS0 SSPSSPPSbits.SSPSSPPS0 // bit 0
16995 #define SSPSSPPS1 SSPSSPPSbits.SSPSSPPS1 // bit 1
16996 #define SSPSSPPS2 SSPSSPPSbits.SSPSSPPS2 // bit 2
16997 #define SSPSSPPS3 SSPSSPPSbits.SSPSSPPS3 // bit 3
16998 #define SSPSSPPS4 SSPSSPPSbits.SSPSSPPS4 // bit 4
17000 #define C STATUSbits.C // bit 0
17001 #define DC STATUSbits.DC // bit 1
17002 #define Z STATUSbits.Z // bit 2
17003 #define NOT_PD STATUSbits.NOT_PD // bit 3
17004 #define NOT_TO STATUSbits.NOT_TO // bit 4
17006 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
17007 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
17008 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
17010 #define T0CKIPPS0 T0CKIPPSbits.T0CKIPPS0 // bit 0
17011 #define T0CKIPPS1 T0CKIPPSbits.T0CKIPPS1 // bit 1
17012 #define T0CKIPPS2 T0CKIPPSbits.T0CKIPPS2 // bit 2
17013 #define T0CKIPPS3 T0CKIPPSbits.T0CKIPPS3 // bit 3
17014 #define T0CKIPPS4 T0CKIPPSbits.T0CKIPPS4 // bit 4
17016 #define T1CKIPPS0 T1CKIPPSbits.T1CKIPPS0 // bit 0
17017 #define T1CKIPPS1 T1CKIPPSbits.T1CKIPPS1 // bit 1
17018 #define T1CKIPPS2 T1CKIPPSbits.T1CKIPPS2 // bit 2
17019 #define T1CKIPPS3 T1CKIPPSbits.T1CKIPPS3 // bit 3
17020 #define T1CKIPPS4 T1CKIPPSbits.T1CKIPPS4 // bit 4
17022 #define TMR1ON T1CONbits.TMR1ON // bit 0
17023 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
17024 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
17025 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
17026 #define TMR1CS0 T1CONbits.TMR1CS0 // bit 6
17027 #define TMR1CS1 T1CONbits.TMR1CS1 // bit 7
17029 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0
17030 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1
17031 #define T1GVAL T1GCONbits.T1GVAL // bit 2
17032 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3
17033 #define T1GSPM T1GCONbits.T1GSPM // bit 4
17034 #define T1GTM T1GCONbits.T1GTM // bit 5
17035 #define T1GPOL T1GCONbits.T1GPOL // bit 6
17036 #define TMR1GE T1GCONbits.TMR1GE // bit 7
17038 #define T1GPPS0 T1GPPSbits.T1GPPS0 // bit 0
17039 #define T1GPPS1 T1GPPSbits.T1GPPS1 // bit 1
17040 #define T1GPPS2 T1GPPSbits.T1GPPS2 // bit 2
17041 #define T1GPPS3 T1GPPSbits.T1GPPS3 // bit 3
17042 #define T1GPPS4 T1GPPSbits.T1GPPS4 // bit 4
17044 #define OUTPS0 T2CONbits.OUTPS0 // bit 0, shadows bit in T2CONbits
17045 #define T2OUTPS0 T2CONbits.T2OUTPS0 // bit 0, shadows bit in T2CONbits
17046 #define OUTPS1 T2CONbits.OUTPS1 // bit 1, shadows bit in T2CONbits
17047 #define T2OUTPS1 T2CONbits.T2OUTPS1 // bit 1, shadows bit in T2CONbits
17048 #define OUTPS2 T2CONbits.OUTPS2 // bit 2, shadows bit in T2CONbits
17049 #define T2OUTPS2 T2CONbits.T2OUTPS2 // bit 2, shadows bit in T2CONbits
17050 #define OUTPS3 T2CONbits.OUTPS3 // bit 3, shadows bit in T2CONbits
17051 #define T2OUTPS3 T2CONbits.T2OUTPS3 // bit 3, shadows bit in T2CONbits
17052 #define CKPS0 T2CONbits.CKPS0 // bit 4, shadows bit in T2CONbits
17053 #define T2CKPS0 T2CONbits.T2CKPS0 // bit 4, shadows bit in T2CONbits
17054 #define CKPS1 T2CONbits.CKPS1 // bit 5, shadows bit in T2CONbits
17055 #define T2CKPS1 T2CONbits.T2CKPS1 // bit 5, shadows bit in T2CONbits
17056 #define CKPS2 T2CONbits.CKPS2 // bit 6, shadows bit in T2CONbits
17057 #define T2CKPS2 T2CONbits.T2CKPS2 // bit 6, shadows bit in T2CONbits
17058 #define ON T2CONbits.ON // bit 7, shadows bit in T2CONbits
17059 #define T2ON T2CONbits.T2ON // bit 7, shadows bit in T2CONbits
17060 #define TMR2ON T2CONbits.TMR2ON // bit 7, shadows bit in T2CONbits
17062 #define T2PPS0 T2PPSbits.T2PPS0 // bit 0
17063 #define T2PPS1 T2PPSbits.T2PPS1 // bit 1
17064 #define T2PPS2 T2PPSbits.T2PPS2 // bit 2
17065 #define T2PPS3 T2PPSbits.T2PPS3 // bit 3
17066 #define T2PPS4 T2PPSbits.T2PPS4 // bit 4
17068 #define RSEL0 T2RSTbits.RSEL0 // bit 0, shadows bit in T2RSTbits
17069 #define T2RSEL0 T2RSTbits.T2RSEL0 // bit 0, shadows bit in T2RSTbits
17070 #define RSEL1 T2RSTbits.RSEL1 // bit 1, shadows bit in T2RSTbits
17071 #define T2RSEL1 T2RSTbits.T2RSEL1 // bit 1, shadows bit in T2RSTbits
17072 #define RSEL2 T2RSTbits.RSEL2 // bit 2, shadows bit in T2RSTbits
17073 #define T2RSEL2 T2RSTbits.T2RSEL2 // bit 2, shadows bit in T2RSTbits
17074 #define RSEL3 T2RSTbits.RSEL3 // bit 3, shadows bit in T2RSTbits
17075 #define T2RSEL3 T2RSTbits.T2RSEL3 // bit 3, shadows bit in T2RSTbits
17077 #define T3CKIPPS0 T3CKIPPSbits.T3CKIPPS0 // bit 0
17078 #define T3CKIPPS1 T3CKIPPSbits.T3CKIPPS1 // bit 1
17079 #define T3CKIPPS2 T3CKIPPSbits.T3CKIPPS2 // bit 2
17080 #define T3CKIPPS3 T3CKIPPSbits.T3CKIPPS3 // bit 3
17081 #define T3CKIPPS4 T3CKIPPSbits.T3CKIPPS4 // bit 4
17083 #define TMR3ON T3CONbits.TMR3ON // bit 0
17084 #define T3SYNC T3CONbits.T3SYNC // bit 2
17085 #define T3CKPS0 T3CONbits.T3CKPS0 // bit 4
17086 #define T3CKPS1 T3CONbits.T3CKPS1 // bit 5
17087 #define TMR3CS0 T3CONbits.TMR3CS0 // bit 6
17088 #define TMR3CS1 T3CONbits.TMR3CS1 // bit 7
17090 #define T3GSS0 T3GCONbits.T3GSS0 // bit 0
17091 #define T3GSS1 T3GCONbits.T3GSS1 // bit 1
17092 #define T3GVAL T3GCONbits.T3GVAL // bit 2
17093 #define T3GGO_NOT_DONE T3GCONbits.T3GGO_NOT_DONE // bit 3
17094 #define T3GSPM T3GCONbits.T3GSPM // bit 4
17095 #define T3GTM T3GCONbits.T3GTM // bit 5
17096 #define T3GPOL T3GCONbits.T3GPOL // bit 6
17097 #define TMR3GE T3GCONbits.TMR3GE // bit 7
17099 #define T3GPPS0 T3GPPSbits.T3GPPS0 // bit 0
17100 #define T3GPPS1 T3GPPSbits.T3GPPS1 // bit 1
17101 #define T3GPPS2 T3GPPSbits.T3GPPS2 // bit 2
17102 #define T3GPPS3 T3GPPSbits.T3GPPS3 // bit 3
17103 #define T3GPPS4 T3GPPSbits.T3GPPS4 // bit 4
17105 #define T4PPS0 T4PPSbits.T4PPS0 // bit 0
17106 #define T4PPS1 T4PPSbits.T4PPS1 // bit 1
17107 #define T4PPS2 T4PPSbits.T4PPS2 // bit 2
17108 #define T4PPS3 T4PPSbits.T4PPS3 // bit 3
17109 #define T4PPS4 T4PPSbits.T4PPS4 // bit 4
17111 #define T5CKIPPS0 T5CKIPPSbits.T5CKIPPS0 // bit 0
17112 #define T5CKIPPS1 T5CKIPPSbits.T5CKIPPS1 // bit 1
17113 #define T5CKIPPS2 T5CKIPPSbits.T5CKIPPS2 // bit 2
17114 #define T5CKIPPS3 T5CKIPPSbits.T5CKIPPS3 // bit 3
17115 #define T5CKIPPS4 T5CKIPPSbits.T5CKIPPS4 // bit 4
17117 #define TMR5ON T5CONbits.TMR5ON // bit 0
17118 #define T5SYNC T5CONbits.T5SYNC // bit 2
17119 #define T5CKPS0 T5CONbits.T5CKPS0 // bit 4
17120 #define T5CKPS1 T5CONbits.T5CKPS1 // bit 5
17121 #define TMR5CS0 T5CONbits.TMR5CS0 // bit 6
17122 #define TMR5CS1 T5CONbits.TMR5CS1 // bit 7
17124 #define T5GSS0 T5GCONbits.T5GSS0 // bit 0
17125 #define T5GSS1 T5GCONbits.T5GSS1 // bit 1
17126 #define T5GVAL T5GCONbits.T5GVAL // bit 2
17127 #define T5GGO_NOT_DONE T5GCONbits.T5GGO_NOT_DONE // bit 3
17128 #define T5GSPM T5GCONbits.T5GSPM // bit 4
17129 #define T5GTM T5GCONbits.T5GTM // bit 5
17130 #define T5GPOL T5GCONbits.T5GPOL // bit 6
17131 #define TMR5GE T5GCONbits.TMR5GE // bit 7
17133 #define T5GPPS0 T5GPPSbits.T5GPPS0 // bit 0
17134 #define T5GPPS1 T5GPPSbits.T5GPPS1 // bit 1
17135 #define T5GPPS2 T5GPPSbits.T5GPPS2 // bit 2
17136 #define T5GPPS3 T5GPPSbits.T5GPPS3 // bit 3
17137 #define T5GPPS4 T5GPPSbits.T5GPPS4 // bit 4
17139 #define T6PPS0 T6PPSbits.T6PPS0 // bit 0
17140 #define T6PPS1 T6PPSbits.T6PPS1 // bit 1
17141 #define T6PPS2 T6PPSbits.T6PPS2 // bit 2
17142 #define T6PPS3 T6PPSbits.T6PPS3 // bit 3
17143 #define T6PPS4 T6PPSbits.T6PPS4 // bit 4
17145 #define TRISA0 TRISAbits.TRISA0 // bit 0
17146 #define TRISA1 TRISAbits.TRISA1 // bit 1
17147 #define TRISA2 TRISAbits.TRISA2 // bit 2
17148 #define TRISA3 TRISAbits.TRISA3 // bit 3
17149 #define TRISA4 TRISAbits.TRISA4 // bit 4
17150 #define TRISA5 TRISAbits.TRISA5 // bit 5
17152 #define TRISB4 TRISBbits.TRISB4 // bit 4
17153 #define TRISB5 TRISBbits.TRISB5 // bit 5
17154 #define TRISB6 TRISBbits.TRISB6 // bit 6
17155 #define TRISB7 TRISBbits.TRISB7 // bit 7
17157 #define TRISC0 TRISCbits.TRISC0 // bit 0
17158 #define TRISC1 TRISCbits.TRISC1 // bit 1
17159 #define TRISC2 TRISCbits.TRISC2 // bit 2
17160 #define TRISC3 TRISCbits.TRISC3 // bit 3
17161 #define TRISC4 TRISCbits.TRISC4 // bit 4
17162 #define TRISC5 TRISCbits.TRISC5 // bit 5
17163 #define TRISC6 TRISCbits.TRISC6 // bit 6
17164 #define TRISC7 TRISCbits.TRISC7 // bit 7
17166 #define TX9D TX1STAbits.TX9D // bit 0
17167 #define TRMT TX1STAbits.TRMT // bit 1
17168 #define BRGH TX1STAbits.BRGH // bit 2
17169 #define SENDB TX1STAbits.SENDB // bit 3
17170 #define SYNC TX1STAbits.SYNC // bit 4
17171 #define TXEN TX1STAbits.TXEN // bit 5
17172 #define TX9 TX1STAbits.TX9 // bit 6
17173 #define CSRC TX1STAbits.CSRC // bit 7
17175 #define VREGPM0 VREGCONbits.VREGPM0 // bit 0
17176 #define VREGPM1 VREGCONbits.VREGPM1 // bit 1
17178 #define WINDOW0 WDTCON1bits.WINDOW0 // bit 0, shadows bit in WDTCON1bits
17179 #define WDTWINDOW0 WDTCON1bits.WDTWINDOW0 // bit 0, shadows bit in WDTCON1bits
17180 #define WINDOW1 WDTCON1bits.WINDOW1 // bit 1, shadows bit in WDTCON1bits
17181 #define WDTWINDOW1 WDTCON1bits.WDTWINDOW1 // bit 1, shadows bit in WDTCON1bits
17182 #define WINDOW2 WDTCON1bits.WINDOW2 // bit 2, shadows bit in WDTCON1bits
17183 #define WDTWINDOW2 WDTCON1bits.WDTWINDOW2 // bit 2, shadows bit in WDTCON1bits
17184 #define WDTCS0 WDTCON1bits.WDTCS0 // bit 4
17185 #define WDTCS1 WDTCON1bits.WDTCS1 // bit 5
17186 #define WDTCS2 WDTCON1bits.WDTCS2 // bit 6
17188 #define PSCNT8 WDTPSHbits.PSCNT8 // bit 0, shadows bit in WDTPSHbits
17189 #define WDTPSCNT8 WDTPSHbits.WDTPSCNT8 // bit 0, shadows bit in WDTPSHbits
17190 #define PSCNT9 WDTPSHbits.PSCNT9 // bit 1, shadows bit in WDTPSHbits
17191 #define WDTPSCNT9 WDTPSHbits.WDTPSCNT9 // bit 1, shadows bit in WDTPSHbits
17192 #define PSCNT10 WDTPSHbits.PSCNT10 // bit 2, shadows bit in WDTPSHbits
17193 #define WDTPSCNT10 WDTPSHbits.WDTPSCNT10 // bit 2, shadows bit in WDTPSHbits
17194 #define PSCNT11 WDTPSHbits.PSCNT11 // bit 3, shadows bit in WDTPSHbits
17195 #define WDTPSCNT11 WDTPSHbits.WDTPSCNT11 // bit 3, shadows bit in WDTPSHbits
17196 #define PSCNT12 WDTPSHbits.PSCNT12 // bit 4, shadows bit in WDTPSHbits
17197 #define WDTPSCNT12 WDTPSHbits.WDTPSCNT12 // bit 4, shadows bit in WDTPSHbits
17198 #define PSCNT13 WDTPSHbits.PSCNT13 // bit 5, shadows bit in WDTPSHbits
17199 #define WDTPSCNT13 WDTPSHbits.WDTPSCNT13 // bit 5, shadows bit in WDTPSHbits
17200 #define PSCNT14 WDTPSHbits.PSCNT14 // bit 6, shadows bit in WDTPSHbits
17201 #define WDTPSCNT14 WDTPSHbits.WDTPSCNT14 // bit 6, shadows bit in WDTPSHbits
17202 #define PSCNT15 WDTPSHbits.PSCNT15 // bit 7, shadows bit in WDTPSHbits
17203 #define WDTPSCNT15 WDTPSHbits.WDTPSCNT15 // bit 7, shadows bit in WDTPSHbits
17205 #define PSCNT0 WDTPSLbits.PSCNT0 // bit 0, shadows bit in WDTPSLbits
17206 #define WDTPSCNT0 WDTPSLbits.WDTPSCNT0 // bit 0, shadows bit in WDTPSLbits
17207 #define PSCNT1 WDTPSLbits.PSCNT1 // bit 1, shadows bit in WDTPSLbits
17208 #define WDTPSCNT1 WDTPSLbits.WDTPSCNT1 // bit 1, shadows bit in WDTPSLbits
17209 #define PSCNT2 WDTPSLbits.PSCNT2 // bit 2, shadows bit in WDTPSLbits
17210 #define WDTPSCNT2 WDTPSLbits.WDTPSCNT2 // bit 2, shadows bit in WDTPSLbits
17211 #define PSCNT3 WDTPSLbits.PSCNT3 // bit 3, shadows bit in WDTPSLbits
17212 #define WDTPSCNT3 WDTPSLbits.WDTPSCNT3 // bit 3, shadows bit in WDTPSLbits
17213 #define PSCNT4 WDTPSLbits.PSCNT4 // bit 4, shadows bit in WDTPSLbits
17214 #define WDTPSCNT4 WDTPSLbits.WDTPSCNT4 // bit 4, shadows bit in WDTPSLbits
17215 #define PSCNT5 WDTPSLbits.PSCNT5 // bit 5, shadows bit in WDTPSLbits
17216 #define WDTPSCNT5 WDTPSLbits.WDTPSCNT5 // bit 5, shadows bit in WDTPSLbits
17217 #define PSCNT6 WDTPSLbits.PSCNT6 // bit 6, shadows bit in WDTPSLbits
17218 #define WDTPSCNT6 WDTPSLbits.WDTPSCNT6 // bit 6, shadows bit in WDTPSLbits
17219 #define PSCNT7 WDTPSLbits.PSCNT7 // bit 7, shadows bit in WDTPSLbits
17220 #define WDTPSCNT7 WDTPSLbits.WDTPSCNT7 // bit 7, shadows bit in WDTPSLbits
17222 #define PSCNT16 WDTTMRbits.PSCNT16 // bit 0, shadows bit in WDTTMRbits
17223 #define WDTPSCNT16 WDTTMRbits.WDTPSCNT16 // bit 0, shadows bit in WDTTMRbits
17224 #define PSCNT17 WDTTMRbits.PSCNT17 // bit 1, shadows bit in WDTTMRbits
17225 #define WDTPSCNT17 WDTTMRbits.WDTPSCNT17 // bit 1, shadows bit in WDTTMRbits
17226 #define STATE WDTTMRbits.STATE // bit 2, shadows bit in WDTTMRbits
17227 #define WDTSTATE WDTTMRbits.WDTSTATE // bit 2, shadows bit in WDTTMRbits
17228 #define WDTTMR0 WDTTMRbits.WDTTMR0 // bit 3
17229 #define WDTTMR1 WDTTMRbits.WDTTMR1 // bit 4
17230 #define WDTTMR2 WDTTMRbits.WDTTMR2 // bit 5
17231 #define WDTTMR3 WDTTMRbits.WDTTMR3 // bit 6
17232 #define WDTTMR4 WDTTMRbits.WDTTMR4 // bit 7
17234 #define WPUA0 WPUAbits.WPUA0 // bit 0
17235 #define WPUA1 WPUAbits.WPUA1 // bit 1
17236 #define WPUA2 WPUAbits.WPUA2 // bit 2
17237 #define WPUA3 WPUAbits.WPUA3 // bit 3
17238 #define WPUA4 WPUAbits.WPUA4 // bit 4
17239 #define WPUA5 WPUAbits.WPUA5 // bit 5
17241 #define WPUB4 WPUBbits.WPUB4 // bit 4
17242 #define WPUB5 WPUBbits.WPUB5 // bit 5
17243 #define WPUB6 WPUBbits.WPUB6 // bit 6
17244 #define WPUB7 WPUBbits.WPUB7 // bit 7
17246 #define WPUC0 WPUCbits.WPUC0 // bit 0
17247 #define WPUC1 WPUCbits.WPUC1 // bit 1
17248 #define WPUC2 WPUCbits.WPUC2 // bit 2
17249 #define WPUC3 WPUCbits.WPUC3 // bit 3
17250 #define WPUC4 WPUCbits.WPUC4 // bit 4
17251 #define WPUC5 WPUCbits.WPUC5 // bit 5
17252 #define WPUC6 WPUCbits.WPUC6 // bit 6
17253 #define WPUC7 WPUCbits.WPUC7 // bit 7
17255 #define ZCD1INTN ZCD1CONbits.ZCD1INTN // bit 0
17256 #define ZCD1INTP ZCD1CONbits.ZCD1INTP // bit 1
17257 #define ZCD1POL ZCD1CONbits.ZCD1POL // bit 4
17258 #define ZCD1OUT ZCD1CONbits.ZCD1OUT // bit 5
17259 #define ZCD1EN ZCD1CONbits.ZCD1EN // bit 7
17261 #endif // #ifndef NO_BIT_DEFINES
17263 #endif // #ifndef __PIC16F1618_H__