2 * This declarations of the PIC16LF1618 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 __PIC16LF1618_H__
26 #define __PIC16LF1618_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 RC1REG_ADDR 0x0199
116 #define RCREG_ADDR 0x0199
117 #define RCREG1_ADDR 0x0199
118 #define TX1REG_ADDR 0x019A
119 #define TXREG_ADDR 0x019A
120 #define TXREG1_ADDR 0x019A
121 #define SP1BRG_ADDR 0x019B
122 #define SP1BRGL_ADDR 0x019B
123 #define SPBRG_ADDR 0x019B
124 #define SPBRG1_ADDR 0x019B
125 #define SPBRGL_ADDR 0x019B
126 #define SP1BRGH_ADDR 0x019C
127 #define SPBRGH_ADDR 0x019C
128 #define SPBRGH1_ADDR 0x019C
129 #define RC1STA_ADDR 0x019D
130 #define RCSTA_ADDR 0x019D
131 #define RCSTA1_ADDR 0x019D
132 #define TX1STA_ADDR 0x019E
133 #define TXSTA_ADDR 0x019E
134 #define TXSTA1_ADDR 0x019E
135 #define BAUD1CON_ADDR 0x019F
136 #define BAUDCON_ADDR 0x019F
137 #define BAUDCON1_ADDR 0x019F
138 #define BAUDCTL_ADDR 0x019F
139 #define BAUDCTL1_ADDR 0x019F
140 #define WPUA_ADDR 0x020C
141 #define WPUB_ADDR 0x020D
142 #define WPUC_ADDR 0x020E
143 #define SSP1BUF_ADDR 0x0211
144 #define SSPBUF_ADDR 0x0211
145 #define SSP1ADD_ADDR 0x0212
146 #define SSPADD_ADDR 0x0212
147 #define SSP1MSK_ADDR 0x0213
148 #define SSPMSK_ADDR 0x0213
149 #define SSP1STAT_ADDR 0x0214
150 #define SSPSTAT_ADDR 0x0214
151 #define SSP1CON_ADDR 0x0215
152 #define SSP1CON1_ADDR 0x0215
153 #define SSPCON_ADDR 0x0215
154 #define SSPCON1_ADDR 0x0215
155 #define SSP1CON2_ADDR 0x0216
156 #define SSPCON2_ADDR 0x0216
157 #define SSP1CON3_ADDR 0x0217
158 #define SSPCON3_ADDR 0x0217
159 #define ODCONA_ADDR 0x028C
160 #define ODCONB_ADDR 0x028D
161 #define ODCONC_ADDR 0x028E
162 #define CCPR1_ADDR 0x0291
163 #define CCPR1L_ADDR 0x0291
164 #define CCPR1H_ADDR 0x0292
165 #define CCP1CON_ADDR 0x0293
166 #define CCP1CAP_ADDR 0x0294
167 #define CCPR2_ADDR 0x0298
168 #define CCPR2L_ADDR 0x0298
169 #define CCPR2H_ADDR 0x0299
170 #define CCP2CON_ADDR 0x029A
171 #define CCP2CAP_ADDR 0x029B
172 #define CCPTMRS_ADDR 0x029E
173 #define SLRCONA_ADDR 0x030C
174 #define SLRCONB_ADDR 0x030D
175 #define SLRCONC_ADDR 0x030E
176 #define INLVLA_ADDR 0x038C
177 #define INLVLB_ADDR 0x038D
178 #define INLVLC_ADDR 0x038E
179 #define IOCAP_ADDR 0x0391
180 #define IOCAN_ADDR 0x0392
181 #define IOCAF_ADDR 0x0393
182 #define IOCBP_ADDR 0x0394
183 #define IOCBN_ADDR 0x0395
184 #define IOCBF_ADDR 0x0396
185 #define IOCCP_ADDR 0x0397
186 #define IOCCN_ADDR 0x0398
187 #define IOCCF_ADDR 0x0399
188 #define HDRVC_ADDR 0x040E
189 #define T4TMR_ADDR 0x0413
190 #define TMR4_ADDR 0x0413
191 #define PR4_ADDR 0x0414
192 #define T4PR_ADDR 0x0414
193 #define T4CON_ADDR 0x0415
194 #define T4HLT_ADDR 0x0416
195 #define T4CLKCON_ADDR 0x0417
196 #define T4RST_ADDR 0x0418
197 #define T6TMR_ADDR 0x041A
198 #define TMR6_ADDR 0x041A
199 #define PR6_ADDR 0x041B
200 #define T6PR_ADDR 0x041B
201 #define T6CON_ADDR 0x041C
202 #define T6HLT_ADDR 0x041D
203 #define T6CLKCON_ADDR 0x041E
204 #define T6RST_ADDR 0x041F
205 #define TMR3L_ADDR 0x0493
206 #define TMR3H_ADDR 0x0494
207 #define T3CON_ADDR 0x0495
208 #define T3GCON_ADDR 0x0496
209 #define TMR5L_ADDR 0x049A
210 #define TMR5H_ADDR 0x049B
211 #define T5CON_ADDR 0x049C
212 #define T5GCON_ADDR 0x049D
213 #define PID1SET_ADDR 0x058C
214 #define PID1SETL_ADDR 0x058C
215 #define PID1SETH_ADDR 0x058D
216 #define PID1IN_ADDR 0x058E
217 #define PID1INL_ADDR 0x058E
218 #define PID1INH_ADDR 0x058F
219 #define PID1K1_ADDR 0x0590
220 #define PID1K1L_ADDR 0x0590
221 #define PID1K1H_ADDR 0x0591
222 #define PID1K2_ADDR 0x0592
223 #define PID1K2L_ADDR 0x0592
224 #define PID1K2H_ADDR 0x0593
225 #define PID1K3_ADDR 0x0594
226 #define PID1K3L_ADDR 0x0594
227 #define PID1K3H_ADDR 0x0595
228 #define PID1OUT_ADDR 0x0596
229 #define PID1OUTLL_ADDR 0x0596
230 #define PID1OUTLH_ADDR 0x0597
231 #define PID1OUTHL_ADDR 0x0598
232 #define PID1OUTHH_ADDR 0x0599
233 #define PID1OUTU_ADDR 0x059A
234 #define PID1Z1_ADDR 0x059B
235 #define PID1Z1L_ADDR 0x059B
236 #define PID1Z1H_ADDR 0x059C
237 #define PID1Z1U_ADDR 0x059D
238 #define PID1Z2_ADDR 0x060C
239 #define PID1Z2L_ADDR 0x060C
240 #define PID1Z2H_ADDR 0x060D
241 #define PID1Z2U_ADDR 0x060E
242 #define PID1ACC_ADDR 0x060F
243 #define PID1ACCLL_ADDR 0x060F
244 #define PID1ACCLH_ADDR 0x0610
245 #define PID1ACCHL_ADDR 0x0611
246 #define PID1ACCHH_ADDR 0x0612
247 #define PID1ACCU_ADDR 0x0613
248 #define PID1CON_ADDR 0x0614
249 #define PWM3DCL_ADDR 0x0617
250 #define PWM3DCH_ADDR 0x0618
251 #define PWM3CON_ADDR 0x0619
252 #define PWM4DCL_ADDR 0x061A
253 #define PWM4DCH_ADDR 0x061B
254 #define PWM4CON_ADDR 0x061C
255 #define CWG1DBR_ADDR 0x0691
256 #define CWG1DBF_ADDR 0x0692
257 #define CWG1AS0_ADDR 0x0693
258 #define CWG1AS1_ADDR 0x0694
259 #define CWG1OCON0_ADDR 0x0695
260 #define CWG1CON0_ADDR 0x0696
261 #define CWG1CON1_ADDR 0x0697
262 #define CWG1CLKCON_ADDR 0x0699
263 #define CWG1ISM_ADDR 0x069A
264 #define WDTCON0_ADDR 0x0711
265 #define WDTCON1_ADDR 0x0712
266 #define WDTPSL_ADDR 0x0713
267 #define WDTPSH_ADDR 0x0714
268 #define WDTTMR_ADDR 0x0715
269 #define SCANLADR_ADDR 0x0718
270 #define SCANLADRL_ADDR 0x0718
271 #define SCANLADRH_ADDR 0x0719
272 #define SCANHADR_ADDR 0x071A
273 #define SCANHADRL_ADDR 0x071A
274 #define SCANHADRH_ADDR 0x071B
275 #define SCANCON0_ADDR 0x071C
276 #define SCANTRIG_ADDR 0x071D
277 #define CRCDAT_ADDR 0x0791
278 #define CRCDATL_ADDR 0x0791
279 #define CRCDATH_ADDR 0x0792
280 #define CRCACC_ADDR 0x0793
281 #define CRCACCL_ADDR 0x0793
282 #define CRCACCH_ADDR 0x0794
283 #define CRCSHIFT_ADDR 0x0795
284 #define CRCSHIFTL_ADDR 0x0795
285 #define CRCSHIFTH_ADDR 0x0796
286 #define CRCXOR_ADDR 0x0797
287 #define CRCXORL_ADDR 0x0797
288 #define CRCXORH_ADDR 0x0798
289 #define CRCCON0_ADDR 0x0799
290 #define CRCCON1_ADDR 0x079A
291 #define AT1RES_ADDR 0x080C
292 #define AT1RESL_ADDR 0x080C
293 #define AT1RESH_ADDR 0x080D
294 #define AT1MISS_ADDR 0x080E
295 #define AT1MISSL_ADDR 0x080E
296 #define AT1MISSH_ADDR 0x080F
297 #define AT1PER_ADDR 0x0810
298 #define AT1PERL_ADDR 0x0810
299 #define AT1PERH_ADDR 0x0811
300 #define AT1PHS_ADDR 0x0812
301 #define AT1PHSL_ADDR 0x0812
302 #define AT1PHSH_ADDR 0x0813
303 #define AT1CON0_ADDR 0x0814
304 #define AT1CON1_ADDR 0x0815
305 #define AT1IR0_ADDR 0x0816
306 #define AT1IE0_ADDR 0x0817
307 #define AT1IR1_ADDR 0x0818
308 #define AT1IE1_ADDR 0x0819
309 #define AT1STPT_ADDR 0x081A
310 #define AT1STPTL_ADDR 0x081A
311 #define AT1STPTH_ADDR 0x081B
312 #define AT1ERR_ADDR 0x081C
313 #define AT1ERRL_ADDR 0x081C
314 #define AT1ERRH_ADDR 0x081D
315 #define AT1CLK_ADDR 0x088C
316 #define AT1SIG_ADDR 0x088D
317 #define AT1CSEL1_ADDR 0x088E
318 #define AT1CC1_ADDR 0x088F
319 #define AT1CC1L_ADDR 0x088F
320 #define AT1CC1H_ADDR 0x0890
321 #define AT1CCON1_ADDR 0x0891
322 #define AT1CSEL2_ADDR 0x0892
323 #define AT1CC2_ADDR 0x0893
324 #define AT1CC2L_ADDR 0x0893
325 #define AT1CC2H_ADDR 0x0894
326 #define AT1CCON2_ADDR 0x0895
327 #define AT1CSEL3_ADDR 0x0896
328 #define AT1CC3_ADDR 0x0897
329 #define AT1CC3L_ADDR 0x0897
330 #define AT1CC3H_ADDR 0x0898
331 #define AT1CCON3_ADDR 0x0899
332 #define SMT1TMR_ADDR 0x0D8C
333 #define SMT1TMRL_ADDR 0x0D8C
334 #define SMT1TMRH_ADDR 0x0D8D
335 #define SMT1TMRU_ADDR 0x0D8E
336 #define SMT1CPR_ADDR 0x0D8F
337 #define SMT1CPRL_ADDR 0x0D8F
338 #define SMT1CPRH_ADDR 0x0D90
339 #define SMT1CPRU_ADDR 0x0D91
340 #define SMT1CPW_ADDR 0x0D92
341 #define SMT1CPWL_ADDR 0x0D92
342 #define SMT1CPWH_ADDR 0x0D93
343 #define SMT1CPWU_ADDR 0x0D94
344 #define SMT1PR_ADDR 0x0D95
345 #define SMT1PRL_ADDR 0x0D95
346 #define SMT1PRH_ADDR 0x0D96
347 #define SMT1PRU_ADDR 0x0D97
348 #define SMT1CON0_ADDR 0x0D98
349 #define SMT1CON1_ADDR 0x0D99
350 #define SMT1STAT_ADDR 0x0D9A
351 #define SMT1CLK_ADDR 0x0D9B
352 #define SMT1SIG_ADDR 0x0D9C
353 #define SMT1WIN_ADDR 0x0D9D
354 #define SMT2TMR_ADDR 0x0D9E
355 #define SMT2TMRL_ADDR 0x0D9E
356 #define SMT2TMRH_ADDR 0x0D9F
357 #define SMT2TMRU_ADDR 0x0DA0
358 #define SMT2CPR_ADDR 0x0DA1
359 #define SMT2CPRL_ADDR 0x0DA1
360 #define SMT2CPRH_ADDR 0x0DA2
361 #define SMT2CPRU_ADDR 0x0DA3
362 #define SMT2CPW_ADDR 0x0DA4
363 #define SMT2CPWL_ADDR 0x0DA4
364 #define SMT2CPWH_ADDR 0x0DA5
365 #define SMT2CPWU_ADDR 0x0DA6
366 #define SMT2PR_ADDR 0x0DA7
367 #define SMT2PRL_ADDR 0x0DA7
368 #define SMT2PRH_ADDR 0x0DA8
369 #define SMT2PRU_ADDR 0x0DA9
370 #define SMT2CON0_ADDR 0x0DAA
371 #define SMT2CON1_ADDR 0x0DAB
372 #define SMT2STAT_ADDR 0x0DAC
373 #define SMT2CLK_ADDR 0x0DAD
374 #define SMT2SIG_ADDR 0x0DAE
375 #define SMT2WIN_ADDR 0x0DAF
376 #define PPSLOCK_ADDR 0x0E0F
377 #define INTPPS_ADDR 0x0E10
378 #define T0CKIPPS_ADDR 0x0E11
379 #define T1CKIPPS_ADDR 0x0E12
380 #define T1GPPS_ADDR 0x0E13
381 #define CCP1PPS_ADDR 0x0E14
382 #define CCP2PPS_ADDR 0x0E15
383 #define ATINPPS_ADDR 0x0E16
384 #define CWGINPPS_ADDR 0x0E17
385 #define T2PPS_ADDR 0x0E18
386 #define T3CKIPPS_ADDR 0x0E19
387 #define T3GPPS_ADDR 0x0E1A
388 #define T4PPS_ADDR 0x0E1B
389 #define T5CKIPPS_ADDR 0x0E1C
390 #define T5GPPS_ADDR 0x0E1D
391 #define T6PPS_ADDR 0x0E1E
392 #define ATCC1PPS_ADDR 0x0E1F
393 #define SSPCLKPPS_ADDR 0x0E20
394 #define SSPDATPPS_ADDR 0x0E21
395 #define SSPSSPPS_ADDR 0x0E22
396 #define ATCC2PPS_ADDR 0x0E23
397 #define RXPPS_ADDR 0x0E24
398 #define CKPPS_ADDR 0x0E25
399 #define SMT1SIGPPS_ADDR 0x0E26
400 #define SMT1WINPPS_ADDR 0x0E27
401 #define CLCIN0PPS_ADDR 0x0E28
402 #define CLCIN1PPS_ADDR 0x0E29
403 #define CLCIN2PPS_ADDR 0x0E2A
404 #define CLCIN3PPS_ADDR 0x0E2B
405 #define SMT2SIGPPS_ADDR 0x0E2C
406 #define SMT2WINPPS_ADDR 0x0E2D
407 #define ATCC3PPS_ADDR 0x0E2E
408 #define RA0PPS_ADDR 0x0E90
409 #define RA1PPS_ADDR 0x0E91
410 #define RA2PPS_ADDR 0x0E92
411 #define RA4PPS_ADDR 0x0E94
412 #define RA5PPS_ADDR 0x0E95
413 #define RB4PPS_ADDR 0x0E9C
414 #define RB5PPS_ADDR 0x0E9D
415 #define RB6PPS_ADDR 0x0E9E
416 #define RB7PPS_ADDR 0x0E9F
417 #define RC0PPS_ADDR 0x0EA0
418 #define RC1PPS_ADDR 0x0EA1
419 #define RC2PPS_ADDR 0x0EA2
420 #define RC3PPS_ADDR 0x0EA3
421 #define RC4PPS_ADDR 0x0EA4
422 #define RC5PPS_ADDR 0x0EA5
423 #define RC6PPS_ADDR 0x0EA6
424 #define RC7PPS_ADDR 0x0EA7
425 #define CLCDATA_ADDR 0x0F0F
426 #define CLC1CON_ADDR 0x0F10
427 #define CLC1POL_ADDR 0x0F11
428 #define CLC1SEL0_ADDR 0x0F12
429 #define CLC1SEL1_ADDR 0x0F13
430 #define CLC1SEL2_ADDR 0x0F14
431 #define CLC1SEL3_ADDR 0x0F15
432 #define CLC1GLS0_ADDR 0x0F16
433 #define CLC1GLS1_ADDR 0x0F17
434 #define CLC1GLS2_ADDR 0x0F18
435 #define CLC1GLS3_ADDR 0x0F19
436 #define CLC2CON_ADDR 0x0F1A
437 #define CLC2POL_ADDR 0x0F1B
438 #define CLC2SEL0_ADDR 0x0F1C
439 #define CLC2SEL1_ADDR 0x0F1D
440 #define CLC2SEL2_ADDR 0x0F1E
441 #define CLC2SEL3_ADDR 0x0F1F
442 #define CLC2GLS0_ADDR 0x0F20
443 #define CLC2GLS1_ADDR 0x0F21
444 #define CLC2GLS2_ADDR 0x0F22
445 #define CLC2GLS3_ADDR 0x0F23
446 #define STATUS_SHAD_ADDR 0x0FE4
447 #define WREG_SHAD_ADDR 0x0FE5
448 #define BSR_SHAD_ADDR 0x0FE6
449 #define PCLATH_SHAD_ADDR 0x0FE7
450 #define FSR0L_SHAD_ADDR 0x0FE8
451 #define FSR0H_SHAD_ADDR 0x0FE9
452 #define FSR1L_SHAD_ADDR 0x0FEA
453 #define FSR1H_SHAD_ADDR 0x0FEB
454 #define STKPTR_ADDR 0x0FED
455 #define TOSL_ADDR 0x0FEE
456 #define TOSH_ADDR 0x0FEF
458 #endif // #ifndef NO_ADDR_DEFINES
460 //==============================================================================
462 // Register Definitions
464 //==============================================================================
466 extern __at(0x0000) __sfr INDF0
;
467 extern __at(0x0001) __sfr INDF1
;
468 extern __at(0x0002) __sfr PCL
;
470 //==============================================================================
473 extern __at(0x0003) __sfr STATUS
;
487 extern __at(0x0003) volatile __STATUSbits_t STATUSbits
;
495 //==============================================================================
497 extern __at(0x0004) __sfr FSR0
;
498 extern __at(0x0004) __sfr FSR0L
;
499 extern __at(0x0005) __sfr FSR0H
;
500 extern __at(0x0006) __sfr FSR1
;
501 extern __at(0x0006) __sfr FSR1L
;
502 extern __at(0x0007) __sfr FSR1H
;
504 //==============================================================================
507 extern __at(0x0008) __sfr BSR
;
530 extern __at(0x0008) volatile __BSRbits_t BSRbits
;
538 //==============================================================================
540 extern __at(0x0009) __sfr WREG
;
541 extern __at(0x000A) __sfr PCLATH
;
543 //==============================================================================
546 extern __at(0x000B) __sfr INTCON
;
575 extern __at(0x000B) volatile __INTCONbits_t INTCONbits
;
588 //==============================================================================
591 //==============================================================================
594 extern __at(0x000C) __sfr PORTA
;
617 extern __at(0x000C) volatile __PORTAbits_t PORTAbits
;
626 //==============================================================================
629 //==============================================================================
632 extern __at(0x000D) __sfr PORTB
;
646 extern __at(0x000D) volatile __PORTBbits_t PORTBbits
;
653 //==============================================================================
656 //==============================================================================
659 extern __at(0x000E) __sfr PORTC
;
673 extern __at(0x000E) volatile __PORTCbits_t PORTCbits
;
684 //==============================================================================
687 //==============================================================================
690 extern __at(0x0010) __sfr PIR1
;
701 unsigned TMR1GIF
: 1;
704 extern __at(0x0010) volatile __PIR1bits_t PIR1bits
;
713 #define _TMR1GIF 0x80
715 //==============================================================================
718 //==============================================================================
721 extern __at(0x0011) __sfr PIR2
;
735 extern __at(0x0011) volatile __PIR2bits_t PIR2bits
;
744 //==============================================================================
747 //==============================================================================
750 extern __at(0x0012) __sfr PIR3
;
764 extern __at(0x0012) volatile __PIR3bits_t PIR3bits
;
771 //==============================================================================
774 //==============================================================================
777 extern __at(0x0013) __sfr PIR4
;
782 unsigned SMT1PRAIF
: 1;
783 unsigned SMT1PWAIF
: 1;
785 unsigned SMT2PRAIF
: 1;
786 unsigned SMT2PWAIF
: 1;
791 extern __at(0x0013) volatile __PIR4bits_t PIR4bits
;
794 #define _SMT1PRAIF 0x02
795 #define _SMT1PWAIF 0x04
797 #define _SMT2PRAIF 0x10
798 #define _SMT2PWAIF 0x20
802 //==============================================================================
805 //==============================================================================
808 extern __at(0x0014) __sfr PIR5
;
812 unsigned PID1DIF
: 1;
813 unsigned PID1EIF
: 1;
817 unsigned TMR5GIF
: 1;
819 unsigned TMR3GIF
: 1;
822 extern __at(0x0014) volatile __PIR5bits_t PIR5bits
;
824 #define _PID1DIF 0x01
825 #define _PID1EIF 0x02
828 #define _TMR5GIF 0x20
830 #define _TMR3GIF 0x80
832 //==============================================================================
834 extern __at(0x0015) __sfr TMR0
;
835 extern __at(0x0016) __sfr TMR1
;
836 extern __at(0x0016) __sfr TMR1L
;
837 extern __at(0x0017) __sfr TMR1H
;
839 //==============================================================================
842 extern __at(0x0018) __sfr T1CON
;
850 unsigned NOT_T1SYNC
: 1;
852 unsigned T1CKPS0
: 1;
853 unsigned T1CKPS1
: 1;
854 unsigned TMR1CS0
: 1;
855 unsigned TMR1CS1
: 1;
872 extern __at(0x0018) volatile __T1CONbits_t T1CONbits
;
875 #define _NOT_T1SYNC 0x04
876 #define _T1CKPS0 0x10
877 #define _T1CKPS1 0x20
878 #define _TMR1CS0 0x40
879 #define _TMR1CS1 0x80
881 //==============================================================================
884 //==============================================================================
887 extern __at(0x0019) __sfr T1GCON
;
896 unsigned T1GGO_NOT_DONE
: 1;
910 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits
;
915 #define _T1GGO_NOT_DONE 0x08
921 //==============================================================================
923 extern __at(0x001A) __sfr T2TMR
;
924 extern __at(0x001A) __sfr TMR2
;
925 extern __at(0x001B) __sfr PR2
;
926 extern __at(0x001B) __sfr T2PR
;
928 //==============================================================================
931 extern __at(0x001C) __sfr T2CON
;
949 unsigned T2OUTPS0
: 1;
950 unsigned T2OUTPS1
: 1;
951 unsigned T2OUTPS2
: 1;
952 unsigned T2OUTPS3
: 1;
953 unsigned T2CKPS0
: 1;
954 unsigned T2CKPS1
: 1;
955 unsigned T2CKPS2
: 1;
979 unsigned T2OUTPS
: 4;
998 extern __at(0x001C) volatile __T2CONbits_t T2CONbits
;
1000 #define _OUTPS0 0x01
1001 #define _T2OUTPS0 0x01
1002 #define _OUTPS1 0x02
1003 #define _T2OUTPS1 0x02
1004 #define _OUTPS2 0x04
1005 #define _T2OUTPS2 0x04
1006 #define _OUTPS3 0x08
1007 #define _T2OUTPS3 0x08
1009 #define _T2CKPS0 0x10
1011 #define _T2CKPS1 0x20
1013 #define _T2CKPS2 0x40
1016 #define _TMR2ON 0x80
1018 //==============================================================================
1021 //==============================================================================
1024 extern __at(0x001D) __sfr T2HLT
;
1035 unsigned CKSYNC
: 1;
1042 unsigned T2MODE0
: 1;
1043 unsigned T2MODE1
: 1;
1044 unsigned T2MODE2
: 1;
1045 unsigned T2MODE3
: 1;
1046 unsigned T2MODE4
: 1;
1047 unsigned T2CKSYNC
: 1;
1048 unsigned T2CKPOL
: 1;
1049 unsigned T2PSYNC
: 1;
1054 unsigned T2MODE
: 5;
1065 extern __at(0x001D) volatile __T2HLTbits_t T2HLTbits
;
1067 #define _T2HLT_MODE0 0x01
1068 #define _T2HLT_T2MODE0 0x01
1069 #define _T2HLT_MODE1 0x02
1070 #define _T2HLT_T2MODE1 0x02
1071 #define _T2HLT_MODE2 0x04
1072 #define _T2HLT_T2MODE2 0x04
1073 #define _T2HLT_MODE3 0x08
1074 #define _T2HLT_T2MODE3 0x08
1075 #define _T2HLT_MODE4 0x10
1076 #define _T2HLT_T2MODE4 0x10
1077 #define _T2HLT_CKSYNC 0x20
1078 #define _T2HLT_T2CKSYNC 0x20
1079 #define _T2HLT_CKPOL 0x40
1080 #define _T2HLT_T2CKPOL 0x40
1081 #define _T2HLT_PSYNC 0x80
1082 #define _T2HLT_T2PSYNC 0x80
1084 //==============================================================================
1087 //==============================================================================
1090 extern __at(0x001E) __sfr T2CLKCON
;
1131 extern __at(0x001E) volatile __T2CLKCONbits_t T2CLKCONbits
;
1133 #define _T2CLKCON_CS0 0x01
1134 #define _T2CLKCON_T2CS0 0x01
1135 #define _T2CLKCON_CS1 0x02
1136 #define _T2CLKCON_T2CS1 0x02
1137 #define _T2CLKCON_CS2 0x04
1138 #define _T2CLKCON_T2CS2 0x04
1139 #define _T2CLKCON_CS3 0x08
1140 #define _T2CLKCON_T2CS3 0x08
1142 //==============================================================================
1145 //==============================================================================
1148 extern __at(0x001F) __sfr T2RST
;
1166 unsigned T2RSEL0
: 1;
1167 unsigned T2RSEL1
: 1;
1168 unsigned T2RSEL2
: 1;
1169 unsigned T2RSEL3
: 1;
1184 unsigned T2RSEL
: 4;
1189 extern __at(0x001F) volatile __T2RSTbits_t T2RSTbits
;
1192 #define _T2RSEL0 0x01
1194 #define _T2RSEL1 0x02
1196 #define _T2RSEL2 0x04
1198 #define _T2RSEL3 0x08
1200 //==============================================================================
1203 //==============================================================================
1206 extern __at(0x008C) __sfr TRISA
;
1212 unsigned TRISA0
: 1;
1213 unsigned TRISA1
: 1;
1214 unsigned TRISA2
: 1;
1215 unsigned TRISA3
: 1;
1216 unsigned TRISA4
: 1;
1217 unsigned TRISA5
: 1;
1229 extern __at(0x008C) volatile __TRISAbits_t TRISAbits
;
1231 #define _TRISA0 0x01
1232 #define _TRISA1 0x02
1233 #define _TRISA2 0x04
1234 #define _TRISA3 0x08
1235 #define _TRISA4 0x10
1236 #define _TRISA5 0x20
1238 //==============================================================================
1241 //==============================================================================
1244 extern __at(0x008D) __sfr TRISB
;
1252 unsigned TRISB4
: 1;
1253 unsigned TRISB5
: 1;
1254 unsigned TRISB6
: 1;
1255 unsigned TRISB7
: 1;
1258 extern __at(0x008D) volatile __TRISBbits_t TRISBbits
;
1260 #define _TRISB4 0x10
1261 #define _TRISB5 0x20
1262 #define _TRISB6 0x40
1263 #define _TRISB7 0x80
1265 //==============================================================================
1268 //==============================================================================
1271 extern __at(0x008E) __sfr TRISC
;
1275 unsigned TRISC0
: 1;
1276 unsigned TRISC1
: 1;
1277 unsigned TRISC2
: 1;
1278 unsigned TRISC3
: 1;
1279 unsigned TRISC4
: 1;
1280 unsigned TRISC5
: 1;
1281 unsigned TRISC6
: 1;
1282 unsigned TRISC7
: 1;
1285 extern __at(0x008E) volatile __TRISCbits_t TRISCbits
;
1287 #define _TRISC0 0x01
1288 #define _TRISC1 0x02
1289 #define _TRISC2 0x04
1290 #define _TRISC3 0x08
1291 #define _TRISC4 0x10
1292 #define _TRISC5 0x20
1293 #define _TRISC6 0x40
1294 #define _TRISC7 0x80
1296 //==============================================================================
1299 //==============================================================================
1302 extern __at(0x0090) __sfr PIE1
;
1306 unsigned TMR1IE
: 1;
1307 unsigned TMR2IE
: 1;
1308 unsigned CCP1IE
: 1;
1309 unsigned SSP1IE
: 1;
1313 unsigned TMR1GIE
: 1;
1316 extern __at(0x0090) volatile __PIE1bits_t PIE1bits
;
1318 #define _TMR1IE 0x01
1319 #define _TMR2IE 0x02
1320 #define _CCP1IE 0x04
1321 #define _SSP1IE 0x08
1325 #define _TMR1GIE 0x80
1327 //==============================================================================
1330 //==============================================================================
1333 extern __at(0x0091) __sfr PIE2
;
1337 unsigned CCP2IE
: 1;
1338 unsigned TMR4IE
: 1;
1339 unsigned TMR6IE
: 1;
1340 unsigned BCL1IE
: 1;
1347 extern __at(0x0091) volatile __PIE2bits_t PIE2bits
;
1349 #define _CCP2IE 0x01
1350 #define _TMR4IE 0x02
1351 #define _TMR6IE 0x04
1352 #define _BCL1IE 0x08
1356 //==============================================================================
1359 //==============================================================================
1362 extern __at(0x0092) __sfr PIE3
;
1366 unsigned CLC1IE
: 1;
1367 unsigned CLC2IE
: 1;
1376 extern __at(0x0092) volatile __PIE3bits_t PIE3bits
;
1378 #define _CLC1IE 0x01
1379 #define _CLC2IE 0x02
1383 //==============================================================================
1386 //==============================================================================
1389 extern __at(0x0093) __sfr PIE4
;
1393 unsigned SMT1IE
: 1;
1394 unsigned SMT1PRAIE
: 1;
1395 unsigned SMT1PWAIE
: 1;
1396 unsigned SMT2IE
: 1;
1397 unsigned SMT2PRAIE
: 1;
1398 unsigned SMT2PWAIE
: 1;
1400 unsigned SCANIE
: 1;
1403 extern __at(0x0093) volatile __PIE4bits_t PIE4bits
;
1405 #define _SMT1IE 0x01
1406 #define _SMT1PRAIE 0x02
1407 #define _SMT1PWAIE 0x04
1408 #define _SMT2IE 0x08
1409 #define _SMT2PRAIE 0x10
1410 #define _SMT2PWAIE 0x20
1412 #define _SCANIE 0x80
1414 //==============================================================================
1417 //==============================================================================
1420 extern __at(0x0094) __sfr PIE5
;
1424 unsigned PID1DIE
: 1;
1425 unsigned PID1EIE
: 1;
1428 unsigned TMR5IE
: 1;
1429 unsigned TMR5GIE
: 1;
1430 unsigned TMR3IE
: 1;
1431 unsigned TMR3GIE
: 1;
1434 extern __at(0x0094) volatile __PIE5bits_t PIE5bits
;
1436 #define _PID1DIE 0x01
1437 #define _PID1EIE 0x02
1439 #define _TMR5IE 0x10
1440 #define _TMR5GIE 0x20
1441 #define _TMR3IE 0x40
1442 #define _TMR3GIE 0x80
1444 //==============================================================================
1447 //==============================================================================
1450 extern __at(0x0095) __sfr OPTION_REG
;
1460 unsigned TMR0SE
: 1;
1461 unsigned TMR0CS
: 1;
1462 unsigned INTEDG
: 1;
1463 unsigned NOT_WPUEN
: 1;
1483 } __OPTION_REGbits_t
;
1485 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits
;
1487 #define _OPTION_REG_PS0 0x01
1488 #define _OPTION_REG_PS1 0x02
1489 #define _OPTION_REG_PS2 0x04
1490 #define _OPTION_REG_PSA 0x08
1491 #define _OPTION_REG_TMR0SE 0x10
1492 #define _OPTION_REG_T0SE 0x10
1493 #define _OPTION_REG_TMR0CS 0x20
1494 #define _OPTION_REG_T0CS 0x20
1495 #define _OPTION_REG_INTEDG 0x40
1496 #define _OPTION_REG_NOT_WPUEN 0x80
1498 //==============================================================================
1501 //==============================================================================
1504 extern __at(0x0096) __sfr PCON
;
1508 unsigned NOT_BOR
: 1;
1509 unsigned NOT_POR
: 1;
1510 unsigned NOT_RI
: 1;
1511 unsigned NOT_RMCLR
: 1;
1512 unsigned NOT_RWDT
: 1;
1513 unsigned NOT_WDTWV
: 1;
1514 unsigned STKUNF
: 1;
1515 unsigned STKOVF
: 1;
1518 extern __at(0x0096) volatile __PCONbits_t PCONbits
;
1520 #define _NOT_BOR 0x01
1521 #define _NOT_POR 0x02
1522 #define _NOT_RI 0x04
1523 #define _NOT_RMCLR 0x08
1524 #define _NOT_RWDT 0x10
1525 #define _NOT_WDTWV 0x20
1526 #define _STKUNF 0x40
1527 #define _STKOVF 0x80
1529 //==============================================================================
1532 //==============================================================================
1535 extern __at(0x0098) __sfr OSCTUNE
;
1558 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits
;
1567 //==============================================================================
1570 //==============================================================================
1573 extern __at(0x0099) __sfr OSCCON
;
1586 unsigned SPLLEN
: 1;
1603 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits
;
1611 #define _SPLLEN 0x80
1613 //==============================================================================
1616 //==============================================================================
1619 extern __at(0x009A) __sfr OSCSTAT
;
1623 unsigned HFIOFS
: 1;
1624 unsigned LFIOFR
: 1;
1625 unsigned MFIOFR
: 1;
1626 unsigned HFIOFL
: 1;
1627 unsigned HFIOFR
: 1;
1633 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits
;
1635 #define _HFIOFS 0x01
1636 #define _LFIOFR 0x02
1637 #define _MFIOFR 0x04
1638 #define _HFIOFL 0x08
1639 #define _HFIOFR 0x10
1642 //==============================================================================
1644 extern __at(0x009B) __sfr ADRES
;
1645 extern __at(0x009B) __sfr ADRESL
;
1646 extern __at(0x009C) __sfr ADRESH
;
1648 //==============================================================================
1651 extern __at(0x009D) __sfr ADCON0
;
1658 unsigned GO_NOT_DONE
: 1;
1699 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits
;
1702 #define _GO_NOT_DONE 0x02
1711 //==============================================================================
1714 //==============================================================================
1717 extern __at(0x009E) __sfr ADCON1
;
1723 unsigned ADPREF0
: 1;
1724 unsigned ADPREF1
: 1;
1735 unsigned ADPREF
: 2;
1747 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits
;
1749 #define _ADPREF0 0x01
1750 #define _ADPREF1 0x02
1756 //==============================================================================
1759 //==============================================================================
1762 extern __at(0x009F) __sfr ADCON2
;
1772 unsigned TRIGSEL0
: 1;
1773 unsigned TRIGSEL1
: 1;
1774 unsigned TRIGSEL2
: 1;
1775 unsigned TRIGSEL3
: 1;
1781 unsigned TRIGSEL
: 4;
1785 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits
;
1787 #define _TRIGSEL0 0x10
1788 #define _TRIGSEL1 0x20
1789 #define _TRIGSEL2 0x40
1790 #define _TRIGSEL3 0x80
1792 //==============================================================================
1795 //==============================================================================
1798 extern __at(0x010C) __sfr LATA
;
1821 extern __at(0x010C) volatile __LATAbits_t LATAbits
;
1830 //==============================================================================
1833 //==============================================================================
1836 extern __at(0x010D) __sfr LATB
;
1850 extern __at(0x010D) volatile __LATBbits_t LATBbits
;
1857 //==============================================================================
1860 //==============================================================================
1863 extern __at(0x010E) __sfr LATC
;
1877 extern __at(0x010E) volatile __LATCbits_t LATCbits
;
1888 //==============================================================================
1891 //==============================================================================
1894 extern __at(0x0111) __sfr CM1CON0
;
1898 unsigned C1SYNC
: 1;
1908 extern __at(0x0111) volatile __CM1CON0bits_t CM1CON0bits
;
1910 #define _C1SYNC 0x01
1917 //==============================================================================
1920 //==============================================================================
1923 extern __at(0x0112) __sfr CM1CON1
;
1929 unsigned C1NCH0
: 1;
1930 unsigned C1NCH1
: 1;
1931 unsigned C1NCH2
: 1;
1933 unsigned C1PCH0
: 1;
1934 unsigned C1PCH1
: 1;
1935 unsigned C1INTN
: 1;
1936 unsigned C1INTP
: 1;
1953 extern __at(0x0112) volatile __CM1CON1bits_t CM1CON1bits
;
1955 #define _C1NCH0 0x01
1956 #define _C1NCH1 0x02
1957 #define _C1NCH2 0x04
1958 #define _C1PCH0 0x10
1959 #define _C1PCH1 0x20
1960 #define _C1INTN 0x40
1961 #define _C1INTP 0x80
1963 //==============================================================================
1966 //==============================================================================
1969 extern __at(0x0113) __sfr CM2CON0
;
1973 unsigned C2SYNC
: 1;
1983 extern __at(0x0113) volatile __CM2CON0bits_t CM2CON0bits
;
1985 #define _C2SYNC 0x01
1992 //==============================================================================
1995 //==============================================================================
1998 extern __at(0x0114) __sfr CM2CON1
;
2004 unsigned C2NCH0
: 1;
2005 unsigned C2NCH1
: 1;
2006 unsigned C2NCH2
: 1;
2008 unsigned C2PCH0
: 1;
2009 unsigned C2PCH1
: 1;
2010 unsigned C2INTN
: 1;
2011 unsigned C2INTP
: 1;
2028 extern __at(0x0114) volatile __CM2CON1bits_t CM2CON1bits
;
2030 #define _C2NCH0 0x01
2031 #define _C2NCH1 0x02
2032 #define _C2NCH2 0x04
2033 #define _C2PCH0 0x10
2034 #define _C2PCH1 0x20
2035 #define _C2INTN 0x40
2036 #define _C2INTP 0x80
2038 //==============================================================================
2041 //==============================================================================
2044 extern __at(0x0115) __sfr CMOUT
;
2048 unsigned MC1OUT
: 1;
2049 unsigned MC2OUT
: 1;
2058 extern __at(0x0115) volatile __CMOUTbits_t CMOUTbits
;
2060 #define _MC1OUT 0x01
2061 #define _MC2OUT 0x02
2063 //==============================================================================
2066 //==============================================================================
2069 extern __at(0x0116) __sfr BORCON
;
2073 unsigned BORRDY
: 1;
2080 unsigned SBOREN
: 1;
2083 extern __at(0x0116) volatile __BORCONbits_t BORCONbits
;
2085 #define _BORRDY 0x01
2087 #define _SBOREN 0x80
2089 //==============================================================================
2092 //==============================================================================
2095 extern __at(0x0117) __sfr FVRCON
;
2101 unsigned ADFVR0
: 1;
2102 unsigned ADFVR1
: 1;
2103 unsigned CDAFVR0
: 1;
2104 unsigned CDAFVR1
: 1;
2107 unsigned FVRRDY
: 1;
2120 unsigned CDAFVR
: 2;
2125 extern __at(0x0117) volatile __FVRCONbits_t FVRCONbits
;
2127 #define _ADFVR0 0x01
2128 #define _ADFVR1 0x02
2129 #define _CDAFVR0 0x04
2130 #define _CDAFVR1 0x08
2133 #define _FVRRDY 0x40
2136 //==============================================================================
2139 //==============================================================================
2142 extern __at(0x0118) __sfr DAC1CON0
;
2150 unsigned D1PSS0
: 1;
2151 unsigned D1PSS1
: 1;
2153 unsigned DAC1OE
: 1;
2155 unsigned DAC1EN
: 1;
2166 extern __at(0x0118) volatile __DAC1CON0bits_t DAC1CON0bits
;
2168 #define _D1PSS0 0x04
2169 #define _D1PSS1 0x08
2170 #define _DAC1OE 0x20
2171 #define _DAC1EN 0x80
2173 //==============================================================================
2176 //==============================================================================
2179 extern __at(0x0119) __sfr DAC1CON1
;
2183 unsigned DAC1R0
: 1;
2184 unsigned DAC1R1
: 1;
2185 unsigned DAC1R2
: 1;
2186 unsigned DAC1R3
: 1;
2187 unsigned DAC1R4
: 1;
2188 unsigned DAC1R5
: 1;
2189 unsigned DAC1R6
: 1;
2190 unsigned DAC1R7
: 1;
2193 extern __at(0x0119) volatile __DAC1CON1bits_t DAC1CON1bits
;
2195 #define _DAC1R0 0x01
2196 #define _DAC1R1 0x02
2197 #define _DAC1R2 0x04
2198 #define _DAC1R3 0x08
2199 #define _DAC1R4 0x10
2200 #define _DAC1R5 0x20
2201 #define _DAC1R6 0x40
2202 #define _DAC1R7 0x80
2204 //==============================================================================
2207 //==============================================================================
2210 extern __at(0x011C) __sfr ZCD1CON
;
2214 unsigned ZCD1INTN
: 1;
2215 unsigned ZCD1INTP
: 1;
2218 unsigned ZCD1POL
: 1;
2219 unsigned ZCD1OUT
: 1;
2221 unsigned ZCD1EN
: 1;
2224 extern __at(0x011C) volatile __ZCD1CONbits_t ZCD1CONbits
;
2226 #define _ZCD1INTN 0x01
2227 #define _ZCD1INTP 0x02
2228 #define _ZCD1POL 0x10
2229 #define _ZCD1OUT 0x20
2230 #define _ZCD1EN 0x80
2232 //==============================================================================
2235 //==============================================================================
2238 extern __at(0x018C) __sfr ANSELA
;
2252 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits
;
2259 //==============================================================================
2262 //==============================================================================
2265 extern __at(0x018D) __sfr ANSELB
;
2279 extern __at(0x018D) volatile __ANSELBbits_t ANSELBbits
;
2286 //==============================================================================
2289 //==============================================================================
2292 extern __at(0x018E) __sfr ANSELC
;
2306 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits
;
2315 //==============================================================================
2317 extern __at(0x0191) __sfr PMADR
;
2318 extern __at(0x0191) __sfr PMADRL
;
2319 extern __at(0x0192) __sfr PMADRH
;
2320 extern __at(0x0193) __sfr PMDAT
;
2321 extern __at(0x0193) __sfr PMDATL
;
2322 extern __at(0x0194) __sfr PMDATH
;
2324 //==============================================================================
2327 extern __at(0x0195) __sfr PMCON1
;
2341 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits
;
2351 //==============================================================================
2353 extern __at(0x0196) __sfr PMCON2
;
2354 extern __at(0x0199) __sfr RC1REG
;
2355 extern __at(0x0199) __sfr RCREG
;
2356 extern __at(0x0199) __sfr RCREG1
;
2357 extern __at(0x019A) __sfr TX1REG
;
2358 extern __at(0x019A) __sfr TXREG
;
2359 extern __at(0x019A) __sfr TXREG1
;
2360 extern __at(0x019B) __sfr SP1BRG
;
2361 extern __at(0x019B) __sfr SP1BRGL
;
2362 extern __at(0x019B) __sfr SPBRG
;
2363 extern __at(0x019B) __sfr SPBRG1
;
2364 extern __at(0x019B) __sfr SPBRGL
;
2365 extern __at(0x019C) __sfr SP1BRGH
;
2366 extern __at(0x019C) __sfr SPBRGH
;
2367 extern __at(0x019C) __sfr SPBRGH1
;
2369 //==============================================================================
2372 extern __at(0x019D) __sfr RC1STA
;
2386 extern __at(0x019D) volatile __RC1STAbits_t RC1STAbits
;
2397 //==============================================================================
2400 //==============================================================================
2403 extern __at(0x019D) __sfr RCSTA
;
2417 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits
;
2419 #define _RCSTA_RX9D 0x01
2420 #define _RCSTA_OERR 0x02
2421 #define _RCSTA_FERR 0x04
2422 #define _RCSTA_ADDEN 0x08
2423 #define _RCSTA_CREN 0x10
2424 #define _RCSTA_SREN 0x20
2425 #define _RCSTA_RX9 0x40
2426 #define _RCSTA_SPEN 0x80
2428 //==============================================================================
2431 //==============================================================================
2434 extern __at(0x019D) __sfr RCSTA1
;
2448 extern __at(0x019D) volatile __RCSTA1bits_t RCSTA1bits
;
2450 #define _RCSTA1_RX9D 0x01
2451 #define _RCSTA1_OERR 0x02
2452 #define _RCSTA1_FERR 0x04
2453 #define _RCSTA1_ADDEN 0x08
2454 #define _RCSTA1_CREN 0x10
2455 #define _RCSTA1_SREN 0x20
2456 #define _RCSTA1_RX9 0x40
2457 #define _RCSTA1_SPEN 0x80
2459 //==============================================================================
2462 //==============================================================================
2465 extern __at(0x019E) __sfr TX1STA
;
2479 extern __at(0x019E) volatile __TX1STAbits_t TX1STAbits
;
2490 //==============================================================================
2493 //==============================================================================
2496 extern __at(0x019E) __sfr TXSTA
;
2510 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits
;
2512 #define _TXSTA_TX9D 0x01
2513 #define _TXSTA_TRMT 0x02
2514 #define _TXSTA_BRGH 0x04
2515 #define _TXSTA_SENDB 0x08
2516 #define _TXSTA_SYNC 0x10
2517 #define _TXSTA_TXEN 0x20
2518 #define _TXSTA_TX9 0x40
2519 #define _TXSTA_CSRC 0x80
2521 //==============================================================================
2524 //==============================================================================
2527 extern __at(0x019E) __sfr TXSTA1
;
2541 extern __at(0x019E) volatile __TXSTA1bits_t TXSTA1bits
;
2543 #define _TXSTA1_TX9D 0x01
2544 #define _TXSTA1_TRMT 0x02
2545 #define _TXSTA1_BRGH 0x04
2546 #define _TXSTA1_SENDB 0x08
2547 #define _TXSTA1_SYNC 0x10
2548 #define _TXSTA1_TXEN 0x20
2549 #define _TXSTA1_TX9 0x40
2550 #define _TXSTA1_CSRC 0x80
2552 //==============================================================================
2555 //==============================================================================
2558 extern __at(0x019F) __sfr BAUD1CON
;
2569 unsigned ABDOVF
: 1;
2572 extern __at(0x019F) volatile __BAUD1CONbits_t BAUD1CONbits
;
2579 #define _ABDOVF 0x80
2581 //==============================================================================
2584 //==============================================================================
2587 extern __at(0x019F) __sfr BAUDCON
;
2598 unsigned ABDOVF
: 1;
2601 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits
;
2603 #define _BAUDCON_ABDEN 0x01
2604 #define _BAUDCON_WUE 0x02
2605 #define _BAUDCON_BRG16 0x08
2606 #define _BAUDCON_SCKP 0x10
2607 #define _BAUDCON_RCIDL 0x40
2608 #define _BAUDCON_ABDOVF 0x80
2610 //==============================================================================
2613 //==============================================================================
2616 extern __at(0x019F) __sfr BAUDCON1
;
2627 unsigned ABDOVF
: 1;
2630 extern __at(0x019F) volatile __BAUDCON1bits_t BAUDCON1bits
;
2632 #define _BAUDCON1_ABDEN 0x01
2633 #define _BAUDCON1_WUE 0x02
2634 #define _BAUDCON1_BRG16 0x08
2635 #define _BAUDCON1_SCKP 0x10
2636 #define _BAUDCON1_RCIDL 0x40
2637 #define _BAUDCON1_ABDOVF 0x80
2639 //==============================================================================
2642 //==============================================================================
2645 extern __at(0x019F) __sfr BAUDCTL
;
2656 unsigned ABDOVF
: 1;
2659 extern __at(0x019F) volatile __BAUDCTLbits_t BAUDCTLbits
;
2661 #define _BAUDCTL_ABDEN 0x01
2662 #define _BAUDCTL_WUE 0x02
2663 #define _BAUDCTL_BRG16 0x08
2664 #define _BAUDCTL_SCKP 0x10
2665 #define _BAUDCTL_RCIDL 0x40
2666 #define _BAUDCTL_ABDOVF 0x80
2668 //==============================================================================
2671 //==============================================================================
2674 extern __at(0x019F) __sfr BAUDCTL1
;
2685 unsigned ABDOVF
: 1;
2688 extern __at(0x019F) volatile __BAUDCTL1bits_t BAUDCTL1bits
;
2690 #define _BAUDCTL1_ABDEN 0x01
2691 #define _BAUDCTL1_WUE 0x02
2692 #define _BAUDCTL1_BRG16 0x08
2693 #define _BAUDCTL1_SCKP 0x10
2694 #define _BAUDCTL1_RCIDL 0x40
2695 #define _BAUDCTL1_ABDOVF 0x80
2697 //==============================================================================
2700 //==============================================================================
2703 extern __at(0x020C) __sfr WPUA
;
2726 extern __at(0x020C) volatile __WPUAbits_t WPUAbits
;
2735 //==============================================================================
2738 //==============================================================================
2741 extern __at(0x020D) __sfr WPUB
;
2755 extern __at(0x020D) volatile __WPUBbits_t WPUBbits
;
2762 //==============================================================================
2765 //==============================================================================
2768 extern __at(0x020E) __sfr WPUC
;
2782 extern __at(0x020E) volatile __WPUCbits_t WPUCbits
;
2793 //==============================================================================
2796 //==============================================================================
2799 extern __at(0x0211) __sfr SSP1BUF
;
2805 unsigned SSP1BUF0
: 1;
2806 unsigned SSP1BUF1
: 1;
2807 unsigned SSP1BUF2
: 1;
2808 unsigned SSP1BUF3
: 1;
2809 unsigned SSP1BUF4
: 1;
2810 unsigned SSP1BUF5
: 1;
2811 unsigned SSP1BUF6
: 1;
2812 unsigned SSP1BUF7
: 1;
2828 extern __at(0x0211) volatile __SSP1BUFbits_t SSP1BUFbits
;
2830 #define _SSP1BUF0 0x01
2832 #define _SSP1BUF1 0x02
2834 #define _SSP1BUF2 0x04
2836 #define _SSP1BUF3 0x08
2838 #define _SSP1BUF4 0x10
2840 #define _SSP1BUF5 0x20
2842 #define _SSP1BUF6 0x40
2844 #define _SSP1BUF7 0x80
2847 //==============================================================================
2850 //==============================================================================
2853 extern __at(0x0211) __sfr SSPBUF
;
2859 unsigned SSP1BUF0
: 1;
2860 unsigned SSP1BUF1
: 1;
2861 unsigned SSP1BUF2
: 1;
2862 unsigned SSP1BUF3
: 1;
2863 unsigned SSP1BUF4
: 1;
2864 unsigned SSP1BUF5
: 1;
2865 unsigned SSP1BUF6
: 1;
2866 unsigned SSP1BUF7
: 1;
2882 extern __at(0x0211) volatile __SSPBUFbits_t SSPBUFbits
;
2884 #define _SSPBUF_SSP1BUF0 0x01
2885 #define _SSPBUF_BUF0 0x01
2886 #define _SSPBUF_SSP1BUF1 0x02
2887 #define _SSPBUF_BUF1 0x02
2888 #define _SSPBUF_SSP1BUF2 0x04
2889 #define _SSPBUF_BUF2 0x04
2890 #define _SSPBUF_SSP1BUF3 0x08
2891 #define _SSPBUF_BUF3 0x08
2892 #define _SSPBUF_SSP1BUF4 0x10
2893 #define _SSPBUF_BUF4 0x10
2894 #define _SSPBUF_SSP1BUF5 0x20
2895 #define _SSPBUF_BUF5 0x20
2896 #define _SSPBUF_SSP1BUF6 0x40
2897 #define _SSPBUF_BUF6 0x40
2898 #define _SSPBUF_SSP1BUF7 0x80
2899 #define _SSPBUF_BUF7 0x80
2901 //==============================================================================
2904 //==============================================================================
2907 extern __at(0x0212) __sfr SSP1ADD
;
2913 unsigned SSP1ADD0
: 1;
2914 unsigned SSP1ADD1
: 1;
2915 unsigned SSP1ADD2
: 1;
2916 unsigned SSP1ADD3
: 1;
2917 unsigned SSP1ADD4
: 1;
2918 unsigned SSP1ADD5
: 1;
2919 unsigned SSP1ADD6
: 1;
2920 unsigned SSP1ADD7
: 1;
2936 extern __at(0x0212) volatile __SSP1ADDbits_t SSP1ADDbits
;
2938 #define _SSP1ADD0 0x01
2940 #define _SSP1ADD1 0x02
2942 #define _SSP1ADD2 0x04
2944 #define _SSP1ADD3 0x08
2946 #define _SSP1ADD4 0x10
2948 #define _SSP1ADD5 0x20
2950 #define _SSP1ADD6 0x40
2952 #define _SSP1ADD7 0x80
2955 //==============================================================================
2958 //==============================================================================
2961 extern __at(0x0212) __sfr SSPADD
;
2967 unsigned SSP1ADD0
: 1;
2968 unsigned SSP1ADD1
: 1;
2969 unsigned SSP1ADD2
: 1;
2970 unsigned SSP1ADD3
: 1;
2971 unsigned SSP1ADD4
: 1;
2972 unsigned SSP1ADD5
: 1;
2973 unsigned SSP1ADD6
: 1;
2974 unsigned SSP1ADD7
: 1;
2990 extern __at(0x0212) volatile __SSPADDbits_t SSPADDbits
;
2992 #define _SSPADD_SSP1ADD0 0x01
2993 #define _SSPADD_ADD0 0x01
2994 #define _SSPADD_SSP1ADD1 0x02
2995 #define _SSPADD_ADD1 0x02
2996 #define _SSPADD_SSP1ADD2 0x04
2997 #define _SSPADD_ADD2 0x04
2998 #define _SSPADD_SSP1ADD3 0x08
2999 #define _SSPADD_ADD3 0x08
3000 #define _SSPADD_SSP1ADD4 0x10
3001 #define _SSPADD_ADD4 0x10
3002 #define _SSPADD_SSP1ADD5 0x20
3003 #define _SSPADD_ADD5 0x20
3004 #define _SSPADD_SSP1ADD6 0x40
3005 #define _SSPADD_ADD6 0x40
3006 #define _SSPADD_SSP1ADD7 0x80
3007 #define _SSPADD_ADD7 0x80
3009 //==============================================================================
3012 //==============================================================================
3015 extern __at(0x0213) __sfr SSP1MSK
;
3021 unsigned SSP1MSK0
: 1;
3022 unsigned SSP1MSK1
: 1;
3023 unsigned SSP1MSK2
: 1;
3024 unsigned SSP1MSK3
: 1;
3025 unsigned SSP1MSK4
: 1;
3026 unsigned SSP1MSK5
: 1;
3027 unsigned SSP1MSK6
: 1;
3028 unsigned SSP1MSK7
: 1;
3044 extern __at(0x0213) volatile __SSP1MSKbits_t SSP1MSKbits
;
3046 #define _SSP1MSK0 0x01
3048 #define _SSP1MSK1 0x02
3050 #define _SSP1MSK2 0x04
3052 #define _SSP1MSK3 0x08
3054 #define _SSP1MSK4 0x10
3056 #define _SSP1MSK5 0x20
3058 #define _SSP1MSK6 0x40
3060 #define _SSP1MSK7 0x80
3063 //==============================================================================
3066 //==============================================================================
3069 extern __at(0x0213) __sfr SSPMSK
;
3075 unsigned SSP1MSK0
: 1;
3076 unsigned SSP1MSK1
: 1;
3077 unsigned SSP1MSK2
: 1;
3078 unsigned SSP1MSK3
: 1;
3079 unsigned SSP1MSK4
: 1;
3080 unsigned SSP1MSK5
: 1;
3081 unsigned SSP1MSK6
: 1;
3082 unsigned SSP1MSK7
: 1;
3098 extern __at(0x0213) volatile __SSPMSKbits_t SSPMSKbits
;
3100 #define _SSPMSK_SSP1MSK0 0x01
3101 #define _SSPMSK_MSK0 0x01
3102 #define _SSPMSK_SSP1MSK1 0x02
3103 #define _SSPMSK_MSK1 0x02
3104 #define _SSPMSK_SSP1MSK2 0x04
3105 #define _SSPMSK_MSK2 0x04
3106 #define _SSPMSK_SSP1MSK3 0x08
3107 #define _SSPMSK_MSK3 0x08
3108 #define _SSPMSK_SSP1MSK4 0x10
3109 #define _SSPMSK_MSK4 0x10
3110 #define _SSPMSK_SSP1MSK5 0x20
3111 #define _SSPMSK_MSK5 0x20
3112 #define _SSPMSK_SSP1MSK6 0x40
3113 #define _SSPMSK_MSK6 0x40
3114 #define _SSPMSK_SSP1MSK7 0x80
3115 #define _SSPMSK_MSK7 0x80
3117 //==============================================================================
3120 //==============================================================================
3123 extern __at(0x0214) __sfr SSP1STAT
;
3129 unsigned R_NOT_W
: 1;
3132 unsigned D_NOT_A
: 1;
3137 extern __at(0x0214) volatile __SSP1STATbits_t SSP1STATbits
;
3141 #define _R_NOT_W 0x04
3144 #define _D_NOT_A 0x20
3148 //==============================================================================
3151 //==============================================================================
3154 extern __at(0x0214) __sfr SSPSTAT
;
3160 unsigned R_NOT_W
: 1;
3163 unsigned D_NOT_A
: 1;
3168 extern __at(0x0214) volatile __SSPSTATbits_t SSPSTATbits
;
3170 #define _SSPSTAT_BF 0x01
3171 #define _SSPSTAT_UA 0x02
3172 #define _SSPSTAT_R_NOT_W 0x04
3173 #define _SSPSTAT_S 0x08
3174 #define _SSPSTAT_P 0x10
3175 #define _SSPSTAT_D_NOT_A 0x20
3176 #define _SSPSTAT_CKE 0x40
3177 #define _SSPSTAT_SMP 0x80
3179 //==============================================================================
3182 //==============================================================================
3185 extern __at(0x0215) __sfr SSP1CON
;
3208 extern __at(0x0215) volatile __SSP1CONbits_t SSP1CONbits
;
3219 //==============================================================================
3222 //==============================================================================
3225 extern __at(0x0215) __sfr SSP1CON1
;
3248 extern __at(0x0215) volatile __SSP1CON1bits_t SSP1CON1bits
;
3250 #define _SSP1CON1_SSPM0 0x01
3251 #define _SSP1CON1_SSPM1 0x02
3252 #define _SSP1CON1_SSPM2 0x04
3253 #define _SSP1CON1_SSPM3 0x08
3254 #define _SSP1CON1_CKP 0x10
3255 #define _SSP1CON1_SSPEN 0x20
3256 #define _SSP1CON1_SSPOV 0x40
3257 #define _SSP1CON1_WCOL 0x80
3259 //==============================================================================
3262 //==============================================================================
3265 extern __at(0x0215) __sfr SSPCON
;
3288 extern __at(0x0215) volatile __SSPCONbits_t SSPCONbits
;
3290 #define _SSPCON_SSPM0 0x01
3291 #define _SSPCON_SSPM1 0x02
3292 #define _SSPCON_SSPM2 0x04
3293 #define _SSPCON_SSPM3 0x08
3294 #define _SSPCON_CKP 0x10
3295 #define _SSPCON_SSPEN 0x20
3296 #define _SSPCON_SSPOV 0x40
3297 #define _SSPCON_WCOL 0x80
3299 //==============================================================================
3302 //==============================================================================
3305 extern __at(0x0215) __sfr SSPCON1
;
3328 extern __at(0x0215) volatile __SSPCON1bits_t SSPCON1bits
;
3330 #define _SSPCON1_SSPM0 0x01
3331 #define _SSPCON1_SSPM1 0x02
3332 #define _SSPCON1_SSPM2 0x04
3333 #define _SSPCON1_SSPM3 0x08
3334 #define _SSPCON1_CKP 0x10
3335 #define _SSPCON1_SSPEN 0x20
3336 #define _SSPCON1_SSPOV 0x40
3337 #define _SSPCON1_WCOL 0x80
3339 //==============================================================================
3342 //==============================================================================
3345 extern __at(0x0216) __sfr SSP1CON2
;
3355 unsigned ACKSTAT
: 1;
3359 extern __at(0x0216) volatile __SSP1CON2bits_t SSP1CON2bits
;
3367 #define _ACKSTAT 0x40
3370 //==============================================================================
3373 //==============================================================================
3376 extern __at(0x0216) __sfr SSPCON2
;
3386 unsigned ACKSTAT
: 1;
3390 extern __at(0x0216) volatile __SSPCON2bits_t SSPCON2bits
;
3392 #define _SSPCON2_SEN 0x01
3393 #define _SSPCON2_RSEN 0x02
3394 #define _SSPCON2_PEN 0x04
3395 #define _SSPCON2_RCEN 0x08
3396 #define _SSPCON2_ACKEN 0x10
3397 #define _SSPCON2_ACKDT 0x20
3398 #define _SSPCON2_ACKSTAT 0x40
3399 #define _SSPCON2_GCEN 0x80
3401 //==============================================================================
3404 //==============================================================================
3407 extern __at(0x0217) __sfr SSP1CON3
;
3418 unsigned ACKTIM
: 1;
3421 extern __at(0x0217) volatile __SSP1CON3bits_t SSP1CON3bits
;
3430 #define _ACKTIM 0x80
3432 //==============================================================================
3435 //==============================================================================
3438 extern __at(0x0217) __sfr SSPCON3
;
3449 unsigned ACKTIM
: 1;
3452 extern __at(0x0217) volatile __SSPCON3bits_t SSPCON3bits
;
3454 #define _SSPCON3_DHEN 0x01
3455 #define _SSPCON3_AHEN 0x02
3456 #define _SSPCON3_SBCDE 0x04
3457 #define _SSPCON3_SDAHT 0x08
3458 #define _SSPCON3_BOEN 0x10
3459 #define _SSPCON3_SCIE 0x20
3460 #define _SSPCON3_PCIE 0x40
3461 #define _SSPCON3_ACKTIM 0x80
3463 //==============================================================================
3466 //==============================================================================
3469 extern __at(0x028C) __sfr ODCONA
;
3483 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits
;
3491 //==============================================================================
3494 //==============================================================================
3497 extern __at(0x028D) __sfr ODCONB
;
3511 extern __at(0x028D) volatile __ODCONBbits_t ODCONBbits
;
3518 //==============================================================================
3521 //==============================================================================
3524 extern __at(0x028E) __sfr ODCONC
;
3538 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits
;
3549 //==============================================================================
3551 extern __at(0x0291) __sfr CCPR1
;
3552 extern __at(0x0291) __sfr CCPR1L
;
3553 extern __at(0x0292) __sfr CCPR1H
;
3555 //==============================================================================
3558 extern __at(0x0293) __sfr CCP1CON
;
3576 unsigned CCP1MODE0
: 1;
3577 unsigned CCP1MODE1
: 1;
3578 unsigned CCP1MODE2
: 1;
3579 unsigned CCP1MODE3
: 1;
3580 unsigned CCP1FMT
: 1;
3581 unsigned CCP1OUT
: 1;
3583 unsigned CCP1EN
: 1;
3594 unsigned CCP1MODE
: 4;
3599 extern __at(0x0293) volatile __CCP1CONbits_t CCP1CONbits
;
3601 #define _CCP1CON_MODE0 0x01
3602 #define _CCP1CON_CCP1MODE0 0x01
3603 #define _CCP1CON_MODE1 0x02
3604 #define _CCP1CON_CCP1MODE1 0x02
3605 #define _CCP1CON_MODE2 0x04
3606 #define _CCP1CON_CCP1MODE2 0x04
3607 #define _CCP1CON_MODE3 0x08
3608 #define _CCP1CON_CCP1MODE3 0x08
3609 #define _CCP1CON_FMT 0x10
3610 #define _CCP1CON_CCP1FMT 0x10
3611 #define _CCP1CON_OUT 0x20
3612 #define _CCP1CON_CCP1OUT 0x20
3613 #define _CCP1CON_EN 0x80
3614 #define _CCP1CON_CCP1EN 0x80
3616 //==============================================================================
3619 //==============================================================================
3622 extern __at(0x0294) __sfr CCP1CAP
;
3640 unsigned CCP1CTS0
: 1;
3641 unsigned CCP1CTS1
: 1;
3642 unsigned CCP1CTS2
: 1;
3658 unsigned CCP1CTS
: 3;
3663 extern __at(0x0294) volatile __CCP1CAPbits_t CCP1CAPbits
;
3666 #define _CCP1CTS0 0x01
3668 #define _CCP1CTS1 0x02
3670 #define _CCP1CTS2 0x04
3672 //==============================================================================
3674 extern __at(0x0298) __sfr CCPR2
;
3675 extern __at(0x0298) __sfr CCPR2L
;
3676 extern __at(0x0299) __sfr CCPR2H
;
3678 //==============================================================================
3681 extern __at(0x029A) __sfr CCP2CON
;
3699 unsigned CCP2MODE0
: 1;
3700 unsigned CCP2MODE1
: 1;
3701 unsigned CCP2MODE2
: 1;
3702 unsigned CCP2MODE3
: 1;
3703 unsigned CCP2FMT
: 1;
3704 unsigned CCP2OUT
: 1;
3706 unsigned CCP2EN
: 1;
3711 unsigned CCP2MODE
: 4;
3722 extern __at(0x029A) volatile __CCP2CONbits_t CCP2CONbits
;
3724 #define _CCP2CON_MODE0 0x01
3725 #define _CCP2CON_CCP2MODE0 0x01
3726 #define _CCP2CON_MODE1 0x02
3727 #define _CCP2CON_CCP2MODE1 0x02
3728 #define _CCP2CON_MODE2 0x04
3729 #define _CCP2CON_CCP2MODE2 0x04
3730 #define _CCP2CON_MODE3 0x08
3731 #define _CCP2CON_CCP2MODE3 0x08
3732 #define _CCP2CON_FMT 0x10
3733 #define _CCP2CON_CCP2FMT 0x10
3734 #define _CCP2CON_OUT 0x20
3735 #define _CCP2CON_CCP2OUT 0x20
3736 #define _CCP2CON_EN 0x80
3737 #define _CCP2CON_CCP2EN 0x80
3739 //==============================================================================
3742 //==============================================================================
3745 extern __at(0x029B) __sfr CCP2CAP
;
3763 unsigned CCP2CTS0
: 1;
3764 unsigned CCP2CTS1
: 1;
3765 unsigned CCP2CTS2
: 1;
3775 unsigned CCP2CTS
: 3;
3786 extern __at(0x029B) volatile __CCP2CAPbits_t CCP2CAPbits
;
3788 #define _CCP2CAP_CTS0 0x01
3789 #define _CCP2CAP_CCP2CTS0 0x01
3790 #define _CCP2CAP_CTS1 0x02
3791 #define _CCP2CAP_CCP2CTS1 0x02
3792 #define _CCP2CAP_CTS2 0x04
3793 #define _CCP2CAP_CCP2CTS2 0x04
3795 //==============================================================================
3798 //==============================================================================
3801 extern __at(0x029E) __sfr CCPTMRS
;
3807 unsigned CCP1TSEL0
: 1;
3808 unsigned CCP1TSEL1
: 1;
3809 unsigned CCP2TSEL0
: 1;
3810 unsigned CCP2TSEL1
: 1;
3811 unsigned P3TSEL0
: 1;
3812 unsigned P3TSEL1
: 1;
3813 unsigned P4TSEL0
: 1;
3814 unsigned P4TSEL1
: 1;
3819 unsigned CCP1TSEL
: 2;
3826 unsigned CCP2TSEL
: 2;
3833 unsigned P3TSEL
: 2;
3840 unsigned P4TSEL
: 2;
3844 extern __at(0x029E) volatile __CCPTMRSbits_t CCPTMRSbits
;
3846 #define _CCP1TSEL0 0x01
3847 #define _CCP1TSEL1 0x02
3848 #define _CCP2TSEL0 0x04
3849 #define _CCP2TSEL1 0x08
3850 #define _P3TSEL0 0x10
3851 #define _P3TSEL1 0x20
3852 #define _P4TSEL0 0x40
3853 #define _P4TSEL1 0x80
3855 //==============================================================================
3858 //==============================================================================
3861 extern __at(0x030C) __sfr SLRCONA
;
3875 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits
;
3883 //==============================================================================
3886 //==============================================================================
3889 extern __at(0x030D) __sfr SLRCONB
;
3903 extern __at(0x030D) volatile __SLRCONBbits_t SLRCONBbits
;
3910 //==============================================================================
3913 //==============================================================================
3916 extern __at(0x030E) __sfr SLRCONC
;
3930 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits
;
3941 //==============================================================================
3944 //==============================================================================
3947 extern __at(0x038C) __sfr INLVLA
;
3953 unsigned INLVLA0
: 1;
3954 unsigned INLVLA1
: 1;
3955 unsigned INLVLA2
: 1;
3956 unsigned INLVLA3
: 1;
3957 unsigned INLVLA4
: 1;
3958 unsigned INLVLA5
: 1;
3965 unsigned INLVLA
: 6;
3970 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits
;
3972 #define _INLVLA0 0x01
3973 #define _INLVLA1 0x02
3974 #define _INLVLA2 0x04
3975 #define _INLVLA3 0x08
3976 #define _INLVLA4 0x10
3977 #define _INLVLA5 0x20
3979 //==============================================================================
3982 //==============================================================================
3985 extern __at(0x038D) __sfr INLVLB
;
3993 unsigned INLVLB4
: 1;
3994 unsigned INLVLB5
: 1;
3995 unsigned INLVLB6
: 1;
3996 unsigned INLVLB7
: 1;
3999 extern __at(0x038D) volatile __INLVLBbits_t INLVLBbits
;
4001 #define _INLVLB4 0x10
4002 #define _INLVLB5 0x20
4003 #define _INLVLB6 0x40
4004 #define _INLVLB7 0x80
4006 //==============================================================================
4009 //==============================================================================
4012 extern __at(0x038E) __sfr INLVLC
;
4016 unsigned INLVLC0
: 1;
4017 unsigned INLVLC1
: 1;
4018 unsigned INLVLC2
: 1;
4019 unsigned INLVLC3
: 1;
4020 unsigned INLVLC4
: 1;
4021 unsigned INLVLC5
: 1;
4022 unsigned INLVLC6
: 1;
4023 unsigned INLVLC7
: 1;
4026 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits
;
4028 #define _INLVLC0 0x01
4029 #define _INLVLC1 0x02
4030 #define _INLVLC2 0x04
4031 #define _INLVLC3 0x08
4032 #define _INLVLC4 0x10
4033 #define _INLVLC5 0x20
4034 #define _INLVLC6 0x40
4035 #define _INLVLC7 0x80
4037 //==============================================================================
4040 //==============================================================================
4043 extern __at(0x0391) __sfr IOCAP
;
4049 unsigned IOCAP0
: 1;
4050 unsigned IOCAP1
: 1;
4051 unsigned IOCAP2
: 1;
4052 unsigned IOCAP3
: 1;
4053 unsigned IOCAP4
: 1;
4054 unsigned IOCAP5
: 1;
4066 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits
;
4068 #define _IOCAP0 0x01
4069 #define _IOCAP1 0x02
4070 #define _IOCAP2 0x04
4071 #define _IOCAP3 0x08
4072 #define _IOCAP4 0x10
4073 #define _IOCAP5 0x20
4075 //==============================================================================
4078 //==============================================================================
4081 extern __at(0x0392) __sfr IOCAN
;
4087 unsigned IOCAN0
: 1;
4088 unsigned IOCAN1
: 1;
4089 unsigned IOCAN2
: 1;
4090 unsigned IOCAN3
: 1;
4091 unsigned IOCAN4
: 1;
4092 unsigned IOCAN5
: 1;
4104 extern __at(0x0392) volatile __IOCANbits_t IOCANbits
;
4106 #define _IOCAN0 0x01
4107 #define _IOCAN1 0x02
4108 #define _IOCAN2 0x04
4109 #define _IOCAN3 0x08
4110 #define _IOCAN4 0x10
4111 #define _IOCAN5 0x20
4113 //==============================================================================
4116 //==============================================================================
4119 extern __at(0x0393) __sfr IOCAF
;
4125 unsigned IOCAF0
: 1;
4126 unsigned IOCAF1
: 1;
4127 unsigned IOCAF2
: 1;
4128 unsigned IOCAF3
: 1;
4129 unsigned IOCAF4
: 1;
4130 unsigned IOCAF5
: 1;
4142 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits
;
4144 #define _IOCAF0 0x01
4145 #define _IOCAF1 0x02
4146 #define _IOCAF2 0x04
4147 #define _IOCAF3 0x08
4148 #define _IOCAF4 0x10
4149 #define _IOCAF5 0x20
4151 //==============================================================================
4154 //==============================================================================
4157 extern __at(0x0394) __sfr IOCBP
;
4165 unsigned IOCBP4
: 1;
4166 unsigned IOCBP5
: 1;
4167 unsigned IOCBP6
: 1;
4168 unsigned IOCBP7
: 1;
4171 extern __at(0x0394) volatile __IOCBPbits_t IOCBPbits
;
4173 #define _IOCBP4 0x10
4174 #define _IOCBP5 0x20
4175 #define _IOCBP6 0x40
4176 #define _IOCBP7 0x80
4178 //==============================================================================
4181 //==============================================================================
4184 extern __at(0x0395) __sfr IOCBN
;
4192 unsigned IOCBN4
: 1;
4193 unsigned IOCBN5
: 1;
4194 unsigned IOCBN6
: 1;
4195 unsigned IOCBN7
: 1;
4198 extern __at(0x0395) volatile __IOCBNbits_t IOCBNbits
;
4200 #define _IOCBN4 0x10
4201 #define _IOCBN5 0x20
4202 #define _IOCBN6 0x40
4203 #define _IOCBN7 0x80
4205 //==============================================================================
4208 //==============================================================================
4211 extern __at(0x0396) __sfr IOCBF
;
4219 unsigned IOCBF4
: 1;
4220 unsigned IOCBF5
: 1;
4221 unsigned IOCBF6
: 1;
4222 unsigned IOCBF7
: 1;
4225 extern __at(0x0396) volatile __IOCBFbits_t IOCBFbits
;
4227 #define _IOCBF4 0x10
4228 #define _IOCBF5 0x20
4229 #define _IOCBF6 0x40
4230 #define _IOCBF7 0x80
4232 //==============================================================================
4235 //==============================================================================
4238 extern __at(0x0397) __sfr IOCCP
;
4242 unsigned IOCCP0
: 1;
4243 unsigned IOCCP1
: 1;
4244 unsigned IOCCP2
: 1;
4245 unsigned IOCCP3
: 1;
4246 unsigned IOCCP4
: 1;
4247 unsigned IOCCP5
: 1;
4248 unsigned IOCCP6
: 1;
4249 unsigned IOCCP7
: 1;
4252 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits
;
4254 #define _IOCCP0 0x01
4255 #define _IOCCP1 0x02
4256 #define _IOCCP2 0x04
4257 #define _IOCCP3 0x08
4258 #define _IOCCP4 0x10
4259 #define _IOCCP5 0x20
4260 #define _IOCCP6 0x40
4261 #define _IOCCP7 0x80
4263 //==============================================================================
4266 //==============================================================================
4269 extern __at(0x0398) __sfr IOCCN
;
4273 unsigned IOCCN0
: 1;
4274 unsigned IOCCN1
: 1;
4275 unsigned IOCCN2
: 1;
4276 unsigned IOCCN3
: 1;
4277 unsigned IOCCN4
: 1;
4278 unsigned IOCCN5
: 1;
4279 unsigned IOCCN6
: 1;
4280 unsigned IOCCN7
: 1;
4283 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits
;
4285 #define _IOCCN0 0x01
4286 #define _IOCCN1 0x02
4287 #define _IOCCN2 0x04
4288 #define _IOCCN3 0x08
4289 #define _IOCCN4 0x10
4290 #define _IOCCN5 0x20
4291 #define _IOCCN6 0x40
4292 #define _IOCCN7 0x80
4294 //==============================================================================
4297 //==============================================================================
4300 extern __at(0x0399) __sfr IOCCF
;
4304 unsigned IOCCF0
: 1;
4305 unsigned IOCCF1
: 1;
4306 unsigned IOCCF2
: 1;
4307 unsigned IOCCF3
: 1;
4308 unsigned IOCCF4
: 1;
4309 unsigned IOCCF5
: 1;
4310 unsigned IOCCF6
: 1;
4311 unsigned IOCCF7
: 1;
4314 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits
;
4316 #define _IOCCF0 0x01
4317 #define _IOCCF1 0x02
4318 #define _IOCCF2 0x04
4319 #define _IOCCF3 0x08
4320 #define _IOCCF4 0x10
4321 #define _IOCCF5 0x20
4322 #define _IOCCF6 0x40
4323 #define _IOCCF7 0x80
4325 //==============================================================================
4328 //==============================================================================
4331 extern __at(0x040E) __sfr HDRVC
;
4345 extern __at(0x040E) volatile __HDRVCbits_t HDRVCbits
;
4350 //==============================================================================
4352 extern __at(0x0413) __sfr T4TMR
;
4353 extern __at(0x0413) __sfr TMR4
;
4354 extern __at(0x0414) __sfr PR4
;
4355 extern __at(0x0414) __sfr T4PR
;
4357 //==============================================================================
4360 extern __at(0x0415) __sfr T4CON
;
4366 unsigned OUTPS0
: 1;
4367 unsigned OUTPS1
: 1;
4368 unsigned OUTPS2
: 1;
4369 unsigned OUTPS3
: 1;
4378 unsigned T4OUTPS0
: 1;
4379 unsigned T4OUTPS1
: 1;
4380 unsigned T4OUTPS2
: 1;
4381 unsigned T4OUTPS3
: 1;
4382 unsigned T4CKPS0
: 1;
4383 unsigned T4CKPS1
: 1;
4384 unsigned T4CKPS2
: 1;
4397 unsigned TMR4ON
: 1;
4408 unsigned T4OUTPS
: 4;
4422 unsigned T4CKPS
: 3;
4427 extern __at(0x0415) volatile __T4CONbits_t T4CONbits
;
4429 #define _T4CON_OUTPS0 0x01
4430 #define _T4CON_T4OUTPS0 0x01
4431 #define _T4CON_OUTPS1 0x02
4432 #define _T4CON_T4OUTPS1 0x02
4433 #define _T4CON_OUTPS2 0x04
4434 #define _T4CON_T4OUTPS2 0x04
4435 #define _T4CON_OUTPS3 0x08
4436 #define _T4CON_T4OUTPS3 0x08
4437 #define _T4CON_CKPS0 0x10
4438 #define _T4CON_T4CKPS0 0x10
4439 #define _T4CON_CKPS1 0x20
4440 #define _T4CON_T4CKPS1 0x20
4441 #define _T4CON_CKPS2 0x40
4442 #define _T4CON_T4CKPS2 0x40
4443 #define _T4CON_ON 0x80
4444 #define _T4CON_T4ON 0x80
4445 #define _T4CON_TMR4ON 0x80
4447 //==============================================================================
4450 //==============================================================================
4453 extern __at(0x0416) __sfr T4HLT
;
4464 unsigned CKSYNC
: 1;
4471 unsigned T4MODE0
: 1;
4472 unsigned T4MODE1
: 1;
4473 unsigned T4MODE2
: 1;
4474 unsigned T4MODE3
: 1;
4475 unsigned T4MODE4
: 1;
4476 unsigned T4CKSYNC
: 1;
4477 unsigned T4CKPOL
: 1;
4478 unsigned T4PSYNC
: 1;
4489 unsigned T4MODE
: 5;
4494 extern __at(0x0416) volatile __T4HLTbits_t T4HLTbits
;
4496 #define _T4HLT_MODE0 0x01
4497 #define _T4HLT_T4MODE0 0x01
4498 #define _T4HLT_MODE1 0x02
4499 #define _T4HLT_T4MODE1 0x02
4500 #define _T4HLT_MODE2 0x04
4501 #define _T4HLT_T4MODE2 0x04
4502 #define _T4HLT_MODE3 0x08
4503 #define _T4HLT_T4MODE3 0x08
4504 #define _T4HLT_MODE4 0x10
4505 #define _T4HLT_T4MODE4 0x10
4506 #define _T4HLT_CKSYNC 0x20
4507 #define _T4HLT_T4CKSYNC 0x20
4508 #define _T4HLT_CKPOL 0x40
4509 #define _T4HLT_T4CKPOL 0x40
4510 #define _T4HLT_PSYNC 0x80
4511 #define _T4HLT_T4PSYNC 0x80
4513 //==============================================================================
4516 //==============================================================================
4519 extern __at(0x0417) __sfr T4CLKCON
;
4560 extern __at(0x0417) volatile __T4CLKCONbits_t T4CLKCONbits
;
4562 #define _T4CLKCON_CS0 0x01
4563 #define _T4CLKCON_T4CS0 0x01
4564 #define _T4CLKCON_CS1 0x02
4565 #define _T4CLKCON_T4CS1 0x02
4566 #define _T4CLKCON_CS2 0x04
4567 #define _T4CLKCON_T4CS2 0x04
4568 #define _T4CLKCON_CS3 0x08
4569 #define _T4CLKCON_T4CS3 0x08
4571 //==============================================================================
4574 //==============================================================================
4577 extern __at(0x0418) __sfr T4RST
;
4595 unsigned T4RSEL0
: 1;
4596 unsigned T4RSEL1
: 1;
4597 unsigned T4RSEL2
: 1;
4598 unsigned T4RSEL3
: 1;
4613 unsigned T4RSEL
: 4;
4618 extern __at(0x0418) volatile __T4RSTbits_t T4RSTbits
;
4620 #define _T4RST_RSEL0 0x01
4621 #define _T4RST_T4RSEL0 0x01
4622 #define _T4RST_RSEL1 0x02
4623 #define _T4RST_T4RSEL1 0x02
4624 #define _T4RST_RSEL2 0x04
4625 #define _T4RST_T4RSEL2 0x04
4626 #define _T4RST_RSEL3 0x08
4627 #define _T4RST_T4RSEL3 0x08
4629 //==============================================================================
4631 extern __at(0x041A) __sfr T6TMR
;
4632 extern __at(0x041A) __sfr TMR6
;
4633 extern __at(0x041B) __sfr PR6
;
4634 extern __at(0x041B) __sfr T6PR
;
4636 //==============================================================================
4639 extern __at(0x041C) __sfr T6CON
;
4645 unsigned OUTPS0
: 1;
4646 unsigned OUTPS1
: 1;
4647 unsigned OUTPS2
: 1;
4648 unsigned OUTPS3
: 1;
4657 unsigned T6OUTPS0
: 1;
4658 unsigned T6OUTPS1
: 1;
4659 unsigned T6OUTPS2
: 1;
4660 unsigned T6OUTPS3
: 1;
4661 unsigned T6CKPS0
: 1;
4662 unsigned T6CKPS1
: 1;
4663 unsigned T6CKPS2
: 1;
4676 unsigned TMR6ON
: 1;
4687 unsigned T6OUTPS
: 4;
4701 unsigned T6CKPS
: 3;
4706 extern __at(0x041C) volatile __T6CONbits_t T6CONbits
;
4708 #define _T6CON_OUTPS0 0x01
4709 #define _T6CON_T6OUTPS0 0x01
4710 #define _T6CON_OUTPS1 0x02
4711 #define _T6CON_T6OUTPS1 0x02
4712 #define _T6CON_OUTPS2 0x04
4713 #define _T6CON_T6OUTPS2 0x04
4714 #define _T6CON_OUTPS3 0x08
4715 #define _T6CON_T6OUTPS3 0x08
4716 #define _T6CON_CKPS0 0x10
4717 #define _T6CON_T6CKPS0 0x10
4718 #define _T6CON_CKPS1 0x20
4719 #define _T6CON_T6CKPS1 0x20
4720 #define _T6CON_CKPS2 0x40
4721 #define _T6CON_T6CKPS2 0x40
4722 #define _T6CON_ON 0x80
4723 #define _T6CON_T6ON 0x80
4724 #define _T6CON_TMR6ON 0x80
4726 //==============================================================================
4729 //==============================================================================
4732 extern __at(0x041D) __sfr T6HLT
;
4743 unsigned CKSYNC
: 1;
4750 unsigned T6MODE0
: 1;
4751 unsigned T6MODE1
: 1;
4752 unsigned T6MODE2
: 1;
4753 unsigned T6MODE3
: 1;
4754 unsigned T6MODE4
: 1;
4755 unsigned T6CKSYNC
: 1;
4756 unsigned T6CKPOL
: 1;
4757 unsigned T6PSYNC
: 1;
4762 unsigned T6MODE
: 5;
4773 extern __at(0x041D) volatile __T6HLTbits_t T6HLTbits
;
4775 #define _T6HLT_MODE0 0x01
4776 #define _T6HLT_T6MODE0 0x01
4777 #define _T6HLT_MODE1 0x02
4778 #define _T6HLT_T6MODE1 0x02
4779 #define _T6HLT_MODE2 0x04
4780 #define _T6HLT_T6MODE2 0x04
4781 #define _T6HLT_MODE3 0x08
4782 #define _T6HLT_T6MODE3 0x08
4783 #define _T6HLT_MODE4 0x10
4784 #define _T6HLT_T6MODE4 0x10
4785 #define _T6HLT_CKSYNC 0x20
4786 #define _T6HLT_T6CKSYNC 0x20
4787 #define _T6HLT_CKPOL 0x40
4788 #define _T6HLT_T6CKPOL 0x40
4789 #define _T6HLT_PSYNC 0x80
4790 #define _T6HLT_T6PSYNC 0x80
4792 //==============================================================================
4795 //==============================================================================
4798 extern __at(0x041E) __sfr T6CLKCON
;
4839 extern __at(0x041E) volatile __T6CLKCONbits_t T6CLKCONbits
;
4841 #define _T6CLKCON_CS0 0x01
4842 #define _T6CLKCON_T6CS0 0x01
4843 #define _T6CLKCON_CS1 0x02
4844 #define _T6CLKCON_T6CS1 0x02
4845 #define _T6CLKCON_CS2 0x04
4846 #define _T6CLKCON_T6CS2 0x04
4847 #define _T6CLKCON_CS3 0x08
4848 #define _T6CLKCON_T6CS3 0x08
4850 //==============================================================================
4853 //==============================================================================
4856 extern __at(0x041F) __sfr T6RST
;
4874 unsigned T6RSEL0
: 1;
4875 unsigned T6RSEL1
: 1;
4876 unsigned T6RSEL2
: 1;
4877 unsigned T6RSEL3
: 1;
4886 unsigned T6RSEL
: 4;
4897 extern __at(0x041F) volatile __T6RSTbits_t T6RSTbits
;
4899 #define _T6RST_RSEL0 0x01
4900 #define _T6RST_T6RSEL0 0x01
4901 #define _T6RST_RSEL1 0x02
4902 #define _T6RST_T6RSEL1 0x02
4903 #define _T6RST_RSEL2 0x04
4904 #define _T6RST_T6RSEL2 0x04
4905 #define _T6RST_RSEL3 0x08
4906 #define _T6RST_T6RSEL3 0x08
4908 //==============================================================================
4910 extern __at(0x0493) __sfr TMR3L
;
4911 extern __at(0x0494) __sfr TMR3H
;
4913 //==============================================================================
4916 extern __at(0x0495) __sfr T3CON
;
4922 unsigned TMR3ON
: 1;
4924 unsigned T3SYNC
: 1;
4926 unsigned T3CKPS0
: 1;
4927 unsigned T3CKPS1
: 1;
4928 unsigned TMR3CS0
: 1;
4929 unsigned TMR3CS1
: 1;
4935 unsigned T3CKPS
: 2;
4942 unsigned TMR3CS
: 2;
4946 extern __at(0x0495) volatile __T3CONbits_t T3CONbits
;
4948 #define _TMR3ON 0x01
4949 #define _T3SYNC 0x04
4950 #define _T3CKPS0 0x10
4951 #define _T3CKPS1 0x20
4952 #define _TMR3CS0 0x40
4953 #define _TMR3CS1 0x80
4955 //==============================================================================
4958 //==============================================================================
4961 extern __at(0x0496) __sfr T3GCON
;
4967 unsigned T3GSS0
: 1;
4968 unsigned T3GSS1
: 1;
4969 unsigned T3GVAL
: 1;
4970 unsigned T3GGO_NOT_DONE
: 1;
4971 unsigned T3GSPM
: 1;
4973 unsigned T3GPOL
: 1;
4974 unsigned TMR3GE
: 1;
4984 extern __at(0x0496) volatile __T3GCONbits_t T3GCONbits
;
4986 #define _T3GSS0 0x01
4987 #define _T3GSS1 0x02
4988 #define _T3GVAL 0x04
4989 #define _T3GGO_NOT_DONE 0x08
4990 #define _T3GSPM 0x10
4992 #define _T3GPOL 0x40
4993 #define _TMR3GE 0x80
4995 //==============================================================================
4997 extern __at(0x049A) __sfr TMR5L
;
4998 extern __at(0x049B) __sfr TMR5H
;
5000 //==============================================================================
5003 extern __at(0x049C) __sfr T5CON
;
5009 unsigned TMR5ON
: 1;
5011 unsigned T5SYNC
: 1;
5013 unsigned T5CKPS0
: 1;
5014 unsigned T5CKPS1
: 1;
5015 unsigned TMR5CS0
: 1;
5016 unsigned TMR5CS1
: 1;
5022 unsigned T5CKPS
: 2;
5029 unsigned TMR5CS
: 2;
5033 extern __at(0x049C) volatile __T5CONbits_t T5CONbits
;
5035 #define _TMR5ON 0x01
5036 #define _T5SYNC 0x04
5037 #define _T5CKPS0 0x10
5038 #define _T5CKPS1 0x20
5039 #define _TMR5CS0 0x40
5040 #define _TMR5CS1 0x80
5042 //==============================================================================
5045 //==============================================================================
5048 extern __at(0x049D) __sfr T5GCON
;
5054 unsigned T5GSS0
: 1;
5055 unsigned T5GSS1
: 1;
5056 unsigned T5GVAL
: 1;
5057 unsigned T5GGO_NOT_DONE
: 1;
5058 unsigned T5GSPM
: 1;
5060 unsigned T5GPOL
: 1;
5061 unsigned TMR5GE
: 1;
5071 extern __at(0x049D) volatile __T5GCONbits_t T5GCONbits
;
5073 #define _T5GSS0 0x01
5074 #define _T5GSS1 0x02
5075 #define _T5GVAL 0x04
5076 #define _T5GGO_NOT_DONE 0x08
5077 #define _T5GSPM 0x10
5079 #define _T5GPOL 0x40
5080 #define _TMR5GE 0x80
5082 //==============================================================================
5084 extern __at(0x058C) __sfr PID1SET
;
5086 //==============================================================================
5089 extern __at(0x058C) __sfr PID1SETL
;
5095 unsigned PID1SET0
: 1;
5096 unsigned PID1SET1
: 1;
5097 unsigned PID1SET2
: 1;
5098 unsigned PID1SET3
: 1;
5099 unsigned PID1SET4
: 1;
5100 unsigned PID1SET5
: 1;
5101 unsigned PID1SET6
: 1;
5102 unsigned PID1SET7
: 1;
5118 extern __at(0x058C) volatile __PID1SETLbits_t PID1SETLbits
;
5120 #define _PID1SET0 0x01
5122 #define _PID1SET1 0x02
5124 #define _PID1SET2 0x04
5126 #define _PID1SET3 0x08
5128 #define _PID1SET4 0x10
5130 #define _PID1SET5 0x20
5132 #define _PID1SET6 0x40
5134 #define _PID1SET7 0x80
5137 //==============================================================================
5140 //==============================================================================
5143 extern __at(0x058D) __sfr PID1SETH
;
5149 unsigned PID1SET8
: 1;
5150 unsigned PID1SET9
: 1;
5151 unsigned PID1SET10
: 1;
5152 unsigned PID1SET11
: 1;
5153 unsigned PID1SET12
: 1;
5154 unsigned PID1SET13
: 1;
5155 unsigned PID1SET14
: 1;
5156 unsigned PID1SET15
: 1;
5172 extern __at(0x058D) volatile __PID1SETHbits_t PID1SETHbits
;
5174 #define _PID1SET8 0x01
5176 #define _PID1SET9 0x02
5178 #define _PID1SET10 0x04
5180 #define _PID1SET11 0x08
5182 #define _PID1SET12 0x10
5184 #define _PID1SET13 0x20
5186 #define _PID1SET14 0x40
5188 #define _PID1SET15 0x80
5191 //==============================================================================
5193 extern __at(0x058E) __sfr PID1IN
;
5195 //==============================================================================
5198 extern __at(0x058E) __sfr PID1INL
;
5204 unsigned PID1IN0
: 1;
5205 unsigned PID1IN1
: 1;
5206 unsigned PID1IN2
: 1;
5207 unsigned PID1IN3
: 1;
5208 unsigned PID1IN4
: 1;
5209 unsigned PID1IN5
: 1;
5210 unsigned PID1IN6
: 1;
5211 unsigned PID1IN7
: 1;
5227 extern __at(0x058E) volatile __PID1INLbits_t PID1INLbits
;
5229 #define _PID1IN0 0x01
5231 #define _PID1IN1 0x02
5233 #define _PID1IN2 0x04
5235 #define _PID1IN3 0x08
5237 #define _PID1IN4 0x10
5239 #define _PID1IN5 0x20
5241 #define _PID1IN6 0x40
5243 #define _PID1IN7 0x80
5246 //==============================================================================
5249 //==============================================================================
5252 extern __at(0x058F) __sfr PID1INH
;
5258 unsigned PID1IN8
: 1;
5259 unsigned PID1IN9
: 1;
5260 unsigned PID1IN10
: 1;
5261 unsigned PID1IN11
: 1;
5262 unsigned PID1IN12
: 1;
5263 unsigned PID1IN13
: 1;
5264 unsigned PID1IN14
: 1;
5265 unsigned PID1IN15
: 1;
5281 extern __at(0x058F) volatile __PID1INHbits_t PID1INHbits
;
5283 #define _PID1IN8 0x01
5285 #define _PID1IN9 0x02
5287 #define _PID1IN10 0x04
5289 #define _PID1IN11 0x08
5291 #define _PID1IN12 0x10
5293 #define _PID1IN13 0x20
5295 #define _PID1IN14 0x40
5297 #define _PID1IN15 0x80
5300 //==============================================================================
5302 extern __at(0x0590) __sfr PID1K1
;
5304 //==============================================================================
5307 extern __at(0x0590) __sfr PID1K1L
;
5313 unsigned PID1K10
: 1;
5314 unsigned PID1K11
: 1;
5315 unsigned PID1K12
: 1;
5316 unsigned PID1K13
: 1;
5317 unsigned PID1K14
: 1;
5318 unsigned PID1K15
: 1;
5319 unsigned PID1K16
: 1;
5320 unsigned PID1K17
: 1;
5336 extern __at(0x0590) volatile __PID1K1Lbits_t PID1K1Lbits
;
5338 #define _PID1K10 0x01
5340 #define _PID1K11 0x02
5342 #define _PID1K12 0x04
5344 #define _PID1K13 0x08
5346 #define _PID1K14 0x10
5348 #define _PID1K15 0x20
5350 #define _PID1K16 0x40
5352 #define _PID1K17 0x80
5355 //==============================================================================
5358 //==============================================================================
5361 extern __at(0x0591) __sfr PID1K1H
;
5367 unsigned PID1K18
: 1;
5368 unsigned PID1K19
: 1;
5369 unsigned PID1K110
: 1;
5370 unsigned PID1K111
: 1;
5371 unsigned PID1K112
: 1;
5372 unsigned PID1K113
: 1;
5373 unsigned PID1K114
: 1;
5374 unsigned PID1K115
: 1;
5390 extern __at(0x0591) volatile __PID1K1Hbits_t PID1K1Hbits
;
5392 #define _PID1K18 0x01
5394 #define _PID1K19 0x02
5396 #define _PID1K110 0x04
5398 #define _PID1K111 0x08
5400 #define _PID1K112 0x10
5402 #define _PID1K113 0x20
5404 #define _PID1K114 0x40
5406 #define _PID1K115 0x80
5409 //==============================================================================
5411 extern __at(0x0592) __sfr PID1K2
;
5413 //==============================================================================
5416 extern __at(0x0592) __sfr PID1K2L
;
5422 unsigned PID1K20
: 1;
5423 unsigned PID1K21
: 1;
5424 unsigned PID1K22
: 1;
5425 unsigned PID1K23
: 1;
5426 unsigned PID1K24
: 1;
5427 unsigned PID1K25
: 1;
5428 unsigned PID1K26
: 1;
5429 unsigned PID1K27
: 1;
5445 extern __at(0x0592) volatile __PID1K2Lbits_t PID1K2Lbits
;
5447 #define _PID1K20 0x01
5449 #define _PID1K21 0x02
5451 #define _PID1K22 0x04
5453 #define _PID1K23 0x08
5455 #define _PID1K24 0x10
5457 #define _PID1K25 0x20
5459 #define _PID1K26 0x40
5461 #define _PID1K27 0x80
5464 //==============================================================================
5467 //==============================================================================
5470 extern __at(0x0593) __sfr PID1K2H
;
5476 unsigned PID1K28
: 1;
5477 unsigned PID1K29
: 1;
5478 unsigned PID1K210
: 1;
5479 unsigned PID1K211
: 1;
5480 unsigned PID1K212
: 1;
5481 unsigned PID1K213
: 1;
5482 unsigned PID1K214
: 1;
5483 unsigned PID1K215
: 1;
5499 extern __at(0x0593) volatile __PID1K2Hbits_t PID1K2Hbits
;
5501 #define _PID1K28 0x01
5503 #define _PID1K29 0x02
5505 #define _PID1K210 0x04
5507 #define _PID1K211 0x08
5509 #define _PID1K212 0x10
5511 #define _PID1K213 0x20
5513 #define _PID1K214 0x40
5515 #define _PID1K215 0x80
5518 //==============================================================================
5520 extern __at(0x0594) __sfr PID1K3
;
5522 //==============================================================================
5525 extern __at(0x0594) __sfr PID1K3L
;
5531 unsigned PID1K30
: 1;
5532 unsigned PID1K31
: 1;
5533 unsigned PID1K32
: 1;
5534 unsigned PID1K33
: 1;
5535 unsigned PID1K34
: 1;
5536 unsigned PID1K35
: 1;
5537 unsigned PID1K36
: 1;
5538 unsigned PID1K37
: 1;
5554 extern __at(0x0594) volatile __PID1K3Lbits_t PID1K3Lbits
;
5556 #define _PID1K30 0x01
5558 #define _PID1K31 0x02
5560 #define _PID1K32 0x04
5562 #define _PID1K33 0x08
5564 #define _PID1K34 0x10
5566 #define _PID1K35 0x20
5568 #define _PID1K36 0x40
5570 #define _PID1K37 0x80
5573 //==============================================================================
5576 //==============================================================================
5579 extern __at(0x0595) __sfr PID1K3H
;
5585 unsigned PID1K38
: 1;
5586 unsigned PID1K39
: 1;
5587 unsigned PID1K310
: 1;
5588 unsigned PID1K311
: 1;
5589 unsigned PID1K312
: 1;
5590 unsigned PID1K313
: 1;
5591 unsigned PID1K314
: 1;
5592 unsigned PID1K315
: 1;
5608 extern __at(0x0595) volatile __PID1K3Hbits_t PID1K3Hbits
;
5610 #define _PID1K38 0x01
5612 #define _PID1K39 0x02
5614 #define _PID1K310 0x04
5616 #define _PID1K311 0x08
5618 #define _PID1K312 0x10
5620 #define _PID1K313 0x20
5622 #define _PID1K314 0x40
5624 #define _PID1K315 0x80
5627 //==============================================================================
5629 extern __at(0x0596) __sfr PID1OUT
;
5631 //==============================================================================
5634 extern __at(0x0596) __sfr PID1OUTLL
;
5640 unsigned PID1OUT0
: 1;
5641 unsigned PID1OUT1
: 1;
5642 unsigned PID1OUT2
: 1;
5643 unsigned PID1OUT3
: 1;
5644 unsigned PID1OUT4
: 1;
5645 unsigned PID1OUT5
: 1;
5646 unsigned PID1OUT6
: 1;
5647 unsigned PID1OUT7
: 1;
5661 } __PID1OUTLLbits_t
;
5663 extern __at(0x0596) volatile __PID1OUTLLbits_t PID1OUTLLbits
;
5665 #define _PID1OUT0 0x01
5667 #define _PID1OUT1 0x02
5669 #define _PID1OUT2 0x04
5671 #define _PID1OUT3 0x08
5673 #define _PID1OUT4 0x10
5675 #define _PID1OUT5 0x20
5677 #define _PID1OUT6 0x40
5679 #define _PID1OUT7 0x80
5682 //==============================================================================
5685 //==============================================================================
5688 extern __at(0x0597) __sfr PID1OUTLH
;
5694 unsigned PID1OUT8
: 1;
5695 unsigned PID1OUT9
: 1;
5696 unsigned PID1OUT10
: 1;
5697 unsigned PID1OUT11
: 1;
5698 unsigned PID1OUT12
: 1;
5699 unsigned PID1OUT13
: 1;
5700 unsigned PID1OUT14
: 1;
5701 unsigned PID1OUT15
: 1;
5715 } __PID1OUTLHbits_t
;
5717 extern __at(0x0597) volatile __PID1OUTLHbits_t PID1OUTLHbits
;
5719 #define _PID1OUT8 0x01
5721 #define _PID1OUT9 0x02
5723 #define _PID1OUT10 0x04
5725 #define _PID1OUT11 0x08
5727 #define _PID1OUT12 0x10
5729 #define _PID1OUT13 0x20
5731 #define _PID1OUT14 0x40
5733 #define _PID1OUT15 0x80
5736 //==============================================================================
5739 //==============================================================================
5742 extern __at(0x0598) __sfr PID1OUTHL
;
5748 unsigned PID1OUT16
: 1;
5749 unsigned PID1OUT17
: 1;
5750 unsigned PID1OUT18
: 1;
5751 unsigned PID1OUT19
: 1;
5752 unsigned PID1OUT20
: 1;
5753 unsigned PID1OUT21
: 1;
5754 unsigned PID1OUT22
: 1;
5755 unsigned PID1OUT23
: 1;
5769 } __PID1OUTHLbits_t
;
5771 extern __at(0x0598) volatile __PID1OUTHLbits_t PID1OUTHLbits
;
5773 #define _PID1OUT16 0x01
5775 #define _PID1OUT17 0x02
5777 #define _PID1OUT18 0x04
5779 #define _PID1OUT19 0x08
5781 #define _PID1OUT20 0x10
5783 #define _PID1OUT21 0x20
5785 #define _PID1OUT22 0x40
5787 #define _PID1OUT23 0x80
5790 //==============================================================================
5793 //==============================================================================
5796 extern __at(0x0599) __sfr PID1OUTHH
;
5802 unsigned PID1OUT24
: 1;
5803 unsigned PID1OUT25
: 1;
5804 unsigned PID1OUT26
: 1;
5805 unsigned PID1OUT27
: 1;
5806 unsigned PID1OUT28
: 1;
5807 unsigned PID1OUT29
: 1;
5808 unsigned PID1OUT30
: 1;
5809 unsigned PID1OUT31
: 1;
5823 } __PID1OUTHHbits_t
;
5825 extern __at(0x0599) volatile __PID1OUTHHbits_t PID1OUTHHbits
;
5827 #define _PID1OUT24 0x01
5829 #define _PID1OUT25 0x02
5831 #define _PID1OUT26 0x04
5833 #define _PID1OUT27 0x08
5835 #define _PID1OUT28 0x10
5837 #define _PID1OUT29 0x20
5839 #define _PID1OUT30 0x40
5841 #define _PID1OUT31 0x80
5844 //==============================================================================
5847 //==============================================================================
5850 extern __at(0x059A) __sfr PID1OUTU
;
5856 unsigned PID1OUT32
: 1;
5857 unsigned PID1OUT33
: 1;
5858 unsigned PID1OUT34
: 1;
5859 unsigned PID1OUT35
: 1;
5879 extern __at(0x059A) volatile __PID1OUTUbits_t PID1OUTUbits
;
5881 #define _PID1OUT32 0x01
5883 #define _PID1OUT33 0x02
5885 #define _PID1OUT34 0x04
5887 #define _PID1OUT35 0x08
5890 //==============================================================================
5892 extern __at(0x059B) __sfr PID1Z1
;
5894 //==============================================================================
5897 extern __at(0x059B) __sfr PID1Z1L
;
5903 unsigned PID1Z10
: 1;
5904 unsigned PID1Z11
: 1;
5905 unsigned PID1Z12
: 1;
5906 unsigned PID1Z13
: 1;
5907 unsigned PID1Z14
: 1;
5908 unsigned PID1Z15
: 1;
5909 unsigned PID1Z16
: 1;
5910 unsigned PID1Z17
: 1;
5926 extern __at(0x059B) volatile __PID1Z1Lbits_t PID1Z1Lbits
;
5928 #define _PID1Z10 0x01
5930 #define _PID1Z11 0x02
5932 #define _PID1Z12 0x04
5934 #define _PID1Z13 0x08
5936 #define _PID1Z14 0x10
5938 #define _PID1Z15 0x20
5940 #define _PID1Z16 0x40
5942 #define _PID1Z17 0x80
5945 //==============================================================================
5948 //==============================================================================
5951 extern __at(0x059C) __sfr PID1Z1H
;
5957 unsigned PID1Z18
: 1;
5958 unsigned PID1Z19
: 1;
5959 unsigned PID1Z110
: 1;
5960 unsigned PID1Z111
: 1;
5961 unsigned PID1Z112
: 1;
5962 unsigned PID1Z113
: 1;
5963 unsigned PID1Z114
: 1;
5964 unsigned PID1Z115
: 1;
5980 extern __at(0x059C) volatile __PID1Z1Hbits_t PID1Z1Hbits
;
5982 #define _PID1Z18 0x01
5984 #define _PID1Z19 0x02
5986 #define _PID1Z110 0x04
5988 #define _PID1Z111 0x08
5990 #define _PID1Z112 0x10
5992 #define _PID1Z113 0x20
5994 #define _PID1Z114 0x40
5996 #define _PID1Z115 0x80
5999 //==============================================================================
6002 //==============================================================================
6005 extern __at(0x059D) __sfr PID1Z1U
;
6011 unsigned PID1Z116
: 1;
6034 extern __at(0x059D) volatile __PID1Z1Ubits_t PID1Z1Ubits
;
6036 #define _PID1Z116 0x01
6039 //==============================================================================
6041 extern __at(0x060C) __sfr PID1Z2
;
6043 //==============================================================================
6046 extern __at(0x060C) __sfr PID1Z2L
;
6052 unsigned PID1Z20
: 1;
6053 unsigned PID1Z21
: 1;
6054 unsigned PID1Z22
: 1;
6055 unsigned PID1Z23
: 1;
6056 unsigned PID1Z24
: 1;
6057 unsigned PID1Z25
: 1;
6058 unsigned PID1Z26
: 1;
6059 unsigned PID1Z27
: 1;
6075 extern __at(0x060C) volatile __PID1Z2Lbits_t PID1Z2Lbits
;
6077 #define _PID1Z20 0x01
6079 #define _PID1Z21 0x02
6081 #define _PID1Z22 0x04
6083 #define _PID1Z23 0x08
6085 #define _PID1Z24 0x10
6087 #define _PID1Z25 0x20
6089 #define _PID1Z26 0x40
6091 #define _PID1Z27 0x80
6094 //==============================================================================
6097 //==============================================================================
6100 extern __at(0x060D) __sfr PID1Z2H
;
6106 unsigned PID1Z28
: 1;
6107 unsigned PID1Z29
: 1;
6108 unsigned PID1Z210
: 1;
6109 unsigned PID1Z211
: 1;
6110 unsigned PID1Z212
: 1;
6111 unsigned PID1Z213
: 1;
6112 unsigned PID1Z214
: 1;
6113 unsigned PID1Z215
: 1;
6129 extern __at(0x060D) volatile __PID1Z2Hbits_t PID1Z2Hbits
;
6131 #define _PID1Z28 0x01
6133 #define _PID1Z29 0x02
6135 #define _PID1Z210 0x04
6137 #define _PID1Z211 0x08
6139 #define _PID1Z212 0x10
6141 #define _PID1Z213 0x20
6143 #define _PID1Z214 0x40
6145 #define _PID1Z215 0x80
6148 //==============================================================================
6151 //==============================================================================
6154 extern __at(0x060E) __sfr PID1Z2U
;
6160 unsigned PID1Z216
: 1;
6183 extern __at(0x060E) volatile __PID1Z2Ubits_t PID1Z2Ubits
;
6185 #define _PID1Z216 0x01
6188 //==============================================================================
6190 extern __at(0x060F) __sfr PID1ACC
;
6192 //==============================================================================
6195 extern __at(0x060F) __sfr PID1ACCLL
;
6201 unsigned PID1ACC0
: 1;
6202 unsigned PID1ACC1
: 1;
6203 unsigned PID1ACC2
: 1;
6204 unsigned PID1ACC3
: 1;
6205 unsigned PID1ACC4
: 1;
6206 unsigned PID1ACC5
: 1;
6207 unsigned PID1ACC6
: 1;
6208 unsigned PID1ACC7
: 1;
6222 } __PID1ACCLLbits_t
;
6224 extern __at(0x060F) volatile __PID1ACCLLbits_t PID1ACCLLbits
;
6226 #define _PID1ACCLL_PID1ACC0 0x01
6227 #define _PID1ACCLL_ACC0 0x01
6228 #define _PID1ACCLL_PID1ACC1 0x02
6229 #define _PID1ACCLL_ACC1 0x02
6230 #define _PID1ACCLL_PID1ACC2 0x04
6231 #define _PID1ACCLL_ACC2 0x04
6232 #define _PID1ACCLL_PID1ACC3 0x08
6233 #define _PID1ACCLL_ACC3 0x08
6234 #define _PID1ACCLL_PID1ACC4 0x10
6235 #define _PID1ACCLL_ACC4 0x10
6236 #define _PID1ACCLL_PID1ACC5 0x20
6237 #define _PID1ACCLL_ACC5 0x20
6238 #define _PID1ACCLL_PID1ACC6 0x40
6239 #define _PID1ACCLL_ACC6 0x40
6240 #define _PID1ACCLL_PID1ACC7 0x80
6241 #define _PID1ACCLL_ACC7 0x80
6243 //==============================================================================
6246 //==============================================================================
6249 extern __at(0x0610) __sfr PID1ACCLH
;
6255 unsigned PID1ACC8
: 1;
6256 unsigned PID1ACC9
: 1;
6257 unsigned PID1ACC10
: 1;
6258 unsigned PID1ACC11
: 1;
6259 unsigned PID1ACC12
: 1;
6260 unsigned PID1ACC13
: 1;
6261 unsigned PID1ACC14
: 1;
6262 unsigned PID1ACC15
: 1;
6276 } __PID1ACCLHbits_t
;
6278 extern __at(0x0610) volatile __PID1ACCLHbits_t PID1ACCLHbits
;
6280 #define _PID1ACCLH_PID1ACC8 0x01
6281 #define _PID1ACCLH_ACC8 0x01
6282 #define _PID1ACCLH_PID1ACC9 0x02
6283 #define _PID1ACCLH_ACC9 0x02
6284 #define _PID1ACCLH_PID1ACC10 0x04
6285 #define _PID1ACCLH_ACC10 0x04
6286 #define _PID1ACCLH_PID1ACC11 0x08
6287 #define _PID1ACCLH_ACC11 0x08
6288 #define _PID1ACCLH_PID1ACC12 0x10
6289 #define _PID1ACCLH_ACC12 0x10
6290 #define _PID1ACCLH_PID1ACC13 0x20
6291 #define _PID1ACCLH_ACC13 0x20
6292 #define _PID1ACCLH_PID1ACC14 0x40
6293 #define _PID1ACCLH_ACC14 0x40
6294 #define _PID1ACCLH_PID1ACC15 0x80
6295 #define _PID1ACCLH_ACC15 0x80
6297 //==============================================================================
6300 //==============================================================================
6303 extern __at(0x0611) __sfr PID1ACCHL
;
6309 unsigned PID1ACC16
: 1;
6310 unsigned PID1ACC17
: 1;
6311 unsigned PID1ACC18
: 1;
6312 unsigned PID1ACC19
: 1;
6313 unsigned PID1ACC20
: 1;
6314 unsigned PID1ACC21
: 1;
6315 unsigned PID1ACC22
: 1;
6316 unsigned PID1ACC23
: 1;
6330 } __PID1ACCHLbits_t
;
6332 extern __at(0x0611) volatile __PID1ACCHLbits_t PID1ACCHLbits
;
6334 #define _PID1ACC16 0x01
6336 #define _PID1ACC17 0x02
6338 #define _PID1ACC18 0x04
6340 #define _PID1ACC19 0x08
6342 #define _PID1ACC20 0x10
6344 #define _PID1ACC21 0x20
6346 #define _PID1ACC22 0x40
6348 #define _PID1ACC23 0x80
6351 //==============================================================================
6354 //==============================================================================
6357 extern __at(0x0612) __sfr PID1ACCHH
;
6363 unsigned PID1ACC24
: 1;
6364 unsigned PID1ACC25
: 1;
6365 unsigned PID1ACC26
: 1;
6366 unsigned PID1ACC27
: 1;
6367 unsigned PID1ACC28
: 1;
6368 unsigned PID1ACC29
: 1;
6369 unsigned PID1ACC30
: 1;
6370 unsigned PID1ACC31
: 1;
6384 } __PID1ACCHHbits_t
;
6386 extern __at(0x0612) volatile __PID1ACCHHbits_t PID1ACCHHbits
;
6388 #define _PID1ACC24 0x01
6390 #define _PID1ACC25 0x02
6392 #define _PID1ACC26 0x04
6394 #define _PID1ACC27 0x08
6396 #define _PID1ACC28 0x10
6398 #define _PID1ACC29 0x20
6400 #define _PID1ACC30 0x40
6402 #define _PID1ACC31 0x80
6405 //==============================================================================
6408 //==============================================================================
6411 extern __at(0x0613) __sfr PID1ACCU
;
6417 unsigned PID1ACC32
: 1;
6418 unsigned PID1ACC33
: 1;
6419 unsigned PID1ACC34
: 1;
6440 extern __at(0x0613) volatile __PID1ACCUbits_t PID1ACCUbits
;
6442 #define _PID1ACC32 0x01
6444 #define _PID1ACC33 0x02
6446 #define _PID1ACC34 0x04
6449 //==============================================================================
6452 //==============================================================================
6455 extern __at(0x0614) __sfr PID1CON
;
6467 unsigned PID1BUSY
: 1;
6468 unsigned PID1EN
: 1;
6473 unsigned PID1MODE0
: 1;
6474 unsigned PID1MODE1
: 1;
6475 unsigned PID1MODE2
: 1;
6485 unsigned PID1MODE
: 3;
6496 extern __at(0x0614) volatile __PID1CONbits_t PID1CONbits
;
6498 #define _PID1CON_MODE0 0x01
6499 #define _PID1CON_PID1MODE0 0x01
6500 #define _PID1CON_MODE1 0x02
6501 #define _PID1CON_PID1MODE1 0x02
6502 #define _PID1CON_MODE2 0x04
6503 #define _PID1CON_PID1MODE2 0x04
6504 #define _PID1CON_PID1BUSY 0x40
6505 #define _PID1CON_BUSY 0x40
6506 #define _PID1CON_PID1EN 0x80
6507 #define _PID1CON_EN 0x80
6509 //==============================================================================
6512 //==============================================================================
6515 extern __at(0x0617) __sfr PWM3DCL
;
6539 unsigned PWM3DC0
: 1;
6540 unsigned PWM3DC1
: 1;
6551 unsigned PWMPW0
: 1;
6552 unsigned PWMPW1
: 1;
6570 unsigned PWM3DC
: 2;
6574 extern __at(0x0617) volatile __PWM3DCLbits_t PWM3DCLbits
;
6577 #define _PWM3DC0 0x40
6578 #define _PWMPW0 0x40
6580 #define _PWM3DC1 0x80
6581 #define _PWMPW1 0x80
6583 //==============================================================================
6586 //==============================================================================
6589 extern __at(0x0618) __sfr PWM3DCH
;
6607 unsigned PWM3DC2
: 1;
6608 unsigned PWM3DC3
: 1;
6609 unsigned PWM3DC4
: 1;
6610 unsigned PWM3DC5
: 1;
6611 unsigned PWM3DC6
: 1;
6612 unsigned PWM3DC7
: 1;
6613 unsigned PWM3DC8
: 1;
6614 unsigned PWM3DC9
: 1;
6619 unsigned PWMPW2
: 1;
6620 unsigned PWMPW3
: 1;
6621 unsigned PWMPW4
: 1;
6622 unsigned PWMPW5
: 1;
6623 unsigned PWMPW6
: 1;
6624 unsigned PWMPW7
: 1;
6625 unsigned PWMPW8
: 1;
6626 unsigned PWMPW9
: 1;
6630 extern __at(0x0618) volatile __PWM3DCHbits_t PWM3DCHbits
;
6633 #define _PWM3DC2 0x01
6634 #define _PWMPW2 0x01
6636 #define _PWM3DC3 0x02
6637 #define _PWMPW3 0x02
6639 #define _PWM3DC4 0x04
6640 #define _PWMPW4 0x04
6642 #define _PWM3DC5 0x08
6643 #define _PWMPW5 0x08
6645 #define _PWM3DC6 0x10
6646 #define _PWMPW6 0x10
6648 #define _PWM3DC7 0x20
6649 #define _PWMPW7 0x20
6651 #define _PWM3DC8 0x40
6652 #define _PWMPW8 0x40
6654 #define _PWM3DC9 0x80
6655 #define _PWMPW9 0x80
6657 //==============================================================================
6660 //==============================================================================
6663 extern __at(0x0619) __sfr PWM3CON
;
6685 unsigned PWM3POL
: 1;
6686 unsigned PWM3OUT
: 1;
6688 unsigned PWM3EN
: 1;
6692 extern __at(0x0619) volatile __PWM3CONbits_t PWM3CONbits
;
6694 #define _PWM3CON_POL 0x10
6695 #define _PWM3CON_PWM3POL 0x10
6696 #define _PWM3CON_OUT 0x20
6697 #define _PWM3CON_PWM3OUT 0x20
6698 #define _PWM3CON_EN 0x80
6699 #define _PWM3CON_PWM3EN 0x80
6701 //==============================================================================
6704 //==============================================================================
6707 extern __at(0x061A) __sfr PWM4DCL
;
6731 unsigned PWM4DC0
: 1;
6732 unsigned PWM4DC1
: 1;
6743 unsigned PWMPW0
: 1;
6744 unsigned PWMPW1
: 1;
6750 unsigned PWM4DC
: 2;
6766 extern __at(0x061A) volatile __PWM4DCLbits_t PWM4DCLbits
;
6768 #define _PWM4DCL_DC0 0x40
6769 #define _PWM4DCL_PWM4DC0 0x40
6770 #define _PWM4DCL_PWMPW0 0x40
6771 #define _PWM4DCL_DC1 0x80
6772 #define _PWM4DCL_PWM4DC1 0x80
6773 #define _PWM4DCL_PWMPW1 0x80
6775 //==============================================================================
6778 //==============================================================================
6781 extern __at(0x061B) __sfr PWM4DCH
;
6799 unsigned PWM4DC2
: 1;
6800 unsigned PWM4DC3
: 1;
6801 unsigned PWM4DC4
: 1;
6802 unsigned PWM4DC5
: 1;
6803 unsigned PWM4DC6
: 1;
6804 unsigned PWM4DC7
: 1;
6805 unsigned PWM4DC8
: 1;
6806 unsigned PWM4DC9
: 1;
6811 unsigned PWMPW2
: 1;
6812 unsigned PWMPW3
: 1;
6813 unsigned PWMPW4
: 1;
6814 unsigned PWMPW5
: 1;
6815 unsigned PWMPW6
: 1;
6816 unsigned PWMPW7
: 1;
6817 unsigned PWMPW8
: 1;
6818 unsigned PWMPW9
: 1;
6822 extern __at(0x061B) volatile __PWM4DCHbits_t PWM4DCHbits
;
6824 #define _PWM4DCH_DC2 0x01
6825 #define _PWM4DCH_PWM4DC2 0x01
6826 #define _PWM4DCH_PWMPW2 0x01
6827 #define _PWM4DCH_DC3 0x02
6828 #define _PWM4DCH_PWM4DC3 0x02
6829 #define _PWM4DCH_PWMPW3 0x02
6830 #define _PWM4DCH_DC4 0x04
6831 #define _PWM4DCH_PWM4DC4 0x04
6832 #define _PWM4DCH_PWMPW4 0x04
6833 #define _PWM4DCH_DC5 0x08
6834 #define _PWM4DCH_PWM4DC5 0x08
6835 #define _PWM4DCH_PWMPW5 0x08
6836 #define _PWM4DCH_DC6 0x10
6837 #define _PWM4DCH_PWM4DC6 0x10
6838 #define _PWM4DCH_PWMPW6 0x10
6839 #define _PWM4DCH_DC7 0x20
6840 #define _PWM4DCH_PWM4DC7 0x20
6841 #define _PWM4DCH_PWMPW7 0x20
6842 #define _PWM4DCH_DC8 0x40
6843 #define _PWM4DCH_PWM4DC8 0x40
6844 #define _PWM4DCH_PWMPW8 0x40
6845 #define _PWM4DCH_DC9 0x80
6846 #define _PWM4DCH_PWM4DC9 0x80
6847 #define _PWM4DCH_PWMPW9 0x80
6849 //==============================================================================
6852 //==============================================================================
6855 extern __at(0x061C) __sfr PWM4CON
;
6877 unsigned PWM4POL
: 1;
6878 unsigned PWM4OUT
: 1;
6880 unsigned PWM4EN
: 1;
6884 extern __at(0x061C) volatile __PWM4CONbits_t PWM4CONbits
;
6886 #define _PWM4CON_POL 0x10
6887 #define _PWM4CON_PWM4POL 0x10
6888 #define _PWM4CON_OUT 0x20
6889 #define _PWM4CON_PWM4OUT 0x20
6890 #define _PWM4CON_EN 0x80
6891 #define _PWM4CON_PWM4EN 0x80
6893 //==============================================================================
6896 //==============================================================================
6899 extern __at(0x0691) __sfr CWG1DBR
;
6917 unsigned CWG1DBR0
: 1;
6918 unsigned CWG1DBR1
: 1;
6919 unsigned CWG1DBR2
: 1;
6920 unsigned CWG1DBR3
: 1;
6921 unsigned CWG1DBR4
: 1;
6922 unsigned CWG1DBR5
: 1;
6929 unsigned CWG1DBR
: 6;
6940 extern __at(0x0691) volatile __CWG1DBRbits_t CWG1DBRbits
;
6943 #define _CWG1DBR0 0x01
6945 #define _CWG1DBR1 0x02
6947 #define _CWG1DBR2 0x04
6949 #define _CWG1DBR3 0x08
6951 #define _CWG1DBR4 0x10
6953 #define _CWG1DBR5 0x20
6955 //==============================================================================
6958 //==============================================================================
6961 extern __at(0x0692) __sfr CWG1DBF
;
6979 unsigned CWG1DBF0
: 1;
6980 unsigned CWG1DBF1
: 1;
6981 unsigned CWG1DBF2
: 1;
6982 unsigned CWG1DBF3
: 1;
6983 unsigned CWG1DBF4
: 1;
6984 unsigned CWG1DBF5
: 1;
6991 unsigned CWG1DBF
: 6;
7002 extern __at(0x0692) volatile __CWG1DBFbits_t CWG1DBFbits
;
7005 #define _CWG1DBF0 0x01
7007 #define _CWG1DBF1 0x02
7009 #define _CWG1DBF2 0x04
7011 #define _CWG1DBF3 0x08
7013 #define _CWG1DBF4 0x10
7015 #define _CWG1DBF5 0x20
7017 //==============================================================================
7020 //==============================================================================
7023 extern __at(0x0693) __sfr CWG1AS0
;
7036 unsigned SHUTDOWN
: 1;
7043 unsigned CWG1LSAC0
: 1;
7044 unsigned CWG1LSAC1
: 1;
7045 unsigned CWG1LSBD0
: 1;
7046 unsigned CWG1LSBD1
: 1;
7047 unsigned CWG1REN
: 1;
7048 unsigned CWG1SHUTDOWN
: 1;
7054 unsigned CWG1LSAC
: 2;
7068 unsigned CWG1LSBD
: 2;
7080 extern __at(0x0693) volatile __CWG1AS0bits_t CWG1AS0bits
;
7083 #define _CWG1LSAC0 0x04
7085 #define _CWG1LSAC1 0x08
7087 #define _CWG1LSBD0 0x10
7089 #define _CWG1LSBD1 0x20
7091 #define _CWG1REN 0x40
7092 #define _SHUTDOWN 0x80
7093 #define _CWG1SHUTDOWN 0x80
7095 //==============================================================================
7098 //==============================================================================
7101 extern __at(0x0694) __sfr CWG1AS1
;
7111 unsigned TMR2AS
: 1;
7112 unsigned TMR4AS
: 1;
7113 unsigned TMR6AS
: 1;
7119 unsigned CWG1INAS
: 1;
7120 unsigned CWG1C1AS
: 1;
7121 unsigned CWG1C2AS
: 1;
7123 unsigned CWG1TMR2AS
: 1;
7124 unsigned CWG1TMR4AS
: 1;
7125 unsigned CWG1TMR6AS
: 1;
7130 extern __at(0x0694) volatile __CWG1AS1bits_t CWG1AS1bits
;
7133 #define _CWG1INAS 0x01
7135 #define _CWG1C1AS 0x02
7137 #define _CWG1C2AS 0x04
7138 #define _TMR2AS 0x10
7139 #define _CWG1TMR2AS 0x10
7140 #define _TMR4AS 0x20
7141 #define _CWG1TMR4AS 0x20
7142 #define _TMR6AS 0x40
7143 #define _CWG1TMR6AS 0x40
7145 //==============================================================================
7148 //==============================================================================
7151 extern __at(0x0695) __sfr CWG1OCON0
;
7169 unsigned CWG1STRA
: 1;
7170 unsigned CWG1STRB
: 1;
7171 unsigned CWG1STRC
: 1;
7172 unsigned CWG1STRD
: 1;
7173 unsigned CWG1OVRA
: 1;
7174 unsigned CWG1OVRB
: 1;
7175 unsigned CWG1OVRC
: 1;
7176 unsigned CWG1OVRD
: 1;
7178 } __CWG1OCON0bits_t
;
7180 extern __at(0x0695) volatile __CWG1OCON0bits_t CWG1OCON0bits
;
7183 #define _CWG1STRA 0x01
7185 #define _CWG1STRB 0x02
7187 #define _CWG1STRC 0x04
7189 #define _CWG1STRD 0x08
7191 #define _CWG1OVRA 0x10
7193 #define _CWG1OVRB 0x20
7195 #define _CWG1OVRC 0x40
7197 #define _CWG1OVRD 0x80
7199 //==============================================================================
7202 //==============================================================================
7205 extern __at(0x0696) __sfr CWG1CON0
;
7223 unsigned CWG1MODE0
: 1;
7224 unsigned CWG1MODE1
: 1;
7225 unsigned CWG1MODE2
: 1;
7229 unsigned CWG1LD
: 1;
7242 unsigned CWG1EN
: 1;
7253 unsigned CWG1MODE
: 3;
7258 extern __at(0x0696) volatile __CWG1CON0bits_t CWG1CON0bits
;
7260 #define _CWG1CON0_MODE0 0x01
7261 #define _CWG1CON0_CWG1MODE0 0x01
7262 #define _CWG1CON0_MODE1 0x02
7263 #define _CWG1CON0_CWG1MODE1 0x02
7264 #define _CWG1CON0_MODE2 0x04
7265 #define _CWG1CON0_CWG1MODE2 0x04
7266 #define _CWG1CON0_LD 0x40
7267 #define _CWG1CON0_CWG1LD 0x40
7268 #define _CWG1CON0_EN 0x80
7269 #define _CWG1CON0_G1EN 0x80
7270 #define _CWG1CON0_CWG1EN 0x80
7272 //==============================================================================
7275 //==============================================================================
7278 extern __at(0x0697) __sfr CWG1CON1
;
7296 unsigned CWG1POLA
: 1;
7297 unsigned CWG1POLB
: 1;
7298 unsigned CWG1POLC
: 1;
7299 unsigned CWG1POLD
: 1;
7301 unsigned CWG1IN
: 1;
7307 extern __at(0x0697) volatile __CWG1CON1bits_t CWG1CON1bits
;
7310 #define _CWG1POLA 0x01
7312 #define _CWG1POLB 0x02
7314 #define _CWG1POLC 0x04
7316 #define _CWG1POLD 0x08
7318 #define _CWG1IN 0x20
7320 //==============================================================================
7323 //==============================================================================
7326 extern __at(0x0699) __sfr CWG1CLKCON
;
7344 unsigned CWG1CS
: 1;
7353 } __CWG1CLKCONbits_t
;
7355 extern __at(0x0699) volatile __CWG1CLKCONbits_t CWG1CLKCONbits
;
7357 #define _CWG1CLKCON_CS 0x01
7358 #define _CWG1CLKCON_CWG1CS 0x01
7360 //==============================================================================
7363 //==============================================================================
7366 extern __at(0x069A) __sfr CWG1ISM
;
7384 unsigned CWG1IS0
: 1;
7385 unsigned CWG1IS1
: 1;
7386 unsigned CWG1IS2
: 1;
7387 unsigned CWG1IS3
: 1;
7402 unsigned CWG1IS
: 4;
7407 extern __at(0x069A) volatile __CWG1ISMbits_t CWG1ISMbits
;
7410 #define _CWG1IS0 0x01
7412 #define _CWG1IS1 0x02
7414 #define _CWG1IS2 0x04
7416 #define _CWG1IS3 0x08
7418 //==============================================================================
7421 //==============================================================================
7424 extern __at(0x0711) __sfr WDTCON0
;
7431 unsigned WDTPS0
: 1;
7432 unsigned WDTPS1
: 1;
7433 unsigned WDTPS2
: 1;
7434 unsigned WDTPS3
: 1;
7435 unsigned WDTPS4
: 1;
7442 unsigned SWDTEN
: 1;
7454 unsigned WDTSEN
: 1;
7472 extern __at(0x0711) volatile __WDTCON0bits_t WDTCON0bits
;
7474 #define _WDTCON0_SEN 0x01
7475 #define _WDTCON0_SWDTEN 0x01
7476 #define _WDTCON0_WDTSEN 0x01
7477 #define _WDTCON0_WDTPS0 0x02
7478 #define _WDTCON0_WDTPS1 0x04
7479 #define _WDTCON0_WDTPS2 0x08
7480 #define _WDTCON0_WDTPS3 0x10
7481 #define _WDTCON0_WDTPS4 0x20
7483 //==============================================================================
7486 //==============================================================================
7489 extern __at(0x0712) __sfr WDTCON1
;
7495 unsigned WINDOW0
: 1;
7496 unsigned WINDOW1
: 1;
7497 unsigned WINDOW2
: 1;
7499 unsigned WDTCS0
: 1;
7500 unsigned WDTCS1
: 1;
7501 unsigned WDTCS2
: 1;
7507 unsigned WDTWINDOW0
: 1;
7508 unsigned WDTWINDOW1
: 1;
7509 unsigned WDTWINDOW2
: 1;
7519 unsigned WINDOW
: 3;
7525 unsigned WDTWINDOW
: 3;
7537 extern __at(0x0712) volatile __WDTCON1bits_t WDTCON1bits
;
7539 #define _WINDOW0 0x01
7540 #define _WDTWINDOW0 0x01
7541 #define _WINDOW1 0x02
7542 #define _WDTWINDOW1 0x02
7543 #define _WINDOW2 0x04
7544 #define _WDTWINDOW2 0x04
7545 #define _WDTCS0 0x10
7546 #define _WDTCS1 0x20
7547 #define _WDTCS2 0x40
7549 //==============================================================================
7552 //==============================================================================
7555 extern __at(0x0713) __sfr WDTPSL
;
7561 unsigned PSCNT0
: 1;
7562 unsigned PSCNT1
: 1;
7563 unsigned PSCNT2
: 1;
7564 unsigned PSCNT3
: 1;
7565 unsigned PSCNT4
: 1;
7566 unsigned PSCNT5
: 1;
7567 unsigned PSCNT6
: 1;
7568 unsigned PSCNT7
: 1;
7573 unsigned WDTPSCNT0
: 1;
7574 unsigned WDTPSCNT1
: 1;
7575 unsigned WDTPSCNT2
: 1;
7576 unsigned WDTPSCNT3
: 1;
7577 unsigned WDTPSCNT4
: 1;
7578 unsigned WDTPSCNT5
: 1;
7579 unsigned WDTPSCNT6
: 1;
7580 unsigned WDTPSCNT7
: 1;
7584 extern __at(0x0713) volatile __WDTPSLbits_t WDTPSLbits
;
7586 #define _PSCNT0 0x01
7587 #define _WDTPSCNT0 0x01
7588 #define _PSCNT1 0x02
7589 #define _WDTPSCNT1 0x02
7590 #define _PSCNT2 0x04
7591 #define _WDTPSCNT2 0x04
7592 #define _PSCNT3 0x08
7593 #define _WDTPSCNT3 0x08
7594 #define _PSCNT4 0x10
7595 #define _WDTPSCNT4 0x10
7596 #define _PSCNT5 0x20
7597 #define _WDTPSCNT5 0x20
7598 #define _PSCNT6 0x40
7599 #define _WDTPSCNT6 0x40
7600 #define _PSCNT7 0x80
7601 #define _WDTPSCNT7 0x80
7603 //==============================================================================
7606 //==============================================================================
7609 extern __at(0x0714) __sfr WDTPSH
;
7615 unsigned PSCNT8
: 1;
7616 unsigned PSCNT9
: 1;
7617 unsigned PSCNT10
: 1;
7618 unsigned PSCNT11
: 1;
7619 unsigned PSCNT12
: 1;
7620 unsigned PSCNT13
: 1;
7621 unsigned PSCNT14
: 1;
7622 unsigned PSCNT15
: 1;
7627 unsigned WDTPSCNT8
: 1;
7628 unsigned WDTPSCNT9
: 1;
7629 unsigned WDTPSCNT10
: 1;
7630 unsigned WDTPSCNT11
: 1;
7631 unsigned WDTPSCNT12
: 1;
7632 unsigned WDTPSCNT13
: 1;
7633 unsigned WDTPSCNT14
: 1;
7634 unsigned WDTPSCNT15
: 1;
7638 extern __at(0x0714) volatile __WDTPSHbits_t WDTPSHbits
;
7640 #define _PSCNT8 0x01
7641 #define _WDTPSCNT8 0x01
7642 #define _PSCNT9 0x02
7643 #define _WDTPSCNT9 0x02
7644 #define _PSCNT10 0x04
7645 #define _WDTPSCNT10 0x04
7646 #define _PSCNT11 0x08
7647 #define _WDTPSCNT11 0x08
7648 #define _PSCNT12 0x10
7649 #define _WDTPSCNT12 0x10
7650 #define _PSCNT13 0x20
7651 #define _WDTPSCNT13 0x20
7652 #define _PSCNT14 0x40
7653 #define _WDTPSCNT14 0x40
7654 #define _PSCNT15 0x80
7655 #define _WDTPSCNT15 0x80
7657 //==============================================================================
7660 //==============================================================================
7663 extern __at(0x0715) __sfr WDTTMR
;
7669 unsigned PSCNT16
: 1;
7670 unsigned PSCNT17
: 1;
7672 unsigned WDTTMR0
: 1;
7673 unsigned WDTTMR1
: 1;
7674 unsigned WDTTMR2
: 1;
7675 unsigned WDTTMR3
: 1;
7676 unsigned WDTTMR4
: 1;
7681 unsigned WDTPSCNT16
: 1;
7682 unsigned WDTPSCNT17
: 1;
7683 unsigned WDTSTATE
: 1;
7694 unsigned WDTTMR
: 5;
7698 extern __at(0x0715) volatile __WDTTMRbits_t WDTTMRbits
;
7700 #define _PSCNT16 0x01
7701 #define _WDTPSCNT16 0x01
7702 #define _PSCNT17 0x02
7703 #define _WDTPSCNT17 0x02
7705 #define _WDTSTATE 0x04
7706 #define _WDTTMR0 0x08
7707 #define _WDTTMR1 0x10
7708 #define _WDTTMR2 0x20
7709 #define _WDTTMR3 0x40
7710 #define _WDTTMR4 0x80
7712 //==============================================================================
7714 extern __at(0x0718) __sfr SCANLADR
;
7716 //==============================================================================
7719 extern __at(0x0718) __sfr SCANLADRL
;
7737 unsigned SCANLADR0
: 1;
7738 unsigned SCANLADR1
: 1;
7739 unsigned SCANLADR2
: 1;
7740 unsigned SCANLADR3
: 1;
7741 unsigned SCANLADR4
: 1;
7742 unsigned SCANLADR5
: 1;
7743 unsigned SCANLADR6
: 1;
7744 unsigned SCANLADR7
: 1;
7752 } __SCANLADRLbits_t
;
7754 extern __at(0x0718) volatile __SCANLADRLbits_t SCANLADRLbits
;
7757 #define _SCANLADR0 0x01
7759 #define _SCANLADR1 0x02
7761 #define _SCANLADR2 0x04
7763 #define _SCANLADR3 0x08
7765 #define _SCANLADR4 0x10
7767 #define _SCANLADR5 0x20
7769 #define _SCANLADR6 0x40
7771 #define _SCANLADR7 0x80
7773 //==============================================================================
7776 //==============================================================================
7779 extern __at(0x0719) __sfr SCANLADRH
;
7787 unsigned LADR10
: 1;
7788 unsigned LADR11
: 1;
7789 unsigned LADR12
: 1;
7790 unsigned LADR13
: 1;
7791 unsigned LADR14
: 1;
7792 unsigned LADR15
: 1;
7797 unsigned SCANLADR8
: 1;
7798 unsigned SCANLADR9
: 1;
7799 unsigned SCANLADR10
: 1;
7800 unsigned SCANLADR11
: 1;
7801 unsigned SCANLADR12
: 1;
7802 unsigned SCANLADR13
: 1;
7803 unsigned SCANLADR14
: 1;
7804 unsigned SCANLADR15
: 1;
7806 } __SCANLADRHbits_t
;
7808 extern __at(0x0719) volatile __SCANLADRHbits_t SCANLADRHbits
;
7811 #define _SCANLADR8 0x01
7813 #define _SCANLADR9 0x02
7814 #define _LADR10 0x04
7815 #define _SCANLADR10 0x04
7816 #define _LADR11 0x08
7817 #define _SCANLADR11 0x08
7818 #define _LADR12 0x10
7819 #define _SCANLADR12 0x10
7820 #define _LADR13 0x20
7821 #define _SCANLADR13 0x20
7822 #define _LADR14 0x40
7823 #define _SCANLADR14 0x40
7824 #define _LADR15 0x80
7825 #define _SCANLADR15 0x80
7827 //==============================================================================
7829 extern __at(0x071A) __sfr SCANHADR
;
7831 //==============================================================================
7834 extern __at(0x071A) __sfr SCANHADRL
;
7852 unsigned SCANHADR0
: 1;
7853 unsigned SCANHADR1
: 1;
7854 unsigned SCANHADR2
: 1;
7855 unsigned SCANHADR3
: 1;
7856 unsigned SCANHADR4
: 1;
7857 unsigned SCANHADR5
: 1;
7858 unsigned SCANHADR6
: 1;
7859 unsigned SCANHADR7
: 1;
7861 } __SCANHADRLbits_t
;
7863 extern __at(0x071A) volatile __SCANHADRLbits_t SCANHADRLbits
;
7866 #define _SCANHADR0 0x01
7868 #define _SCANHADR1 0x02
7870 #define _SCANHADR2 0x04
7872 #define _SCANHADR3 0x08
7874 #define _SCANHADR4 0x10
7876 #define _SCANHADR5 0x20
7878 #define _SCANHADR6 0x40
7880 #define _SCANHADR7 0x80
7882 //==============================================================================
7885 //==============================================================================
7888 extern __at(0x071B) __sfr SCANHADRH
;
7896 unsigned HADR10
: 1;
7897 unsigned HADR11
: 1;
7898 unsigned HADR12
: 1;
7899 unsigned HADR13
: 1;
7900 unsigned HADR14
: 1;
7901 unsigned HADR15
: 1;
7906 unsigned SCANHADR8
: 1;
7907 unsigned SCANHADR9
: 1;
7908 unsigned SCANHADR10
: 1;
7909 unsigned SCANHADR11
: 1;
7910 unsigned SCANHADR12
: 1;
7911 unsigned SCANHADR13
: 1;
7912 unsigned SCANHADR14
: 1;
7913 unsigned SCANHADR15
: 1;
7915 } __SCANHADRHbits_t
;
7917 extern __at(0x071B) volatile __SCANHADRHbits_t SCANHADRHbits
;
7920 #define _SCANHADR8 0x01
7922 #define _SCANHADR9 0x02
7923 #define _HADR10 0x04
7924 #define _SCANHADR10 0x04
7925 #define _HADR11 0x08
7926 #define _SCANHADR11 0x08
7927 #define _HADR12 0x10
7928 #define _SCANHADR12 0x10
7929 #define _HADR13 0x20
7930 #define _SCANHADR13 0x20
7931 #define _HADR14 0x40
7932 #define _SCANHADR14 0x40
7933 #define _HADR15 0x80
7934 #define _SCANHADR15 0x80
7936 //==============================================================================
7939 //==============================================================================
7942 extern __at(0x071C) __sfr SCANCON0
;
7952 unsigned INVALID
: 1;
7954 unsigned SCANGO
: 1;
7960 unsigned SCANMODE0
: 1;
7961 unsigned SCANMODE1
: 1;
7963 unsigned SCANINTM
: 1;
7964 unsigned SCANINVALID
: 1;
7965 unsigned SCANBUSY
: 1;
7967 unsigned SCANEN
: 1;
7978 unsigned SCANMODE
: 2;
7983 extern __at(0x071C) volatile __SCANCON0bits_t SCANCON0bits
;
7985 #define _SCANCON0_MODE0 0x01
7986 #define _SCANCON0_SCANMODE0 0x01
7987 #define _SCANCON0_MODE1 0x02
7988 #define _SCANCON0_SCANMODE1 0x02
7989 #define _SCANCON0_INTM 0x08
7990 #define _SCANCON0_SCANINTM 0x08
7991 #define _SCANCON0_INVALID 0x10
7992 #define _SCANCON0_SCANINVALID 0x10
7993 #define _SCANCON0_BUSY 0x20
7994 #define _SCANCON0_SCANBUSY 0x20
7995 #define _SCANCON0_SCANGO 0x40
7996 #define _SCANCON0_EN 0x80
7997 #define _SCANCON0_SCANEN 0x80
7999 //==============================================================================
8002 //==============================================================================
8005 extern __at(0x071D) __sfr SCANTRIG
;
8023 unsigned SCANTSEL0
: 1;
8024 unsigned SCANTSEL1
: 1;
8025 unsigned SCANTSEL2
: 1;
8026 unsigned SCANTSEL3
: 1;
8035 unsigned SCANTSEL
: 4;
8046 extern __at(0x071D) volatile __SCANTRIGbits_t SCANTRIGbits
;
8049 #define _SCANTSEL0 0x01
8051 #define _SCANTSEL1 0x02
8053 #define _SCANTSEL2 0x04
8055 #define _SCANTSEL3 0x08
8057 //==============================================================================
8059 extern __at(0x0791) __sfr CRCDAT
;
8061 //==============================================================================
8064 extern __at(0x0791) __sfr CRCDATL
;
8082 unsigned CRCDAT0
: 1;
8083 unsigned CRCDAT1
: 1;
8084 unsigned CRCDAT2
: 1;
8085 unsigned CRCDAT3
: 1;
8086 unsigned CRCDAT4
: 1;
8087 unsigned CRCDAT5
: 1;
8088 unsigned CRCDAT6
: 1;
8089 unsigned CRDCDAT7
: 1;
8094 unsigned CRCDAT
: 7;
8099 extern __at(0x0791) volatile __CRCDATLbits_t CRCDATLbits
;
8102 #define _CRCDAT0 0x01
8104 #define _CRCDAT1 0x02
8106 #define _CRCDAT2 0x04
8108 #define _CRCDAT3 0x08
8110 #define _CRCDAT4 0x10
8112 #define _CRCDAT5 0x20
8114 #define _CRCDAT6 0x40
8116 #define _CRDCDAT7 0x80
8118 //==============================================================================
8121 //==============================================================================
8124 extern __at(0x0792) __sfr CRCDATH
;
8142 unsigned CRCDAT8
: 1;
8143 unsigned CRCDAT9
: 1;
8144 unsigned CRCDAT10
: 1;
8145 unsigned CRCDAT11
: 1;
8146 unsigned CRCDAT12
: 1;
8147 unsigned CRCDAT13
: 1;
8148 unsigned CRCDAT14
: 1;
8149 unsigned CRCDAT15
: 1;
8153 extern __at(0x0792) volatile __CRCDATHbits_t CRCDATHbits
;
8156 #define _CRCDAT8 0x01
8158 #define _CRCDAT9 0x02
8160 #define _CRCDAT10 0x04
8162 #define _CRCDAT11 0x08
8164 #define _CRCDAT12 0x10
8166 #define _CRCDAT13 0x20
8168 #define _CRCDAT14 0x40
8170 #define _CRCDAT15 0x80
8172 //==============================================================================
8174 extern __at(0x0793) __sfr CRCACC
;
8176 //==============================================================================
8179 extern __at(0x0793) __sfr CRCACCL
;
8197 unsigned CRCACC0
: 1;
8198 unsigned CRCACC1
: 1;
8199 unsigned CRCACC2
: 1;
8200 unsigned CRCACC3
: 1;
8201 unsigned CRCACC4
: 1;
8202 unsigned CRCACC5
: 1;
8203 unsigned CRCACC6
: 1;
8204 unsigned CRCACC7
: 1;
8208 extern __at(0x0793) volatile __CRCACCLbits_t CRCACCLbits
;
8211 #define _CRCACC0 0x01
8213 #define _CRCACC1 0x02
8215 #define _CRCACC2 0x04
8217 #define _CRCACC3 0x08
8219 #define _CRCACC4 0x10
8221 #define _CRCACC5 0x20
8223 #define _CRCACC6 0x40
8225 #define _CRCACC7 0x80
8227 //==============================================================================
8230 //==============================================================================
8233 extern __at(0x0794) __sfr CRCACCH
;
8251 unsigned CRCACC8
: 1;
8252 unsigned CRCACC9
: 1;
8253 unsigned CRCACC10
: 1;
8254 unsigned CRCACC11
: 1;
8255 unsigned CRCACC12
: 1;
8256 unsigned CRCACC13
: 1;
8257 unsigned CRCACC14
: 1;
8258 unsigned CRCACC15
: 1;
8262 extern __at(0x0794) volatile __CRCACCHbits_t CRCACCHbits
;
8265 #define _CRCACC8 0x01
8267 #define _CRCACC9 0x02
8269 #define _CRCACC10 0x04
8271 #define _CRCACC11 0x08
8273 #define _CRCACC12 0x10
8275 #define _CRCACC13 0x20
8277 #define _CRCACC14 0x40
8279 #define _CRCACC15 0x80
8281 //==============================================================================
8283 extern __at(0x0795) __sfr CRCSHIFT
;
8285 //==============================================================================
8288 extern __at(0x0795) __sfr CRCSHIFTL
;
8294 unsigned SHIFT0
: 1;
8295 unsigned SHIFT1
: 1;
8296 unsigned SHIFT2
: 1;
8297 unsigned SHIFT3
: 1;
8298 unsigned SHIFT4
: 1;
8299 unsigned SHIFT5
: 1;
8300 unsigned SHIFT6
: 1;
8301 unsigned SHIFT7
: 1;
8306 unsigned CRCSHIFT0
: 1;
8307 unsigned CRCSHIFT1
: 1;
8308 unsigned CRCSHIFT2
: 1;
8309 unsigned CRCSHIFT3
: 1;
8310 unsigned CRCSHIFT4
: 1;
8311 unsigned CRCSHIFT5
: 1;
8312 unsigned CRCSHIFT6
: 1;
8313 unsigned CRCSHIFT7
: 1;
8315 } __CRCSHIFTLbits_t
;
8317 extern __at(0x0795) volatile __CRCSHIFTLbits_t CRCSHIFTLbits
;
8319 #define _SHIFT0 0x01
8320 #define _CRCSHIFT0 0x01
8321 #define _SHIFT1 0x02
8322 #define _CRCSHIFT1 0x02
8323 #define _SHIFT2 0x04
8324 #define _CRCSHIFT2 0x04
8325 #define _SHIFT3 0x08
8326 #define _CRCSHIFT3 0x08
8327 #define _SHIFT4 0x10
8328 #define _CRCSHIFT4 0x10
8329 #define _SHIFT5 0x20
8330 #define _CRCSHIFT5 0x20
8331 #define _SHIFT6 0x40
8332 #define _CRCSHIFT6 0x40
8333 #define _SHIFT7 0x80
8334 #define _CRCSHIFT7 0x80
8336 //==============================================================================
8339 //==============================================================================
8342 extern __at(0x0796) __sfr CRCSHIFTH
;
8348 unsigned SHIFT8
: 1;
8349 unsigned SHIFT9
: 1;
8350 unsigned SHIFT10
: 1;
8351 unsigned SHIFT11
: 1;
8352 unsigned SHIFT12
: 1;
8353 unsigned SHIFT13
: 1;
8354 unsigned SHIFT14
: 1;
8355 unsigned SHIFT15
: 1;
8360 unsigned CRCSHIFT8
: 1;
8361 unsigned CRCSHIFT9
: 1;
8362 unsigned CRCSHIFT10
: 1;
8363 unsigned CRCSHIFT11
: 1;
8364 unsigned CRCSHIFT12
: 1;
8365 unsigned CRCSHIFT13
: 1;
8366 unsigned CRCSHIFT14
: 1;
8367 unsigned CRCSHIFT15
: 1;
8369 } __CRCSHIFTHbits_t
;
8371 extern __at(0x0796) volatile __CRCSHIFTHbits_t CRCSHIFTHbits
;
8373 #define _SHIFT8 0x01
8374 #define _CRCSHIFT8 0x01
8375 #define _SHIFT9 0x02
8376 #define _CRCSHIFT9 0x02
8377 #define _SHIFT10 0x04
8378 #define _CRCSHIFT10 0x04
8379 #define _SHIFT11 0x08
8380 #define _CRCSHIFT11 0x08
8381 #define _SHIFT12 0x10
8382 #define _CRCSHIFT12 0x10
8383 #define _SHIFT13 0x20
8384 #define _CRCSHIFT13 0x20
8385 #define _SHIFT14 0x40
8386 #define _CRCSHIFT14 0x40
8387 #define _SHIFT15 0x80
8388 #define _CRCSHIFT15 0x80
8390 //==============================================================================
8392 extern __at(0x0797) __sfr CRCXOR
;
8394 //==============================================================================
8397 extern __at(0x0797) __sfr CRCXORL
;
8416 unsigned CRCXOR1
: 1;
8417 unsigned CRCXOR2
: 1;
8418 unsigned CRCXOR3
: 1;
8419 unsigned CRCXOR4
: 1;
8420 unsigned CRCXOR5
: 1;
8421 unsigned CRCXOR6
: 1;
8422 unsigned CRCXOR7
: 1;
8426 extern __at(0x0797) volatile __CRCXORLbits_t CRCXORLbits
;
8429 #define _CRCXOR1 0x02
8431 #define _CRCXOR2 0x04
8433 #define _CRCXOR3 0x08
8435 #define _CRCXOR4 0x10
8437 #define _CRCXOR5 0x20
8439 #define _CRCXOR6 0x40
8441 #define _CRCXOR7 0x80
8443 //==============================================================================
8446 //==============================================================================
8449 extern __at(0x0798) __sfr CRCXORH
;
8467 unsigned CRCXOR8
: 1;
8468 unsigned CRCXOR9
: 1;
8469 unsigned CRCXOR10
: 1;
8470 unsigned CRCXOR11
: 1;
8471 unsigned CRCXOR12
: 1;
8472 unsigned CRCXOR13
: 1;
8473 unsigned CRCXOR14
: 1;
8474 unsigned CRCXOR15
: 1;
8478 extern __at(0x0798) volatile __CRCXORHbits_t CRCXORHbits
;
8481 #define _CRCXOR8 0x01
8483 #define _CRCXOR9 0x02
8485 #define _CRCXOR10 0x04
8487 #define _CRCXOR11 0x08
8489 #define _CRCXOR12 0x10
8491 #define _CRCXOR13 0x20
8493 #define _CRCXOR14 0x40
8495 #define _CRCXOR15 0x80
8497 //==============================================================================
8500 //==============================================================================
8503 extern __at(0x0799) __sfr CRCCON0
;
8510 unsigned SHIFTM
: 1;
8521 unsigned CRCFULL
: 1;
8522 unsigned CRCSHIFTM
: 1;
8525 unsigned CRCACCM
: 1;
8526 unsigned CRCBUSY
: 1;
8532 extern __at(0x0799) volatile __CRCCON0bits_t CRCCON0bits
;
8534 #define _CRCCON0_FULL 0x01
8535 #define _CRCCON0_CRCFULL 0x01
8536 #define _CRCCON0_SHIFTM 0x02
8537 #define _CRCCON0_CRCSHIFTM 0x02
8538 #define _CRCCON0_ACCM 0x10
8539 #define _CRCCON0_CRCACCM 0x10
8540 #define _CRCCON0_BUSY 0x20
8541 #define _CRCCON0_CRCBUSY 0x20
8542 #define _CRCCON0_CRCGO 0x40
8543 #define _CRCCON0_EN 0x80
8544 #define _CRCCON0_CRCEN 0x80
8546 //==============================================================================
8549 //==============================================================================
8552 extern __at(0x079A) __sfr CRCCON1
;
8570 unsigned CRCPLEN0
: 1;
8571 unsigned CRCPLEN1
: 1;
8572 unsigned CRCPLEN2
: 1;
8573 unsigned CRCPLEN3
: 1;
8574 unsigned CRCDLEN0
: 1;
8575 unsigned CRCDLEN1
: 1;
8576 unsigned CRCDLEN2
: 1;
8577 unsigned CRCDLEN3
: 1;
8588 unsigned CRCPLEN
: 4;
8601 unsigned CRCDLEN
: 4;
8605 extern __at(0x079A) volatile __CRCCON1bits_t CRCCON1bits
;
8608 #define _CRCPLEN0 0x01
8610 #define _CRCPLEN1 0x02
8612 #define _CRCPLEN2 0x04
8614 #define _CRCPLEN3 0x08
8616 #define _CRCDLEN0 0x10
8618 #define _CRCDLEN1 0x20
8620 #define _CRCDLEN2 0x40
8622 #define _CRCDLEN3 0x80
8624 //==============================================================================
8626 extern __at(0x080C) __sfr AT1RES
;
8628 //==============================================================================
8631 extern __at(0x080C) __sfr AT1RESL
;
8637 unsigned AT1RES0
: 1;
8638 unsigned AT1RES1
: 1;
8639 unsigned AT1RES2
: 1;
8640 unsigned AT1RES3
: 1;
8641 unsigned AT1RES4
: 1;
8642 unsigned AT1RES5
: 1;
8643 unsigned AT1RES6
: 1;
8644 unsigned AT1RES7
: 1;
8660 extern __at(0x080C) volatile __AT1RESLbits_t AT1RESLbits
;
8662 #define _AT1RES0 0x01
8664 #define _AT1RES1 0x02
8666 #define _AT1RES2 0x04
8668 #define _AT1RES3 0x08
8670 #define _AT1RES4 0x10
8672 #define _AT1RES5 0x20
8674 #define _AT1RES6 0x40
8676 #define _AT1RES7 0x80
8679 //==============================================================================
8682 //==============================================================================
8685 extern __at(0x080D) __sfr AT1RESH
;
8691 unsigned AT1RES8
: 1;
8692 unsigned AT1RES9
: 1;
8714 extern __at(0x080D) volatile __AT1RESHbits_t AT1RESHbits
;
8716 #define _AT1RES8 0x01
8718 #define _AT1RES9 0x02
8721 //==============================================================================
8723 extern __at(0x080E) __sfr AT1MISS
;
8725 //==============================================================================
8728 extern __at(0x080E) __sfr AT1MISSL
;
8734 unsigned AT1MISS0
: 1;
8735 unsigned AT1MISS1
: 1;
8736 unsigned AT1MISS2
: 1;
8737 unsigned AT1MISS3
: 1;
8738 unsigned AT1MISS4
: 1;
8739 unsigned AT1MISS5
: 1;
8740 unsigned AT1MISS6
: 1;
8741 unsigned AT1MISS7
: 1;
8757 extern __at(0x080E) volatile __AT1MISSLbits_t AT1MISSLbits
;
8759 #define _AT1MISS0 0x01
8761 #define _AT1MISS1 0x02
8763 #define _AT1MISS2 0x04
8765 #define _AT1MISS3 0x08
8767 #define _AT1MISS4 0x10
8769 #define _AT1MISS5 0x20
8771 #define _AT1MISS6 0x40
8773 #define _AT1MISS7 0x80
8776 //==============================================================================
8779 //==============================================================================
8782 extern __at(0x080F) __sfr AT1MISSH
;
8788 unsigned AT1MISS8
: 1;
8789 unsigned AT1MISS9
: 1;
8790 unsigned AT1MISS10
: 1;
8791 unsigned AT1MISS11
: 1;
8792 unsigned AT1MISS12
: 1;
8793 unsigned AT1MISS13
: 1;
8794 unsigned AT1MISS14
: 1;
8795 unsigned AT1MISS15
: 1;
8802 unsigned MISS10
: 1;
8803 unsigned MISS11
: 1;
8804 unsigned MISS12
: 1;
8805 unsigned MISS13
: 1;
8806 unsigned MISS14
: 1;
8807 unsigned MISS15
: 1;
8811 extern __at(0x080F) volatile __AT1MISSHbits_t AT1MISSHbits
;
8813 #define _AT1MISS8 0x01
8815 #define _AT1MISS9 0x02
8817 #define _AT1MISS10 0x04
8818 #define _MISS10 0x04
8819 #define _AT1MISS11 0x08
8820 #define _MISS11 0x08
8821 #define _AT1MISS12 0x10
8822 #define _MISS12 0x10
8823 #define _AT1MISS13 0x20
8824 #define _MISS13 0x20
8825 #define _AT1MISS14 0x40
8826 #define _MISS14 0x40
8827 #define _AT1MISS15 0x80
8828 #define _MISS15 0x80
8830 //==============================================================================
8832 extern __at(0x0810) __sfr AT1PER
;
8834 //==============================================================================
8837 extern __at(0x0810) __sfr AT1PERL
;
8843 unsigned AT1PER0
: 1;
8844 unsigned AT1PER1
: 1;
8845 unsigned AT1PER2
: 1;
8846 unsigned AT1PER3
: 1;
8847 unsigned AT1PER4
: 1;
8848 unsigned AT1PER5
: 1;
8849 unsigned AT1PER6
: 1;
8850 unsigned AT1PER7
: 1;
8878 extern __at(0x0810) volatile __AT1PERLbits_t AT1PERLbits
;
8880 #define _AT1PER0 0x01
8883 #define _AT1PER1 0x02
8886 #define _AT1PER2 0x04
8889 #define _AT1PER3 0x08
8892 #define _AT1PER4 0x10
8895 #define _AT1PER5 0x20
8898 #define _AT1PER6 0x40
8901 #define _AT1PER7 0x80
8905 //==============================================================================
8908 //==============================================================================
8911 extern __at(0x0811) __sfr AT1PERH
;
8917 unsigned AT1PER8
: 1;
8918 unsigned AT1PER9
: 1;
8919 unsigned AT1PER10
: 1;
8920 unsigned AT1PER11
: 1;
8921 unsigned AT1PER12
: 1;
8922 unsigned AT1PER13
: 1;
8923 unsigned AT1PER14
: 1;
8924 unsigned AT1POV
: 1;
8952 extern __at(0x0811) volatile __AT1PERHbits_t AT1PERHbits
;
8954 #define _AT1PER8 0x01
8957 #define _AT1PER9 0x02
8960 #define _AT1PER10 0x04
8963 #define _AT1PER11 0x08
8966 #define _AT1PER12 0x10
8969 #define _AT1PER13 0x20
8972 #define _AT1PER14 0x40
8975 #define _AT1POV 0x80
8979 //==============================================================================
8981 extern __at(0x0812) __sfr AT1PHS
;
8983 //==============================================================================
8986 extern __at(0x0812) __sfr AT1PHSL
;
8992 unsigned AT1PHS0
: 1;
8993 unsigned AT1PHS1
: 1;
8994 unsigned AT1PHS2
: 1;
8995 unsigned AT1PHS3
: 1;
8996 unsigned AT1PHS4
: 1;
8997 unsigned AT1PHS5
: 1;
8998 unsigned AT1PHS6
: 1;
8999 unsigned AT1PHS7
: 1;
9015 extern __at(0x0812) volatile __AT1PHSLbits_t AT1PHSLbits
;
9017 #define _AT1PHS0 0x01
9019 #define _AT1PHS1 0x02
9021 #define _AT1PHS2 0x04
9023 #define _AT1PHS3 0x08
9025 #define _AT1PHS4 0x10
9027 #define _AT1PHS5 0x20
9029 #define _AT1PHS6 0x40
9031 #define _AT1PHS7 0x80
9034 //==============================================================================
9037 //==============================================================================
9040 extern __at(0x0813) __sfr AT1PHSH
;
9046 unsigned AT1PHS8
: 1;
9047 unsigned AT1PHS9
: 1;
9081 extern __at(0x0813) volatile __AT1PHSHbits_t AT1PHSHbits
;
9083 #define _AT1PHS8 0x01
9086 #define _AT1PHS9 0x02
9090 //==============================================================================
9093 //==============================================================================
9096 extern __at(0x0814) __sfr AT1CON0
;
9114 unsigned AT1MODE
: 1;
9115 unsigned AT1APMOD
: 1;
9117 unsigned AT1POL
: 1;
9118 unsigned AT1PS0
: 1;
9119 unsigned AT1PS1
: 1;
9120 unsigned AT1PREC
: 1;
9139 extern __at(0x0814) volatile __AT1CON0bits_t AT1CON0bits
;
9142 #define _AT1MODE 0x01
9144 #define _AT1APMOD 0x02
9146 #define _AT1POL 0x08
9148 #define _AT1PS0 0x10
9150 #define _AT1PS1 0x20
9152 #define _AT1PREC 0x40
9156 //==============================================================================
9159 //==============================================================================
9162 extern __at(0x0815) __sfr AT1CON1
;
9180 unsigned AT1VALID
: 1;
9181 unsigned AT1ACCS
: 1;
9182 unsigned AT1MPP
: 1;
9184 unsigned AT1PRP
: 1;
9186 unsigned AT1PHP
: 1;
9191 extern __at(0x0815) volatile __AT1CON1bits_t AT1CON1bits
;
9194 #define _AT1VALID 0x01
9196 #define _AT1ACCS 0x02
9198 #define _AT1MPP 0x04
9200 #define _AT1PRP 0x10
9202 #define _AT1PHP 0x40
9204 //==============================================================================
9207 //==============================================================================
9210 extern __at(0x0816) __sfr AT1IR0
;
9214 unsigned AT1PERIF
: 1;
9215 unsigned AT1MISSIF
: 1;
9216 unsigned AT1PHSIF
: 1;
9224 extern __at(0x0816) volatile __AT1IR0bits_t AT1IR0bits
;
9226 #define _AT1PERIF 0x01
9227 #define _AT1MISSIF 0x02
9228 #define _AT1PHSIF 0x04
9230 //==============================================================================
9233 //==============================================================================
9236 extern __at(0x0817) __sfr AT1IE0
;
9240 unsigned AT1PERIE
: 1;
9241 unsigned AT1MISSIE
: 1;
9242 unsigned AT1PHSIE
: 1;
9250 extern __at(0x0817) volatile __AT1IE0bits_t AT1IE0bits
;
9252 #define _AT1PERIE 0x01
9253 #define _AT1MISSIE 0x02
9254 #define _AT1PHSIE 0x04
9256 //==============================================================================
9259 //==============================================================================
9262 extern __at(0x0818) __sfr AT1IR1
;
9266 unsigned AT1CC1IF
: 1;
9267 unsigned AT1CC2IF
: 1;
9268 unsigned AT1CC3IF
: 1;
9276 extern __at(0x0818) volatile __AT1IR1bits_t AT1IR1bits
;
9278 #define _AT1CC1IF 0x01
9279 #define _AT1CC2IF 0x02
9280 #define _AT1CC3IF 0x04
9282 //==============================================================================
9285 //==============================================================================
9288 extern __at(0x0819) __sfr AT1IE1
;
9292 unsigned AT1CC1IE
: 1;
9293 unsigned AT1CC2IE
: 1;
9294 unsigned AT1CC3IE
: 1;
9302 extern __at(0x0819) volatile __AT1IE1bits_t AT1IE1bits
;
9304 #define _AT1CC1IE 0x01
9305 #define _AT1CC2IE 0x02
9306 #define _AT1CC3IE 0x04
9308 //==============================================================================
9310 extern __at(0x081A) __sfr AT1STPT
;
9312 //==============================================================================
9315 extern __at(0x081A) __sfr AT1STPTL
;
9321 unsigned AT1STPT0
: 1;
9322 unsigned AT1STPT1
: 1;
9323 unsigned AT1STPT2
: 1;
9324 unsigned AT1STPT3
: 1;
9325 unsigned AT1STPT4
: 1;
9326 unsigned AT1STPT5
: 1;
9327 unsigned AT1STPT6
: 1;
9328 unsigned AT1STPT7
: 1;
9344 extern __at(0x081A) volatile __AT1STPTLbits_t AT1STPTLbits
;
9346 #define _AT1STPT0 0x01
9348 #define _AT1STPT1 0x02
9350 #define _AT1STPT2 0x04
9352 #define _AT1STPT3 0x08
9354 #define _AT1STPT4 0x10
9356 #define _AT1STPT5 0x20
9358 #define _AT1STPT6 0x40
9360 #define _AT1STPT7 0x80
9363 //==============================================================================
9366 //==============================================================================
9369 extern __at(0x081B) __sfr AT1STPTH
;
9375 unsigned AT1STPT8
: 1;
9376 unsigned AT1STPT9
: 1;
9377 unsigned AT1STPT10
: 1;
9378 unsigned AT1STPT11
: 1;
9379 unsigned AT1STPT12
: 1;
9380 unsigned AT1STPT13
: 1;
9381 unsigned AT1STPT14
: 1;
9389 unsigned STPT10
: 1;
9390 unsigned STPT11
: 1;
9391 unsigned STPT12
: 1;
9392 unsigned STPT13
: 1;
9393 unsigned STPT14
: 1;
9398 extern __at(0x081B) volatile __AT1STPTHbits_t AT1STPTHbits
;
9400 #define _AT1STPT8 0x01
9402 #define _AT1STPT9 0x02
9404 #define _AT1STPT10 0x04
9405 #define _STPT10 0x04
9406 #define _AT1STPT11 0x08
9407 #define _STPT11 0x08
9408 #define _AT1STPT12 0x10
9409 #define _STPT12 0x10
9410 #define _AT1STPT13 0x20
9411 #define _STPT13 0x20
9412 #define _AT1STPT14 0x40
9413 #define _STPT14 0x40
9415 //==============================================================================
9417 extern __at(0x081C) __sfr AT1ERR
;
9419 //==============================================================================
9422 extern __at(0x081C) __sfr AT1ERRL
;
9428 unsigned AT1ERR0
: 1;
9429 unsigned AT1ERR1
: 1;
9430 unsigned AT1ERR2
: 1;
9431 unsigned AT1ERR3
: 1;
9432 unsigned AT1ERR4
: 1;
9433 unsigned AT1ERR5
: 1;
9434 unsigned AT1ERR6
: 1;
9435 unsigned AT1ERR7
: 1;
9463 extern __at(0x081C) volatile __AT1ERRLbits_t AT1ERRLbits
;
9465 #define _AT1ERR0 0x01
9468 #define _AT1ERR1 0x02
9471 #define _AT1ERR2 0x04
9474 #define _AT1ERR3 0x08
9477 #define _AT1ERR4 0x10
9480 #define _AT1ERR5 0x20
9483 #define _AT1ERR6 0x40
9486 #define _AT1ERR7 0x80
9490 //==============================================================================
9493 //==============================================================================
9496 extern __at(0x081D) __sfr AT1ERRH
;
9502 unsigned AT1ERR8
: 1;
9503 unsigned AT1ERR9
: 1;
9504 unsigned AT1ERR10
: 1;
9505 unsigned AT1ERR11
: 1;
9506 unsigned AT1ERR12
: 1;
9507 unsigned AT1ERR13
: 1;
9508 unsigned AT1ERR14
: 1;
9509 unsigned AT1ERR15
: 1;
9537 extern __at(0x081D) volatile __AT1ERRHbits_t AT1ERRHbits
;
9539 #define _AT1ERR8 0x01
9542 #define _AT1ERR9 0x02
9545 #define _AT1ERR10 0x04
9548 #define _AT1ERR11 0x08
9551 #define _AT1ERR12 0x10
9554 #define _AT1ERR13 0x20
9557 #define _AT1ERR14 0x40
9560 #define _AT1ERR15 0x80
9564 //==============================================================================
9567 //==============================================================================
9570 extern __at(0x088C) __sfr AT1CLK
;
9612 unsigned AT1CS0
: 1;
9623 extern __at(0x088C) volatile __AT1CLKbits_t AT1CLKbits
;
9628 #define _AT1CS0 0x01
9630 //==============================================================================
9633 //==============================================================================
9636 extern __at(0x088D) __sfr AT1SIG
;
9642 unsigned AT1SSEL0
: 1;
9643 unsigned AT1SSEL1
: 1;
9644 unsigned AT1SSEL2
: 1;
9672 unsigned AT1SSEL
: 3;
9677 extern __at(0x088D) volatile __AT1SIGbits_t AT1SIGbits
;
9679 #define _AT1SSEL0 0x01
9681 #define _AT1SSEL1 0x02
9683 #define _AT1SSEL2 0x04
9686 //==============================================================================
9689 //==============================================================================
9692 extern __at(0x088E) __sfr AT1CSEL1
;
9698 unsigned AT1CP1S0
: 1;
9699 unsigned AT1CP1S1
: 1;
9700 unsigned AT1CP1S2
: 1;
9728 unsigned AT1CP1S
: 3;
9733 extern __at(0x088E) volatile __AT1CSEL1bits_t AT1CSEL1bits
;
9735 #define _AT1CP1S0 0x01
9737 #define _AT1CP1S1 0x02
9739 #define _AT1CP1S2 0x04
9742 //==============================================================================
9744 extern __at(0x088F) __sfr AT1CC1
;
9746 //==============================================================================
9749 extern __at(0x088F) __sfr AT1CC1L
;
9755 unsigned AT1CC10
: 1;
9756 unsigned AT1CC11
: 1;
9757 unsigned AT1CC12
: 1;
9758 unsigned AT1CC13
: 1;
9759 unsigned AT1CC14
: 1;
9760 unsigned AT1CC15
: 1;
9761 unsigned AT1CC16
: 1;
9762 unsigned AT1CC17
: 1;
9778 extern __at(0x088F) volatile __AT1CC1Lbits_t AT1CC1Lbits
;
9780 #define _AT1CC10 0x01
9782 #define _AT1CC11 0x02
9784 #define _AT1CC12 0x04
9786 #define _AT1CC13 0x08
9788 #define _AT1CC14 0x10
9790 #define _AT1CC15 0x20
9792 #define _AT1CC16 0x40
9794 #define _AT1CC17 0x80
9797 //==============================================================================
9800 //==============================================================================
9803 extern __at(0x0890) __sfr AT1CC1H
;
9809 unsigned AT1CC18
: 1;
9810 unsigned AT1CC19
: 1;
9832 extern __at(0x0890) volatile __AT1CC1Hbits_t AT1CC1Hbits
;
9834 #define _AT1CC18 0x01
9836 #define _AT1CC19 0x02
9839 //==============================================================================
9842 //==============================================================================
9845 extern __at(0x0891) __sfr AT1CCON1
;
9851 unsigned AT1CC1MODE
: 1;
9854 unsigned AT1CAP1P
: 1;
9855 unsigned AT1CC1POL
: 1;
9858 unsigned AT1CC1EN
: 1;
9863 unsigned CC1MODE
: 1;
9867 unsigned CC1POL
: 1;
9874 extern __at(0x0891) volatile __AT1CCON1bits_t AT1CCON1bits
;
9876 #define _AT1CC1MODE 0x01
9877 #define _CC1MODE 0x01
9878 #define _AT1CAP1P 0x08
9880 #define _AT1CC1POL 0x10
9881 #define _CC1POL 0x10
9882 #define _AT1CC1EN 0x80
9885 //==============================================================================
9888 //==============================================================================
9891 extern __at(0x0892) __sfr AT1CSEL2
;
9897 unsigned AT1CP2S0
: 1;
9898 unsigned AT1CP2S1
: 1;
9899 unsigned AT1CP2S2
: 1;
9921 unsigned AT1CP2S
: 3;
9932 extern __at(0x0892) volatile __AT1CSEL2bits_t AT1CSEL2bits
;
9934 #define _AT1CP2S0 0x01
9936 #define _AT1CP2S1 0x02
9938 #define _AT1CP2S2 0x04
9941 //==============================================================================
9943 extern __at(0x0893) __sfr AT1CC2
;
9945 //==============================================================================
9948 extern __at(0x0893) __sfr AT1CC2L
;
9954 unsigned AT1CC20
: 1;
9955 unsigned AT1CC21
: 1;
9956 unsigned AT1CC22
: 1;
9957 unsigned AT1CC23
: 1;
9958 unsigned AT1CC24
: 1;
9959 unsigned AT1CC25
: 1;
9960 unsigned AT1CC26
: 1;
9961 unsigned AT1CC27
: 1;
9977 extern __at(0x0893) volatile __AT1CC2Lbits_t AT1CC2Lbits
;
9979 #define _AT1CC2L_AT1CC20 0x01
9980 #define _AT1CC2L_CC20 0x01
9981 #define _AT1CC2L_AT1CC21 0x02
9982 #define _AT1CC2L_CC21 0x02
9983 #define _AT1CC2L_AT1CC22 0x04
9984 #define _AT1CC2L_CC22 0x04
9985 #define _AT1CC2L_AT1CC23 0x08
9986 #define _AT1CC2L_CC13 0x08
9987 #define _AT1CC2L_AT1CC24 0x10
9988 #define _AT1CC2L_CC24 0x10
9989 #define _AT1CC2L_AT1CC25 0x20
9990 #define _AT1CC2L_CCW5 0x20
9991 #define _AT1CC2L_AT1CC26 0x40
9992 #define _AT1CC2L_CC26 0x40
9993 #define _AT1CC2L_AT1CC27 0x80
9994 #define _AT1CC2L_CC27 0x80
9996 //==============================================================================
9999 //==============================================================================
10002 extern __at(0x0894) __sfr AT1CC2H
;
10008 unsigned AT1CC28
: 1;
10009 unsigned AT1CC29
: 1;
10031 extern __at(0x0894) volatile __AT1CC2Hbits_t AT1CC2Hbits
;
10033 #define _AT1CC28 0x01
10035 #define _AT1CC29 0x02
10038 //==============================================================================
10041 //==============================================================================
10044 extern __at(0x0895) __sfr AT1CCON2
;
10050 unsigned AT1CC2MODE
: 1;
10053 unsigned AT1CAP2P
: 1;
10054 unsigned AT1CC2POL
: 1;
10057 unsigned AT1CC2EN
: 1;
10062 unsigned CC2MODE
: 1;
10065 unsigned CAP2P
: 1;
10066 unsigned CC2POL
: 1;
10069 unsigned CC2EN
: 1;
10071 } __AT1CCON2bits_t
;
10073 extern __at(0x0895) volatile __AT1CCON2bits_t AT1CCON2bits
;
10075 #define _AT1CC2MODE 0x01
10076 #define _CC2MODE 0x01
10077 #define _AT1CAP2P 0x08
10078 #define _CAP2P 0x08
10079 #define _AT1CC2POL 0x10
10080 #define _CC2POL 0x10
10081 #define _AT1CC2EN 0x80
10082 #define _CC2EN 0x80
10084 //==============================================================================
10087 //==============================================================================
10090 extern __at(0x0896) __sfr AT1CSEL3
;
10096 unsigned AT1CP3S0
: 1;
10097 unsigned AT1CP3S1
: 1;
10098 unsigned AT1CP3S2
: 1;
10108 unsigned CP3S0
: 1;
10109 unsigned CP3S1
: 1;
10110 unsigned CP3S2
: 1;
10126 unsigned AT1CP3S
: 3;
10129 } __AT1CSEL3bits_t
;
10131 extern __at(0x0896) volatile __AT1CSEL3bits_t AT1CSEL3bits
;
10133 #define _AT1CP3S0 0x01
10134 #define _CP3S0 0x01
10135 #define _AT1CP3S1 0x02
10136 #define _CP3S1 0x02
10137 #define _AT1CP3S2 0x04
10138 #define _CP3S2 0x04
10140 //==============================================================================
10142 extern __at(0x0897) __sfr AT1CC3
;
10144 //==============================================================================
10147 extern __at(0x0897) __sfr AT1CC3L
;
10153 unsigned AT1CC30
: 1;
10154 unsigned AT1CC31
: 1;
10155 unsigned AT1CC32
: 1;
10156 unsigned AT1CC33
: 1;
10157 unsigned AT1CC34
: 1;
10158 unsigned AT1CC35
: 1;
10159 unsigned AT1CC36
: 1;
10160 unsigned AT1CC37
: 1;
10176 extern __at(0x0897) volatile __AT1CC3Lbits_t AT1CC3Lbits
;
10178 #define _AT1CC30 0x01
10180 #define _AT1CC31 0x02
10182 #define _AT1CC32 0x04
10184 #define _AT1CC33 0x08
10186 #define _AT1CC34 0x10
10188 #define _AT1CC35 0x20
10190 #define _AT1CC36 0x40
10192 #define _AT1CC37 0x80
10195 //==============================================================================
10198 //==============================================================================
10201 extern __at(0x0898) __sfr AT1CC3H
;
10207 unsigned AT1CC38
: 1;
10208 unsigned AT1CC39
: 1;
10230 extern __at(0x0898) volatile __AT1CC3Hbits_t AT1CC3Hbits
;
10232 #define _AT1CC38 0x01
10234 #define _AT1CC39 0x02
10237 //==============================================================================
10240 //==============================================================================
10243 extern __at(0x0899) __sfr AT1CCON3
;
10249 unsigned AT1CC3MODE
: 1;
10252 unsigned AT1CAP3P
: 1;
10253 unsigned AT1CC3POL
: 1;
10256 unsigned AT1CC3EN
: 1;
10261 unsigned CC3MODE
: 1;
10264 unsigned CAP3P
: 1;
10265 unsigned CC3POL
: 1;
10268 unsigned CC3EN
: 1;
10270 } __AT1CCON3bits_t
;
10272 extern __at(0x0899) volatile __AT1CCON3bits_t AT1CCON3bits
;
10274 #define _AT1CC3MODE 0x01
10275 #define _CC3MODE 0x01
10276 #define _AT1CAP3P 0x08
10277 #define _CAP3P 0x08
10278 #define _AT1CC3POL 0x10
10279 #define _CC3POL 0x10
10280 #define _AT1CC3EN 0x80
10281 #define _CC3EN 0x80
10283 //==============================================================================
10285 extern __at(0x0D8C) __sfr SMT1TMR
;
10287 //==============================================================================
10290 extern __at(0x0D8C) __sfr SMT1TMRL
;
10294 unsigned SMT1TMR0
: 1;
10295 unsigned SMT1TMR1
: 1;
10296 unsigned SMT1TMR2
: 1;
10297 unsigned SMT1TMR3
: 1;
10298 unsigned SMT1TMR4
: 1;
10299 unsigned SMT1TMR5
: 1;
10300 unsigned SMT1TMR6
: 1;
10301 unsigned SMT1TMR7
: 1;
10302 } __SMT1TMRLbits_t
;
10304 extern __at(0x0D8C) volatile __SMT1TMRLbits_t SMT1TMRLbits
;
10306 #define _SMT1TMR0 0x01
10307 #define _SMT1TMR1 0x02
10308 #define _SMT1TMR2 0x04
10309 #define _SMT1TMR3 0x08
10310 #define _SMT1TMR4 0x10
10311 #define _SMT1TMR5 0x20
10312 #define _SMT1TMR6 0x40
10313 #define _SMT1TMR7 0x80
10315 //==============================================================================
10318 //==============================================================================
10321 extern __at(0x0D8D) __sfr SMT1TMRH
;
10325 unsigned SMT1TMR8
: 1;
10326 unsigned SMT1TMR9
: 1;
10327 unsigned SMT1TMR10
: 1;
10328 unsigned SMT1TMR11
: 1;
10329 unsigned SMT1TMR12
: 1;
10330 unsigned SMT1TMR13
: 1;
10331 unsigned SMT1TMR14
: 1;
10332 unsigned SMT1TMR15
: 1;
10333 } __SMT1TMRHbits_t
;
10335 extern __at(0x0D8D) volatile __SMT1TMRHbits_t SMT1TMRHbits
;
10337 #define _SMT1TMR8 0x01
10338 #define _SMT1TMR9 0x02
10339 #define _SMT1TMR10 0x04
10340 #define _SMT1TMR11 0x08
10341 #define _SMT1TMR12 0x10
10342 #define _SMT1TMR13 0x20
10343 #define _SMT1TMR14 0x40
10344 #define _SMT1TMR15 0x80
10346 //==============================================================================
10349 //==============================================================================
10352 extern __at(0x0D8E) __sfr SMT1TMRU
;
10356 unsigned SMT1TMR16
: 1;
10357 unsigned SMT1TMR17
: 1;
10358 unsigned SMT1TMR18
: 1;
10359 unsigned SMT1TMR19
: 1;
10360 unsigned SMT1TMR20
: 1;
10361 unsigned SMT1TMR21
: 1;
10362 unsigned SMT1TMR22
: 1;
10363 unsigned SMT1TMR23
: 1;
10364 } __SMT1TMRUbits_t
;
10366 extern __at(0x0D8E) volatile __SMT1TMRUbits_t SMT1TMRUbits
;
10368 #define _SMT1TMR16 0x01
10369 #define _SMT1TMR17 0x02
10370 #define _SMT1TMR18 0x04
10371 #define _SMT1TMR19 0x08
10372 #define _SMT1TMR20 0x10
10373 #define _SMT1TMR21 0x20
10374 #define _SMT1TMR22 0x40
10375 #define _SMT1TMR23 0x80
10377 //==============================================================================
10379 extern __at(0x0D8F) __sfr SMT1CPR
;
10381 //==============================================================================
10384 extern __at(0x0D8F) __sfr SMT1CPRL
;
10388 unsigned SMT1CPR0
: 1;
10389 unsigned SMT1CPR1
: 1;
10390 unsigned SMT1CPR2
: 1;
10391 unsigned SMT1CPR3
: 1;
10392 unsigned SMT1CPR4
: 1;
10393 unsigned SMT1CPR5
: 1;
10394 unsigned SMT1CPR6
: 1;
10395 unsigned SMT1CPR7
: 1;
10396 } __SMT1CPRLbits_t
;
10398 extern __at(0x0D8F) volatile __SMT1CPRLbits_t SMT1CPRLbits
;
10400 #define _SMT1CPR0 0x01
10401 #define _SMT1CPR1 0x02
10402 #define _SMT1CPR2 0x04
10403 #define _SMT1CPR3 0x08
10404 #define _SMT1CPR4 0x10
10405 #define _SMT1CPR5 0x20
10406 #define _SMT1CPR6 0x40
10407 #define _SMT1CPR7 0x80
10409 //==============================================================================
10412 //==============================================================================
10415 extern __at(0x0D90) __sfr SMT1CPRH
;
10419 unsigned SMT1CPR8
: 1;
10420 unsigned SMT1CPR9
: 1;
10421 unsigned SMT1CPR10
: 1;
10422 unsigned SMT1CPR11
: 1;
10423 unsigned SMT1CPR12
: 1;
10424 unsigned SMT1CPR13
: 1;
10425 unsigned SMT1CPR14
: 1;
10426 unsigned SMT1CPR15
: 1;
10427 } __SMT1CPRHbits_t
;
10429 extern __at(0x0D90) volatile __SMT1CPRHbits_t SMT1CPRHbits
;
10431 #define _SMT1CPR8 0x01
10432 #define _SMT1CPR9 0x02
10433 #define _SMT1CPR10 0x04
10434 #define _SMT1CPR11 0x08
10435 #define _SMT1CPR12 0x10
10436 #define _SMT1CPR13 0x20
10437 #define _SMT1CPR14 0x40
10438 #define _SMT1CPR15 0x80
10440 //==============================================================================
10443 //==============================================================================
10446 extern __at(0x0D91) __sfr SMT1CPRU
;
10450 unsigned SMT1CPR16
: 1;
10451 unsigned SMT1CPR17
: 1;
10452 unsigned SMT1CPR18
: 1;
10453 unsigned SMT1CPR19
: 1;
10454 unsigned SMT1CPR20
: 1;
10455 unsigned SMT1CPR21
: 1;
10456 unsigned SMT1CPR22
: 1;
10457 unsigned SMT1CPR23
: 1;
10458 } __SMT1CPRUbits_t
;
10460 extern __at(0x0D91) volatile __SMT1CPRUbits_t SMT1CPRUbits
;
10462 #define _SMT1CPR16 0x01
10463 #define _SMT1CPR17 0x02
10464 #define _SMT1CPR18 0x04
10465 #define _SMT1CPR19 0x08
10466 #define _SMT1CPR20 0x10
10467 #define _SMT1CPR21 0x20
10468 #define _SMT1CPR22 0x40
10469 #define _SMT1CPR23 0x80
10471 //==============================================================================
10473 extern __at(0x0D92) __sfr SMT1CPW
;
10475 //==============================================================================
10478 extern __at(0x0D92) __sfr SMT1CPWL
;
10482 unsigned SMT1CPW0
: 1;
10483 unsigned SMT1CPW1
: 1;
10484 unsigned SMT1CPW2
: 1;
10485 unsigned SMT1CPW3
: 1;
10486 unsigned SMT1CPW4
: 1;
10487 unsigned SMT1CPW5
: 1;
10488 unsigned SMT1CPW6
: 1;
10489 unsigned SMT1CPW7
: 1;
10490 } __SMT1CPWLbits_t
;
10492 extern __at(0x0D92) volatile __SMT1CPWLbits_t SMT1CPWLbits
;
10494 #define _SMT1CPW0 0x01
10495 #define _SMT1CPW1 0x02
10496 #define _SMT1CPW2 0x04
10497 #define _SMT1CPW3 0x08
10498 #define _SMT1CPW4 0x10
10499 #define _SMT1CPW5 0x20
10500 #define _SMT1CPW6 0x40
10501 #define _SMT1CPW7 0x80
10503 //==============================================================================
10506 //==============================================================================
10509 extern __at(0x0D93) __sfr SMT1CPWH
;
10513 unsigned SMT1CPW8
: 1;
10514 unsigned SMT1CPW9
: 1;
10515 unsigned SMT1CPW10
: 1;
10516 unsigned SMT1CPW11
: 1;
10517 unsigned SMT1CPW12
: 1;
10518 unsigned SMT1CPW13
: 1;
10519 unsigned SMT1CPW14
: 1;
10520 unsigned SMT1CPW15
: 1;
10521 } __SMT1CPWHbits_t
;
10523 extern __at(0x0D93) volatile __SMT1CPWHbits_t SMT1CPWHbits
;
10525 #define _SMT1CPW8 0x01
10526 #define _SMT1CPW9 0x02
10527 #define _SMT1CPW10 0x04
10528 #define _SMT1CPW11 0x08
10529 #define _SMT1CPW12 0x10
10530 #define _SMT1CPW13 0x20
10531 #define _SMT1CPW14 0x40
10532 #define _SMT1CPW15 0x80
10534 //==============================================================================
10537 //==============================================================================
10540 extern __at(0x0D94) __sfr SMT1CPWU
;
10544 unsigned SMT1CPW16
: 1;
10545 unsigned SMT1CPW17
: 1;
10546 unsigned SMT1CPW18
: 1;
10547 unsigned SMT1CPW19
: 1;
10548 unsigned SMT1CPW20
: 1;
10549 unsigned SMT1CPW21
: 1;
10550 unsigned SMT1CPW22
: 1;
10551 unsigned SMT1CPW23
: 1;
10552 } __SMT1CPWUbits_t
;
10554 extern __at(0x0D94) volatile __SMT1CPWUbits_t SMT1CPWUbits
;
10556 #define _SMT1CPW16 0x01
10557 #define _SMT1CPW17 0x02
10558 #define _SMT1CPW18 0x04
10559 #define _SMT1CPW19 0x08
10560 #define _SMT1CPW20 0x10
10561 #define _SMT1CPW21 0x20
10562 #define _SMT1CPW22 0x40
10563 #define _SMT1CPW23 0x80
10565 //==============================================================================
10567 extern __at(0x0D95) __sfr SMT1PR
;
10569 //==============================================================================
10572 extern __at(0x0D95) __sfr SMT1PRL
;
10576 unsigned SMT1PR0
: 1;
10577 unsigned SMT1PR1
: 1;
10578 unsigned SMT1PR2
: 1;
10579 unsigned SMT1PR3
: 1;
10580 unsigned SMT1PR4
: 1;
10581 unsigned SMT1PR5
: 1;
10582 unsigned SMT1PR6
: 1;
10583 unsigned SMT1PR7
: 1;
10586 extern __at(0x0D95) volatile __SMT1PRLbits_t SMT1PRLbits
;
10588 #define _SMT1PR0 0x01
10589 #define _SMT1PR1 0x02
10590 #define _SMT1PR2 0x04
10591 #define _SMT1PR3 0x08
10592 #define _SMT1PR4 0x10
10593 #define _SMT1PR5 0x20
10594 #define _SMT1PR6 0x40
10595 #define _SMT1PR7 0x80
10597 //==============================================================================
10600 //==============================================================================
10603 extern __at(0x0D96) __sfr SMT1PRH
;
10607 unsigned SMT1PR8
: 1;
10608 unsigned SMT1PR9
: 1;
10609 unsigned SMT1PR10
: 1;
10610 unsigned SMT1PR11
: 1;
10611 unsigned SMT1PR12
: 1;
10612 unsigned SMT1PR13
: 1;
10613 unsigned SMT1PR14
: 1;
10614 unsigned SMT1PR15
: 1;
10617 extern __at(0x0D96) volatile __SMT1PRHbits_t SMT1PRHbits
;
10619 #define _SMT1PR8 0x01
10620 #define _SMT1PR9 0x02
10621 #define _SMT1PR10 0x04
10622 #define _SMT1PR11 0x08
10623 #define _SMT1PR12 0x10
10624 #define _SMT1PR13 0x20
10625 #define _SMT1PR14 0x40
10626 #define _SMT1PR15 0x80
10628 //==============================================================================
10631 //==============================================================================
10634 extern __at(0x0D97) __sfr SMT1PRU
;
10638 unsigned SMT1PR16
: 1;
10639 unsigned SMT1PR17
: 1;
10640 unsigned SMT1PR18
: 1;
10641 unsigned SMT1PR19
: 1;
10642 unsigned SMT1PR20
: 1;
10643 unsigned SMT1PR21
: 1;
10644 unsigned SMT1PR22
: 1;
10645 unsigned SMT1PR23
: 1;
10648 extern __at(0x0D97) volatile __SMT1PRUbits_t SMT1PRUbits
;
10650 #define _SMT1PR16 0x01
10651 #define _SMT1PR17 0x02
10652 #define _SMT1PR18 0x04
10653 #define _SMT1PR19 0x08
10654 #define _SMT1PR20 0x10
10655 #define _SMT1PR21 0x20
10656 #define _SMT1PR22 0x40
10657 #define _SMT1PR23 0x80
10659 //==============================================================================
10662 //==============================================================================
10665 extern __at(0x0D98) __sfr SMT1CON0
;
10671 unsigned SMT1PS0
: 1;
10672 unsigned SMT1PS1
: 1;
10683 unsigned SMT1PS
: 2;
10686 } __SMT1CON0bits_t
;
10688 extern __at(0x0D98) volatile __SMT1CON0bits_t SMT1CON0bits
;
10690 #define _SMT1CON0_SMT1PS0 0x01
10691 #define _SMT1CON0_SMT1PS1 0x02
10692 #define _SMT1CON0_CPOL 0x04
10693 #define _SMT1CON0_SPOL 0x08
10694 #define _SMT1CON0_WPOL 0x10
10695 #define _SMT1CON0_STP 0x20
10696 #define _SMT1CON0_EN 0x80
10698 //==============================================================================
10701 //==============================================================================
10704 extern __at(0x0D99) __sfr SMT1CON1
;
10710 unsigned MODE0
: 1;
10711 unsigned MODE1
: 1;
10712 unsigned MODE2
: 1;
10713 unsigned MODE3
: 1;
10716 unsigned REPEAT
: 1;
10717 unsigned SMT1GO
: 1;
10722 unsigned SMT1MODE0
: 1;
10723 unsigned SMT1MODE1
: 1;
10724 unsigned SMT1MODE2
: 1;
10725 unsigned SMT1MODE3
: 1;
10728 unsigned SMT1REPEAT
: 1;
10734 unsigned SMT1MODE
: 4;
10743 } __SMT1CON1bits_t
;
10745 extern __at(0x0D99) volatile __SMT1CON1bits_t SMT1CON1bits
;
10747 #define _SMT1CON1_MODE0 0x01
10748 #define _SMT1CON1_SMT1MODE0 0x01
10749 #define _SMT1CON1_MODE1 0x02
10750 #define _SMT1CON1_SMT1MODE1 0x02
10751 #define _SMT1CON1_MODE2 0x04
10752 #define _SMT1CON1_SMT1MODE2 0x04
10753 #define _SMT1CON1_MODE3 0x08
10754 #define _SMT1CON1_SMT1MODE3 0x08
10755 #define _SMT1CON1_REPEAT 0x40
10756 #define _SMT1CON1_SMT1REPEAT 0x40
10757 #define _SMT1CON1_SMT1GO 0x80
10759 //==============================================================================
10762 //==============================================================================
10765 extern __at(0x0D9A) __sfr SMT1STAT
;
10777 unsigned CPWUP
: 1;
10778 unsigned CPRUP
: 1;
10783 unsigned SMT1AS
: 1;
10784 unsigned SMT1WS
: 1;
10785 unsigned SMT1TS
: 1;
10788 unsigned SMT1RESET
: 1;
10789 unsigned SMT1CPWUP
: 1;
10790 unsigned SMT1CPRUP
: 1;
10792 } __SMT1STATbits_t
;
10794 extern __at(0x0D9A) volatile __SMT1STATbits_t SMT1STATbits
;
10797 #define _SMT1AS 0x01
10799 #define _SMT1WS 0x02
10801 #define _SMT1TS 0x04
10803 #define _SMT1RESET 0x20
10804 #define _CPWUP 0x40
10805 #define _SMT1CPWUP 0x40
10806 #define _CPRUP 0x80
10807 #define _SMT1CPRUP 0x80
10809 //==============================================================================
10812 //==============================================================================
10815 extern __at(0x0D9B) __sfr SMT1CLK
;
10821 unsigned CSEL0
: 1;
10822 unsigned CSEL1
: 1;
10823 unsigned CSEL2
: 1;
10833 unsigned SMT1CSEL0
: 1;
10834 unsigned SMT1CSEL1
: 1;
10835 unsigned SMT1CSEL2
: 1;
10851 unsigned SMT1CSEL
: 3;
10856 extern __at(0x0D9B) volatile __SMT1CLKbits_t SMT1CLKbits
;
10858 #define _CSEL0 0x01
10859 #define _SMT1CSEL0 0x01
10860 #define _CSEL1 0x02
10861 #define _SMT1CSEL1 0x02
10862 #define _CSEL2 0x04
10863 #define _SMT1CSEL2 0x04
10865 //==============================================================================
10868 //==============================================================================
10871 extern __at(0x0D9C) __sfr SMT1SIG
;
10877 unsigned SSEL0
: 1;
10878 unsigned SSEL1
: 1;
10879 unsigned SSEL2
: 1;
10880 unsigned SSEL3
: 1;
10881 unsigned SSEL4
: 1;
10889 unsigned SMT1SSEL0
: 1;
10890 unsigned SMT1SSEL1
: 1;
10891 unsigned SMT1SSEL2
: 1;
10892 unsigned SMT1SSEL3
: 1;
10893 unsigned SMT1SSEL4
: 1;
10907 unsigned SMT1SSEL
: 5;
10912 extern __at(0x0D9C) volatile __SMT1SIGbits_t SMT1SIGbits
;
10914 #define _SMT1SIG_SSEL0 0x01
10915 #define _SMT1SIG_SMT1SSEL0 0x01
10916 #define _SMT1SIG_SSEL1 0x02
10917 #define _SMT1SIG_SMT1SSEL1 0x02
10918 #define _SMT1SIG_SSEL2 0x04
10919 #define _SMT1SIG_SMT1SSEL2 0x04
10920 #define _SMT1SIG_SSEL3 0x08
10921 #define _SMT1SIG_SMT1SSEL3 0x08
10922 #define _SMT1SIG_SSEL4 0x10
10923 #define _SMT1SIG_SMT1SSEL4 0x10
10925 //==============================================================================
10928 //==============================================================================
10931 extern __at(0x0D9D) __sfr SMT1WIN
;
10937 unsigned WSEL0
: 1;
10938 unsigned WSEL1
: 1;
10939 unsigned WSEL2
: 1;
10940 unsigned WSEL3
: 1;
10941 unsigned WSEL4
: 1;
10949 unsigned SMT1WSEL0
: 1;
10950 unsigned SMT1WSEL1
: 1;
10951 unsigned SMT1WSEL2
: 1;
10952 unsigned SMT1WSEL3
: 1;
10953 unsigned SMT1WSEL4
: 1;
10961 unsigned SMT1WSEL
: 5;
10972 extern __at(0x0D9D) volatile __SMT1WINbits_t SMT1WINbits
;
10974 #define _WSEL0 0x01
10975 #define _SMT1WSEL0 0x01
10976 #define _WSEL1 0x02
10977 #define _SMT1WSEL1 0x02
10978 #define _WSEL2 0x04
10979 #define _SMT1WSEL2 0x04
10980 #define _WSEL3 0x08
10981 #define _SMT1WSEL3 0x08
10982 #define _WSEL4 0x10
10983 #define _SMT1WSEL4 0x10
10985 //==============================================================================
10987 extern __at(0x0D9E) __sfr SMT2TMR
;
10989 //==============================================================================
10992 extern __at(0x0D9E) __sfr SMT2TMRL
;
10996 unsigned SMT2TMR0
: 1;
10997 unsigned SMT2TMR1
: 1;
10998 unsigned SMT2TMR2
: 1;
10999 unsigned SMT2TMR3
: 1;
11000 unsigned SMT2TMR4
: 1;
11001 unsigned SMT2TMR5
: 1;
11002 unsigned SMT2TMR6
: 1;
11003 unsigned SMT2TMR7
: 1;
11004 } __SMT2TMRLbits_t
;
11006 extern __at(0x0D9E) volatile __SMT2TMRLbits_t SMT2TMRLbits
;
11008 #define _SMT2TMR0 0x01
11009 #define _SMT2TMR1 0x02
11010 #define _SMT2TMR2 0x04
11011 #define _SMT2TMR3 0x08
11012 #define _SMT2TMR4 0x10
11013 #define _SMT2TMR5 0x20
11014 #define _SMT2TMR6 0x40
11015 #define _SMT2TMR7 0x80
11017 //==============================================================================
11020 //==============================================================================
11023 extern __at(0x0D9F) __sfr SMT2TMRH
;
11027 unsigned SMT2TMR8
: 1;
11028 unsigned SMT2TMR9
: 1;
11029 unsigned SMT2TMR10
: 1;
11030 unsigned SMT2TMR11
: 1;
11031 unsigned SMT2TMR12
: 1;
11032 unsigned SMT2TMR13
: 1;
11033 unsigned SMT2TMR14
: 1;
11034 unsigned SMT2TMR15
: 1;
11035 } __SMT2TMRHbits_t
;
11037 extern __at(0x0D9F) volatile __SMT2TMRHbits_t SMT2TMRHbits
;
11039 #define _SMT2TMR8 0x01
11040 #define _SMT2TMR9 0x02
11041 #define _SMT2TMR10 0x04
11042 #define _SMT2TMR11 0x08
11043 #define _SMT2TMR12 0x10
11044 #define _SMT2TMR13 0x20
11045 #define _SMT2TMR14 0x40
11046 #define _SMT2TMR15 0x80
11048 //==============================================================================
11051 //==============================================================================
11054 extern __at(0x0DA0) __sfr SMT2TMRU
;
11058 unsigned SMT2TMR16
: 1;
11059 unsigned SMT2TMR17
: 1;
11060 unsigned SMT2TMR18
: 1;
11061 unsigned SMT2TMR19
: 1;
11062 unsigned SMT2TMR20
: 1;
11063 unsigned SMT2TMR21
: 1;
11064 unsigned SMT2TMR22
: 1;
11065 unsigned SMT2TMR23
: 1;
11066 } __SMT2TMRUbits_t
;
11068 extern __at(0x0DA0) volatile __SMT2TMRUbits_t SMT2TMRUbits
;
11070 #define _SMT2TMR16 0x01
11071 #define _SMT2TMR17 0x02
11072 #define _SMT2TMR18 0x04
11073 #define _SMT2TMR19 0x08
11074 #define _SMT2TMR20 0x10
11075 #define _SMT2TMR21 0x20
11076 #define _SMT2TMR22 0x40
11077 #define _SMT2TMR23 0x80
11079 //==============================================================================
11081 extern __at(0x0DA1) __sfr SMT2CPR
;
11083 //==============================================================================
11086 extern __at(0x0DA1) __sfr SMT2CPRL
;
11090 unsigned SMT2CPR0
: 1;
11091 unsigned SMT2CPR1
: 1;
11092 unsigned SMT2CPR2
: 1;
11093 unsigned SMT2CPR3
: 1;
11094 unsigned SMT2CPR4
: 1;
11095 unsigned SMT2CPR5
: 1;
11096 unsigned SMT2CPR6
: 1;
11097 unsigned SMT2CPR7
: 1;
11098 } __SMT2CPRLbits_t
;
11100 extern __at(0x0DA1) volatile __SMT2CPRLbits_t SMT2CPRLbits
;
11102 #define _SMT2CPR0 0x01
11103 #define _SMT2CPR1 0x02
11104 #define _SMT2CPR2 0x04
11105 #define _SMT2CPR3 0x08
11106 #define _SMT2CPR4 0x10
11107 #define _SMT2CPR5 0x20
11108 #define _SMT2CPR6 0x40
11109 #define _SMT2CPR7 0x80
11111 //==============================================================================
11114 //==============================================================================
11117 extern __at(0x0DA2) __sfr SMT2CPRH
;
11121 unsigned SMT2CPR8
: 1;
11122 unsigned SMT2CPR9
: 1;
11123 unsigned SMT2CPR10
: 1;
11124 unsigned SMT2CPR11
: 1;
11125 unsigned SMT2CPR12
: 1;
11126 unsigned SMT2CPR13
: 1;
11127 unsigned SMT2CPR14
: 1;
11128 unsigned SMT2CPR15
: 1;
11129 } __SMT2CPRHbits_t
;
11131 extern __at(0x0DA2) volatile __SMT2CPRHbits_t SMT2CPRHbits
;
11133 #define _SMT2CPR8 0x01
11134 #define _SMT2CPR9 0x02
11135 #define _SMT2CPR10 0x04
11136 #define _SMT2CPR11 0x08
11137 #define _SMT2CPR12 0x10
11138 #define _SMT2CPR13 0x20
11139 #define _SMT2CPR14 0x40
11140 #define _SMT2CPR15 0x80
11142 //==============================================================================
11145 //==============================================================================
11148 extern __at(0x0DA3) __sfr SMT2CPRU
;
11152 unsigned SMT2CPR16
: 1;
11153 unsigned SMT2CPR17
: 1;
11154 unsigned SMT2CPR18
: 1;
11155 unsigned SMT2CPR19
: 1;
11156 unsigned SMT2CPR20
: 1;
11157 unsigned SMT2CPR21
: 1;
11158 unsigned SMT2CPR22
: 1;
11159 unsigned SMT2CPR23
: 1;
11160 } __SMT2CPRUbits_t
;
11162 extern __at(0x0DA3) volatile __SMT2CPRUbits_t SMT2CPRUbits
;
11164 #define _SMT2CPR16 0x01
11165 #define _SMT2CPR17 0x02
11166 #define _SMT2CPR18 0x04
11167 #define _SMT2CPR19 0x08
11168 #define _SMT2CPR20 0x10
11169 #define _SMT2CPR21 0x20
11170 #define _SMT2CPR22 0x40
11171 #define _SMT2CPR23 0x80
11173 //==============================================================================
11175 extern __at(0x0DA4) __sfr SMT2CPW
;
11177 //==============================================================================
11180 extern __at(0x0DA4) __sfr SMT2CPWL
;
11184 unsigned SMT2CPW0
: 1;
11185 unsigned SMT2CPW1
: 1;
11186 unsigned SMT2CPW2
: 1;
11187 unsigned SMT2CPW3
: 1;
11188 unsigned SMT2CPW4
: 1;
11189 unsigned SMT2CPW5
: 1;
11190 unsigned SMT2CPW6
: 1;
11191 unsigned SMT2CPW7
: 1;
11192 } __SMT2CPWLbits_t
;
11194 extern __at(0x0DA4) volatile __SMT2CPWLbits_t SMT2CPWLbits
;
11196 #define _SMT2CPW0 0x01
11197 #define _SMT2CPW1 0x02
11198 #define _SMT2CPW2 0x04
11199 #define _SMT2CPW3 0x08
11200 #define _SMT2CPW4 0x10
11201 #define _SMT2CPW5 0x20
11202 #define _SMT2CPW6 0x40
11203 #define _SMT2CPW7 0x80
11205 //==============================================================================
11208 //==============================================================================
11211 extern __at(0x0DA5) __sfr SMT2CPWH
;
11215 unsigned SMT2CPW8
: 1;
11216 unsigned SMT2CPW9
: 1;
11217 unsigned SMT2CPW10
: 1;
11218 unsigned SMT2CPW11
: 1;
11219 unsigned SMT2CPW12
: 1;
11220 unsigned SMT2CPW13
: 1;
11221 unsigned SMT2CPW14
: 1;
11222 unsigned SMT2CPW15
: 1;
11223 } __SMT2CPWHbits_t
;
11225 extern __at(0x0DA5) volatile __SMT2CPWHbits_t SMT2CPWHbits
;
11227 #define _SMT2CPW8 0x01
11228 #define _SMT2CPW9 0x02
11229 #define _SMT2CPW10 0x04
11230 #define _SMT2CPW11 0x08
11231 #define _SMT2CPW12 0x10
11232 #define _SMT2CPW13 0x20
11233 #define _SMT2CPW14 0x40
11234 #define _SMT2CPW15 0x80
11236 //==============================================================================
11239 //==============================================================================
11242 extern __at(0x0DA6) __sfr SMT2CPWU
;
11246 unsigned SMT2CPW16
: 1;
11247 unsigned SMT2CPW17
: 1;
11248 unsigned SMT2CPW18
: 1;
11249 unsigned SMT2CPW19
: 1;
11250 unsigned SMT2CPW20
: 1;
11251 unsigned SMT2CPW21
: 1;
11252 unsigned SMT2CPW22
: 1;
11253 unsigned SMT2CPW23
: 1;
11254 } __SMT2CPWUbits_t
;
11256 extern __at(0x0DA6) volatile __SMT2CPWUbits_t SMT2CPWUbits
;
11258 #define _SMT2CPW16 0x01
11259 #define _SMT2CPW17 0x02
11260 #define _SMT2CPW18 0x04
11261 #define _SMT2CPW19 0x08
11262 #define _SMT2CPW20 0x10
11263 #define _SMT2CPW21 0x20
11264 #define _SMT2CPW22 0x40
11265 #define _SMT2CPW23 0x80
11267 //==============================================================================
11269 extern __at(0x0DA7) __sfr SMT2PR
;
11271 //==============================================================================
11274 extern __at(0x0DA7) __sfr SMT2PRL
;
11278 unsigned SMT2PR0
: 1;
11279 unsigned SMT2PR1
: 1;
11280 unsigned SMT2PR2
: 1;
11281 unsigned SMT2PR3
: 1;
11282 unsigned SMT2PR4
: 1;
11283 unsigned SMT2PR5
: 1;
11284 unsigned SMT2PR6
: 1;
11285 unsigned SMT2PR7
: 1;
11288 extern __at(0x0DA7) volatile __SMT2PRLbits_t SMT2PRLbits
;
11290 #define _SMT2PR0 0x01
11291 #define _SMT2PR1 0x02
11292 #define _SMT2PR2 0x04
11293 #define _SMT2PR3 0x08
11294 #define _SMT2PR4 0x10
11295 #define _SMT2PR5 0x20
11296 #define _SMT2PR6 0x40
11297 #define _SMT2PR7 0x80
11299 //==============================================================================
11302 //==============================================================================
11305 extern __at(0x0DA8) __sfr SMT2PRH
;
11309 unsigned SMT2PR8
: 1;
11310 unsigned SMT2PR9
: 1;
11311 unsigned SMT2PR10
: 1;
11312 unsigned SMT2PR11
: 1;
11313 unsigned SMT2PR12
: 1;
11314 unsigned SMT2PR13
: 1;
11315 unsigned SMT2PR14
: 1;
11316 unsigned SMT2PR15
: 1;
11319 extern __at(0x0DA8) volatile __SMT2PRHbits_t SMT2PRHbits
;
11321 #define _SMT2PR8 0x01
11322 #define _SMT2PR9 0x02
11323 #define _SMT2PR10 0x04
11324 #define _SMT2PR11 0x08
11325 #define _SMT2PR12 0x10
11326 #define _SMT2PR13 0x20
11327 #define _SMT2PR14 0x40
11328 #define _SMT2PR15 0x80
11330 //==============================================================================
11333 //==============================================================================
11336 extern __at(0x0DA9) __sfr SMT2PRU
;
11340 unsigned SMT2PR16
: 1;
11341 unsigned SMT2PR17
: 1;
11342 unsigned SMT2PR18
: 1;
11343 unsigned SMT2PR19
: 1;
11344 unsigned SMT2PR20
: 1;
11345 unsigned SMT2PR21
: 1;
11346 unsigned SMT2PR22
: 1;
11347 unsigned SMT2PR23
: 1;
11350 extern __at(0x0DA9) volatile __SMT2PRUbits_t SMT2PRUbits
;
11352 #define _SMT2PR16 0x01
11353 #define _SMT2PR17 0x02
11354 #define _SMT2PR18 0x04
11355 #define _SMT2PR19 0x08
11356 #define _SMT2PR20 0x10
11357 #define _SMT2PR21 0x20
11358 #define _SMT2PR22 0x40
11359 #define _SMT2PR23 0x80
11361 //==============================================================================
11364 //==============================================================================
11367 extern __at(0x0DAA) __sfr SMT2CON0
;
11373 unsigned SMT2PS0
: 1;
11374 unsigned SMT2PS1
: 1;
11385 unsigned SMT2PS
: 2;
11388 } __SMT2CON0bits_t
;
11390 extern __at(0x0DAA) volatile __SMT2CON0bits_t SMT2CON0bits
;
11392 #define _SMT2CON0_SMT2PS0 0x01
11393 #define _SMT2CON0_SMT2PS1 0x02
11394 #define _SMT2CON0_CPOL 0x04
11395 #define _SMT2CON0_SPOL 0x08
11396 #define _SMT2CON0_WPOL 0x10
11397 #define _SMT2CON0_STP 0x20
11398 #define _SMT2CON0_EN 0x80
11400 //==============================================================================
11403 //==============================================================================
11406 extern __at(0x0DAB) __sfr SMT2CON1
;
11412 unsigned MODE0
: 1;
11413 unsigned MODE1
: 1;
11414 unsigned MODE2
: 1;
11415 unsigned MODE3
: 1;
11418 unsigned REPEAT
: 1;
11419 unsigned SMT2GO
: 1;
11424 unsigned SMT2MODE0
: 1;
11425 unsigned SMT2MODE1
: 1;
11426 unsigned SMT2MODE2
: 1;
11427 unsigned SMT2MODE3
: 1;
11430 unsigned SMT2REPEAT
: 1;
11442 unsigned SMT2MODE
: 4;
11445 } __SMT2CON1bits_t
;
11447 extern __at(0x0DAB) volatile __SMT2CON1bits_t SMT2CON1bits
;
11449 #define _SMT2CON1_MODE0 0x01
11450 #define _SMT2CON1_SMT2MODE0 0x01
11451 #define _SMT2CON1_MODE1 0x02
11452 #define _SMT2CON1_SMT2MODE1 0x02
11453 #define _SMT2CON1_MODE2 0x04
11454 #define _SMT2CON1_SMT2MODE2 0x04
11455 #define _SMT2CON1_MODE3 0x08
11456 #define _SMT2CON1_SMT2MODE3 0x08
11457 #define _SMT2CON1_REPEAT 0x40
11458 #define _SMT2CON1_SMT2REPEAT 0x40
11459 #define _SMT2CON1_SMT2GO 0x80
11461 //==============================================================================
11464 //==============================================================================
11467 extern __at(0x0DAC) __sfr SMT2STAT
;
11479 unsigned CPWUP
: 1;
11480 unsigned CPRUP
: 1;
11485 unsigned SMT2AS
: 1;
11486 unsigned SMT2WS
: 1;
11487 unsigned SMT2TS
: 1;
11490 unsigned SMT2RESET
: 1;
11491 unsigned SMT2CPWUP
: 1;
11492 unsigned SMT2CPRUP
: 1;
11494 } __SMT2STATbits_t
;
11496 extern __at(0x0DAC) volatile __SMT2STATbits_t SMT2STATbits
;
11498 #define _SMT2STAT_AS 0x01
11499 #define _SMT2STAT_SMT2AS 0x01
11500 #define _SMT2STAT_WS 0x02
11501 #define _SMT2STAT_SMT2WS 0x02
11502 #define _SMT2STAT_TS 0x04
11503 #define _SMT2STAT_SMT2TS 0x04
11504 #define _SMT2STAT_RST 0x20
11505 #define _SMT2STAT_SMT2RESET 0x20
11506 #define _SMT2STAT_CPWUP 0x40
11507 #define _SMT2STAT_SMT2CPWUP 0x40
11508 #define _SMT2STAT_CPRUP 0x80
11509 #define _SMT2STAT_SMT2CPRUP 0x80
11511 //==============================================================================
11514 //==============================================================================
11517 extern __at(0x0DAD) __sfr SMT2CLK
;
11523 unsigned CSEL0
: 1;
11524 unsigned CSEL1
: 1;
11525 unsigned CSEL2
: 1;
11535 unsigned SMT2CSEL0
: 1;
11536 unsigned SMT2CSEL1
: 1;
11537 unsigned SMT2CSEL2
: 1;
11553 unsigned SMT2CSEL
: 3;
11558 extern __at(0x0DAD) volatile __SMT2CLKbits_t SMT2CLKbits
;
11560 #define _SMT2CLK_CSEL0 0x01
11561 #define _SMT2CLK_SMT2CSEL0 0x01
11562 #define _SMT2CLK_CSEL1 0x02
11563 #define _SMT2CLK_SMT2CSEL1 0x02
11564 #define _SMT2CLK_CSEL2 0x04
11565 #define _SMT2CLK_SMT2CSEL2 0x04
11567 //==============================================================================
11570 //==============================================================================
11573 extern __at(0x0DAE) __sfr SMT2SIG
;
11579 unsigned SSEL0
: 1;
11580 unsigned SSEL1
: 1;
11581 unsigned SSEL2
: 1;
11582 unsigned SSEL3
: 1;
11583 unsigned SSEL4
: 1;
11591 unsigned SMT2SSEL0
: 1;
11592 unsigned SMT2SSEL1
: 1;
11593 unsigned SMT2SSEL2
: 1;
11594 unsigned SMT2SSEL3
: 1;
11595 unsigned SMT2SSEL4
: 1;
11609 unsigned SMT2SSEL
: 5;
11614 extern __at(0x0DAE) volatile __SMT2SIGbits_t SMT2SIGbits
;
11616 #define _SMT2SIG_SSEL0 0x01
11617 #define _SMT2SIG_SMT2SSEL0 0x01
11618 #define _SMT2SIG_SSEL1 0x02
11619 #define _SMT2SIG_SMT2SSEL1 0x02
11620 #define _SMT2SIG_SSEL2 0x04
11621 #define _SMT2SIG_SMT2SSEL2 0x04
11622 #define _SMT2SIG_SSEL3 0x08
11623 #define _SMT2SIG_SMT2SSEL3 0x08
11624 #define _SMT2SIG_SSEL4 0x10
11625 #define _SMT2SIG_SMT2SSEL4 0x10
11627 //==============================================================================
11630 //==============================================================================
11633 extern __at(0x0DAF) __sfr SMT2WIN
;
11639 unsigned WSEL0
: 1;
11640 unsigned WSEL1
: 1;
11641 unsigned WSEL2
: 1;
11642 unsigned WSEL3
: 1;
11643 unsigned WSEL4
: 1;
11651 unsigned SMT2WSEL0
: 1;
11652 unsigned SMT2WSEL1
: 1;
11653 unsigned SMT2WSEL2
: 1;
11654 unsigned SMT2WSEL3
: 1;
11655 unsigned SMT2WSEL4
: 1;
11669 unsigned SMT2WSEL
: 5;
11674 extern __at(0x0DAF) volatile __SMT2WINbits_t SMT2WINbits
;
11676 #define _SMT2WIN_WSEL0 0x01
11677 #define _SMT2WIN_SMT2WSEL0 0x01
11678 #define _SMT2WIN_WSEL1 0x02
11679 #define _SMT2WIN_SMT2WSEL1 0x02
11680 #define _SMT2WIN_WSEL2 0x04
11681 #define _SMT2WIN_SMT2WSEL2 0x04
11682 #define _SMT2WIN_WSEL3 0x08
11683 #define _SMT2WIN_SMT2WSEL3 0x08
11684 #define _SMT2WIN_WSEL4 0x10
11685 #define _SMT2WIN_SMT2WSEL4 0x10
11687 //==============================================================================
11690 //==============================================================================
11693 extern __at(0x0E0F) __sfr PPSLOCK
;
11697 unsigned PPSLOCKED
: 1;
11707 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits
;
11709 #define _PPSLOCKED 0x01
11711 //==============================================================================
11714 //==============================================================================
11717 extern __at(0x0E10) __sfr INTPPS
;
11723 unsigned INTPPS0
: 1;
11724 unsigned INTPPS1
: 1;
11725 unsigned INTPPS2
: 1;
11726 unsigned INTPPS3
: 1;
11727 unsigned INTPPS4
: 1;
11735 unsigned INTPPS
: 5;
11740 extern __at(0x0E10) volatile __INTPPSbits_t INTPPSbits
;
11742 #define _INTPPS0 0x01
11743 #define _INTPPS1 0x02
11744 #define _INTPPS2 0x04
11745 #define _INTPPS3 0x08
11746 #define _INTPPS4 0x10
11748 //==============================================================================
11751 //==============================================================================
11754 extern __at(0x0E11) __sfr T0CKIPPS
;
11760 unsigned T0CKIPPS0
: 1;
11761 unsigned T0CKIPPS1
: 1;
11762 unsigned T0CKIPPS2
: 1;
11763 unsigned T0CKIPPS3
: 1;
11764 unsigned T0CKIPPS4
: 1;
11772 unsigned T0CKIPPS
: 5;
11775 } __T0CKIPPSbits_t
;
11777 extern __at(0x0E11) volatile __T0CKIPPSbits_t T0CKIPPSbits
;
11779 #define _T0CKIPPS0 0x01
11780 #define _T0CKIPPS1 0x02
11781 #define _T0CKIPPS2 0x04
11782 #define _T0CKIPPS3 0x08
11783 #define _T0CKIPPS4 0x10
11785 //==============================================================================
11788 //==============================================================================
11791 extern __at(0x0E12) __sfr T1CKIPPS
;
11797 unsigned T1CKIPPS0
: 1;
11798 unsigned T1CKIPPS1
: 1;
11799 unsigned T1CKIPPS2
: 1;
11800 unsigned T1CKIPPS3
: 1;
11801 unsigned T1CKIPPS4
: 1;
11809 unsigned T1CKIPPS
: 5;
11812 } __T1CKIPPSbits_t
;
11814 extern __at(0x0E12) volatile __T1CKIPPSbits_t T1CKIPPSbits
;
11816 #define _T1CKIPPS0 0x01
11817 #define _T1CKIPPS1 0x02
11818 #define _T1CKIPPS2 0x04
11819 #define _T1CKIPPS3 0x08
11820 #define _T1CKIPPS4 0x10
11822 //==============================================================================
11825 //==============================================================================
11828 extern __at(0x0E13) __sfr T1GPPS
;
11834 unsigned T1GPPS0
: 1;
11835 unsigned T1GPPS1
: 1;
11836 unsigned T1GPPS2
: 1;
11837 unsigned T1GPPS3
: 1;
11838 unsigned T1GPPS4
: 1;
11846 unsigned T1GPPS
: 5;
11851 extern __at(0x0E13) volatile __T1GPPSbits_t T1GPPSbits
;
11853 #define _T1GPPS0 0x01
11854 #define _T1GPPS1 0x02
11855 #define _T1GPPS2 0x04
11856 #define _T1GPPS3 0x08
11857 #define _T1GPPS4 0x10
11859 //==============================================================================
11862 //==============================================================================
11865 extern __at(0x0E14) __sfr CCP1PPS
;
11871 unsigned CCP1PPS0
: 1;
11872 unsigned CCP1PPS1
: 1;
11873 unsigned CCP1PPS2
: 1;
11874 unsigned CCP1PPS3
: 1;
11875 unsigned CCP1PPS4
: 1;
11883 unsigned CCP1PPS
: 5;
11888 extern __at(0x0E14) volatile __CCP1PPSbits_t CCP1PPSbits
;
11890 #define _CCP1PPS0 0x01
11891 #define _CCP1PPS1 0x02
11892 #define _CCP1PPS2 0x04
11893 #define _CCP1PPS3 0x08
11894 #define _CCP1PPS4 0x10
11896 //==============================================================================
11899 //==============================================================================
11902 extern __at(0x0E15) __sfr CCP2PPS
;
11908 unsigned CCP2PPS0
: 1;
11909 unsigned CCP2PPS1
: 1;
11910 unsigned CCP2PPS2
: 1;
11911 unsigned CCP2PPS3
: 1;
11912 unsigned CCP2PPS4
: 1;
11920 unsigned CCP2PPS
: 5;
11925 extern __at(0x0E15) volatile __CCP2PPSbits_t CCP2PPSbits
;
11927 #define _CCP2PPS0 0x01
11928 #define _CCP2PPS1 0x02
11929 #define _CCP2PPS2 0x04
11930 #define _CCP2PPS3 0x08
11931 #define _CCP2PPS4 0x10
11933 //==============================================================================
11936 //==============================================================================
11939 extern __at(0x0E16) __sfr ATINPPS
;
11945 unsigned ATINPPS0
: 1;
11946 unsigned ATINPPS1
: 1;
11947 unsigned ATINPPS2
: 1;
11948 unsigned ATINPPS3
: 1;
11949 unsigned ATINPPS4
: 1;
11957 unsigned ATINPPS
: 5;
11962 extern __at(0x0E16) volatile __ATINPPSbits_t ATINPPSbits
;
11964 #define _ATINPPS0 0x01
11965 #define _ATINPPS1 0x02
11966 #define _ATINPPS2 0x04
11967 #define _ATINPPS3 0x08
11968 #define _ATINPPS4 0x10
11970 //==============================================================================
11973 //==============================================================================
11976 extern __at(0x0E17) __sfr CWGINPPS
;
11982 unsigned CWGINPPS0
: 1;
11983 unsigned CWGINPPS1
: 1;
11984 unsigned CWGINPPS2
: 1;
11985 unsigned CWGINPPS3
: 1;
11986 unsigned CWGINPPS4
: 1;
11994 unsigned CWGINPPS
: 5;
11997 } __CWGINPPSbits_t
;
11999 extern __at(0x0E17) volatile __CWGINPPSbits_t CWGINPPSbits
;
12001 #define _CWGINPPS0 0x01
12002 #define _CWGINPPS1 0x02
12003 #define _CWGINPPS2 0x04
12004 #define _CWGINPPS3 0x08
12005 #define _CWGINPPS4 0x10
12007 //==============================================================================
12010 //==============================================================================
12013 extern __at(0x0E18) __sfr T2PPS
;
12019 unsigned T2PPS0
: 1;
12020 unsigned T2PPS1
: 1;
12021 unsigned T2PPS2
: 1;
12022 unsigned T2PPS3
: 1;
12023 unsigned T2PPS4
: 1;
12031 unsigned T2PPS
: 5;
12036 extern __at(0x0E18) volatile __T2PPSbits_t T2PPSbits
;
12038 #define _T2PPS0 0x01
12039 #define _T2PPS1 0x02
12040 #define _T2PPS2 0x04
12041 #define _T2PPS3 0x08
12042 #define _T2PPS4 0x10
12044 //==============================================================================
12047 //==============================================================================
12050 extern __at(0x0E19) __sfr T3CKIPPS
;
12056 unsigned T3CKIPPS0
: 1;
12057 unsigned T3CKIPPS1
: 1;
12058 unsigned T3CKIPPS2
: 1;
12059 unsigned T3CKIPPS3
: 1;
12060 unsigned T3CKIPPS4
: 1;
12068 unsigned T3CKIPPS
: 5;
12071 } __T3CKIPPSbits_t
;
12073 extern __at(0x0E19) volatile __T3CKIPPSbits_t T3CKIPPSbits
;
12075 #define _T3CKIPPS0 0x01
12076 #define _T3CKIPPS1 0x02
12077 #define _T3CKIPPS2 0x04
12078 #define _T3CKIPPS3 0x08
12079 #define _T3CKIPPS4 0x10
12081 //==============================================================================
12084 //==============================================================================
12087 extern __at(0x0E1A) __sfr T3GPPS
;
12093 unsigned T3GPPS0
: 1;
12094 unsigned T3GPPS1
: 1;
12095 unsigned T3GPPS2
: 1;
12096 unsigned T3GPPS3
: 1;
12097 unsigned T3GPPS4
: 1;
12105 unsigned T3GPPS
: 5;
12110 extern __at(0x0E1A) volatile __T3GPPSbits_t T3GPPSbits
;
12112 #define _T3GPPS0 0x01
12113 #define _T3GPPS1 0x02
12114 #define _T3GPPS2 0x04
12115 #define _T3GPPS3 0x08
12116 #define _T3GPPS4 0x10
12118 //==============================================================================
12121 //==============================================================================
12124 extern __at(0x0E1B) __sfr T4PPS
;
12130 unsigned T4PPS0
: 1;
12131 unsigned T4PPS1
: 1;
12132 unsigned T4PPS2
: 1;
12133 unsigned T4PPS3
: 1;
12134 unsigned T4PPS4
: 1;
12142 unsigned T4PPS
: 5;
12147 extern __at(0x0E1B) volatile __T4PPSbits_t T4PPSbits
;
12149 #define _T4PPS0 0x01
12150 #define _T4PPS1 0x02
12151 #define _T4PPS2 0x04
12152 #define _T4PPS3 0x08
12153 #define _T4PPS4 0x10
12155 //==============================================================================
12158 //==============================================================================
12161 extern __at(0x0E1C) __sfr T5CKIPPS
;
12167 unsigned T5CKIPPS0
: 1;
12168 unsigned T5CKIPPS1
: 1;
12169 unsigned T5CKIPPS2
: 1;
12170 unsigned T5CKIPPS3
: 1;
12171 unsigned T5CKIPPS4
: 1;
12179 unsigned T5CKIPPS
: 5;
12182 } __T5CKIPPSbits_t
;
12184 extern __at(0x0E1C) volatile __T5CKIPPSbits_t T5CKIPPSbits
;
12186 #define _T5CKIPPS0 0x01
12187 #define _T5CKIPPS1 0x02
12188 #define _T5CKIPPS2 0x04
12189 #define _T5CKIPPS3 0x08
12190 #define _T5CKIPPS4 0x10
12192 //==============================================================================
12195 //==============================================================================
12198 extern __at(0x0E1D) __sfr T5GPPS
;
12204 unsigned T5GPPS0
: 1;
12205 unsigned T5GPPS1
: 1;
12206 unsigned T5GPPS2
: 1;
12207 unsigned T5GPPS3
: 1;
12208 unsigned T5GPPS4
: 1;
12216 unsigned T5GPPS
: 5;
12221 extern __at(0x0E1D) volatile __T5GPPSbits_t T5GPPSbits
;
12223 #define _T5GPPS0 0x01
12224 #define _T5GPPS1 0x02
12225 #define _T5GPPS2 0x04
12226 #define _T5GPPS3 0x08
12227 #define _T5GPPS4 0x10
12229 //==============================================================================
12232 //==============================================================================
12235 extern __at(0x0E1E) __sfr T6PPS
;
12241 unsigned T6PPS0
: 1;
12242 unsigned T6PPS1
: 1;
12243 unsigned T6PPS2
: 1;
12244 unsigned T6PPS3
: 1;
12245 unsigned T6PPS4
: 1;
12253 unsigned T6PPS
: 5;
12258 extern __at(0x0E1E) volatile __T6PPSbits_t T6PPSbits
;
12260 #define _T6PPS0 0x01
12261 #define _T6PPS1 0x02
12262 #define _T6PPS2 0x04
12263 #define _T6PPS3 0x08
12264 #define _T6PPS4 0x10
12266 //==============================================================================
12269 //==============================================================================
12272 extern __at(0x0E1F) __sfr ATCC1PPS
;
12278 unsigned ATCC1PPS0
: 1;
12279 unsigned ATCC1PPS1
: 1;
12280 unsigned ATCC1PPS2
: 1;
12281 unsigned ATCC1PPS3
: 1;
12282 unsigned ATCC1PPS4
: 1;
12290 unsigned ATCC1PPS
: 5;
12293 } __ATCC1PPSbits_t
;
12295 extern __at(0x0E1F) volatile __ATCC1PPSbits_t ATCC1PPSbits
;
12297 #define _ATCC1PPS0 0x01
12298 #define _ATCC1PPS1 0x02
12299 #define _ATCC1PPS2 0x04
12300 #define _ATCC1PPS3 0x08
12301 #define _ATCC1PPS4 0x10
12303 //==============================================================================
12306 //==============================================================================
12309 extern __at(0x0E20) __sfr SSPCLKPPS
;
12315 unsigned SSPCLKPPS0
: 1;
12316 unsigned SSPCLKPPS1
: 1;
12317 unsigned SSPCLKPPS2
: 1;
12318 unsigned SSPCLKPPS3
: 1;
12319 unsigned SSPCLKPPS4
: 1;
12327 unsigned SSPCLKPPS
: 5;
12330 } __SSPCLKPPSbits_t
;
12332 extern __at(0x0E20) volatile __SSPCLKPPSbits_t SSPCLKPPSbits
;
12334 #define _SSPCLKPPS0 0x01
12335 #define _SSPCLKPPS1 0x02
12336 #define _SSPCLKPPS2 0x04
12337 #define _SSPCLKPPS3 0x08
12338 #define _SSPCLKPPS4 0x10
12340 //==============================================================================
12343 //==============================================================================
12346 extern __at(0x0E21) __sfr SSPDATPPS
;
12352 unsigned SSPDATPPS0
: 1;
12353 unsigned SSPDATPPS1
: 1;
12354 unsigned SSPDATPPS2
: 1;
12355 unsigned SSPDATPPS3
: 1;
12356 unsigned SSPDATPPS4
: 1;
12364 unsigned SSPDATPPS
: 5;
12367 } __SSPDATPPSbits_t
;
12369 extern __at(0x0E21) volatile __SSPDATPPSbits_t SSPDATPPSbits
;
12371 #define _SSPDATPPS0 0x01
12372 #define _SSPDATPPS1 0x02
12373 #define _SSPDATPPS2 0x04
12374 #define _SSPDATPPS3 0x08
12375 #define _SSPDATPPS4 0x10
12377 //==============================================================================
12380 //==============================================================================
12383 extern __at(0x0E22) __sfr SSPSSPPS
;
12389 unsigned SSPSSPPS0
: 1;
12390 unsigned SSPSSPPS1
: 1;
12391 unsigned SSPSSPPS2
: 1;
12392 unsigned SSPSSPPS3
: 1;
12393 unsigned SSPSSPPS4
: 1;
12401 unsigned SSPSSPPS
: 5;
12404 } __SSPSSPPSbits_t
;
12406 extern __at(0x0E22) volatile __SSPSSPPSbits_t SSPSSPPSbits
;
12408 #define _SSPSSPPS0 0x01
12409 #define _SSPSSPPS1 0x02
12410 #define _SSPSSPPS2 0x04
12411 #define _SSPSSPPS3 0x08
12412 #define _SSPSSPPS4 0x10
12414 //==============================================================================
12417 //==============================================================================
12420 extern __at(0x0E23) __sfr ATCC2PPS
;
12426 unsigned ATCC2PPS0
: 1;
12427 unsigned ATCC2PPS1
: 1;
12428 unsigned ATCC2PPS2
: 1;
12429 unsigned ATCC2PPS3
: 1;
12430 unsigned ATCC2PPS4
: 1;
12438 unsigned ATCC2PPS
: 5;
12441 } __ATCC2PPSbits_t
;
12443 extern __at(0x0E23) volatile __ATCC2PPSbits_t ATCC2PPSbits
;
12445 #define _ATCC2PPS0 0x01
12446 #define _ATCC2PPS1 0x02
12447 #define _ATCC2PPS2 0x04
12448 #define _ATCC2PPS3 0x08
12449 #define _ATCC2PPS4 0x10
12451 //==============================================================================
12454 //==============================================================================
12457 extern __at(0x0E24) __sfr RXPPS
;
12463 unsigned RXPPS0
: 1;
12464 unsigned RXPPS1
: 1;
12465 unsigned RXPPS2
: 1;
12466 unsigned RXPPS3
: 1;
12467 unsigned RXPPS4
: 1;
12475 unsigned RXPPS
: 5;
12480 extern __at(0x0E24) volatile __RXPPSbits_t RXPPSbits
;
12482 #define _RXPPS0 0x01
12483 #define _RXPPS1 0x02
12484 #define _RXPPS2 0x04
12485 #define _RXPPS3 0x08
12486 #define _RXPPS4 0x10
12488 //==============================================================================
12491 //==============================================================================
12494 extern __at(0x0E25) __sfr CKPPS
;
12500 unsigned CKPPS0
: 1;
12501 unsigned CKPPS1
: 1;
12502 unsigned CKPPS2
: 1;
12503 unsigned CKPPS3
: 1;
12504 unsigned CKPPS4
: 1;
12512 unsigned CKPPS
: 5;
12517 extern __at(0x0E25) volatile __CKPPSbits_t CKPPSbits
;
12519 #define _CKPPS0 0x01
12520 #define _CKPPS1 0x02
12521 #define _CKPPS2 0x04
12522 #define _CKPPS3 0x08
12523 #define _CKPPS4 0x10
12525 //==============================================================================
12528 //==============================================================================
12531 extern __at(0x0E26) __sfr SMT1SIGPPS
;
12537 unsigned SMT1SIGPPS0
: 1;
12538 unsigned SMT1SIGPPS1
: 1;
12539 unsigned SMT1SIGPPS2
: 1;
12540 unsigned SMT1SIGPPS3
: 1;
12541 unsigned SMT1SIGPPS4
: 1;
12549 unsigned SMT1SIGPPS
: 5;
12552 } __SMT1SIGPPSbits_t
;
12554 extern __at(0x0E26) volatile __SMT1SIGPPSbits_t SMT1SIGPPSbits
;
12556 #define _SMT1SIGPPS0 0x01
12557 #define _SMT1SIGPPS1 0x02
12558 #define _SMT1SIGPPS2 0x04
12559 #define _SMT1SIGPPS3 0x08
12560 #define _SMT1SIGPPS4 0x10
12562 //==============================================================================
12565 //==============================================================================
12568 extern __at(0x0E27) __sfr SMT1WINPPS
;
12574 unsigned SMTWINPPS0
: 1;
12575 unsigned SMTWINPPS1
: 1;
12576 unsigned SMTWINPPS2
: 1;
12577 unsigned SMTWINPPS3
: 1;
12578 unsigned SMTWINPPS4
: 1;
12586 unsigned SMTWINPPS
: 5;
12589 } __SMT1WINPPSbits_t
;
12591 extern __at(0x0E27) volatile __SMT1WINPPSbits_t SMT1WINPPSbits
;
12593 #define _SMTWINPPS0 0x01
12594 #define _SMTWINPPS1 0x02
12595 #define _SMTWINPPS2 0x04
12596 #define _SMTWINPPS3 0x08
12597 #define _SMTWINPPS4 0x10
12599 //==============================================================================
12602 //==============================================================================
12605 extern __at(0x0E28) __sfr CLCIN0PPS
;
12611 unsigned CLCIN0PPS0
: 1;
12612 unsigned CLCIN0PPS1
: 1;
12613 unsigned CLCIN0PPS2
: 1;
12614 unsigned CLCIN0PPS3
: 1;
12615 unsigned CLCIN0PPS4
: 1;
12623 unsigned CLCIN0PPS
: 5;
12626 } __CLCIN0PPSbits_t
;
12628 extern __at(0x0E28) volatile __CLCIN0PPSbits_t CLCIN0PPSbits
;
12630 #define _CLCIN0PPS0 0x01
12631 #define _CLCIN0PPS1 0x02
12632 #define _CLCIN0PPS2 0x04
12633 #define _CLCIN0PPS3 0x08
12634 #define _CLCIN0PPS4 0x10
12636 //==============================================================================
12639 //==============================================================================
12642 extern __at(0x0E29) __sfr CLCIN1PPS
;
12648 unsigned CLCIN1PPS0
: 1;
12649 unsigned CLCIN1PPS1
: 1;
12650 unsigned CLCIN1PPS2
: 1;
12651 unsigned CLCIN1PPS3
: 1;
12652 unsigned CLCIN1PPS4
: 1;
12660 unsigned CLCIN1PPS
: 5;
12663 } __CLCIN1PPSbits_t
;
12665 extern __at(0x0E29) volatile __CLCIN1PPSbits_t CLCIN1PPSbits
;
12667 #define _CLCIN1PPS0 0x01
12668 #define _CLCIN1PPS1 0x02
12669 #define _CLCIN1PPS2 0x04
12670 #define _CLCIN1PPS3 0x08
12671 #define _CLCIN1PPS4 0x10
12673 //==============================================================================
12676 //==============================================================================
12679 extern __at(0x0E2A) __sfr CLCIN2PPS
;
12685 unsigned CLCIN2PPS0
: 1;
12686 unsigned CLCIN2PPS1
: 1;
12687 unsigned CLCIN2PPS2
: 1;
12688 unsigned CLCIN2PPS3
: 1;
12689 unsigned CLCIN2PPS4
: 1;
12697 unsigned CLCIN2PPS
: 5;
12700 } __CLCIN2PPSbits_t
;
12702 extern __at(0x0E2A) volatile __CLCIN2PPSbits_t CLCIN2PPSbits
;
12704 #define _CLCIN2PPS0 0x01
12705 #define _CLCIN2PPS1 0x02
12706 #define _CLCIN2PPS2 0x04
12707 #define _CLCIN2PPS3 0x08
12708 #define _CLCIN2PPS4 0x10
12710 //==============================================================================
12713 //==============================================================================
12716 extern __at(0x0E2B) __sfr CLCIN3PPS
;
12722 unsigned CLCIN3PPS0
: 1;
12723 unsigned CLCIN3PPS1
: 1;
12724 unsigned CLCIN3PPS2
: 1;
12725 unsigned CLCIN3PPS3
: 1;
12726 unsigned CLCIN3PPS4
: 1;
12734 unsigned CLCIN3PPS
: 5;
12737 } __CLCIN3PPSbits_t
;
12739 extern __at(0x0E2B) volatile __CLCIN3PPSbits_t CLCIN3PPSbits
;
12741 #define _CLCIN3PPS0 0x01
12742 #define _CLCIN3PPS1 0x02
12743 #define _CLCIN3PPS2 0x04
12744 #define _CLCIN3PPS3 0x08
12745 #define _CLCIN3PPS4 0x10
12747 //==============================================================================
12750 //==============================================================================
12753 extern __at(0x0E2C) __sfr SMT2SIGPPS
;
12759 unsigned SMT2SIGPPS0
: 1;
12760 unsigned SMT2SIGPPS1
: 1;
12761 unsigned SMT2SIGPPS2
: 1;
12762 unsigned SMT2SIGPPS3
: 1;
12763 unsigned SMT2SIGPPS4
: 1;
12771 unsigned SMT2SIGPPS
: 5;
12774 } __SMT2SIGPPSbits_t
;
12776 extern __at(0x0E2C) volatile __SMT2SIGPPSbits_t SMT2SIGPPSbits
;
12778 #define _SMT2SIGPPS0 0x01
12779 #define _SMT2SIGPPS1 0x02
12780 #define _SMT2SIGPPS2 0x04
12781 #define _SMT2SIGPPS3 0x08
12782 #define _SMT2SIGPPS4 0x10
12784 //==============================================================================
12787 //==============================================================================
12790 extern __at(0x0E2D) __sfr SMT2WINPPS
;
12796 unsigned SMT2WINPPS0
: 1;
12797 unsigned SMT2WINPPS1
: 1;
12798 unsigned SMT2WINPPS2
: 1;
12799 unsigned SMT2WINPPS3
: 1;
12800 unsigned SMT2WINPPS4
: 1;
12808 unsigned SMT2WINPPS
: 5;
12811 } __SMT2WINPPSbits_t
;
12813 extern __at(0x0E2D) volatile __SMT2WINPPSbits_t SMT2WINPPSbits
;
12815 #define _SMT2WINPPS0 0x01
12816 #define _SMT2WINPPS1 0x02
12817 #define _SMT2WINPPS2 0x04
12818 #define _SMT2WINPPS3 0x08
12819 #define _SMT2WINPPS4 0x10
12821 //==============================================================================
12824 //==============================================================================
12827 extern __at(0x0E2E) __sfr ATCC3PPS
;
12833 unsigned ATCC3PPS0
: 1;
12834 unsigned ATCC3PPS1
: 1;
12835 unsigned ATCC3PPS2
: 1;
12836 unsigned ATCC3PPS3
: 1;
12837 unsigned ATCC3PPS4
: 1;
12845 unsigned ATCC3PPS
: 5;
12848 } __ATCC3PPSbits_t
;
12850 extern __at(0x0E2E) volatile __ATCC3PPSbits_t ATCC3PPSbits
;
12852 #define _ATCC3PPS0 0x01
12853 #define _ATCC3PPS1 0x02
12854 #define _ATCC3PPS2 0x04
12855 #define _ATCC3PPS3 0x08
12856 #define _ATCC3PPS4 0x10
12858 //==============================================================================
12861 //==============================================================================
12864 extern __at(0x0E90) __sfr RA0PPS
;
12870 unsigned RA0PPS0
: 1;
12871 unsigned RA0PPS1
: 1;
12872 unsigned RA0PPS2
: 1;
12873 unsigned RA0PPS3
: 1;
12874 unsigned RA0PPS4
: 1;
12882 unsigned RA0PPS
: 5;
12887 extern __at(0x0E90) volatile __RA0PPSbits_t RA0PPSbits
;
12889 #define _RA0PPS0 0x01
12890 #define _RA0PPS1 0x02
12891 #define _RA0PPS2 0x04
12892 #define _RA0PPS3 0x08
12893 #define _RA0PPS4 0x10
12895 //==============================================================================
12898 //==============================================================================
12901 extern __at(0x0E91) __sfr RA1PPS
;
12907 unsigned RA1PPS0
: 1;
12908 unsigned RA1PPS1
: 1;
12909 unsigned RA1PPS2
: 1;
12910 unsigned RA1PPS3
: 1;
12911 unsigned RA1PPS4
: 1;
12919 unsigned RA1PPS
: 5;
12924 extern __at(0x0E91) volatile __RA1PPSbits_t RA1PPSbits
;
12926 #define _RA1PPS0 0x01
12927 #define _RA1PPS1 0x02
12928 #define _RA1PPS2 0x04
12929 #define _RA1PPS3 0x08
12930 #define _RA1PPS4 0x10
12932 //==============================================================================
12935 //==============================================================================
12938 extern __at(0x0E92) __sfr RA2PPS
;
12944 unsigned RA2PPS0
: 1;
12945 unsigned RA2PPS1
: 1;
12946 unsigned RA2PPS2
: 1;
12947 unsigned RA2PPS3
: 1;
12948 unsigned RA2PPS4
: 1;
12956 unsigned RA2PPS
: 5;
12961 extern __at(0x0E92) volatile __RA2PPSbits_t RA2PPSbits
;
12963 #define _RA2PPS0 0x01
12964 #define _RA2PPS1 0x02
12965 #define _RA2PPS2 0x04
12966 #define _RA2PPS3 0x08
12967 #define _RA2PPS4 0x10
12969 //==============================================================================
12972 //==============================================================================
12975 extern __at(0x0E94) __sfr RA4PPS
;
12981 unsigned RA4PPS0
: 1;
12982 unsigned RA4PPS1
: 1;
12983 unsigned RA4PPS2
: 1;
12984 unsigned RA4PPS3
: 1;
12985 unsigned RA4PPS4
: 1;
12993 unsigned RA4PPS
: 5;
12998 extern __at(0x0E94) volatile __RA4PPSbits_t RA4PPSbits
;
13000 #define _RA4PPS0 0x01
13001 #define _RA4PPS1 0x02
13002 #define _RA4PPS2 0x04
13003 #define _RA4PPS3 0x08
13004 #define _RA4PPS4 0x10
13006 //==============================================================================
13009 //==============================================================================
13012 extern __at(0x0E95) __sfr RA5PPS
;
13018 unsigned RA5PPS0
: 1;
13019 unsigned RA5PPS1
: 1;
13020 unsigned RA5PPS2
: 1;
13021 unsigned RA5PPS3
: 1;
13022 unsigned RA5PPS4
: 1;
13030 unsigned RA5PPS
: 5;
13035 extern __at(0x0E95) volatile __RA5PPSbits_t RA5PPSbits
;
13037 #define _RA5PPS0 0x01
13038 #define _RA5PPS1 0x02
13039 #define _RA5PPS2 0x04
13040 #define _RA5PPS3 0x08
13041 #define _RA5PPS4 0x10
13043 //==============================================================================
13046 //==============================================================================
13049 extern __at(0x0E9C) __sfr RB4PPS
;
13055 unsigned RB4PPS0
: 1;
13056 unsigned RB4PPS1
: 1;
13057 unsigned RB4PPS2
: 1;
13058 unsigned RB4PPS3
: 1;
13059 unsigned RB4PPS4
: 1;
13067 unsigned RB4PPS
: 5;
13072 extern __at(0x0E9C) volatile __RB4PPSbits_t RB4PPSbits
;
13074 #define _RB4PPS0 0x01
13075 #define _RB4PPS1 0x02
13076 #define _RB4PPS2 0x04
13077 #define _RB4PPS3 0x08
13078 #define _RB4PPS4 0x10
13080 //==============================================================================
13083 //==============================================================================
13086 extern __at(0x0E9D) __sfr RB5PPS
;
13092 unsigned RB5PPS0
: 1;
13093 unsigned RB5PPS1
: 1;
13094 unsigned RB5PPS2
: 1;
13095 unsigned RB5PPS3
: 1;
13096 unsigned RB5PPS4
: 1;
13104 unsigned RB5PPS
: 5;
13109 extern __at(0x0E9D) volatile __RB5PPSbits_t RB5PPSbits
;
13111 #define _RB5PPS0 0x01
13112 #define _RB5PPS1 0x02
13113 #define _RB5PPS2 0x04
13114 #define _RB5PPS3 0x08
13115 #define _RB5PPS4 0x10
13117 //==============================================================================
13120 //==============================================================================
13123 extern __at(0x0E9E) __sfr RB6PPS
;
13129 unsigned RB6PPS0
: 1;
13130 unsigned RB6PPS1
: 1;
13131 unsigned RB6PPS2
: 1;
13132 unsigned RB6PPS3
: 1;
13133 unsigned RB6PPS4
: 1;
13141 unsigned RB6PPS
: 5;
13146 extern __at(0x0E9E) volatile __RB6PPSbits_t RB6PPSbits
;
13148 #define _RB6PPS0 0x01
13149 #define _RB6PPS1 0x02
13150 #define _RB6PPS2 0x04
13151 #define _RB6PPS3 0x08
13152 #define _RB6PPS4 0x10
13154 //==============================================================================
13157 //==============================================================================
13160 extern __at(0x0E9F) __sfr RB7PPS
;
13166 unsigned RB7PPS0
: 1;
13167 unsigned RB7PPS1
: 1;
13168 unsigned RB7PPS2
: 1;
13169 unsigned RB7PPS3
: 1;
13170 unsigned RB7PPS4
: 1;
13178 unsigned RB7PPS
: 5;
13183 extern __at(0x0E9F) volatile __RB7PPSbits_t RB7PPSbits
;
13185 #define _RB7PPS0 0x01
13186 #define _RB7PPS1 0x02
13187 #define _RB7PPS2 0x04
13188 #define _RB7PPS3 0x08
13189 #define _RB7PPS4 0x10
13191 //==============================================================================
13194 //==============================================================================
13197 extern __at(0x0EA0) __sfr RC0PPS
;
13203 unsigned RC0PPS0
: 1;
13204 unsigned RC0PPS1
: 1;
13205 unsigned RC0PPS2
: 1;
13206 unsigned RC0PPS3
: 1;
13207 unsigned RC0PPS4
: 1;
13215 unsigned RC0PPS
: 5;
13220 extern __at(0x0EA0) volatile __RC0PPSbits_t RC0PPSbits
;
13222 #define _RC0PPS0 0x01
13223 #define _RC0PPS1 0x02
13224 #define _RC0PPS2 0x04
13225 #define _RC0PPS3 0x08
13226 #define _RC0PPS4 0x10
13228 //==============================================================================
13231 //==============================================================================
13234 extern __at(0x0EA1) __sfr RC1PPS
;
13240 unsigned RC1PPS0
: 1;
13241 unsigned RC1PPS1
: 1;
13242 unsigned RC1PPS2
: 1;
13243 unsigned RC1PPS3
: 1;
13244 unsigned RC1PPS4
: 1;
13252 unsigned RC1PPS
: 5;
13257 extern __at(0x0EA1) volatile __RC1PPSbits_t RC1PPSbits
;
13259 #define _RC1PPS0 0x01
13260 #define _RC1PPS1 0x02
13261 #define _RC1PPS2 0x04
13262 #define _RC1PPS3 0x08
13263 #define _RC1PPS4 0x10
13265 //==============================================================================
13268 //==============================================================================
13271 extern __at(0x0EA2) __sfr RC2PPS
;
13277 unsigned RC2PPS0
: 1;
13278 unsigned RC2PPS1
: 1;
13279 unsigned RC2PPS2
: 1;
13280 unsigned RC2PPS3
: 1;
13281 unsigned RC2PPS4
: 1;
13289 unsigned RC2PPS
: 5;
13294 extern __at(0x0EA2) volatile __RC2PPSbits_t RC2PPSbits
;
13296 #define _RC2PPS0 0x01
13297 #define _RC2PPS1 0x02
13298 #define _RC2PPS2 0x04
13299 #define _RC2PPS3 0x08
13300 #define _RC2PPS4 0x10
13302 //==============================================================================
13305 //==============================================================================
13308 extern __at(0x0EA3) __sfr RC3PPS
;
13314 unsigned RC3PPS0
: 1;
13315 unsigned RC3PPS1
: 1;
13316 unsigned RC3PPS2
: 1;
13317 unsigned RC3PPS3
: 1;
13318 unsigned RC3PPS4
: 1;
13326 unsigned RC3PPS
: 5;
13331 extern __at(0x0EA3) volatile __RC3PPSbits_t RC3PPSbits
;
13333 #define _RC3PPS0 0x01
13334 #define _RC3PPS1 0x02
13335 #define _RC3PPS2 0x04
13336 #define _RC3PPS3 0x08
13337 #define _RC3PPS4 0x10
13339 //==============================================================================
13342 //==============================================================================
13345 extern __at(0x0EA4) __sfr RC4PPS
;
13351 unsigned RC4PPS0
: 1;
13352 unsigned RC4PPS1
: 1;
13353 unsigned RC4PPS2
: 1;
13354 unsigned RC4PPS3
: 1;
13355 unsigned RC4PPS4
: 1;
13363 unsigned RC4PPS
: 5;
13368 extern __at(0x0EA4) volatile __RC4PPSbits_t RC4PPSbits
;
13370 #define _RC4PPS0 0x01
13371 #define _RC4PPS1 0x02
13372 #define _RC4PPS2 0x04
13373 #define _RC4PPS3 0x08
13374 #define _RC4PPS4 0x10
13376 //==============================================================================
13379 //==============================================================================
13382 extern __at(0x0EA5) __sfr RC5PPS
;
13388 unsigned RC5PPS0
: 1;
13389 unsigned RC5PPS1
: 1;
13390 unsigned RC5PPS2
: 1;
13391 unsigned RC5PPS3
: 1;
13392 unsigned RC5PPS4
: 1;
13400 unsigned RC5PPS
: 5;
13405 extern __at(0x0EA5) volatile __RC5PPSbits_t RC5PPSbits
;
13407 #define _RC5PPS0 0x01
13408 #define _RC5PPS1 0x02
13409 #define _RC5PPS2 0x04
13410 #define _RC5PPS3 0x08
13411 #define _RC5PPS4 0x10
13413 //==============================================================================
13416 //==============================================================================
13419 extern __at(0x0EA6) __sfr RC6PPS
;
13425 unsigned RC6PPS0
: 1;
13426 unsigned RC6PPS1
: 1;
13427 unsigned RC6PPS2
: 1;
13428 unsigned RC6PPS3
: 1;
13429 unsigned RC6PPS4
: 1;
13437 unsigned RC6PPS
: 5;
13442 extern __at(0x0EA6) volatile __RC6PPSbits_t RC6PPSbits
;
13444 #define _RC6PPS0 0x01
13445 #define _RC6PPS1 0x02
13446 #define _RC6PPS2 0x04
13447 #define _RC6PPS3 0x08
13448 #define _RC6PPS4 0x10
13450 //==============================================================================
13453 //==============================================================================
13456 extern __at(0x0EA7) __sfr RC7PPS
;
13462 unsigned RC7PPS0
: 1;
13463 unsigned RC7PPS1
: 1;
13464 unsigned RC7PPS2
: 1;
13465 unsigned RC7PPS3
: 1;
13466 unsigned RC7PPS4
: 1;
13474 unsigned RC7PPS
: 5;
13479 extern __at(0x0EA7) volatile __RC7PPSbits_t RC7PPSbits
;
13481 #define _RC7PPS0 0x01
13482 #define _RC7PPS1 0x02
13483 #define _RC7PPS2 0x04
13484 #define _RC7PPS3 0x08
13485 #define _RC7PPS4 0x10
13487 //==============================================================================
13490 //==============================================================================
13493 extern __at(0x0F0F) __sfr CLCDATA
;
13497 unsigned MLC1OUT
: 1;
13498 unsigned MLC2OUT
: 1;
13507 extern __at(0x0F0F) volatile __CLCDATAbits_t CLCDATAbits
;
13509 #define _MLC1OUT 0x01
13510 #define _MLC2OUT 0x02
13512 //==============================================================================
13515 //==============================================================================
13518 extern __at(0x0F10) __sfr CLC1CON
;
13524 unsigned LC1MODE0
: 1;
13525 unsigned LC1MODE1
: 1;
13526 unsigned LC1MODE2
: 1;
13527 unsigned LC1INTN
: 1;
13528 unsigned LC1INTP
: 1;
13529 unsigned LC1OUT
: 1;
13531 unsigned LC1EN
: 1;
13536 unsigned MODE0
: 1;
13537 unsigned MODE1
: 1;
13538 unsigned MODE2
: 1;
13548 unsigned LC1MODE
: 3;
13559 extern __at(0x0F10) volatile __CLC1CONbits_t CLC1CONbits
;
13561 #define _CLC1CON_LC1MODE0 0x01
13562 #define _CLC1CON_MODE0 0x01
13563 #define _CLC1CON_LC1MODE1 0x02
13564 #define _CLC1CON_MODE1 0x02
13565 #define _CLC1CON_LC1MODE2 0x04
13566 #define _CLC1CON_MODE2 0x04
13567 #define _CLC1CON_LC1INTN 0x08
13568 #define _CLC1CON_INTN 0x08
13569 #define _CLC1CON_LC1INTP 0x10
13570 #define _CLC1CON_INTP 0x10
13571 #define _CLC1CON_LC1OUT 0x20
13572 #define _CLC1CON_OUT 0x20
13573 #define _CLC1CON_LC1EN 0x80
13574 #define _CLC1CON_EN 0x80
13576 //==============================================================================
13579 //==============================================================================
13582 extern __at(0x0F11) __sfr CLC1POL
;
13588 unsigned LC1G1POL
: 1;
13589 unsigned LC1G2POL
: 1;
13590 unsigned LC1G3POL
: 1;
13591 unsigned LC1G4POL
: 1;
13595 unsigned LC1POL
: 1;
13600 unsigned G1POL
: 1;
13601 unsigned G2POL
: 1;
13602 unsigned G3POL
: 1;
13603 unsigned G4POL
: 1;
13611 extern __at(0x0F11) volatile __CLC1POLbits_t CLC1POLbits
;
13613 #define _CLC1POL_LC1G1POL 0x01
13614 #define _CLC1POL_G1POL 0x01
13615 #define _CLC1POL_LC1G2POL 0x02
13616 #define _CLC1POL_G2POL 0x02
13617 #define _CLC1POL_LC1G3POL 0x04
13618 #define _CLC1POL_G3POL 0x04
13619 #define _CLC1POL_LC1G4POL 0x08
13620 #define _CLC1POL_G4POL 0x08
13621 #define _CLC1POL_LC1POL 0x80
13622 #define _CLC1POL_POL 0x80
13624 //==============================================================================
13627 //==============================================================================
13630 extern __at(0x0F12) __sfr CLC1SEL0
;
13636 unsigned LC1D1S0
: 1;
13637 unsigned LC1D1S1
: 1;
13638 unsigned LC1D1S2
: 1;
13639 unsigned LC1D1S3
: 1;
13640 unsigned LC1D1S4
: 1;
13641 unsigned LC1D1S5
: 1;
13660 unsigned LC1D1S
: 6;
13669 } __CLC1SEL0bits_t
;
13671 extern __at(0x0F12) volatile __CLC1SEL0bits_t CLC1SEL0bits
;
13673 #define _LC1D1S0 0x01
13675 #define _LC1D1S1 0x02
13677 #define _LC1D1S2 0x04
13679 #define _LC1D1S3 0x08
13681 #define _LC1D1S4 0x10
13683 #define _LC1D1S5 0x20
13686 //==============================================================================
13689 //==============================================================================
13692 extern __at(0x0F13) __sfr CLC1SEL1
;
13698 unsigned LC1D2S0
: 1;
13699 unsigned LC1D2S1
: 1;
13700 unsigned LC1D2S2
: 1;
13701 unsigned LC1D2S3
: 1;
13702 unsigned LC1D2S4
: 1;
13703 unsigned LC1D2S5
: 1;
13722 unsigned LC1D2S
: 6;
13731 } __CLC1SEL1bits_t
;
13733 extern __at(0x0F13) volatile __CLC1SEL1bits_t CLC1SEL1bits
;
13735 #define _LC1D2S0 0x01
13737 #define _LC1D2S1 0x02
13739 #define _LC1D2S2 0x04
13741 #define _LC1D2S3 0x08
13743 #define _LC1D2S4 0x10
13745 #define _LC1D2S5 0x20
13748 //==============================================================================
13751 //==============================================================================
13754 extern __at(0x0F14) __sfr CLC1SEL2
;
13760 unsigned LC1D3S0
: 1;
13761 unsigned LC1D3S1
: 1;
13762 unsigned LC1D3S2
: 1;
13763 unsigned LC1D3S3
: 1;
13764 unsigned LC1D3S4
: 1;
13765 unsigned LC1D3S5
: 1;
13790 unsigned LC1D3S
: 6;
13793 } __CLC1SEL2bits_t
;
13795 extern __at(0x0F14) volatile __CLC1SEL2bits_t CLC1SEL2bits
;
13797 #define _LC1D3S0 0x01
13799 #define _LC1D3S1 0x02
13801 #define _LC1D3S2 0x04
13803 #define _LC1D3S3 0x08
13805 #define _LC1D3S4 0x10
13807 #define _LC1D3S5 0x20
13810 //==============================================================================
13813 //==============================================================================
13816 extern __at(0x0F15) __sfr CLC1SEL3
;
13822 unsigned LC1D4S0
: 1;
13823 unsigned LC1D4S1
: 1;
13824 unsigned LC1D4S2
: 1;
13825 unsigned LC1D4S3
: 1;
13826 unsigned LC1D4S4
: 1;
13827 unsigned LC1D4S5
: 1;
13852 unsigned LC1D4S
: 6;
13855 } __CLC1SEL3bits_t
;
13857 extern __at(0x0F15) volatile __CLC1SEL3bits_t CLC1SEL3bits
;
13859 #define _LC1D4S0 0x01
13861 #define _LC1D4S1 0x02
13863 #define _LC1D4S2 0x04
13865 #define _LC1D4S3 0x08
13867 #define _LC1D4S4 0x10
13869 #define _LC1D4S5 0x20
13872 //==============================================================================
13875 //==============================================================================
13878 extern __at(0x0F16) __sfr CLC1GLS0
;
13884 unsigned LC1G1D1N
: 1;
13885 unsigned LC1G1D1T
: 1;
13886 unsigned LC1G1D2N
: 1;
13887 unsigned LC1G1D2T
: 1;
13888 unsigned LC1G1D3N
: 1;
13889 unsigned LC1G1D3T
: 1;
13890 unsigned LC1G1D4N
: 1;
13891 unsigned LC1G1D4T
: 1;
13905 } __CLC1GLS0bits_t
;
13907 extern __at(0x0F16) volatile __CLC1GLS0bits_t CLC1GLS0bits
;
13909 #define _LC1G1D1N 0x01
13911 #define _LC1G1D1T 0x02
13913 #define _LC1G1D2N 0x04
13915 #define _LC1G1D2T 0x08
13917 #define _LC1G1D3N 0x10
13919 #define _LC1G1D3T 0x20
13921 #define _LC1G1D4N 0x40
13923 #define _LC1G1D4T 0x80
13926 //==============================================================================
13929 //==============================================================================
13932 extern __at(0x0F17) __sfr CLC1GLS1
;
13938 unsigned LC1G2D1N
: 1;
13939 unsigned LC1G2D1T
: 1;
13940 unsigned LC1G2D2N
: 1;
13941 unsigned LC1G2D2T
: 1;
13942 unsigned LC1G2D3N
: 1;
13943 unsigned LC1G2D3T
: 1;
13944 unsigned LC1G2D4N
: 1;
13945 unsigned LC1G2D4T
: 1;
13959 } __CLC1GLS1bits_t
;
13961 extern __at(0x0F17) volatile __CLC1GLS1bits_t CLC1GLS1bits
;
13963 #define _CLC1GLS1_LC1G2D1N 0x01
13964 #define _CLC1GLS1_D1N 0x01
13965 #define _CLC1GLS1_LC1G2D1T 0x02
13966 #define _CLC1GLS1_D1T 0x02
13967 #define _CLC1GLS1_LC1G2D2N 0x04
13968 #define _CLC1GLS1_D2N 0x04
13969 #define _CLC1GLS1_LC1G2D2T 0x08
13970 #define _CLC1GLS1_D2T 0x08
13971 #define _CLC1GLS1_LC1G2D3N 0x10
13972 #define _CLC1GLS1_D3N 0x10
13973 #define _CLC1GLS1_LC1G2D3T 0x20
13974 #define _CLC1GLS1_D3T 0x20
13975 #define _CLC1GLS1_LC1G2D4N 0x40
13976 #define _CLC1GLS1_D4N 0x40
13977 #define _CLC1GLS1_LC1G2D4T 0x80
13978 #define _CLC1GLS1_D4T 0x80
13980 //==============================================================================
13983 //==============================================================================
13986 extern __at(0x0F18) __sfr CLC1GLS2
;
13992 unsigned LC1G3D1N
: 1;
13993 unsigned LC1G3D1T
: 1;
13994 unsigned LC1G3D2N
: 1;
13995 unsigned LC1G3D2T
: 1;
13996 unsigned LC1G3D3N
: 1;
13997 unsigned LC1G3D3T
: 1;
13998 unsigned LC1G3D4N
: 1;
13999 unsigned LC1G3D4T
: 1;
14013 } __CLC1GLS2bits_t
;
14015 extern __at(0x0F18) volatile __CLC1GLS2bits_t CLC1GLS2bits
;
14017 #define _CLC1GLS2_LC1G3D1N 0x01
14018 #define _CLC1GLS2_D1N 0x01
14019 #define _CLC1GLS2_LC1G3D1T 0x02
14020 #define _CLC1GLS2_D1T 0x02
14021 #define _CLC1GLS2_LC1G3D2N 0x04
14022 #define _CLC1GLS2_D2N 0x04
14023 #define _CLC1GLS2_LC1G3D2T 0x08
14024 #define _CLC1GLS2_D2T 0x08
14025 #define _CLC1GLS2_LC1G3D3N 0x10
14026 #define _CLC1GLS2_D3N 0x10
14027 #define _CLC1GLS2_LC1G3D3T 0x20
14028 #define _CLC1GLS2_D3T 0x20
14029 #define _CLC1GLS2_LC1G3D4N 0x40
14030 #define _CLC1GLS2_D4N 0x40
14031 #define _CLC1GLS2_LC1G3D4T 0x80
14032 #define _CLC1GLS2_D4T 0x80
14034 //==============================================================================
14037 //==============================================================================
14040 extern __at(0x0F19) __sfr CLC1GLS3
;
14046 unsigned LC1G4D1N
: 1;
14047 unsigned LC1G4D1T
: 1;
14048 unsigned LC1G4D2N
: 1;
14049 unsigned LC1G4D2T
: 1;
14050 unsigned LC1G4D3N
: 1;
14051 unsigned LC1G4D3T
: 1;
14052 unsigned LC1G4D4N
: 1;
14053 unsigned LC1G4D4T
: 1;
14058 unsigned G4D1N
: 1;
14059 unsigned G4D1T
: 1;
14060 unsigned G4D2N
: 1;
14061 unsigned G4D2T
: 1;
14062 unsigned G4D3N
: 1;
14063 unsigned G4D3T
: 1;
14064 unsigned G4D4N
: 1;
14065 unsigned G4D4T
: 1;
14067 } __CLC1GLS3bits_t
;
14069 extern __at(0x0F19) volatile __CLC1GLS3bits_t CLC1GLS3bits
;
14071 #define _LC1G4D1N 0x01
14072 #define _G4D1N 0x01
14073 #define _LC1G4D1T 0x02
14074 #define _G4D1T 0x02
14075 #define _LC1G4D2N 0x04
14076 #define _G4D2N 0x04
14077 #define _LC1G4D2T 0x08
14078 #define _G4D2T 0x08
14079 #define _LC1G4D3N 0x10
14080 #define _G4D3N 0x10
14081 #define _LC1G4D3T 0x20
14082 #define _G4D3T 0x20
14083 #define _LC1G4D4N 0x40
14084 #define _G4D4N 0x40
14085 #define _LC1G4D4T 0x80
14086 #define _G4D4T 0x80
14088 //==============================================================================
14091 //==============================================================================
14094 extern __at(0x0F1A) __sfr CLC2CON
;
14100 unsigned LC2MODE0
: 1;
14101 unsigned LC2MODE1
: 1;
14102 unsigned LC2MODE2
: 1;
14103 unsigned LC2INTN
: 1;
14104 unsigned LC2INTP
: 1;
14105 unsigned LC2OUT
: 1;
14107 unsigned LC2EN
: 1;
14112 unsigned MODE0
: 1;
14113 unsigned MODE1
: 1;
14114 unsigned MODE2
: 1;
14130 unsigned LC2MODE
: 3;
14135 extern __at(0x0F1A) volatile __CLC2CONbits_t CLC2CONbits
;
14137 #define _CLC2CON_LC2MODE0 0x01
14138 #define _CLC2CON_MODE0 0x01
14139 #define _CLC2CON_LC2MODE1 0x02
14140 #define _CLC2CON_MODE1 0x02
14141 #define _CLC2CON_LC2MODE2 0x04
14142 #define _CLC2CON_MODE2 0x04
14143 #define _CLC2CON_LC2INTN 0x08
14144 #define _CLC2CON_INTN 0x08
14145 #define _CLC2CON_LC2INTP 0x10
14146 #define _CLC2CON_INTP 0x10
14147 #define _CLC2CON_LC2OUT 0x20
14148 #define _CLC2CON_OUT 0x20
14149 #define _CLC2CON_LC2EN 0x80
14150 #define _CLC2CON_EN 0x80
14152 //==============================================================================
14155 //==============================================================================
14158 extern __at(0x0F1B) __sfr CLC2POL
;
14164 unsigned LC2G1POL
: 1;
14165 unsigned LC2G2POL
: 1;
14166 unsigned LC2G3POL
: 1;
14167 unsigned LC2G4POL
: 1;
14171 unsigned LC2POL
: 1;
14176 unsigned G1POL
: 1;
14177 unsigned G2POL
: 1;
14178 unsigned G3POL
: 1;
14179 unsigned G4POL
: 1;
14187 extern __at(0x0F1B) volatile __CLC2POLbits_t CLC2POLbits
;
14189 #define _CLC2POL_LC2G1POL 0x01
14190 #define _CLC2POL_G1POL 0x01
14191 #define _CLC2POL_LC2G2POL 0x02
14192 #define _CLC2POL_G2POL 0x02
14193 #define _CLC2POL_LC2G3POL 0x04
14194 #define _CLC2POL_G3POL 0x04
14195 #define _CLC2POL_LC2G4POL 0x08
14196 #define _CLC2POL_G4POL 0x08
14197 #define _CLC2POL_LC2POL 0x80
14198 #define _CLC2POL_POL 0x80
14200 //==============================================================================
14203 //==============================================================================
14206 extern __at(0x0F1C) __sfr CLC2SEL0
;
14212 unsigned LC2D1S0
: 1;
14213 unsigned LC2D1S1
: 1;
14214 unsigned LC2D1S2
: 1;
14215 unsigned LC2D1S3
: 1;
14216 unsigned LC2D1S4
: 1;
14217 unsigned LC2D1S5
: 1;
14242 unsigned LC2D1S
: 6;
14245 } __CLC2SEL0bits_t
;
14247 extern __at(0x0F1C) volatile __CLC2SEL0bits_t CLC2SEL0bits
;
14249 #define _CLC2SEL0_LC2D1S0 0x01
14250 #define _CLC2SEL0_D1S0 0x01
14251 #define _CLC2SEL0_LC2D1S1 0x02
14252 #define _CLC2SEL0_D1S1 0x02
14253 #define _CLC2SEL0_LC2D1S2 0x04
14254 #define _CLC2SEL0_D1S2 0x04
14255 #define _CLC2SEL0_LC2D1S3 0x08
14256 #define _CLC2SEL0_D1S3 0x08
14257 #define _CLC2SEL0_LC2D1S4 0x10
14258 #define _CLC2SEL0_D1S4 0x10
14259 #define _CLC2SEL0_LC2D1S5 0x20
14260 #define _CLC2SEL0_D1S5 0x20
14262 //==============================================================================
14265 //==============================================================================
14268 extern __at(0x0F1D) __sfr CLC2SEL1
;
14274 unsigned LC2D2S0
: 1;
14275 unsigned LC2D2S1
: 1;
14276 unsigned LC2D2S2
: 1;
14277 unsigned LC2D2S3
: 1;
14278 unsigned LC2D2S4
: 1;
14279 unsigned LC2D2S5
: 1;
14298 unsigned LC2D2S
: 6;
14307 } __CLC2SEL1bits_t
;
14309 extern __at(0x0F1D) volatile __CLC2SEL1bits_t CLC2SEL1bits
;
14311 #define _CLC2SEL1_LC2D2S0 0x01
14312 #define _CLC2SEL1_D2S0 0x01
14313 #define _CLC2SEL1_LC2D2S1 0x02
14314 #define _CLC2SEL1_D2S1 0x02
14315 #define _CLC2SEL1_LC2D2S2 0x04
14316 #define _CLC2SEL1_D2S2 0x04
14317 #define _CLC2SEL1_LC2D2S3 0x08
14318 #define _CLC2SEL1_D2S3 0x08
14319 #define _CLC2SEL1_LC2D2S4 0x10
14320 #define _CLC2SEL1_D2S4 0x10
14321 #define _CLC2SEL1_LC2D2S5 0x20
14322 #define _CLC2SEL1_D2S5 0x20
14324 //==============================================================================
14327 //==============================================================================
14330 extern __at(0x0F1E) __sfr CLC2SEL2
;
14336 unsigned LC2D3S0
: 1;
14337 unsigned LC2D3S1
: 1;
14338 unsigned LC2D3S2
: 1;
14339 unsigned LC2D3S3
: 1;
14340 unsigned LC2D3S4
: 1;
14341 unsigned LC2D3S5
: 1;
14366 unsigned LC2D3S
: 6;
14369 } __CLC2SEL2bits_t
;
14371 extern __at(0x0F1E) volatile __CLC2SEL2bits_t CLC2SEL2bits
;
14373 #define _CLC2SEL2_LC2D3S0 0x01
14374 #define _CLC2SEL2_D3S0 0x01
14375 #define _CLC2SEL2_LC2D3S1 0x02
14376 #define _CLC2SEL2_D3S1 0x02
14377 #define _CLC2SEL2_LC2D3S2 0x04
14378 #define _CLC2SEL2_D3S2 0x04
14379 #define _CLC2SEL2_LC2D3S3 0x08
14380 #define _CLC2SEL2_D3S3 0x08
14381 #define _CLC2SEL2_LC2D3S4 0x10
14382 #define _CLC2SEL2_D3S4 0x10
14383 #define _CLC2SEL2_LC2D3S5 0x20
14384 #define _CLC2SEL2_D3S5 0x20
14386 //==============================================================================
14389 //==============================================================================
14392 extern __at(0x0F1F) __sfr CLC2SEL3
;
14398 unsigned LC2D4S0
: 1;
14399 unsigned LC2D4S1
: 1;
14400 unsigned LC2D4S2
: 1;
14401 unsigned LC2D4S3
: 1;
14402 unsigned LC2D4S4
: 1;
14403 unsigned LC2D4S5
: 1;
14422 unsigned LC2D4S
: 6;
14431 } __CLC2SEL3bits_t
;
14433 extern __at(0x0F1F) volatile __CLC2SEL3bits_t CLC2SEL3bits
;
14435 #define _CLC2SEL3_LC2D4S0 0x01
14436 #define _CLC2SEL3_D4S0 0x01
14437 #define _CLC2SEL3_LC2D4S1 0x02
14438 #define _CLC2SEL3_D4S1 0x02
14439 #define _CLC2SEL3_LC2D4S2 0x04
14440 #define _CLC2SEL3_D4S2 0x04
14441 #define _CLC2SEL3_LC2D4S3 0x08
14442 #define _CLC2SEL3_D4S3 0x08
14443 #define _CLC2SEL3_LC2D4S4 0x10
14444 #define _CLC2SEL3_D4S4 0x10
14445 #define _CLC2SEL3_LC2D4S5 0x20
14446 #define _CLC2SEL3_D4S5 0x20
14448 //==============================================================================
14451 //==============================================================================
14454 extern __at(0x0F20) __sfr CLC2GLS0
;
14460 unsigned LC2G1D1N
: 1;
14461 unsigned LC2G1D1T
: 1;
14462 unsigned LC2G1D2N
: 1;
14463 unsigned LC2G1D2T
: 1;
14464 unsigned LC2G1D3N
: 1;
14465 unsigned LC2G1D3T
: 1;
14466 unsigned LC2G1D4N
: 1;
14467 unsigned LC2G1D4T
: 1;
14481 } __CLC2GLS0bits_t
;
14483 extern __at(0x0F20) volatile __CLC2GLS0bits_t CLC2GLS0bits
;
14485 #define _CLC2GLS0_LC2G1D1N 0x01
14486 #define _CLC2GLS0_D1N 0x01
14487 #define _CLC2GLS0_LC2G1D1T 0x02
14488 #define _CLC2GLS0_D1T 0x02
14489 #define _CLC2GLS0_LC2G1D2N 0x04
14490 #define _CLC2GLS0_D2N 0x04
14491 #define _CLC2GLS0_LC2G1D2T 0x08
14492 #define _CLC2GLS0_D2T 0x08
14493 #define _CLC2GLS0_LC2G1D3N 0x10
14494 #define _CLC2GLS0_D3N 0x10
14495 #define _CLC2GLS0_LC2G1D3T 0x20
14496 #define _CLC2GLS0_D3T 0x20
14497 #define _CLC2GLS0_LC2G1D4N 0x40
14498 #define _CLC2GLS0_D4N 0x40
14499 #define _CLC2GLS0_LC2G1D4T 0x80
14500 #define _CLC2GLS0_D4T 0x80
14502 //==============================================================================
14505 //==============================================================================
14508 extern __at(0x0F21) __sfr CLC2GLS1
;
14514 unsigned LC2G2D1N
: 1;
14515 unsigned LC2G2D1T
: 1;
14516 unsigned LC2G2D2N
: 1;
14517 unsigned LC2G2D2T
: 1;
14518 unsigned LC2G2D3N
: 1;
14519 unsigned LC2G2D3T
: 1;
14520 unsigned LC2G2D4N
: 1;
14521 unsigned LC2G2D4T
: 1;
14535 } __CLC2GLS1bits_t
;
14537 extern __at(0x0F21) volatile __CLC2GLS1bits_t CLC2GLS1bits
;
14539 #define _CLC2GLS1_LC2G2D1N 0x01
14540 #define _CLC2GLS1_D1N 0x01
14541 #define _CLC2GLS1_LC2G2D1T 0x02
14542 #define _CLC2GLS1_D1T 0x02
14543 #define _CLC2GLS1_LC2G2D2N 0x04
14544 #define _CLC2GLS1_D2N 0x04
14545 #define _CLC2GLS1_LC2G2D2T 0x08
14546 #define _CLC2GLS1_D2T 0x08
14547 #define _CLC2GLS1_LC2G2D3N 0x10
14548 #define _CLC2GLS1_D3N 0x10
14549 #define _CLC2GLS1_LC2G2D3T 0x20
14550 #define _CLC2GLS1_D3T 0x20
14551 #define _CLC2GLS1_LC2G2D4N 0x40
14552 #define _CLC2GLS1_D4N 0x40
14553 #define _CLC2GLS1_LC2G2D4T 0x80
14554 #define _CLC2GLS1_D4T 0x80
14556 //==============================================================================
14559 //==============================================================================
14562 extern __at(0x0F22) __sfr CLC2GLS2
;
14568 unsigned LC2G3D1N
: 1;
14569 unsigned LC2G3D1T
: 1;
14570 unsigned LC2G3D2N
: 1;
14571 unsigned LC2G3D2T
: 1;
14572 unsigned LC2G3D3N
: 1;
14573 unsigned LC2G3D3T
: 1;
14574 unsigned LC2G3D4N
: 1;
14575 unsigned LC2G3D4T
: 1;
14589 } __CLC2GLS2bits_t
;
14591 extern __at(0x0F22) volatile __CLC2GLS2bits_t CLC2GLS2bits
;
14593 #define _CLC2GLS2_LC2G3D1N 0x01
14594 #define _CLC2GLS2_D1N 0x01
14595 #define _CLC2GLS2_LC2G3D1T 0x02
14596 #define _CLC2GLS2_D1T 0x02
14597 #define _CLC2GLS2_LC2G3D2N 0x04
14598 #define _CLC2GLS2_D2N 0x04
14599 #define _CLC2GLS2_LC2G3D2T 0x08
14600 #define _CLC2GLS2_D2T 0x08
14601 #define _CLC2GLS2_LC2G3D3N 0x10
14602 #define _CLC2GLS2_D3N 0x10
14603 #define _CLC2GLS2_LC2G3D3T 0x20
14604 #define _CLC2GLS2_D3T 0x20
14605 #define _CLC2GLS2_LC2G3D4N 0x40
14606 #define _CLC2GLS2_D4N 0x40
14607 #define _CLC2GLS2_LC2G3D4T 0x80
14608 #define _CLC2GLS2_D4T 0x80
14610 //==============================================================================
14613 //==============================================================================
14616 extern __at(0x0F23) __sfr CLC2GLS3
;
14622 unsigned LC2G4D1N
: 1;
14623 unsigned LC2G4D1T
: 1;
14624 unsigned LC2G4D2N
: 1;
14625 unsigned LC2G4D2T
: 1;
14626 unsigned LC2G4D3N
: 1;
14627 unsigned LC2G4D3T
: 1;
14628 unsigned LC2G4D4N
: 1;
14629 unsigned LC2G4D4T
: 1;
14634 unsigned G4D1N
: 1;
14635 unsigned G4D1T
: 1;
14636 unsigned G4D2N
: 1;
14637 unsigned G4D2T
: 1;
14638 unsigned G4D3N
: 1;
14639 unsigned G4D3T
: 1;
14640 unsigned G4D4N
: 1;
14641 unsigned G4D4T
: 1;
14643 } __CLC2GLS3bits_t
;
14645 extern __at(0x0F23) volatile __CLC2GLS3bits_t CLC2GLS3bits
;
14647 #define _CLC2GLS3_LC2G4D1N 0x01
14648 #define _CLC2GLS3_G4D1N 0x01
14649 #define _CLC2GLS3_LC2G4D1T 0x02
14650 #define _CLC2GLS3_G4D1T 0x02
14651 #define _CLC2GLS3_LC2G4D2N 0x04
14652 #define _CLC2GLS3_G4D2N 0x04
14653 #define _CLC2GLS3_LC2G4D2T 0x08
14654 #define _CLC2GLS3_G4D2T 0x08
14655 #define _CLC2GLS3_LC2G4D3N 0x10
14656 #define _CLC2GLS3_G4D3N 0x10
14657 #define _CLC2GLS3_LC2G4D3T 0x20
14658 #define _CLC2GLS3_G4D3T 0x20
14659 #define _CLC2GLS3_LC2G4D4N 0x40
14660 #define _CLC2GLS3_G4D4N 0x40
14661 #define _CLC2GLS3_LC2G4D4T 0x80
14662 #define _CLC2GLS3_G4D4T 0x80
14664 //==============================================================================
14667 //==============================================================================
14668 // STATUS_SHAD Bits
14670 extern __at(0x0FE4) __sfr STATUS_SHAD
;
14674 unsigned C_SHAD
: 1;
14675 unsigned DC_SHAD
: 1;
14676 unsigned Z_SHAD
: 1;
14682 } __STATUS_SHADbits_t
;
14684 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits
;
14686 #define _C_SHAD 0x01
14687 #define _DC_SHAD 0x02
14688 #define _Z_SHAD 0x04
14690 //==============================================================================
14692 extern __at(0x0FE5) __sfr WREG_SHAD
;
14693 extern __at(0x0FE6) __sfr BSR_SHAD
;
14694 extern __at(0x0FE7) __sfr PCLATH_SHAD
;
14695 extern __at(0x0FE8) __sfr FSR0L_SHAD
;
14696 extern __at(0x0FE9) __sfr FSR0H_SHAD
;
14697 extern __at(0x0FEA) __sfr FSR1L_SHAD
;
14698 extern __at(0x0FEB) __sfr FSR1H_SHAD
;
14699 extern __at(0x0FED) __sfr STKPTR
;
14700 extern __at(0x0FEE) __sfr TOSL
;
14701 extern __at(0x0FEF) __sfr TOSH
;
14703 //==============================================================================
14705 // Configuration Bits
14707 //==============================================================================
14709 #define _CONFIG1 0x8007
14710 #define _CONFIG2 0x8008
14711 #define _CONFIG3 0x8009
14713 //----------------------------- CONFIG1 Options -------------------------------
14715 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator: I/O function on CLKIN pin.
14716 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins.
14717 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins.
14718 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins.
14719 #define _PWRTE_ON 0x3FDF // PWRT enabled.
14720 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
14721 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
14722 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
14723 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
14724 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
14725 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
14726 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
14727 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
14728 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
14729 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
14730 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
14732 //----------------------------- CONFIG2 Options -------------------------------
14734 #define _WRT_ALL 0x3FFC // 000h to 1FFFh write protected, no addresses may be modified by PMCON control.
14735 #define _WRT_HALF 0x3FFD // 000h to FFFh write protected, 1000h to 1FFFh may be modified by PMCON control.
14736 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to 1FFFh may be modified by PMCON control.
14737 #define _WRT_OFF 0x3FFF // Write protection off.
14738 #define _PPS1WAY_OFF 0x3FFB // The PPSLOCK bit can be set and cleared repeatedly by software.
14739 #define _PPS1WAY_ON 0x3FFF // The PPSLOCK bit cannot be cleared once it is set by software.
14740 #define _ZCD_ON 0x3F7F // ZCD always enabled.
14741 #define _ZCD_OFF 0x3FFF // ZCD disable. ZCD can be enabled by setting the ZCDSEN bit of ZCDCON.
14742 #define _PLLEN_OFF 0x3EFF // 4x PLL is enabled when software sets the SPLLEN bit.
14743 #define _PLLEN_ON 0x3FFF // 4x PLL is always enabled.
14744 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
14745 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
14746 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
14747 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
14748 #define _LPBOR_ON 0x37FF // Low-Power BOR is enabled.
14749 #define _LPBOR_OFF 0x3FFF // Low-Power BOR is disabled.
14750 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
14751 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
14752 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
14753 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
14755 //----------------------------- CONFIG3 Options -------------------------------
14757 #define _WDTCPS_WDTCPS0 0x3FE0 // 1:32 (1 ms period).
14758 #define _WDTCPS_WDTCPS1 0x3FE1 // 1:64 (2 ms period).
14759 #define _WDTCPS_WDTCPS2 0x3FE2 // 1:128 (4 ms period).
14760 #define _WDTCPS_WDTCPS3 0x3FE3 // 1:256 (8 ms period).
14761 #define _WDTCPS_WDTCPS4 0x3FE4 // 1:512 (16 ms period).
14762 #define _WDTCPS_WDTCPS5 0x3FE5 // 1:1024 (32 ms period).
14763 #define _WDTCPS_WDTCPS6 0x3FE6 // 1:2048 (64 ms period).
14764 #define _WDTCPS_WDTCPS7 0x3FE7 // 1:4096 (128 ms period).
14765 #define _WDTCPS_WDTCPS8 0x3FE8 // 1:8192 (256 ms period).
14766 #define _WDTCPS_WDTCPS9 0x3FE9 // 1:16384 (512 ms period).
14767 #define _WDTCPS_WDTCPSA 0x3FEA // 1:32768 (1 s period).
14768 #define _WDTCPS_WDTCPSB 0x3FEB // 1:65536 (2 s period).
14769 #define _WDTCPS_WDTCPSC 0x3FEC // 1:131072 (4 s period).
14770 #define _WDTCPS_WDTCPSD 0x3FED // 1:262144 (8 s period).
14771 #define _WDTCPS_WDTCPSE 0x3FEE // 1:524299 (16 s period).
14772 #define _WDTCPS_WDTCPSF 0x3FEF // 1:1048576 (32 s period).
14773 #define _WDTCPS_WDTCPS10 0x3FF0 // 1:2097152 (64 s period).
14774 #define _WDTCPS_WDTCPS11 0x3FF1 // 1:4194304 (128 s period).
14775 #define _WDTCPS_WDTCPS12 0x3FF2 // 1:8388608 (256 s period).
14776 #define _WDTCPS_WDTCPS1F 0x3FFF // Software Control (WDTPS).
14777 #define _WDTE_OFF 0x3F9F // WDT disabled.
14778 #define _WDTE_SWDTEN 0x3FBF // WDT controlled by the SWDTEN bit in the WDTCON register.
14779 #define _WDTE_NSLEEP 0x3FDF // WDT enabled while running and disabled in Sleep.
14780 #define _WDTE_ON 0x3FFF // WDT enabled.
14781 #define _WDTCWS_WDTCWS125 0x38FF // 12.5 percent window open time.
14782 #define _WDTCWS_WDTCWS25 0x39FF // 25 percent window open time.
14783 #define _WDTCWS_WDTCWS375 0x3AFF // 37.5 percent window open time.
14784 #define _WDTCWS_WDTCWS50 0x3BFF // 50 percent window open time.
14785 #define _WDTCWS_WDTCWS625 0x3CFF // 62.5 percent window open time.
14786 #define _WDTCWS_WDTCWS75 0x3DFF // 75 percent window open time.
14787 #define _WDTCWS_WDTCWS100 0x3EFF // 100 percent window open time (Legacy WDT).
14788 #define _WDTCWS_WDTCWSSW 0x3FFF // Software WDT window size control (WDTWS bits).
14789 #define _WDTCCS_LFINTOSC 0x07FF // 31.0kHz LFINTOSC.
14790 #define _WDTCCS_MFINTOSC 0x0FFF // 31.25 kHz HFINTOSC (MFINTOSC).
14791 #define _WDTCCS_SWC 0x3FFF // Software control, controlled by WDTCS bits.
14793 //==============================================================================
14795 #define _DEVID1 0x8006
14797 #define _IDLOC0 0x8000
14798 #define _IDLOC1 0x8001
14799 #define _IDLOC2 0x8002
14800 #define _IDLOC3 0x8003
14802 //==============================================================================
14804 #ifndef NO_BIT_DEFINES
14806 #define ADON ADCON0bits.ADON // bit 0
14807 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
14808 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
14809 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
14810 #define CHS0 ADCON0bits.CHS0 // bit 2
14811 #define CHS1 ADCON0bits.CHS1 // bit 3
14812 #define CHS2 ADCON0bits.CHS2 // bit 4
14813 #define CHS3 ADCON0bits.CHS3 // bit 5
14814 #define CHS4 ADCON0bits.CHS4 // bit 6
14816 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
14817 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
14818 #define ADCS0 ADCON1bits.ADCS0 // bit 4
14819 #define ADCS1 ADCON1bits.ADCS1 // bit 5
14820 #define ADCS2 ADCON1bits.ADCS2 // bit 6
14821 #define ADFM ADCON1bits.ADFM // bit 7
14823 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 4
14824 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 5
14825 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 6
14826 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 7
14828 #define ANSA0 ANSELAbits.ANSA0 // bit 0
14829 #define ANSA1 ANSELAbits.ANSA1 // bit 1
14830 #define ANSA2 ANSELAbits.ANSA2 // bit 2
14831 #define ANSA4 ANSELAbits.ANSA4 // bit 4
14833 #define ANSB4 ANSELBbits.ANSB4 // bit 4
14834 #define ANSB5 ANSELBbits.ANSB5 // bit 5
14835 #define ANSB6 ANSELBbits.ANSB6 // bit 6
14836 #define ANSB7 ANSELBbits.ANSB7 // bit 7
14838 #define ANSC0 ANSELCbits.ANSC0 // bit 0
14839 #define ANSC1 ANSELCbits.ANSC1 // bit 1
14840 #define ANSC2 ANSELCbits.ANSC2 // bit 2
14841 #define ANSC3 ANSELCbits.ANSC3 // bit 3
14842 #define ANSC6 ANSELCbits.ANSC6 // bit 6
14843 #define ANSC7 ANSELCbits.ANSC7 // bit 7
14845 #define AT1CC18 AT1CC1Hbits.AT1CC18 // bit 0, shadows bit in AT1CC1Hbits
14846 #define CC18 AT1CC1Hbits.CC18 // bit 0, shadows bit in AT1CC1Hbits
14847 #define AT1CC19 AT1CC1Hbits.AT1CC19 // bit 1, shadows bit in AT1CC1Hbits
14848 #define CC19 AT1CC1Hbits.CC19 // bit 1, shadows bit in AT1CC1Hbits
14850 #define AT1CC10 AT1CC1Lbits.AT1CC10 // bit 0, shadows bit in AT1CC1Lbits
14851 #define CC10 AT1CC1Lbits.CC10 // bit 0, shadows bit in AT1CC1Lbits
14852 #define AT1CC11 AT1CC1Lbits.AT1CC11 // bit 1, shadows bit in AT1CC1Lbits
14853 #define CC11 AT1CC1Lbits.CC11 // bit 1, shadows bit in AT1CC1Lbits
14854 #define AT1CC12 AT1CC1Lbits.AT1CC12 // bit 2, shadows bit in AT1CC1Lbits
14855 #define CC12 AT1CC1Lbits.CC12 // bit 2, shadows bit in AT1CC1Lbits
14856 #define AT1CC13 AT1CC1Lbits.AT1CC13 // bit 3, shadows bit in AT1CC1Lbits
14857 #define CC13 AT1CC1Lbits.CC13 // bit 3, shadows bit in AT1CC1Lbits
14858 #define AT1CC14 AT1CC1Lbits.AT1CC14 // bit 4, shadows bit in AT1CC1Lbits
14859 #define CC14 AT1CC1Lbits.CC14 // bit 4, shadows bit in AT1CC1Lbits
14860 #define AT1CC15 AT1CC1Lbits.AT1CC15 // bit 5, shadows bit in AT1CC1Lbits
14861 #define CC15 AT1CC1Lbits.CC15 // bit 5, shadows bit in AT1CC1Lbits
14862 #define AT1CC16 AT1CC1Lbits.AT1CC16 // bit 6, shadows bit in AT1CC1Lbits
14863 #define CC16 AT1CC1Lbits.CC16 // bit 6, shadows bit in AT1CC1Lbits
14864 #define AT1CC17 AT1CC1Lbits.AT1CC17 // bit 7, shadows bit in AT1CC1Lbits
14865 #define CC17 AT1CC1Lbits.CC17 // bit 7, shadows bit in AT1CC1Lbits
14867 #define AT1CC28 AT1CC2Hbits.AT1CC28 // bit 0, shadows bit in AT1CC2Hbits
14868 #define CC28 AT1CC2Hbits.CC28 // bit 0, shadows bit in AT1CC2Hbits
14869 #define AT1CC29 AT1CC2Hbits.AT1CC29 // bit 1, shadows bit in AT1CC2Hbits
14870 #define CC29 AT1CC2Hbits.CC29 // bit 1, shadows bit in AT1CC2Hbits
14872 #define AT1CC38 AT1CC3Hbits.AT1CC38 // bit 0, shadows bit in AT1CC3Hbits
14873 #define CC38 AT1CC3Hbits.CC38 // bit 0, shadows bit in AT1CC3Hbits
14874 #define AT1CC39 AT1CC3Hbits.AT1CC39 // bit 1, shadows bit in AT1CC3Hbits
14875 #define CC39 AT1CC3Hbits.CC39 // bit 1, shadows bit in AT1CC3Hbits
14877 #define AT1CC30 AT1CC3Lbits.AT1CC30 // bit 0, shadows bit in AT1CC3Lbits
14878 #define CC30 AT1CC3Lbits.CC30 // bit 0, shadows bit in AT1CC3Lbits
14879 #define AT1CC31 AT1CC3Lbits.AT1CC31 // bit 1, shadows bit in AT1CC3Lbits
14880 #define CC31 AT1CC3Lbits.CC31 // bit 1, shadows bit in AT1CC3Lbits
14881 #define AT1CC32 AT1CC3Lbits.AT1CC32 // bit 2, shadows bit in AT1CC3Lbits
14882 #define CC32 AT1CC3Lbits.CC32 // bit 2, shadows bit in AT1CC3Lbits
14883 #define AT1CC33 AT1CC3Lbits.AT1CC33 // bit 3, shadows bit in AT1CC3Lbits
14884 #define CC33 AT1CC3Lbits.CC33 // bit 3, shadows bit in AT1CC3Lbits
14885 #define AT1CC34 AT1CC3Lbits.AT1CC34 // bit 4, shadows bit in AT1CC3Lbits
14886 #define CC34 AT1CC3Lbits.CC34 // bit 4, shadows bit in AT1CC3Lbits
14887 #define AT1CC35 AT1CC3Lbits.AT1CC35 // bit 5, shadows bit in AT1CC3Lbits
14888 #define CC35 AT1CC3Lbits.CC35 // bit 5, shadows bit in AT1CC3Lbits
14889 #define AT1CC36 AT1CC3Lbits.AT1CC36 // bit 6, shadows bit in AT1CC3Lbits
14890 #define CC36 AT1CC3Lbits.CC36 // bit 6, shadows bit in AT1CC3Lbits
14891 #define AT1CC37 AT1CC3Lbits.AT1CC37 // bit 7, shadows bit in AT1CC3Lbits
14892 #define CC37 AT1CC3Lbits.CC37 // bit 7, shadows bit in AT1CC3Lbits
14894 #define AT1CC1MODE AT1CCON1bits.AT1CC1MODE // bit 0, shadows bit in AT1CCON1bits
14895 #define CC1MODE AT1CCON1bits.CC1MODE // bit 0, shadows bit in AT1CCON1bits
14896 #define AT1CAP1P AT1CCON1bits.AT1CAP1P // bit 3, shadows bit in AT1CCON1bits
14897 #define CAP1P AT1CCON1bits.CAP1P // bit 3, shadows bit in AT1CCON1bits
14898 #define AT1CC1POL AT1CCON1bits.AT1CC1POL // bit 4, shadows bit in AT1CCON1bits
14899 #define CC1POL AT1CCON1bits.CC1POL // bit 4, shadows bit in AT1CCON1bits
14900 #define AT1CC1EN AT1CCON1bits.AT1CC1EN // bit 7, shadows bit in AT1CCON1bits
14901 #define CC1EN AT1CCON1bits.CC1EN // bit 7, shadows bit in AT1CCON1bits
14903 #define AT1CC2MODE AT1CCON2bits.AT1CC2MODE // bit 0, shadows bit in AT1CCON2bits
14904 #define CC2MODE AT1CCON2bits.CC2MODE // bit 0, shadows bit in AT1CCON2bits
14905 #define AT1CAP2P AT1CCON2bits.AT1CAP2P // bit 3, shadows bit in AT1CCON2bits
14906 #define CAP2P AT1CCON2bits.CAP2P // bit 3, shadows bit in AT1CCON2bits
14907 #define AT1CC2POL AT1CCON2bits.AT1CC2POL // bit 4, shadows bit in AT1CCON2bits
14908 #define CC2POL AT1CCON2bits.CC2POL // bit 4, shadows bit in AT1CCON2bits
14909 #define AT1CC2EN AT1CCON2bits.AT1CC2EN // bit 7, shadows bit in AT1CCON2bits
14910 #define CC2EN AT1CCON2bits.CC2EN // bit 7, shadows bit in AT1CCON2bits
14912 #define AT1CC3MODE AT1CCON3bits.AT1CC3MODE // bit 0, shadows bit in AT1CCON3bits
14913 #define CC3MODE AT1CCON3bits.CC3MODE // bit 0, shadows bit in AT1CCON3bits
14914 #define AT1CAP3P AT1CCON3bits.AT1CAP3P // bit 3, shadows bit in AT1CCON3bits
14915 #define CAP3P AT1CCON3bits.CAP3P // bit 3, shadows bit in AT1CCON3bits
14916 #define AT1CC3POL AT1CCON3bits.AT1CC3POL // bit 4, shadows bit in AT1CCON3bits
14917 #define CC3POL AT1CCON3bits.CC3POL // bit 4, shadows bit in AT1CCON3bits
14918 #define AT1CC3EN AT1CCON3bits.AT1CC3EN // bit 7, shadows bit in AT1CCON3bits
14919 #define CC3EN AT1CCON3bits.CC3EN // bit 7, shadows bit in AT1CCON3bits
14921 #define CS AT1CLKbits.CS // bit 0, shadows bit in AT1CLKbits
14922 #define AT1CS AT1CLKbits.AT1CS // bit 0, shadows bit in AT1CLKbits
14923 #define CS0 AT1CLKbits.CS0 // bit 0, shadows bit in AT1CLKbits
14924 #define AT1CS0 AT1CLKbits.AT1CS0 // bit 0, shadows bit in AT1CLKbits
14926 #define MODE AT1CON0bits.MODE // bit 0, shadows bit in AT1CON0bits
14927 #define AT1MODE AT1CON0bits.AT1MODE // bit 0, shadows bit in AT1CON0bits
14928 #define APMOD AT1CON0bits.APMOD // bit 1, shadows bit in AT1CON0bits
14929 #define AT1APMOD AT1CON0bits.AT1APMOD // bit 1, shadows bit in AT1CON0bits
14930 #define POL AT1CON0bits.POL // bit 3, shadows bit in AT1CON0bits
14931 #define AT1POL AT1CON0bits.AT1POL // bit 3, shadows bit in AT1CON0bits
14932 #define PS0 AT1CON0bits.PS0 // bit 4, shadows bit in AT1CON0bits
14933 #define AT1PS0 AT1CON0bits.AT1PS0 // bit 4, shadows bit in AT1CON0bits
14934 #define PS1 AT1CON0bits.PS1 // bit 5, shadows bit in AT1CON0bits
14935 #define AT1PS1 AT1CON0bits.AT1PS1 // bit 5, shadows bit in AT1CON0bits
14936 #define PREC AT1CON0bits.PREC // bit 6, shadows bit in AT1CON0bits
14937 #define AT1PREC AT1CON0bits.AT1PREC // bit 6, shadows bit in AT1CON0bits
14938 #define EN AT1CON0bits.EN // bit 7, shadows bit in AT1CON0bits
14939 #define AT1EN AT1CON0bits.AT1EN // bit 7, shadows bit in AT1CON0bits
14941 #define VALID AT1CON1bits.VALID // bit 0, shadows bit in AT1CON1bits
14942 #define AT1VALID AT1CON1bits.AT1VALID // bit 0, shadows bit in AT1CON1bits
14943 #define ACCS AT1CON1bits.ACCS // bit 1, shadows bit in AT1CON1bits
14944 #define AT1ACCS AT1CON1bits.AT1ACCS // bit 1, shadows bit in AT1CON1bits
14945 #define MPP AT1CON1bits.MPP // bit 2, shadows bit in AT1CON1bits
14946 #define AT1MPP AT1CON1bits.AT1MPP // bit 2, shadows bit in AT1CON1bits
14947 #define PRP AT1CON1bits.PRP // bit 4, shadows bit in AT1CON1bits
14948 #define AT1PRP AT1CON1bits.AT1PRP // bit 4, shadows bit in AT1CON1bits
14949 #define PHP AT1CON1bits.PHP // bit 6, shadows bit in AT1CON1bits
14950 #define AT1PHP AT1CON1bits.AT1PHP // bit 6, shadows bit in AT1CON1bits
14952 #define AT1CP1S0 AT1CSEL1bits.AT1CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14953 #define CP1S0 AT1CSEL1bits.CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14954 #define AT1CP1S1 AT1CSEL1bits.AT1CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14955 #define CP1S1 AT1CSEL1bits.CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14956 #define AT1CP1S2 AT1CSEL1bits.AT1CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14957 #define CP1S2 AT1CSEL1bits.CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14959 #define AT1CP2S0 AT1CSEL2bits.AT1CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14960 #define CP2S0 AT1CSEL2bits.CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14961 #define AT1CP2S1 AT1CSEL2bits.AT1CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14962 #define CP2S1 AT1CSEL2bits.CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14963 #define AT1CP2S2 AT1CSEL2bits.AT1CP2S2 // bit 2, shadows bit in AT1CSEL2bits
14964 #define CP2S2 AT1CSEL2bits.CP2S2 // bit 2, shadows bit in AT1CSEL2bits
14966 #define AT1CP3S0 AT1CSEL3bits.AT1CP3S0 // bit 0, shadows bit in AT1CSEL3bits
14967 #define CP3S0 AT1CSEL3bits.CP3S0 // bit 0, shadows bit in AT1CSEL3bits
14968 #define AT1CP3S1 AT1CSEL3bits.AT1CP3S1 // bit 1, shadows bit in AT1CSEL3bits
14969 #define CP3S1 AT1CSEL3bits.CP3S1 // bit 1, shadows bit in AT1CSEL3bits
14970 #define AT1CP3S2 AT1CSEL3bits.AT1CP3S2 // bit 2, shadows bit in AT1CSEL3bits
14971 #define CP3S2 AT1CSEL3bits.CP3S2 // bit 2, shadows bit in AT1CSEL3bits
14973 #define AT1ERR8 AT1ERRHbits.AT1ERR8 // bit 0, shadows bit in AT1ERRHbits
14974 #define ERR8 AT1ERRHbits.ERR8 // bit 0, shadows bit in AT1ERRHbits
14975 #define ERRH0 AT1ERRHbits.ERRH0 // bit 0, shadows bit in AT1ERRHbits
14976 #define AT1ERR9 AT1ERRHbits.AT1ERR9 // bit 1, shadows bit in AT1ERRHbits
14977 #define ERR9 AT1ERRHbits.ERR9 // bit 1, shadows bit in AT1ERRHbits
14978 #define ERRH1 AT1ERRHbits.ERRH1 // bit 1, shadows bit in AT1ERRHbits
14979 #define AT1ERR10 AT1ERRHbits.AT1ERR10 // bit 2, shadows bit in AT1ERRHbits
14980 #define ERR10 AT1ERRHbits.ERR10 // bit 2, shadows bit in AT1ERRHbits
14981 #define ERRH2 AT1ERRHbits.ERRH2 // bit 2, shadows bit in AT1ERRHbits
14982 #define AT1ERR11 AT1ERRHbits.AT1ERR11 // bit 3, shadows bit in AT1ERRHbits
14983 #define ERR11 AT1ERRHbits.ERR11 // bit 3, shadows bit in AT1ERRHbits
14984 #define ERRH3 AT1ERRHbits.ERRH3 // bit 3, shadows bit in AT1ERRHbits
14985 #define AT1ERR12 AT1ERRHbits.AT1ERR12 // bit 4, shadows bit in AT1ERRHbits
14986 #define ERR12 AT1ERRHbits.ERR12 // bit 4, shadows bit in AT1ERRHbits
14987 #define ERRH4 AT1ERRHbits.ERRH4 // bit 4, shadows bit in AT1ERRHbits
14988 #define AT1ERR13 AT1ERRHbits.AT1ERR13 // bit 5, shadows bit in AT1ERRHbits
14989 #define ERR13 AT1ERRHbits.ERR13 // bit 5, shadows bit in AT1ERRHbits
14990 #define ERRH5 AT1ERRHbits.ERRH5 // bit 5, shadows bit in AT1ERRHbits
14991 #define AT1ERR14 AT1ERRHbits.AT1ERR14 // bit 6, shadows bit in AT1ERRHbits
14992 #define ERR14 AT1ERRHbits.ERR14 // bit 6, shadows bit in AT1ERRHbits
14993 #define ERRH6 AT1ERRHbits.ERRH6 // bit 6, shadows bit in AT1ERRHbits
14994 #define AT1ERR15 AT1ERRHbits.AT1ERR15 // bit 7, shadows bit in AT1ERRHbits
14995 #define ERR15 AT1ERRHbits.ERR15 // bit 7, shadows bit in AT1ERRHbits
14996 #define ERRH7 AT1ERRHbits.ERRH7 // bit 7, shadows bit in AT1ERRHbits
14998 #define AT1ERR0 AT1ERRLbits.AT1ERR0 // bit 0, shadows bit in AT1ERRLbits
14999 #define ERR0 AT1ERRLbits.ERR0 // bit 0, shadows bit in AT1ERRLbits
15000 #define ERRL0 AT1ERRLbits.ERRL0 // bit 0, shadows bit in AT1ERRLbits
15001 #define AT1ERR1 AT1ERRLbits.AT1ERR1 // bit 1, shadows bit in AT1ERRLbits
15002 #define ERR1 AT1ERRLbits.ERR1 // bit 1, shadows bit in AT1ERRLbits
15003 #define ERRL1 AT1ERRLbits.ERRL1 // bit 1, shadows bit in AT1ERRLbits
15004 #define AT1ERR2 AT1ERRLbits.AT1ERR2 // bit 2, shadows bit in AT1ERRLbits
15005 #define ERR2 AT1ERRLbits.ERR2 // bit 2, shadows bit in AT1ERRLbits
15006 #define ERRL2 AT1ERRLbits.ERRL2 // bit 2, shadows bit in AT1ERRLbits
15007 #define AT1ERR3 AT1ERRLbits.AT1ERR3 // bit 3, shadows bit in AT1ERRLbits
15008 #define ERR3 AT1ERRLbits.ERR3 // bit 3, shadows bit in AT1ERRLbits
15009 #define ERRL3 AT1ERRLbits.ERRL3 // bit 3, shadows bit in AT1ERRLbits
15010 #define AT1ERR4 AT1ERRLbits.AT1ERR4 // bit 4, shadows bit in AT1ERRLbits
15011 #define ERR4 AT1ERRLbits.ERR4 // bit 4, shadows bit in AT1ERRLbits
15012 #define ERRL4 AT1ERRLbits.ERRL4 // bit 4, shadows bit in AT1ERRLbits
15013 #define AT1ERR5 AT1ERRLbits.AT1ERR5 // bit 5, shadows bit in AT1ERRLbits
15014 #define ERR5 AT1ERRLbits.ERR5 // bit 5, shadows bit in AT1ERRLbits
15015 #define ERRL5 AT1ERRLbits.ERRL5 // bit 5, shadows bit in AT1ERRLbits
15016 #define AT1ERR6 AT1ERRLbits.AT1ERR6 // bit 6, shadows bit in AT1ERRLbits
15017 #define ERR6 AT1ERRLbits.ERR6 // bit 6, shadows bit in AT1ERRLbits
15018 #define ERRL6 AT1ERRLbits.ERRL6 // bit 6, shadows bit in AT1ERRLbits
15019 #define AT1ERR7 AT1ERRLbits.AT1ERR7 // bit 7, shadows bit in AT1ERRLbits
15020 #define ERR7 AT1ERRLbits.ERR7 // bit 7, shadows bit in AT1ERRLbits
15021 #define ERRL7 AT1ERRLbits.ERRL7 // bit 7, shadows bit in AT1ERRLbits
15023 #define AT1PERIE AT1IE0bits.AT1PERIE // bit 0
15024 #define AT1MISSIE AT1IE0bits.AT1MISSIE // bit 1
15025 #define AT1PHSIE AT1IE0bits.AT1PHSIE // bit 2
15027 #define AT1CC1IE AT1IE1bits.AT1CC1IE // bit 0
15028 #define AT1CC2IE AT1IE1bits.AT1CC2IE // bit 1
15029 #define AT1CC3IE AT1IE1bits.AT1CC3IE // bit 2
15031 #define AT1PERIF AT1IR0bits.AT1PERIF // bit 0
15032 #define AT1MISSIF AT1IR0bits.AT1MISSIF // bit 1
15033 #define AT1PHSIF AT1IR0bits.AT1PHSIF // bit 2
15035 #define AT1CC1IF AT1IR1bits.AT1CC1IF // bit 0
15036 #define AT1CC2IF AT1IR1bits.AT1CC2IF // bit 1
15037 #define AT1CC3IF AT1IR1bits.AT1CC3IF // bit 2
15039 #define AT1MISS8 AT1MISSHbits.AT1MISS8 // bit 0, shadows bit in AT1MISSHbits
15040 #define MISS8 AT1MISSHbits.MISS8 // bit 0, shadows bit in AT1MISSHbits
15041 #define AT1MISS9 AT1MISSHbits.AT1MISS9 // bit 1, shadows bit in AT1MISSHbits
15042 #define MISS9 AT1MISSHbits.MISS9 // bit 1, shadows bit in AT1MISSHbits
15043 #define AT1MISS10 AT1MISSHbits.AT1MISS10 // bit 2, shadows bit in AT1MISSHbits
15044 #define MISS10 AT1MISSHbits.MISS10 // bit 2, shadows bit in AT1MISSHbits
15045 #define AT1MISS11 AT1MISSHbits.AT1MISS11 // bit 3, shadows bit in AT1MISSHbits
15046 #define MISS11 AT1MISSHbits.MISS11 // bit 3, shadows bit in AT1MISSHbits
15047 #define AT1MISS12 AT1MISSHbits.AT1MISS12 // bit 4, shadows bit in AT1MISSHbits
15048 #define MISS12 AT1MISSHbits.MISS12 // bit 4, shadows bit in AT1MISSHbits
15049 #define AT1MISS13 AT1MISSHbits.AT1MISS13 // bit 5, shadows bit in AT1MISSHbits
15050 #define MISS13 AT1MISSHbits.MISS13 // bit 5, shadows bit in AT1MISSHbits
15051 #define AT1MISS14 AT1MISSHbits.AT1MISS14 // bit 6, shadows bit in AT1MISSHbits
15052 #define MISS14 AT1MISSHbits.MISS14 // bit 6, shadows bit in AT1MISSHbits
15053 #define AT1MISS15 AT1MISSHbits.AT1MISS15 // bit 7, shadows bit in AT1MISSHbits
15054 #define MISS15 AT1MISSHbits.MISS15 // bit 7, shadows bit in AT1MISSHbits
15056 #define AT1MISS0 AT1MISSLbits.AT1MISS0 // bit 0, shadows bit in AT1MISSLbits
15057 #define MISS0 AT1MISSLbits.MISS0 // bit 0, shadows bit in AT1MISSLbits
15058 #define AT1MISS1 AT1MISSLbits.AT1MISS1 // bit 1, shadows bit in AT1MISSLbits
15059 #define MISS1 AT1MISSLbits.MISS1 // bit 1, shadows bit in AT1MISSLbits
15060 #define AT1MISS2 AT1MISSLbits.AT1MISS2 // bit 2, shadows bit in AT1MISSLbits
15061 #define MISS2 AT1MISSLbits.MISS2 // bit 2, shadows bit in AT1MISSLbits
15062 #define AT1MISS3 AT1MISSLbits.AT1MISS3 // bit 3, shadows bit in AT1MISSLbits
15063 #define MISS3 AT1MISSLbits.MISS3 // bit 3, shadows bit in AT1MISSLbits
15064 #define AT1MISS4 AT1MISSLbits.AT1MISS4 // bit 4, shadows bit in AT1MISSLbits
15065 #define MISS4 AT1MISSLbits.MISS4 // bit 4, shadows bit in AT1MISSLbits
15066 #define AT1MISS5 AT1MISSLbits.AT1MISS5 // bit 5, shadows bit in AT1MISSLbits
15067 #define MISS5 AT1MISSLbits.MISS5 // bit 5, shadows bit in AT1MISSLbits
15068 #define AT1MISS6 AT1MISSLbits.AT1MISS6 // bit 6, shadows bit in AT1MISSLbits
15069 #define MISS6 AT1MISSLbits.MISS6 // bit 6, shadows bit in AT1MISSLbits
15070 #define AT1MISS7 AT1MISSLbits.AT1MISS7 // bit 7, shadows bit in AT1MISSLbits
15071 #define MISS7 AT1MISSLbits.MISS7 // bit 7, shadows bit in AT1MISSLbits
15073 #define AT1PER8 AT1PERHbits.AT1PER8 // bit 0, shadows bit in AT1PERHbits
15074 #define PER8 AT1PERHbits.PER8 // bit 0, shadows bit in AT1PERHbits
15075 #define PERH0 AT1PERHbits.PERH0 // bit 0, shadows bit in AT1PERHbits
15076 #define AT1PER9 AT1PERHbits.AT1PER9 // bit 1, shadows bit in AT1PERHbits
15077 #define PER9 AT1PERHbits.PER9 // bit 1, shadows bit in AT1PERHbits
15078 #define PERH1 AT1PERHbits.PERH1 // bit 1, shadows bit in AT1PERHbits
15079 #define AT1PER10 AT1PERHbits.AT1PER10 // bit 2, shadows bit in AT1PERHbits
15080 #define PER10 AT1PERHbits.PER10 // bit 2, shadows bit in AT1PERHbits
15081 #define PERH2 AT1PERHbits.PERH2 // bit 2, shadows bit in AT1PERHbits
15082 #define AT1PER11 AT1PERHbits.AT1PER11 // bit 3, shadows bit in AT1PERHbits
15083 #define PER11 AT1PERHbits.PER11 // bit 3, shadows bit in AT1PERHbits
15084 #define PERH3 AT1PERHbits.PERH3 // bit 3, shadows bit in AT1PERHbits
15085 #define AT1PER12 AT1PERHbits.AT1PER12 // bit 4, shadows bit in AT1PERHbits
15086 #define PER12 AT1PERHbits.PER12 // bit 4, shadows bit in AT1PERHbits
15087 #define PERH4 AT1PERHbits.PERH4 // bit 4, shadows bit in AT1PERHbits
15088 #define AT1PER13 AT1PERHbits.AT1PER13 // bit 5, shadows bit in AT1PERHbits
15089 #define PER13 AT1PERHbits.PER13 // bit 5, shadows bit in AT1PERHbits
15090 #define PERH5 AT1PERHbits.PERH5 // bit 5, shadows bit in AT1PERHbits
15091 #define AT1PER14 AT1PERHbits.AT1PER14 // bit 6, shadows bit in AT1PERHbits
15092 #define PER14 AT1PERHbits.PER14 // bit 6, shadows bit in AT1PERHbits
15093 #define PERH6 AT1PERHbits.PERH6 // bit 6, shadows bit in AT1PERHbits
15094 #define AT1POV AT1PERHbits.AT1POV // bit 7, shadows bit in AT1PERHbits
15095 #define PER15 AT1PERHbits.PER15 // bit 7, shadows bit in AT1PERHbits
15096 #define PERH7 AT1PERHbits.PERH7 // bit 7, shadows bit in AT1PERHbits
15098 #define AT1PER0 AT1PERLbits.AT1PER0 // bit 0, shadows bit in AT1PERLbits
15099 #define PER0 AT1PERLbits.PER0 // bit 0, shadows bit in AT1PERLbits
15100 #define PERL0 AT1PERLbits.PERL0 // bit 0, shadows bit in AT1PERLbits
15101 #define AT1PER1 AT1PERLbits.AT1PER1 // bit 1, shadows bit in AT1PERLbits
15102 #define PER1 AT1PERLbits.PER1 // bit 1, shadows bit in AT1PERLbits
15103 #define PERL1 AT1PERLbits.PERL1 // bit 1, shadows bit in AT1PERLbits
15104 #define AT1PER2 AT1PERLbits.AT1PER2 // bit 2, shadows bit in AT1PERLbits
15105 #define PER2 AT1PERLbits.PER2 // bit 2, shadows bit in AT1PERLbits
15106 #define PERL2 AT1PERLbits.PERL2 // bit 2, shadows bit in AT1PERLbits
15107 #define AT1PER3 AT1PERLbits.AT1PER3 // bit 3, shadows bit in AT1PERLbits
15108 #define PER3 AT1PERLbits.PER3 // bit 3, shadows bit in AT1PERLbits
15109 #define PERL3 AT1PERLbits.PERL3 // bit 3, shadows bit in AT1PERLbits
15110 #define AT1PER4 AT1PERLbits.AT1PER4 // bit 4, shadows bit in AT1PERLbits
15111 #define PER4 AT1PERLbits.PER4 // bit 4, shadows bit in AT1PERLbits
15112 #define PERL4 AT1PERLbits.PERL4 // bit 4, shadows bit in AT1PERLbits
15113 #define AT1PER5 AT1PERLbits.AT1PER5 // bit 5, shadows bit in AT1PERLbits
15114 #define PER5 AT1PERLbits.PER5 // bit 5, shadows bit in AT1PERLbits
15115 #define PERL5 AT1PERLbits.PERL5 // bit 5, shadows bit in AT1PERLbits
15116 #define AT1PER6 AT1PERLbits.AT1PER6 // bit 6, shadows bit in AT1PERLbits
15117 #define PER6 AT1PERLbits.PER6 // bit 6, shadows bit in AT1PERLbits
15118 #define PERL6 AT1PERLbits.PERL6 // bit 6, shadows bit in AT1PERLbits
15119 #define AT1PER7 AT1PERLbits.AT1PER7 // bit 7, shadows bit in AT1PERLbits
15120 #define PER7 AT1PERLbits.PER7 // bit 7, shadows bit in AT1PERLbits
15121 #define PERL7 AT1PERLbits.PERL7 // bit 7, shadows bit in AT1PERLbits
15123 #define AT1PHS8 AT1PHSHbits.AT1PHS8 // bit 0, shadows bit in AT1PHSHbits
15124 #define PHS8 AT1PHSHbits.PHS8 // bit 0, shadows bit in AT1PHSHbits
15125 #define PHSL8 AT1PHSHbits.PHSL8 // bit 0, shadows bit in AT1PHSHbits
15126 #define AT1PHS9 AT1PHSHbits.AT1PHS9 // bit 1, shadows bit in AT1PHSHbits
15127 #define PHS9 AT1PHSHbits.PHS9 // bit 1, shadows bit in AT1PHSHbits
15128 #define PHSL9 AT1PHSHbits.PHSL9 // bit 1, shadows bit in AT1PHSHbits
15130 #define AT1PHS0 AT1PHSLbits.AT1PHS0 // bit 0, shadows bit in AT1PHSLbits
15131 #define PHS0 AT1PHSLbits.PHS0 // bit 0, shadows bit in AT1PHSLbits
15132 #define AT1PHS1 AT1PHSLbits.AT1PHS1 // bit 1, shadows bit in AT1PHSLbits
15133 #define PHS1 AT1PHSLbits.PHS1 // bit 1, shadows bit in AT1PHSLbits
15134 #define AT1PHS2 AT1PHSLbits.AT1PHS2 // bit 2, shadows bit in AT1PHSLbits
15135 #define PHS2 AT1PHSLbits.PHS2 // bit 2, shadows bit in AT1PHSLbits
15136 #define AT1PHS3 AT1PHSLbits.AT1PHS3 // bit 3, shadows bit in AT1PHSLbits
15137 #define PHS3 AT1PHSLbits.PHS3 // bit 3, shadows bit in AT1PHSLbits
15138 #define AT1PHS4 AT1PHSLbits.AT1PHS4 // bit 4, shadows bit in AT1PHSLbits
15139 #define PHS4 AT1PHSLbits.PHS4 // bit 4, shadows bit in AT1PHSLbits
15140 #define AT1PHS5 AT1PHSLbits.AT1PHS5 // bit 5, shadows bit in AT1PHSLbits
15141 #define PHS5 AT1PHSLbits.PHS5 // bit 5, shadows bit in AT1PHSLbits
15142 #define AT1PHS6 AT1PHSLbits.AT1PHS6 // bit 6, shadows bit in AT1PHSLbits
15143 #define PHS6 AT1PHSLbits.PHS6 // bit 6, shadows bit in AT1PHSLbits
15144 #define AT1PHS7 AT1PHSLbits.AT1PHS7 // bit 7, shadows bit in AT1PHSLbits
15145 #define PHS7 AT1PHSLbits.PHS7 // bit 7, shadows bit in AT1PHSLbits
15147 #define AT1RES8 AT1RESHbits.AT1RES8 // bit 0, shadows bit in AT1RESHbits
15148 #define RES8 AT1RESHbits.RES8 // bit 0, shadows bit in AT1RESHbits
15149 #define AT1RES9 AT1RESHbits.AT1RES9 // bit 1, shadows bit in AT1RESHbits
15150 #define RES9 AT1RESHbits.RES9 // bit 1, shadows bit in AT1RESHbits
15152 #define AT1RES0 AT1RESLbits.AT1RES0 // bit 0, shadows bit in AT1RESLbits
15153 #define RES0 AT1RESLbits.RES0 // bit 0, shadows bit in AT1RESLbits
15154 #define AT1RES1 AT1RESLbits.AT1RES1 // bit 1, shadows bit in AT1RESLbits
15155 #define RES1 AT1RESLbits.RES1 // bit 1, shadows bit in AT1RESLbits
15156 #define AT1RES2 AT1RESLbits.AT1RES2 // bit 2, shadows bit in AT1RESLbits
15157 #define RES2 AT1RESLbits.RES2 // bit 2, shadows bit in AT1RESLbits
15158 #define AT1RES3 AT1RESLbits.AT1RES3 // bit 3, shadows bit in AT1RESLbits
15159 #define RES3 AT1RESLbits.RES3 // bit 3, shadows bit in AT1RESLbits
15160 #define AT1RES4 AT1RESLbits.AT1RES4 // bit 4, shadows bit in AT1RESLbits
15161 #define RES4 AT1RESLbits.RES4 // bit 4, shadows bit in AT1RESLbits
15162 #define AT1RES5 AT1RESLbits.AT1RES5 // bit 5, shadows bit in AT1RESLbits
15163 #define RES5 AT1RESLbits.RES5 // bit 5, shadows bit in AT1RESLbits
15164 #define AT1RES6 AT1RESLbits.AT1RES6 // bit 6, shadows bit in AT1RESLbits
15165 #define RES6 AT1RESLbits.RES6 // bit 6, shadows bit in AT1RESLbits
15166 #define AT1RES7 AT1RESLbits.AT1RES7 // bit 7, shadows bit in AT1RESLbits
15167 #define RES7 AT1RESLbits.RES7 // bit 7, shadows bit in AT1RESLbits
15169 #define AT1SSEL0 AT1SIGbits.AT1SSEL0 // bit 0, shadows bit in AT1SIGbits
15170 #define SSEL0 AT1SIGbits.SSEL0 // bit 0, shadows bit in AT1SIGbits
15171 #define AT1SSEL1 AT1SIGbits.AT1SSEL1 // bit 1, shadows bit in AT1SIGbits
15172 #define SSEL1 AT1SIGbits.SSEL1 // bit 1, shadows bit in AT1SIGbits
15173 #define AT1SSEL2 AT1SIGbits.AT1SSEL2 // bit 2, shadows bit in AT1SIGbits
15174 #define SSEL2 AT1SIGbits.SSEL2 // bit 2, shadows bit in AT1SIGbits
15176 #define AT1STPT8 AT1STPTHbits.AT1STPT8 // bit 0, shadows bit in AT1STPTHbits
15177 #define STPT8 AT1STPTHbits.STPT8 // bit 0, shadows bit in AT1STPTHbits
15178 #define AT1STPT9 AT1STPTHbits.AT1STPT9 // bit 1, shadows bit in AT1STPTHbits
15179 #define STPT9 AT1STPTHbits.STPT9 // bit 1, shadows bit in AT1STPTHbits
15180 #define AT1STPT10 AT1STPTHbits.AT1STPT10 // bit 2, shadows bit in AT1STPTHbits
15181 #define STPT10 AT1STPTHbits.STPT10 // bit 2, shadows bit in AT1STPTHbits
15182 #define AT1STPT11 AT1STPTHbits.AT1STPT11 // bit 3, shadows bit in AT1STPTHbits
15183 #define STPT11 AT1STPTHbits.STPT11 // bit 3, shadows bit in AT1STPTHbits
15184 #define AT1STPT12 AT1STPTHbits.AT1STPT12 // bit 4, shadows bit in AT1STPTHbits
15185 #define STPT12 AT1STPTHbits.STPT12 // bit 4, shadows bit in AT1STPTHbits
15186 #define AT1STPT13 AT1STPTHbits.AT1STPT13 // bit 5, shadows bit in AT1STPTHbits
15187 #define STPT13 AT1STPTHbits.STPT13 // bit 5, shadows bit in AT1STPTHbits
15188 #define AT1STPT14 AT1STPTHbits.AT1STPT14 // bit 6, shadows bit in AT1STPTHbits
15189 #define STPT14 AT1STPTHbits.STPT14 // bit 6, shadows bit in AT1STPTHbits
15191 #define AT1STPT0 AT1STPTLbits.AT1STPT0 // bit 0, shadows bit in AT1STPTLbits
15192 #define STPT0 AT1STPTLbits.STPT0 // bit 0, shadows bit in AT1STPTLbits
15193 #define AT1STPT1 AT1STPTLbits.AT1STPT1 // bit 1, shadows bit in AT1STPTLbits
15194 #define STPT1 AT1STPTLbits.STPT1 // bit 1, shadows bit in AT1STPTLbits
15195 #define AT1STPT2 AT1STPTLbits.AT1STPT2 // bit 2, shadows bit in AT1STPTLbits
15196 #define STPT2 AT1STPTLbits.STPT2 // bit 2, shadows bit in AT1STPTLbits
15197 #define AT1STPT3 AT1STPTLbits.AT1STPT3 // bit 3, shadows bit in AT1STPTLbits
15198 #define STPT3 AT1STPTLbits.STPT3 // bit 3, shadows bit in AT1STPTLbits
15199 #define AT1STPT4 AT1STPTLbits.AT1STPT4 // bit 4, shadows bit in AT1STPTLbits
15200 #define STPT4 AT1STPTLbits.STPT4 // bit 4, shadows bit in AT1STPTLbits
15201 #define AT1STPT5 AT1STPTLbits.AT1STPT5 // bit 5, shadows bit in AT1STPTLbits
15202 #define STPT5 AT1STPTLbits.STPT5 // bit 5, shadows bit in AT1STPTLbits
15203 #define AT1STPT6 AT1STPTLbits.AT1STPT6 // bit 6, shadows bit in AT1STPTLbits
15204 #define STPT6 AT1STPTLbits.STPT6 // bit 6, shadows bit in AT1STPTLbits
15205 #define AT1STPT7 AT1STPTLbits.AT1STPT7 // bit 7, shadows bit in AT1STPTLbits
15206 #define STPT7 AT1STPTLbits.STPT7 // bit 7, shadows bit in AT1STPTLbits
15208 #define ATCC1PPS0 ATCC1PPSbits.ATCC1PPS0 // bit 0
15209 #define ATCC1PPS1 ATCC1PPSbits.ATCC1PPS1 // bit 1
15210 #define ATCC1PPS2 ATCC1PPSbits.ATCC1PPS2 // bit 2
15211 #define ATCC1PPS3 ATCC1PPSbits.ATCC1PPS3 // bit 3
15212 #define ATCC1PPS4 ATCC1PPSbits.ATCC1PPS4 // bit 4
15214 #define ATCC2PPS0 ATCC2PPSbits.ATCC2PPS0 // bit 0
15215 #define ATCC2PPS1 ATCC2PPSbits.ATCC2PPS1 // bit 1
15216 #define ATCC2PPS2 ATCC2PPSbits.ATCC2PPS2 // bit 2
15217 #define ATCC2PPS3 ATCC2PPSbits.ATCC2PPS3 // bit 3
15218 #define ATCC2PPS4 ATCC2PPSbits.ATCC2PPS4 // bit 4
15220 #define ATCC3PPS0 ATCC3PPSbits.ATCC3PPS0 // bit 0
15221 #define ATCC3PPS1 ATCC3PPSbits.ATCC3PPS1 // bit 1
15222 #define ATCC3PPS2 ATCC3PPSbits.ATCC3PPS2 // bit 2
15223 #define ATCC3PPS3 ATCC3PPSbits.ATCC3PPS3 // bit 3
15224 #define ATCC3PPS4 ATCC3PPSbits.ATCC3PPS4 // bit 4
15226 #define ATINPPS0 ATINPPSbits.ATINPPS0 // bit 0
15227 #define ATINPPS1 ATINPPSbits.ATINPPS1 // bit 1
15228 #define ATINPPS2 ATINPPSbits.ATINPPS2 // bit 2
15229 #define ATINPPS3 ATINPPSbits.ATINPPS3 // bit 3
15230 #define ATINPPS4 ATINPPSbits.ATINPPS4 // bit 4
15232 #define ABDEN BAUD1CONbits.ABDEN // bit 0
15233 #define WUE BAUD1CONbits.WUE // bit 1
15234 #define BRG16 BAUD1CONbits.BRG16 // bit 3
15235 #define SCKP BAUD1CONbits.SCKP // bit 4
15236 #define RCIDL BAUD1CONbits.RCIDL // bit 6
15237 #define ABDOVF BAUD1CONbits.ABDOVF // bit 7
15239 #define BORRDY BORCONbits.BORRDY // bit 0
15240 #define BORFS BORCONbits.BORFS // bit 6
15241 #define SBOREN BORCONbits.SBOREN // bit 7
15243 #define BSR0 BSRbits.BSR0 // bit 0
15244 #define BSR1 BSRbits.BSR1 // bit 1
15245 #define BSR2 BSRbits.BSR2 // bit 2
15246 #define BSR3 BSRbits.BSR3 // bit 3
15247 #define BSR4 BSRbits.BSR4 // bit 4
15249 #define CTS0 CCP1CAPbits.CTS0 // bit 0, shadows bit in CCP1CAPbits
15250 #define CCP1CTS0 CCP1CAPbits.CCP1CTS0 // bit 0, shadows bit in CCP1CAPbits
15251 #define CTS1 CCP1CAPbits.CTS1 // bit 1, shadows bit in CCP1CAPbits
15252 #define CCP1CTS1 CCP1CAPbits.CCP1CTS1 // bit 1, shadows bit in CCP1CAPbits
15253 #define CTS2 CCP1CAPbits.CTS2 // bit 2, shadows bit in CCP1CAPbits
15254 #define CCP1CTS2 CCP1CAPbits.CCP1CTS2 // bit 2, shadows bit in CCP1CAPbits
15256 #define CCP1PPS0 CCP1PPSbits.CCP1PPS0 // bit 0
15257 #define CCP1PPS1 CCP1PPSbits.CCP1PPS1 // bit 1
15258 #define CCP1PPS2 CCP1PPSbits.CCP1PPS2 // bit 2
15259 #define CCP1PPS3 CCP1PPSbits.CCP1PPS3 // bit 3
15260 #define CCP1PPS4 CCP1PPSbits.CCP1PPS4 // bit 4
15262 #define CCP2PPS0 CCP2PPSbits.CCP2PPS0 // bit 0
15263 #define CCP2PPS1 CCP2PPSbits.CCP2PPS1 // bit 1
15264 #define CCP2PPS2 CCP2PPSbits.CCP2PPS2 // bit 2
15265 #define CCP2PPS3 CCP2PPSbits.CCP2PPS3 // bit 3
15266 #define CCP2PPS4 CCP2PPSbits.CCP2PPS4 // bit 4
15268 #define CCP1TSEL0 CCPTMRSbits.CCP1TSEL0 // bit 0
15269 #define CCP1TSEL1 CCPTMRSbits.CCP1TSEL1 // bit 1
15270 #define CCP2TSEL0 CCPTMRSbits.CCP2TSEL0 // bit 2
15271 #define CCP2TSEL1 CCPTMRSbits.CCP2TSEL1 // bit 3
15272 #define P3TSEL0 CCPTMRSbits.P3TSEL0 // bit 4
15273 #define P3TSEL1 CCPTMRSbits.P3TSEL1 // bit 5
15274 #define P4TSEL0 CCPTMRSbits.P4TSEL0 // bit 6
15275 #define P4TSEL1 CCPTMRSbits.P4TSEL1 // bit 7
15277 #define CKPPS0 CKPPSbits.CKPPS0 // bit 0
15278 #define CKPPS1 CKPPSbits.CKPPS1 // bit 1
15279 #define CKPPS2 CKPPSbits.CKPPS2 // bit 2
15280 #define CKPPS3 CKPPSbits.CKPPS3 // bit 3
15281 #define CKPPS4 CKPPSbits.CKPPS4 // bit 4
15283 #define LC1G1D1N CLC1GLS0bits.LC1G1D1N // bit 0, shadows bit in CLC1GLS0bits
15284 #define D1N CLC1GLS0bits.D1N // bit 0, shadows bit in CLC1GLS0bits
15285 #define LC1G1D1T CLC1GLS0bits.LC1G1D1T // bit 1, shadows bit in CLC1GLS0bits
15286 #define D1T CLC1GLS0bits.D1T // bit 1, shadows bit in CLC1GLS0bits
15287 #define LC1G1D2N CLC1GLS0bits.LC1G1D2N // bit 2, shadows bit in CLC1GLS0bits
15288 #define D2N CLC1GLS0bits.D2N // bit 2, shadows bit in CLC1GLS0bits
15289 #define LC1G1D2T CLC1GLS0bits.LC1G1D2T // bit 3, shadows bit in CLC1GLS0bits
15290 #define D2T CLC1GLS0bits.D2T // bit 3, shadows bit in CLC1GLS0bits
15291 #define LC1G1D3N CLC1GLS0bits.LC1G1D3N // bit 4, shadows bit in CLC1GLS0bits
15292 #define D3N CLC1GLS0bits.D3N // bit 4, shadows bit in CLC1GLS0bits
15293 #define LC1G1D3T CLC1GLS0bits.LC1G1D3T // bit 5, shadows bit in CLC1GLS0bits
15294 #define D3T CLC1GLS0bits.D3T // bit 5, shadows bit in CLC1GLS0bits
15295 #define LC1G1D4N CLC1GLS0bits.LC1G1D4N // bit 6, shadows bit in CLC1GLS0bits
15296 #define D4N CLC1GLS0bits.D4N // bit 6, shadows bit in CLC1GLS0bits
15297 #define LC1G1D4T CLC1GLS0bits.LC1G1D4T // bit 7, shadows bit in CLC1GLS0bits
15298 #define D4T CLC1GLS0bits.D4T // bit 7, shadows bit in CLC1GLS0bits
15300 #define LC1G4D1N CLC1GLS3bits.LC1G4D1N // bit 0, shadows bit in CLC1GLS3bits
15301 #define G4D1N CLC1GLS3bits.G4D1N // bit 0, shadows bit in CLC1GLS3bits
15302 #define LC1G4D1T CLC1GLS3bits.LC1G4D1T // bit 1, shadows bit in CLC1GLS3bits
15303 #define G4D1T CLC1GLS3bits.G4D1T // bit 1, shadows bit in CLC1GLS3bits
15304 #define LC1G4D2N CLC1GLS3bits.LC1G4D2N // bit 2, shadows bit in CLC1GLS3bits
15305 #define G4D2N CLC1GLS3bits.G4D2N // bit 2, shadows bit in CLC1GLS3bits
15306 #define LC1G4D2T CLC1GLS3bits.LC1G4D2T // bit 3, shadows bit in CLC1GLS3bits
15307 #define G4D2T CLC1GLS3bits.G4D2T // bit 3, shadows bit in CLC1GLS3bits
15308 #define LC1G4D3N CLC1GLS3bits.LC1G4D3N // bit 4, shadows bit in CLC1GLS3bits
15309 #define G4D3N CLC1GLS3bits.G4D3N // bit 4, shadows bit in CLC1GLS3bits
15310 #define LC1G4D3T CLC1GLS3bits.LC1G4D3T // bit 5, shadows bit in CLC1GLS3bits
15311 #define G4D3T CLC1GLS3bits.G4D3T // bit 5, shadows bit in CLC1GLS3bits
15312 #define LC1G4D4N CLC1GLS3bits.LC1G4D4N // bit 6, shadows bit in CLC1GLS3bits
15313 #define G4D4N CLC1GLS3bits.G4D4N // bit 6, shadows bit in CLC1GLS3bits
15314 #define LC1G4D4T CLC1GLS3bits.LC1G4D4T // bit 7, shadows bit in CLC1GLS3bits
15315 #define G4D4T CLC1GLS3bits.G4D4T // bit 7, shadows bit in CLC1GLS3bits
15317 #define LC1D1S0 CLC1SEL0bits.LC1D1S0 // bit 0, shadows bit in CLC1SEL0bits
15318 #define D1S0 CLC1SEL0bits.D1S0 // bit 0, shadows bit in CLC1SEL0bits
15319 #define LC1D1S1 CLC1SEL0bits.LC1D1S1 // bit 1, shadows bit in CLC1SEL0bits
15320 #define D1S1 CLC1SEL0bits.D1S1 // bit 1, shadows bit in CLC1SEL0bits
15321 #define LC1D1S2 CLC1SEL0bits.LC1D1S2 // bit 2, shadows bit in CLC1SEL0bits
15322 #define D1S2 CLC1SEL0bits.D1S2 // bit 2, shadows bit in CLC1SEL0bits
15323 #define LC1D1S3 CLC1SEL0bits.LC1D1S3 // bit 3, shadows bit in CLC1SEL0bits
15324 #define D1S3 CLC1SEL0bits.D1S3 // bit 3, shadows bit in CLC1SEL0bits
15325 #define LC1D1S4 CLC1SEL0bits.LC1D1S4 // bit 4, shadows bit in CLC1SEL0bits
15326 #define D1S4 CLC1SEL0bits.D1S4 // bit 4, shadows bit in CLC1SEL0bits
15327 #define LC1D1S5 CLC1SEL0bits.LC1D1S5 // bit 5, shadows bit in CLC1SEL0bits
15328 #define D1S5 CLC1SEL0bits.D1S5 // bit 5, shadows bit in CLC1SEL0bits
15330 #define LC1D2S0 CLC1SEL1bits.LC1D2S0 // bit 0, shadows bit in CLC1SEL1bits
15331 #define D2S0 CLC1SEL1bits.D2S0 // bit 0, shadows bit in CLC1SEL1bits
15332 #define LC1D2S1 CLC1SEL1bits.LC1D2S1 // bit 1, shadows bit in CLC1SEL1bits
15333 #define D2S1 CLC1SEL1bits.D2S1 // bit 1, shadows bit in CLC1SEL1bits
15334 #define LC1D2S2 CLC1SEL1bits.LC1D2S2 // bit 2, shadows bit in CLC1SEL1bits
15335 #define D2S2 CLC1SEL1bits.D2S2 // bit 2, shadows bit in CLC1SEL1bits
15336 #define LC1D2S3 CLC1SEL1bits.LC1D2S3 // bit 3, shadows bit in CLC1SEL1bits
15337 #define D2S3 CLC1SEL1bits.D2S3 // bit 3, shadows bit in CLC1SEL1bits
15338 #define LC1D2S4 CLC1SEL1bits.LC1D2S4 // bit 4, shadows bit in CLC1SEL1bits
15339 #define D2S4 CLC1SEL1bits.D2S4 // bit 4, shadows bit in CLC1SEL1bits
15340 #define LC1D2S5 CLC1SEL1bits.LC1D2S5 // bit 5, shadows bit in CLC1SEL1bits
15341 #define D2S5 CLC1SEL1bits.D2S5 // bit 5, shadows bit in CLC1SEL1bits
15343 #define LC1D3S0 CLC1SEL2bits.LC1D3S0 // bit 0, shadows bit in CLC1SEL2bits
15344 #define D3S0 CLC1SEL2bits.D3S0 // bit 0, shadows bit in CLC1SEL2bits
15345 #define LC1D3S1 CLC1SEL2bits.LC1D3S1 // bit 1, shadows bit in CLC1SEL2bits
15346 #define D3S1 CLC1SEL2bits.D3S1 // bit 1, shadows bit in CLC1SEL2bits
15347 #define LC1D3S2 CLC1SEL2bits.LC1D3S2 // bit 2, shadows bit in CLC1SEL2bits
15348 #define D3S2 CLC1SEL2bits.D3S2 // bit 2, shadows bit in CLC1SEL2bits
15349 #define LC1D3S3 CLC1SEL2bits.LC1D3S3 // bit 3, shadows bit in CLC1SEL2bits
15350 #define D3S3 CLC1SEL2bits.D3S3 // bit 3, shadows bit in CLC1SEL2bits
15351 #define LC1D3S4 CLC1SEL2bits.LC1D3S4 // bit 4, shadows bit in CLC1SEL2bits
15352 #define D3S4 CLC1SEL2bits.D3S4 // bit 4, shadows bit in CLC1SEL2bits
15353 #define LC1D3S5 CLC1SEL2bits.LC1D3S5 // bit 5, shadows bit in CLC1SEL2bits
15354 #define D3S5 CLC1SEL2bits.D3S5 // bit 5, shadows bit in CLC1SEL2bits
15356 #define LC1D4S0 CLC1SEL3bits.LC1D4S0 // bit 0, shadows bit in CLC1SEL3bits
15357 #define D4S0 CLC1SEL3bits.D4S0 // bit 0, shadows bit in CLC1SEL3bits
15358 #define LC1D4S1 CLC1SEL3bits.LC1D4S1 // bit 1, shadows bit in CLC1SEL3bits
15359 #define D4S1 CLC1SEL3bits.D4S1 // bit 1, shadows bit in CLC1SEL3bits
15360 #define LC1D4S2 CLC1SEL3bits.LC1D4S2 // bit 2, shadows bit in CLC1SEL3bits
15361 #define D4S2 CLC1SEL3bits.D4S2 // bit 2, shadows bit in CLC1SEL3bits
15362 #define LC1D4S3 CLC1SEL3bits.LC1D4S3 // bit 3, shadows bit in CLC1SEL3bits
15363 #define D4S3 CLC1SEL3bits.D4S3 // bit 3, shadows bit in CLC1SEL3bits
15364 #define LC1D4S4 CLC1SEL3bits.LC1D4S4 // bit 4, shadows bit in CLC1SEL3bits
15365 #define D4S4 CLC1SEL3bits.D4S4 // bit 4, shadows bit in CLC1SEL3bits
15366 #define LC1D4S5 CLC1SEL3bits.LC1D4S5 // bit 5, shadows bit in CLC1SEL3bits
15367 #define D4S5 CLC1SEL3bits.D4S5 // bit 5, shadows bit in CLC1SEL3bits
15369 #define MLC1OUT CLCDATAbits.MLC1OUT // bit 0
15370 #define MLC2OUT CLCDATAbits.MLC2OUT // bit 1
15372 #define CLCIN0PPS0 CLCIN0PPSbits.CLCIN0PPS0 // bit 0
15373 #define CLCIN0PPS1 CLCIN0PPSbits.CLCIN0PPS1 // bit 1
15374 #define CLCIN0PPS2 CLCIN0PPSbits.CLCIN0PPS2 // bit 2
15375 #define CLCIN0PPS3 CLCIN0PPSbits.CLCIN0PPS3 // bit 3
15376 #define CLCIN0PPS4 CLCIN0PPSbits.CLCIN0PPS4 // bit 4
15378 #define CLCIN1PPS0 CLCIN1PPSbits.CLCIN1PPS0 // bit 0
15379 #define CLCIN1PPS1 CLCIN1PPSbits.CLCIN1PPS1 // bit 1
15380 #define CLCIN1PPS2 CLCIN1PPSbits.CLCIN1PPS2 // bit 2
15381 #define CLCIN1PPS3 CLCIN1PPSbits.CLCIN1PPS3 // bit 3
15382 #define CLCIN1PPS4 CLCIN1PPSbits.CLCIN1PPS4 // bit 4
15384 #define CLCIN2PPS0 CLCIN2PPSbits.CLCIN2PPS0 // bit 0
15385 #define CLCIN2PPS1 CLCIN2PPSbits.CLCIN2PPS1 // bit 1
15386 #define CLCIN2PPS2 CLCIN2PPSbits.CLCIN2PPS2 // bit 2
15387 #define CLCIN2PPS3 CLCIN2PPSbits.CLCIN2PPS3 // bit 3
15388 #define CLCIN2PPS4 CLCIN2PPSbits.CLCIN2PPS4 // bit 4
15390 #define CLCIN3PPS0 CLCIN3PPSbits.CLCIN3PPS0 // bit 0
15391 #define CLCIN3PPS1 CLCIN3PPSbits.CLCIN3PPS1 // bit 1
15392 #define CLCIN3PPS2 CLCIN3PPSbits.CLCIN3PPS2 // bit 2
15393 #define CLCIN3PPS3 CLCIN3PPSbits.CLCIN3PPS3 // bit 3
15394 #define CLCIN3PPS4 CLCIN3PPSbits.CLCIN3PPS4 // bit 4
15396 #define C1SYNC CM1CON0bits.C1SYNC // bit 0
15397 #define C1HYS CM1CON0bits.C1HYS // bit 1
15398 #define C1SP CM1CON0bits.C1SP // bit 2
15399 #define C1POL CM1CON0bits.C1POL // bit 4
15400 #define C1OUT CM1CON0bits.C1OUT // bit 6
15401 #define C1ON CM1CON0bits.C1ON // bit 7
15403 #define C1NCH0 CM1CON1bits.C1NCH0 // bit 0
15404 #define C1NCH1 CM1CON1bits.C1NCH1 // bit 1
15405 #define C1NCH2 CM1CON1bits.C1NCH2 // bit 2
15406 #define C1PCH0 CM1CON1bits.C1PCH0 // bit 4
15407 #define C1PCH1 CM1CON1bits.C1PCH1 // bit 5
15408 #define C1INTN CM1CON1bits.C1INTN // bit 6
15409 #define C1INTP CM1CON1bits.C1INTP // bit 7
15411 #define C2SYNC CM2CON0bits.C2SYNC // bit 0
15412 #define C2HYS CM2CON0bits.C2HYS // bit 1
15413 #define C2SP CM2CON0bits.C2SP // bit 2
15414 #define C2POL CM2CON0bits.C2POL // bit 4
15415 #define C2OUT CM2CON0bits.C2OUT // bit 6
15416 #define C2ON CM2CON0bits.C2ON // bit 7
15418 #define C2NCH0 CM2CON1bits.C2NCH0 // bit 0
15419 #define C2NCH1 CM2CON1bits.C2NCH1 // bit 1
15420 #define C2NCH2 CM2CON1bits.C2NCH2 // bit 2
15421 #define C2PCH0 CM2CON1bits.C2PCH0 // bit 4
15422 #define C2PCH1 CM2CON1bits.C2PCH1 // bit 5
15423 #define C2INTN CM2CON1bits.C2INTN // bit 6
15424 #define C2INTP CM2CON1bits.C2INTP // bit 7
15426 #define MC1OUT CMOUTbits.MC1OUT // bit 0
15427 #define MC2OUT CMOUTbits.MC2OUT // bit 1
15429 #define ACC8 CRCACCHbits.ACC8 // bit 0, shadows bit in CRCACCHbits
15430 #define CRCACC8 CRCACCHbits.CRCACC8 // bit 0, shadows bit in CRCACCHbits
15431 #define ACC9 CRCACCHbits.ACC9 // bit 1, shadows bit in CRCACCHbits
15432 #define CRCACC9 CRCACCHbits.CRCACC9 // bit 1, shadows bit in CRCACCHbits
15433 #define ACC10 CRCACCHbits.ACC10 // bit 2, shadows bit in CRCACCHbits
15434 #define CRCACC10 CRCACCHbits.CRCACC10 // bit 2, shadows bit in CRCACCHbits
15435 #define ACC11 CRCACCHbits.ACC11 // bit 3, shadows bit in CRCACCHbits
15436 #define CRCACC11 CRCACCHbits.CRCACC11 // bit 3, shadows bit in CRCACCHbits
15437 #define ACC12 CRCACCHbits.ACC12 // bit 4, shadows bit in CRCACCHbits
15438 #define CRCACC12 CRCACCHbits.CRCACC12 // bit 4, shadows bit in CRCACCHbits
15439 #define ACC13 CRCACCHbits.ACC13 // bit 5, shadows bit in CRCACCHbits
15440 #define CRCACC13 CRCACCHbits.CRCACC13 // bit 5, shadows bit in CRCACCHbits
15441 #define ACC14 CRCACCHbits.ACC14 // bit 6, shadows bit in CRCACCHbits
15442 #define CRCACC14 CRCACCHbits.CRCACC14 // bit 6, shadows bit in CRCACCHbits
15443 #define ACC15 CRCACCHbits.ACC15 // bit 7, shadows bit in CRCACCHbits
15444 #define CRCACC15 CRCACCHbits.CRCACC15 // bit 7, shadows bit in CRCACCHbits
15446 #define ACC0 CRCACCLbits.ACC0 // bit 0, shadows bit in CRCACCLbits
15447 #define CRCACC0 CRCACCLbits.CRCACC0 // bit 0, shadows bit in CRCACCLbits
15448 #define ACC1 CRCACCLbits.ACC1 // bit 1, shadows bit in CRCACCLbits
15449 #define CRCACC1 CRCACCLbits.CRCACC1 // bit 1, shadows bit in CRCACCLbits
15450 #define ACC2 CRCACCLbits.ACC2 // bit 2, shadows bit in CRCACCLbits
15451 #define CRCACC2 CRCACCLbits.CRCACC2 // bit 2, shadows bit in CRCACCLbits
15452 #define ACC3 CRCACCLbits.ACC3 // bit 3, shadows bit in CRCACCLbits
15453 #define CRCACC3 CRCACCLbits.CRCACC3 // bit 3, shadows bit in CRCACCLbits
15454 #define ACC4 CRCACCLbits.ACC4 // bit 4, shadows bit in CRCACCLbits
15455 #define CRCACC4 CRCACCLbits.CRCACC4 // bit 4, shadows bit in CRCACCLbits
15456 #define ACC5 CRCACCLbits.ACC5 // bit 5, shadows bit in CRCACCLbits
15457 #define CRCACC5 CRCACCLbits.CRCACC5 // bit 5, shadows bit in CRCACCLbits
15458 #define ACC6 CRCACCLbits.ACC6 // bit 6, shadows bit in CRCACCLbits
15459 #define CRCACC6 CRCACCLbits.CRCACC6 // bit 6, shadows bit in CRCACCLbits
15460 #define ACC7 CRCACCLbits.ACC7 // bit 7, shadows bit in CRCACCLbits
15461 #define CRCACC7 CRCACCLbits.CRCACC7 // bit 7, shadows bit in CRCACCLbits
15463 #define PLEN0 CRCCON1bits.PLEN0 // bit 0, shadows bit in CRCCON1bits
15464 #define CRCPLEN0 CRCCON1bits.CRCPLEN0 // bit 0, shadows bit in CRCCON1bits
15465 #define PLEN1 CRCCON1bits.PLEN1 // bit 1, shadows bit in CRCCON1bits
15466 #define CRCPLEN1 CRCCON1bits.CRCPLEN1 // bit 1, shadows bit in CRCCON1bits
15467 #define PLEN2 CRCCON1bits.PLEN2 // bit 2, shadows bit in CRCCON1bits
15468 #define CRCPLEN2 CRCCON1bits.CRCPLEN2 // bit 2, shadows bit in CRCCON1bits
15469 #define PLEN3 CRCCON1bits.PLEN3 // bit 3, shadows bit in CRCCON1bits
15470 #define CRCPLEN3 CRCCON1bits.CRCPLEN3 // bit 3, shadows bit in CRCCON1bits
15471 #define DLEN0 CRCCON1bits.DLEN0 // bit 4, shadows bit in CRCCON1bits
15472 #define CRCDLEN0 CRCCON1bits.CRCDLEN0 // bit 4, shadows bit in CRCCON1bits
15473 #define DLEN1 CRCCON1bits.DLEN1 // bit 5, shadows bit in CRCCON1bits
15474 #define CRCDLEN1 CRCCON1bits.CRCDLEN1 // bit 5, shadows bit in CRCCON1bits
15475 #define DLEN2 CRCCON1bits.DLEN2 // bit 6, shadows bit in CRCCON1bits
15476 #define CRCDLEN2 CRCCON1bits.CRCDLEN2 // bit 6, shadows bit in CRCCON1bits
15477 #define DLEN3 CRCCON1bits.DLEN3 // bit 7, shadows bit in CRCCON1bits
15478 #define CRCDLEN3 CRCCON1bits.CRCDLEN3 // bit 7, shadows bit in CRCCON1bits
15480 #define DAT8 CRCDATHbits.DAT8 // bit 0, shadows bit in CRCDATHbits
15481 #define CRCDAT8 CRCDATHbits.CRCDAT8 // bit 0, shadows bit in CRCDATHbits
15482 #define DAT9 CRCDATHbits.DAT9 // bit 1, shadows bit in CRCDATHbits
15483 #define CRCDAT9 CRCDATHbits.CRCDAT9 // bit 1, shadows bit in CRCDATHbits
15484 #define DAT10 CRCDATHbits.DAT10 // bit 2, shadows bit in CRCDATHbits
15485 #define CRCDAT10 CRCDATHbits.CRCDAT10 // bit 2, shadows bit in CRCDATHbits
15486 #define DAT11 CRCDATHbits.DAT11 // bit 3, shadows bit in CRCDATHbits
15487 #define CRCDAT11 CRCDATHbits.CRCDAT11 // bit 3, shadows bit in CRCDATHbits
15488 #define DAT12 CRCDATHbits.DAT12 // bit 4, shadows bit in CRCDATHbits
15489 #define CRCDAT12 CRCDATHbits.CRCDAT12 // bit 4, shadows bit in CRCDATHbits
15490 #define DAT13 CRCDATHbits.DAT13 // bit 5, shadows bit in CRCDATHbits
15491 #define CRCDAT13 CRCDATHbits.CRCDAT13 // bit 5, shadows bit in CRCDATHbits
15492 #define DAT14 CRCDATHbits.DAT14 // bit 6, shadows bit in CRCDATHbits
15493 #define CRCDAT14 CRCDATHbits.CRCDAT14 // bit 6, shadows bit in CRCDATHbits
15494 #define DAT15 CRCDATHbits.DAT15 // bit 7, shadows bit in CRCDATHbits
15495 #define CRCDAT15 CRCDATHbits.CRCDAT15 // bit 7, shadows bit in CRCDATHbits
15497 #define DAT0 CRCDATLbits.DAT0 // bit 0, shadows bit in CRCDATLbits
15498 #define CRCDAT0 CRCDATLbits.CRCDAT0 // bit 0, shadows bit in CRCDATLbits
15499 #define DAT1 CRCDATLbits.DAT1 // bit 1, shadows bit in CRCDATLbits
15500 #define CRCDAT1 CRCDATLbits.CRCDAT1 // bit 1, shadows bit in CRCDATLbits
15501 #define DAT2 CRCDATLbits.DAT2 // bit 2, shadows bit in CRCDATLbits
15502 #define CRCDAT2 CRCDATLbits.CRCDAT2 // bit 2, shadows bit in CRCDATLbits
15503 #define DAT3 CRCDATLbits.DAT3 // bit 3, shadows bit in CRCDATLbits
15504 #define CRCDAT3 CRCDATLbits.CRCDAT3 // bit 3, shadows bit in CRCDATLbits
15505 #define DAT4 CRCDATLbits.DAT4 // bit 4, shadows bit in CRCDATLbits
15506 #define CRCDAT4 CRCDATLbits.CRCDAT4 // bit 4, shadows bit in CRCDATLbits
15507 #define DAT5 CRCDATLbits.DAT5 // bit 5, shadows bit in CRCDATLbits
15508 #define CRCDAT5 CRCDATLbits.CRCDAT5 // bit 5, shadows bit in CRCDATLbits
15509 #define DAT6 CRCDATLbits.DAT6 // bit 6, shadows bit in CRCDATLbits
15510 #define CRCDAT6 CRCDATLbits.CRCDAT6 // bit 6, shadows bit in CRCDATLbits
15511 #define DAT7 CRCDATLbits.DAT7 // bit 7, shadows bit in CRCDATLbits
15512 #define CRDCDAT7 CRCDATLbits.CRDCDAT7 // bit 7, shadows bit in CRCDATLbits
15514 #define SHIFT8 CRCSHIFTHbits.SHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15515 #define CRCSHIFT8 CRCSHIFTHbits.CRCSHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15516 #define SHIFT9 CRCSHIFTHbits.SHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15517 #define CRCSHIFT9 CRCSHIFTHbits.CRCSHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15518 #define SHIFT10 CRCSHIFTHbits.SHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15519 #define CRCSHIFT10 CRCSHIFTHbits.CRCSHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15520 #define SHIFT11 CRCSHIFTHbits.SHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15521 #define CRCSHIFT11 CRCSHIFTHbits.CRCSHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15522 #define SHIFT12 CRCSHIFTHbits.SHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15523 #define CRCSHIFT12 CRCSHIFTHbits.CRCSHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15524 #define SHIFT13 CRCSHIFTHbits.SHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15525 #define CRCSHIFT13 CRCSHIFTHbits.CRCSHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15526 #define SHIFT14 CRCSHIFTHbits.SHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15527 #define CRCSHIFT14 CRCSHIFTHbits.CRCSHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15528 #define SHIFT15 CRCSHIFTHbits.SHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15529 #define CRCSHIFT15 CRCSHIFTHbits.CRCSHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15531 #define SHIFT0 CRCSHIFTLbits.SHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15532 #define CRCSHIFT0 CRCSHIFTLbits.CRCSHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15533 #define SHIFT1 CRCSHIFTLbits.SHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15534 #define CRCSHIFT1 CRCSHIFTLbits.CRCSHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15535 #define SHIFT2 CRCSHIFTLbits.SHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15536 #define CRCSHIFT2 CRCSHIFTLbits.CRCSHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15537 #define SHIFT3 CRCSHIFTLbits.SHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15538 #define CRCSHIFT3 CRCSHIFTLbits.CRCSHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15539 #define SHIFT4 CRCSHIFTLbits.SHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15540 #define CRCSHIFT4 CRCSHIFTLbits.CRCSHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15541 #define SHIFT5 CRCSHIFTLbits.SHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15542 #define CRCSHIFT5 CRCSHIFTLbits.CRCSHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15543 #define SHIFT6 CRCSHIFTLbits.SHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15544 #define CRCSHIFT6 CRCSHIFTLbits.CRCSHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15545 #define SHIFT7 CRCSHIFTLbits.SHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15546 #define CRCSHIFT7 CRCSHIFTLbits.CRCSHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15548 #define XOR8 CRCXORHbits.XOR8 // bit 0, shadows bit in CRCXORHbits
15549 #define CRCXOR8 CRCXORHbits.CRCXOR8 // bit 0, shadows bit in CRCXORHbits
15550 #define XOR9 CRCXORHbits.XOR9 // bit 1, shadows bit in CRCXORHbits
15551 #define CRCXOR9 CRCXORHbits.CRCXOR9 // bit 1, shadows bit in CRCXORHbits
15552 #define XOR10 CRCXORHbits.XOR10 // bit 2, shadows bit in CRCXORHbits
15553 #define CRCXOR10 CRCXORHbits.CRCXOR10 // bit 2, shadows bit in CRCXORHbits
15554 #define XOR11 CRCXORHbits.XOR11 // bit 3, shadows bit in CRCXORHbits
15555 #define CRCXOR11 CRCXORHbits.CRCXOR11 // bit 3, shadows bit in CRCXORHbits
15556 #define XOR12 CRCXORHbits.XOR12 // bit 4, shadows bit in CRCXORHbits
15557 #define CRCXOR12 CRCXORHbits.CRCXOR12 // bit 4, shadows bit in CRCXORHbits
15558 #define XOR13 CRCXORHbits.XOR13 // bit 5, shadows bit in CRCXORHbits
15559 #define CRCXOR13 CRCXORHbits.CRCXOR13 // bit 5, shadows bit in CRCXORHbits
15560 #define XOR14 CRCXORHbits.XOR14 // bit 6, shadows bit in CRCXORHbits
15561 #define CRCXOR14 CRCXORHbits.CRCXOR14 // bit 6, shadows bit in CRCXORHbits
15562 #define XOR15 CRCXORHbits.XOR15 // bit 7, shadows bit in CRCXORHbits
15563 #define CRCXOR15 CRCXORHbits.CRCXOR15 // bit 7, shadows bit in CRCXORHbits
15565 #define XOR1 CRCXORLbits.XOR1 // bit 1, shadows bit in CRCXORLbits
15566 #define CRCXOR1 CRCXORLbits.CRCXOR1 // bit 1, shadows bit in CRCXORLbits
15567 #define XOR2 CRCXORLbits.XOR2 // bit 2, shadows bit in CRCXORLbits
15568 #define CRCXOR2 CRCXORLbits.CRCXOR2 // bit 2, shadows bit in CRCXORLbits
15569 #define XOR3 CRCXORLbits.XOR3 // bit 3, shadows bit in CRCXORLbits
15570 #define CRCXOR3 CRCXORLbits.CRCXOR3 // bit 3, shadows bit in CRCXORLbits
15571 #define XOR4 CRCXORLbits.XOR4 // bit 4, shadows bit in CRCXORLbits
15572 #define CRCXOR4 CRCXORLbits.CRCXOR4 // bit 4, shadows bit in CRCXORLbits
15573 #define XOR5 CRCXORLbits.XOR5 // bit 5, shadows bit in CRCXORLbits
15574 #define CRCXOR5 CRCXORLbits.CRCXOR5 // bit 5, shadows bit in CRCXORLbits
15575 #define XOR6 CRCXORLbits.XOR6 // bit 6, shadows bit in CRCXORLbits
15576 #define CRCXOR6 CRCXORLbits.CRCXOR6 // bit 6, shadows bit in CRCXORLbits
15577 #define XOR7 CRCXORLbits.XOR7 // bit 7, shadows bit in CRCXORLbits
15578 #define CRCXOR7 CRCXORLbits.CRCXOR7 // bit 7, shadows bit in CRCXORLbits
15580 #define LSAC0 CWG1AS0bits.LSAC0 // bit 2, shadows bit in CWG1AS0bits
15581 #define CWG1LSAC0 CWG1AS0bits.CWG1LSAC0 // bit 2, shadows bit in CWG1AS0bits
15582 #define LSAC1 CWG1AS0bits.LSAC1 // bit 3, shadows bit in CWG1AS0bits
15583 #define CWG1LSAC1 CWG1AS0bits.CWG1LSAC1 // bit 3, shadows bit in CWG1AS0bits
15584 #define LSBD0 CWG1AS0bits.LSBD0 // bit 4, shadows bit in CWG1AS0bits
15585 #define CWG1LSBD0 CWG1AS0bits.CWG1LSBD0 // bit 4, shadows bit in CWG1AS0bits
15586 #define LSBD1 CWG1AS0bits.LSBD1 // bit 5, shadows bit in CWG1AS0bits
15587 #define CWG1LSBD1 CWG1AS0bits.CWG1LSBD1 // bit 5, shadows bit in CWG1AS0bits
15588 #define REN CWG1AS0bits.REN // bit 6, shadows bit in CWG1AS0bits
15589 #define CWG1REN CWG1AS0bits.CWG1REN // bit 6, shadows bit in CWG1AS0bits
15590 #define SHUTDOWN CWG1AS0bits.SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15591 #define CWG1SHUTDOWN CWG1AS0bits.CWG1SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15593 #define INAS CWG1AS1bits.INAS // bit 0, shadows bit in CWG1AS1bits
15594 #define CWG1INAS CWG1AS1bits.CWG1INAS // bit 0, shadows bit in CWG1AS1bits
15595 #define C1AS CWG1AS1bits.C1AS // bit 1, shadows bit in CWG1AS1bits
15596 #define CWG1C1AS CWG1AS1bits.CWG1C1AS // bit 1, shadows bit in CWG1AS1bits
15597 #define C2AS CWG1AS1bits.C2AS // bit 2, shadows bit in CWG1AS1bits
15598 #define CWG1C2AS CWG1AS1bits.CWG1C2AS // bit 2, shadows bit in CWG1AS1bits
15599 #define TMR2AS CWG1AS1bits.TMR2AS // bit 4, shadows bit in CWG1AS1bits
15600 #define CWG1TMR2AS CWG1AS1bits.CWG1TMR2AS // bit 4, shadows bit in CWG1AS1bits
15601 #define TMR4AS CWG1AS1bits.TMR4AS // bit 5, shadows bit in CWG1AS1bits
15602 #define CWG1TMR4AS CWG1AS1bits.CWG1TMR4AS // bit 5, shadows bit in CWG1AS1bits
15603 #define TMR6AS CWG1AS1bits.TMR6AS // bit 6, shadows bit in CWG1AS1bits
15604 #define CWG1TMR6AS CWG1AS1bits.CWG1TMR6AS // bit 6, shadows bit in CWG1AS1bits
15606 #define POLA CWG1CON1bits.POLA // bit 0, shadows bit in CWG1CON1bits
15607 #define CWG1POLA CWG1CON1bits.CWG1POLA // bit 0, shadows bit in CWG1CON1bits
15608 #define POLB CWG1CON1bits.POLB // bit 1, shadows bit in CWG1CON1bits
15609 #define CWG1POLB CWG1CON1bits.CWG1POLB // bit 1, shadows bit in CWG1CON1bits
15610 #define POLC CWG1CON1bits.POLC // bit 2, shadows bit in CWG1CON1bits
15611 #define CWG1POLC CWG1CON1bits.CWG1POLC // bit 2, shadows bit in CWG1CON1bits
15612 #define POLD CWG1CON1bits.POLD // bit 3, shadows bit in CWG1CON1bits
15613 #define CWG1POLD CWG1CON1bits.CWG1POLD // bit 3, shadows bit in CWG1CON1bits
15614 #define IN CWG1CON1bits.IN // bit 5, shadows bit in CWG1CON1bits
15615 #define CWG1IN CWG1CON1bits.CWG1IN // bit 5, shadows bit in CWG1CON1bits
15617 #define DBF0 CWG1DBFbits.DBF0 // bit 0, shadows bit in CWG1DBFbits
15618 #define CWG1DBF0 CWG1DBFbits.CWG1DBF0 // bit 0, shadows bit in CWG1DBFbits
15619 #define DBF1 CWG1DBFbits.DBF1 // bit 1, shadows bit in CWG1DBFbits
15620 #define CWG1DBF1 CWG1DBFbits.CWG1DBF1 // bit 1, shadows bit in CWG1DBFbits
15621 #define DBF2 CWG1DBFbits.DBF2 // bit 2, shadows bit in CWG1DBFbits
15622 #define CWG1DBF2 CWG1DBFbits.CWG1DBF2 // bit 2, shadows bit in CWG1DBFbits
15623 #define DBF3 CWG1DBFbits.DBF3 // bit 3, shadows bit in CWG1DBFbits
15624 #define CWG1DBF3 CWG1DBFbits.CWG1DBF3 // bit 3, shadows bit in CWG1DBFbits
15625 #define DBF4 CWG1DBFbits.DBF4 // bit 4, shadows bit in CWG1DBFbits
15626 #define CWG1DBF4 CWG1DBFbits.CWG1DBF4 // bit 4, shadows bit in CWG1DBFbits
15627 #define DBF5 CWG1DBFbits.DBF5 // bit 5, shadows bit in CWG1DBFbits
15628 #define CWG1DBF5 CWG1DBFbits.CWG1DBF5 // bit 5, shadows bit in CWG1DBFbits
15630 #define DBR0 CWG1DBRbits.DBR0 // bit 0, shadows bit in CWG1DBRbits
15631 #define CWG1DBR0 CWG1DBRbits.CWG1DBR0 // bit 0, shadows bit in CWG1DBRbits
15632 #define DBR1 CWG1DBRbits.DBR1 // bit 1, shadows bit in CWG1DBRbits
15633 #define CWG1DBR1 CWG1DBRbits.CWG1DBR1 // bit 1, shadows bit in CWG1DBRbits
15634 #define DBR2 CWG1DBRbits.DBR2 // bit 2, shadows bit in CWG1DBRbits
15635 #define CWG1DBR2 CWG1DBRbits.CWG1DBR2 // bit 2, shadows bit in CWG1DBRbits
15636 #define DBR3 CWG1DBRbits.DBR3 // bit 3, shadows bit in CWG1DBRbits
15637 #define CWG1DBR3 CWG1DBRbits.CWG1DBR3 // bit 3, shadows bit in CWG1DBRbits
15638 #define DBR4 CWG1DBRbits.DBR4 // bit 4, shadows bit in CWG1DBRbits
15639 #define CWG1DBR4 CWG1DBRbits.CWG1DBR4 // bit 4, shadows bit in CWG1DBRbits
15640 #define DBR5 CWG1DBRbits.DBR5 // bit 5, shadows bit in CWG1DBRbits
15641 #define CWG1DBR5 CWG1DBRbits.CWG1DBR5 // bit 5, shadows bit in CWG1DBRbits
15643 #define IS0 CWG1ISMbits.IS0 // bit 0, shadows bit in CWG1ISMbits
15644 #define CWG1IS0 CWG1ISMbits.CWG1IS0 // bit 0, shadows bit in CWG1ISMbits
15645 #define IS1 CWG1ISMbits.IS1 // bit 1, shadows bit in CWG1ISMbits
15646 #define CWG1IS1 CWG1ISMbits.CWG1IS1 // bit 1, shadows bit in CWG1ISMbits
15647 #define IS2 CWG1ISMbits.IS2 // bit 2, shadows bit in CWG1ISMbits
15648 #define CWG1IS2 CWG1ISMbits.CWG1IS2 // bit 2, shadows bit in CWG1ISMbits
15649 #define IS3 CWG1ISMbits.IS3 // bit 3, shadows bit in CWG1ISMbits
15650 #define CWG1IS3 CWG1ISMbits.CWG1IS3 // bit 3, shadows bit in CWG1ISMbits
15652 #define STRA CWG1OCON0bits.STRA // bit 0, shadows bit in CWG1OCON0bits
15653 #define CWG1STRA CWG1OCON0bits.CWG1STRA // bit 0, shadows bit in CWG1OCON0bits
15654 #define STRB CWG1OCON0bits.STRB // bit 1, shadows bit in CWG1OCON0bits
15655 #define CWG1STRB CWG1OCON0bits.CWG1STRB // bit 1, shadows bit in CWG1OCON0bits
15656 #define STRC CWG1OCON0bits.STRC // bit 2, shadows bit in CWG1OCON0bits
15657 #define CWG1STRC CWG1OCON0bits.CWG1STRC // bit 2, shadows bit in CWG1OCON0bits
15658 #define STRD CWG1OCON0bits.STRD // bit 3, shadows bit in CWG1OCON0bits
15659 #define CWG1STRD CWG1OCON0bits.CWG1STRD // bit 3, shadows bit in CWG1OCON0bits
15660 #define OVRA CWG1OCON0bits.OVRA // bit 4, shadows bit in CWG1OCON0bits
15661 #define CWG1OVRA CWG1OCON0bits.CWG1OVRA // bit 4, shadows bit in CWG1OCON0bits
15662 #define OVRB CWG1OCON0bits.OVRB // bit 5, shadows bit in CWG1OCON0bits
15663 #define CWG1OVRB CWG1OCON0bits.CWG1OVRB // bit 5, shadows bit in CWG1OCON0bits
15664 #define OVRC CWG1OCON0bits.OVRC // bit 6, shadows bit in CWG1OCON0bits
15665 #define CWG1OVRC CWG1OCON0bits.CWG1OVRC // bit 6, shadows bit in CWG1OCON0bits
15666 #define OVRD CWG1OCON0bits.OVRD // bit 7, shadows bit in CWG1OCON0bits
15667 #define CWG1OVRD CWG1OCON0bits.CWG1OVRD // bit 7, shadows bit in CWG1OCON0bits
15669 #define CWGINPPS0 CWGINPPSbits.CWGINPPS0 // bit 0
15670 #define CWGINPPS1 CWGINPPSbits.CWGINPPS1 // bit 1
15671 #define CWGINPPS2 CWGINPPSbits.CWGINPPS2 // bit 2
15672 #define CWGINPPS3 CWGINPPSbits.CWGINPPS3 // bit 3
15673 #define CWGINPPS4 CWGINPPSbits.CWGINPPS4 // bit 4
15675 #define D1PSS0 DAC1CON0bits.D1PSS0 // bit 2
15676 #define D1PSS1 DAC1CON0bits.D1PSS1 // bit 3
15677 #define DAC1OE DAC1CON0bits.DAC1OE // bit 5
15678 #define DAC1EN DAC1CON0bits.DAC1EN // bit 7
15680 #define DAC1R0 DAC1CON1bits.DAC1R0 // bit 0
15681 #define DAC1R1 DAC1CON1bits.DAC1R1 // bit 1
15682 #define DAC1R2 DAC1CON1bits.DAC1R2 // bit 2
15683 #define DAC1R3 DAC1CON1bits.DAC1R3 // bit 3
15684 #define DAC1R4 DAC1CON1bits.DAC1R4 // bit 4
15685 #define DAC1R5 DAC1CON1bits.DAC1R5 // bit 5
15686 #define DAC1R6 DAC1CON1bits.DAC1R6 // bit 6
15687 #define DAC1R7 DAC1CON1bits.DAC1R7 // bit 7
15689 #define ADFVR0 FVRCONbits.ADFVR0 // bit 0
15690 #define ADFVR1 FVRCONbits.ADFVR1 // bit 1
15691 #define CDAFVR0 FVRCONbits.CDAFVR0 // bit 2
15692 #define CDAFVR1 FVRCONbits.CDAFVR1 // bit 3
15693 #define TSRNG FVRCONbits.TSRNG // bit 4
15694 #define TSEN FVRCONbits.TSEN // bit 5
15695 #define FVRRDY FVRCONbits.FVRRDY // bit 6
15696 #define FVREN FVRCONbits.FVREN // bit 7
15698 #define HIDC4 HDRVCbits.HIDC4 // bit 4
15699 #define HIDC5 HDRVCbits.HIDC5 // bit 5
15701 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
15702 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
15703 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
15704 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
15705 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
15706 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
15708 #define INLVLB4 INLVLBbits.INLVLB4 // bit 4
15709 #define INLVLB5 INLVLBbits.INLVLB5 // bit 5
15710 #define INLVLB6 INLVLBbits.INLVLB6 // bit 6
15711 #define INLVLB7 INLVLBbits.INLVLB7 // bit 7
15713 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
15714 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
15715 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
15716 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
15717 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
15718 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
15719 #define INLVLC6 INLVLCbits.INLVLC6 // bit 6
15720 #define INLVLC7 INLVLCbits.INLVLC7 // bit 7
15722 #define IOCIF INTCONbits.IOCIF // bit 0
15723 #define INTF INTCONbits.INTF // bit 1
15724 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
15725 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
15726 #define IOCIE INTCONbits.IOCIE // bit 3
15727 #define INTE INTCONbits.INTE // bit 4
15728 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
15729 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
15730 #define PEIE INTCONbits.PEIE // bit 6
15731 #define GIE INTCONbits.GIE // bit 7
15733 #define INTPPS0 INTPPSbits.INTPPS0 // bit 0
15734 #define INTPPS1 INTPPSbits.INTPPS1 // bit 1
15735 #define INTPPS2 INTPPSbits.INTPPS2 // bit 2
15736 #define INTPPS3 INTPPSbits.INTPPS3 // bit 3
15737 #define INTPPS4 INTPPSbits.INTPPS4 // bit 4
15739 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
15740 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
15741 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
15742 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
15743 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
15744 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
15746 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
15747 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
15748 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
15749 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
15750 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
15751 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
15753 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
15754 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
15755 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
15756 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
15757 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
15758 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
15760 #define IOCBF4 IOCBFbits.IOCBF4 // bit 4
15761 #define IOCBF5 IOCBFbits.IOCBF5 // bit 5
15762 #define IOCBF6 IOCBFbits.IOCBF6 // bit 6
15763 #define IOCBF7 IOCBFbits.IOCBF7 // bit 7
15765 #define IOCBN4 IOCBNbits.IOCBN4 // bit 4
15766 #define IOCBN5 IOCBNbits.IOCBN5 // bit 5
15767 #define IOCBN6 IOCBNbits.IOCBN6 // bit 6
15768 #define IOCBN7 IOCBNbits.IOCBN7 // bit 7
15770 #define IOCBP4 IOCBPbits.IOCBP4 // bit 4
15771 #define IOCBP5 IOCBPbits.IOCBP5 // bit 5
15772 #define IOCBP6 IOCBPbits.IOCBP6 // bit 6
15773 #define IOCBP7 IOCBPbits.IOCBP7 // bit 7
15775 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
15776 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
15777 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
15778 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
15779 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
15780 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
15781 #define IOCCF6 IOCCFbits.IOCCF6 // bit 6
15782 #define IOCCF7 IOCCFbits.IOCCF7 // bit 7
15784 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
15785 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
15786 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
15787 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
15788 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
15789 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
15790 #define IOCCN6 IOCCNbits.IOCCN6 // bit 6
15791 #define IOCCN7 IOCCNbits.IOCCN7 // bit 7
15793 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
15794 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
15795 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
15796 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
15797 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
15798 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
15799 #define IOCCP6 IOCCPbits.IOCCP6 // bit 6
15800 #define IOCCP7 IOCCPbits.IOCCP7 // bit 7
15802 #define LATA0 LATAbits.LATA0 // bit 0
15803 #define LATA1 LATAbits.LATA1 // bit 1
15804 #define LATA2 LATAbits.LATA2 // bit 2
15805 #define LATA3 LATAbits.LATA3 // bit 3
15806 #define LATA4 LATAbits.LATA4 // bit 4
15807 #define LATA5 LATAbits.LATA5 // bit 5
15809 #define LATB4 LATBbits.LATB4 // bit 4
15810 #define LATB5 LATBbits.LATB5 // bit 5
15811 #define LATB6 LATBbits.LATB6 // bit 6
15812 #define LATB7 LATBbits.LATB7 // bit 7
15814 #define LATC0 LATCbits.LATC0 // bit 0
15815 #define LATC1 LATCbits.LATC1 // bit 1
15816 #define LATC2 LATCbits.LATC2 // bit 2
15817 #define LATC3 LATCbits.LATC3 // bit 3
15818 #define LATC4 LATCbits.LATC4 // bit 4
15819 #define LATC5 LATCbits.LATC5 // bit 5
15820 #define LATC6 LATCbits.LATC6 // bit 6
15821 #define LATC7 LATCbits.LATC7 // bit 7
15823 #define ODA0 ODCONAbits.ODA0 // bit 0
15824 #define ODA1 ODCONAbits.ODA1 // bit 1
15825 #define ODA2 ODCONAbits.ODA2 // bit 2
15826 #define ODA4 ODCONAbits.ODA4 // bit 4
15827 #define ODA5 ODCONAbits.ODA5 // bit 5
15829 #define ODB4 ODCONBbits.ODB4 // bit 4
15830 #define ODB5 ODCONBbits.ODB5 // bit 5
15831 #define ODB6 ODCONBbits.ODB6 // bit 6
15832 #define ODB7 ODCONBbits.ODB7 // bit 7
15834 #define ODC0 ODCONCbits.ODC0 // bit 0
15835 #define ODC1 ODCONCbits.ODC1 // bit 1
15836 #define ODC2 ODCONCbits.ODC2 // bit 2
15837 #define ODC3 ODCONCbits.ODC3 // bit 3
15838 #define ODC4 ODCONCbits.ODC4 // bit 4
15839 #define ODC5 ODCONCbits.ODC5 // bit 5
15840 #define ODC6 ODCONCbits.ODC6 // bit 6
15841 #define ODC7 ODCONCbits.ODC7 // bit 7
15843 #define SCS0 OSCCONbits.SCS0 // bit 0
15844 #define SCS1 OSCCONbits.SCS1 // bit 1
15845 #define IRCF0 OSCCONbits.IRCF0 // bit 3
15846 #define IRCF1 OSCCONbits.IRCF1 // bit 4
15847 #define IRCF2 OSCCONbits.IRCF2 // bit 5
15848 #define IRCF3 OSCCONbits.IRCF3 // bit 6
15849 #define SPLLEN OSCCONbits.SPLLEN // bit 7
15851 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
15852 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
15853 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
15854 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
15855 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
15856 #define PLLR OSCSTATbits.PLLR // bit 6
15858 #define TUN0 OSCTUNEbits.TUN0 // bit 0
15859 #define TUN1 OSCTUNEbits.TUN1 // bit 1
15860 #define TUN2 OSCTUNEbits.TUN2 // bit 2
15861 #define TUN3 OSCTUNEbits.TUN3 // bit 3
15862 #define TUN4 OSCTUNEbits.TUN4 // bit 4
15863 #define TUN5 OSCTUNEbits.TUN5 // bit 5
15865 #define NOT_BOR PCONbits.NOT_BOR // bit 0
15866 #define NOT_POR PCONbits.NOT_POR // bit 1
15867 #define NOT_RI PCONbits.NOT_RI // bit 2
15868 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
15869 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
15870 #define NOT_WDTWV PCONbits.NOT_WDTWV // bit 5
15871 #define STKUNF PCONbits.STKUNF // bit 6
15872 #define STKOVF PCONbits.STKOVF // bit 7
15874 #define PID1ACC24 PID1ACCHHbits.PID1ACC24 // bit 0, shadows bit in PID1ACCHHbits
15875 #define ACC24 PID1ACCHHbits.ACC24 // bit 0, shadows bit in PID1ACCHHbits
15876 #define PID1ACC25 PID1ACCHHbits.PID1ACC25 // bit 1, shadows bit in PID1ACCHHbits
15877 #define ACC25 PID1ACCHHbits.ACC25 // bit 1, shadows bit in PID1ACCHHbits
15878 #define PID1ACC26 PID1ACCHHbits.PID1ACC26 // bit 2, shadows bit in PID1ACCHHbits
15879 #define ACC26 PID1ACCHHbits.ACC26 // bit 2, shadows bit in PID1ACCHHbits
15880 #define PID1ACC27 PID1ACCHHbits.PID1ACC27 // bit 3, shadows bit in PID1ACCHHbits
15881 #define ACC27 PID1ACCHHbits.ACC27 // bit 3, shadows bit in PID1ACCHHbits
15882 #define PID1ACC28 PID1ACCHHbits.PID1ACC28 // bit 4, shadows bit in PID1ACCHHbits
15883 #define ACC28 PID1ACCHHbits.ACC28 // bit 4, shadows bit in PID1ACCHHbits
15884 #define PID1ACC29 PID1ACCHHbits.PID1ACC29 // bit 5, shadows bit in PID1ACCHHbits
15885 #define ACC29 PID1ACCHHbits.ACC29 // bit 5, shadows bit in PID1ACCHHbits
15886 #define PID1ACC30 PID1ACCHHbits.PID1ACC30 // bit 6, shadows bit in PID1ACCHHbits
15887 #define ACC30 PID1ACCHHbits.ACC30 // bit 6, shadows bit in PID1ACCHHbits
15888 #define PID1ACC31 PID1ACCHHbits.PID1ACC31 // bit 7, shadows bit in PID1ACCHHbits
15889 #define ACC31 PID1ACCHHbits.ACC31 // bit 7, shadows bit in PID1ACCHHbits
15891 #define PID1ACC16 PID1ACCHLbits.PID1ACC16 // bit 0, shadows bit in PID1ACCHLbits
15892 #define ACC16 PID1ACCHLbits.ACC16 // bit 0, shadows bit in PID1ACCHLbits
15893 #define PID1ACC17 PID1ACCHLbits.PID1ACC17 // bit 1, shadows bit in PID1ACCHLbits
15894 #define ACC17 PID1ACCHLbits.ACC17 // bit 1, shadows bit in PID1ACCHLbits
15895 #define PID1ACC18 PID1ACCHLbits.PID1ACC18 // bit 2, shadows bit in PID1ACCHLbits
15896 #define ACC18 PID1ACCHLbits.ACC18 // bit 2, shadows bit in PID1ACCHLbits
15897 #define PID1ACC19 PID1ACCHLbits.PID1ACC19 // bit 3, shadows bit in PID1ACCHLbits
15898 #define ACC19 PID1ACCHLbits.ACC19 // bit 3, shadows bit in PID1ACCHLbits
15899 #define PID1ACC20 PID1ACCHLbits.PID1ACC20 // bit 4, shadows bit in PID1ACCHLbits
15900 #define ACC20 PID1ACCHLbits.ACC20 // bit 4, shadows bit in PID1ACCHLbits
15901 #define PID1ACC21 PID1ACCHLbits.PID1ACC21 // bit 5, shadows bit in PID1ACCHLbits
15902 #define ACC21 PID1ACCHLbits.ACC21 // bit 5, shadows bit in PID1ACCHLbits
15903 #define PID1ACC22 PID1ACCHLbits.PID1ACC22 // bit 6, shadows bit in PID1ACCHLbits
15904 #define ACC22 PID1ACCHLbits.ACC22 // bit 6, shadows bit in PID1ACCHLbits
15905 #define PID1ACC23 PID1ACCHLbits.PID1ACC23 // bit 7, shadows bit in PID1ACCHLbits
15906 #define ACC23 PID1ACCHLbits.ACC23 // bit 7, shadows bit in PID1ACCHLbits
15908 #define PID1ACC32 PID1ACCUbits.PID1ACC32 // bit 0, shadows bit in PID1ACCUbits
15909 #define ACC32 PID1ACCUbits.ACC32 // bit 0, shadows bit in PID1ACCUbits
15910 #define PID1ACC33 PID1ACCUbits.PID1ACC33 // bit 1, shadows bit in PID1ACCUbits
15911 #define ACC33 PID1ACCUbits.ACC33 // bit 1, shadows bit in PID1ACCUbits
15912 #define PID1ACC34 PID1ACCUbits.PID1ACC34 // bit 2, shadows bit in PID1ACCUbits
15913 #define ACC34 PID1ACCUbits.ACC34 // bit 2, shadows bit in PID1ACCUbits
15915 #define PID1IN8 PID1INHbits.PID1IN8 // bit 0, shadows bit in PID1INHbits
15916 #define IN8 PID1INHbits.IN8 // bit 0, shadows bit in PID1INHbits
15917 #define PID1IN9 PID1INHbits.PID1IN9 // bit 1, shadows bit in PID1INHbits
15918 #define IN9 PID1INHbits.IN9 // bit 1, shadows bit in PID1INHbits
15919 #define PID1IN10 PID1INHbits.PID1IN10 // bit 2, shadows bit in PID1INHbits
15920 #define IN10 PID1INHbits.IN10 // bit 2, shadows bit in PID1INHbits
15921 #define PID1IN11 PID1INHbits.PID1IN11 // bit 3, shadows bit in PID1INHbits
15922 #define IN11 PID1INHbits.IN11 // bit 3, shadows bit in PID1INHbits
15923 #define PID1IN12 PID1INHbits.PID1IN12 // bit 4, shadows bit in PID1INHbits
15924 #define IN12 PID1INHbits.IN12 // bit 4, shadows bit in PID1INHbits
15925 #define PID1IN13 PID1INHbits.PID1IN13 // bit 5, shadows bit in PID1INHbits
15926 #define IN13 PID1INHbits.IN13 // bit 5, shadows bit in PID1INHbits
15927 #define PID1IN14 PID1INHbits.PID1IN14 // bit 6, shadows bit in PID1INHbits
15928 #define IN14 PID1INHbits.IN14 // bit 6, shadows bit in PID1INHbits
15929 #define PID1IN15 PID1INHbits.PID1IN15 // bit 7, shadows bit in PID1INHbits
15930 #define IN15 PID1INHbits.IN15 // bit 7, shadows bit in PID1INHbits
15932 #define PID1IN0 PID1INLbits.PID1IN0 // bit 0, shadows bit in PID1INLbits
15933 #define IN0 PID1INLbits.IN0 // bit 0, shadows bit in PID1INLbits
15934 #define PID1IN1 PID1INLbits.PID1IN1 // bit 1, shadows bit in PID1INLbits
15935 #define IN1 PID1INLbits.IN1 // bit 1, shadows bit in PID1INLbits
15936 #define PID1IN2 PID1INLbits.PID1IN2 // bit 2, shadows bit in PID1INLbits
15937 #define IN2 PID1INLbits.IN2 // bit 2, shadows bit in PID1INLbits
15938 #define PID1IN3 PID1INLbits.PID1IN3 // bit 3, shadows bit in PID1INLbits
15939 #define IN3 PID1INLbits.IN3 // bit 3, shadows bit in PID1INLbits
15940 #define PID1IN4 PID1INLbits.PID1IN4 // bit 4, shadows bit in PID1INLbits
15941 #define IN4 PID1INLbits.IN4 // bit 4, shadows bit in PID1INLbits
15942 #define PID1IN5 PID1INLbits.PID1IN5 // bit 5, shadows bit in PID1INLbits
15943 #define IN5 PID1INLbits.IN5 // bit 5, shadows bit in PID1INLbits
15944 #define PID1IN6 PID1INLbits.PID1IN6 // bit 6, shadows bit in PID1INLbits
15945 #define IN6 PID1INLbits.IN6 // bit 6, shadows bit in PID1INLbits
15946 #define PID1IN7 PID1INLbits.PID1IN7 // bit 7, shadows bit in PID1INLbits
15947 #define IN7 PID1INLbits.IN7 // bit 7, shadows bit in PID1INLbits
15949 #define PID1K18 PID1K1Hbits.PID1K18 // bit 0, shadows bit in PID1K1Hbits
15950 #define K18 PID1K1Hbits.K18 // bit 0, shadows bit in PID1K1Hbits
15951 #define PID1K19 PID1K1Hbits.PID1K19 // bit 1, shadows bit in PID1K1Hbits
15952 #define K19 PID1K1Hbits.K19 // bit 1, shadows bit in PID1K1Hbits
15953 #define PID1K110 PID1K1Hbits.PID1K110 // bit 2, shadows bit in PID1K1Hbits
15954 #define K110 PID1K1Hbits.K110 // bit 2, shadows bit in PID1K1Hbits
15955 #define PID1K111 PID1K1Hbits.PID1K111 // bit 3, shadows bit in PID1K1Hbits
15956 #define K111 PID1K1Hbits.K111 // bit 3, shadows bit in PID1K1Hbits
15957 #define PID1K112 PID1K1Hbits.PID1K112 // bit 4, shadows bit in PID1K1Hbits
15958 #define K112 PID1K1Hbits.K112 // bit 4, shadows bit in PID1K1Hbits
15959 #define PID1K113 PID1K1Hbits.PID1K113 // bit 5, shadows bit in PID1K1Hbits
15960 #define K113 PID1K1Hbits.K113 // bit 5, shadows bit in PID1K1Hbits
15961 #define PID1K114 PID1K1Hbits.PID1K114 // bit 6, shadows bit in PID1K1Hbits
15962 #define K114 PID1K1Hbits.K114 // bit 6, shadows bit in PID1K1Hbits
15963 #define PID1K115 PID1K1Hbits.PID1K115 // bit 7, shadows bit in PID1K1Hbits
15964 #define K115 PID1K1Hbits.K115 // bit 7, shadows bit in PID1K1Hbits
15966 #define PID1K10 PID1K1Lbits.PID1K10 // bit 0, shadows bit in PID1K1Lbits
15967 #define K10 PID1K1Lbits.K10 // bit 0, shadows bit in PID1K1Lbits
15968 #define PID1K11 PID1K1Lbits.PID1K11 // bit 1, shadows bit in PID1K1Lbits
15969 #define K11 PID1K1Lbits.K11 // bit 1, shadows bit in PID1K1Lbits
15970 #define PID1K12 PID1K1Lbits.PID1K12 // bit 2, shadows bit in PID1K1Lbits
15971 #define K12 PID1K1Lbits.K12 // bit 2, shadows bit in PID1K1Lbits
15972 #define PID1K13 PID1K1Lbits.PID1K13 // bit 3, shadows bit in PID1K1Lbits
15973 #define K13 PID1K1Lbits.K13 // bit 3, shadows bit in PID1K1Lbits
15974 #define PID1K14 PID1K1Lbits.PID1K14 // bit 4, shadows bit in PID1K1Lbits
15975 #define K14 PID1K1Lbits.K14 // bit 4, shadows bit in PID1K1Lbits
15976 #define PID1K15 PID1K1Lbits.PID1K15 // bit 5, shadows bit in PID1K1Lbits
15977 #define K15 PID1K1Lbits.K15 // bit 5, shadows bit in PID1K1Lbits
15978 #define PID1K16 PID1K1Lbits.PID1K16 // bit 6, shadows bit in PID1K1Lbits
15979 #define K16 PID1K1Lbits.K16 // bit 6, shadows bit in PID1K1Lbits
15980 #define PID1K17 PID1K1Lbits.PID1K17 // bit 7, shadows bit in PID1K1Lbits
15981 #define K17 PID1K1Lbits.K17 // bit 7, shadows bit in PID1K1Lbits
15983 #define PID1K28 PID1K2Hbits.PID1K28 // bit 0, shadows bit in PID1K2Hbits
15984 #define K28 PID1K2Hbits.K28 // bit 0, shadows bit in PID1K2Hbits
15985 #define PID1K29 PID1K2Hbits.PID1K29 // bit 1, shadows bit in PID1K2Hbits
15986 #define K29 PID1K2Hbits.K29 // bit 1, shadows bit in PID1K2Hbits
15987 #define PID1K210 PID1K2Hbits.PID1K210 // bit 2, shadows bit in PID1K2Hbits
15988 #define K210 PID1K2Hbits.K210 // bit 2, shadows bit in PID1K2Hbits
15989 #define PID1K211 PID1K2Hbits.PID1K211 // bit 3, shadows bit in PID1K2Hbits
15990 #define K211 PID1K2Hbits.K211 // bit 3, shadows bit in PID1K2Hbits
15991 #define PID1K212 PID1K2Hbits.PID1K212 // bit 4, shadows bit in PID1K2Hbits
15992 #define K212 PID1K2Hbits.K212 // bit 4, shadows bit in PID1K2Hbits
15993 #define PID1K213 PID1K2Hbits.PID1K213 // bit 5, shadows bit in PID1K2Hbits
15994 #define K213 PID1K2Hbits.K213 // bit 5, shadows bit in PID1K2Hbits
15995 #define PID1K214 PID1K2Hbits.PID1K214 // bit 6, shadows bit in PID1K2Hbits
15996 #define K214 PID1K2Hbits.K214 // bit 6, shadows bit in PID1K2Hbits
15997 #define PID1K215 PID1K2Hbits.PID1K215 // bit 7, shadows bit in PID1K2Hbits
15998 #define K215 PID1K2Hbits.K215 // bit 7, shadows bit in PID1K2Hbits
16000 #define PID1K20 PID1K2Lbits.PID1K20 // bit 0, shadows bit in PID1K2Lbits
16001 #define K20 PID1K2Lbits.K20 // bit 0, shadows bit in PID1K2Lbits
16002 #define PID1K21 PID1K2Lbits.PID1K21 // bit 1, shadows bit in PID1K2Lbits
16003 #define K21 PID1K2Lbits.K21 // bit 1, shadows bit in PID1K2Lbits
16004 #define PID1K22 PID1K2Lbits.PID1K22 // bit 2, shadows bit in PID1K2Lbits
16005 #define K22 PID1K2Lbits.K22 // bit 2, shadows bit in PID1K2Lbits
16006 #define PID1K23 PID1K2Lbits.PID1K23 // bit 3, shadows bit in PID1K2Lbits
16007 #define K23 PID1K2Lbits.K23 // bit 3, shadows bit in PID1K2Lbits
16008 #define PID1K24 PID1K2Lbits.PID1K24 // bit 4, shadows bit in PID1K2Lbits
16009 #define K24 PID1K2Lbits.K24 // bit 4, shadows bit in PID1K2Lbits
16010 #define PID1K25 PID1K2Lbits.PID1K25 // bit 5, shadows bit in PID1K2Lbits
16011 #define K25 PID1K2Lbits.K25 // bit 5, shadows bit in PID1K2Lbits
16012 #define PID1K26 PID1K2Lbits.PID1K26 // bit 6, shadows bit in PID1K2Lbits
16013 #define K26 PID1K2Lbits.K26 // bit 6, shadows bit in PID1K2Lbits
16014 #define PID1K27 PID1K2Lbits.PID1K27 // bit 7, shadows bit in PID1K2Lbits
16015 #define K27 PID1K2Lbits.K27 // bit 7, shadows bit in PID1K2Lbits
16017 #define PID1K38 PID1K3Hbits.PID1K38 // bit 0, shadows bit in PID1K3Hbits
16018 #define K38 PID1K3Hbits.K38 // bit 0, shadows bit in PID1K3Hbits
16019 #define PID1K39 PID1K3Hbits.PID1K39 // bit 1, shadows bit in PID1K3Hbits
16020 #define K39 PID1K3Hbits.K39 // bit 1, shadows bit in PID1K3Hbits
16021 #define PID1K310 PID1K3Hbits.PID1K310 // bit 2, shadows bit in PID1K3Hbits
16022 #define K310 PID1K3Hbits.K310 // bit 2, shadows bit in PID1K3Hbits
16023 #define PID1K311 PID1K3Hbits.PID1K311 // bit 3, shadows bit in PID1K3Hbits
16024 #define K311 PID1K3Hbits.K311 // bit 3, shadows bit in PID1K3Hbits
16025 #define PID1K312 PID1K3Hbits.PID1K312 // bit 4, shadows bit in PID1K3Hbits
16026 #define K312 PID1K3Hbits.K312 // bit 4, shadows bit in PID1K3Hbits
16027 #define PID1K313 PID1K3Hbits.PID1K313 // bit 5, shadows bit in PID1K3Hbits
16028 #define K313 PID1K3Hbits.K313 // bit 5, shadows bit in PID1K3Hbits
16029 #define PID1K314 PID1K3Hbits.PID1K314 // bit 6, shadows bit in PID1K3Hbits
16030 #define K314 PID1K3Hbits.K314 // bit 6, shadows bit in PID1K3Hbits
16031 #define PID1K315 PID1K3Hbits.PID1K315 // bit 7, shadows bit in PID1K3Hbits
16032 #define K315 PID1K3Hbits.K315 // bit 7, shadows bit in PID1K3Hbits
16034 #define PID1K30 PID1K3Lbits.PID1K30 // bit 0, shadows bit in PID1K3Lbits
16035 #define K30 PID1K3Lbits.K30 // bit 0, shadows bit in PID1K3Lbits
16036 #define PID1K31 PID1K3Lbits.PID1K31 // bit 1, shadows bit in PID1K3Lbits
16037 #define K31 PID1K3Lbits.K31 // bit 1, shadows bit in PID1K3Lbits
16038 #define PID1K32 PID1K3Lbits.PID1K32 // bit 2, shadows bit in PID1K3Lbits
16039 #define K32 PID1K3Lbits.K32 // bit 2, shadows bit in PID1K3Lbits
16040 #define PID1K33 PID1K3Lbits.PID1K33 // bit 3, shadows bit in PID1K3Lbits
16041 #define K33 PID1K3Lbits.K33 // bit 3, shadows bit in PID1K3Lbits
16042 #define PID1K34 PID1K3Lbits.PID1K34 // bit 4, shadows bit in PID1K3Lbits
16043 #define K34 PID1K3Lbits.K34 // bit 4, shadows bit in PID1K3Lbits
16044 #define PID1K35 PID1K3Lbits.PID1K35 // bit 5, shadows bit in PID1K3Lbits
16045 #define K35 PID1K3Lbits.K35 // bit 5, shadows bit in PID1K3Lbits
16046 #define PID1K36 PID1K3Lbits.PID1K36 // bit 6, shadows bit in PID1K3Lbits
16047 #define K36 PID1K3Lbits.K36 // bit 6, shadows bit in PID1K3Lbits
16048 #define PID1K37 PID1K3Lbits.PID1K37 // bit 7, shadows bit in PID1K3Lbits
16049 #define K37 PID1K3Lbits.K37 // bit 7, shadows bit in PID1K3Lbits
16051 #define PID1OUT24 PID1OUTHHbits.PID1OUT24 // bit 0, shadows bit in PID1OUTHHbits
16052 #define OUT24 PID1OUTHHbits.OUT24 // bit 0, shadows bit in PID1OUTHHbits
16053 #define PID1OUT25 PID1OUTHHbits.PID1OUT25 // bit 1, shadows bit in PID1OUTHHbits
16054 #define OUT25 PID1OUTHHbits.OUT25 // bit 1, shadows bit in PID1OUTHHbits
16055 #define PID1OUT26 PID1OUTHHbits.PID1OUT26 // bit 2, shadows bit in PID1OUTHHbits
16056 #define OUT26 PID1OUTHHbits.OUT26 // bit 2, shadows bit in PID1OUTHHbits
16057 #define PID1OUT27 PID1OUTHHbits.PID1OUT27 // bit 3, shadows bit in PID1OUTHHbits
16058 #define OUT27 PID1OUTHHbits.OUT27 // bit 3, shadows bit in PID1OUTHHbits
16059 #define PID1OUT28 PID1OUTHHbits.PID1OUT28 // bit 4, shadows bit in PID1OUTHHbits
16060 #define OUT28 PID1OUTHHbits.OUT28 // bit 4, shadows bit in PID1OUTHHbits
16061 #define PID1OUT29 PID1OUTHHbits.PID1OUT29 // bit 5, shadows bit in PID1OUTHHbits
16062 #define OUT29 PID1OUTHHbits.OUT29 // bit 5, shadows bit in PID1OUTHHbits
16063 #define PID1OUT30 PID1OUTHHbits.PID1OUT30 // bit 6, shadows bit in PID1OUTHHbits
16064 #define OUT30 PID1OUTHHbits.OUT30 // bit 6, shadows bit in PID1OUTHHbits
16065 #define PID1OUT31 PID1OUTHHbits.PID1OUT31 // bit 7, shadows bit in PID1OUTHHbits
16066 #define OUT31 PID1OUTHHbits.OUT31 // bit 7, shadows bit in PID1OUTHHbits
16068 #define PID1OUT16 PID1OUTHLbits.PID1OUT16 // bit 0, shadows bit in PID1OUTHLbits
16069 #define OUT16 PID1OUTHLbits.OUT16 // bit 0, shadows bit in PID1OUTHLbits
16070 #define PID1OUT17 PID1OUTHLbits.PID1OUT17 // bit 1, shadows bit in PID1OUTHLbits
16071 #define OUT17 PID1OUTHLbits.OUT17 // bit 1, shadows bit in PID1OUTHLbits
16072 #define PID1OUT18 PID1OUTHLbits.PID1OUT18 // bit 2, shadows bit in PID1OUTHLbits
16073 #define OUT18 PID1OUTHLbits.OUT18 // bit 2, shadows bit in PID1OUTHLbits
16074 #define PID1OUT19 PID1OUTHLbits.PID1OUT19 // bit 3, shadows bit in PID1OUTHLbits
16075 #define OUT19 PID1OUTHLbits.OUT19 // bit 3, shadows bit in PID1OUTHLbits
16076 #define PID1OUT20 PID1OUTHLbits.PID1OUT20 // bit 4, shadows bit in PID1OUTHLbits
16077 #define OUT20 PID1OUTHLbits.OUT20 // bit 4, shadows bit in PID1OUTHLbits
16078 #define PID1OUT21 PID1OUTHLbits.PID1OUT21 // bit 5, shadows bit in PID1OUTHLbits
16079 #define OUT21 PID1OUTHLbits.OUT21 // bit 5, shadows bit in PID1OUTHLbits
16080 #define PID1OUT22 PID1OUTHLbits.PID1OUT22 // bit 6, shadows bit in PID1OUTHLbits
16081 #define OUT22 PID1OUTHLbits.OUT22 // bit 6, shadows bit in PID1OUTHLbits
16082 #define PID1OUT23 PID1OUTHLbits.PID1OUT23 // bit 7, shadows bit in PID1OUTHLbits
16083 #define OUT23 PID1OUTHLbits.OUT23 // bit 7, shadows bit in PID1OUTHLbits
16085 #define PID1OUT8 PID1OUTLHbits.PID1OUT8 // bit 0, shadows bit in PID1OUTLHbits
16086 #define OUT8 PID1OUTLHbits.OUT8 // bit 0, shadows bit in PID1OUTLHbits
16087 #define PID1OUT9 PID1OUTLHbits.PID1OUT9 // bit 1, shadows bit in PID1OUTLHbits
16088 #define OUT9 PID1OUTLHbits.OUT9 // bit 1, shadows bit in PID1OUTLHbits
16089 #define PID1OUT10 PID1OUTLHbits.PID1OUT10 // bit 2, shadows bit in PID1OUTLHbits
16090 #define OUT10 PID1OUTLHbits.OUT10 // bit 2, shadows bit in PID1OUTLHbits
16091 #define PID1OUT11 PID1OUTLHbits.PID1OUT11 // bit 3, shadows bit in PID1OUTLHbits
16092 #define OUT11 PID1OUTLHbits.OUT11 // bit 3, shadows bit in PID1OUTLHbits
16093 #define PID1OUT12 PID1OUTLHbits.PID1OUT12 // bit 4, shadows bit in PID1OUTLHbits
16094 #define OUT12 PID1OUTLHbits.OUT12 // bit 4, shadows bit in PID1OUTLHbits
16095 #define PID1OUT13 PID1OUTLHbits.PID1OUT13 // bit 5, shadows bit in PID1OUTLHbits
16096 #define OUT13 PID1OUTLHbits.OUT13 // bit 5, shadows bit in PID1OUTLHbits
16097 #define PID1OUT14 PID1OUTLHbits.PID1OUT14 // bit 6, shadows bit in PID1OUTLHbits
16098 #define OUT14 PID1OUTLHbits.OUT14 // bit 6, shadows bit in PID1OUTLHbits
16099 #define PID1OUT15 PID1OUTLHbits.PID1OUT15 // bit 7, shadows bit in PID1OUTLHbits
16100 #define OUT15 PID1OUTLHbits.OUT15 // bit 7, shadows bit in PID1OUTLHbits
16102 #define PID1OUT0 PID1OUTLLbits.PID1OUT0 // bit 0, shadows bit in PID1OUTLLbits
16103 #define OUT0 PID1OUTLLbits.OUT0 // bit 0, shadows bit in PID1OUTLLbits
16104 #define PID1OUT1 PID1OUTLLbits.PID1OUT1 // bit 1, shadows bit in PID1OUTLLbits
16105 #define OUT1 PID1OUTLLbits.OUT1 // bit 1, shadows bit in PID1OUTLLbits
16106 #define PID1OUT2 PID1OUTLLbits.PID1OUT2 // bit 2, shadows bit in PID1OUTLLbits
16107 #define OUT2 PID1OUTLLbits.OUT2 // bit 2, shadows bit in PID1OUTLLbits
16108 #define PID1OUT3 PID1OUTLLbits.PID1OUT3 // bit 3, shadows bit in PID1OUTLLbits
16109 #define OUT3 PID1OUTLLbits.OUT3 // bit 3, shadows bit in PID1OUTLLbits
16110 #define PID1OUT4 PID1OUTLLbits.PID1OUT4 // bit 4, shadows bit in PID1OUTLLbits
16111 #define OUT4 PID1OUTLLbits.OUT4 // bit 4, shadows bit in PID1OUTLLbits
16112 #define PID1OUT5 PID1OUTLLbits.PID1OUT5 // bit 5, shadows bit in PID1OUTLLbits
16113 #define OUT5 PID1OUTLLbits.OUT5 // bit 5, shadows bit in PID1OUTLLbits
16114 #define PID1OUT6 PID1OUTLLbits.PID1OUT6 // bit 6, shadows bit in PID1OUTLLbits
16115 #define OUT6 PID1OUTLLbits.OUT6 // bit 6, shadows bit in PID1OUTLLbits
16116 #define PID1OUT7 PID1OUTLLbits.PID1OUT7 // bit 7, shadows bit in PID1OUTLLbits
16117 #define OUT7 PID1OUTLLbits.OUT7 // bit 7, shadows bit in PID1OUTLLbits
16119 #define PID1OUT32 PID1OUTUbits.PID1OUT32 // bit 0, shadows bit in PID1OUTUbits
16120 #define OUT32 PID1OUTUbits.OUT32 // bit 0, shadows bit in PID1OUTUbits
16121 #define PID1OUT33 PID1OUTUbits.PID1OUT33 // bit 1, shadows bit in PID1OUTUbits
16122 #define OUT33 PID1OUTUbits.OUT33 // bit 1, shadows bit in PID1OUTUbits
16123 #define PID1OUT34 PID1OUTUbits.PID1OUT34 // bit 2, shadows bit in PID1OUTUbits
16124 #define OUT34 PID1OUTUbits.OUT34 // bit 2, shadows bit in PID1OUTUbits
16125 #define PID1OUT35 PID1OUTUbits.PID1OUT35 // bit 3, shadows bit in PID1OUTUbits
16126 #define OUT35 PID1OUTUbits.OUT35 // bit 3, shadows bit in PID1OUTUbits
16128 #define PID1SET8 PID1SETHbits.PID1SET8 // bit 0, shadows bit in PID1SETHbits
16129 #define SET8 PID1SETHbits.SET8 // bit 0, shadows bit in PID1SETHbits
16130 #define PID1SET9 PID1SETHbits.PID1SET9 // bit 1, shadows bit in PID1SETHbits
16131 #define SET9 PID1SETHbits.SET9 // bit 1, shadows bit in PID1SETHbits
16132 #define PID1SET10 PID1SETHbits.PID1SET10 // bit 2, shadows bit in PID1SETHbits
16133 #define SET10 PID1SETHbits.SET10 // bit 2, shadows bit in PID1SETHbits
16134 #define PID1SET11 PID1SETHbits.PID1SET11 // bit 3, shadows bit in PID1SETHbits
16135 #define SET11 PID1SETHbits.SET11 // bit 3, shadows bit in PID1SETHbits
16136 #define PID1SET12 PID1SETHbits.PID1SET12 // bit 4, shadows bit in PID1SETHbits
16137 #define SET12 PID1SETHbits.SET12 // bit 4, shadows bit in PID1SETHbits
16138 #define PID1SET13 PID1SETHbits.PID1SET13 // bit 5, shadows bit in PID1SETHbits
16139 #define SET13 PID1SETHbits.SET13 // bit 5, shadows bit in PID1SETHbits
16140 #define PID1SET14 PID1SETHbits.PID1SET14 // bit 6, shadows bit in PID1SETHbits
16141 #define SET14 PID1SETHbits.SET14 // bit 6, shadows bit in PID1SETHbits
16142 #define PID1SET15 PID1SETHbits.PID1SET15 // bit 7, shadows bit in PID1SETHbits
16143 #define SET15 PID1SETHbits.SET15 // bit 7, shadows bit in PID1SETHbits
16145 #define PID1SET0 PID1SETLbits.PID1SET0 // bit 0, shadows bit in PID1SETLbits
16146 #define SET0 PID1SETLbits.SET0 // bit 0, shadows bit in PID1SETLbits
16147 #define PID1SET1 PID1SETLbits.PID1SET1 // bit 1, shadows bit in PID1SETLbits
16148 #define SET1 PID1SETLbits.SET1 // bit 1, shadows bit in PID1SETLbits
16149 #define PID1SET2 PID1SETLbits.PID1SET2 // bit 2, shadows bit in PID1SETLbits
16150 #define SET2 PID1SETLbits.SET2 // bit 2, shadows bit in PID1SETLbits
16151 #define PID1SET3 PID1SETLbits.PID1SET3 // bit 3, shadows bit in PID1SETLbits
16152 #define SET3 PID1SETLbits.SET3 // bit 3, shadows bit in PID1SETLbits
16153 #define PID1SET4 PID1SETLbits.PID1SET4 // bit 4, shadows bit in PID1SETLbits
16154 #define SET4 PID1SETLbits.SET4 // bit 4, shadows bit in PID1SETLbits
16155 #define PID1SET5 PID1SETLbits.PID1SET5 // bit 5, shadows bit in PID1SETLbits
16156 #define SET5 PID1SETLbits.SET5 // bit 5, shadows bit in PID1SETLbits
16157 #define PID1SET6 PID1SETLbits.PID1SET6 // bit 6, shadows bit in PID1SETLbits
16158 #define SET6 PID1SETLbits.SET6 // bit 6, shadows bit in PID1SETLbits
16159 #define PID1SET7 PID1SETLbits.PID1SET7 // bit 7, shadows bit in PID1SETLbits
16160 #define SET7 PID1SETLbits.SET7 // bit 7, shadows bit in PID1SETLbits
16162 #define PID1Z18 PID1Z1Hbits.PID1Z18 // bit 0, shadows bit in PID1Z1Hbits
16163 #define Z18 PID1Z1Hbits.Z18 // bit 0, shadows bit in PID1Z1Hbits
16164 #define PID1Z19 PID1Z1Hbits.PID1Z19 // bit 1, shadows bit in PID1Z1Hbits
16165 #define Z19 PID1Z1Hbits.Z19 // bit 1, shadows bit in PID1Z1Hbits
16166 #define PID1Z110 PID1Z1Hbits.PID1Z110 // bit 2, shadows bit in PID1Z1Hbits
16167 #define Z110 PID1Z1Hbits.Z110 // bit 2, shadows bit in PID1Z1Hbits
16168 #define PID1Z111 PID1Z1Hbits.PID1Z111 // bit 3, shadows bit in PID1Z1Hbits
16169 #define Z111 PID1Z1Hbits.Z111 // bit 3, shadows bit in PID1Z1Hbits
16170 #define PID1Z112 PID1Z1Hbits.PID1Z112 // bit 4, shadows bit in PID1Z1Hbits
16171 #define Z112 PID1Z1Hbits.Z112 // bit 4, shadows bit in PID1Z1Hbits
16172 #define PID1Z113 PID1Z1Hbits.PID1Z113 // bit 5, shadows bit in PID1Z1Hbits
16173 #define Z113 PID1Z1Hbits.Z113 // bit 5, shadows bit in PID1Z1Hbits
16174 #define PID1Z114 PID1Z1Hbits.PID1Z114 // bit 6, shadows bit in PID1Z1Hbits
16175 #define Z114 PID1Z1Hbits.Z114 // bit 6, shadows bit in PID1Z1Hbits
16176 #define PID1Z115 PID1Z1Hbits.PID1Z115 // bit 7, shadows bit in PID1Z1Hbits
16177 #define Z115 PID1Z1Hbits.Z115 // bit 7, shadows bit in PID1Z1Hbits
16179 #define PID1Z10 PID1Z1Lbits.PID1Z10 // bit 0, shadows bit in PID1Z1Lbits
16180 #define Z10 PID1Z1Lbits.Z10 // bit 0, shadows bit in PID1Z1Lbits
16181 #define PID1Z11 PID1Z1Lbits.PID1Z11 // bit 1, shadows bit in PID1Z1Lbits
16182 #define Z11 PID1Z1Lbits.Z11 // bit 1, shadows bit in PID1Z1Lbits
16183 #define PID1Z12 PID1Z1Lbits.PID1Z12 // bit 2, shadows bit in PID1Z1Lbits
16184 #define Z12 PID1Z1Lbits.Z12 // bit 2, shadows bit in PID1Z1Lbits
16185 #define PID1Z13 PID1Z1Lbits.PID1Z13 // bit 3, shadows bit in PID1Z1Lbits
16186 #define Z13 PID1Z1Lbits.Z13 // bit 3, shadows bit in PID1Z1Lbits
16187 #define PID1Z14 PID1Z1Lbits.PID1Z14 // bit 4, shadows bit in PID1Z1Lbits
16188 #define Z14 PID1Z1Lbits.Z14 // bit 4, shadows bit in PID1Z1Lbits
16189 #define PID1Z15 PID1Z1Lbits.PID1Z15 // bit 5, shadows bit in PID1Z1Lbits
16190 #define Z15 PID1Z1Lbits.Z15 // bit 5, shadows bit in PID1Z1Lbits
16191 #define PID1Z16 PID1Z1Lbits.PID1Z16 // bit 6, shadows bit in PID1Z1Lbits
16192 #define Z16 PID1Z1Lbits.Z16 // bit 6, shadows bit in PID1Z1Lbits
16193 #define PID1Z17 PID1Z1Lbits.PID1Z17 // bit 7, shadows bit in PID1Z1Lbits
16194 #define Z17 PID1Z1Lbits.Z17 // bit 7, shadows bit in PID1Z1Lbits
16196 #define PID1Z116 PID1Z1Ubits.PID1Z116 // bit 0, shadows bit in PID1Z1Ubits
16197 #define Z116 PID1Z1Ubits.Z116 // bit 0, shadows bit in PID1Z1Ubits
16199 #define PID1Z28 PID1Z2Hbits.PID1Z28 // bit 0, shadows bit in PID1Z2Hbits
16200 #define Z28 PID1Z2Hbits.Z28 // bit 0, shadows bit in PID1Z2Hbits
16201 #define PID1Z29 PID1Z2Hbits.PID1Z29 // bit 1, shadows bit in PID1Z2Hbits
16202 #define Z29 PID1Z2Hbits.Z29 // bit 1, shadows bit in PID1Z2Hbits
16203 #define PID1Z210 PID1Z2Hbits.PID1Z210 // bit 2, shadows bit in PID1Z2Hbits
16204 #define Z210 PID1Z2Hbits.Z210 // bit 2, shadows bit in PID1Z2Hbits
16205 #define PID1Z211 PID1Z2Hbits.PID1Z211 // bit 3, shadows bit in PID1Z2Hbits
16206 #define Z211 PID1Z2Hbits.Z211 // bit 3, shadows bit in PID1Z2Hbits
16207 #define PID1Z212 PID1Z2Hbits.PID1Z212 // bit 4, shadows bit in PID1Z2Hbits
16208 #define Z212 PID1Z2Hbits.Z212 // bit 4, shadows bit in PID1Z2Hbits
16209 #define PID1Z213 PID1Z2Hbits.PID1Z213 // bit 5, shadows bit in PID1Z2Hbits
16210 #define Z213 PID1Z2Hbits.Z213 // bit 5, shadows bit in PID1Z2Hbits
16211 #define PID1Z214 PID1Z2Hbits.PID1Z214 // bit 6, shadows bit in PID1Z2Hbits
16212 #define Z214 PID1Z2Hbits.Z214 // bit 6, shadows bit in PID1Z2Hbits
16213 #define PID1Z215 PID1Z2Hbits.PID1Z215 // bit 7, shadows bit in PID1Z2Hbits
16214 #define Z215 PID1Z2Hbits.Z215 // bit 7, shadows bit in PID1Z2Hbits
16216 #define PID1Z20 PID1Z2Lbits.PID1Z20 // bit 0, shadows bit in PID1Z2Lbits
16217 #define Z20 PID1Z2Lbits.Z20 // bit 0, shadows bit in PID1Z2Lbits
16218 #define PID1Z21 PID1Z2Lbits.PID1Z21 // bit 1, shadows bit in PID1Z2Lbits
16219 #define Z21 PID1Z2Lbits.Z21 // bit 1, shadows bit in PID1Z2Lbits
16220 #define PID1Z22 PID1Z2Lbits.PID1Z22 // bit 2, shadows bit in PID1Z2Lbits
16221 #define Z22 PID1Z2Lbits.Z22 // bit 2, shadows bit in PID1Z2Lbits
16222 #define PID1Z23 PID1Z2Lbits.PID1Z23 // bit 3, shadows bit in PID1Z2Lbits
16223 #define Z23 PID1Z2Lbits.Z23 // bit 3, shadows bit in PID1Z2Lbits
16224 #define PID1Z24 PID1Z2Lbits.PID1Z24 // bit 4, shadows bit in PID1Z2Lbits
16225 #define Z24 PID1Z2Lbits.Z24 // bit 4, shadows bit in PID1Z2Lbits
16226 #define PID1Z25 PID1Z2Lbits.PID1Z25 // bit 5, shadows bit in PID1Z2Lbits
16227 #define Z25 PID1Z2Lbits.Z25 // bit 5, shadows bit in PID1Z2Lbits
16228 #define PID1Z26 PID1Z2Lbits.PID1Z26 // bit 6, shadows bit in PID1Z2Lbits
16229 #define Z26 PID1Z2Lbits.Z26 // bit 6, shadows bit in PID1Z2Lbits
16230 #define PID1Z27 PID1Z2Lbits.PID1Z27 // bit 7, shadows bit in PID1Z2Lbits
16231 #define Z27 PID1Z2Lbits.Z27 // bit 7, shadows bit in PID1Z2Lbits
16233 #define PID1Z216 PID1Z2Ubits.PID1Z216 // bit 0, shadows bit in PID1Z2Ubits
16234 #define Z216 PID1Z2Ubits.Z216 // bit 0, shadows bit in PID1Z2Ubits
16236 #define TMR1IE PIE1bits.TMR1IE // bit 0
16237 #define TMR2IE PIE1bits.TMR2IE // bit 1
16238 #define CCP1IE PIE1bits.CCP1IE // bit 2
16239 #define SSP1IE PIE1bits.SSP1IE // bit 3
16240 #define TXIE PIE1bits.TXIE // bit 4
16241 #define RCIE PIE1bits.RCIE // bit 5
16242 #define ADIE PIE1bits.ADIE // bit 6
16243 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
16245 #define CCP2IE PIE2bits.CCP2IE // bit 0
16246 #define TMR4IE PIE2bits.TMR4IE // bit 1
16247 #define TMR6IE PIE2bits.TMR6IE // bit 2
16248 #define BCL1IE PIE2bits.BCL1IE // bit 3
16249 #define C1IE PIE2bits.C1IE // bit 5
16250 #define C2IE PIE2bits.C2IE // bit 6
16252 #define CLC1IE PIE3bits.CLC1IE // bit 0
16253 #define CLC2IE PIE3bits.CLC2IE // bit 1
16254 #define ZCDIE PIE3bits.ZCDIE // bit 4
16255 #define CWGIE PIE3bits.CWGIE // bit 5
16257 #define SMT1IE PIE4bits.SMT1IE // bit 0
16258 #define SMT1PRAIE PIE4bits.SMT1PRAIE // bit 1
16259 #define SMT1PWAIE PIE4bits.SMT1PWAIE // bit 2
16260 #define SMT2IE PIE4bits.SMT2IE // bit 3
16261 #define SMT2PRAIE PIE4bits.SMT2PRAIE // bit 4
16262 #define SMT2PWAIE PIE4bits.SMT2PWAIE // bit 5
16263 #define CRCIE PIE4bits.CRCIE // bit 6
16264 #define SCANIE PIE4bits.SCANIE // bit 7
16266 #define PID1DIE PIE5bits.PID1DIE // bit 0
16267 #define PID1EIE PIE5bits.PID1EIE // bit 1
16268 #define AT1IE PIE5bits.AT1IE // bit 2
16269 #define TMR5IE PIE5bits.TMR5IE // bit 4
16270 #define TMR5GIE PIE5bits.TMR5GIE // bit 5
16271 #define TMR3IE PIE5bits.TMR3IE // bit 6
16272 #define TMR3GIE PIE5bits.TMR3GIE // bit 7
16274 #define TMR1IF PIR1bits.TMR1IF // bit 0
16275 #define TMR2IF PIR1bits.TMR2IF // bit 1
16276 #define CCP1IF PIR1bits.CCP1IF // bit 2
16277 #define SSP1IF PIR1bits.SSP1IF // bit 3
16278 #define TXIF PIR1bits.TXIF // bit 4
16279 #define RCIF PIR1bits.RCIF // bit 5
16280 #define ADIF PIR1bits.ADIF // bit 6
16281 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
16283 #define CCP2IF PIR2bits.CCP2IF // bit 0
16284 #define TMR4IF PIR2bits.TMR4IF // bit 1
16285 #define TMR6IF PIR2bits.TMR6IF // bit 2
16286 #define BCL1IF PIR2bits.BCL1IF // bit 3
16287 #define C1IF PIR2bits.C1IF // bit 5
16288 #define C2IF PIR2bits.C2IF // bit 6
16290 #define CLC1IF PIR3bits.CLC1IF // bit 0
16291 #define CLC2IF PIR3bits.CLC2IF // bit 1
16292 #define ZCDIF PIR3bits.ZCDIF // bit 4
16293 #define CWGIF PIR3bits.CWGIF // bit 5
16295 #define SMT1IF PIR4bits.SMT1IF // bit 0
16296 #define SMT1PRAIF PIR4bits.SMT1PRAIF // bit 1
16297 #define SMT1PWAIF PIR4bits.SMT1PWAIF // bit 2
16298 #define SMT2IF PIR4bits.SMT2IF // bit 3
16299 #define SMT2PRAIF PIR4bits.SMT2PRAIF // bit 4
16300 #define SMT2PWAIF PIR4bits.SMT2PWAIF // bit 5
16301 #define CRCIF PIR4bits.CRCIF // bit 6
16302 #define SCANIF PIR4bits.SCANIF // bit 7
16304 #define PID1DIF PIR5bits.PID1DIF // bit 0
16305 #define PID1EIF PIR5bits.PID1EIF // bit 1
16306 #define AT1IF PIR5bits.AT1IF // bit 2
16307 #define TMR5IF PIR5bits.TMR5IF // bit 4
16308 #define TMR5GIF PIR5bits.TMR5GIF // bit 5
16309 #define TMR3IF PIR5bits.TMR3IF // bit 6
16310 #define TMR3GIF PIR5bits.TMR3GIF // bit 7
16312 #define RD PMCON1bits.RD // bit 0
16313 #define WR PMCON1bits.WR // bit 1
16314 #define WREN PMCON1bits.WREN // bit 2
16315 #define WRERR PMCON1bits.WRERR // bit 3
16316 #define FREE PMCON1bits.FREE // bit 4
16317 #define LWLO PMCON1bits.LWLO // bit 5
16318 #define CFGS PMCON1bits.CFGS // bit 6
16320 #define RA0 PORTAbits.RA0 // bit 0
16321 #define RA1 PORTAbits.RA1 // bit 1
16322 #define RA2 PORTAbits.RA2 // bit 2
16323 #define RA3 PORTAbits.RA3 // bit 3
16324 #define RA4 PORTAbits.RA4 // bit 4
16325 #define RA5 PORTAbits.RA5 // bit 5
16327 #define RB4 PORTBbits.RB4 // bit 4
16328 #define RB5 PORTBbits.RB5 // bit 5
16329 #define RB6 PORTBbits.RB6 // bit 6
16330 #define RB7 PORTBbits.RB7 // bit 7
16332 #define RC0 PORTCbits.RC0 // bit 0
16333 #define RC1 PORTCbits.RC1 // bit 1
16334 #define RC2 PORTCbits.RC2 // bit 2
16335 #define RC3 PORTCbits.RC3 // bit 3
16336 #define RC4 PORTCbits.RC4 // bit 4
16337 #define RC5 PORTCbits.RC5 // bit 5
16338 #define RC6 PORTCbits.RC6 // bit 6
16339 #define RC7 PORTCbits.RC7 // bit 7
16341 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
16343 #define DC2 PWM3DCHbits.DC2 // bit 0, shadows bit in PWM3DCHbits
16344 #define PWM3DC2 PWM3DCHbits.PWM3DC2 // bit 0, shadows bit in PWM3DCHbits
16345 #define PWMPW2 PWM3DCHbits.PWMPW2 // bit 0, shadows bit in PWM3DCHbits
16346 #define DC3 PWM3DCHbits.DC3 // bit 1, shadows bit in PWM3DCHbits
16347 #define PWM3DC3 PWM3DCHbits.PWM3DC3 // bit 1, shadows bit in PWM3DCHbits
16348 #define PWMPW3 PWM3DCHbits.PWMPW3 // bit 1, shadows bit in PWM3DCHbits
16349 #define DC4 PWM3DCHbits.DC4 // bit 2, shadows bit in PWM3DCHbits
16350 #define PWM3DC4 PWM3DCHbits.PWM3DC4 // bit 2, shadows bit in PWM3DCHbits
16351 #define PWMPW4 PWM3DCHbits.PWMPW4 // bit 2, shadows bit in PWM3DCHbits
16352 #define DC5 PWM3DCHbits.DC5 // bit 3, shadows bit in PWM3DCHbits
16353 #define PWM3DC5 PWM3DCHbits.PWM3DC5 // bit 3, shadows bit in PWM3DCHbits
16354 #define PWMPW5 PWM3DCHbits.PWMPW5 // bit 3, shadows bit in PWM3DCHbits
16355 #define DC6 PWM3DCHbits.DC6 // bit 4, shadows bit in PWM3DCHbits
16356 #define PWM3DC6 PWM3DCHbits.PWM3DC6 // bit 4, shadows bit in PWM3DCHbits
16357 #define PWMPW6 PWM3DCHbits.PWMPW6 // bit 4, shadows bit in PWM3DCHbits
16358 #define DC7 PWM3DCHbits.DC7 // bit 5, shadows bit in PWM3DCHbits
16359 #define PWM3DC7 PWM3DCHbits.PWM3DC7 // bit 5, shadows bit in PWM3DCHbits
16360 #define PWMPW7 PWM3DCHbits.PWMPW7 // bit 5, shadows bit in PWM3DCHbits
16361 #define DC8 PWM3DCHbits.DC8 // bit 6, shadows bit in PWM3DCHbits
16362 #define PWM3DC8 PWM3DCHbits.PWM3DC8 // bit 6, shadows bit in PWM3DCHbits
16363 #define PWMPW8 PWM3DCHbits.PWMPW8 // bit 6, shadows bit in PWM3DCHbits
16364 #define DC9 PWM3DCHbits.DC9 // bit 7, shadows bit in PWM3DCHbits
16365 #define PWM3DC9 PWM3DCHbits.PWM3DC9 // bit 7, shadows bit in PWM3DCHbits
16366 #define PWMPW9 PWM3DCHbits.PWMPW9 // bit 7, shadows bit in PWM3DCHbits
16368 #define DC0 PWM3DCLbits.DC0 // bit 6, shadows bit in PWM3DCLbits
16369 #define PWM3DC0 PWM3DCLbits.PWM3DC0 // bit 6, shadows bit in PWM3DCLbits
16370 #define PWMPW0 PWM3DCLbits.PWMPW0 // bit 6, shadows bit in PWM3DCLbits
16371 #define DC1 PWM3DCLbits.DC1 // bit 7, shadows bit in PWM3DCLbits
16372 #define PWM3DC1 PWM3DCLbits.PWM3DC1 // bit 7, shadows bit in PWM3DCLbits
16373 #define PWMPW1 PWM3DCLbits.PWMPW1 // bit 7, shadows bit in PWM3DCLbits
16375 #define RA0PPS0 RA0PPSbits.RA0PPS0 // bit 0
16376 #define RA0PPS1 RA0PPSbits.RA0PPS1 // bit 1
16377 #define RA0PPS2 RA0PPSbits.RA0PPS2 // bit 2
16378 #define RA0PPS3 RA0PPSbits.RA0PPS3 // bit 3
16379 #define RA0PPS4 RA0PPSbits.RA0PPS4 // bit 4
16381 #define RA1PPS0 RA1PPSbits.RA1PPS0 // bit 0
16382 #define RA1PPS1 RA1PPSbits.RA1PPS1 // bit 1
16383 #define RA1PPS2 RA1PPSbits.RA1PPS2 // bit 2
16384 #define RA1PPS3 RA1PPSbits.RA1PPS3 // bit 3
16385 #define RA1PPS4 RA1PPSbits.RA1PPS4 // bit 4
16387 #define RA2PPS0 RA2PPSbits.RA2PPS0 // bit 0
16388 #define RA2PPS1 RA2PPSbits.RA2PPS1 // bit 1
16389 #define RA2PPS2 RA2PPSbits.RA2PPS2 // bit 2
16390 #define RA2PPS3 RA2PPSbits.RA2PPS3 // bit 3
16391 #define RA2PPS4 RA2PPSbits.RA2PPS4 // bit 4
16393 #define RA4PPS0 RA4PPSbits.RA4PPS0 // bit 0
16394 #define RA4PPS1 RA4PPSbits.RA4PPS1 // bit 1
16395 #define RA4PPS2 RA4PPSbits.RA4PPS2 // bit 2
16396 #define RA4PPS3 RA4PPSbits.RA4PPS3 // bit 3
16397 #define RA4PPS4 RA4PPSbits.RA4PPS4 // bit 4
16399 #define RA5PPS0 RA5PPSbits.RA5PPS0 // bit 0
16400 #define RA5PPS1 RA5PPSbits.RA5PPS1 // bit 1
16401 #define RA5PPS2 RA5PPSbits.RA5PPS2 // bit 2
16402 #define RA5PPS3 RA5PPSbits.RA5PPS3 // bit 3
16403 #define RA5PPS4 RA5PPSbits.RA5PPS4 // bit 4
16405 #define RB4PPS0 RB4PPSbits.RB4PPS0 // bit 0
16406 #define RB4PPS1 RB4PPSbits.RB4PPS1 // bit 1
16407 #define RB4PPS2 RB4PPSbits.RB4PPS2 // bit 2
16408 #define RB4PPS3 RB4PPSbits.RB4PPS3 // bit 3
16409 #define RB4PPS4 RB4PPSbits.RB4PPS4 // bit 4
16411 #define RB5PPS0 RB5PPSbits.RB5PPS0 // bit 0
16412 #define RB5PPS1 RB5PPSbits.RB5PPS1 // bit 1
16413 #define RB5PPS2 RB5PPSbits.RB5PPS2 // bit 2
16414 #define RB5PPS3 RB5PPSbits.RB5PPS3 // bit 3
16415 #define RB5PPS4 RB5PPSbits.RB5PPS4 // bit 4
16417 #define RB6PPS0 RB6PPSbits.RB6PPS0 // bit 0
16418 #define RB6PPS1 RB6PPSbits.RB6PPS1 // bit 1
16419 #define RB6PPS2 RB6PPSbits.RB6PPS2 // bit 2
16420 #define RB6PPS3 RB6PPSbits.RB6PPS3 // bit 3
16421 #define RB6PPS4 RB6PPSbits.RB6PPS4 // bit 4
16423 #define RB7PPS0 RB7PPSbits.RB7PPS0 // bit 0
16424 #define RB7PPS1 RB7PPSbits.RB7PPS1 // bit 1
16425 #define RB7PPS2 RB7PPSbits.RB7PPS2 // bit 2
16426 #define RB7PPS3 RB7PPSbits.RB7PPS3 // bit 3
16427 #define RB7PPS4 RB7PPSbits.RB7PPS4 // bit 4
16429 #define RC0PPS0 RC0PPSbits.RC0PPS0 // bit 0
16430 #define RC0PPS1 RC0PPSbits.RC0PPS1 // bit 1
16431 #define RC0PPS2 RC0PPSbits.RC0PPS2 // bit 2
16432 #define RC0PPS3 RC0PPSbits.RC0PPS3 // bit 3
16433 #define RC0PPS4 RC0PPSbits.RC0PPS4 // bit 4
16435 #define RC1PPS0 RC1PPSbits.RC1PPS0 // bit 0
16436 #define RC1PPS1 RC1PPSbits.RC1PPS1 // bit 1
16437 #define RC1PPS2 RC1PPSbits.RC1PPS2 // bit 2
16438 #define RC1PPS3 RC1PPSbits.RC1PPS3 // bit 3
16439 #define RC1PPS4 RC1PPSbits.RC1PPS4 // bit 4
16441 #define RX9D RC1STAbits.RX9D // bit 0
16442 #define OERR RC1STAbits.OERR // bit 1
16443 #define FERR RC1STAbits.FERR // bit 2
16444 #define ADDEN RC1STAbits.ADDEN // bit 3
16445 #define CREN RC1STAbits.CREN // bit 4
16446 #define SREN RC1STAbits.SREN // bit 5
16447 #define RX9 RC1STAbits.RX9 // bit 6
16448 #define SPEN RC1STAbits.SPEN // bit 7
16450 #define RC2PPS0 RC2PPSbits.RC2PPS0 // bit 0
16451 #define RC2PPS1 RC2PPSbits.RC2PPS1 // bit 1
16452 #define RC2PPS2 RC2PPSbits.RC2PPS2 // bit 2
16453 #define RC2PPS3 RC2PPSbits.RC2PPS3 // bit 3
16454 #define RC2PPS4 RC2PPSbits.RC2PPS4 // bit 4
16456 #define RC3PPS0 RC3PPSbits.RC3PPS0 // bit 0
16457 #define RC3PPS1 RC3PPSbits.RC3PPS1 // bit 1
16458 #define RC3PPS2 RC3PPSbits.RC3PPS2 // bit 2
16459 #define RC3PPS3 RC3PPSbits.RC3PPS3 // bit 3
16460 #define RC3PPS4 RC3PPSbits.RC3PPS4 // bit 4
16462 #define RC4PPS0 RC4PPSbits.RC4PPS0 // bit 0
16463 #define RC4PPS1 RC4PPSbits.RC4PPS1 // bit 1
16464 #define RC4PPS2 RC4PPSbits.RC4PPS2 // bit 2
16465 #define RC4PPS3 RC4PPSbits.RC4PPS3 // bit 3
16466 #define RC4PPS4 RC4PPSbits.RC4PPS4 // bit 4
16468 #define RC5PPS0 RC5PPSbits.RC5PPS0 // bit 0
16469 #define RC5PPS1 RC5PPSbits.RC5PPS1 // bit 1
16470 #define RC5PPS2 RC5PPSbits.RC5PPS2 // bit 2
16471 #define RC5PPS3 RC5PPSbits.RC5PPS3 // bit 3
16472 #define RC5PPS4 RC5PPSbits.RC5PPS4 // bit 4
16474 #define RC6PPS0 RC6PPSbits.RC6PPS0 // bit 0
16475 #define RC6PPS1 RC6PPSbits.RC6PPS1 // bit 1
16476 #define RC6PPS2 RC6PPSbits.RC6PPS2 // bit 2
16477 #define RC6PPS3 RC6PPSbits.RC6PPS3 // bit 3
16478 #define RC6PPS4 RC6PPSbits.RC6PPS4 // bit 4
16480 #define RC7PPS0 RC7PPSbits.RC7PPS0 // bit 0
16481 #define RC7PPS1 RC7PPSbits.RC7PPS1 // bit 1
16482 #define RC7PPS2 RC7PPSbits.RC7PPS2 // bit 2
16483 #define RC7PPS3 RC7PPSbits.RC7PPS3 // bit 3
16484 #define RC7PPS4 RC7PPSbits.RC7PPS4 // bit 4
16486 #define RXPPS0 RXPPSbits.RXPPS0 // bit 0
16487 #define RXPPS1 RXPPSbits.RXPPS1 // bit 1
16488 #define RXPPS2 RXPPSbits.RXPPS2 // bit 2
16489 #define RXPPS3 RXPPSbits.RXPPS3 // bit 3
16490 #define RXPPS4 RXPPSbits.RXPPS4 // bit 4
16492 #define HADR8 SCANHADRHbits.HADR8 // bit 0, shadows bit in SCANHADRHbits
16493 #define SCANHADR8 SCANHADRHbits.SCANHADR8 // bit 0, shadows bit in SCANHADRHbits
16494 #define HADR9 SCANHADRHbits.HADR9 // bit 1, shadows bit in SCANHADRHbits
16495 #define SCANHADR9 SCANHADRHbits.SCANHADR9 // bit 1, shadows bit in SCANHADRHbits
16496 #define HADR10 SCANHADRHbits.HADR10 // bit 2, shadows bit in SCANHADRHbits
16497 #define SCANHADR10 SCANHADRHbits.SCANHADR10 // bit 2, shadows bit in SCANHADRHbits
16498 #define HADR11 SCANHADRHbits.HADR11 // bit 3, shadows bit in SCANHADRHbits
16499 #define SCANHADR11 SCANHADRHbits.SCANHADR11 // bit 3, shadows bit in SCANHADRHbits
16500 #define HADR12 SCANHADRHbits.HADR12 // bit 4, shadows bit in SCANHADRHbits
16501 #define SCANHADR12 SCANHADRHbits.SCANHADR12 // bit 4, shadows bit in SCANHADRHbits
16502 #define HADR13 SCANHADRHbits.HADR13 // bit 5, shadows bit in SCANHADRHbits
16503 #define SCANHADR13 SCANHADRHbits.SCANHADR13 // bit 5, shadows bit in SCANHADRHbits
16504 #define HADR14 SCANHADRHbits.HADR14 // bit 6, shadows bit in SCANHADRHbits
16505 #define SCANHADR14 SCANHADRHbits.SCANHADR14 // bit 6, shadows bit in SCANHADRHbits
16506 #define HADR15 SCANHADRHbits.HADR15 // bit 7, shadows bit in SCANHADRHbits
16507 #define SCANHADR15 SCANHADRHbits.SCANHADR15 // bit 7, shadows bit in SCANHADRHbits
16509 #define HADR0 SCANHADRLbits.HADR0 // bit 0, shadows bit in SCANHADRLbits
16510 #define SCANHADR0 SCANHADRLbits.SCANHADR0 // bit 0, shadows bit in SCANHADRLbits
16511 #define HADR1 SCANHADRLbits.HADR1 // bit 1, shadows bit in SCANHADRLbits
16512 #define SCANHADR1 SCANHADRLbits.SCANHADR1 // bit 1, shadows bit in SCANHADRLbits
16513 #define HARD2 SCANHADRLbits.HARD2 // bit 2, shadows bit in SCANHADRLbits
16514 #define SCANHADR2 SCANHADRLbits.SCANHADR2 // bit 2, shadows bit in SCANHADRLbits
16515 #define HADR3 SCANHADRLbits.HADR3 // bit 3, shadows bit in SCANHADRLbits
16516 #define SCANHADR3 SCANHADRLbits.SCANHADR3 // bit 3, shadows bit in SCANHADRLbits
16517 #define HADR4 SCANHADRLbits.HADR4 // bit 4, shadows bit in SCANHADRLbits
16518 #define SCANHADR4 SCANHADRLbits.SCANHADR4 // bit 4, shadows bit in SCANHADRLbits
16519 #define HADR5 SCANHADRLbits.HADR5 // bit 5, shadows bit in SCANHADRLbits
16520 #define SCANHADR5 SCANHADRLbits.SCANHADR5 // bit 5, shadows bit in SCANHADRLbits
16521 #define HADR6 SCANHADRLbits.HADR6 // bit 6, shadows bit in SCANHADRLbits
16522 #define SCANHADR6 SCANHADRLbits.SCANHADR6 // bit 6, shadows bit in SCANHADRLbits
16523 #define HADR7 SCANHADRLbits.HADR7 // bit 7, shadows bit in SCANHADRLbits
16524 #define SCANHADR7 SCANHADRLbits.SCANHADR7 // bit 7, shadows bit in SCANHADRLbits
16526 #define LADR8 SCANLADRHbits.LADR8 // bit 0, shadows bit in SCANLADRHbits
16527 #define SCANLADR8 SCANLADRHbits.SCANLADR8 // bit 0, shadows bit in SCANLADRHbits
16528 #define LADR9 SCANLADRHbits.LADR9 // bit 1, shadows bit in SCANLADRHbits
16529 #define SCANLADR9 SCANLADRHbits.SCANLADR9 // bit 1, shadows bit in SCANLADRHbits
16530 #define LADR10 SCANLADRHbits.LADR10 // bit 2, shadows bit in SCANLADRHbits
16531 #define SCANLADR10 SCANLADRHbits.SCANLADR10 // bit 2, shadows bit in SCANLADRHbits
16532 #define LADR11 SCANLADRHbits.LADR11 // bit 3, shadows bit in SCANLADRHbits
16533 #define SCANLADR11 SCANLADRHbits.SCANLADR11 // bit 3, shadows bit in SCANLADRHbits
16534 #define LADR12 SCANLADRHbits.LADR12 // bit 4, shadows bit in SCANLADRHbits
16535 #define SCANLADR12 SCANLADRHbits.SCANLADR12 // bit 4, shadows bit in SCANLADRHbits
16536 #define LADR13 SCANLADRHbits.LADR13 // bit 5, shadows bit in SCANLADRHbits
16537 #define SCANLADR13 SCANLADRHbits.SCANLADR13 // bit 5, shadows bit in SCANLADRHbits
16538 #define LADR14 SCANLADRHbits.LADR14 // bit 6, shadows bit in SCANLADRHbits
16539 #define SCANLADR14 SCANLADRHbits.SCANLADR14 // bit 6, shadows bit in SCANLADRHbits
16540 #define LADR15 SCANLADRHbits.LADR15 // bit 7, shadows bit in SCANLADRHbits
16541 #define SCANLADR15 SCANLADRHbits.SCANLADR15 // bit 7, shadows bit in SCANLADRHbits
16543 #define LDAR0 SCANLADRLbits.LDAR0 // bit 0, shadows bit in SCANLADRLbits
16544 #define SCANLADR0 SCANLADRLbits.SCANLADR0 // bit 0, shadows bit in SCANLADRLbits
16545 #define LDAR1 SCANLADRLbits.LDAR1 // bit 1, shadows bit in SCANLADRLbits
16546 #define SCANLADR1 SCANLADRLbits.SCANLADR1 // bit 1, shadows bit in SCANLADRLbits
16547 #define LADR2 SCANLADRLbits.LADR2 // bit 2, shadows bit in SCANLADRLbits
16548 #define SCANLADR2 SCANLADRLbits.SCANLADR2 // bit 2, shadows bit in SCANLADRLbits
16549 #define LADR3 SCANLADRLbits.LADR3 // bit 3, shadows bit in SCANLADRLbits
16550 #define SCANLADR3 SCANLADRLbits.SCANLADR3 // bit 3, shadows bit in SCANLADRLbits
16551 #define LADR4 SCANLADRLbits.LADR4 // bit 4, shadows bit in SCANLADRLbits
16552 #define SCANLADR4 SCANLADRLbits.SCANLADR4 // bit 4, shadows bit in SCANLADRLbits
16553 #define LADR5 SCANLADRLbits.LADR5 // bit 5, shadows bit in SCANLADRLbits
16554 #define SCANLADR5 SCANLADRLbits.SCANLADR5 // bit 5, shadows bit in SCANLADRLbits
16555 #define LADR6 SCANLADRLbits.LADR6 // bit 6, shadows bit in SCANLADRLbits
16556 #define SCANLADR6 SCANLADRLbits.SCANLADR6 // bit 6, shadows bit in SCANLADRLbits
16557 #define LADR7 SCANLADRLbits.LADR7 // bit 7, shadows bit in SCANLADRLbits
16558 #define SCANLADR7 SCANLADRLbits.SCANLADR7 // bit 7, shadows bit in SCANLADRLbits
16560 #define TSEL0 SCANTRIGbits.TSEL0 // bit 0, shadows bit in SCANTRIGbits
16561 #define SCANTSEL0 SCANTRIGbits.SCANTSEL0 // bit 0, shadows bit in SCANTRIGbits
16562 #define TSEL1 SCANTRIGbits.TSEL1 // bit 1, shadows bit in SCANTRIGbits
16563 #define SCANTSEL1 SCANTRIGbits.SCANTSEL1 // bit 1, shadows bit in SCANTRIGbits
16564 #define TSEL2 SCANTRIGbits.TSEL2 // bit 2, shadows bit in SCANTRIGbits
16565 #define SCANTSEL2 SCANTRIGbits.SCANTSEL2 // bit 2, shadows bit in SCANTRIGbits
16566 #define TSEL3 SCANTRIGbits.TSEL3 // bit 3, shadows bit in SCANTRIGbits
16567 #define SCANTSEL3 SCANTRIGbits.SCANTSEL3 // bit 3, shadows bit in SCANTRIGbits
16569 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
16570 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
16571 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
16572 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
16573 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
16575 #define SLRB4 SLRCONBbits.SLRB4 // bit 4
16576 #define SLRB5 SLRCONBbits.SLRB5 // bit 5
16577 #define SLRB6 SLRCONBbits.SLRB6 // bit 6
16578 #define SLRB7 SLRCONBbits.SLRB7 // bit 7
16580 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
16581 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
16582 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
16583 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
16584 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
16585 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
16586 #define SLRC6 SLRCONCbits.SLRC6 // bit 6
16587 #define SLRC7 SLRCONCbits.SLRC7 // bit 7
16589 #define CSEL0 SMT1CLKbits.CSEL0 // bit 0, shadows bit in SMT1CLKbits
16590 #define SMT1CSEL0 SMT1CLKbits.SMT1CSEL0 // bit 0, shadows bit in SMT1CLKbits
16591 #define CSEL1 SMT1CLKbits.CSEL1 // bit 1, shadows bit in SMT1CLKbits
16592 #define SMT1CSEL1 SMT1CLKbits.SMT1CSEL1 // bit 1, shadows bit in SMT1CLKbits
16593 #define CSEL2 SMT1CLKbits.CSEL2 // bit 2, shadows bit in SMT1CLKbits
16594 #define SMT1CSEL2 SMT1CLKbits.SMT1CSEL2 // bit 2, shadows bit in SMT1CLKbits
16596 #define SMT1CPR8 SMT1CPRHbits.SMT1CPR8 // bit 0
16597 #define SMT1CPR9 SMT1CPRHbits.SMT1CPR9 // bit 1
16598 #define SMT1CPR10 SMT1CPRHbits.SMT1CPR10 // bit 2
16599 #define SMT1CPR11 SMT1CPRHbits.SMT1CPR11 // bit 3
16600 #define SMT1CPR12 SMT1CPRHbits.SMT1CPR12 // bit 4
16601 #define SMT1CPR13 SMT1CPRHbits.SMT1CPR13 // bit 5
16602 #define SMT1CPR14 SMT1CPRHbits.SMT1CPR14 // bit 6
16603 #define SMT1CPR15 SMT1CPRHbits.SMT1CPR15 // bit 7
16605 #define SMT1CPR0 SMT1CPRLbits.SMT1CPR0 // bit 0
16606 #define SMT1CPR1 SMT1CPRLbits.SMT1CPR1 // bit 1
16607 #define SMT1CPR2 SMT1CPRLbits.SMT1CPR2 // bit 2
16608 #define SMT1CPR3 SMT1CPRLbits.SMT1CPR3 // bit 3
16609 #define SMT1CPR4 SMT1CPRLbits.SMT1CPR4 // bit 4
16610 #define SMT1CPR5 SMT1CPRLbits.SMT1CPR5 // bit 5
16611 #define SMT1CPR6 SMT1CPRLbits.SMT1CPR6 // bit 6
16612 #define SMT1CPR7 SMT1CPRLbits.SMT1CPR7 // bit 7
16614 #define SMT1CPR16 SMT1CPRUbits.SMT1CPR16 // bit 0
16615 #define SMT1CPR17 SMT1CPRUbits.SMT1CPR17 // bit 1
16616 #define SMT1CPR18 SMT1CPRUbits.SMT1CPR18 // bit 2
16617 #define SMT1CPR19 SMT1CPRUbits.SMT1CPR19 // bit 3
16618 #define SMT1CPR20 SMT1CPRUbits.SMT1CPR20 // bit 4
16619 #define SMT1CPR21 SMT1CPRUbits.SMT1CPR21 // bit 5
16620 #define SMT1CPR22 SMT1CPRUbits.SMT1CPR22 // bit 6
16621 #define SMT1CPR23 SMT1CPRUbits.SMT1CPR23 // bit 7
16623 #define SMT1CPW8 SMT1CPWHbits.SMT1CPW8 // bit 0
16624 #define SMT1CPW9 SMT1CPWHbits.SMT1CPW9 // bit 1
16625 #define SMT1CPW10 SMT1CPWHbits.SMT1CPW10 // bit 2
16626 #define SMT1CPW11 SMT1CPWHbits.SMT1CPW11 // bit 3
16627 #define SMT1CPW12 SMT1CPWHbits.SMT1CPW12 // bit 4
16628 #define SMT1CPW13 SMT1CPWHbits.SMT1CPW13 // bit 5
16629 #define SMT1CPW14 SMT1CPWHbits.SMT1CPW14 // bit 6
16630 #define SMT1CPW15 SMT1CPWHbits.SMT1CPW15 // bit 7
16632 #define SMT1CPW0 SMT1CPWLbits.SMT1CPW0 // bit 0
16633 #define SMT1CPW1 SMT1CPWLbits.SMT1CPW1 // bit 1
16634 #define SMT1CPW2 SMT1CPWLbits.SMT1CPW2 // bit 2
16635 #define SMT1CPW3 SMT1CPWLbits.SMT1CPW3 // bit 3
16636 #define SMT1CPW4 SMT1CPWLbits.SMT1CPW4 // bit 4
16637 #define SMT1CPW5 SMT1CPWLbits.SMT1CPW5 // bit 5
16638 #define SMT1CPW6 SMT1CPWLbits.SMT1CPW6 // bit 6
16639 #define SMT1CPW7 SMT1CPWLbits.SMT1CPW7 // bit 7
16641 #define SMT1CPW16 SMT1CPWUbits.SMT1CPW16 // bit 0
16642 #define SMT1CPW17 SMT1CPWUbits.SMT1CPW17 // bit 1
16643 #define SMT1CPW18 SMT1CPWUbits.SMT1CPW18 // bit 2
16644 #define SMT1CPW19 SMT1CPWUbits.SMT1CPW19 // bit 3
16645 #define SMT1CPW20 SMT1CPWUbits.SMT1CPW20 // bit 4
16646 #define SMT1CPW21 SMT1CPWUbits.SMT1CPW21 // bit 5
16647 #define SMT1CPW22 SMT1CPWUbits.SMT1CPW22 // bit 6
16648 #define SMT1CPW23 SMT1CPWUbits.SMT1CPW23 // bit 7
16650 #define SMT1PR8 SMT1PRHbits.SMT1PR8 // bit 0
16651 #define SMT1PR9 SMT1PRHbits.SMT1PR9 // bit 1
16652 #define SMT1PR10 SMT1PRHbits.SMT1PR10 // bit 2
16653 #define SMT1PR11 SMT1PRHbits.SMT1PR11 // bit 3
16654 #define SMT1PR12 SMT1PRHbits.SMT1PR12 // bit 4
16655 #define SMT1PR13 SMT1PRHbits.SMT1PR13 // bit 5
16656 #define SMT1PR14 SMT1PRHbits.SMT1PR14 // bit 6
16657 #define SMT1PR15 SMT1PRHbits.SMT1PR15 // bit 7
16659 #define SMT1PR0 SMT1PRLbits.SMT1PR0 // bit 0
16660 #define SMT1PR1 SMT1PRLbits.SMT1PR1 // bit 1
16661 #define SMT1PR2 SMT1PRLbits.SMT1PR2 // bit 2
16662 #define SMT1PR3 SMT1PRLbits.SMT1PR3 // bit 3
16663 #define SMT1PR4 SMT1PRLbits.SMT1PR4 // bit 4
16664 #define SMT1PR5 SMT1PRLbits.SMT1PR5 // bit 5
16665 #define SMT1PR6 SMT1PRLbits.SMT1PR6 // bit 6
16666 #define SMT1PR7 SMT1PRLbits.SMT1PR7 // bit 7
16668 #define SMT1PR16 SMT1PRUbits.SMT1PR16 // bit 0
16669 #define SMT1PR17 SMT1PRUbits.SMT1PR17 // bit 1
16670 #define SMT1PR18 SMT1PRUbits.SMT1PR18 // bit 2
16671 #define SMT1PR19 SMT1PRUbits.SMT1PR19 // bit 3
16672 #define SMT1PR20 SMT1PRUbits.SMT1PR20 // bit 4
16673 #define SMT1PR21 SMT1PRUbits.SMT1PR21 // bit 5
16674 #define SMT1PR22 SMT1PRUbits.SMT1PR22 // bit 6
16675 #define SMT1PR23 SMT1PRUbits.SMT1PR23 // bit 7
16677 #define SMT1SIGPPS0 SMT1SIGPPSbits.SMT1SIGPPS0 // bit 0
16678 #define SMT1SIGPPS1 SMT1SIGPPSbits.SMT1SIGPPS1 // bit 1
16679 #define SMT1SIGPPS2 SMT1SIGPPSbits.SMT1SIGPPS2 // bit 2
16680 #define SMT1SIGPPS3 SMT1SIGPPSbits.SMT1SIGPPS3 // bit 3
16681 #define SMT1SIGPPS4 SMT1SIGPPSbits.SMT1SIGPPS4 // bit 4
16683 #define AS SMT1STATbits.AS // bit 0, shadows bit in SMT1STATbits
16684 #define SMT1AS SMT1STATbits.SMT1AS // bit 0, shadows bit in SMT1STATbits
16685 #define WS SMT1STATbits.WS // bit 1, shadows bit in SMT1STATbits
16686 #define SMT1WS SMT1STATbits.SMT1WS // bit 1, shadows bit in SMT1STATbits
16687 #define TS SMT1STATbits.TS // bit 2, shadows bit in SMT1STATbits
16688 #define SMT1TS SMT1STATbits.SMT1TS // bit 2, shadows bit in SMT1STATbits
16689 #define RST SMT1STATbits.RST // bit 5, shadows bit in SMT1STATbits
16690 #define SMT1RESET SMT1STATbits.SMT1RESET // bit 5, shadows bit in SMT1STATbits
16691 #define CPWUP SMT1STATbits.CPWUP // bit 6, shadows bit in SMT1STATbits
16692 #define SMT1CPWUP SMT1STATbits.SMT1CPWUP // bit 6, shadows bit in SMT1STATbits
16693 #define CPRUP SMT1STATbits.CPRUP // bit 7, shadows bit in SMT1STATbits
16694 #define SMT1CPRUP SMT1STATbits.SMT1CPRUP // bit 7, shadows bit in SMT1STATbits
16696 #define SMT1TMR8 SMT1TMRHbits.SMT1TMR8 // bit 0
16697 #define SMT1TMR9 SMT1TMRHbits.SMT1TMR9 // bit 1
16698 #define SMT1TMR10 SMT1TMRHbits.SMT1TMR10 // bit 2
16699 #define SMT1TMR11 SMT1TMRHbits.SMT1TMR11 // bit 3
16700 #define SMT1TMR12 SMT1TMRHbits.SMT1TMR12 // bit 4
16701 #define SMT1TMR13 SMT1TMRHbits.SMT1TMR13 // bit 5
16702 #define SMT1TMR14 SMT1TMRHbits.SMT1TMR14 // bit 6
16703 #define SMT1TMR15 SMT1TMRHbits.SMT1TMR15 // bit 7
16705 #define SMT1TMR0 SMT1TMRLbits.SMT1TMR0 // bit 0
16706 #define SMT1TMR1 SMT1TMRLbits.SMT1TMR1 // bit 1
16707 #define SMT1TMR2 SMT1TMRLbits.SMT1TMR2 // bit 2
16708 #define SMT1TMR3 SMT1TMRLbits.SMT1TMR3 // bit 3
16709 #define SMT1TMR4 SMT1TMRLbits.SMT1TMR4 // bit 4
16710 #define SMT1TMR5 SMT1TMRLbits.SMT1TMR5 // bit 5
16711 #define SMT1TMR6 SMT1TMRLbits.SMT1TMR6 // bit 6
16712 #define SMT1TMR7 SMT1TMRLbits.SMT1TMR7 // bit 7
16714 #define SMT1TMR16 SMT1TMRUbits.SMT1TMR16 // bit 0
16715 #define SMT1TMR17 SMT1TMRUbits.SMT1TMR17 // bit 1
16716 #define SMT1TMR18 SMT1TMRUbits.SMT1TMR18 // bit 2
16717 #define SMT1TMR19 SMT1TMRUbits.SMT1TMR19 // bit 3
16718 #define SMT1TMR20 SMT1TMRUbits.SMT1TMR20 // bit 4
16719 #define SMT1TMR21 SMT1TMRUbits.SMT1TMR21 // bit 5
16720 #define SMT1TMR22 SMT1TMRUbits.SMT1TMR22 // bit 6
16721 #define SMT1TMR23 SMT1TMRUbits.SMT1TMR23 // bit 7
16723 #define WSEL0 SMT1WINbits.WSEL0 // bit 0, shadows bit in SMT1WINbits
16724 #define SMT1WSEL0 SMT1WINbits.SMT1WSEL0 // bit 0, shadows bit in SMT1WINbits
16725 #define WSEL1 SMT1WINbits.WSEL1 // bit 1, shadows bit in SMT1WINbits
16726 #define SMT1WSEL1 SMT1WINbits.SMT1WSEL1 // bit 1, shadows bit in SMT1WINbits
16727 #define WSEL2 SMT1WINbits.WSEL2 // bit 2, shadows bit in SMT1WINbits
16728 #define SMT1WSEL2 SMT1WINbits.SMT1WSEL2 // bit 2, shadows bit in SMT1WINbits
16729 #define WSEL3 SMT1WINbits.WSEL3 // bit 3, shadows bit in SMT1WINbits
16730 #define SMT1WSEL3 SMT1WINbits.SMT1WSEL3 // bit 3, shadows bit in SMT1WINbits
16731 #define WSEL4 SMT1WINbits.WSEL4 // bit 4, shadows bit in SMT1WINbits
16732 #define SMT1WSEL4 SMT1WINbits.SMT1WSEL4 // bit 4, shadows bit in SMT1WINbits
16734 #define SMTWINPPS0 SMT1WINPPSbits.SMTWINPPS0 // bit 0
16735 #define SMTWINPPS1 SMT1WINPPSbits.SMTWINPPS1 // bit 1
16736 #define SMTWINPPS2 SMT1WINPPSbits.SMTWINPPS2 // bit 2
16737 #define SMTWINPPS3 SMT1WINPPSbits.SMTWINPPS3 // bit 3
16738 #define SMTWINPPS4 SMT1WINPPSbits.SMTWINPPS4 // bit 4
16740 #define SMT2CPR8 SMT2CPRHbits.SMT2CPR8 // bit 0
16741 #define SMT2CPR9 SMT2CPRHbits.SMT2CPR9 // bit 1
16742 #define SMT2CPR10 SMT2CPRHbits.SMT2CPR10 // bit 2
16743 #define SMT2CPR11 SMT2CPRHbits.SMT2CPR11 // bit 3
16744 #define SMT2CPR12 SMT2CPRHbits.SMT2CPR12 // bit 4
16745 #define SMT2CPR13 SMT2CPRHbits.SMT2CPR13 // bit 5
16746 #define SMT2CPR14 SMT2CPRHbits.SMT2CPR14 // bit 6
16747 #define SMT2CPR15 SMT2CPRHbits.SMT2CPR15 // bit 7
16749 #define SMT2CPR0 SMT2CPRLbits.SMT2CPR0 // bit 0
16750 #define SMT2CPR1 SMT2CPRLbits.SMT2CPR1 // bit 1
16751 #define SMT2CPR2 SMT2CPRLbits.SMT2CPR2 // bit 2
16752 #define SMT2CPR3 SMT2CPRLbits.SMT2CPR3 // bit 3
16753 #define SMT2CPR4 SMT2CPRLbits.SMT2CPR4 // bit 4
16754 #define SMT2CPR5 SMT2CPRLbits.SMT2CPR5 // bit 5
16755 #define SMT2CPR6 SMT2CPRLbits.SMT2CPR6 // bit 6
16756 #define SMT2CPR7 SMT2CPRLbits.SMT2CPR7 // bit 7
16758 #define SMT2CPR16 SMT2CPRUbits.SMT2CPR16 // bit 0
16759 #define SMT2CPR17 SMT2CPRUbits.SMT2CPR17 // bit 1
16760 #define SMT2CPR18 SMT2CPRUbits.SMT2CPR18 // bit 2
16761 #define SMT2CPR19 SMT2CPRUbits.SMT2CPR19 // bit 3
16762 #define SMT2CPR20 SMT2CPRUbits.SMT2CPR20 // bit 4
16763 #define SMT2CPR21 SMT2CPRUbits.SMT2CPR21 // bit 5
16764 #define SMT2CPR22 SMT2CPRUbits.SMT2CPR22 // bit 6
16765 #define SMT2CPR23 SMT2CPRUbits.SMT2CPR23 // bit 7
16767 #define SMT2CPW8 SMT2CPWHbits.SMT2CPW8 // bit 0
16768 #define SMT2CPW9 SMT2CPWHbits.SMT2CPW9 // bit 1
16769 #define SMT2CPW10 SMT2CPWHbits.SMT2CPW10 // bit 2
16770 #define SMT2CPW11 SMT2CPWHbits.SMT2CPW11 // bit 3
16771 #define SMT2CPW12 SMT2CPWHbits.SMT2CPW12 // bit 4
16772 #define SMT2CPW13 SMT2CPWHbits.SMT2CPW13 // bit 5
16773 #define SMT2CPW14 SMT2CPWHbits.SMT2CPW14 // bit 6
16774 #define SMT2CPW15 SMT2CPWHbits.SMT2CPW15 // bit 7
16776 #define SMT2CPW0 SMT2CPWLbits.SMT2CPW0 // bit 0
16777 #define SMT2CPW1 SMT2CPWLbits.SMT2CPW1 // bit 1
16778 #define SMT2CPW2 SMT2CPWLbits.SMT2CPW2 // bit 2
16779 #define SMT2CPW3 SMT2CPWLbits.SMT2CPW3 // bit 3
16780 #define SMT2CPW4 SMT2CPWLbits.SMT2CPW4 // bit 4
16781 #define SMT2CPW5 SMT2CPWLbits.SMT2CPW5 // bit 5
16782 #define SMT2CPW6 SMT2CPWLbits.SMT2CPW6 // bit 6
16783 #define SMT2CPW7 SMT2CPWLbits.SMT2CPW7 // bit 7
16785 #define SMT2CPW16 SMT2CPWUbits.SMT2CPW16 // bit 0
16786 #define SMT2CPW17 SMT2CPWUbits.SMT2CPW17 // bit 1
16787 #define SMT2CPW18 SMT2CPWUbits.SMT2CPW18 // bit 2
16788 #define SMT2CPW19 SMT2CPWUbits.SMT2CPW19 // bit 3
16789 #define SMT2CPW20 SMT2CPWUbits.SMT2CPW20 // bit 4
16790 #define SMT2CPW21 SMT2CPWUbits.SMT2CPW21 // bit 5
16791 #define SMT2CPW22 SMT2CPWUbits.SMT2CPW22 // bit 6
16792 #define SMT2CPW23 SMT2CPWUbits.SMT2CPW23 // bit 7
16794 #define SMT2PR8 SMT2PRHbits.SMT2PR8 // bit 0
16795 #define SMT2PR9 SMT2PRHbits.SMT2PR9 // bit 1
16796 #define SMT2PR10 SMT2PRHbits.SMT2PR10 // bit 2
16797 #define SMT2PR11 SMT2PRHbits.SMT2PR11 // bit 3
16798 #define SMT2PR12 SMT2PRHbits.SMT2PR12 // bit 4
16799 #define SMT2PR13 SMT2PRHbits.SMT2PR13 // bit 5
16800 #define SMT2PR14 SMT2PRHbits.SMT2PR14 // bit 6
16801 #define SMT2PR15 SMT2PRHbits.SMT2PR15 // bit 7
16803 #define SMT2PR0 SMT2PRLbits.SMT2PR0 // bit 0
16804 #define SMT2PR1 SMT2PRLbits.SMT2PR1 // bit 1
16805 #define SMT2PR2 SMT2PRLbits.SMT2PR2 // bit 2
16806 #define SMT2PR3 SMT2PRLbits.SMT2PR3 // bit 3
16807 #define SMT2PR4 SMT2PRLbits.SMT2PR4 // bit 4
16808 #define SMT2PR5 SMT2PRLbits.SMT2PR5 // bit 5
16809 #define SMT2PR6 SMT2PRLbits.SMT2PR6 // bit 6
16810 #define SMT2PR7 SMT2PRLbits.SMT2PR7 // bit 7
16812 #define SMT2PR16 SMT2PRUbits.SMT2PR16 // bit 0
16813 #define SMT2PR17 SMT2PRUbits.SMT2PR17 // bit 1
16814 #define SMT2PR18 SMT2PRUbits.SMT2PR18 // bit 2
16815 #define SMT2PR19 SMT2PRUbits.SMT2PR19 // bit 3
16816 #define SMT2PR20 SMT2PRUbits.SMT2PR20 // bit 4
16817 #define SMT2PR21 SMT2PRUbits.SMT2PR21 // bit 5
16818 #define SMT2PR22 SMT2PRUbits.SMT2PR22 // bit 6
16819 #define SMT2PR23 SMT2PRUbits.SMT2PR23 // bit 7
16821 #define SMT2SIGPPS0 SMT2SIGPPSbits.SMT2SIGPPS0 // bit 0
16822 #define SMT2SIGPPS1 SMT2SIGPPSbits.SMT2SIGPPS1 // bit 1
16823 #define SMT2SIGPPS2 SMT2SIGPPSbits.SMT2SIGPPS2 // bit 2
16824 #define SMT2SIGPPS3 SMT2SIGPPSbits.SMT2SIGPPS3 // bit 3
16825 #define SMT2SIGPPS4 SMT2SIGPPSbits.SMT2SIGPPS4 // bit 4
16827 #define SMT2TMR8 SMT2TMRHbits.SMT2TMR8 // bit 0
16828 #define SMT2TMR9 SMT2TMRHbits.SMT2TMR9 // bit 1
16829 #define SMT2TMR10 SMT2TMRHbits.SMT2TMR10 // bit 2
16830 #define SMT2TMR11 SMT2TMRHbits.SMT2TMR11 // bit 3
16831 #define SMT2TMR12 SMT2TMRHbits.SMT2TMR12 // bit 4
16832 #define SMT2TMR13 SMT2TMRHbits.SMT2TMR13 // bit 5
16833 #define SMT2TMR14 SMT2TMRHbits.SMT2TMR14 // bit 6
16834 #define SMT2TMR15 SMT2TMRHbits.SMT2TMR15 // bit 7
16836 #define SMT2TMR0 SMT2TMRLbits.SMT2TMR0 // bit 0
16837 #define SMT2TMR1 SMT2TMRLbits.SMT2TMR1 // bit 1
16838 #define SMT2TMR2 SMT2TMRLbits.SMT2TMR2 // bit 2
16839 #define SMT2TMR3 SMT2TMRLbits.SMT2TMR3 // bit 3
16840 #define SMT2TMR4 SMT2TMRLbits.SMT2TMR4 // bit 4
16841 #define SMT2TMR5 SMT2TMRLbits.SMT2TMR5 // bit 5
16842 #define SMT2TMR6 SMT2TMRLbits.SMT2TMR6 // bit 6
16843 #define SMT2TMR7 SMT2TMRLbits.SMT2TMR7 // bit 7
16845 #define SMT2TMR16 SMT2TMRUbits.SMT2TMR16 // bit 0
16846 #define SMT2TMR17 SMT2TMRUbits.SMT2TMR17 // bit 1
16847 #define SMT2TMR18 SMT2TMRUbits.SMT2TMR18 // bit 2
16848 #define SMT2TMR19 SMT2TMRUbits.SMT2TMR19 // bit 3
16849 #define SMT2TMR20 SMT2TMRUbits.SMT2TMR20 // bit 4
16850 #define SMT2TMR21 SMT2TMRUbits.SMT2TMR21 // bit 5
16851 #define SMT2TMR22 SMT2TMRUbits.SMT2TMR22 // bit 6
16852 #define SMT2TMR23 SMT2TMRUbits.SMT2TMR23 // bit 7
16854 #define SMT2WINPPS0 SMT2WINPPSbits.SMT2WINPPS0 // bit 0
16855 #define SMT2WINPPS1 SMT2WINPPSbits.SMT2WINPPS1 // bit 1
16856 #define SMT2WINPPS2 SMT2WINPPSbits.SMT2WINPPS2 // bit 2
16857 #define SMT2WINPPS3 SMT2WINPPSbits.SMT2WINPPS3 // bit 3
16858 #define SMT2WINPPS4 SMT2WINPPSbits.SMT2WINPPS4 // bit 4
16860 #define SSP1ADD0 SSP1ADDbits.SSP1ADD0 // bit 0, shadows bit in SSP1ADDbits
16861 #define ADD0 SSP1ADDbits.ADD0 // bit 0, shadows bit in SSP1ADDbits
16862 #define SSP1ADD1 SSP1ADDbits.SSP1ADD1 // bit 1, shadows bit in SSP1ADDbits
16863 #define ADD1 SSP1ADDbits.ADD1 // bit 1, shadows bit in SSP1ADDbits
16864 #define SSP1ADD2 SSP1ADDbits.SSP1ADD2 // bit 2, shadows bit in SSP1ADDbits
16865 #define ADD2 SSP1ADDbits.ADD2 // bit 2, shadows bit in SSP1ADDbits
16866 #define SSP1ADD3 SSP1ADDbits.SSP1ADD3 // bit 3, shadows bit in SSP1ADDbits
16867 #define ADD3 SSP1ADDbits.ADD3 // bit 3, shadows bit in SSP1ADDbits
16868 #define SSP1ADD4 SSP1ADDbits.SSP1ADD4 // bit 4, shadows bit in SSP1ADDbits
16869 #define ADD4 SSP1ADDbits.ADD4 // bit 4, shadows bit in SSP1ADDbits
16870 #define SSP1ADD5 SSP1ADDbits.SSP1ADD5 // bit 5, shadows bit in SSP1ADDbits
16871 #define ADD5 SSP1ADDbits.ADD5 // bit 5, shadows bit in SSP1ADDbits
16872 #define SSP1ADD6 SSP1ADDbits.SSP1ADD6 // bit 6, shadows bit in SSP1ADDbits
16873 #define ADD6 SSP1ADDbits.ADD6 // bit 6, shadows bit in SSP1ADDbits
16874 #define SSP1ADD7 SSP1ADDbits.SSP1ADD7 // bit 7, shadows bit in SSP1ADDbits
16875 #define ADD7 SSP1ADDbits.ADD7 // bit 7, shadows bit in SSP1ADDbits
16877 #define SSP1BUF0 SSP1BUFbits.SSP1BUF0 // bit 0, shadows bit in SSP1BUFbits
16878 #define BUF0 SSP1BUFbits.BUF0 // bit 0, shadows bit in SSP1BUFbits
16879 #define SSP1BUF1 SSP1BUFbits.SSP1BUF1 // bit 1, shadows bit in SSP1BUFbits
16880 #define BUF1 SSP1BUFbits.BUF1 // bit 1, shadows bit in SSP1BUFbits
16881 #define SSP1BUF2 SSP1BUFbits.SSP1BUF2 // bit 2, shadows bit in SSP1BUFbits
16882 #define BUF2 SSP1BUFbits.BUF2 // bit 2, shadows bit in SSP1BUFbits
16883 #define SSP1BUF3 SSP1BUFbits.SSP1BUF3 // bit 3, shadows bit in SSP1BUFbits
16884 #define BUF3 SSP1BUFbits.BUF3 // bit 3, shadows bit in SSP1BUFbits
16885 #define SSP1BUF4 SSP1BUFbits.SSP1BUF4 // bit 4, shadows bit in SSP1BUFbits
16886 #define BUF4 SSP1BUFbits.BUF4 // bit 4, shadows bit in SSP1BUFbits
16887 #define SSP1BUF5 SSP1BUFbits.SSP1BUF5 // bit 5, shadows bit in SSP1BUFbits
16888 #define BUF5 SSP1BUFbits.BUF5 // bit 5, shadows bit in SSP1BUFbits
16889 #define SSP1BUF6 SSP1BUFbits.SSP1BUF6 // bit 6, shadows bit in SSP1BUFbits
16890 #define BUF6 SSP1BUFbits.BUF6 // bit 6, shadows bit in SSP1BUFbits
16891 #define SSP1BUF7 SSP1BUFbits.SSP1BUF7 // bit 7, shadows bit in SSP1BUFbits
16892 #define BUF7 SSP1BUFbits.BUF7 // bit 7, shadows bit in SSP1BUFbits
16894 #define SSPM0 SSP1CONbits.SSPM0 // bit 0
16895 #define SSPM1 SSP1CONbits.SSPM1 // bit 1
16896 #define SSPM2 SSP1CONbits.SSPM2 // bit 2
16897 #define SSPM3 SSP1CONbits.SSPM3 // bit 3
16898 #define CKP SSP1CONbits.CKP // bit 4
16899 #define SSPEN SSP1CONbits.SSPEN // bit 5
16900 #define SSPOV SSP1CONbits.SSPOV // bit 6
16901 #define WCOL SSP1CONbits.WCOL // bit 7
16903 #define SEN SSP1CON2bits.SEN // bit 0
16904 #define RSEN SSP1CON2bits.RSEN // bit 1
16905 #define PEN SSP1CON2bits.PEN // bit 2
16906 #define RCEN SSP1CON2bits.RCEN // bit 3
16907 #define ACKEN SSP1CON2bits.ACKEN // bit 4
16908 #define ACKDT SSP1CON2bits.ACKDT // bit 5
16909 #define ACKSTAT SSP1CON2bits.ACKSTAT // bit 6
16910 #define GCEN SSP1CON2bits.GCEN // bit 7
16912 #define DHEN SSP1CON3bits.DHEN // bit 0
16913 #define AHEN SSP1CON3bits.AHEN // bit 1
16914 #define SBCDE SSP1CON3bits.SBCDE // bit 2
16915 #define SDAHT SSP1CON3bits.SDAHT // bit 3
16916 #define BOEN SSP1CON3bits.BOEN // bit 4
16917 #define SCIE SSP1CON3bits.SCIE // bit 5
16918 #define PCIE SSP1CON3bits.PCIE // bit 6
16919 #define ACKTIM SSP1CON3bits.ACKTIM // bit 7
16921 #define SSP1MSK0 SSP1MSKbits.SSP1MSK0 // bit 0, shadows bit in SSP1MSKbits
16922 #define MSK0 SSP1MSKbits.MSK0 // bit 0, shadows bit in SSP1MSKbits
16923 #define SSP1MSK1 SSP1MSKbits.SSP1MSK1 // bit 1, shadows bit in SSP1MSKbits
16924 #define MSK1 SSP1MSKbits.MSK1 // bit 1, shadows bit in SSP1MSKbits
16925 #define SSP1MSK2 SSP1MSKbits.SSP1MSK2 // bit 2, shadows bit in SSP1MSKbits
16926 #define MSK2 SSP1MSKbits.MSK2 // bit 2, shadows bit in SSP1MSKbits
16927 #define SSP1MSK3 SSP1MSKbits.SSP1MSK3 // bit 3, shadows bit in SSP1MSKbits
16928 #define MSK3 SSP1MSKbits.MSK3 // bit 3, shadows bit in SSP1MSKbits
16929 #define SSP1MSK4 SSP1MSKbits.SSP1MSK4 // bit 4, shadows bit in SSP1MSKbits
16930 #define MSK4 SSP1MSKbits.MSK4 // bit 4, shadows bit in SSP1MSKbits
16931 #define SSP1MSK5 SSP1MSKbits.SSP1MSK5 // bit 5, shadows bit in SSP1MSKbits
16932 #define MSK5 SSP1MSKbits.MSK5 // bit 5, shadows bit in SSP1MSKbits
16933 #define SSP1MSK6 SSP1MSKbits.SSP1MSK6 // bit 6, shadows bit in SSP1MSKbits
16934 #define MSK6 SSP1MSKbits.MSK6 // bit 6, shadows bit in SSP1MSKbits
16935 #define SSP1MSK7 SSP1MSKbits.SSP1MSK7 // bit 7, shadows bit in SSP1MSKbits
16936 #define MSK7 SSP1MSKbits.MSK7 // bit 7, shadows bit in SSP1MSKbits
16938 #define BF SSP1STATbits.BF // bit 0
16939 #define UA SSP1STATbits.UA // bit 1
16940 #define R_NOT_W SSP1STATbits.R_NOT_W // bit 2
16941 #define S SSP1STATbits.S // bit 3
16942 #define P SSP1STATbits.P // bit 4
16943 #define D_NOT_A SSP1STATbits.D_NOT_A // bit 5
16944 #define CKE SSP1STATbits.CKE // bit 6
16945 #define SMP SSP1STATbits.SMP // bit 7
16947 #define SSPCLKPPS0 SSPCLKPPSbits.SSPCLKPPS0 // bit 0
16948 #define SSPCLKPPS1 SSPCLKPPSbits.SSPCLKPPS1 // bit 1
16949 #define SSPCLKPPS2 SSPCLKPPSbits.SSPCLKPPS2 // bit 2
16950 #define SSPCLKPPS3 SSPCLKPPSbits.SSPCLKPPS3 // bit 3
16951 #define SSPCLKPPS4 SSPCLKPPSbits.SSPCLKPPS4 // bit 4
16953 #define SSPDATPPS0 SSPDATPPSbits.SSPDATPPS0 // bit 0
16954 #define SSPDATPPS1 SSPDATPPSbits.SSPDATPPS1 // bit 1
16955 #define SSPDATPPS2 SSPDATPPSbits.SSPDATPPS2 // bit 2
16956 #define SSPDATPPS3 SSPDATPPSbits.SSPDATPPS3 // bit 3
16957 #define SSPDATPPS4 SSPDATPPSbits.SSPDATPPS4 // bit 4
16959 #define SSPSSPPS0 SSPSSPPSbits.SSPSSPPS0 // bit 0
16960 #define SSPSSPPS1 SSPSSPPSbits.SSPSSPPS1 // bit 1
16961 #define SSPSSPPS2 SSPSSPPSbits.SSPSSPPS2 // bit 2
16962 #define SSPSSPPS3 SSPSSPPSbits.SSPSSPPS3 // bit 3
16963 #define SSPSSPPS4 SSPSSPPSbits.SSPSSPPS4 // bit 4
16965 #define C STATUSbits.C // bit 0
16966 #define DC STATUSbits.DC // bit 1
16967 #define Z STATUSbits.Z // bit 2
16968 #define NOT_PD STATUSbits.NOT_PD // bit 3
16969 #define NOT_TO STATUSbits.NOT_TO // bit 4
16971 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
16972 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
16973 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
16975 #define T0CKIPPS0 T0CKIPPSbits.T0CKIPPS0 // bit 0
16976 #define T0CKIPPS1 T0CKIPPSbits.T0CKIPPS1 // bit 1
16977 #define T0CKIPPS2 T0CKIPPSbits.T0CKIPPS2 // bit 2
16978 #define T0CKIPPS3 T0CKIPPSbits.T0CKIPPS3 // bit 3
16979 #define T0CKIPPS4 T0CKIPPSbits.T0CKIPPS4 // bit 4
16981 #define T1CKIPPS0 T1CKIPPSbits.T1CKIPPS0 // bit 0
16982 #define T1CKIPPS1 T1CKIPPSbits.T1CKIPPS1 // bit 1
16983 #define T1CKIPPS2 T1CKIPPSbits.T1CKIPPS2 // bit 2
16984 #define T1CKIPPS3 T1CKIPPSbits.T1CKIPPS3 // bit 3
16985 #define T1CKIPPS4 T1CKIPPSbits.T1CKIPPS4 // bit 4
16987 #define TMR1ON T1CONbits.TMR1ON // bit 0
16988 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
16989 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
16990 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
16991 #define TMR1CS0 T1CONbits.TMR1CS0 // bit 6
16992 #define TMR1CS1 T1CONbits.TMR1CS1 // bit 7
16994 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0
16995 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1
16996 #define T1GVAL T1GCONbits.T1GVAL // bit 2
16997 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3
16998 #define T1GSPM T1GCONbits.T1GSPM // bit 4
16999 #define T1GTM T1GCONbits.T1GTM // bit 5
17000 #define T1GPOL T1GCONbits.T1GPOL // bit 6
17001 #define TMR1GE T1GCONbits.TMR1GE // bit 7
17003 #define T1GPPS0 T1GPPSbits.T1GPPS0 // bit 0
17004 #define T1GPPS1 T1GPPSbits.T1GPPS1 // bit 1
17005 #define T1GPPS2 T1GPPSbits.T1GPPS2 // bit 2
17006 #define T1GPPS3 T1GPPSbits.T1GPPS3 // bit 3
17007 #define T1GPPS4 T1GPPSbits.T1GPPS4 // bit 4
17009 #define OUTPS0 T2CONbits.OUTPS0 // bit 0, shadows bit in T2CONbits
17010 #define T2OUTPS0 T2CONbits.T2OUTPS0 // bit 0, shadows bit in T2CONbits
17011 #define OUTPS1 T2CONbits.OUTPS1 // bit 1, shadows bit in T2CONbits
17012 #define T2OUTPS1 T2CONbits.T2OUTPS1 // bit 1, shadows bit in T2CONbits
17013 #define OUTPS2 T2CONbits.OUTPS2 // bit 2, shadows bit in T2CONbits
17014 #define T2OUTPS2 T2CONbits.T2OUTPS2 // bit 2, shadows bit in T2CONbits
17015 #define OUTPS3 T2CONbits.OUTPS3 // bit 3, shadows bit in T2CONbits
17016 #define T2OUTPS3 T2CONbits.T2OUTPS3 // bit 3, shadows bit in T2CONbits
17017 #define CKPS0 T2CONbits.CKPS0 // bit 4, shadows bit in T2CONbits
17018 #define T2CKPS0 T2CONbits.T2CKPS0 // bit 4, shadows bit in T2CONbits
17019 #define CKPS1 T2CONbits.CKPS1 // bit 5, shadows bit in T2CONbits
17020 #define T2CKPS1 T2CONbits.T2CKPS1 // bit 5, shadows bit in T2CONbits
17021 #define CKPS2 T2CONbits.CKPS2 // bit 6, shadows bit in T2CONbits
17022 #define T2CKPS2 T2CONbits.T2CKPS2 // bit 6, shadows bit in T2CONbits
17023 #define ON T2CONbits.ON // bit 7, shadows bit in T2CONbits
17024 #define T2ON T2CONbits.T2ON // bit 7, shadows bit in T2CONbits
17025 #define TMR2ON T2CONbits.TMR2ON // bit 7, shadows bit in T2CONbits
17027 #define T2PPS0 T2PPSbits.T2PPS0 // bit 0
17028 #define T2PPS1 T2PPSbits.T2PPS1 // bit 1
17029 #define T2PPS2 T2PPSbits.T2PPS2 // bit 2
17030 #define T2PPS3 T2PPSbits.T2PPS3 // bit 3
17031 #define T2PPS4 T2PPSbits.T2PPS4 // bit 4
17033 #define RSEL0 T2RSTbits.RSEL0 // bit 0, shadows bit in T2RSTbits
17034 #define T2RSEL0 T2RSTbits.T2RSEL0 // bit 0, shadows bit in T2RSTbits
17035 #define RSEL1 T2RSTbits.RSEL1 // bit 1, shadows bit in T2RSTbits
17036 #define T2RSEL1 T2RSTbits.T2RSEL1 // bit 1, shadows bit in T2RSTbits
17037 #define RSEL2 T2RSTbits.RSEL2 // bit 2, shadows bit in T2RSTbits
17038 #define T2RSEL2 T2RSTbits.T2RSEL2 // bit 2, shadows bit in T2RSTbits
17039 #define RSEL3 T2RSTbits.RSEL3 // bit 3, shadows bit in T2RSTbits
17040 #define T2RSEL3 T2RSTbits.T2RSEL3 // bit 3, shadows bit in T2RSTbits
17042 #define T3CKIPPS0 T3CKIPPSbits.T3CKIPPS0 // bit 0
17043 #define T3CKIPPS1 T3CKIPPSbits.T3CKIPPS1 // bit 1
17044 #define T3CKIPPS2 T3CKIPPSbits.T3CKIPPS2 // bit 2
17045 #define T3CKIPPS3 T3CKIPPSbits.T3CKIPPS3 // bit 3
17046 #define T3CKIPPS4 T3CKIPPSbits.T3CKIPPS4 // bit 4
17048 #define TMR3ON T3CONbits.TMR3ON // bit 0
17049 #define T3SYNC T3CONbits.T3SYNC // bit 2
17050 #define T3CKPS0 T3CONbits.T3CKPS0 // bit 4
17051 #define T3CKPS1 T3CONbits.T3CKPS1 // bit 5
17052 #define TMR3CS0 T3CONbits.TMR3CS0 // bit 6
17053 #define TMR3CS1 T3CONbits.TMR3CS1 // bit 7
17055 #define T3GSS0 T3GCONbits.T3GSS0 // bit 0
17056 #define T3GSS1 T3GCONbits.T3GSS1 // bit 1
17057 #define T3GVAL T3GCONbits.T3GVAL // bit 2
17058 #define T3GGO_NOT_DONE T3GCONbits.T3GGO_NOT_DONE // bit 3
17059 #define T3GSPM T3GCONbits.T3GSPM // bit 4
17060 #define T3GTM T3GCONbits.T3GTM // bit 5
17061 #define T3GPOL T3GCONbits.T3GPOL // bit 6
17062 #define TMR3GE T3GCONbits.TMR3GE // bit 7
17064 #define T3GPPS0 T3GPPSbits.T3GPPS0 // bit 0
17065 #define T3GPPS1 T3GPPSbits.T3GPPS1 // bit 1
17066 #define T3GPPS2 T3GPPSbits.T3GPPS2 // bit 2
17067 #define T3GPPS3 T3GPPSbits.T3GPPS3 // bit 3
17068 #define T3GPPS4 T3GPPSbits.T3GPPS4 // bit 4
17070 #define T4PPS0 T4PPSbits.T4PPS0 // bit 0
17071 #define T4PPS1 T4PPSbits.T4PPS1 // bit 1
17072 #define T4PPS2 T4PPSbits.T4PPS2 // bit 2
17073 #define T4PPS3 T4PPSbits.T4PPS3 // bit 3
17074 #define T4PPS4 T4PPSbits.T4PPS4 // bit 4
17076 #define T5CKIPPS0 T5CKIPPSbits.T5CKIPPS0 // bit 0
17077 #define T5CKIPPS1 T5CKIPPSbits.T5CKIPPS1 // bit 1
17078 #define T5CKIPPS2 T5CKIPPSbits.T5CKIPPS2 // bit 2
17079 #define T5CKIPPS3 T5CKIPPSbits.T5CKIPPS3 // bit 3
17080 #define T5CKIPPS4 T5CKIPPSbits.T5CKIPPS4 // bit 4
17082 #define TMR5ON T5CONbits.TMR5ON // bit 0
17083 #define T5SYNC T5CONbits.T5SYNC // bit 2
17084 #define T5CKPS0 T5CONbits.T5CKPS0 // bit 4
17085 #define T5CKPS1 T5CONbits.T5CKPS1 // bit 5
17086 #define TMR5CS0 T5CONbits.TMR5CS0 // bit 6
17087 #define TMR5CS1 T5CONbits.TMR5CS1 // bit 7
17089 #define T5GSS0 T5GCONbits.T5GSS0 // bit 0
17090 #define T5GSS1 T5GCONbits.T5GSS1 // bit 1
17091 #define T5GVAL T5GCONbits.T5GVAL // bit 2
17092 #define T5GGO_NOT_DONE T5GCONbits.T5GGO_NOT_DONE // bit 3
17093 #define T5GSPM T5GCONbits.T5GSPM // bit 4
17094 #define T5GTM T5GCONbits.T5GTM // bit 5
17095 #define T5GPOL T5GCONbits.T5GPOL // bit 6
17096 #define TMR5GE T5GCONbits.TMR5GE // bit 7
17098 #define T5GPPS0 T5GPPSbits.T5GPPS0 // bit 0
17099 #define T5GPPS1 T5GPPSbits.T5GPPS1 // bit 1
17100 #define T5GPPS2 T5GPPSbits.T5GPPS2 // bit 2
17101 #define T5GPPS3 T5GPPSbits.T5GPPS3 // bit 3
17102 #define T5GPPS4 T5GPPSbits.T5GPPS4 // bit 4
17104 #define T6PPS0 T6PPSbits.T6PPS0 // bit 0
17105 #define T6PPS1 T6PPSbits.T6PPS1 // bit 1
17106 #define T6PPS2 T6PPSbits.T6PPS2 // bit 2
17107 #define T6PPS3 T6PPSbits.T6PPS3 // bit 3
17108 #define T6PPS4 T6PPSbits.T6PPS4 // bit 4
17110 #define TRISA0 TRISAbits.TRISA0 // bit 0
17111 #define TRISA1 TRISAbits.TRISA1 // bit 1
17112 #define TRISA2 TRISAbits.TRISA2 // bit 2
17113 #define TRISA3 TRISAbits.TRISA3 // bit 3
17114 #define TRISA4 TRISAbits.TRISA4 // bit 4
17115 #define TRISA5 TRISAbits.TRISA5 // bit 5
17117 #define TRISB4 TRISBbits.TRISB4 // bit 4
17118 #define TRISB5 TRISBbits.TRISB5 // bit 5
17119 #define TRISB6 TRISBbits.TRISB6 // bit 6
17120 #define TRISB7 TRISBbits.TRISB7 // bit 7
17122 #define TRISC0 TRISCbits.TRISC0 // bit 0
17123 #define TRISC1 TRISCbits.TRISC1 // bit 1
17124 #define TRISC2 TRISCbits.TRISC2 // bit 2
17125 #define TRISC3 TRISCbits.TRISC3 // bit 3
17126 #define TRISC4 TRISCbits.TRISC4 // bit 4
17127 #define TRISC5 TRISCbits.TRISC5 // bit 5
17128 #define TRISC6 TRISCbits.TRISC6 // bit 6
17129 #define TRISC7 TRISCbits.TRISC7 // bit 7
17131 #define TX9D TX1STAbits.TX9D // bit 0
17132 #define TRMT TX1STAbits.TRMT // bit 1
17133 #define BRGH TX1STAbits.BRGH // bit 2
17134 #define SENDB TX1STAbits.SENDB // bit 3
17135 #define SYNC TX1STAbits.SYNC // bit 4
17136 #define TXEN TX1STAbits.TXEN // bit 5
17137 #define TX9 TX1STAbits.TX9 // bit 6
17138 #define CSRC TX1STAbits.CSRC // bit 7
17140 #define WINDOW0 WDTCON1bits.WINDOW0 // bit 0, shadows bit in WDTCON1bits
17141 #define WDTWINDOW0 WDTCON1bits.WDTWINDOW0 // bit 0, shadows bit in WDTCON1bits
17142 #define WINDOW1 WDTCON1bits.WINDOW1 // bit 1, shadows bit in WDTCON1bits
17143 #define WDTWINDOW1 WDTCON1bits.WDTWINDOW1 // bit 1, shadows bit in WDTCON1bits
17144 #define WINDOW2 WDTCON1bits.WINDOW2 // bit 2, shadows bit in WDTCON1bits
17145 #define WDTWINDOW2 WDTCON1bits.WDTWINDOW2 // bit 2, shadows bit in WDTCON1bits
17146 #define WDTCS0 WDTCON1bits.WDTCS0 // bit 4
17147 #define WDTCS1 WDTCON1bits.WDTCS1 // bit 5
17148 #define WDTCS2 WDTCON1bits.WDTCS2 // bit 6
17150 #define PSCNT8 WDTPSHbits.PSCNT8 // bit 0, shadows bit in WDTPSHbits
17151 #define WDTPSCNT8 WDTPSHbits.WDTPSCNT8 // bit 0, shadows bit in WDTPSHbits
17152 #define PSCNT9 WDTPSHbits.PSCNT9 // bit 1, shadows bit in WDTPSHbits
17153 #define WDTPSCNT9 WDTPSHbits.WDTPSCNT9 // bit 1, shadows bit in WDTPSHbits
17154 #define PSCNT10 WDTPSHbits.PSCNT10 // bit 2, shadows bit in WDTPSHbits
17155 #define WDTPSCNT10 WDTPSHbits.WDTPSCNT10 // bit 2, shadows bit in WDTPSHbits
17156 #define PSCNT11 WDTPSHbits.PSCNT11 // bit 3, shadows bit in WDTPSHbits
17157 #define WDTPSCNT11 WDTPSHbits.WDTPSCNT11 // bit 3, shadows bit in WDTPSHbits
17158 #define PSCNT12 WDTPSHbits.PSCNT12 // bit 4, shadows bit in WDTPSHbits
17159 #define WDTPSCNT12 WDTPSHbits.WDTPSCNT12 // bit 4, shadows bit in WDTPSHbits
17160 #define PSCNT13 WDTPSHbits.PSCNT13 // bit 5, shadows bit in WDTPSHbits
17161 #define WDTPSCNT13 WDTPSHbits.WDTPSCNT13 // bit 5, shadows bit in WDTPSHbits
17162 #define PSCNT14 WDTPSHbits.PSCNT14 // bit 6, shadows bit in WDTPSHbits
17163 #define WDTPSCNT14 WDTPSHbits.WDTPSCNT14 // bit 6, shadows bit in WDTPSHbits
17164 #define PSCNT15 WDTPSHbits.PSCNT15 // bit 7, shadows bit in WDTPSHbits
17165 #define WDTPSCNT15 WDTPSHbits.WDTPSCNT15 // bit 7, shadows bit in WDTPSHbits
17167 #define PSCNT0 WDTPSLbits.PSCNT0 // bit 0, shadows bit in WDTPSLbits
17168 #define WDTPSCNT0 WDTPSLbits.WDTPSCNT0 // bit 0, shadows bit in WDTPSLbits
17169 #define PSCNT1 WDTPSLbits.PSCNT1 // bit 1, shadows bit in WDTPSLbits
17170 #define WDTPSCNT1 WDTPSLbits.WDTPSCNT1 // bit 1, shadows bit in WDTPSLbits
17171 #define PSCNT2 WDTPSLbits.PSCNT2 // bit 2, shadows bit in WDTPSLbits
17172 #define WDTPSCNT2 WDTPSLbits.WDTPSCNT2 // bit 2, shadows bit in WDTPSLbits
17173 #define PSCNT3 WDTPSLbits.PSCNT3 // bit 3, shadows bit in WDTPSLbits
17174 #define WDTPSCNT3 WDTPSLbits.WDTPSCNT3 // bit 3, shadows bit in WDTPSLbits
17175 #define PSCNT4 WDTPSLbits.PSCNT4 // bit 4, shadows bit in WDTPSLbits
17176 #define WDTPSCNT4 WDTPSLbits.WDTPSCNT4 // bit 4, shadows bit in WDTPSLbits
17177 #define PSCNT5 WDTPSLbits.PSCNT5 // bit 5, shadows bit in WDTPSLbits
17178 #define WDTPSCNT5 WDTPSLbits.WDTPSCNT5 // bit 5, shadows bit in WDTPSLbits
17179 #define PSCNT6 WDTPSLbits.PSCNT6 // bit 6, shadows bit in WDTPSLbits
17180 #define WDTPSCNT6 WDTPSLbits.WDTPSCNT6 // bit 6, shadows bit in WDTPSLbits
17181 #define PSCNT7 WDTPSLbits.PSCNT7 // bit 7, shadows bit in WDTPSLbits
17182 #define WDTPSCNT7 WDTPSLbits.WDTPSCNT7 // bit 7, shadows bit in WDTPSLbits
17184 #define PSCNT16 WDTTMRbits.PSCNT16 // bit 0, shadows bit in WDTTMRbits
17185 #define WDTPSCNT16 WDTTMRbits.WDTPSCNT16 // bit 0, shadows bit in WDTTMRbits
17186 #define PSCNT17 WDTTMRbits.PSCNT17 // bit 1, shadows bit in WDTTMRbits
17187 #define WDTPSCNT17 WDTTMRbits.WDTPSCNT17 // bit 1, shadows bit in WDTTMRbits
17188 #define STATE WDTTMRbits.STATE // bit 2, shadows bit in WDTTMRbits
17189 #define WDTSTATE WDTTMRbits.WDTSTATE // bit 2, shadows bit in WDTTMRbits
17190 #define WDTTMR0 WDTTMRbits.WDTTMR0 // bit 3
17191 #define WDTTMR1 WDTTMRbits.WDTTMR1 // bit 4
17192 #define WDTTMR2 WDTTMRbits.WDTTMR2 // bit 5
17193 #define WDTTMR3 WDTTMRbits.WDTTMR3 // bit 6
17194 #define WDTTMR4 WDTTMRbits.WDTTMR4 // bit 7
17196 #define WPUA0 WPUAbits.WPUA0 // bit 0
17197 #define WPUA1 WPUAbits.WPUA1 // bit 1
17198 #define WPUA2 WPUAbits.WPUA2 // bit 2
17199 #define WPUA3 WPUAbits.WPUA3 // bit 3
17200 #define WPUA4 WPUAbits.WPUA4 // bit 4
17201 #define WPUA5 WPUAbits.WPUA5 // bit 5
17203 #define WPUB4 WPUBbits.WPUB4 // bit 4
17204 #define WPUB5 WPUBbits.WPUB5 // bit 5
17205 #define WPUB6 WPUBbits.WPUB6 // bit 6
17206 #define WPUB7 WPUBbits.WPUB7 // bit 7
17208 #define WPUC0 WPUCbits.WPUC0 // bit 0
17209 #define WPUC1 WPUCbits.WPUC1 // bit 1
17210 #define WPUC2 WPUCbits.WPUC2 // bit 2
17211 #define WPUC3 WPUCbits.WPUC3 // bit 3
17212 #define WPUC4 WPUCbits.WPUC4 // bit 4
17213 #define WPUC5 WPUCbits.WPUC5 // bit 5
17214 #define WPUC6 WPUCbits.WPUC6 // bit 6
17215 #define WPUC7 WPUCbits.WPUC7 // bit 7
17217 #define ZCD1INTN ZCD1CONbits.ZCD1INTN // bit 0
17218 #define ZCD1INTP ZCD1CONbits.ZCD1INTP // bit 1
17219 #define ZCD1POL ZCD1CONbits.ZCD1POL // bit 4
17220 #define ZCD1OUT ZCD1CONbits.ZCD1OUT // bit 5
17221 #define ZCD1EN ZCD1CONbits.ZCD1EN // bit 7
17223 #endif // #ifndef NO_BIT_DEFINES
17225 #endif // #ifndef __PIC16LF1618_H__