2 * This declarations of the PIC16F1615 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:09 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 __PIC16F1615_H__
26 #define __PIC16F1615_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 PORTC_ADDR 0x000E
52 #define PIR1_ADDR 0x0010
53 #define PIR2_ADDR 0x0011
54 #define PIR3_ADDR 0x0012
55 #define PIR4_ADDR 0x0013
56 #define PIR5_ADDR 0x0014
57 #define TMR0_ADDR 0x0015
58 #define TMR1_ADDR 0x0016
59 #define TMR1L_ADDR 0x0016
60 #define TMR1H_ADDR 0x0017
61 #define T1CON_ADDR 0x0018
62 #define T1GCON_ADDR 0x0019
63 #define T2TMR_ADDR 0x001A
64 #define TMR2_ADDR 0x001A
65 #define PR2_ADDR 0x001B
66 #define T2PR_ADDR 0x001B
67 #define T2CON_ADDR 0x001C
68 #define T2HLT_ADDR 0x001D
69 #define T2CLKCON_ADDR 0x001E
70 #define T2RST_ADDR 0x001F
71 #define TRISA_ADDR 0x008C
72 #define TRISC_ADDR 0x008E
73 #define PIE1_ADDR 0x0090
74 #define PIE2_ADDR 0x0091
75 #define PIE3_ADDR 0x0092
76 #define PIE4_ADDR 0x0093
77 #define PIE5_ADDR 0x0094
78 #define OPTION_REG_ADDR 0x0095
79 #define PCON_ADDR 0x0096
80 #define OSCTUNE_ADDR 0x0098
81 #define OSCCON_ADDR 0x0099
82 #define OSCSTAT_ADDR 0x009A
83 #define ADRES_ADDR 0x009B
84 #define ADRESL_ADDR 0x009B
85 #define ADRESH_ADDR 0x009C
86 #define ADCON0_ADDR 0x009D
87 #define ADCON1_ADDR 0x009E
88 #define ADCON2_ADDR 0x009F
89 #define LATA_ADDR 0x010C
90 #define LATC_ADDR 0x010E
91 #define CM1CON0_ADDR 0x0111
92 #define CM1CON1_ADDR 0x0112
93 #define CM2CON0_ADDR 0x0113
94 #define CM2CON1_ADDR 0x0114
95 #define CMOUT_ADDR 0x0115
96 #define BORCON_ADDR 0x0116
97 #define FVRCON_ADDR 0x0117
98 #define DAC1CON0_ADDR 0x0118
99 #define DAC1CON1_ADDR 0x0119
100 #define ZCD1CON_ADDR 0x011C
101 #define ANSELA_ADDR 0x018C
102 #define ANSELC_ADDR 0x018E
103 #define PMADR_ADDR 0x0191
104 #define PMADRL_ADDR 0x0191
105 #define PMADRH_ADDR 0x0192
106 #define PMDAT_ADDR 0x0193
107 #define PMDATL_ADDR 0x0193
108 #define PMDATH_ADDR 0x0194
109 #define PMCON1_ADDR 0x0195
110 #define PMCON2_ADDR 0x0196
111 #define VREGCON_ADDR 0x0197
112 #define RC1REG_ADDR 0x0199
113 #define RCREG_ADDR 0x0199
114 #define RCREG1_ADDR 0x0199
115 #define TX1REG_ADDR 0x019A
116 #define TXREG_ADDR 0x019A
117 #define TXREG1_ADDR 0x019A
118 #define SP1BRG_ADDR 0x019B
119 #define SP1BRGL_ADDR 0x019B
120 #define SPBRG_ADDR 0x019B
121 #define SPBRG1_ADDR 0x019B
122 #define SPBRGL_ADDR 0x019B
123 #define SP1BRGH_ADDR 0x019C
124 #define SPBRGH_ADDR 0x019C
125 #define SPBRGH1_ADDR 0x019C
126 #define RC1STA_ADDR 0x019D
127 #define RCSTA_ADDR 0x019D
128 #define RCSTA1_ADDR 0x019D
129 #define TX1STA_ADDR 0x019E
130 #define TXSTA_ADDR 0x019E
131 #define TXSTA1_ADDR 0x019E
132 #define BAUD1CON_ADDR 0x019F
133 #define BAUDCON_ADDR 0x019F
134 #define BAUDCON1_ADDR 0x019F
135 #define BAUDCTL_ADDR 0x019F
136 #define BAUDCTL1_ADDR 0x019F
137 #define WPUA_ADDR 0x020C
138 #define WPUC_ADDR 0x020E
139 #define SSP1BUF_ADDR 0x0211
140 #define SSPBUF_ADDR 0x0211
141 #define SSP1ADD_ADDR 0x0212
142 #define SSPADD_ADDR 0x0212
143 #define SSP1MSK_ADDR 0x0213
144 #define SSPMSK_ADDR 0x0213
145 #define SSP1STAT_ADDR 0x0214
146 #define SSPSTAT_ADDR 0x0214
147 #define SSP1CON_ADDR 0x0215
148 #define SSP1CON1_ADDR 0x0215
149 #define SSPCON_ADDR 0x0215
150 #define SSPCON1_ADDR 0x0215
151 #define SSP1CON2_ADDR 0x0216
152 #define SSPCON2_ADDR 0x0216
153 #define SSP1CON3_ADDR 0x0217
154 #define SSPCON3_ADDR 0x0217
155 #define ODCONA_ADDR 0x028C
156 #define ODCONC_ADDR 0x028E
157 #define CCPR1_ADDR 0x0291
158 #define CCPR1L_ADDR 0x0291
159 #define CCPR1H_ADDR 0x0292
160 #define CCP1CON_ADDR 0x0293
161 #define CCP1CAP_ADDR 0x0294
162 #define CCPR2_ADDR 0x0298
163 #define CCPR2L_ADDR 0x0298
164 #define CCPR2H_ADDR 0x0299
165 #define CCP2CON_ADDR 0x029A
166 #define CCP2CAP_ADDR 0x029B
167 #define CCPTMRS_ADDR 0x029E
168 #define SLRCONA_ADDR 0x030C
169 #define SLRCONC_ADDR 0x030E
170 #define INLVLA_ADDR 0x038C
171 #define INLVLC_ADDR 0x038E
172 #define IOCAP_ADDR 0x0391
173 #define IOCAN_ADDR 0x0392
174 #define IOCAF_ADDR 0x0393
175 #define IOCCP_ADDR 0x0397
176 #define IOCCN_ADDR 0x0398
177 #define IOCCF_ADDR 0x0399
178 #define HIDRVC_ADDR 0x040E
179 #define T4TMR_ADDR 0x0413
180 #define TMR4_ADDR 0x0413
181 #define PR4_ADDR 0x0414
182 #define T4PR_ADDR 0x0414
183 #define T4CON_ADDR 0x0415
184 #define T4HLT_ADDR 0x0416
185 #define T4CLKCON_ADDR 0x0417
186 #define T4RST_ADDR 0x0418
187 #define T6TMR_ADDR 0x041A
188 #define TMR6_ADDR 0x041A
189 #define PR6_ADDR 0x041B
190 #define T6PR_ADDR 0x041B
191 #define T6CON_ADDR 0x041C
192 #define T6HLT_ADDR 0x041D
193 #define T6CLKCON_ADDR 0x041E
194 #define T6RST_ADDR 0x041F
195 #define TMR3L_ADDR 0x0493
196 #define TMR3H_ADDR 0x0494
197 #define T3CON_ADDR 0x0495
198 #define T3GCON_ADDR 0x0496
199 #define TMR5L_ADDR 0x049A
200 #define TMR5H_ADDR 0x049B
201 #define T5CON_ADDR 0x049C
202 #define T5GCON_ADDR 0x049D
203 #define PID1SET_ADDR 0x058C
204 #define PID1SETL_ADDR 0x058C
205 #define PID1SETH_ADDR 0x058D
206 #define PID1IN_ADDR 0x058E
207 #define PID1INL_ADDR 0x058E
208 #define PID1INH_ADDR 0x058F
209 #define PID1K1_ADDR 0x0590
210 #define PID1K1L_ADDR 0x0590
211 #define PID1K1H_ADDR 0x0591
212 #define PID1K2_ADDR 0x0592
213 #define PID1K2L_ADDR 0x0592
214 #define PID1K2H_ADDR 0x0593
215 #define PID1K3_ADDR 0x0594
216 #define PID1K3L_ADDR 0x0594
217 #define PID1K3H_ADDR 0x0595
218 #define PID1OUT_ADDR 0x0596
219 #define PID1OUTLL_ADDR 0x0596
220 #define PID1OUTLH_ADDR 0x0597
221 #define PID1OUTHL_ADDR 0x0598
222 #define PID1OUTHH_ADDR 0x0599
223 #define PID1OUTU_ADDR 0x059A
224 #define PID1Z1_ADDR 0x059B
225 #define PID1Z1L_ADDR 0x059B
226 #define PID1Z1H_ADDR 0x059C
227 #define PID1Z1U_ADDR 0x059D
228 #define PID1Z2_ADDR 0x060C
229 #define PID1Z2L_ADDR 0x060C
230 #define PID1Z2H_ADDR 0x060D
231 #define PID1Z2U_ADDR 0x060E
232 #define PID1ACC_ADDR 0x060F
233 #define PID1ACCLL_ADDR 0x060F
234 #define PID1ACCLH_ADDR 0x0610
235 #define PID1ACCHL_ADDR 0x0611
236 #define PID1ACCHH_ADDR 0x0612
237 #define PID1ACCU_ADDR 0x0613
238 #define PID1CON_ADDR 0x0614
239 #define PWM3DCL_ADDR 0x0617
240 #define PWM3DCH_ADDR 0x0618
241 #define PWM3CON_ADDR 0x0619
242 #define PWM4DCL_ADDR 0x061A
243 #define PWM4DCH_ADDR 0x061B
244 #define PWM4CON_ADDR 0x061C
245 #define CWG1DBR_ADDR 0x0691
246 #define CWG1DBF_ADDR 0x0692
247 #define CWG1AS0_ADDR 0x0693
248 #define CWG1AS1_ADDR 0x0694
249 #define CWG1OCON0_ADDR 0x0695
250 #define CWG1CON0_ADDR 0x0696
251 #define CWG1CON1_ADDR 0x0697
252 #define CWG1CLKCON_ADDR 0x0699
253 #define CWG1ISM_ADDR 0x069A
254 #define WDTCON0_ADDR 0x0711
255 #define WDTCON1_ADDR 0x0712
256 #define WDTPSL_ADDR 0x0713
257 #define WDTPSH_ADDR 0x0714
258 #define WDTTMR_ADDR 0x0715
259 #define SCANLADR_ADDR 0x0718
260 #define SCANLADRL_ADDR 0x0718
261 #define SCANLADRH_ADDR 0x0719
262 #define SCANHADR_ADDR 0x071A
263 #define SCANHADRL_ADDR 0x071A
264 #define SCANHADRH_ADDR 0x071B
265 #define SCANCON0_ADDR 0x071C
266 #define SCANTRIG_ADDR 0x071D
267 #define CRCDAT_ADDR 0x0791
268 #define CRCDATL_ADDR 0x0791
269 #define CRCDATH_ADDR 0x0792
270 #define CRCACC_ADDR 0x0793
271 #define CRCACCL_ADDR 0x0793
272 #define CRCACCH_ADDR 0x0794
273 #define CRCSHIFT_ADDR 0x0795
274 #define CRCSHIFTL_ADDR 0x0795
275 #define CRCSHIFTH_ADDR 0x0796
276 #define CRCXOR_ADDR 0x0797
277 #define CRCXORL_ADDR 0x0797
278 #define CRCXORH_ADDR 0x0798
279 #define CRCCON0_ADDR 0x0799
280 #define CRCCON1_ADDR 0x079A
281 #define AT1RES_ADDR 0x080C
282 #define AT1RESL_ADDR 0x080C
283 #define AT1RESH_ADDR 0x080D
284 #define AT1MISS_ADDR 0x080E
285 #define AT1MISSL_ADDR 0x080E
286 #define AT1MISSH_ADDR 0x080F
287 #define AT1PER_ADDR 0x0810
288 #define AT1PERL_ADDR 0x0810
289 #define AT1PERH_ADDR 0x0811
290 #define AT1PHS_ADDR 0x0812
291 #define AT1PHSL_ADDR 0x0812
292 #define AT1PHSH_ADDR 0x0813
293 #define AT1CON0_ADDR 0x0814
294 #define AT1CON1_ADDR 0x0815
295 #define AT1IR0_ADDR 0x0816
296 #define AT1IE0_ADDR 0x0817
297 #define AT1IR1_ADDR 0x0818
298 #define AT1IE1_ADDR 0x0819
299 #define AT1STPT_ADDR 0x081A
300 #define AT1STPTL_ADDR 0x081A
301 #define AT1STPTH_ADDR 0x081B
302 #define AT1ERR_ADDR 0x081C
303 #define AT1ERRL_ADDR 0x081C
304 #define AT1ERRH_ADDR 0x081D
305 #define AT1CLK_ADDR 0x088C
306 #define AT1SIG_ADDR 0x088D
307 #define AT1CSEL1_ADDR 0x088E
308 #define AT1CC1_ADDR 0x088F
309 #define AT1CC1L_ADDR 0x088F
310 #define AT1CC1H_ADDR 0x0890
311 #define AT1CCON1_ADDR 0x0891
312 #define AT1CSEL2_ADDR 0x0892
313 #define AT1CC2_ADDR 0x0893
314 #define AT1CC2L_ADDR 0x0893
315 #define AT1CC2H_ADDR 0x0894
316 #define AT1CCON2_ADDR 0x0895
317 #define AT1CSEL3_ADDR 0x0896
318 #define AT1CC3_ADDR 0x0897
319 #define AT1CC3L_ADDR 0x0897
320 #define AT1CC3H_ADDR 0x0898
321 #define AT1CCON3_ADDR 0x0899
322 #define SMT1TMR_ADDR 0x0D8C
323 #define SMT1TMRL_ADDR 0x0D8C
324 #define SMT1TMRH_ADDR 0x0D8D
325 #define SMT1TMRU_ADDR 0x0D8E
326 #define SMT1CPR_ADDR 0x0D8F
327 #define SMT1CPRL_ADDR 0x0D8F
328 #define SMT1CPRH_ADDR 0x0D90
329 #define SMT1CPRU_ADDR 0x0D91
330 #define SMT1CPW_ADDR 0x0D92
331 #define SMT1CPWL_ADDR 0x0D92
332 #define SMT1CPWH_ADDR 0x0D93
333 #define SMT1CPWU_ADDR 0x0D94
334 #define SMT1PR_ADDR 0x0D95
335 #define SMT1PRL_ADDR 0x0D95
336 #define SMT1PRH_ADDR 0x0D96
337 #define SMT1PRU_ADDR 0x0D97
338 #define SMT1CON0_ADDR 0x0D98
339 #define SMT1CON1_ADDR 0x0D99
340 #define SMT1STAT_ADDR 0x0D9A
341 #define SMT1CLK_ADDR 0x0D9B
342 #define SMT1SIG_ADDR 0x0D9C
343 #define SMT1WIN_ADDR 0x0D9D
344 #define SMT2TMR_ADDR 0x0D9E
345 #define SMT2TMRL_ADDR 0x0D9E
346 #define SMT2TMRH_ADDR 0x0D9F
347 #define SMT2TMRU_ADDR 0x0DA0
348 #define SMT2CPR_ADDR 0x0DA1
349 #define SMT2CPRL_ADDR 0x0DA1
350 #define SMT2CPRH_ADDR 0x0DA2
351 #define SMT2CPRU_ADDR 0x0DA3
352 #define SMT2CPW_ADDR 0x0DA4
353 #define SMT2CPWL_ADDR 0x0DA4
354 #define SMT2CPWH_ADDR 0x0DA5
355 #define SMT2CPWU_ADDR 0x0DA6
356 #define SMT2PR_ADDR 0x0DA7
357 #define SMT2PRL_ADDR 0x0DA7
358 #define SMT2PRH_ADDR 0x0DA8
359 #define SMT2PRU_ADDR 0x0DA9
360 #define SMT2CON0_ADDR 0x0DAA
361 #define SMT2CON1_ADDR 0x0DAB
362 #define SMT2STAT_ADDR 0x0DAC
363 #define SMT2CLK_ADDR 0x0DAD
364 #define SMT2SIG_ADDR 0x0DAE
365 #define SMT2WIN_ADDR 0x0DAF
366 #define PPSLOCK_ADDR 0x0E0F
367 #define INTPPS_ADDR 0x0E10
368 #define T0CKIPPS_ADDR 0x0E11
369 #define T1CKIPPS_ADDR 0x0E12
370 #define T1GPPS_ADDR 0x0E13
371 #define CCP1PPS_ADDR 0x0E14
372 #define CCP2PPS_ADDR 0x0E15
373 #define ATINPPS_ADDR 0x0E16
374 #define CWGINPPS_ADDR 0x0E17
375 #define T2PPS_ADDR 0x0E18
376 #define T3CKIPPS_ADDR 0x0E19
377 #define T3GPPS_ADDR 0x0E1A
378 #define T4PPS_ADDR 0x0E1B
379 #define T5CKIPPS_ADDR 0x0E1C
380 #define T5GPPS_ADDR 0x0E1D
381 #define T6PPS_ADDR 0x0E1E
382 #define ATCC1PPS_ADDR 0x0E1F
383 #define SSPCLKPPS_ADDR 0x0E20
384 #define SSPDATPPS_ADDR 0x0E21
385 #define SSPSSPPS_ADDR 0x0E22
386 #define ATCC2PPS_ADDR 0x0E23
387 #define RXPPS_ADDR 0x0E24
388 #define CKPPS_ADDR 0x0E25
389 #define SMT1SIGPPS_ADDR 0x0E26
390 #define SMT1WINPPS_ADDR 0x0E27
391 #define CLCIN0PPS_ADDR 0x0E28
392 #define CLCIN1PPS_ADDR 0x0E29
393 #define CLCIN2PPS_ADDR 0x0E2A
394 #define CLCIN3PPS_ADDR 0x0E2B
395 #define SMT2SIGPPS_ADDR 0x0E2C
396 #define SMT2WINPPS_ADDR 0x0E2D
397 #define ATCC3PPS_ADDR 0x0E2E
398 #define RA0PPS_ADDR 0x0E90
399 #define RA1PPS_ADDR 0x0E91
400 #define RA2PPS_ADDR 0x0E92
401 #define RA4PPS_ADDR 0x0E94
402 #define RA5PPS_ADDR 0x0E95
403 #define RC0PPS_ADDR 0x0EA0
404 #define RC1PPS_ADDR 0x0EA1
405 #define RC2PPS_ADDR 0x0EA2
406 #define RC3PPS_ADDR 0x0EA3
407 #define RC4PPS_ADDR 0x0EA4
408 #define RC5PPS_ADDR 0x0EA5
409 #define CLCDATA_ADDR 0x0F0F
410 #define CLC1CON_ADDR 0x0F10
411 #define CLC1POL_ADDR 0x0F11
412 #define CLC1SEL0_ADDR 0x0F12
413 #define CLC1SEL1_ADDR 0x0F13
414 #define CLC1SEL2_ADDR 0x0F14
415 #define CLC1SEL3_ADDR 0x0F15
416 #define CLC1GLS0_ADDR 0x0F16
417 #define CLC1GLS1_ADDR 0x0F17
418 #define CLC1GLS2_ADDR 0x0F18
419 #define CLC1GLS3_ADDR 0x0F19
420 #define CLC2CON_ADDR 0x0F1A
421 #define CLC2POL_ADDR 0x0F1B
422 #define CLC2SEL0_ADDR 0x0F1C
423 #define CLC2SEL1_ADDR 0x0F1D
424 #define CLC2SEL2_ADDR 0x0F1E
425 #define CLC2SEL3_ADDR 0x0F1F
426 #define CLC2GLS0_ADDR 0x0F20
427 #define CLC2GLS1_ADDR 0x0F21
428 #define CLC2GLS2_ADDR 0x0F22
429 #define CLC2GLS3_ADDR 0x0F23
430 #define CLC3CON_ADDR 0x0F24
431 #define CLC3POL_ADDR 0x0F25
432 #define CLC3SEL0_ADDR 0x0F26
433 #define CLC3SEL1_ADDR 0x0F27
434 #define CLC3SEL2_ADDR 0x0F28
435 #define CLC3SEL3_ADDR 0x0F29
436 #define CLC3GLS0_ADDR 0x0F2A
437 #define CLC3GLS1_ADDR 0x0F2B
438 #define CLC3GLS2_ADDR 0x0F2C
439 #define CLC3GLS3_ADDR 0x0F2D
440 #define CLC4CON_ADDR 0x0F2E
441 #define CLC4POL_ADDR 0x0F2F
442 #define CLC4SEL0_ADDR 0x0F30
443 #define CLC4SEL1_ADDR 0x0F31
444 #define CLC4SEL2_ADDR 0x0F32
445 #define CLC4SEL3_ADDR 0x0F33
446 #define CLC4GLS0_ADDR 0x0F34
447 #define CLC4GLS1_ADDR 0x0F35
448 #define CLC4GLS2_ADDR 0x0F36
449 #define CLC4GLS3_ADDR 0x0F37
450 #define STATUS_SHAD_ADDR 0x0FE4
451 #define WREG_SHAD_ADDR 0x0FE5
452 #define BSR_SHAD_ADDR 0x0FE6
453 #define PCLATH_SHAD_ADDR 0x0FE7
454 #define FSR0L_SHAD_ADDR 0x0FE8
455 #define FSR0H_SHAD_ADDR 0x0FE9
456 #define FSR1L_SHAD_ADDR 0x0FEA
457 #define FSR1H_SHAD_ADDR 0x0FEB
458 #define STKPTR_ADDR 0x0FED
459 #define TOSL_ADDR 0x0FEE
460 #define TOSH_ADDR 0x0FEF
462 #endif // #ifndef NO_ADDR_DEFINES
464 //==============================================================================
466 // Register Definitions
468 //==============================================================================
470 extern __at(0x0000) __sfr INDF0
;
471 extern __at(0x0001) __sfr INDF1
;
472 extern __at(0x0002) __sfr PCL
;
474 //==============================================================================
477 extern __at(0x0003) __sfr STATUS
;
491 extern __at(0x0003) volatile __STATUSbits_t STATUSbits
;
499 //==============================================================================
501 extern __at(0x0004) __sfr FSR0
;
502 extern __at(0x0004) __sfr FSR0L
;
503 extern __at(0x0005) __sfr FSR0H
;
504 extern __at(0x0006) __sfr FSR1
;
505 extern __at(0x0006) __sfr FSR1L
;
506 extern __at(0x0007) __sfr FSR1H
;
508 //==============================================================================
511 extern __at(0x0008) __sfr BSR
;
534 extern __at(0x0008) volatile __BSRbits_t BSRbits
;
542 //==============================================================================
544 extern __at(0x0009) __sfr WREG
;
545 extern __at(0x000A) __sfr PCLATH
;
547 //==============================================================================
550 extern __at(0x000B) __sfr INTCON
;
579 extern __at(0x000B) volatile __INTCONbits_t INTCONbits
;
592 //==============================================================================
595 //==============================================================================
598 extern __at(0x000C) __sfr PORTA
;
621 extern __at(0x000C) volatile __PORTAbits_t PORTAbits
;
630 //==============================================================================
633 //==============================================================================
636 extern __at(0x000E) __sfr PORTC
;
659 extern __at(0x000E) volatile __PORTCbits_t PORTCbits
;
668 //==============================================================================
671 //==============================================================================
674 extern __at(0x0010) __sfr PIR1
;
685 unsigned TMR1GIF
: 1;
688 extern __at(0x0010) volatile __PIR1bits_t PIR1bits
;
697 #define _TMR1GIF 0x80
699 //==============================================================================
702 //==============================================================================
705 extern __at(0x0011) __sfr PIR2
;
719 extern __at(0x0011) volatile __PIR2bits_t PIR2bits
;
729 //==============================================================================
732 //==============================================================================
735 extern __at(0x0012) __sfr PIR3
;
749 extern __at(0x0012) volatile __PIR3bits_t PIR3bits
;
758 //==============================================================================
761 //==============================================================================
764 extern __at(0x0013) __sfr PIR4
;
769 unsigned SMT1PRAIF
: 1;
770 unsigned SMT1PWAIF
: 1;
772 unsigned SMT2PRAIF
: 1;
773 unsigned SMT2PWAIF
: 1;
778 extern __at(0x0013) volatile __PIR4bits_t PIR4bits
;
781 #define _SMT1PRAIF 0x02
782 #define _SMT1PWAIF 0x04
784 #define _SMT2PRAIF 0x10
785 #define _SMT2PWAIF 0x20
789 //==============================================================================
792 //==============================================================================
795 extern __at(0x0014) __sfr PIR5
;
799 unsigned PID1DIF
: 1;
800 unsigned PID1EIF
: 1;
804 unsigned TMR5GIF
: 1;
806 unsigned TMR3GIF
: 1;
809 extern __at(0x0014) volatile __PIR5bits_t PIR5bits
;
811 #define _PID1DIF 0x01
812 #define _PID1EIF 0x02
815 #define _TMR5GIF 0x20
817 #define _TMR3GIF 0x80
819 //==============================================================================
821 extern __at(0x0015) __sfr TMR0
;
822 extern __at(0x0016) __sfr TMR1
;
823 extern __at(0x0016) __sfr TMR1L
;
824 extern __at(0x0017) __sfr TMR1H
;
826 //==============================================================================
829 extern __at(0x0018) __sfr T1CON
;
837 unsigned NOT_T1SYNC
: 1;
839 unsigned T1CKPS0
: 1;
840 unsigned T1CKPS1
: 1;
841 unsigned TMR1CS0
: 1;
842 unsigned TMR1CS1
: 1;
859 extern __at(0x0018) volatile __T1CONbits_t T1CONbits
;
862 #define _NOT_T1SYNC 0x04
863 #define _T1CKPS0 0x10
864 #define _T1CKPS1 0x20
865 #define _TMR1CS0 0x40
866 #define _TMR1CS1 0x80
868 //==============================================================================
871 //==============================================================================
874 extern __at(0x0019) __sfr T1GCON
;
883 unsigned T1GGO_NOT_DONE
: 1;
897 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits
;
902 #define _T1GGO_NOT_DONE 0x08
908 //==============================================================================
910 extern __at(0x001A) __sfr T2TMR
;
911 extern __at(0x001A) __sfr TMR2
;
912 extern __at(0x001B) __sfr PR2
;
913 extern __at(0x001B) __sfr T2PR
;
915 //==============================================================================
918 extern __at(0x001C) __sfr T2CON
;
936 unsigned T2OUTPS0
: 1;
937 unsigned T2OUTPS1
: 1;
938 unsigned T2OUTPS2
: 1;
939 unsigned T2OUTPS3
: 1;
940 unsigned T2CKPS0
: 1;
941 unsigned T2CKPS1
: 1;
942 unsigned T2CKPS2
: 1;
966 unsigned T2OUTPS
: 4;
985 extern __at(0x001C) volatile __T2CONbits_t T2CONbits
;
988 #define _T2OUTPS0 0x01
990 #define _T2OUTPS1 0x02
992 #define _T2OUTPS2 0x04
994 #define _T2OUTPS3 0x08
996 #define _T2CKPS0 0x10
998 #define _T2CKPS1 0x20
1000 #define _T2CKPS2 0x40
1003 #define _TMR2ON 0x80
1005 //==============================================================================
1008 //==============================================================================
1011 extern __at(0x001D) __sfr T2HLT
;
1022 unsigned CKSYNC
: 1;
1029 unsigned T2MODE0
: 1;
1030 unsigned T2MODE1
: 1;
1031 unsigned T2MODE2
: 1;
1032 unsigned T2MODE3
: 1;
1033 unsigned T2MODE4
: 1;
1034 unsigned T2CKSYNC
: 1;
1035 unsigned T2CKPOL
: 1;
1036 unsigned T2PSYNC
: 1;
1047 unsigned T2MODE
: 5;
1052 extern __at(0x001D) volatile __T2HLTbits_t T2HLTbits
;
1054 #define _T2HLT_MODE0 0x01
1055 #define _T2HLT_T2MODE0 0x01
1056 #define _T2HLT_MODE1 0x02
1057 #define _T2HLT_T2MODE1 0x02
1058 #define _T2HLT_MODE2 0x04
1059 #define _T2HLT_T2MODE2 0x04
1060 #define _T2HLT_MODE3 0x08
1061 #define _T2HLT_T2MODE3 0x08
1062 #define _T2HLT_MODE4 0x10
1063 #define _T2HLT_T2MODE4 0x10
1064 #define _T2HLT_CKSYNC 0x20
1065 #define _T2HLT_T2CKSYNC 0x20
1066 #define _T2HLT_CKPOL 0x40
1067 #define _T2HLT_T2CKPOL 0x40
1068 #define _T2HLT_PSYNC 0x80
1069 #define _T2HLT_T2PSYNC 0x80
1071 //==============================================================================
1074 //==============================================================================
1077 extern __at(0x001E) __sfr T2CLKCON
;
1118 extern __at(0x001E) volatile __T2CLKCONbits_t T2CLKCONbits
;
1120 #define _T2CLKCON_CS0 0x01
1121 #define _T2CLKCON_T2CS0 0x01
1122 #define _T2CLKCON_CS1 0x02
1123 #define _T2CLKCON_T2CS1 0x02
1124 #define _T2CLKCON_CS2 0x04
1125 #define _T2CLKCON_T2CS2 0x04
1126 #define _T2CLKCON_CS3 0x08
1127 #define _T2CLKCON_T2CS3 0x08
1129 //==============================================================================
1132 //==============================================================================
1135 extern __at(0x001F) __sfr T2RST
;
1153 unsigned T2RSEL0
: 1;
1154 unsigned T2RSEL1
: 1;
1155 unsigned T2RSEL2
: 1;
1156 unsigned T2RSEL3
: 1;
1165 unsigned T2RSEL
: 4;
1176 extern __at(0x001F) volatile __T2RSTbits_t T2RSTbits
;
1179 #define _T2RSEL0 0x01
1181 #define _T2RSEL1 0x02
1183 #define _T2RSEL2 0x04
1185 #define _T2RSEL3 0x08
1187 //==============================================================================
1190 //==============================================================================
1193 extern __at(0x008C) __sfr TRISA
;
1199 unsigned TRISA0
: 1;
1200 unsigned TRISA1
: 1;
1201 unsigned TRISA2
: 1;
1202 unsigned TRISA3
: 1;
1203 unsigned TRISA4
: 1;
1204 unsigned TRISA5
: 1;
1216 extern __at(0x008C) volatile __TRISAbits_t TRISAbits
;
1218 #define _TRISA0 0x01
1219 #define _TRISA1 0x02
1220 #define _TRISA2 0x04
1221 #define _TRISA3 0x08
1222 #define _TRISA4 0x10
1223 #define _TRISA5 0x20
1225 //==============================================================================
1228 //==============================================================================
1231 extern __at(0x008E) __sfr TRISC
;
1237 unsigned TRISC0
: 1;
1238 unsigned TRISC1
: 1;
1239 unsigned TRISC2
: 1;
1240 unsigned TRISC3
: 1;
1241 unsigned TRISC4
: 1;
1242 unsigned TRISC5
: 1;
1254 extern __at(0x008E) volatile __TRISCbits_t TRISCbits
;
1256 #define _TRISC0 0x01
1257 #define _TRISC1 0x02
1258 #define _TRISC2 0x04
1259 #define _TRISC3 0x08
1260 #define _TRISC4 0x10
1261 #define _TRISC5 0x20
1263 //==============================================================================
1266 //==============================================================================
1269 extern __at(0x0090) __sfr PIE1
;
1273 unsigned TMR1IE
: 1;
1274 unsigned TMR2IE
: 1;
1275 unsigned CCP1IE
: 1;
1276 unsigned SSP1IE
: 1;
1280 unsigned TMR1GIE
: 1;
1283 extern __at(0x0090) volatile __PIE1bits_t PIE1bits
;
1285 #define _TMR1IE 0x01
1286 #define _TMR2IE 0x02
1287 #define _CCP1IE 0x04
1288 #define _SSP1IE 0x08
1292 #define _TMR1GIE 0x80
1294 //==============================================================================
1297 //==============================================================================
1300 extern __at(0x0091) __sfr PIE2
;
1304 unsigned CCP2IE
: 1;
1305 unsigned TMR4IE
: 1;
1306 unsigned TMR6IE
: 1;
1307 unsigned BCL1IE
: 1;
1311 unsigned OSCFIE
: 1;
1314 extern __at(0x0091) volatile __PIE2bits_t PIE2bits
;
1316 #define _CCP2IE 0x01
1317 #define _TMR4IE 0x02
1318 #define _TMR6IE 0x04
1319 #define _BCL1IE 0x08
1322 #define _OSCFIE 0x80
1324 //==============================================================================
1327 //==============================================================================
1330 extern __at(0x0092) __sfr PIE3
;
1334 unsigned CLC1IE
: 1;
1335 unsigned CLC2IE
: 1;
1336 unsigned CLC3IE
: 1;
1337 unsigned CLC4IE
: 1;
1344 extern __at(0x0092) volatile __PIE3bits_t PIE3bits
;
1346 #define _CLC1IE 0x01
1347 #define _CLC2IE 0x02
1348 #define _CLC3IE 0x04
1349 #define _CLC4IE 0x08
1353 //==============================================================================
1356 //==============================================================================
1359 extern __at(0x0093) __sfr PIE4
;
1363 unsigned SMT1IE
: 1;
1364 unsigned SMT1PRAIE
: 1;
1365 unsigned SMT1PWAIE
: 1;
1366 unsigned SMT2IE
: 1;
1367 unsigned SMT2PRAIE
: 1;
1368 unsigned SMT2PWAIE
: 1;
1370 unsigned SCANIE
: 1;
1373 extern __at(0x0093) volatile __PIE4bits_t PIE4bits
;
1375 #define _SMT1IE 0x01
1376 #define _SMT1PRAIE 0x02
1377 #define _SMT1PWAIE 0x04
1378 #define _SMT2IE 0x08
1379 #define _SMT2PRAIE 0x10
1380 #define _SMT2PWAIE 0x20
1382 #define _SCANIE 0x80
1384 //==============================================================================
1387 //==============================================================================
1390 extern __at(0x0094) __sfr PIE5
;
1394 unsigned PID1DIE
: 1;
1395 unsigned PID1EIE
: 1;
1398 unsigned TMR5IE
: 1;
1399 unsigned TMR5GIE
: 1;
1400 unsigned TMR3IE
: 1;
1401 unsigned TMR3GIE
: 1;
1404 extern __at(0x0094) volatile __PIE5bits_t PIE5bits
;
1406 #define _PID1DIE 0x01
1407 #define _PID1EIE 0x02
1409 #define _TMR5IE 0x10
1410 #define _TMR5GIE 0x20
1411 #define _TMR3IE 0x40
1412 #define _TMR3GIE 0x80
1414 //==============================================================================
1417 //==============================================================================
1420 extern __at(0x0095) __sfr OPTION_REG
;
1430 unsigned TMR0SE
: 1;
1431 unsigned TMR0CS
: 1;
1432 unsigned INTEDG
: 1;
1433 unsigned NOT_WPUEN
: 1;
1453 } __OPTION_REGbits_t
;
1455 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits
;
1457 #define _OPTION_REG_PS0 0x01
1458 #define _OPTION_REG_PS1 0x02
1459 #define _OPTION_REG_PS2 0x04
1460 #define _OPTION_REG_PSA 0x08
1461 #define _OPTION_REG_TMR0SE 0x10
1462 #define _OPTION_REG_T0SE 0x10
1463 #define _OPTION_REG_TMR0CS 0x20
1464 #define _OPTION_REG_T0CS 0x20
1465 #define _OPTION_REG_INTEDG 0x40
1466 #define _OPTION_REG_NOT_WPUEN 0x80
1468 //==============================================================================
1471 //==============================================================================
1474 extern __at(0x0096) __sfr PCON
;
1478 unsigned NOT_BOR
: 1;
1479 unsigned NOT_POR
: 1;
1480 unsigned NOT_RI
: 1;
1481 unsigned NOT_RMCLR
: 1;
1482 unsigned NOT_RWDT
: 1;
1483 unsigned NOT_WDTWV
: 1;
1484 unsigned STKUNF
: 1;
1485 unsigned STKOVF
: 1;
1488 extern __at(0x0096) volatile __PCONbits_t PCONbits
;
1490 #define _NOT_BOR 0x01
1491 #define _NOT_POR 0x02
1492 #define _NOT_RI 0x04
1493 #define _NOT_RMCLR 0x08
1494 #define _NOT_RWDT 0x10
1495 #define _NOT_WDTWV 0x20
1496 #define _STKUNF 0x40
1497 #define _STKOVF 0x80
1499 //==============================================================================
1502 //==============================================================================
1505 extern __at(0x0098) __sfr OSCTUNE
;
1528 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits
;
1537 //==============================================================================
1540 //==============================================================================
1543 extern __at(0x0099) __sfr OSCCON
;
1556 unsigned SPLLEN
: 1;
1573 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits
;
1581 #define _SPLLEN 0x80
1583 //==============================================================================
1586 //==============================================================================
1589 extern __at(0x009A) __sfr OSCSTAT
;
1593 unsigned HFIOFS
: 1;
1594 unsigned LFIOFR
: 1;
1595 unsigned MFIOFR
: 1;
1596 unsigned HFIOFL
: 1;
1597 unsigned HFIOFR
: 1;
1603 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits
;
1605 #define _HFIOFS 0x01
1606 #define _LFIOFR 0x02
1607 #define _MFIOFR 0x04
1608 #define _HFIOFL 0x08
1609 #define _HFIOFR 0x10
1613 //==============================================================================
1615 extern __at(0x009B) __sfr ADRES
;
1616 extern __at(0x009B) __sfr ADRESL
;
1617 extern __at(0x009C) __sfr ADRESH
;
1619 //==============================================================================
1622 extern __at(0x009D) __sfr ADCON0
;
1629 unsigned GO_NOT_DONE
: 1;
1670 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits
;
1673 #define _GO_NOT_DONE 0x02
1682 //==============================================================================
1685 //==============================================================================
1688 extern __at(0x009E) __sfr ADCON1
;
1694 unsigned ADPREF0
: 1;
1695 unsigned ADPREF1
: 1;
1706 unsigned ADPREF
: 2;
1718 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits
;
1720 #define _ADPREF0 0x01
1721 #define _ADPREF1 0x02
1727 //==============================================================================
1730 //==============================================================================
1733 extern __at(0x009F) __sfr ADCON2
;
1743 unsigned TRIGSEL0
: 1;
1744 unsigned TRIGSEL1
: 1;
1745 unsigned TRIGSEL2
: 1;
1746 unsigned TRIGSEL3
: 1;
1752 unsigned TRIGSEL
: 4;
1756 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits
;
1758 #define _TRIGSEL0 0x10
1759 #define _TRIGSEL1 0x20
1760 #define _TRIGSEL2 0x40
1761 #define _TRIGSEL3 0x80
1763 //==============================================================================
1766 //==============================================================================
1769 extern __at(0x010C) __sfr LATA
;
1792 extern __at(0x010C) volatile __LATAbits_t LATAbits
;
1801 //==============================================================================
1804 //==============================================================================
1807 extern __at(0x010E) __sfr LATC
;
1830 extern __at(0x010E) volatile __LATCbits_t LATCbits
;
1839 //==============================================================================
1842 //==============================================================================
1845 extern __at(0x0111) __sfr CM1CON0
;
1849 unsigned C1SYNC
: 1;
1859 extern __at(0x0111) volatile __CM1CON0bits_t CM1CON0bits
;
1861 #define _C1SYNC 0x01
1868 //==============================================================================
1871 //==============================================================================
1874 extern __at(0x0112) __sfr CM1CON1
;
1880 unsigned C1NCH0
: 1;
1881 unsigned C1NCH1
: 1;
1882 unsigned C1NCH2
: 1;
1884 unsigned C1PCH0
: 1;
1885 unsigned C1PCH1
: 1;
1886 unsigned C1INTN
: 1;
1887 unsigned C1INTP
: 1;
1904 extern __at(0x0112) volatile __CM1CON1bits_t CM1CON1bits
;
1906 #define _C1NCH0 0x01
1907 #define _C1NCH1 0x02
1908 #define _C1NCH2 0x04
1909 #define _C1PCH0 0x10
1910 #define _C1PCH1 0x20
1911 #define _C1INTN 0x40
1912 #define _C1INTP 0x80
1914 //==============================================================================
1917 //==============================================================================
1920 extern __at(0x0113) __sfr CM2CON0
;
1924 unsigned C2SYNC
: 1;
1934 extern __at(0x0113) volatile __CM2CON0bits_t CM2CON0bits
;
1936 #define _C2SYNC 0x01
1943 //==============================================================================
1946 //==============================================================================
1949 extern __at(0x0114) __sfr CM2CON1
;
1955 unsigned C2NCH0
: 1;
1956 unsigned C2NCH1
: 1;
1957 unsigned C2NCH2
: 1;
1959 unsigned C2PCH0
: 1;
1960 unsigned C2PCH1
: 1;
1961 unsigned C2INTN
: 1;
1962 unsigned C2INTP
: 1;
1979 extern __at(0x0114) volatile __CM2CON1bits_t CM2CON1bits
;
1981 #define _C2NCH0 0x01
1982 #define _C2NCH1 0x02
1983 #define _C2NCH2 0x04
1984 #define _C2PCH0 0x10
1985 #define _C2PCH1 0x20
1986 #define _C2INTN 0x40
1987 #define _C2INTP 0x80
1989 //==============================================================================
1992 //==============================================================================
1995 extern __at(0x0115) __sfr CMOUT
;
1999 unsigned MC1OUT
: 1;
2000 unsigned MC2OUT
: 1;
2009 extern __at(0x0115) volatile __CMOUTbits_t CMOUTbits
;
2011 #define _MC1OUT 0x01
2012 #define _MC2OUT 0x02
2014 //==============================================================================
2017 //==============================================================================
2020 extern __at(0x0116) __sfr BORCON
;
2024 unsigned BORRDY
: 1;
2031 unsigned SBOREN
: 1;
2034 extern __at(0x0116) volatile __BORCONbits_t BORCONbits
;
2036 #define _BORRDY 0x01
2038 #define _SBOREN 0x80
2040 //==============================================================================
2043 //==============================================================================
2046 extern __at(0x0117) __sfr FVRCON
;
2052 unsigned ADFVR0
: 1;
2053 unsigned ADFVR1
: 1;
2054 unsigned CDAFVR0
: 1;
2055 unsigned CDAFVR1
: 1;
2058 unsigned FVRRDY
: 1;
2071 unsigned CDAFVR
: 2;
2076 extern __at(0x0117) volatile __FVRCONbits_t FVRCONbits
;
2078 #define _ADFVR0 0x01
2079 #define _ADFVR1 0x02
2080 #define _CDAFVR0 0x04
2081 #define _CDAFVR1 0x08
2084 #define _FVRRDY 0x40
2087 //==============================================================================
2090 //==============================================================================
2093 extern __at(0x0118) __sfr DAC1CON0
;
2101 unsigned D1PSS0
: 1;
2102 unsigned D1PSS1
: 1;
2104 unsigned DAC1OE
: 1;
2106 unsigned DAC1EN
: 1;
2117 extern __at(0x0118) volatile __DAC1CON0bits_t DAC1CON0bits
;
2119 #define _D1PSS0 0x04
2120 #define _D1PSS1 0x08
2121 #define _DAC1OE 0x20
2122 #define _DAC1EN 0x80
2124 //==============================================================================
2127 //==============================================================================
2130 extern __at(0x0119) __sfr DAC1CON1
;
2134 unsigned DAC1R0
: 1;
2135 unsigned DAC1R1
: 1;
2136 unsigned DAC1R2
: 1;
2137 unsigned DAC1R3
: 1;
2138 unsigned DAC1R4
: 1;
2139 unsigned DAC1R5
: 1;
2140 unsigned DAC1R6
: 1;
2141 unsigned DAC1R7
: 1;
2144 extern __at(0x0119) volatile __DAC1CON1bits_t DAC1CON1bits
;
2146 #define _DAC1R0 0x01
2147 #define _DAC1R1 0x02
2148 #define _DAC1R2 0x04
2149 #define _DAC1R3 0x08
2150 #define _DAC1R4 0x10
2151 #define _DAC1R5 0x20
2152 #define _DAC1R6 0x40
2153 #define _DAC1R7 0x80
2155 //==============================================================================
2158 //==============================================================================
2161 extern __at(0x011C) __sfr ZCD1CON
;
2165 unsigned ZCD1INTN
: 1;
2166 unsigned ZCD1INTP
: 1;
2169 unsigned ZCD1POL
: 1;
2170 unsigned ZCD1OUT
: 1;
2172 unsigned ZCD1EN
: 1;
2175 extern __at(0x011C) volatile __ZCD1CONbits_t ZCD1CONbits
;
2177 #define _ZCD1INTN 0x01
2178 #define _ZCD1INTP 0x02
2179 #define _ZCD1POL 0x10
2180 #define _ZCD1OUT 0x20
2181 #define _ZCD1EN 0x80
2183 //==============================================================================
2186 //==============================================================================
2189 extern __at(0x018C) __sfr ANSELA
;
2203 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits
;
2210 //==============================================================================
2213 //==============================================================================
2216 extern __at(0x018E) __sfr ANSELC
;
2239 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits
;
2246 //==============================================================================
2248 extern __at(0x0191) __sfr PMADR
;
2249 extern __at(0x0191) __sfr PMADRL
;
2250 extern __at(0x0192) __sfr PMADRH
;
2251 extern __at(0x0193) __sfr PMDAT
;
2252 extern __at(0x0193) __sfr PMDATL
;
2253 extern __at(0x0194) __sfr PMDATH
;
2255 //==============================================================================
2258 extern __at(0x0195) __sfr PMCON1
;
2272 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits
;
2282 //==============================================================================
2284 extern __at(0x0196) __sfr PMCON2
;
2286 //==============================================================================
2289 extern __at(0x0197) __sfr VREGCON
;
2295 unsigned VREGPM0
: 1;
2296 unsigned VREGPM1
: 1;
2307 unsigned VREGPM
: 2;
2312 extern __at(0x0197) volatile __VREGCONbits_t VREGCONbits
;
2314 #define _VREGPM0 0x01
2315 #define _VREGPM1 0x02
2317 //==============================================================================
2319 extern __at(0x0199) __sfr RC1REG
;
2320 extern __at(0x0199) __sfr RCREG
;
2321 extern __at(0x0199) __sfr RCREG1
;
2322 extern __at(0x019A) __sfr TX1REG
;
2323 extern __at(0x019A) __sfr TXREG
;
2324 extern __at(0x019A) __sfr TXREG1
;
2325 extern __at(0x019B) __sfr SP1BRG
;
2326 extern __at(0x019B) __sfr SP1BRGL
;
2327 extern __at(0x019B) __sfr SPBRG
;
2328 extern __at(0x019B) __sfr SPBRG1
;
2329 extern __at(0x019B) __sfr SPBRGL
;
2330 extern __at(0x019C) __sfr SP1BRGH
;
2331 extern __at(0x019C) __sfr SPBRGH
;
2332 extern __at(0x019C) __sfr SPBRGH1
;
2334 //==============================================================================
2337 extern __at(0x019D) __sfr RC1STA
;
2351 extern __at(0x019D) volatile __RC1STAbits_t RC1STAbits
;
2362 //==============================================================================
2365 //==============================================================================
2368 extern __at(0x019D) __sfr RCSTA
;
2382 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits
;
2384 #define _RCSTA_RX9D 0x01
2385 #define _RCSTA_OERR 0x02
2386 #define _RCSTA_FERR 0x04
2387 #define _RCSTA_ADDEN 0x08
2388 #define _RCSTA_CREN 0x10
2389 #define _RCSTA_SREN 0x20
2390 #define _RCSTA_RX9 0x40
2391 #define _RCSTA_SPEN 0x80
2393 //==============================================================================
2396 //==============================================================================
2399 extern __at(0x019D) __sfr RCSTA1
;
2413 extern __at(0x019D) volatile __RCSTA1bits_t RCSTA1bits
;
2415 #define _RCSTA1_RX9D 0x01
2416 #define _RCSTA1_OERR 0x02
2417 #define _RCSTA1_FERR 0x04
2418 #define _RCSTA1_ADDEN 0x08
2419 #define _RCSTA1_CREN 0x10
2420 #define _RCSTA1_SREN 0x20
2421 #define _RCSTA1_RX9 0x40
2422 #define _RCSTA1_SPEN 0x80
2424 //==============================================================================
2427 //==============================================================================
2430 extern __at(0x019E) __sfr TX1STA
;
2444 extern __at(0x019E) volatile __TX1STAbits_t TX1STAbits
;
2455 //==============================================================================
2458 //==============================================================================
2461 extern __at(0x019E) __sfr TXSTA
;
2475 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits
;
2477 #define _TXSTA_TX9D 0x01
2478 #define _TXSTA_TRMT 0x02
2479 #define _TXSTA_BRGH 0x04
2480 #define _TXSTA_SENDB 0x08
2481 #define _TXSTA_SYNC 0x10
2482 #define _TXSTA_TXEN 0x20
2483 #define _TXSTA_TX9 0x40
2484 #define _TXSTA_CSRC 0x80
2486 //==============================================================================
2489 //==============================================================================
2492 extern __at(0x019E) __sfr TXSTA1
;
2506 extern __at(0x019E) volatile __TXSTA1bits_t TXSTA1bits
;
2508 #define _TXSTA1_TX9D 0x01
2509 #define _TXSTA1_TRMT 0x02
2510 #define _TXSTA1_BRGH 0x04
2511 #define _TXSTA1_SENDB 0x08
2512 #define _TXSTA1_SYNC 0x10
2513 #define _TXSTA1_TXEN 0x20
2514 #define _TXSTA1_TX9 0x40
2515 #define _TXSTA1_CSRC 0x80
2517 //==============================================================================
2520 //==============================================================================
2523 extern __at(0x019F) __sfr BAUD1CON
;
2534 unsigned ABDOVF
: 1;
2537 extern __at(0x019F) volatile __BAUD1CONbits_t BAUD1CONbits
;
2544 #define _ABDOVF 0x80
2546 //==============================================================================
2549 //==============================================================================
2552 extern __at(0x019F) __sfr BAUDCON
;
2563 unsigned ABDOVF
: 1;
2566 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits
;
2568 #define _BAUDCON_ABDEN 0x01
2569 #define _BAUDCON_WUE 0x02
2570 #define _BAUDCON_BRG16 0x08
2571 #define _BAUDCON_SCKP 0x10
2572 #define _BAUDCON_RCIDL 0x40
2573 #define _BAUDCON_ABDOVF 0x80
2575 //==============================================================================
2578 //==============================================================================
2581 extern __at(0x019F) __sfr BAUDCON1
;
2592 unsigned ABDOVF
: 1;
2595 extern __at(0x019F) volatile __BAUDCON1bits_t BAUDCON1bits
;
2597 #define _BAUDCON1_ABDEN 0x01
2598 #define _BAUDCON1_WUE 0x02
2599 #define _BAUDCON1_BRG16 0x08
2600 #define _BAUDCON1_SCKP 0x10
2601 #define _BAUDCON1_RCIDL 0x40
2602 #define _BAUDCON1_ABDOVF 0x80
2604 //==============================================================================
2607 //==============================================================================
2610 extern __at(0x019F) __sfr BAUDCTL
;
2621 unsigned ABDOVF
: 1;
2624 extern __at(0x019F) volatile __BAUDCTLbits_t BAUDCTLbits
;
2626 #define _BAUDCTL_ABDEN 0x01
2627 #define _BAUDCTL_WUE 0x02
2628 #define _BAUDCTL_BRG16 0x08
2629 #define _BAUDCTL_SCKP 0x10
2630 #define _BAUDCTL_RCIDL 0x40
2631 #define _BAUDCTL_ABDOVF 0x80
2633 //==============================================================================
2636 //==============================================================================
2639 extern __at(0x019F) __sfr BAUDCTL1
;
2650 unsigned ABDOVF
: 1;
2653 extern __at(0x019F) volatile __BAUDCTL1bits_t BAUDCTL1bits
;
2655 #define _BAUDCTL1_ABDEN 0x01
2656 #define _BAUDCTL1_WUE 0x02
2657 #define _BAUDCTL1_BRG16 0x08
2658 #define _BAUDCTL1_SCKP 0x10
2659 #define _BAUDCTL1_RCIDL 0x40
2660 #define _BAUDCTL1_ABDOVF 0x80
2662 //==============================================================================
2665 //==============================================================================
2668 extern __at(0x020C) __sfr WPUA
;
2691 extern __at(0x020C) volatile __WPUAbits_t WPUAbits
;
2700 //==============================================================================
2703 //==============================================================================
2706 extern __at(0x020E) __sfr WPUC
;
2729 extern __at(0x020E) volatile __WPUCbits_t WPUCbits
;
2738 //==============================================================================
2741 //==============================================================================
2744 extern __at(0x0211) __sfr SSP1BUF
;
2750 unsigned SSP1BUF0
: 1;
2751 unsigned SSP1BUF1
: 1;
2752 unsigned SSP1BUF2
: 1;
2753 unsigned SSP1BUF3
: 1;
2754 unsigned SSP1BUF4
: 1;
2755 unsigned SSP1BUF5
: 1;
2756 unsigned SSP1BUF6
: 1;
2757 unsigned SSP1BUF7
: 1;
2773 extern __at(0x0211) volatile __SSP1BUFbits_t SSP1BUFbits
;
2775 #define _SSP1BUF0 0x01
2777 #define _SSP1BUF1 0x02
2779 #define _SSP1BUF2 0x04
2781 #define _SSP1BUF3 0x08
2783 #define _SSP1BUF4 0x10
2785 #define _SSP1BUF5 0x20
2787 #define _SSP1BUF6 0x40
2789 #define _SSP1BUF7 0x80
2792 //==============================================================================
2795 //==============================================================================
2798 extern __at(0x0211) __sfr SSPBUF
;
2804 unsigned SSP1BUF0
: 1;
2805 unsigned SSP1BUF1
: 1;
2806 unsigned SSP1BUF2
: 1;
2807 unsigned SSP1BUF3
: 1;
2808 unsigned SSP1BUF4
: 1;
2809 unsigned SSP1BUF5
: 1;
2810 unsigned SSP1BUF6
: 1;
2811 unsigned SSP1BUF7
: 1;
2827 extern __at(0x0211) volatile __SSPBUFbits_t SSPBUFbits
;
2829 #define _SSPBUF_SSP1BUF0 0x01
2830 #define _SSPBUF_BUF0 0x01
2831 #define _SSPBUF_SSP1BUF1 0x02
2832 #define _SSPBUF_BUF1 0x02
2833 #define _SSPBUF_SSP1BUF2 0x04
2834 #define _SSPBUF_BUF2 0x04
2835 #define _SSPBUF_SSP1BUF3 0x08
2836 #define _SSPBUF_BUF3 0x08
2837 #define _SSPBUF_SSP1BUF4 0x10
2838 #define _SSPBUF_BUF4 0x10
2839 #define _SSPBUF_SSP1BUF5 0x20
2840 #define _SSPBUF_BUF5 0x20
2841 #define _SSPBUF_SSP1BUF6 0x40
2842 #define _SSPBUF_BUF6 0x40
2843 #define _SSPBUF_SSP1BUF7 0x80
2844 #define _SSPBUF_BUF7 0x80
2846 //==============================================================================
2849 //==============================================================================
2852 extern __at(0x0212) __sfr SSP1ADD
;
2858 unsigned SSP1ADD0
: 1;
2859 unsigned SSP1ADD1
: 1;
2860 unsigned SSP1ADD2
: 1;
2861 unsigned SSP1ADD3
: 1;
2862 unsigned SSP1ADD4
: 1;
2863 unsigned SSP1ADD5
: 1;
2864 unsigned SSP1ADD6
: 1;
2865 unsigned SSP1ADD7
: 1;
2881 extern __at(0x0212) volatile __SSP1ADDbits_t SSP1ADDbits
;
2883 #define _SSP1ADD0 0x01
2885 #define _SSP1ADD1 0x02
2887 #define _SSP1ADD2 0x04
2889 #define _SSP1ADD3 0x08
2891 #define _SSP1ADD4 0x10
2893 #define _SSP1ADD5 0x20
2895 #define _SSP1ADD6 0x40
2897 #define _SSP1ADD7 0x80
2900 //==============================================================================
2903 //==============================================================================
2906 extern __at(0x0212) __sfr SSPADD
;
2912 unsigned SSP1ADD0
: 1;
2913 unsigned SSP1ADD1
: 1;
2914 unsigned SSP1ADD2
: 1;
2915 unsigned SSP1ADD3
: 1;
2916 unsigned SSP1ADD4
: 1;
2917 unsigned SSP1ADD5
: 1;
2918 unsigned SSP1ADD6
: 1;
2919 unsigned SSP1ADD7
: 1;
2935 extern __at(0x0212) volatile __SSPADDbits_t SSPADDbits
;
2937 #define _SSPADD_SSP1ADD0 0x01
2938 #define _SSPADD_ADD0 0x01
2939 #define _SSPADD_SSP1ADD1 0x02
2940 #define _SSPADD_ADD1 0x02
2941 #define _SSPADD_SSP1ADD2 0x04
2942 #define _SSPADD_ADD2 0x04
2943 #define _SSPADD_SSP1ADD3 0x08
2944 #define _SSPADD_ADD3 0x08
2945 #define _SSPADD_SSP1ADD4 0x10
2946 #define _SSPADD_ADD4 0x10
2947 #define _SSPADD_SSP1ADD5 0x20
2948 #define _SSPADD_ADD5 0x20
2949 #define _SSPADD_SSP1ADD6 0x40
2950 #define _SSPADD_ADD6 0x40
2951 #define _SSPADD_SSP1ADD7 0x80
2952 #define _SSPADD_ADD7 0x80
2954 //==============================================================================
2957 //==============================================================================
2960 extern __at(0x0213) __sfr SSP1MSK
;
2966 unsigned SSP1MSK0
: 1;
2967 unsigned SSP1MSK1
: 1;
2968 unsigned SSP1MSK2
: 1;
2969 unsigned SSP1MSK3
: 1;
2970 unsigned SSP1MSK4
: 1;
2971 unsigned SSP1MSK5
: 1;
2972 unsigned SSP1MSK6
: 1;
2973 unsigned SSP1MSK7
: 1;
2989 extern __at(0x0213) volatile __SSP1MSKbits_t SSP1MSKbits
;
2991 #define _SSP1MSK0 0x01
2993 #define _SSP1MSK1 0x02
2995 #define _SSP1MSK2 0x04
2997 #define _SSP1MSK3 0x08
2999 #define _SSP1MSK4 0x10
3001 #define _SSP1MSK5 0x20
3003 #define _SSP1MSK6 0x40
3005 #define _SSP1MSK7 0x80
3008 //==============================================================================
3011 //==============================================================================
3014 extern __at(0x0213) __sfr SSPMSK
;
3020 unsigned SSP1MSK0
: 1;
3021 unsigned SSP1MSK1
: 1;
3022 unsigned SSP1MSK2
: 1;
3023 unsigned SSP1MSK3
: 1;
3024 unsigned SSP1MSK4
: 1;
3025 unsigned SSP1MSK5
: 1;
3026 unsigned SSP1MSK6
: 1;
3027 unsigned SSP1MSK7
: 1;
3043 extern __at(0x0213) volatile __SSPMSKbits_t SSPMSKbits
;
3045 #define _SSPMSK_SSP1MSK0 0x01
3046 #define _SSPMSK_MSK0 0x01
3047 #define _SSPMSK_SSP1MSK1 0x02
3048 #define _SSPMSK_MSK1 0x02
3049 #define _SSPMSK_SSP1MSK2 0x04
3050 #define _SSPMSK_MSK2 0x04
3051 #define _SSPMSK_SSP1MSK3 0x08
3052 #define _SSPMSK_MSK3 0x08
3053 #define _SSPMSK_SSP1MSK4 0x10
3054 #define _SSPMSK_MSK4 0x10
3055 #define _SSPMSK_SSP1MSK5 0x20
3056 #define _SSPMSK_MSK5 0x20
3057 #define _SSPMSK_SSP1MSK6 0x40
3058 #define _SSPMSK_MSK6 0x40
3059 #define _SSPMSK_SSP1MSK7 0x80
3060 #define _SSPMSK_MSK7 0x80
3062 //==============================================================================
3065 //==============================================================================
3068 extern __at(0x0214) __sfr SSP1STAT
;
3074 unsigned R_NOT_W
: 1;
3077 unsigned D_NOT_A
: 1;
3082 extern __at(0x0214) volatile __SSP1STATbits_t SSP1STATbits
;
3086 #define _R_NOT_W 0x04
3089 #define _D_NOT_A 0x20
3093 //==============================================================================
3096 //==============================================================================
3099 extern __at(0x0214) __sfr SSPSTAT
;
3105 unsigned R_NOT_W
: 1;
3108 unsigned D_NOT_A
: 1;
3113 extern __at(0x0214) volatile __SSPSTATbits_t SSPSTATbits
;
3115 #define _SSPSTAT_BF 0x01
3116 #define _SSPSTAT_UA 0x02
3117 #define _SSPSTAT_R_NOT_W 0x04
3118 #define _SSPSTAT_S 0x08
3119 #define _SSPSTAT_P 0x10
3120 #define _SSPSTAT_D_NOT_A 0x20
3121 #define _SSPSTAT_CKE 0x40
3122 #define _SSPSTAT_SMP 0x80
3124 //==============================================================================
3127 //==============================================================================
3130 extern __at(0x0215) __sfr SSP1CON
;
3153 extern __at(0x0215) volatile __SSP1CONbits_t SSP1CONbits
;
3164 //==============================================================================
3167 //==============================================================================
3170 extern __at(0x0215) __sfr SSP1CON1
;
3193 extern __at(0x0215) volatile __SSP1CON1bits_t SSP1CON1bits
;
3195 #define _SSP1CON1_SSPM0 0x01
3196 #define _SSP1CON1_SSPM1 0x02
3197 #define _SSP1CON1_SSPM2 0x04
3198 #define _SSP1CON1_SSPM3 0x08
3199 #define _SSP1CON1_CKP 0x10
3200 #define _SSP1CON1_SSPEN 0x20
3201 #define _SSP1CON1_SSPOV 0x40
3202 #define _SSP1CON1_WCOL 0x80
3204 //==============================================================================
3207 //==============================================================================
3210 extern __at(0x0215) __sfr SSPCON
;
3233 extern __at(0x0215) volatile __SSPCONbits_t SSPCONbits
;
3235 #define _SSPCON_SSPM0 0x01
3236 #define _SSPCON_SSPM1 0x02
3237 #define _SSPCON_SSPM2 0x04
3238 #define _SSPCON_SSPM3 0x08
3239 #define _SSPCON_CKP 0x10
3240 #define _SSPCON_SSPEN 0x20
3241 #define _SSPCON_SSPOV 0x40
3242 #define _SSPCON_WCOL 0x80
3244 //==============================================================================
3247 //==============================================================================
3250 extern __at(0x0215) __sfr SSPCON1
;
3273 extern __at(0x0215) volatile __SSPCON1bits_t SSPCON1bits
;
3275 #define _SSPCON1_SSPM0 0x01
3276 #define _SSPCON1_SSPM1 0x02
3277 #define _SSPCON1_SSPM2 0x04
3278 #define _SSPCON1_SSPM3 0x08
3279 #define _SSPCON1_CKP 0x10
3280 #define _SSPCON1_SSPEN 0x20
3281 #define _SSPCON1_SSPOV 0x40
3282 #define _SSPCON1_WCOL 0x80
3284 //==============================================================================
3287 //==============================================================================
3290 extern __at(0x0216) __sfr SSP1CON2
;
3300 unsigned ACKSTAT
: 1;
3304 extern __at(0x0216) volatile __SSP1CON2bits_t SSP1CON2bits
;
3312 #define _ACKSTAT 0x40
3315 //==============================================================================
3318 //==============================================================================
3321 extern __at(0x0216) __sfr SSPCON2
;
3331 unsigned ACKSTAT
: 1;
3335 extern __at(0x0216) volatile __SSPCON2bits_t SSPCON2bits
;
3337 #define _SSPCON2_SEN 0x01
3338 #define _SSPCON2_RSEN 0x02
3339 #define _SSPCON2_PEN 0x04
3340 #define _SSPCON2_RCEN 0x08
3341 #define _SSPCON2_ACKEN 0x10
3342 #define _SSPCON2_ACKDT 0x20
3343 #define _SSPCON2_ACKSTAT 0x40
3344 #define _SSPCON2_GCEN 0x80
3346 //==============================================================================
3349 //==============================================================================
3352 extern __at(0x0217) __sfr SSP1CON3
;
3363 unsigned ACKTIM
: 1;
3366 extern __at(0x0217) volatile __SSP1CON3bits_t SSP1CON3bits
;
3375 #define _ACKTIM 0x80
3377 //==============================================================================
3380 //==============================================================================
3383 extern __at(0x0217) __sfr SSPCON3
;
3394 unsigned ACKTIM
: 1;
3397 extern __at(0x0217) volatile __SSPCON3bits_t SSPCON3bits
;
3399 #define _SSPCON3_DHEN 0x01
3400 #define _SSPCON3_AHEN 0x02
3401 #define _SSPCON3_SBCDE 0x04
3402 #define _SSPCON3_SDAHT 0x08
3403 #define _SSPCON3_BOEN 0x10
3404 #define _SSPCON3_SCIE 0x20
3405 #define _SSPCON3_PCIE 0x40
3406 #define _SSPCON3_ACKTIM 0x80
3408 //==============================================================================
3411 //==============================================================================
3414 extern __at(0x028C) __sfr ODCONA
;
3428 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits
;
3436 //==============================================================================
3439 //==============================================================================
3442 extern __at(0x028E) __sfr ODCONC
;
3465 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits
;
3474 //==============================================================================
3476 extern __at(0x0291) __sfr CCPR1
;
3477 extern __at(0x0291) __sfr CCPR1L
;
3478 extern __at(0x0292) __sfr CCPR1H
;
3480 //==============================================================================
3483 extern __at(0x0293) __sfr CCP1CON
;
3501 unsigned CCP1MODE0
: 1;
3502 unsigned CCP1MODE1
: 1;
3503 unsigned CCP1MODE2
: 1;
3504 unsigned CCP1MODE3
: 1;
3505 unsigned CCP1FMT
: 1;
3506 unsigned CCP1OUT
: 1;
3508 unsigned CCP1EN
: 1;
3519 unsigned CCP1MODE
: 4;
3524 extern __at(0x0293) volatile __CCP1CONbits_t CCP1CONbits
;
3526 #define _CCP1CON_MODE0 0x01
3527 #define _CCP1CON_CCP1MODE0 0x01
3528 #define _CCP1CON_MODE1 0x02
3529 #define _CCP1CON_CCP1MODE1 0x02
3530 #define _CCP1CON_MODE2 0x04
3531 #define _CCP1CON_CCP1MODE2 0x04
3532 #define _CCP1CON_MODE3 0x08
3533 #define _CCP1CON_CCP1MODE3 0x08
3534 #define _CCP1CON_FMT 0x10
3535 #define _CCP1CON_CCP1FMT 0x10
3536 #define _CCP1CON_OUT 0x20
3537 #define _CCP1CON_CCP1OUT 0x20
3538 #define _CCP1CON_EN 0x80
3539 #define _CCP1CON_CCP1EN 0x80
3541 //==============================================================================
3544 //==============================================================================
3547 extern __at(0x0294) __sfr CCP1CAP
;
3565 unsigned CCP1CTS0
: 1;
3566 unsigned CCP1CTS1
: 1;
3567 unsigned CCP1CTS2
: 1;
3583 unsigned CCP1CTS
: 3;
3588 extern __at(0x0294) volatile __CCP1CAPbits_t CCP1CAPbits
;
3591 #define _CCP1CTS0 0x01
3593 #define _CCP1CTS1 0x02
3595 #define _CCP1CTS2 0x04
3597 //==============================================================================
3599 extern __at(0x0298) __sfr CCPR2
;
3600 extern __at(0x0298) __sfr CCPR2L
;
3601 extern __at(0x0299) __sfr CCPR2H
;
3603 //==============================================================================
3606 extern __at(0x029A) __sfr CCP2CON
;
3624 unsigned CCP2MODE0
: 1;
3625 unsigned CCP2MODE1
: 1;
3626 unsigned CCP2MODE2
: 1;
3627 unsigned CCP2MODE3
: 1;
3628 unsigned CCP2FMT
: 1;
3629 unsigned CCP2OUT
: 1;
3631 unsigned CCP2EN
: 1;
3636 unsigned CCP2MODE
: 4;
3647 extern __at(0x029A) volatile __CCP2CONbits_t CCP2CONbits
;
3649 #define _CCP2CON_MODE0 0x01
3650 #define _CCP2CON_CCP2MODE0 0x01
3651 #define _CCP2CON_MODE1 0x02
3652 #define _CCP2CON_CCP2MODE1 0x02
3653 #define _CCP2CON_MODE2 0x04
3654 #define _CCP2CON_CCP2MODE2 0x04
3655 #define _CCP2CON_MODE3 0x08
3656 #define _CCP2CON_CCP2MODE3 0x08
3657 #define _CCP2CON_FMT 0x10
3658 #define _CCP2CON_CCP2FMT 0x10
3659 #define _CCP2CON_OUT 0x20
3660 #define _CCP2CON_CCP2OUT 0x20
3661 #define _CCP2CON_EN 0x80
3662 #define _CCP2CON_CCP2EN 0x80
3664 //==============================================================================
3667 //==============================================================================
3670 extern __at(0x029B) __sfr CCP2CAP
;
3688 unsigned CCP2CTS0
: 1;
3689 unsigned CCP2CTS1
: 1;
3690 unsigned CCP2CTS2
: 1;
3706 unsigned CCP2CTS
: 3;
3711 extern __at(0x029B) volatile __CCP2CAPbits_t CCP2CAPbits
;
3713 #define _CCP2CAP_CTS0 0x01
3714 #define _CCP2CAP_CCP2CTS0 0x01
3715 #define _CCP2CAP_CTS1 0x02
3716 #define _CCP2CAP_CCP2CTS1 0x02
3717 #define _CCP2CAP_CTS2 0x04
3718 #define _CCP2CAP_CCP2CTS2 0x04
3720 //==============================================================================
3723 //==============================================================================
3726 extern __at(0x029E) __sfr CCPTMRS
;
3732 unsigned CCP1TSEL0
: 1;
3733 unsigned CCP1TSEL1
: 1;
3734 unsigned CCP2TSEL0
: 1;
3735 unsigned CCP2TSEL1
: 1;
3736 unsigned P3TSEL0
: 1;
3737 unsigned P3TSEL1
: 1;
3738 unsigned P4TSEL0
: 1;
3739 unsigned P4TSEL1
: 1;
3744 unsigned CCP1TSEL
: 2;
3751 unsigned CCP2TSEL
: 2;
3758 unsigned P3TSEL
: 2;
3765 unsigned P4TSEL
: 2;
3769 extern __at(0x029E) volatile __CCPTMRSbits_t CCPTMRSbits
;
3771 #define _CCP1TSEL0 0x01
3772 #define _CCP1TSEL1 0x02
3773 #define _CCP2TSEL0 0x04
3774 #define _CCP2TSEL1 0x08
3775 #define _P3TSEL0 0x10
3776 #define _P3TSEL1 0x20
3777 #define _P4TSEL0 0x40
3778 #define _P4TSEL1 0x80
3780 //==============================================================================
3783 //==============================================================================
3786 extern __at(0x030C) __sfr SLRCONA
;
3800 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits
;
3808 //==============================================================================
3811 //==============================================================================
3814 extern __at(0x030E) __sfr SLRCONC
;
3837 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits
;
3846 //==============================================================================
3849 //==============================================================================
3852 extern __at(0x038C) __sfr INLVLA
;
3858 unsigned INLVLA0
: 1;
3859 unsigned INLVLA1
: 1;
3860 unsigned INLVLA2
: 1;
3861 unsigned INLVLA3
: 1;
3862 unsigned INLVLA4
: 1;
3863 unsigned INLVLA5
: 1;
3870 unsigned INLVLA
: 6;
3875 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits
;
3877 #define _INLVLA0 0x01
3878 #define _INLVLA1 0x02
3879 #define _INLVLA2 0x04
3880 #define _INLVLA3 0x08
3881 #define _INLVLA4 0x10
3882 #define _INLVLA5 0x20
3884 //==============================================================================
3887 //==============================================================================
3890 extern __at(0x038E) __sfr INLVLC
;
3896 unsigned INLVLC0
: 1;
3897 unsigned INLVLC1
: 1;
3898 unsigned INLVLC2
: 1;
3899 unsigned INLVLC3
: 1;
3900 unsigned INLVLC4
: 1;
3901 unsigned INLVLC5
: 1;
3908 unsigned INLVLC
: 6;
3913 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits
;
3915 #define _INLVLC0 0x01
3916 #define _INLVLC1 0x02
3917 #define _INLVLC2 0x04
3918 #define _INLVLC3 0x08
3919 #define _INLVLC4 0x10
3920 #define _INLVLC5 0x20
3922 //==============================================================================
3925 //==============================================================================
3928 extern __at(0x0391) __sfr IOCAP
;
3934 unsigned IOCAP0
: 1;
3935 unsigned IOCAP1
: 1;
3936 unsigned IOCAP2
: 1;
3937 unsigned IOCAP3
: 1;
3938 unsigned IOCAP4
: 1;
3939 unsigned IOCAP5
: 1;
3951 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits
;
3953 #define _IOCAP0 0x01
3954 #define _IOCAP1 0x02
3955 #define _IOCAP2 0x04
3956 #define _IOCAP3 0x08
3957 #define _IOCAP4 0x10
3958 #define _IOCAP5 0x20
3960 //==============================================================================
3963 //==============================================================================
3966 extern __at(0x0392) __sfr IOCAN
;
3972 unsigned IOCAN0
: 1;
3973 unsigned IOCAN1
: 1;
3974 unsigned IOCAN2
: 1;
3975 unsigned IOCAN3
: 1;
3976 unsigned IOCAN4
: 1;
3977 unsigned IOCAN5
: 1;
3989 extern __at(0x0392) volatile __IOCANbits_t IOCANbits
;
3991 #define _IOCAN0 0x01
3992 #define _IOCAN1 0x02
3993 #define _IOCAN2 0x04
3994 #define _IOCAN3 0x08
3995 #define _IOCAN4 0x10
3996 #define _IOCAN5 0x20
3998 //==============================================================================
4001 //==============================================================================
4004 extern __at(0x0393) __sfr IOCAF
;
4010 unsigned IOCAF0
: 1;
4011 unsigned IOCAF1
: 1;
4012 unsigned IOCAF2
: 1;
4013 unsigned IOCAF3
: 1;
4014 unsigned IOCAF4
: 1;
4015 unsigned IOCAF5
: 1;
4027 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits
;
4029 #define _IOCAF0 0x01
4030 #define _IOCAF1 0x02
4031 #define _IOCAF2 0x04
4032 #define _IOCAF3 0x08
4033 #define _IOCAF4 0x10
4034 #define _IOCAF5 0x20
4036 //==============================================================================
4039 //==============================================================================
4042 extern __at(0x0397) __sfr IOCCP
;
4046 unsigned IOCCP0
: 1;
4047 unsigned IOCCP1
: 1;
4048 unsigned IOCCP2
: 1;
4049 unsigned IOCCP3
: 1;
4050 unsigned IOCCP4
: 1;
4051 unsigned IOCCP5
: 1;
4052 unsigned IOCCP6
: 1;
4053 unsigned IOCCP7
: 1;
4056 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits
;
4058 #define _IOCCP0 0x01
4059 #define _IOCCP1 0x02
4060 #define _IOCCP2 0x04
4061 #define _IOCCP3 0x08
4062 #define _IOCCP4 0x10
4063 #define _IOCCP5 0x20
4064 #define _IOCCP6 0x40
4065 #define _IOCCP7 0x80
4067 //==============================================================================
4070 //==============================================================================
4073 extern __at(0x0398) __sfr IOCCN
;
4077 unsigned IOCCN0
: 1;
4078 unsigned IOCCN1
: 1;
4079 unsigned IOCCN2
: 1;
4080 unsigned IOCCN3
: 1;
4081 unsigned IOCCN4
: 1;
4082 unsigned IOCCN5
: 1;
4083 unsigned IOCCN6
: 1;
4084 unsigned IOCCN7
: 1;
4087 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits
;
4089 #define _IOCCN0 0x01
4090 #define _IOCCN1 0x02
4091 #define _IOCCN2 0x04
4092 #define _IOCCN3 0x08
4093 #define _IOCCN4 0x10
4094 #define _IOCCN5 0x20
4095 #define _IOCCN6 0x40
4096 #define _IOCCN7 0x80
4098 //==============================================================================
4101 //==============================================================================
4104 extern __at(0x0399) __sfr IOCCF
;
4108 unsigned IOCCF0
: 1;
4109 unsigned IOCCF1
: 1;
4110 unsigned IOCCF2
: 1;
4111 unsigned IOCCF3
: 1;
4112 unsigned IOCCF4
: 1;
4113 unsigned IOCCF5
: 1;
4114 unsigned IOCCF6
: 1;
4115 unsigned IOCCF7
: 1;
4118 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits
;
4120 #define _IOCCF0 0x01
4121 #define _IOCCF1 0x02
4122 #define _IOCCF2 0x04
4123 #define _IOCCF3 0x08
4124 #define _IOCCF4 0x10
4125 #define _IOCCF5 0x20
4126 #define _IOCCF6 0x40
4127 #define _IOCCF7 0x80
4129 //==============================================================================
4132 //==============================================================================
4135 extern __at(0x040E) __sfr HIDRVC
;
4149 extern __at(0x040E) volatile __HIDRVCbits_t HIDRVCbits
;
4154 //==============================================================================
4156 extern __at(0x0413) __sfr T4TMR
;
4157 extern __at(0x0413) __sfr TMR4
;
4158 extern __at(0x0414) __sfr PR4
;
4159 extern __at(0x0414) __sfr T4PR
;
4161 //==============================================================================
4164 extern __at(0x0415) __sfr T4CON
;
4170 unsigned OUTPS0
: 1;
4171 unsigned OUTPS1
: 1;
4172 unsigned OUTPS2
: 1;
4173 unsigned OUTPS3
: 1;
4182 unsigned T4OUTPS0
: 1;
4183 unsigned T4OUTPS1
: 1;
4184 unsigned T4OUTPS2
: 1;
4185 unsigned T4OUTPS3
: 1;
4186 unsigned T4CKPS0
: 1;
4187 unsigned T4CKPS1
: 1;
4188 unsigned T4CKPS2
: 1;
4201 unsigned TMR4ON
: 1;
4206 unsigned T4OUTPS
: 4;
4219 unsigned T4CKPS
: 3;
4231 extern __at(0x0415) volatile __T4CONbits_t T4CONbits
;
4233 #define _T4CON_OUTPS0 0x01
4234 #define _T4CON_T4OUTPS0 0x01
4235 #define _T4CON_OUTPS1 0x02
4236 #define _T4CON_T4OUTPS1 0x02
4237 #define _T4CON_OUTPS2 0x04
4238 #define _T4CON_T4OUTPS2 0x04
4239 #define _T4CON_OUTPS3 0x08
4240 #define _T4CON_T4OUTPS3 0x08
4241 #define _T4CON_CKPS0 0x10
4242 #define _T4CON_T4CKPS0 0x10
4243 #define _T4CON_CKPS1 0x20
4244 #define _T4CON_T4CKPS1 0x20
4245 #define _T4CON_CKPS2 0x40
4246 #define _T4CON_T4CKPS2 0x40
4247 #define _T4CON_ON 0x80
4248 #define _T4CON_T4ON 0x80
4249 #define _T4CON_TMR4ON 0x80
4251 //==============================================================================
4254 //==============================================================================
4257 extern __at(0x0416) __sfr T4HLT
;
4268 unsigned CKSYNC
: 1;
4275 unsigned T4MODE0
: 1;
4276 unsigned T4MODE1
: 1;
4277 unsigned T4MODE2
: 1;
4278 unsigned T4MODE3
: 1;
4279 unsigned T4MODE4
: 1;
4280 unsigned T4CKSYNC
: 1;
4281 unsigned T4CKPOL
: 1;
4282 unsigned T4PSYNC
: 1;
4287 unsigned T4MODE
: 5;
4298 extern __at(0x0416) volatile __T4HLTbits_t T4HLTbits
;
4300 #define _T4HLT_MODE0 0x01
4301 #define _T4HLT_T4MODE0 0x01
4302 #define _T4HLT_MODE1 0x02
4303 #define _T4HLT_T4MODE1 0x02
4304 #define _T4HLT_MODE2 0x04
4305 #define _T4HLT_T4MODE2 0x04
4306 #define _T4HLT_MODE3 0x08
4307 #define _T4HLT_T4MODE3 0x08
4308 #define _T4HLT_MODE4 0x10
4309 #define _T4HLT_T4MODE4 0x10
4310 #define _T4HLT_CKSYNC 0x20
4311 #define _T4HLT_T4CKSYNC 0x20
4312 #define _T4HLT_CKPOL 0x40
4313 #define _T4HLT_T4CKPOL 0x40
4314 #define _T4HLT_PSYNC 0x80
4315 #define _T4HLT_T4PSYNC 0x80
4317 //==============================================================================
4320 //==============================================================================
4323 extern __at(0x0417) __sfr T4CLKCON
;
4364 extern __at(0x0417) volatile __T4CLKCONbits_t T4CLKCONbits
;
4366 #define _T4CLKCON_CS0 0x01
4367 #define _T4CLKCON_T4CS0 0x01
4368 #define _T4CLKCON_CS1 0x02
4369 #define _T4CLKCON_T4CS1 0x02
4370 #define _T4CLKCON_CS2 0x04
4371 #define _T4CLKCON_T4CS2 0x04
4372 #define _T4CLKCON_CS3 0x08
4373 #define _T4CLKCON_T4CS3 0x08
4375 //==============================================================================
4378 //==============================================================================
4381 extern __at(0x0418) __sfr T4RST
;
4399 unsigned T4RSEL0
: 1;
4400 unsigned T4RSEL1
: 1;
4401 unsigned T4RSEL2
: 1;
4402 unsigned T4RSEL3
: 1;
4417 unsigned T4RSEL
: 4;
4422 extern __at(0x0418) volatile __T4RSTbits_t T4RSTbits
;
4424 #define _T4RST_RSEL0 0x01
4425 #define _T4RST_T4RSEL0 0x01
4426 #define _T4RST_RSEL1 0x02
4427 #define _T4RST_T4RSEL1 0x02
4428 #define _T4RST_RSEL2 0x04
4429 #define _T4RST_T4RSEL2 0x04
4430 #define _T4RST_RSEL3 0x08
4431 #define _T4RST_T4RSEL3 0x08
4433 //==============================================================================
4435 extern __at(0x041A) __sfr T6TMR
;
4436 extern __at(0x041A) __sfr TMR6
;
4437 extern __at(0x041B) __sfr PR6
;
4438 extern __at(0x041B) __sfr T6PR
;
4440 //==============================================================================
4443 extern __at(0x041C) __sfr T6CON
;
4449 unsigned OUTPS0
: 1;
4450 unsigned OUTPS1
: 1;
4451 unsigned OUTPS2
: 1;
4452 unsigned OUTPS3
: 1;
4461 unsigned T6OUTPS0
: 1;
4462 unsigned T6OUTPS1
: 1;
4463 unsigned T6OUTPS2
: 1;
4464 unsigned T6OUTPS3
: 1;
4465 unsigned T6CKPS0
: 1;
4466 unsigned T6CKPS1
: 1;
4467 unsigned T6CKPS2
: 1;
4480 unsigned TMR6ON
: 1;
4485 unsigned T6OUTPS
: 4;
4505 unsigned T6CKPS
: 3;
4510 extern __at(0x041C) volatile __T6CONbits_t T6CONbits
;
4512 #define _T6CON_OUTPS0 0x01
4513 #define _T6CON_T6OUTPS0 0x01
4514 #define _T6CON_OUTPS1 0x02
4515 #define _T6CON_T6OUTPS1 0x02
4516 #define _T6CON_OUTPS2 0x04
4517 #define _T6CON_T6OUTPS2 0x04
4518 #define _T6CON_OUTPS3 0x08
4519 #define _T6CON_T6OUTPS3 0x08
4520 #define _T6CON_CKPS0 0x10
4521 #define _T6CON_T6CKPS0 0x10
4522 #define _T6CON_CKPS1 0x20
4523 #define _T6CON_T6CKPS1 0x20
4524 #define _T6CON_CKPS2 0x40
4525 #define _T6CON_T6CKPS2 0x40
4526 #define _T6CON_ON 0x80
4527 #define _T6CON_T6ON 0x80
4528 #define _T6CON_TMR6ON 0x80
4530 //==============================================================================
4533 //==============================================================================
4536 extern __at(0x041D) __sfr T6HLT
;
4547 unsigned CKSYNC
: 1;
4554 unsigned T6MODE0
: 1;
4555 unsigned T6MODE1
: 1;
4556 unsigned T6MODE2
: 1;
4557 unsigned T6MODE3
: 1;
4558 unsigned T6MODE4
: 1;
4559 unsigned T6CKSYNC
: 1;
4560 unsigned T6CKPOL
: 1;
4561 unsigned T6PSYNC
: 1;
4566 unsigned T6MODE
: 5;
4577 extern __at(0x041D) volatile __T6HLTbits_t T6HLTbits
;
4579 #define _T6HLT_MODE0 0x01
4580 #define _T6HLT_T6MODE0 0x01
4581 #define _T6HLT_MODE1 0x02
4582 #define _T6HLT_T6MODE1 0x02
4583 #define _T6HLT_MODE2 0x04
4584 #define _T6HLT_T6MODE2 0x04
4585 #define _T6HLT_MODE3 0x08
4586 #define _T6HLT_T6MODE3 0x08
4587 #define _T6HLT_MODE4 0x10
4588 #define _T6HLT_T6MODE4 0x10
4589 #define _T6HLT_CKSYNC 0x20
4590 #define _T6HLT_T6CKSYNC 0x20
4591 #define _T6HLT_CKPOL 0x40
4592 #define _T6HLT_T6CKPOL 0x40
4593 #define _T6HLT_PSYNC 0x80
4594 #define _T6HLT_T6PSYNC 0x80
4596 //==============================================================================
4599 //==============================================================================
4602 extern __at(0x041E) __sfr T6CLKCON
;
4643 extern __at(0x041E) volatile __T6CLKCONbits_t T6CLKCONbits
;
4645 #define _T6CLKCON_CS0 0x01
4646 #define _T6CLKCON_T6CS0 0x01
4647 #define _T6CLKCON_CS1 0x02
4648 #define _T6CLKCON_T6CS1 0x02
4649 #define _T6CLKCON_CS2 0x04
4650 #define _T6CLKCON_T6CS2 0x04
4651 #define _T6CLKCON_CS3 0x08
4652 #define _T6CLKCON_T6CS3 0x08
4654 //==============================================================================
4657 //==============================================================================
4660 extern __at(0x041F) __sfr T6RST
;
4678 unsigned T6RSEL0
: 1;
4679 unsigned T6RSEL1
: 1;
4680 unsigned T6RSEL2
: 1;
4681 unsigned T6RSEL3
: 1;
4696 unsigned T6RSEL
: 4;
4701 extern __at(0x041F) volatile __T6RSTbits_t T6RSTbits
;
4703 #define _T6RST_RSEL0 0x01
4704 #define _T6RST_T6RSEL0 0x01
4705 #define _T6RST_RSEL1 0x02
4706 #define _T6RST_T6RSEL1 0x02
4707 #define _T6RST_RSEL2 0x04
4708 #define _T6RST_T6RSEL2 0x04
4709 #define _T6RST_RSEL3 0x08
4710 #define _T6RST_T6RSEL3 0x08
4712 //==============================================================================
4714 extern __at(0x0493) __sfr TMR3L
;
4715 extern __at(0x0494) __sfr TMR3H
;
4717 //==============================================================================
4720 extern __at(0x0495) __sfr T3CON
;
4726 unsigned TMR3ON
: 1;
4728 unsigned T3SYNC
: 1;
4730 unsigned T3CKPS0
: 1;
4731 unsigned T3CKPS1
: 1;
4732 unsigned TMR3CS0
: 1;
4733 unsigned TMR3CS1
: 1;
4739 unsigned T3CKPS
: 2;
4746 unsigned TMR3CS
: 2;
4750 extern __at(0x0495) volatile __T3CONbits_t T3CONbits
;
4752 #define _TMR3ON 0x01
4753 #define _T3SYNC 0x04
4754 #define _T3CKPS0 0x10
4755 #define _T3CKPS1 0x20
4756 #define _TMR3CS0 0x40
4757 #define _TMR3CS1 0x80
4759 //==============================================================================
4762 //==============================================================================
4765 extern __at(0x0496) __sfr T3GCON
;
4771 unsigned T3GSS0
: 1;
4772 unsigned T3GSS1
: 1;
4773 unsigned T3GVAL
: 1;
4774 unsigned T3GGO_NOT_DONE
: 1;
4775 unsigned T3GSPM
: 1;
4777 unsigned T3GPOL
: 1;
4778 unsigned TMR3GE
: 1;
4788 extern __at(0x0496) volatile __T3GCONbits_t T3GCONbits
;
4790 #define _T3GSS0 0x01
4791 #define _T3GSS1 0x02
4792 #define _T3GVAL 0x04
4793 #define _T3GGO_NOT_DONE 0x08
4794 #define _T3GSPM 0x10
4796 #define _T3GPOL 0x40
4797 #define _TMR3GE 0x80
4799 //==============================================================================
4801 extern __at(0x049A) __sfr TMR5L
;
4802 extern __at(0x049B) __sfr TMR5H
;
4804 //==============================================================================
4807 extern __at(0x049C) __sfr T5CON
;
4813 unsigned TMR5ON
: 1;
4815 unsigned T5SYNC
: 1;
4817 unsigned T5CKPS0
: 1;
4818 unsigned T5CKPS1
: 1;
4819 unsigned TMR5CS0
: 1;
4820 unsigned TMR5CS1
: 1;
4826 unsigned T5CKPS
: 2;
4833 unsigned TMR5CS
: 2;
4837 extern __at(0x049C) volatile __T5CONbits_t T5CONbits
;
4839 #define _TMR5ON 0x01
4840 #define _T5SYNC 0x04
4841 #define _T5CKPS0 0x10
4842 #define _T5CKPS1 0x20
4843 #define _TMR5CS0 0x40
4844 #define _TMR5CS1 0x80
4846 //==============================================================================
4849 //==============================================================================
4852 extern __at(0x049D) __sfr T5GCON
;
4858 unsigned T5GSS0
: 1;
4859 unsigned T5GSS1
: 1;
4860 unsigned T5GVAL
: 1;
4861 unsigned T5GGO_NOT_DONE
: 1;
4862 unsigned T5GSPM
: 1;
4864 unsigned T5GPOL
: 1;
4865 unsigned TMR5GE
: 1;
4875 extern __at(0x049D) volatile __T5GCONbits_t T5GCONbits
;
4877 #define _T5GSS0 0x01
4878 #define _T5GSS1 0x02
4879 #define _T5GVAL 0x04
4880 #define _T5GGO_NOT_DONE 0x08
4881 #define _T5GSPM 0x10
4883 #define _T5GPOL 0x40
4884 #define _TMR5GE 0x80
4886 //==============================================================================
4888 extern __at(0x058C) __sfr PID1SET
;
4890 //==============================================================================
4893 extern __at(0x058C) __sfr PID1SETL
;
4899 unsigned PID1SET0
: 1;
4900 unsigned PID1SET1
: 1;
4901 unsigned PID1SET2
: 1;
4902 unsigned PID1SET3
: 1;
4903 unsigned PID1SET4
: 1;
4904 unsigned PID1SET5
: 1;
4905 unsigned PID1SET6
: 1;
4906 unsigned PID1SET7
: 1;
4922 extern __at(0x058C) volatile __PID1SETLbits_t PID1SETLbits
;
4924 #define _PID1SET0 0x01
4926 #define _PID1SET1 0x02
4928 #define _PID1SET2 0x04
4930 #define _PID1SET3 0x08
4932 #define _PID1SET4 0x10
4934 #define _PID1SET5 0x20
4936 #define _PID1SET6 0x40
4938 #define _PID1SET7 0x80
4941 //==============================================================================
4944 //==============================================================================
4947 extern __at(0x058D) __sfr PID1SETH
;
4953 unsigned PID1SET8
: 1;
4954 unsigned PID1SET9
: 1;
4955 unsigned PID1SET10
: 1;
4956 unsigned PID1SET11
: 1;
4957 unsigned PID1SET12
: 1;
4958 unsigned PID1SET13
: 1;
4959 unsigned PID1SET14
: 1;
4960 unsigned PID1SET15
: 1;
4976 extern __at(0x058D) volatile __PID1SETHbits_t PID1SETHbits
;
4978 #define _PID1SET8 0x01
4980 #define _PID1SET9 0x02
4982 #define _PID1SET10 0x04
4984 #define _PID1SET11 0x08
4986 #define _PID1SET12 0x10
4988 #define _PID1SET13 0x20
4990 #define _PID1SET14 0x40
4992 #define _PID1SET15 0x80
4995 //==============================================================================
4997 extern __at(0x058E) __sfr PID1IN
;
4999 //==============================================================================
5002 extern __at(0x058E) __sfr PID1INL
;
5008 unsigned PID1IN0
: 1;
5009 unsigned PID1IN1
: 1;
5010 unsigned PID1IN2
: 1;
5011 unsigned PID1IN3
: 1;
5012 unsigned PID1IN4
: 1;
5013 unsigned PID1IN5
: 1;
5014 unsigned PID1IN6
: 1;
5015 unsigned PID1IN7
: 1;
5031 extern __at(0x058E) volatile __PID1INLbits_t PID1INLbits
;
5033 #define _PID1IN0 0x01
5035 #define _PID1IN1 0x02
5037 #define _PID1IN2 0x04
5039 #define _PID1IN3 0x08
5041 #define _PID1IN4 0x10
5043 #define _PID1IN5 0x20
5045 #define _PID1IN6 0x40
5047 #define _PID1IN7 0x80
5050 //==============================================================================
5053 //==============================================================================
5056 extern __at(0x058F) __sfr PID1INH
;
5062 unsigned PID1IN8
: 1;
5063 unsigned PID1IN9
: 1;
5064 unsigned PID1IN10
: 1;
5065 unsigned PID1IN11
: 1;
5066 unsigned PID1IN12
: 1;
5067 unsigned PID1IN13
: 1;
5068 unsigned PID1IN14
: 1;
5069 unsigned PID1IN15
: 1;
5085 extern __at(0x058F) volatile __PID1INHbits_t PID1INHbits
;
5087 #define _PID1IN8 0x01
5089 #define _PID1IN9 0x02
5091 #define _PID1IN10 0x04
5093 #define _PID1IN11 0x08
5095 #define _PID1IN12 0x10
5097 #define _PID1IN13 0x20
5099 #define _PID1IN14 0x40
5101 #define _PID1IN15 0x80
5104 //==============================================================================
5106 extern __at(0x0590) __sfr PID1K1
;
5108 //==============================================================================
5111 extern __at(0x0590) __sfr PID1K1L
;
5117 unsigned PID1K10
: 1;
5118 unsigned PID1K11
: 1;
5119 unsigned PID1K12
: 1;
5120 unsigned PID1K13
: 1;
5121 unsigned PID1K14
: 1;
5122 unsigned PID1K15
: 1;
5123 unsigned PID1K16
: 1;
5124 unsigned PID1K17
: 1;
5140 extern __at(0x0590) volatile __PID1K1Lbits_t PID1K1Lbits
;
5142 #define _PID1K10 0x01
5144 #define _PID1K11 0x02
5146 #define _PID1K12 0x04
5148 #define _PID1K13 0x08
5150 #define _PID1K14 0x10
5152 #define _PID1K15 0x20
5154 #define _PID1K16 0x40
5156 #define _PID1K17 0x80
5159 //==============================================================================
5162 //==============================================================================
5165 extern __at(0x0591) __sfr PID1K1H
;
5171 unsigned PID1K18
: 1;
5172 unsigned PID1K19
: 1;
5173 unsigned PID1K110
: 1;
5174 unsigned PID1K111
: 1;
5175 unsigned PID1K112
: 1;
5176 unsigned PID1K113
: 1;
5177 unsigned PID1K114
: 1;
5178 unsigned PID1K115
: 1;
5194 extern __at(0x0591) volatile __PID1K1Hbits_t PID1K1Hbits
;
5196 #define _PID1K18 0x01
5198 #define _PID1K19 0x02
5200 #define _PID1K110 0x04
5202 #define _PID1K111 0x08
5204 #define _PID1K112 0x10
5206 #define _PID1K113 0x20
5208 #define _PID1K114 0x40
5210 #define _PID1K115 0x80
5213 //==============================================================================
5215 extern __at(0x0592) __sfr PID1K2
;
5217 //==============================================================================
5220 extern __at(0x0592) __sfr PID1K2L
;
5226 unsigned PID1K20
: 1;
5227 unsigned PID1K21
: 1;
5228 unsigned PID1K22
: 1;
5229 unsigned PID1K23
: 1;
5230 unsigned PID1K24
: 1;
5231 unsigned PID1K25
: 1;
5232 unsigned PID1K26
: 1;
5233 unsigned PID1K27
: 1;
5249 extern __at(0x0592) volatile __PID1K2Lbits_t PID1K2Lbits
;
5251 #define _PID1K20 0x01
5253 #define _PID1K21 0x02
5255 #define _PID1K22 0x04
5257 #define _PID1K23 0x08
5259 #define _PID1K24 0x10
5261 #define _PID1K25 0x20
5263 #define _PID1K26 0x40
5265 #define _PID1K27 0x80
5268 //==============================================================================
5271 //==============================================================================
5274 extern __at(0x0593) __sfr PID1K2H
;
5280 unsigned PID1K28
: 1;
5281 unsigned PID1K29
: 1;
5282 unsigned PID1K210
: 1;
5283 unsigned PID1K211
: 1;
5284 unsigned PID1K212
: 1;
5285 unsigned PID1K213
: 1;
5286 unsigned PID1K214
: 1;
5287 unsigned PID1K215
: 1;
5303 extern __at(0x0593) volatile __PID1K2Hbits_t PID1K2Hbits
;
5305 #define _PID1K28 0x01
5307 #define _PID1K29 0x02
5309 #define _PID1K210 0x04
5311 #define _PID1K211 0x08
5313 #define _PID1K212 0x10
5315 #define _PID1K213 0x20
5317 #define _PID1K214 0x40
5319 #define _PID1K215 0x80
5322 //==============================================================================
5324 extern __at(0x0594) __sfr PID1K3
;
5326 //==============================================================================
5329 extern __at(0x0594) __sfr PID1K3L
;
5335 unsigned PID1K30
: 1;
5336 unsigned PID1K31
: 1;
5337 unsigned PID1K32
: 1;
5338 unsigned PID1K33
: 1;
5339 unsigned PID1K34
: 1;
5340 unsigned PID1K35
: 1;
5341 unsigned PID1K36
: 1;
5342 unsigned PID1K37
: 1;
5358 extern __at(0x0594) volatile __PID1K3Lbits_t PID1K3Lbits
;
5360 #define _PID1K30 0x01
5362 #define _PID1K31 0x02
5364 #define _PID1K32 0x04
5366 #define _PID1K33 0x08
5368 #define _PID1K34 0x10
5370 #define _PID1K35 0x20
5372 #define _PID1K36 0x40
5374 #define _PID1K37 0x80
5377 //==============================================================================
5380 //==============================================================================
5383 extern __at(0x0595) __sfr PID1K3H
;
5389 unsigned PID1K38
: 1;
5390 unsigned PID1K39
: 1;
5391 unsigned PID1K310
: 1;
5392 unsigned PID1K311
: 1;
5393 unsigned PID1K312
: 1;
5394 unsigned PID1K313
: 1;
5395 unsigned PID1K314
: 1;
5396 unsigned PID1K315
: 1;
5412 extern __at(0x0595) volatile __PID1K3Hbits_t PID1K3Hbits
;
5414 #define _PID1K38 0x01
5416 #define _PID1K39 0x02
5418 #define _PID1K310 0x04
5420 #define _PID1K311 0x08
5422 #define _PID1K312 0x10
5424 #define _PID1K313 0x20
5426 #define _PID1K314 0x40
5428 #define _PID1K315 0x80
5431 //==============================================================================
5433 extern __at(0x0596) __sfr PID1OUT
;
5435 //==============================================================================
5438 extern __at(0x0596) __sfr PID1OUTLL
;
5444 unsigned PID1OUT0
: 1;
5445 unsigned PID1OUT1
: 1;
5446 unsigned PID1OUT2
: 1;
5447 unsigned PID1OUT3
: 1;
5448 unsigned PID1OUT4
: 1;
5449 unsigned PID1OUT5
: 1;
5450 unsigned PID1OUT6
: 1;
5451 unsigned PID1OUT7
: 1;
5465 } __PID1OUTLLbits_t
;
5467 extern __at(0x0596) volatile __PID1OUTLLbits_t PID1OUTLLbits
;
5469 #define _PID1OUT0 0x01
5471 #define _PID1OUT1 0x02
5473 #define _PID1OUT2 0x04
5475 #define _PID1OUT3 0x08
5477 #define _PID1OUT4 0x10
5479 #define _PID1OUT5 0x20
5481 #define _PID1OUT6 0x40
5483 #define _PID1OUT7 0x80
5486 //==============================================================================
5489 //==============================================================================
5492 extern __at(0x0597) __sfr PID1OUTLH
;
5498 unsigned PID1OUT8
: 1;
5499 unsigned PID1OUT9
: 1;
5500 unsigned PID1OUT10
: 1;
5501 unsigned PID1OUT11
: 1;
5502 unsigned PID1OUT12
: 1;
5503 unsigned PID1OUT13
: 1;
5504 unsigned PID1OUT14
: 1;
5505 unsigned PID1OUT15
: 1;
5519 } __PID1OUTLHbits_t
;
5521 extern __at(0x0597) volatile __PID1OUTLHbits_t PID1OUTLHbits
;
5523 #define _PID1OUT8 0x01
5525 #define _PID1OUT9 0x02
5527 #define _PID1OUT10 0x04
5529 #define _PID1OUT11 0x08
5531 #define _PID1OUT12 0x10
5533 #define _PID1OUT13 0x20
5535 #define _PID1OUT14 0x40
5537 #define _PID1OUT15 0x80
5540 //==============================================================================
5543 //==============================================================================
5546 extern __at(0x0598) __sfr PID1OUTHL
;
5552 unsigned PID1OUT16
: 1;
5553 unsigned PID1OUT17
: 1;
5554 unsigned PID1OUT18
: 1;
5555 unsigned PID1OUT19
: 1;
5556 unsigned PID1OUT20
: 1;
5557 unsigned PID1OUT21
: 1;
5558 unsigned PID1OUT22
: 1;
5559 unsigned PID1OUT23
: 1;
5573 } __PID1OUTHLbits_t
;
5575 extern __at(0x0598) volatile __PID1OUTHLbits_t PID1OUTHLbits
;
5577 #define _PID1OUT16 0x01
5579 #define _PID1OUT17 0x02
5581 #define _PID1OUT18 0x04
5583 #define _PID1OUT19 0x08
5585 #define _PID1OUT20 0x10
5587 #define _PID1OUT21 0x20
5589 #define _PID1OUT22 0x40
5591 #define _PID1OUT23 0x80
5594 //==============================================================================
5597 //==============================================================================
5600 extern __at(0x0599) __sfr PID1OUTHH
;
5606 unsigned PID1OUT24
: 1;
5607 unsigned PID1OUT25
: 1;
5608 unsigned PID1OUT26
: 1;
5609 unsigned PID1OUT27
: 1;
5610 unsigned PID1OUT28
: 1;
5611 unsigned PID1OUT29
: 1;
5612 unsigned PID1OUT30
: 1;
5613 unsigned PID1OUT31
: 1;
5627 } __PID1OUTHHbits_t
;
5629 extern __at(0x0599) volatile __PID1OUTHHbits_t PID1OUTHHbits
;
5631 #define _PID1OUT24 0x01
5633 #define _PID1OUT25 0x02
5635 #define _PID1OUT26 0x04
5637 #define _PID1OUT27 0x08
5639 #define _PID1OUT28 0x10
5641 #define _PID1OUT29 0x20
5643 #define _PID1OUT30 0x40
5645 #define _PID1OUT31 0x80
5648 //==============================================================================
5651 //==============================================================================
5654 extern __at(0x059A) __sfr PID1OUTU
;
5660 unsigned PID1OUT32
: 1;
5661 unsigned PID1OUT33
: 1;
5662 unsigned PID1OUT34
: 1;
5663 unsigned PID1OUT35
: 1;
5683 extern __at(0x059A) volatile __PID1OUTUbits_t PID1OUTUbits
;
5685 #define _PID1OUT32 0x01
5687 #define _PID1OUT33 0x02
5689 #define _PID1OUT34 0x04
5691 #define _PID1OUT35 0x08
5694 //==============================================================================
5696 extern __at(0x059B) __sfr PID1Z1
;
5698 //==============================================================================
5701 extern __at(0x059B) __sfr PID1Z1L
;
5707 unsigned PID1Z10
: 1;
5708 unsigned PID1Z11
: 1;
5709 unsigned PID1Z12
: 1;
5710 unsigned PID1Z13
: 1;
5711 unsigned PID1Z14
: 1;
5712 unsigned PID1Z15
: 1;
5713 unsigned PID1Z16
: 1;
5714 unsigned PID1Z17
: 1;
5730 extern __at(0x059B) volatile __PID1Z1Lbits_t PID1Z1Lbits
;
5732 #define _PID1Z10 0x01
5734 #define _PID1Z11 0x02
5736 #define _PID1Z12 0x04
5738 #define _PID1Z13 0x08
5740 #define _PID1Z14 0x10
5742 #define _PID1Z15 0x20
5744 #define _PID1Z16 0x40
5746 #define _PID1Z17 0x80
5749 //==============================================================================
5752 //==============================================================================
5755 extern __at(0x059C) __sfr PID1Z1H
;
5761 unsigned PID1Z18
: 1;
5762 unsigned PID1Z19
: 1;
5763 unsigned PID1Z110
: 1;
5764 unsigned PID1Z111
: 1;
5765 unsigned PID1Z112
: 1;
5766 unsigned PID1Z113
: 1;
5767 unsigned PID1Z114
: 1;
5768 unsigned PID1Z115
: 1;
5784 extern __at(0x059C) volatile __PID1Z1Hbits_t PID1Z1Hbits
;
5786 #define _PID1Z18 0x01
5788 #define _PID1Z19 0x02
5790 #define _PID1Z110 0x04
5792 #define _PID1Z111 0x08
5794 #define _PID1Z112 0x10
5796 #define _PID1Z113 0x20
5798 #define _PID1Z114 0x40
5800 #define _PID1Z115 0x80
5803 //==============================================================================
5806 //==============================================================================
5809 extern __at(0x059D) __sfr PID1Z1U
;
5815 unsigned PID1Z116
: 1;
5838 extern __at(0x059D) volatile __PID1Z1Ubits_t PID1Z1Ubits
;
5840 #define _PID1Z116 0x01
5843 //==============================================================================
5845 extern __at(0x060C) __sfr PID1Z2
;
5847 //==============================================================================
5850 extern __at(0x060C) __sfr PID1Z2L
;
5856 unsigned PID1Z20
: 1;
5857 unsigned PID1Z21
: 1;
5858 unsigned PID1Z22
: 1;
5859 unsigned PID1Z23
: 1;
5860 unsigned PID1Z24
: 1;
5861 unsigned PID1Z25
: 1;
5862 unsigned PID1Z26
: 1;
5863 unsigned PID1Z27
: 1;
5879 extern __at(0x060C) volatile __PID1Z2Lbits_t PID1Z2Lbits
;
5881 #define _PID1Z20 0x01
5883 #define _PID1Z21 0x02
5885 #define _PID1Z22 0x04
5887 #define _PID1Z23 0x08
5889 #define _PID1Z24 0x10
5891 #define _PID1Z25 0x20
5893 #define _PID1Z26 0x40
5895 #define _PID1Z27 0x80
5898 //==============================================================================
5901 //==============================================================================
5904 extern __at(0x060D) __sfr PID1Z2H
;
5910 unsigned PID1Z28
: 1;
5911 unsigned PID1Z29
: 1;
5912 unsigned PID1Z210
: 1;
5913 unsigned PID1Z211
: 1;
5914 unsigned PID1Z212
: 1;
5915 unsigned PID1Z213
: 1;
5916 unsigned PID1Z214
: 1;
5917 unsigned PID1Z215
: 1;
5933 extern __at(0x060D) volatile __PID1Z2Hbits_t PID1Z2Hbits
;
5935 #define _PID1Z28 0x01
5937 #define _PID1Z29 0x02
5939 #define _PID1Z210 0x04
5941 #define _PID1Z211 0x08
5943 #define _PID1Z212 0x10
5945 #define _PID1Z213 0x20
5947 #define _PID1Z214 0x40
5949 #define _PID1Z215 0x80
5952 //==============================================================================
5955 //==============================================================================
5958 extern __at(0x060E) __sfr PID1Z2U
;
5964 unsigned PID1Z216
: 1;
5987 extern __at(0x060E) volatile __PID1Z2Ubits_t PID1Z2Ubits
;
5989 #define _PID1Z216 0x01
5992 //==============================================================================
5994 extern __at(0x060F) __sfr PID1ACC
;
5996 //==============================================================================
5999 extern __at(0x060F) __sfr PID1ACCLL
;
6005 unsigned PID1ACC0
: 1;
6006 unsigned PID1ACC1
: 1;
6007 unsigned PID1ACC2
: 1;
6008 unsigned PID1ACC3
: 1;
6009 unsigned PID1ACC4
: 1;
6010 unsigned PID1ACC5
: 1;
6011 unsigned PID1ACC6
: 1;
6012 unsigned PID1ACC7
: 1;
6026 } __PID1ACCLLbits_t
;
6028 extern __at(0x060F) volatile __PID1ACCLLbits_t PID1ACCLLbits
;
6030 #define _PID1ACCLL_PID1ACC0 0x01
6031 #define _PID1ACCLL_ACC0 0x01
6032 #define _PID1ACCLL_PID1ACC1 0x02
6033 #define _PID1ACCLL_ACC1 0x02
6034 #define _PID1ACCLL_PID1ACC2 0x04
6035 #define _PID1ACCLL_ACC2 0x04
6036 #define _PID1ACCLL_PID1ACC3 0x08
6037 #define _PID1ACCLL_ACC3 0x08
6038 #define _PID1ACCLL_PID1ACC4 0x10
6039 #define _PID1ACCLL_ACC4 0x10
6040 #define _PID1ACCLL_PID1ACC5 0x20
6041 #define _PID1ACCLL_ACC5 0x20
6042 #define _PID1ACCLL_PID1ACC6 0x40
6043 #define _PID1ACCLL_ACC6 0x40
6044 #define _PID1ACCLL_PID1ACC7 0x80
6045 #define _PID1ACCLL_ACC7 0x80
6047 //==============================================================================
6050 //==============================================================================
6053 extern __at(0x0610) __sfr PID1ACCLH
;
6059 unsigned PID1ACC8
: 1;
6060 unsigned PID1ACC9
: 1;
6061 unsigned PID1ACC10
: 1;
6062 unsigned PID1ACC11
: 1;
6063 unsigned PID1ACC12
: 1;
6064 unsigned PID1ACC13
: 1;
6065 unsigned PID1ACC14
: 1;
6066 unsigned PID1ACC15
: 1;
6080 } __PID1ACCLHbits_t
;
6082 extern __at(0x0610) volatile __PID1ACCLHbits_t PID1ACCLHbits
;
6084 #define _PID1ACCLH_PID1ACC8 0x01
6085 #define _PID1ACCLH_ACC8 0x01
6086 #define _PID1ACCLH_PID1ACC9 0x02
6087 #define _PID1ACCLH_ACC9 0x02
6088 #define _PID1ACCLH_PID1ACC10 0x04
6089 #define _PID1ACCLH_ACC10 0x04
6090 #define _PID1ACCLH_PID1ACC11 0x08
6091 #define _PID1ACCLH_ACC11 0x08
6092 #define _PID1ACCLH_PID1ACC12 0x10
6093 #define _PID1ACCLH_ACC12 0x10
6094 #define _PID1ACCLH_PID1ACC13 0x20
6095 #define _PID1ACCLH_ACC13 0x20
6096 #define _PID1ACCLH_PID1ACC14 0x40
6097 #define _PID1ACCLH_ACC14 0x40
6098 #define _PID1ACCLH_PID1ACC15 0x80
6099 #define _PID1ACCLH_ACC15 0x80
6101 //==============================================================================
6104 //==============================================================================
6107 extern __at(0x0611) __sfr PID1ACCHL
;
6113 unsigned PID1ACC16
: 1;
6114 unsigned PID1ACC17
: 1;
6115 unsigned PID1ACC18
: 1;
6116 unsigned PID1ACC19
: 1;
6117 unsigned PID1ACC20
: 1;
6118 unsigned PID1ACC21
: 1;
6119 unsigned PID1ACC22
: 1;
6120 unsigned PID1ACC23
: 1;
6134 } __PID1ACCHLbits_t
;
6136 extern __at(0x0611) volatile __PID1ACCHLbits_t PID1ACCHLbits
;
6138 #define _PID1ACC16 0x01
6140 #define _PID1ACC17 0x02
6142 #define _PID1ACC18 0x04
6144 #define _PID1ACC19 0x08
6146 #define _PID1ACC20 0x10
6148 #define _PID1ACC21 0x20
6150 #define _PID1ACC22 0x40
6152 #define _PID1ACC23 0x80
6155 //==============================================================================
6158 //==============================================================================
6161 extern __at(0x0612) __sfr PID1ACCHH
;
6167 unsigned PID1ACC24
: 1;
6168 unsigned PID1ACC25
: 1;
6169 unsigned PID1ACC26
: 1;
6170 unsigned PID1ACC27
: 1;
6171 unsigned PID1ACC28
: 1;
6172 unsigned PID1ACC29
: 1;
6173 unsigned PID1ACC30
: 1;
6174 unsigned PID1ACC31
: 1;
6188 } __PID1ACCHHbits_t
;
6190 extern __at(0x0612) volatile __PID1ACCHHbits_t PID1ACCHHbits
;
6192 #define _PID1ACC24 0x01
6194 #define _PID1ACC25 0x02
6196 #define _PID1ACC26 0x04
6198 #define _PID1ACC27 0x08
6200 #define _PID1ACC28 0x10
6202 #define _PID1ACC29 0x20
6204 #define _PID1ACC30 0x40
6206 #define _PID1ACC31 0x80
6209 //==============================================================================
6212 //==============================================================================
6215 extern __at(0x0613) __sfr PID1ACCU
;
6221 unsigned PID1ACC32
: 1;
6222 unsigned PID1ACC33
: 1;
6223 unsigned PID1ACC34
: 1;
6244 extern __at(0x0613) volatile __PID1ACCUbits_t PID1ACCUbits
;
6246 #define _PID1ACC32 0x01
6248 #define _PID1ACC33 0x02
6250 #define _PID1ACC34 0x04
6253 //==============================================================================
6256 //==============================================================================
6259 extern __at(0x0614) __sfr PID1CON
;
6271 unsigned PID1BUSY
: 1;
6272 unsigned PID1EN
: 1;
6277 unsigned PID1MODE0
: 1;
6278 unsigned PID1MODE1
: 1;
6279 unsigned PID1MODE2
: 1;
6295 unsigned PID1MODE
: 3;
6300 extern __at(0x0614) volatile __PID1CONbits_t PID1CONbits
;
6302 #define _PID1CON_MODE0 0x01
6303 #define _PID1CON_PID1MODE0 0x01
6304 #define _PID1CON_MODE1 0x02
6305 #define _PID1CON_PID1MODE1 0x02
6306 #define _PID1CON_MODE2 0x04
6307 #define _PID1CON_PID1MODE2 0x04
6308 #define _PID1CON_PID1BUSY 0x40
6309 #define _PID1CON_BUSY 0x40
6310 #define _PID1CON_PID1EN 0x80
6311 #define _PID1CON_EN 0x80
6313 //==============================================================================
6316 //==============================================================================
6319 extern __at(0x0617) __sfr PWM3DCL
;
6343 unsigned PWM3DC0
: 1;
6344 unsigned PWM3DC1
: 1;
6355 unsigned PWMPW0
: 1;
6356 unsigned PWMPW1
: 1;
6362 unsigned PWM3DC
: 2;
6378 extern __at(0x0617) volatile __PWM3DCLbits_t PWM3DCLbits
;
6381 #define _PWM3DC0 0x40
6382 #define _PWMPW0 0x40
6384 #define _PWM3DC1 0x80
6385 #define _PWMPW1 0x80
6387 //==============================================================================
6390 //==============================================================================
6393 extern __at(0x0618) __sfr PWM3DCH
;
6411 unsigned PWM3DC2
: 1;
6412 unsigned PWM3DC3
: 1;
6413 unsigned PWM3DC4
: 1;
6414 unsigned PWM3DC5
: 1;
6415 unsigned PWM3DC6
: 1;
6416 unsigned PWM3DC7
: 1;
6417 unsigned PWM3DC8
: 1;
6418 unsigned PWM3DC9
: 1;
6423 unsigned PWMPW2
: 1;
6424 unsigned PWMPW3
: 1;
6425 unsigned PWMPW4
: 1;
6426 unsigned PWMPW5
: 1;
6427 unsigned PWMPW6
: 1;
6428 unsigned PWMPW7
: 1;
6429 unsigned PWMPW8
: 1;
6430 unsigned PWMPW9
: 1;
6434 extern __at(0x0618) volatile __PWM3DCHbits_t PWM3DCHbits
;
6437 #define _PWM3DC2 0x01
6438 #define _PWMPW2 0x01
6440 #define _PWM3DC3 0x02
6441 #define _PWMPW3 0x02
6443 #define _PWM3DC4 0x04
6444 #define _PWMPW4 0x04
6446 #define _PWM3DC5 0x08
6447 #define _PWMPW5 0x08
6449 #define _PWM3DC6 0x10
6450 #define _PWMPW6 0x10
6452 #define _PWM3DC7 0x20
6453 #define _PWMPW7 0x20
6455 #define _PWM3DC8 0x40
6456 #define _PWMPW8 0x40
6458 #define _PWM3DC9 0x80
6459 #define _PWMPW9 0x80
6461 //==============================================================================
6464 //==============================================================================
6467 extern __at(0x0619) __sfr PWM3CON
;
6489 unsigned PWM3POL
: 1;
6490 unsigned PWM3OUT
: 1;
6492 unsigned PWM3EN
: 1;
6496 extern __at(0x0619) volatile __PWM3CONbits_t PWM3CONbits
;
6498 #define _PWM3CON_POL 0x10
6499 #define _PWM3CON_PWM3POL 0x10
6500 #define _PWM3CON_OUT 0x20
6501 #define _PWM3CON_PWM3OUT 0x20
6502 #define _PWM3CON_EN 0x80
6503 #define _PWM3CON_PWM3EN 0x80
6505 //==============================================================================
6508 //==============================================================================
6511 extern __at(0x061A) __sfr PWM4DCL
;
6535 unsigned PWM4DC0
: 1;
6536 unsigned PWM4DC1
: 1;
6547 unsigned PWMPW0
: 1;
6548 unsigned PWMPW1
: 1;
6554 unsigned PWM4DC
: 2;
6570 extern __at(0x061A) volatile __PWM4DCLbits_t PWM4DCLbits
;
6572 #define _PWM4DCL_DC0 0x40
6573 #define _PWM4DCL_PWM4DC0 0x40
6574 #define _PWM4DCL_PWMPW0 0x40
6575 #define _PWM4DCL_DC1 0x80
6576 #define _PWM4DCL_PWM4DC1 0x80
6577 #define _PWM4DCL_PWMPW1 0x80
6579 //==============================================================================
6582 //==============================================================================
6585 extern __at(0x061B) __sfr PWM4DCH
;
6603 unsigned PWM4DC2
: 1;
6604 unsigned PWM4DC3
: 1;
6605 unsigned PWM4DC4
: 1;
6606 unsigned PWM4DC5
: 1;
6607 unsigned PWM4DC6
: 1;
6608 unsigned PWM4DC7
: 1;
6609 unsigned PWM4DC8
: 1;
6610 unsigned PWM4DC9
: 1;
6615 unsigned PWMPW2
: 1;
6616 unsigned PWMPW3
: 1;
6617 unsigned PWMPW4
: 1;
6618 unsigned PWMPW5
: 1;
6619 unsigned PWMPW6
: 1;
6620 unsigned PWMPW7
: 1;
6621 unsigned PWMPW8
: 1;
6622 unsigned PWMPW9
: 1;
6626 extern __at(0x061B) volatile __PWM4DCHbits_t PWM4DCHbits
;
6628 #define _PWM4DCH_DC2 0x01
6629 #define _PWM4DCH_PWM4DC2 0x01
6630 #define _PWM4DCH_PWMPW2 0x01
6631 #define _PWM4DCH_DC3 0x02
6632 #define _PWM4DCH_PWM4DC3 0x02
6633 #define _PWM4DCH_PWMPW3 0x02
6634 #define _PWM4DCH_DC4 0x04
6635 #define _PWM4DCH_PWM4DC4 0x04
6636 #define _PWM4DCH_PWMPW4 0x04
6637 #define _PWM4DCH_DC5 0x08
6638 #define _PWM4DCH_PWM4DC5 0x08
6639 #define _PWM4DCH_PWMPW5 0x08
6640 #define _PWM4DCH_DC6 0x10
6641 #define _PWM4DCH_PWM4DC6 0x10
6642 #define _PWM4DCH_PWMPW6 0x10
6643 #define _PWM4DCH_DC7 0x20
6644 #define _PWM4DCH_PWM4DC7 0x20
6645 #define _PWM4DCH_PWMPW7 0x20
6646 #define _PWM4DCH_DC8 0x40
6647 #define _PWM4DCH_PWM4DC8 0x40
6648 #define _PWM4DCH_PWMPW8 0x40
6649 #define _PWM4DCH_DC9 0x80
6650 #define _PWM4DCH_PWM4DC9 0x80
6651 #define _PWM4DCH_PWMPW9 0x80
6653 //==============================================================================
6656 //==============================================================================
6659 extern __at(0x061C) __sfr PWM4CON
;
6681 unsigned PWM4POL
: 1;
6682 unsigned PWM4OUT
: 1;
6684 unsigned PWM4EN
: 1;
6688 extern __at(0x061C) volatile __PWM4CONbits_t PWM4CONbits
;
6690 #define _PWM4CON_POL 0x10
6691 #define _PWM4CON_PWM4POL 0x10
6692 #define _PWM4CON_OUT 0x20
6693 #define _PWM4CON_PWM4OUT 0x20
6694 #define _PWM4CON_EN 0x80
6695 #define _PWM4CON_PWM4EN 0x80
6697 //==============================================================================
6700 //==============================================================================
6703 extern __at(0x0691) __sfr CWG1DBR
;
6721 unsigned CWG1DBR0
: 1;
6722 unsigned CWG1DBR1
: 1;
6723 unsigned CWG1DBR2
: 1;
6724 unsigned CWG1DBR3
: 1;
6725 unsigned CWG1DBR4
: 1;
6726 unsigned CWG1DBR5
: 1;
6733 unsigned CWG1DBR
: 6;
6744 extern __at(0x0691) volatile __CWG1DBRbits_t CWG1DBRbits
;
6747 #define _CWG1DBR0 0x01
6749 #define _CWG1DBR1 0x02
6751 #define _CWG1DBR2 0x04
6753 #define _CWG1DBR3 0x08
6755 #define _CWG1DBR4 0x10
6757 #define _CWG1DBR5 0x20
6759 //==============================================================================
6762 //==============================================================================
6765 extern __at(0x0692) __sfr CWG1DBF
;
6783 unsigned CWG1DBF0
: 1;
6784 unsigned CWG1DBF1
: 1;
6785 unsigned CWG1DBF2
: 1;
6786 unsigned CWG1DBF3
: 1;
6787 unsigned CWG1DBF4
: 1;
6788 unsigned CWG1DBF5
: 1;
6801 unsigned CWG1DBF
: 6;
6806 extern __at(0x0692) volatile __CWG1DBFbits_t CWG1DBFbits
;
6809 #define _CWG1DBF0 0x01
6811 #define _CWG1DBF1 0x02
6813 #define _CWG1DBF2 0x04
6815 #define _CWG1DBF3 0x08
6817 #define _CWG1DBF4 0x10
6819 #define _CWG1DBF5 0x20
6821 //==============================================================================
6824 //==============================================================================
6827 extern __at(0x0693) __sfr CWG1AS0
;
6840 unsigned SHUTDOWN
: 1;
6847 unsigned CWG1LSAC0
: 1;
6848 unsigned CWG1LSAC1
: 1;
6849 unsigned CWG1LSBD0
: 1;
6850 unsigned CWG1LSBD1
: 1;
6851 unsigned CWG1REN
: 1;
6852 unsigned CWG1SHUTDOWN
: 1;
6865 unsigned CWG1LSAC
: 2;
6879 unsigned CWG1LSBD
: 2;
6884 extern __at(0x0693) volatile __CWG1AS0bits_t CWG1AS0bits
;
6887 #define _CWG1LSAC0 0x04
6889 #define _CWG1LSAC1 0x08
6891 #define _CWG1LSBD0 0x10
6893 #define _CWG1LSBD1 0x20
6895 #define _CWG1REN 0x40
6896 #define _SHUTDOWN 0x80
6897 #define _CWG1SHUTDOWN 0x80
6899 //==============================================================================
6902 //==============================================================================
6905 extern __at(0x0694) __sfr CWG1AS1
;
6915 unsigned TMR2AS
: 1;
6916 unsigned TMR4AS
: 1;
6917 unsigned TMR6AS
: 1;
6923 unsigned CWG1INAS
: 1;
6924 unsigned CWG1C1AS
: 1;
6925 unsigned CWG1C2AS
: 1;
6927 unsigned CWG1TMR2AS
: 1;
6928 unsigned CWG1TMR4AS
: 1;
6929 unsigned CWG1TMR6AS
: 1;
6934 extern __at(0x0694) volatile __CWG1AS1bits_t CWG1AS1bits
;
6937 #define _CWG1INAS 0x01
6939 #define _CWG1C1AS 0x02
6941 #define _CWG1C2AS 0x04
6942 #define _TMR2AS 0x10
6943 #define _CWG1TMR2AS 0x10
6944 #define _TMR4AS 0x20
6945 #define _CWG1TMR4AS 0x20
6946 #define _TMR6AS 0x40
6947 #define _CWG1TMR6AS 0x40
6949 //==============================================================================
6952 //==============================================================================
6955 extern __at(0x0695) __sfr CWG1OCON0
;
6973 unsigned CWG1STRA
: 1;
6974 unsigned CWG1STRB
: 1;
6975 unsigned CWG1STRC
: 1;
6976 unsigned CWG1STRD
: 1;
6977 unsigned CWG1OVRA
: 1;
6978 unsigned CWG1OVRB
: 1;
6979 unsigned CWG1OVRC
: 1;
6980 unsigned CWG1OVRD
: 1;
6982 } __CWG1OCON0bits_t
;
6984 extern __at(0x0695) volatile __CWG1OCON0bits_t CWG1OCON0bits
;
6987 #define _CWG1STRA 0x01
6989 #define _CWG1STRB 0x02
6991 #define _CWG1STRC 0x04
6993 #define _CWG1STRD 0x08
6995 #define _CWG1OVRA 0x10
6997 #define _CWG1OVRB 0x20
6999 #define _CWG1OVRC 0x40
7001 #define _CWG1OVRD 0x80
7003 //==============================================================================
7006 //==============================================================================
7009 extern __at(0x0696) __sfr CWG1CON0
;
7027 unsigned CWG1MODE0
: 1;
7028 unsigned CWG1MODE1
: 1;
7029 unsigned CWG1MODE2
: 1;
7033 unsigned CWG1LD
: 1;
7046 unsigned CWG1EN
: 1;
7051 unsigned CWG1MODE
: 3;
7062 extern __at(0x0696) volatile __CWG1CON0bits_t CWG1CON0bits
;
7064 #define _CWG1CON0_MODE0 0x01
7065 #define _CWG1CON0_CWG1MODE0 0x01
7066 #define _CWG1CON0_MODE1 0x02
7067 #define _CWG1CON0_CWG1MODE1 0x02
7068 #define _CWG1CON0_MODE2 0x04
7069 #define _CWG1CON0_CWG1MODE2 0x04
7070 #define _CWG1CON0_LD 0x40
7071 #define _CWG1CON0_CWG1LD 0x40
7072 #define _CWG1CON0_EN 0x80
7073 #define _CWG1CON0_G1EN 0x80
7074 #define _CWG1CON0_CWG1EN 0x80
7076 //==============================================================================
7079 //==============================================================================
7082 extern __at(0x0697) __sfr CWG1CON1
;
7100 unsigned CWG1POLA
: 1;
7101 unsigned CWG1POLB
: 1;
7102 unsigned CWG1POLC
: 1;
7103 unsigned CWG1POLD
: 1;
7105 unsigned CWG1IN
: 1;
7111 extern __at(0x0697) volatile __CWG1CON1bits_t CWG1CON1bits
;
7114 #define _CWG1POLA 0x01
7116 #define _CWG1POLB 0x02
7118 #define _CWG1POLC 0x04
7120 #define _CWG1POLD 0x08
7122 #define _CWG1IN 0x20
7124 //==============================================================================
7127 //==============================================================================
7130 extern __at(0x0699) __sfr CWG1CLKCON
;
7148 unsigned CWG1CS
: 1;
7157 } __CWG1CLKCONbits_t
;
7159 extern __at(0x0699) volatile __CWG1CLKCONbits_t CWG1CLKCONbits
;
7161 #define _CWG1CLKCON_CS 0x01
7162 #define _CWG1CLKCON_CWG1CS 0x01
7164 //==============================================================================
7167 //==============================================================================
7170 extern __at(0x069A) __sfr CWG1ISM
;
7188 unsigned CWG1IS0
: 1;
7189 unsigned CWG1IS1
: 1;
7190 unsigned CWG1IS2
: 1;
7191 unsigned CWG1IS3
: 1;
7206 unsigned CWG1IS
: 4;
7211 extern __at(0x069A) volatile __CWG1ISMbits_t CWG1ISMbits
;
7214 #define _CWG1IS0 0x01
7216 #define _CWG1IS1 0x02
7218 #define _CWG1IS2 0x04
7220 #define _CWG1IS3 0x08
7222 //==============================================================================
7225 //==============================================================================
7228 extern __at(0x0711) __sfr WDTCON0
;
7235 unsigned WDTPS0
: 1;
7236 unsigned WDTPS1
: 1;
7237 unsigned WDTPS2
: 1;
7238 unsigned WDTPS3
: 1;
7239 unsigned WDTPS4
: 1;
7246 unsigned SWDTEN
: 1;
7258 unsigned WDTSEN
: 1;
7276 extern __at(0x0711) volatile __WDTCON0bits_t WDTCON0bits
;
7278 #define _WDTCON0_SEN 0x01
7279 #define _WDTCON0_SWDTEN 0x01
7280 #define _WDTCON0_WDTSEN 0x01
7281 #define _WDTCON0_WDTPS0 0x02
7282 #define _WDTCON0_WDTPS1 0x04
7283 #define _WDTCON0_WDTPS2 0x08
7284 #define _WDTCON0_WDTPS3 0x10
7285 #define _WDTCON0_WDTPS4 0x20
7287 //==============================================================================
7290 //==============================================================================
7293 extern __at(0x0712) __sfr WDTCON1
;
7299 unsigned WINDOW0
: 1;
7300 unsigned WINDOW1
: 1;
7301 unsigned WINDOW2
: 1;
7303 unsigned WDTCS0
: 1;
7304 unsigned WDTCS1
: 1;
7305 unsigned WDTCS2
: 1;
7311 unsigned WDTWINDOW0
: 1;
7312 unsigned WDTWINDOW1
: 1;
7313 unsigned WDTWINDOW2
: 1;
7323 unsigned WINDOW
: 3;
7329 unsigned WDTWINDOW
: 3;
7341 extern __at(0x0712) volatile __WDTCON1bits_t WDTCON1bits
;
7343 #define _WINDOW0 0x01
7344 #define _WDTWINDOW0 0x01
7345 #define _WINDOW1 0x02
7346 #define _WDTWINDOW1 0x02
7347 #define _WINDOW2 0x04
7348 #define _WDTWINDOW2 0x04
7349 #define _WDTCS0 0x10
7350 #define _WDTCS1 0x20
7351 #define _WDTCS2 0x40
7353 //==============================================================================
7356 //==============================================================================
7359 extern __at(0x0713) __sfr WDTPSL
;
7365 unsigned PSCNT0
: 1;
7366 unsigned PSCNT1
: 1;
7367 unsigned PSCNT2
: 1;
7368 unsigned PSCNT3
: 1;
7369 unsigned PSCNT4
: 1;
7370 unsigned PSCNT5
: 1;
7371 unsigned PSCNT6
: 1;
7372 unsigned PSCNT7
: 1;
7377 unsigned WDTPSCNT0
: 1;
7378 unsigned WDTPSCNT1
: 1;
7379 unsigned WDTPSCNT2
: 1;
7380 unsigned WDTPSCNT3
: 1;
7381 unsigned WDTPSCNT4
: 1;
7382 unsigned WDTPSCNT5
: 1;
7383 unsigned WDTPSCNT6
: 1;
7384 unsigned WDTPSCNT7
: 1;
7388 extern __at(0x0713) volatile __WDTPSLbits_t WDTPSLbits
;
7390 #define _PSCNT0 0x01
7391 #define _WDTPSCNT0 0x01
7392 #define _PSCNT1 0x02
7393 #define _WDTPSCNT1 0x02
7394 #define _PSCNT2 0x04
7395 #define _WDTPSCNT2 0x04
7396 #define _PSCNT3 0x08
7397 #define _WDTPSCNT3 0x08
7398 #define _PSCNT4 0x10
7399 #define _WDTPSCNT4 0x10
7400 #define _PSCNT5 0x20
7401 #define _WDTPSCNT5 0x20
7402 #define _PSCNT6 0x40
7403 #define _WDTPSCNT6 0x40
7404 #define _PSCNT7 0x80
7405 #define _WDTPSCNT7 0x80
7407 //==============================================================================
7410 //==============================================================================
7413 extern __at(0x0714) __sfr WDTPSH
;
7419 unsigned PSCNT8
: 1;
7420 unsigned PSCNT9
: 1;
7421 unsigned PSCNT10
: 1;
7422 unsigned PSCNT11
: 1;
7423 unsigned PSCNT12
: 1;
7424 unsigned PSCNT13
: 1;
7425 unsigned PSCNT14
: 1;
7426 unsigned PSCNT15
: 1;
7431 unsigned WDTPSCNT8
: 1;
7432 unsigned WDTPSCNT9
: 1;
7433 unsigned WDTPSCNT10
: 1;
7434 unsigned WDTPSCNT11
: 1;
7435 unsigned WDTPSCNT12
: 1;
7436 unsigned WDTPSCNT13
: 1;
7437 unsigned WDTPSCNT14
: 1;
7438 unsigned WDTPSCNT15
: 1;
7442 extern __at(0x0714) volatile __WDTPSHbits_t WDTPSHbits
;
7444 #define _PSCNT8 0x01
7445 #define _WDTPSCNT8 0x01
7446 #define _PSCNT9 0x02
7447 #define _WDTPSCNT9 0x02
7448 #define _PSCNT10 0x04
7449 #define _WDTPSCNT10 0x04
7450 #define _PSCNT11 0x08
7451 #define _WDTPSCNT11 0x08
7452 #define _PSCNT12 0x10
7453 #define _WDTPSCNT12 0x10
7454 #define _PSCNT13 0x20
7455 #define _WDTPSCNT13 0x20
7456 #define _PSCNT14 0x40
7457 #define _WDTPSCNT14 0x40
7458 #define _PSCNT15 0x80
7459 #define _WDTPSCNT15 0x80
7461 //==============================================================================
7464 //==============================================================================
7467 extern __at(0x0715) __sfr WDTTMR
;
7473 unsigned PSCNT16
: 1;
7474 unsigned PSCNT17
: 1;
7476 unsigned WDTTMR0
: 1;
7477 unsigned WDTTMR1
: 1;
7478 unsigned WDTTMR2
: 1;
7479 unsigned WDTTMR3
: 1;
7480 unsigned WDTTMR4
: 1;
7485 unsigned WDTPSCNT16
: 1;
7486 unsigned WDTPSCNT17
: 1;
7487 unsigned WDTSTATE
: 1;
7498 unsigned WDTTMR
: 5;
7502 extern __at(0x0715) volatile __WDTTMRbits_t WDTTMRbits
;
7504 #define _PSCNT16 0x01
7505 #define _WDTPSCNT16 0x01
7506 #define _PSCNT17 0x02
7507 #define _WDTPSCNT17 0x02
7509 #define _WDTSTATE 0x04
7510 #define _WDTTMR0 0x08
7511 #define _WDTTMR1 0x10
7512 #define _WDTTMR2 0x20
7513 #define _WDTTMR3 0x40
7514 #define _WDTTMR4 0x80
7516 //==============================================================================
7518 extern __at(0x0718) __sfr SCANLADR
;
7520 //==============================================================================
7523 extern __at(0x0718) __sfr SCANLADRL
;
7541 unsigned SCANLADR0
: 1;
7542 unsigned SCANLADR1
: 1;
7543 unsigned SCANLADR2
: 1;
7544 unsigned SCANLADR3
: 1;
7545 unsigned SCANLADR4
: 1;
7546 unsigned SCANLADR5
: 1;
7547 unsigned SCANLADR6
: 1;
7548 unsigned SCANLADR7
: 1;
7556 } __SCANLADRLbits_t
;
7558 extern __at(0x0718) volatile __SCANLADRLbits_t SCANLADRLbits
;
7561 #define _SCANLADR0 0x01
7563 #define _SCANLADR1 0x02
7565 #define _SCANLADR2 0x04
7567 #define _SCANLADR3 0x08
7569 #define _SCANLADR4 0x10
7571 #define _SCANLADR5 0x20
7573 #define _SCANLADR6 0x40
7575 #define _SCANLADR7 0x80
7577 //==============================================================================
7580 //==============================================================================
7583 extern __at(0x0719) __sfr SCANLADRH
;
7591 unsigned LADR10
: 1;
7592 unsigned LADR11
: 1;
7593 unsigned LADR12
: 1;
7594 unsigned LADR13
: 1;
7595 unsigned LADR14
: 1;
7596 unsigned LADR15
: 1;
7601 unsigned SCANLADR8
: 1;
7602 unsigned SCANLADR9
: 1;
7603 unsigned SCANLADR10
: 1;
7604 unsigned SCANLADR11
: 1;
7605 unsigned SCANLADR12
: 1;
7606 unsigned SCANLADR13
: 1;
7607 unsigned SCANLADR14
: 1;
7608 unsigned SCANLADR15
: 1;
7610 } __SCANLADRHbits_t
;
7612 extern __at(0x0719) volatile __SCANLADRHbits_t SCANLADRHbits
;
7615 #define _SCANLADR8 0x01
7617 #define _SCANLADR9 0x02
7618 #define _LADR10 0x04
7619 #define _SCANLADR10 0x04
7620 #define _LADR11 0x08
7621 #define _SCANLADR11 0x08
7622 #define _LADR12 0x10
7623 #define _SCANLADR12 0x10
7624 #define _LADR13 0x20
7625 #define _SCANLADR13 0x20
7626 #define _LADR14 0x40
7627 #define _SCANLADR14 0x40
7628 #define _LADR15 0x80
7629 #define _SCANLADR15 0x80
7631 //==============================================================================
7633 extern __at(0x071A) __sfr SCANHADR
;
7635 //==============================================================================
7638 extern __at(0x071A) __sfr SCANHADRL
;
7656 unsigned SCANHADR0
: 1;
7657 unsigned SCANHADR1
: 1;
7658 unsigned SCANHADR2
: 1;
7659 unsigned SCANHADR3
: 1;
7660 unsigned SCANHADR4
: 1;
7661 unsigned SCANHADR5
: 1;
7662 unsigned SCANHADR6
: 1;
7663 unsigned SCANHADR7
: 1;
7665 } __SCANHADRLbits_t
;
7667 extern __at(0x071A) volatile __SCANHADRLbits_t SCANHADRLbits
;
7670 #define _SCANHADR0 0x01
7672 #define _SCANHADR1 0x02
7674 #define _SCANHADR2 0x04
7676 #define _SCANHADR3 0x08
7678 #define _SCANHADR4 0x10
7680 #define _SCANHADR5 0x20
7682 #define _SCANHADR6 0x40
7684 #define _SCANHADR7 0x80
7686 //==============================================================================
7689 //==============================================================================
7692 extern __at(0x071B) __sfr SCANHADRH
;
7700 unsigned HADR10
: 1;
7701 unsigned HADR11
: 1;
7702 unsigned HADR12
: 1;
7703 unsigned HADR13
: 1;
7704 unsigned HADR14
: 1;
7705 unsigned HADR15
: 1;
7710 unsigned SCANHADR8
: 1;
7711 unsigned SCANHADR9
: 1;
7712 unsigned SCANHADR10
: 1;
7713 unsigned SCANHADR11
: 1;
7714 unsigned SCANHADR12
: 1;
7715 unsigned SCANHADR13
: 1;
7716 unsigned SCANHADR14
: 1;
7717 unsigned SCANHADR15
: 1;
7719 } __SCANHADRHbits_t
;
7721 extern __at(0x071B) volatile __SCANHADRHbits_t SCANHADRHbits
;
7724 #define _SCANHADR8 0x01
7726 #define _SCANHADR9 0x02
7727 #define _HADR10 0x04
7728 #define _SCANHADR10 0x04
7729 #define _HADR11 0x08
7730 #define _SCANHADR11 0x08
7731 #define _HADR12 0x10
7732 #define _SCANHADR12 0x10
7733 #define _HADR13 0x20
7734 #define _SCANHADR13 0x20
7735 #define _HADR14 0x40
7736 #define _SCANHADR14 0x40
7737 #define _HADR15 0x80
7738 #define _SCANHADR15 0x80
7740 //==============================================================================
7743 //==============================================================================
7746 extern __at(0x071C) __sfr SCANCON0
;
7756 unsigned INVALID
: 1;
7758 unsigned SCANGO
: 1;
7764 unsigned SCANMODE0
: 1;
7765 unsigned SCANMODE1
: 1;
7767 unsigned SCANINTM
: 1;
7768 unsigned SCANINVALID
: 1;
7769 unsigned SCANBUSY
: 1;
7771 unsigned SCANEN
: 1;
7776 unsigned SCANMODE
: 2;
7787 extern __at(0x071C) volatile __SCANCON0bits_t SCANCON0bits
;
7789 #define _SCANCON0_MODE0 0x01
7790 #define _SCANCON0_SCANMODE0 0x01
7791 #define _SCANCON0_MODE1 0x02
7792 #define _SCANCON0_SCANMODE1 0x02
7793 #define _SCANCON0_INTM 0x08
7794 #define _SCANCON0_SCANINTM 0x08
7795 #define _SCANCON0_INVALID 0x10
7796 #define _SCANCON0_SCANINVALID 0x10
7797 #define _SCANCON0_BUSY 0x20
7798 #define _SCANCON0_SCANBUSY 0x20
7799 #define _SCANCON0_SCANGO 0x40
7800 #define _SCANCON0_EN 0x80
7801 #define _SCANCON0_SCANEN 0x80
7803 //==============================================================================
7806 //==============================================================================
7809 extern __at(0x071D) __sfr SCANTRIG
;
7827 unsigned SCANTSEL0
: 1;
7828 unsigned SCANTSEL1
: 1;
7829 unsigned SCANTSEL2
: 1;
7830 unsigned SCANTSEL3
: 1;
7845 unsigned SCANTSEL
: 4;
7850 extern __at(0x071D) volatile __SCANTRIGbits_t SCANTRIGbits
;
7853 #define _SCANTSEL0 0x01
7855 #define _SCANTSEL1 0x02
7857 #define _SCANTSEL2 0x04
7859 #define _SCANTSEL3 0x08
7861 //==============================================================================
7863 extern __at(0x0791) __sfr CRCDAT
;
7865 //==============================================================================
7868 extern __at(0x0791) __sfr CRCDATL
;
7886 unsigned CRCDAT0
: 1;
7887 unsigned CRCDAT1
: 1;
7888 unsigned CRCDAT2
: 1;
7889 unsigned CRCDAT3
: 1;
7890 unsigned CRCDAT4
: 1;
7891 unsigned CRCDAT5
: 1;
7892 unsigned CRCDAT6
: 1;
7893 unsigned CRDCDAT7
: 1;
7898 unsigned CRCDAT
: 7;
7903 extern __at(0x0791) volatile __CRCDATLbits_t CRCDATLbits
;
7906 #define _CRCDAT0 0x01
7908 #define _CRCDAT1 0x02
7910 #define _CRCDAT2 0x04
7912 #define _CRCDAT3 0x08
7914 #define _CRCDAT4 0x10
7916 #define _CRCDAT5 0x20
7918 #define _CRCDAT6 0x40
7920 #define _CRDCDAT7 0x80
7922 //==============================================================================
7925 //==============================================================================
7928 extern __at(0x0792) __sfr CRCDATH
;
7946 unsigned CRCDAT8
: 1;
7947 unsigned CRCDAT9
: 1;
7948 unsigned CRCDAT10
: 1;
7949 unsigned CRCDAT11
: 1;
7950 unsigned CRCDAT12
: 1;
7951 unsigned CRCDAT13
: 1;
7952 unsigned CRCDAT14
: 1;
7953 unsigned CRCDAT15
: 1;
7957 extern __at(0x0792) volatile __CRCDATHbits_t CRCDATHbits
;
7960 #define _CRCDAT8 0x01
7962 #define _CRCDAT9 0x02
7964 #define _CRCDAT10 0x04
7966 #define _CRCDAT11 0x08
7968 #define _CRCDAT12 0x10
7970 #define _CRCDAT13 0x20
7972 #define _CRCDAT14 0x40
7974 #define _CRCDAT15 0x80
7976 //==============================================================================
7978 extern __at(0x0793) __sfr CRCACC
;
7980 //==============================================================================
7983 extern __at(0x0793) __sfr CRCACCL
;
8001 unsigned CRCACC0
: 1;
8002 unsigned CRCACC1
: 1;
8003 unsigned CRCACC2
: 1;
8004 unsigned CRCACC3
: 1;
8005 unsigned CRCACC4
: 1;
8006 unsigned CRCACC5
: 1;
8007 unsigned CRCACC6
: 1;
8008 unsigned CRCACC7
: 1;
8012 extern __at(0x0793) volatile __CRCACCLbits_t CRCACCLbits
;
8015 #define _CRCACC0 0x01
8017 #define _CRCACC1 0x02
8019 #define _CRCACC2 0x04
8021 #define _CRCACC3 0x08
8023 #define _CRCACC4 0x10
8025 #define _CRCACC5 0x20
8027 #define _CRCACC6 0x40
8029 #define _CRCACC7 0x80
8031 //==============================================================================
8034 //==============================================================================
8037 extern __at(0x0794) __sfr CRCACCH
;
8055 unsigned CRCACC8
: 1;
8056 unsigned CRCACC9
: 1;
8057 unsigned CRCACC10
: 1;
8058 unsigned CRCACC11
: 1;
8059 unsigned CRCACC12
: 1;
8060 unsigned CRCACC13
: 1;
8061 unsigned CRCACC14
: 1;
8062 unsigned CRCACC15
: 1;
8066 extern __at(0x0794) volatile __CRCACCHbits_t CRCACCHbits
;
8069 #define _CRCACC8 0x01
8071 #define _CRCACC9 0x02
8073 #define _CRCACC10 0x04
8075 #define _CRCACC11 0x08
8077 #define _CRCACC12 0x10
8079 #define _CRCACC13 0x20
8081 #define _CRCACC14 0x40
8083 #define _CRCACC15 0x80
8085 //==============================================================================
8087 extern __at(0x0795) __sfr CRCSHIFT
;
8089 //==============================================================================
8092 extern __at(0x0795) __sfr CRCSHIFTL
;
8098 unsigned SHIFT0
: 1;
8099 unsigned SHIFT1
: 1;
8100 unsigned SHIFT2
: 1;
8101 unsigned SHIFT3
: 1;
8102 unsigned SHIFT4
: 1;
8103 unsigned SHIFT5
: 1;
8104 unsigned SHIFT6
: 1;
8105 unsigned SHIFT7
: 1;
8110 unsigned CRCSHIFT0
: 1;
8111 unsigned CRCSHIFT1
: 1;
8112 unsigned CRCSHIFT2
: 1;
8113 unsigned CRCSHIFT3
: 1;
8114 unsigned CRCSHIFT4
: 1;
8115 unsigned CRCSHIFT5
: 1;
8116 unsigned CRCSHIFT6
: 1;
8117 unsigned CRCSHIFT7
: 1;
8119 } __CRCSHIFTLbits_t
;
8121 extern __at(0x0795) volatile __CRCSHIFTLbits_t CRCSHIFTLbits
;
8123 #define _SHIFT0 0x01
8124 #define _CRCSHIFT0 0x01
8125 #define _SHIFT1 0x02
8126 #define _CRCSHIFT1 0x02
8127 #define _SHIFT2 0x04
8128 #define _CRCSHIFT2 0x04
8129 #define _SHIFT3 0x08
8130 #define _CRCSHIFT3 0x08
8131 #define _SHIFT4 0x10
8132 #define _CRCSHIFT4 0x10
8133 #define _SHIFT5 0x20
8134 #define _CRCSHIFT5 0x20
8135 #define _SHIFT6 0x40
8136 #define _CRCSHIFT6 0x40
8137 #define _SHIFT7 0x80
8138 #define _CRCSHIFT7 0x80
8140 //==============================================================================
8143 //==============================================================================
8146 extern __at(0x0796) __sfr CRCSHIFTH
;
8152 unsigned SHIFT8
: 1;
8153 unsigned SHIFT9
: 1;
8154 unsigned SHIFT10
: 1;
8155 unsigned SHIFT11
: 1;
8156 unsigned SHIFT12
: 1;
8157 unsigned SHIFT13
: 1;
8158 unsigned SHIFT14
: 1;
8159 unsigned SHIFT15
: 1;
8164 unsigned CRCSHIFT8
: 1;
8165 unsigned CRCSHIFT9
: 1;
8166 unsigned CRCSHIFT10
: 1;
8167 unsigned CRCSHIFT11
: 1;
8168 unsigned CRCSHIFT12
: 1;
8169 unsigned CRCSHIFT13
: 1;
8170 unsigned CRCSHIFT14
: 1;
8171 unsigned CRCSHIFT15
: 1;
8173 } __CRCSHIFTHbits_t
;
8175 extern __at(0x0796) volatile __CRCSHIFTHbits_t CRCSHIFTHbits
;
8177 #define _SHIFT8 0x01
8178 #define _CRCSHIFT8 0x01
8179 #define _SHIFT9 0x02
8180 #define _CRCSHIFT9 0x02
8181 #define _SHIFT10 0x04
8182 #define _CRCSHIFT10 0x04
8183 #define _SHIFT11 0x08
8184 #define _CRCSHIFT11 0x08
8185 #define _SHIFT12 0x10
8186 #define _CRCSHIFT12 0x10
8187 #define _SHIFT13 0x20
8188 #define _CRCSHIFT13 0x20
8189 #define _SHIFT14 0x40
8190 #define _CRCSHIFT14 0x40
8191 #define _SHIFT15 0x80
8192 #define _CRCSHIFT15 0x80
8194 //==============================================================================
8196 extern __at(0x0797) __sfr CRCXOR
;
8198 //==============================================================================
8201 extern __at(0x0797) __sfr CRCXORL
;
8220 unsigned CRCXOR1
: 1;
8221 unsigned CRCXOR2
: 1;
8222 unsigned CRCXOR3
: 1;
8223 unsigned CRCXOR4
: 1;
8224 unsigned CRCXOR5
: 1;
8225 unsigned CRCXOR6
: 1;
8226 unsigned CRCXOR7
: 1;
8230 extern __at(0x0797) volatile __CRCXORLbits_t CRCXORLbits
;
8233 #define _CRCXOR1 0x02
8235 #define _CRCXOR2 0x04
8237 #define _CRCXOR3 0x08
8239 #define _CRCXOR4 0x10
8241 #define _CRCXOR5 0x20
8243 #define _CRCXOR6 0x40
8245 #define _CRCXOR7 0x80
8247 //==============================================================================
8250 //==============================================================================
8253 extern __at(0x0798) __sfr CRCXORH
;
8271 unsigned CRCXOR8
: 1;
8272 unsigned CRCXOR9
: 1;
8273 unsigned CRCXOR10
: 1;
8274 unsigned CRCXOR11
: 1;
8275 unsigned CRCXOR12
: 1;
8276 unsigned CRCXOR13
: 1;
8277 unsigned CRCXOR14
: 1;
8278 unsigned CRCXOR15
: 1;
8282 extern __at(0x0798) volatile __CRCXORHbits_t CRCXORHbits
;
8285 #define _CRCXOR8 0x01
8287 #define _CRCXOR9 0x02
8289 #define _CRCXOR10 0x04
8291 #define _CRCXOR11 0x08
8293 #define _CRCXOR12 0x10
8295 #define _CRCXOR13 0x20
8297 #define _CRCXOR14 0x40
8299 #define _CRCXOR15 0x80
8301 //==============================================================================
8304 //==============================================================================
8307 extern __at(0x0799) __sfr CRCCON0
;
8314 unsigned SHIFTM
: 1;
8325 unsigned CRCFULL
: 1;
8326 unsigned CRCSHIFTM
: 1;
8329 unsigned CRCACCM
: 1;
8330 unsigned CRCBUSY
: 1;
8336 extern __at(0x0799) volatile __CRCCON0bits_t CRCCON0bits
;
8338 #define _CRCCON0_FULL 0x01
8339 #define _CRCCON0_CRCFULL 0x01
8340 #define _CRCCON0_SHIFTM 0x02
8341 #define _CRCCON0_CRCSHIFTM 0x02
8342 #define _CRCCON0_ACCM 0x10
8343 #define _CRCCON0_CRCACCM 0x10
8344 #define _CRCCON0_BUSY 0x20
8345 #define _CRCCON0_CRCBUSY 0x20
8346 #define _CRCCON0_CRCGO 0x40
8347 #define _CRCCON0_EN 0x80
8348 #define _CRCCON0_CRCEN 0x80
8350 //==============================================================================
8353 //==============================================================================
8356 extern __at(0x079A) __sfr CRCCON1
;
8374 unsigned CRCPLEN0
: 1;
8375 unsigned CRCPLEN1
: 1;
8376 unsigned CRCPLEN2
: 1;
8377 unsigned CRCPLEN3
: 1;
8378 unsigned CRCDLEN0
: 1;
8379 unsigned CRCDLEN1
: 1;
8380 unsigned CRCDLEN2
: 1;
8381 unsigned CRCDLEN3
: 1;
8392 unsigned CRCPLEN
: 4;
8399 unsigned CRCDLEN
: 4;
8409 extern __at(0x079A) volatile __CRCCON1bits_t CRCCON1bits
;
8412 #define _CRCPLEN0 0x01
8414 #define _CRCPLEN1 0x02
8416 #define _CRCPLEN2 0x04
8418 #define _CRCPLEN3 0x08
8420 #define _CRCDLEN0 0x10
8422 #define _CRCDLEN1 0x20
8424 #define _CRCDLEN2 0x40
8426 #define _CRCDLEN3 0x80
8428 //==============================================================================
8430 extern __at(0x080C) __sfr AT1RES
;
8432 //==============================================================================
8435 extern __at(0x080C) __sfr AT1RESL
;
8441 unsigned AT1RES0
: 1;
8442 unsigned AT1RES1
: 1;
8443 unsigned AT1RES2
: 1;
8444 unsigned AT1RES3
: 1;
8445 unsigned AT1RES4
: 1;
8446 unsigned AT1RES5
: 1;
8447 unsigned AT1RES6
: 1;
8448 unsigned AT1RES7
: 1;
8464 extern __at(0x080C) volatile __AT1RESLbits_t AT1RESLbits
;
8466 #define _AT1RES0 0x01
8468 #define _AT1RES1 0x02
8470 #define _AT1RES2 0x04
8472 #define _AT1RES3 0x08
8474 #define _AT1RES4 0x10
8476 #define _AT1RES5 0x20
8478 #define _AT1RES6 0x40
8480 #define _AT1RES7 0x80
8483 //==============================================================================
8486 //==============================================================================
8489 extern __at(0x080D) __sfr AT1RESH
;
8495 unsigned AT1RES8
: 1;
8496 unsigned AT1RES9
: 1;
8518 extern __at(0x080D) volatile __AT1RESHbits_t AT1RESHbits
;
8520 #define _AT1RES8 0x01
8522 #define _AT1RES9 0x02
8525 //==============================================================================
8527 extern __at(0x080E) __sfr AT1MISS
;
8529 //==============================================================================
8532 extern __at(0x080E) __sfr AT1MISSL
;
8538 unsigned AT1MISS0
: 1;
8539 unsigned AT1MISS1
: 1;
8540 unsigned AT1MISS2
: 1;
8541 unsigned AT1MISS3
: 1;
8542 unsigned AT1MISS4
: 1;
8543 unsigned AT1MISS5
: 1;
8544 unsigned AT1MISS6
: 1;
8545 unsigned AT1MISS7
: 1;
8561 extern __at(0x080E) volatile __AT1MISSLbits_t AT1MISSLbits
;
8563 #define _AT1MISS0 0x01
8565 #define _AT1MISS1 0x02
8567 #define _AT1MISS2 0x04
8569 #define _AT1MISS3 0x08
8571 #define _AT1MISS4 0x10
8573 #define _AT1MISS5 0x20
8575 #define _AT1MISS6 0x40
8577 #define _AT1MISS7 0x80
8580 //==============================================================================
8583 //==============================================================================
8586 extern __at(0x080F) __sfr AT1MISSH
;
8592 unsigned AT1MISS8
: 1;
8593 unsigned AT1MISS9
: 1;
8594 unsigned AT1MISS10
: 1;
8595 unsigned AT1MISS11
: 1;
8596 unsigned AT1MISS12
: 1;
8597 unsigned AT1MISS13
: 1;
8598 unsigned AT1MISS14
: 1;
8599 unsigned AT1MISS15
: 1;
8606 unsigned MISS10
: 1;
8607 unsigned MISS11
: 1;
8608 unsigned MISS12
: 1;
8609 unsigned MISS13
: 1;
8610 unsigned MISS14
: 1;
8611 unsigned MISS15
: 1;
8615 extern __at(0x080F) volatile __AT1MISSHbits_t AT1MISSHbits
;
8617 #define _AT1MISS8 0x01
8619 #define _AT1MISS9 0x02
8621 #define _AT1MISS10 0x04
8622 #define _MISS10 0x04
8623 #define _AT1MISS11 0x08
8624 #define _MISS11 0x08
8625 #define _AT1MISS12 0x10
8626 #define _MISS12 0x10
8627 #define _AT1MISS13 0x20
8628 #define _MISS13 0x20
8629 #define _AT1MISS14 0x40
8630 #define _MISS14 0x40
8631 #define _AT1MISS15 0x80
8632 #define _MISS15 0x80
8634 //==============================================================================
8636 extern __at(0x0810) __sfr AT1PER
;
8638 //==============================================================================
8641 extern __at(0x0810) __sfr AT1PERL
;
8647 unsigned AT1PER0
: 1;
8648 unsigned AT1PER1
: 1;
8649 unsigned AT1PER2
: 1;
8650 unsigned AT1PER3
: 1;
8651 unsigned AT1PER4
: 1;
8652 unsigned AT1PER5
: 1;
8653 unsigned AT1PER6
: 1;
8654 unsigned AT1PER7
: 1;
8682 extern __at(0x0810) volatile __AT1PERLbits_t AT1PERLbits
;
8684 #define _AT1PER0 0x01
8687 #define _AT1PER1 0x02
8690 #define _AT1PER2 0x04
8693 #define _AT1PER3 0x08
8696 #define _AT1PER4 0x10
8699 #define _AT1PER5 0x20
8702 #define _AT1PER6 0x40
8705 #define _AT1PER7 0x80
8709 //==============================================================================
8712 //==============================================================================
8715 extern __at(0x0811) __sfr AT1PERH
;
8721 unsigned AT1PER8
: 1;
8722 unsigned AT1PER9
: 1;
8723 unsigned AT1PER10
: 1;
8724 unsigned AT1PER11
: 1;
8725 unsigned AT1PER12
: 1;
8726 unsigned AT1PER13
: 1;
8727 unsigned AT1PER14
: 1;
8728 unsigned AT1POV
: 1;
8756 extern __at(0x0811) volatile __AT1PERHbits_t AT1PERHbits
;
8758 #define _AT1PER8 0x01
8761 #define _AT1PER9 0x02
8764 #define _AT1PER10 0x04
8767 #define _AT1PER11 0x08
8770 #define _AT1PER12 0x10
8773 #define _AT1PER13 0x20
8776 #define _AT1PER14 0x40
8779 #define _AT1POV 0x80
8783 //==============================================================================
8785 extern __at(0x0812) __sfr AT1PHS
;
8787 //==============================================================================
8790 extern __at(0x0812) __sfr AT1PHSL
;
8796 unsigned AT1PHS0
: 1;
8797 unsigned AT1PHS1
: 1;
8798 unsigned AT1PHS2
: 1;
8799 unsigned AT1PHS3
: 1;
8800 unsigned AT1PHS4
: 1;
8801 unsigned AT1PHS5
: 1;
8802 unsigned AT1PHS6
: 1;
8803 unsigned AT1PHS7
: 1;
8819 extern __at(0x0812) volatile __AT1PHSLbits_t AT1PHSLbits
;
8821 #define _AT1PHS0 0x01
8823 #define _AT1PHS1 0x02
8825 #define _AT1PHS2 0x04
8827 #define _AT1PHS3 0x08
8829 #define _AT1PHS4 0x10
8831 #define _AT1PHS5 0x20
8833 #define _AT1PHS6 0x40
8835 #define _AT1PHS7 0x80
8838 //==============================================================================
8841 //==============================================================================
8844 extern __at(0x0813) __sfr AT1PHSH
;
8850 unsigned AT1PHS8
: 1;
8851 unsigned AT1PHS9
: 1;
8885 extern __at(0x0813) volatile __AT1PHSHbits_t AT1PHSHbits
;
8887 #define _AT1PHS8 0x01
8890 #define _AT1PHS9 0x02
8894 //==============================================================================
8897 //==============================================================================
8900 extern __at(0x0814) __sfr AT1CON0
;
8918 unsigned AT1MODE
: 1;
8919 unsigned AT1APMOD
: 1;
8921 unsigned AT1POL
: 1;
8922 unsigned AT1PS0
: 1;
8923 unsigned AT1PS1
: 1;
8924 unsigned AT1PREC
: 1;
8943 extern __at(0x0814) volatile __AT1CON0bits_t AT1CON0bits
;
8946 #define _AT1MODE 0x01
8948 #define _AT1APMOD 0x02
8950 #define _AT1POL 0x08
8952 #define _AT1PS0 0x10
8954 #define _AT1PS1 0x20
8956 #define _AT1PREC 0x40
8960 //==============================================================================
8963 //==============================================================================
8966 extern __at(0x0815) __sfr AT1CON1
;
8984 unsigned AT1VALID
: 1;
8985 unsigned AT1ACCS
: 1;
8986 unsigned AT1MPP
: 1;
8988 unsigned AT1PRP
: 1;
8990 unsigned AT1PHP
: 1;
8995 extern __at(0x0815) volatile __AT1CON1bits_t AT1CON1bits
;
8998 #define _AT1VALID 0x01
9000 #define _AT1ACCS 0x02
9002 #define _AT1MPP 0x04
9004 #define _AT1PRP 0x10
9006 #define _AT1PHP 0x40
9008 //==============================================================================
9011 //==============================================================================
9014 extern __at(0x0816) __sfr AT1IR0
;
9018 unsigned AT1PERIF
: 1;
9019 unsigned AT1MISSIF
: 1;
9020 unsigned AT1PHSIF
: 1;
9028 extern __at(0x0816) volatile __AT1IR0bits_t AT1IR0bits
;
9030 #define _AT1PERIF 0x01
9031 #define _AT1MISSIF 0x02
9032 #define _AT1PHSIF 0x04
9034 //==============================================================================
9037 //==============================================================================
9040 extern __at(0x0817) __sfr AT1IE0
;
9044 unsigned AT1PERIE
: 1;
9045 unsigned AT1MISSIE
: 1;
9046 unsigned AT1PHSIE
: 1;
9054 extern __at(0x0817) volatile __AT1IE0bits_t AT1IE0bits
;
9056 #define _AT1PERIE 0x01
9057 #define _AT1MISSIE 0x02
9058 #define _AT1PHSIE 0x04
9060 //==============================================================================
9063 //==============================================================================
9066 extern __at(0x0818) __sfr AT1IR1
;
9070 unsigned AT1CC1IF
: 1;
9071 unsigned AT1CC2IF
: 1;
9072 unsigned AT1CC3IF
: 1;
9080 extern __at(0x0818) volatile __AT1IR1bits_t AT1IR1bits
;
9082 #define _AT1CC1IF 0x01
9083 #define _AT1CC2IF 0x02
9084 #define _AT1CC3IF 0x04
9086 //==============================================================================
9089 //==============================================================================
9092 extern __at(0x0819) __sfr AT1IE1
;
9096 unsigned AT1CC1IE
: 1;
9097 unsigned AT1CC2IE
: 1;
9098 unsigned AT1CC3IE
: 1;
9106 extern __at(0x0819) volatile __AT1IE1bits_t AT1IE1bits
;
9108 #define _AT1CC1IE 0x01
9109 #define _AT1CC2IE 0x02
9110 #define _AT1CC3IE 0x04
9112 //==============================================================================
9114 extern __at(0x081A) __sfr AT1STPT
;
9116 //==============================================================================
9119 extern __at(0x081A) __sfr AT1STPTL
;
9125 unsigned AT1STPT0
: 1;
9126 unsigned AT1STPT1
: 1;
9127 unsigned AT1STPT2
: 1;
9128 unsigned AT1STPT3
: 1;
9129 unsigned AT1STPT4
: 1;
9130 unsigned AT1STPT5
: 1;
9131 unsigned AT1STPT6
: 1;
9132 unsigned AT1STPT7
: 1;
9148 extern __at(0x081A) volatile __AT1STPTLbits_t AT1STPTLbits
;
9150 #define _AT1STPT0 0x01
9152 #define _AT1STPT1 0x02
9154 #define _AT1STPT2 0x04
9156 #define _AT1STPT3 0x08
9158 #define _AT1STPT4 0x10
9160 #define _AT1STPT5 0x20
9162 #define _AT1STPT6 0x40
9164 #define _AT1STPT7 0x80
9167 //==============================================================================
9170 //==============================================================================
9173 extern __at(0x081B) __sfr AT1STPTH
;
9179 unsigned AT1STPT8
: 1;
9180 unsigned AT1STPT9
: 1;
9181 unsigned AT1STPT10
: 1;
9182 unsigned AT1STPT11
: 1;
9183 unsigned AT1STPT12
: 1;
9184 unsigned AT1STPT13
: 1;
9185 unsigned AT1STPT14
: 1;
9193 unsigned STPT10
: 1;
9194 unsigned STPT11
: 1;
9195 unsigned STPT12
: 1;
9196 unsigned STPT13
: 1;
9197 unsigned STPT14
: 1;
9202 extern __at(0x081B) volatile __AT1STPTHbits_t AT1STPTHbits
;
9204 #define _AT1STPT8 0x01
9206 #define _AT1STPT9 0x02
9208 #define _AT1STPT10 0x04
9209 #define _STPT10 0x04
9210 #define _AT1STPT11 0x08
9211 #define _STPT11 0x08
9212 #define _AT1STPT12 0x10
9213 #define _STPT12 0x10
9214 #define _AT1STPT13 0x20
9215 #define _STPT13 0x20
9216 #define _AT1STPT14 0x40
9217 #define _STPT14 0x40
9219 //==============================================================================
9221 extern __at(0x081C) __sfr AT1ERR
;
9223 //==============================================================================
9226 extern __at(0x081C) __sfr AT1ERRL
;
9232 unsigned AT1ERR0
: 1;
9233 unsigned AT1ERR1
: 1;
9234 unsigned AT1ERR2
: 1;
9235 unsigned AT1ERR3
: 1;
9236 unsigned AT1ERR4
: 1;
9237 unsigned AT1ERR5
: 1;
9238 unsigned AT1ERR6
: 1;
9239 unsigned AT1ERR7
: 1;
9267 extern __at(0x081C) volatile __AT1ERRLbits_t AT1ERRLbits
;
9269 #define _AT1ERR0 0x01
9272 #define _AT1ERR1 0x02
9275 #define _AT1ERR2 0x04
9278 #define _AT1ERR3 0x08
9281 #define _AT1ERR4 0x10
9284 #define _AT1ERR5 0x20
9287 #define _AT1ERR6 0x40
9290 #define _AT1ERR7 0x80
9294 //==============================================================================
9297 //==============================================================================
9300 extern __at(0x081D) __sfr AT1ERRH
;
9306 unsigned AT1ERR8
: 1;
9307 unsigned AT1ERR9
: 1;
9308 unsigned AT1ERR10
: 1;
9309 unsigned AT1ERR11
: 1;
9310 unsigned AT1ERR12
: 1;
9311 unsigned AT1ERR13
: 1;
9312 unsigned AT1ERR14
: 1;
9313 unsigned AT1ERR15
: 1;
9341 extern __at(0x081D) volatile __AT1ERRHbits_t AT1ERRHbits
;
9343 #define _AT1ERR8 0x01
9346 #define _AT1ERR9 0x02
9349 #define _AT1ERR10 0x04
9352 #define _AT1ERR11 0x08
9355 #define _AT1ERR12 0x10
9358 #define _AT1ERR13 0x20
9361 #define _AT1ERR14 0x40
9364 #define _AT1ERR15 0x80
9368 //==============================================================================
9371 //==============================================================================
9374 extern __at(0x088C) __sfr AT1CLK
;
9416 unsigned AT1CS0
: 1;
9427 extern __at(0x088C) volatile __AT1CLKbits_t AT1CLKbits
;
9432 #define _AT1CS0 0x01
9434 //==============================================================================
9437 //==============================================================================
9440 extern __at(0x088D) __sfr AT1SIG
;
9446 unsigned AT1SSEL0
: 1;
9447 unsigned AT1SSEL1
: 1;
9448 unsigned AT1SSEL2
: 1;
9476 unsigned AT1SSEL
: 3;
9481 extern __at(0x088D) volatile __AT1SIGbits_t AT1SIGbits
;
9483 #define _AT1SSEL0 0x01
9485 #define _AT1SSEL1 0x02
9487 #define _AT1SSEL2 0x04
9490 //==============================================================================
9493 //==============================================================================
9496 extern __at(0x088E) __sfr AT1CSEL1
;
9502 unsigned AT1CP1S0
: 1;
9503 unsigned AT1CP1S1
: 1;
9504 unsigned AT1CP1S2
: 1;
9526 unsigned AT1CP1S
: 3;
9537 extern __at(0x088E) volatile __AT1CSEL1bits_t AT1CSEL1bits
;
9539 #define _AT1CP1S0 0x01
9541 #define _AT1CP1S1 0x02
9543 #define _AT1CP1S2 0x04
9546 //==============================================================================
9548 extern __at(0x088F) __sfr AT1CC1
;
9550 //==============================================================================
9553 extern __at(0x088F) __sfr AT1CC1L
;
9559 unsigned AT1CC10
: 1;
9560 unsigned AT1CC11
: 1;
9561 unsigned AT1CC12
: 1;
9562 unsigned AT1CC13
: 1;
9563 unsigned AT1CC14
: 1;
9564 unsigned AT1CC15
: 1;
9565 unsigned AT1CC16
: 1;
9566 unsigned AT1CC17
: 1;
9582 extern __at(0x088F) volatile __AT1CC1Lbits_t AT1CC1Lbits
;
9584 #define _AT1CC10 0x01
9586 #define _AT1CC11 0x02
9588 #define _AT1CC12 0x04
9590 #define _AT1CC13 0x08
9592 #define _AT1CC14 0x10
9594 #define _AT1CC15 0x20
9596 #define _AT1CC16 0x40
9598 #define _AT1CC17 0x80
9601 //==============================================================================
9604 //==============================================================================
9607 extern __at(0x0890) __sfr AT1CC1H
;
9613 unsigned AT1CC18
: 1;
9614 unsigned AT1CC19
: 1;
9636 extern __at(0x0890) volatile __AT1CC1Hbits_t AT1CC1Hbits
;
9638 #define _AT1CC18 0x01
9640 #define _AT1CC19 0x02
9643 //==============================================================================
9646 //==============================================================================
9649 extern __at(0x0891) __sfr AT1CCON1
;
9655 unsigned AT1CC1MODE
: 1;
9658 unsigned AT1CAP1P
: 1;
9659 unsigned AT1CC1POL
: 1;
9662 unsigned AT1CC1EN
: 1;
9667 unsigned CC1MODE
: 1;
9671 unsigned CC1POL
: 1;
9678 extern __at(0x0891) volatile __AT1CCON1bits_t AT1CCON1bits
;
9680 #define _AT1CC1MODE 0x01
9681 #define _CC1MODE 0x01
9682 #define _AT1CAP1P 0x08
9684 #define _AT1CC1POL 0x10
9685 #define _CC1POL 0x10
9686 #define _AT1CC1EN 0x80
9689 //==============================================================================
9692 //==============================================================================
9695 extern __at(0x0892) __sfr AT1CSEL2
;
9701 unsigned AT1CP2S0
: 1;
9702 unsigned AT1CP2S1
: 1;
9703 unsigned AT1CP2S2
: 1;
9731 unsigned AT1CP2S
: 3;
9736 extern __at(0x0892) volatile __AT1CSEL2bits_t AT1CSEL2bits
;
9738 #define _AT1CP2S0 0x01
9740 #define _AT1CP2S1 0x02
9742 #define _AT1CP2S2 0x04
9745 //==============================================================================
9747 extern __at(0x0893) __sfr AT1CC2
;
9749 //==============================================================================
9752 extern __at(0x0893) __sfr AT1CC2L
;
9758 unsigned AT1CC20
: 1;
9759 unsigned AT1CC21
: 1;
9760 unsigned AT1CC22
: 1;
9761 unsigned AT1CC23
: 1;
9762 unsigned AT1CC24
: 1;
9763 unsigned AT1CC25
: 1;
9764 unsigned AT1CC26
: 1;
9765 unsigned AT1CC27
: 1;
9781 extern __at(0x0893) volatile __AT1CC2Lbits_t AT1CC2Lbits
;
9783 #define _AT1CC2L_AT1CC20 0x01
9784 #define _AT1CC2L_CC20 0x01
9785 #define _AT1CC2L_AT1CC21 0x02
9786 #define _AT1CC2L_CC21 0x02
9787 #define _AT1CC2L_AT1CC22 0x04
9788 #define _AT1CC2L_CC22 0x04
9789 #define _AT1CC2L_AT1CC23 0x08
9790 #define _AT1CC2L_CC13 0x08
9791 #define _AT1CC2L_AT1CC24 0x10
9792 #define _AT1CC2L_CC24 0x10
9793 #define _AT1CC2L_AT1CC25 0x20
9794 #define _AT1CC2L_CCW5 0x20
9795 #define _AT1CC2L_AT1CC26 0x40
9796 #define _AT1CC2L_CC26 0x40
9797 #define _AT1CC2L_AT1CC27 0x80
9798 #define _AT1CC2L_CC27 0x80
9800 //==============================================================================
9803 //==============================================================================
9806 extern __at(0x0894) __sfr AT1CC2H
;
9812 unsigned AT1CC28
: 1;
9813 unsigned AT1CC29
: 1;
9835 extern __at(0x0894) volatile __AT1CC2Hbits_t AT1CC2Hbits
;
9837 #define _AT1CC28 0x01
9839 #define _AT1CC29 0x02
9842 //==============================================================================
9845 //==============================================================================
9848 extern __at(0x0895) __sfr AT1CCON2
;
9854 unsigned AT1CC2MODE
: 1;
9857 unsigned AT1CAP2P
: 1;
9858 unsigned AT1CC2POL
: 1;
9861 unsigned AT1CC2EN
: 1;
9866 unsigned CC2MODE
: 1;
9870 unsigned CC2POL
: 1;
9877 extern __at(0x0895) volatile __AT1CCON2bits_t AT1CCON2bits
;
9879 #define _AT1CC2MODE 0x01
9880 #define _CC2MODE 0x01
9881 #define _AT1CAP2P 0x08
9883 #define _AT1CC2POL 0x10
9884 #define _CC2POL 0x10
9885 #define _AT1CC2EN 0x80
9888 //==============================================================================
9891 //==============================================================================
9894 extern __at(0x0896) __sfr AT1CSEL3
;
9900 unsigned AT1CP3S0
: 1;
9901 unsigned AT1CP3S1
: 1;
9902 unsigned AT1CP3S2
: 1;
9924 unsigned AT1CP3S
: 3;
9935 extern __at(0x0896) volatile __AT1CSEL3bits_t AT1CSEL3bits
;
9937 #define _AT1CP3S0 0x01
9939 #define _AT1CP3S1 0x02
9941 #define _AT1CP3S2 0x04
9944 //==============================================================================
9946 extern __at(0x0897) __sfr AT1CC3
;
9948 //==============================================================================
9951 extern __at(0x0897) __sfr AT1CC3L
;
9957 unsigned AT1CC30
: 1;
9958 unsigned AT1CC31
: 1;
9959 unsigned AT1CC32
: 1;
9960 unsigned AT1CC33
: 1;
9961 unsigned AT1CC34
: 1;
9962 unsigned AT1CC35
: 1;
9963 unsigned AT1CC36
: 1;
9964 unsigned AT1CC37
: 1;
9980 extern __at(0x0897) volatile __AT1CC3Lbits_t AT1CC3Lbits
;
9982 #define _AT1CC30 0x01
9984 #define _AT1CC31 0x02
9986 #define _AT1CC32 0x04
9988 #define _AT1CC33 0x08
9990 #define _AT1CC34 0x10
9992 #define _AT1CC35 0x20
9994 #define _AT1CC36 0x40
9996 #define _AT1CC37 0x80
9999 //==============================================================================
10002 //==============================================================================
10005 extern __at(0x0898) __sfr AT1CC3H
;
10011 unsigned AT1CC38
: 1;
10012 unsigned AT1CC39
: 1;
10034 extern __at(0x0898) volatile __AT1CC3Hbits_t AT1CC3Hbits
;
10036 #define _AT1CC38 0x01
10038 #define _AT1CC39 0x02
10041 //==============================================================================
10044 //==============================================================================
10047 extern __at(0x0899) __sfr AT1CCON3
;
10053 unsigned AT1CC3MODE
: 1;
10056 unsigned AT1CAP3P
: 1;
10057 unsigned AT1CC3POL
: 1;
10060 unsigned AT1CC3EN
: 1;
10065 unsigned CC3MODE
: 1;
10068 unsigned CAP3P
: 1;
10069 unsigned CC3POL
: 1;
10072 unsigned CC3EN
: 1;
10074 } __AT1CCON3bits_t
;
10076 extern __at(0x0899) volatile __AT1CCON3bits_t AT1CCON3bits
;
10078 #define _AT1CC3MODE 0x01
10079 #define _CC3MODE 0x01
10080 #define _AT1CAP3P 0x08
10081 #define _CAP3P 0x08
10082 #define _AT1CC3POL 0x10
10083 #define _CC3POL 0x10
10084 #define _AT1CC3EN 0x80
10085 #define _CC3EN 0x80
10087 //==============================================================================
10089 extern __at(0x0D8C) __sfr SMT1TMR
;
10091 //==============================================================================
10094 extern __at(0x0D8C) __sfr SMT1TMRL
;
10098 unsigned SMT1TMR0
: 1;
10099 unsigned SMT1TMR1
: 1;
10100 unsigned SMT1TMR2
: 1;
10101 unsigned SMT1TMR3
: 1;
10102 unsigned SMT1TMR4
: 1;
10103 unsigned SMT1TMR5
: 1;
10104 unsigned SMT1TMR6
: 1;
10105 unsigned SMT1TMR7
: 1;
10106 } __SMT1TMRLbits_t
;
10108 extern __at(0x0D8C) volatile __SMT1TMRLbits_t SMT1TMRLbits
;
10110 #define _SMT1TMR0 0x01
10111 #define _SMT1TMR1 0x02
10112 #define _SMT1TMR2 0x04
10113 #define _SMT1TMR3 0x08
10114 #define _SMT1TMR4 0x10
10115 #define _SMT1TMR5 0x20
10116 #define _SMT1TMR6 0x40
10117 #define _SMT1TMR7 0x80
10119 //==============================================================================
10122 //==============================================================================
10125 extern __at(0x0D8D) __sfr SMT1TMRH
;
10129 unsigned SMT1TMR8
: 1;
10130 unsigned SMT1TMR9
: 1;
10131 unsigned SMT1TMR10
: 1;
10132 unsigned SMT1TMR11
: 1;
10133 unsigned SMT1TMR12
: 1;
10134 unsigned SMT1TMR13
: 1;
10135 unsigned SMT1TMR14
: 1;
10136 unsigned SMT1TMR15
: 1;
10137 } __SMT1TMRHbits_t
;
10139 extern __at(0x0D8D) volatile __SMT1TMRHbits_t SMT1TMRHbits
;
10141 #define _SMT1TMR8 0x01
10142 #define _SMT1TMR9 0x02
10143 #define _SMT1TMR10 0x04
10144 #define _SMT1TMR11 0x08
10145 #define _SMT1TMR12 0x10
10146 #define _SMT1TMR13 0x20
10147 #define _SMT1TMR14 0x40
10148 #define _SMT1TMR15 0x80
10150 //==============================================================================
10153 //==============================================================================
10156 extern __at(0x0D8E) __sfr SMT1TMRU
;
10160 unsigned SMT1TMR16
: 1;
10161 unsigned SMT1TMR17
: 1;
10162 unsigned SMT1TMR18
: 1;
10163 unsigned SMT1TMR19
: 1;
10164 unsigned SMT1TMR20
: 1;
10165 unsigned SMT1TMR21
: 1;
10166 unsigned SMT1TMR22
: 1;
10167 unsigned SMT1TMR23
: 1;
10168 } __SMT1TMRUbits_t
;
10170 extern __at(0x0D8E) volatile __SMT1TMRUbits_t SMT1TMRUbits
;
10172 #define _SMT1TMR16 0x01
10173 #define _SMT1TMR17 0x02
10174 #define _SMT1TMR18 0x04
10175 #define _SMT1TMR19 0x08
10176 #define _SMT1TMR20 0x10
10177 #define _SMT1TMR21 0x20
10178 #define _SMT1TMR22 0x40
10179 #define _SMT1TMR23 0x80
10181 //==============================================================================
10183 extern __at(0x0D8F) __sfr SMT1CPR
;
10185 //==============================================================================
10188 extern __at(0x0D8F) __sfr SMT1CPRL
;
10192 unsigned SMT1CPR0
: 1;
10193 unsigned SMT1CPR1
: 1;
10194 unsigned SMT1CPR2
: 1;
10195 unsigned SMT1CPR3
: 1;
10196 unsigned SMT1CPR4
: 1;
10197 unsigned SMT1CPR5
: 1;
10198 unsigned SMT1CPR6
: 1;
10199 unsigned SMT1CPR7
: 1;
10200 } __SMT1CPRLbits_t
;
10202 extern __at(0x0D8F) volatile __SMT1CPRLbits_t SMT1CPRLbits
;
10204 #define _SMT1CPR0 0x01
10205 #define _SMT1CPR1 0x02
10206 #define _SMT1CPR2 0x04
10207 #define _SMT1CPR3 0x08
10208 #define _SMT1CPR4 0x10
10209 #define _SMT1CPR5 0x20
10210 #define _SMT1CPR6 0x40
10211 #define _SMT1CPR7 0x80
10213 //==============================================================================
10216 //==============================================================================
10219 extern __at(0x0D90) __sfr SMT1CPRH
;
10223 unsigned SMT1CPR8
: 1;
10224 unsigned SMT1CPR9
: 1;
10225 unsigned SMT1CPR10
: 1;
10226 unsigned SMT1CPR11
: 1;
10227 unsigned SMT1CPR12
: 1;
10228 unsigned SMT1CPR13
: 1;
10229 unsigned SMT1CPR14
: 1;
10230 unsigned SMT1CPR15
: 1;
10231 } __SMT1CPRHbits_t
;
10233 extern __at(0x0D90) volatile __SMT1CPRHbits_t SMT1CPRHbits
;
10235 #define _SMT1CPR8 0x01
10236 #define _SMT1CPR9 0x02
10237 #define _SMT1CPR10 0x04
10238 #define _SMT1CPR11 0x08
10239 #define _SMT1CPR12 0x10
10240 #define _SMT1CPR13 0x20
10241 #define _SMT1CPR14 0x40
10242 #define _SMT1CPR15 0x80
10244 //==============================================================================
10247 //==============================================================================
10250 extern __at(0x0D91) __sfr SMT1CPRU
;
10254 unsigned SMT1CPR16
: 1;
10255 unsigned SMT1CPR17
: 1;
10256 unsigned SMT1CPR18
: 1;
10257 unsigned SMT1CPR19
: 1;
10258 unsigned SMT1CPR20
: 1;
10259 unsigned SMT1CPR21
: 1;
10260 unsigned SMT1CPR22
: 1;
10261 unsigned SMT1CPR23
: 1;
10262 } __SMT1CPRUbits_t
;
10264 extern __at(0x0D91) volatile __SMT1CPRUbits_t SMT1CPRUbits
;
10266 #define _SMT1CPR16 0x01
10267 #define _SMT1CPR17 0x02
10268 #define _SMT1CPR18 0x04
10269 #define _SMT1CPR19 0x08
10270 #define _SMT1CPR20 0x10
10271 #define _SMT1CPR21 0x20
10272 #define _SMT1CPR22 0x40
10273 #define _SMT1CPR23 0x80
10275 //==============================================================================
10277 extern __at(0x0D92) __sfr SMT1CPW
;
10279 //==============================================================================
10282 extern __at(0x0D92) __sfr SMT1CPWL
;
10286 unsigned SMT1CPW0
: 1;
10287 unsigned SMT1CPW1
: 1;
10288 unsigned SMT1CPW2
: 1;
10289 unsigned SMT1CPW3
: 1;
10290 unsigned SMT1CPW4
: 1;
10291 unsigned SMT1CPW5
: 1;
10292 unsigned SMT1CPW6
: 1;
10293 unsigned SMT1CPW7
: 1;
10294 } __SMT1CPWLbits_t
;
10296 extern __at(0x0D92) volatile __SMT1CPWLbits_t SMT1CPWLbits
;
10298 #define _SMT1CPW0 0x01
10299 #define _SMT1CPW1 0x02
10300 #define _SMT1CPW2 0x04
10301 #define _SMT1CPW3 0x08
10302 #define _SMT1CPW4 0x10
10303 #define _SMT1CPW5 0x20
10304 #define _SMT1CPW6 0x40
10305 #define _SMT1CPW7 0x80
10307 //==============================================================================
10310 //==============================================================================
10313 extern __at(0x0D93) __sfr SMT1CPWH
;
10317 unsigned SMT1CPW8
: 1;
10318 unsigned SMT1CPW9
: 1;
10319 unsigned SMT1CPW10
: 1;
10320 unsigned SMT1CPW11
: 1;
10321 unsigned SMT1CPW12
: 1;
10322 unsigned SMT1CPW13
: 1;
10323 unsigned SMT1CPW14
: 1;
10324 unsigned SMT1CPW15
: 1;
10325 } __SMT1CPWHbits_t
;
10327 extern __at(0x0D93) volatile __SMT1CPWHbits_t SMT1CPWHbits
;
10329 #define _SMT1CPW8 0x01
10330 #define _SMT1CPW9 0x02
10331 #define _SMT1CPW10 0x04
10332 #define _SMT1CPW11 0x08
10333 #define _SMT1CPW12 0x10
10334 #define _SMT1CPW13 0x20
10335 #define _SMT1CPW14 0x40
10336 #define _SMT1CPW15 0x80
10338 //==============================================================================
10341 //==============================================================================
10344 extern __at(0x0D94) __sfr SMT1CPWU
;
10348 unsigned SMT1CPW16
: 1;
10349 unsigned SMT1CPW17
: 1;
10350 unsigned SMT1CPW18
: 1;
10351 unsigned SMT1CPW19
: 1;
10352 unsigned SMT1CPW20
: 1;
10353 unsigned SMT1CPW21
: 1;
10354 unsigned SMT1CPW22
: 1;
10355 unsigned SMT1CPW23
: 1;
10356 } __SMT1CPWUbits_t
;
10358 extern __at(0x0D94) volatile __SMT1CPWUbits_t SMT1CPWUbits
;
10360 #define _SMT1CPW16 0x01
10361 #define _SMT1CPW17 0x02
10362 #define _SMT1CPW18 0x04
10363 #define _SMT1CPW19 0x08
10364 #define _SMT1CPW20 0x10
10365 #define _SMT1CPW21 0x20
10366 #define _SMT1CPW22 0x40
10367 #define _SMT1CPW23 0x80
10369 //==============================================================================
10371 extern __at(0x0D95) __sfr SMT1PR
;
10373 //==============================================================================
10376 extern __at(0x0D95) __sfr SMT1PRL
;
10380 unsigned SMT1PR0
: 1;
10381 unsigned SMT1PR1
: 1;
10382 unsigned SMT1PR2
: 1;
10383 unsigned SMT1PR3
: 1;
10384 unsigned SMT1PR4
: 1;
10385 unsigned SMT1PR5
: 1;
10386 unsigned SMT1PR6
: 1;
10387 unsigned SMT1PR7
: 1;
10390 extern __at(0x0D95) volatile __SMT1PRLbits_t SMT1PRLbits
;
10392 #define _SMT1PR0 0x01
10393 #define _SMT1PR1 0x02
10394 #define _SMT1PR2 0x04
10395 #define _SMT1PR3 0x08
10396 #define _SMT1PR4 0x10
10397 #define _SMT1PR5 0x20
10398 #define _SMT1PR6 0x40
10399 #define _SMT1PR7 0x80
10401 //==============================================================================
10404 //==============================================================================
10407 extern __at(0x0D96) __sfr SMT1PRH
;
10411 unsigned SMT1PR8
: 1;
10412 unsigned SMT1PR9
: 1;
10413 unsigned SMT1PR10
: 1;
10414 unsigned SMT1PR11
: 1;
10415 unsigned SMT1PR12
: 1;
10416 unsigned SMT1PR13
: 1;
10417 unsigned SMT1PR14
: 1;
10418 unsigned SMT1PR15
: 1;
10421 extern __at(0x0D96) volatile __SMT1PRHbits_t SMT1PRHbits
;
10423 #define _SMT1PR8 0x01
10424 #define _SMT1PR9 0x02
10425 #define _SMT1PR10 0x04
10426 #define _SMT1PR11 0x08
10427 #define _SMT1PR12 0x10
10428 #define _SMT1PR13 0x20
10429 #define _SMT1PR14 0x40
10430 #define _SMT1PR15 0x80
10432 //==============================================================================
10435 //==============================================================================
10438 extern __at(0x0D97) __sfr SMT1PRU
;
10442 unsigned SMT1PR16
: 1;
10443 unsigned SMT1PR17
: 1;
10444 unsigned SMT1PR18
: 1;
10445 unsigned SMT1PR19
: 1;
10446 unsigned SMT1PR20
: 1;
10447 unsigned SMT1PR21
: 1;
10448 unsigned SMT1PR22
: 1;
10449 unsigned SMT1PR23
: 1;
10452 extern __at(0x0D97) volatile __SMT1PRUbits_t SMT1PRUbits
;
10454 #define _SMT1PR16 0x01
10455 #define _SMT1PR17 0x02
10456 #define _SMT1PR18 0x04
10457 #define _SMT1PR19 0x08
10458 #define _SMT1PR20 0x10
10459 #define _SMT1PR21 0x20
10460 #define _SMT1PR22 0x40
10461 #define _SMT1PR23 0x80
10463 //==============================================================================
10466 //==============================================================================
10469 extern __at(0x0D98) __sfr SMT1CON0
;
10475 unsigned SMT1PS0
: 1;
10476 unsigned SMT1PS1
: 1;
10487 unsigned SMT1PS
: 2;
10490 } __SMT1CON0bits_t
;
10492 extern __at(0x0D98) volatile __SMT1CON0bits_t SMT1CON0bits
;
10494 #define _SMT1CON0_SMT1PS0 0x01
10495 #define _SMT1CON0_SMT1PS1 0x02
10496 #define _SMT1CON0_CPOL 0x04
10497 #define _SMT1CON0_SPOL 0x08
10498 #define _SMT1CON0_WPOL 0x10
10499 #define _SMT1CON0_STP 0x20
10500 #define _SMT1CON0_EN 0x80
10502 //==============================================================================
10505 //==============================================================================
10508 extern __at(0x0D99) __sfr SMT1CON1
;
10514 unsigned MODE0
: 1;
10515 unsigned MODE1
: 1;
10516 unsigned MODE2
: 1;
10517 unsigned MODE3
: 1;
10520 unsigned REPEAT
: 1;
10521 unsigned SMT1GO
: 1;
10526 unsigned SMT1MODE0
: 1;
10527 unsigned SMT1MODE1
: 1;
10528 unsigned SMT1MODE2
: 1;
10529 unsigned SMT1MODE3
: 1;
10532 unsigned SMT1REPEAT
: 1;
10538 unsigned SMT1MODE
: 4;
10547 } __SMT1CON1bits_t
;
10549 extern __at(0x0D99) volatile __SMT1CON1bits_t SMT1CON1bits
;
10551 #define _SMT1CON1_MODE0 0x01
10552 #define _SMT1CON1_SMT1MODE0 0x01
10553 #define _SMT1CON1_MODE1 0x02
10554 #define _SMT1CON1_SMT1MODE1 0x02
10555 #define _SMT1CON1_MODE2 0x04
10556 #define _SMT1CON1_SMT1MODE2 0x04
10557 #define _SMT1CON1_MODE3 0x08
10558 #define _SMT1CON1_SMT1MODE3 0x08
10559 #define _SMT1CON1_REPEAT 0x40
10560 #define _SMT1CON1_SMT1REPEAT 0x40
10561 #define _SMT1CON1_SMT1GO 0x80
10563 //==============================================================================
10566 //==============================================================================
10569 extern __at(0x0D9A) __sfr SMT1STAT
;
10581 unsigned CPWUP
: 1;
10582 unsigned CPRUP
: 1;
10587 unsigned SMT1AS
: 1;
10588 unsigned SMT1WS
: 1;
10589 unsigned SMT1TS
: 1;
10592 unsigned SMT1RESET
: 1;
10593 unsigned SMT1CPWUP
: 1;
10594 unsigned SMT1CPRUP
: 1;
10596 } __SMT1STATbits_t
;
10598 extern __at(0x0D9A) volatile __SMT1STATbits_t SMT1STATbits
;
10601 #define _SMT1AS 0x01
10603 #define _SMT1WS 0x02
10605 #define _SMT1TS 0x04
10607 #define _SMT1RESET 0x20
10608 #define _CPWUP 0x40
10609 #define _SMT1CPWUP 0x40
10610 #define _CPRUP 0x80
10611 #define _SMT1CPRUP 0x80
10613 //==============================================================================
10616 //==============================================================================
10619 extern __at(0x0D9B) __sfr SMT1CLK
;
10625 unsigned CSEL0
: 1;
10626 unsigned CSEL1
: 1;
10627 unsigned CSEL2
: 1;
10637 unsigned SMT1CSEL0
: 1;
10638 unsigned SMT1CSEL1
: 1;
10639 unsigned SMT1CSEL2
: 1;
10655 unsigned SMT1CSEL
: 3;
10660 extern __at(0x0D9B) volatile __SMT1CLKbits_t SMT1CLKbits
;
10662 #define _CSEL0 0x01
10663 #define _SMT1CSEL0 0x01
10664 #define _CSEL1 0x02
10665 #define _SMT1CSEL1 0x02
10666 #define _CSEL2 0x04
10667 #define _SMT1CSEL2 0x04
10669 //==============================================================================
10672 //==============================================================================
10675 extern __at(0x0D9C) __sfr SMT1SIG
;
10681 unsigned SSEL0
: 1;
10682 unsigned SSEL1
: 1;
10683 unsigned SSEL2
: 1;
10684 unsigned SSEL3
: 1;
10685 unsigned SSEL4
: 1;
10693 unsigned SMT1SSEL0
: 1;
10694 unsigned SMT1SSEL1
: 1;
10695 unsigned SMT1SSEL2
: 1;
10696 unsigned SMT1SSEL3
: 1;
10697 unsigned SMT1SSEL4
: 1;
10705 unsigned SMT1SSEL
: 5;
10716 extern __at(0x0D9C) volatile __SMT1SIGbits_t SMT1SIGbits
;
10718 #define _SMT1SIG_SSEL0 0x01
10719 #define _SMT1SIG_SMT1SSEL0 0x01
10720 #define _SMT1SIG_SSEL1 0x02
10721 #define _SMT1SIG_SMT1SSEL1 0x02
10722 #define _SMT1SIG_SSEL2 0x04
10723 #define _SMT1SIG_SMT1SSEL2 0x04
10724 #define _SMT1SIG_SSEL3 0x08
10725 #define _SMT1SIG_SMT1SSEL3 0x08
10726 #define _SMT1SIG_SSEL4 0x10
10727 #define _SMT1SIG_SMT1SSEL4 0x10
10729 //==============================================================================
10732 //==============================================================================
10735 extern __at(0x0D9D) __sfr SMT1WIN
;
10741 unsigned WSEL0
: 1;
10742 unsigned WSEL1
: 1;
10743 unsigned WSEL2
: 1;
10744 unsigned WSEL3
: 1;
10745 unsigned WSEL4
: 1;
10753 unsigned SMT1WSEL0
: 1;
10754 unsigned SMT1WSEL1
: 1;
10755 unsigned SMT1WSEL2
: 1;
10756 unsigned SMT1WSEL3
: 1;
10757 unsigned SMT1WSEL4
: 1;
10765 unsigned SMT1WSEL
: 5;
10776 extern __at(0x0D9D) volatile __SMT1WINbits_t SMT1WINbits
;
10778 #define _WSEL0 0x01
10779 #define _SMT1WSEL0 0x01
10780 #define _WSEL1 0x02
10781 #define _SMT1WSEL1 0x02
10782 #define _WSEL2 0x04
10783 #define _SMT1WSEL2 0x04
10784 #define _WSEL3 0x08
10785 #define _SMT1WSEL3 0x08
10786 #define _WSEL4 0x10
10787 #define _SMT1WSEL4 0x10
10789 //==============================================================================
10791 extern __at(0x0D9E) __sfr SMT2TMR
;
10793 //==============================================================================
10796 extern __at(0x0D9E) __sfr SMT2TMRL
;
10800 unsigned SMT2TMR0
: 1;
10801 unsigned SMT2TMR1
: 1;
10802 unsigned SMT2TMR2
: 1;
10803 unsigned SMT2TMR3
: 1;
10804 unsigned SMT2TMR4
: 1;
10805 unsigned SMT2TMR5
: 1;
10806 unsigned SMT2TMR6
: 1;
10807 unsigned SMT2TMR7
: 1;
10808 } __SMT2TMRLbits_t
;
10810 extern __at(0x0D9E) volatile __SMT2TMRLbits_t SMT2TMRLbits
;
10812 #define _SMT2TMR0 0x01
10813 #define _SMT2TMR1 0x02
10814 #define _SMT2TMR2 0x04
10815 #define _SMT2TMR3 0x08
10816 #define _SMT2TMR4 0x10
10817 #define _SMT2TMR5 0x20
10818 #define _SMT2TMR6 0x40
10819 #define _SMT2TMR7 0x80
10821 //==============================================================================
10824 //==============================================================================
10827 extern __at(0x0D9F) __sfr SMT2TMRH
;
10831 unsigned SMT2TMR8
: 1;
10832 unsigned SMT2TMR9
: 1;
10833 unsigned SMT2TMR10
: 1;
10834 unsigned SMT2TMR11
: 1;
10835 unsigned SMT2TMR12
: 1;
10836 unsigned SMT2TMR13
: 1;
10837 unsigned SMT2TMR14
: 1;
10838 unsigned SMT2TMR15
: 1;
10839 } __SMT2TMRHbits_t
;
10841 extern __at(0x0D9F) volatile __SMT2TMRHbits_t SMT2TMRHbits
;
10843 #define _SMT2TMR8 0x01
10844 #define _SMT2TMR9 0x02
10845 #define _SMT2TMR10 0x04
10846 #define _SMT2TMR11 0x08
10847 #define _SMT2TMR12 0x10
10848 #define _SMT2TMR13 0x20
10849 #define _SMT2TMR14 0x40
10850 #define _SMT2TMR15 0x80
10852 //==============================================================================
10855 //==============================================================================
10858 extern __at(0x0DA0) __sfr SMT2TMRU
;
10862 unsigned SMT2TMR16
: 1;
10863 unsigned SMT2TMR17
: 1;
10864 unsigned SMT2TMR18
: 1;
10865 unsigned SMT2TMR19
: 1;
10866 unsigned SMT2TMR20
: 1;
10867 unsigned SMT2TMR21
: 1;
10868 unsigned SMT2TMR22
: 1;
10869 unsigned SMT2TMR23
: 1;
10870 } __SMT2TMRUbits_t
;
10872 extern __at(0x0DA0) volatile __SMT2TMRUbits_t SMT2TMRUbits
;
10874 #define _SMT2TMR16 0x01
10875 #define _SMT2TMR17 0x02
10876 #define _SMT2TMR18 0x04
10877 #define _SMT2TMR19 0x08
10878 #define _SMT2TMR20 0x10
10879 #define _SMT2TMR21 0x20
10880 #define _SMT2TMR22 0x40
10881 #define _SMT2TMR23 0x80
10883 //==============================================================================
10885 extern __at(0x0DA1) __sfr SMT2CPR
;
10887 //==============================================================================
10890 extern __at(0x0DA1) __sfr SMT2CPRL
;
10894 unsigned SMT2CPR0
: 1;
10895 unsigned SMT2CPR1
: 1;
10896 unsigned SMT2CPR2
: 1;
10897 unsigned SMT2CPR3
: 1;
10898 unsigned SMT2CPR4
: 1;
10899 unsigned SMT2CPR5
: 1;
10900 unsigned SMT2CPR6
: 1;
10901 unsigned SMT2CPR7
: 1;
10902 } __SMT2CPRLbits_t
;
10904 extern __at(0x0DA1) volatile __SMT2CPRLbits_t SMT2CPRLbits
;
10906 #define _SMT2CPR0 0x01
10907 #define _SMT2CPR1 0x02
10908 #define _SMT2CPR2 0x04
10909 #define _SMT2CPR3 0x08
10910 #define _SMT2CPR4 0x10
10911 #define _SMT2CPR5 0x20
10912 #define _SMT2CPR6 0x40
10913 #define _SMT2CPR7 0x80
10915 //==============================================================================
10918 //==============================================================================
10921 extern __at(0x0DA2) __sfr SMT2CPRH
;
10925 unsigned SMT2CPR8
: 1;
10926 unsigned SMT2CPR9
: 1;
10927 unsigned SMT2CPR10
: 1;
10928 unsigned SMT2CPR11
: 1;
10929 unsigned SMT2CPR12
: 1;
10930 unsigned SMT2CPR13
: 1;
10931 unsigned SMT2CPR14
: 1;
10932 unsigned SMT2CPR15
: 1;
10933 } __SMT2CPRHbits_t
;
10935 extern __at(0x0DA2) volatile __SMT2CPRHbits_t SMT2CPRHbits
;
10937 #define _SMT2CPR8 0x01
10938 #define _SMT2CPR9 0x02
10939 #define _SMT2CPR10 0x04
10940 #define _SMT2CPR11 0x08
10941 #define _SMT2CPR12 0x10
10942 #define _SMT2CPR13 0x20
10943 #define _SMT2CPR14 0x40
10944 #define _SMT2CPR15 0x80
10946 //==============================================================================
10949 //==============================================================================
10952 extern __at(0x0DA3) __sfr SMT2CPRU
;
10956 unsigned SMT2CPR16
: 1;
10957 unsigned SMT2CPR17
: 1;
10958 unsigned SMT2CPR18
: 1;
10959 unsigned SMT2CPR19
: 1;
10960 unsigned SMT2CPR20
: 1;
10961 unsigned SMT2CPR21
: 1;
10962 unsigned SMT2CPR22
: 1;
10963 unsigned SMT2CPR23
: 1;
10964 } __SMT2CPRUbits_t
;
10966 extern __at(0x0DA3) volatile __SMT2CPRUbits_t SMT2CPRUbits
;
10968 #define _SMT2CPR16 0x01
10969 #define _SMT2CPR17 0x02
10970 #define _SMT2CPR18 0x04
10971 #define _SMT2CPR19 0x08
10972 #define _SMT2CPR20 0x10
10973 #define _SMT2CPR21 0x20
10974 #define _SMT2CPR22 0x40
10975 #define _SMT2CPR23 0x80
10977 //==============================================================================
10979 extern __at(0x0DA4) __sfr SMT2CPW
;
10981 //==============================================================================
10984 extern __at(0x0DA4) __sfr SMT2CPWL
;
10988 unsigned SMT2CPW0
: 1;
10989 unsigned SMT2CPW1
: 1;
10990 unsigned SMT2CPW2
: 1;
10991 unsigned SMT2CPW3
: 1;
10992 unsigned SMT2CPW4
: 1;
10993 unsigned SMT2CPW5
: 1;
10994 unsigned SMT2CPW6
: 1;
10995 unsigned SMT2CPW7
: 1;
10996 } __SMT2CPWLbits_t
;
10998 extern __at(0x0DA4) volatile __SMT2CPWLbits_t SMT2CPWLbits
;
11000 #define _SMT2CPW0 0x01
11001 #define _SMT2CPW1 0x02
11002 #define _SMT2CPW2 0x04
11003 #define _SMT2CPW3 0x08
11004 #define _SMT2CPW4 0x10
11005 #define _SMT2CPW5 0x20
11006 #define _SMT2CPW6 0x40
11007 #define _SMT2CPW7 0x80
11009 //==============================================================================
11012 //==============================================================================
11015 extern __at(0x0DA5) __sfr SMT2CPWH
;
11019 unsigned SMT2CPW8
: 1;
11020 unsigned SMT2CPW9
: 1;
11021 unsigned SMT2CPW10
: 1;
11022 unsigned SMT2CPW11
: 1;
11023 unsigned SMT2CPW12
: 1;
11024 unsigned SMT2CPW13
: 1;
11025 unsigned SMT2CPW14
: 1;
11026 unsigned SMT2CPW15
: 1;
11027 } __SMT2CPWHbits_t
;
11029 extern __at(0x0DA5) volatile __SMT2CPWHbits_t SMT2CPWHbits
;
11031 #define _SMT2CPW8 0x01
11032 #define _SMT2CPW9 0x02
11033 #define _SMT2CPW10 0x04
11034 #define _SMT2CPW11 0x08
11035 #define _SMT2CPW12 0x10
11036 #define _SMT2CPW13 0x20
11037 #define _SMT2CPW14 0x40
11038 #define _SMT2CPW15 0x80
11040 //==============================================================================
11043 //==============================================================================
11046 extern __at(0x0DA6) __sfr SMT2CPWU
;
11050 unsigned SMT2CPW16
: 1;
11051 unsigned SMT2CPW17
: 1;
11052 unsigned SMT2CPW18
: 1;
11053 unsigned SMT2CPW19
: 1;
11054 unsigned SMT2CPW20
: 1;
11055 unsigned SMT2CPW21
: 1;
11056 unsigned SMT2CPW22
: 1;
11057 unsigned SMT2CPW23
: 1;
11058 } __SMT2CPWUbits_t
;
11060 extern __at(0x0DA6) volatile __SMT2CPWUbits_t SMT2CPWUbits
;
11062 #define _SMT2CPW16 0x01
11063 #define _SMT2CPW17 0x02
11064 #define _SMT2CPW18 0x04
11065 #define _SMT2CPW19 0x08
11066 #define _SMT2CPW20 0x10
11067 #define _SMT2CPW21 0x20
11068 #define _SMT2CPW22 0x40
11069 #define _SMT2CPW23 0x80
11071 //==============================================================================
11073 extern __at(0x0DA7) __sfr SMT2PR
;
11075 //==============================================================================
11078 extern __at(0x0DA7) __sfr SMT2PRL
;
11082 unsigned SMT2PR0
: 1;
11083 unsigned SMT2PR1
: 1;
11084 unsigned SMT2PR2
: 1;
11085 unsigned SMT2PR3
: 1;
11086 unsigned SMT2PR4
: 1;
11087 unsigned SMT2PR5
: 1;
11088 unsigned SMT2PR6
: 1;
11089 unsigned SMT2PR7
: 1;
11092 extern __at(0x0DA7) volatile __SMT2PRLbits_t SMT2PRLbits
;
11094 #define _SMT2PR0 0x01
11095 #define _SMT2PR1 0x02
11096 #define _SMT2PR2 0x04
11097 #define _SMT2PR3 0x08
11098 #define _SMT2PR4 0x10
11099 #define _SMT2PR5 0x20
11100 #define _SMT2PR6 0x40
11101 #define _SMT2PR7 0x80
11103 //==============================================================================
11106 //==============================================================================
11109 extern __at(0x0DA8) __sfr SMT2PRH
;
11113 unsigned SMT2PR8
: 1;
11114 unsigned SMT2PR9
: 1;
11115 unsigned SMT2PR10
: 1;
11116 unsigned SMT2PR11
: 1;
11117 unsigned SMT2PR12
: 1;
11118 unsigned SMT2PR13
: 1;
11119 unsigned SMT2PR14
: 1;
11120 unsigned SMT2PR15
: 1;
11123 extern __at(0x0DA8) volatile __SMT2PRHbits_t SMT2PRHbits
;
11125 #define _SMT2PR8 0x01
11126 #define _SMT2PR9 0x02
11127 #define _SMT2PR10 0x04
11128 #define _SMT2PR11 0x08
11129 #define _SMT2PR12 0x10
11130 #define _SMT2PR13 0x20
11131 #define _SMT2PR14 0x40
11132 #define _SMT2PR15 0x80
11134 //==============================================================================
11137 //==============================================================================
11140 extern __at(0x0DA9) __sfr SMT2PRU
;
11144 unsigned SMT2PR16
: 1;
11145 unsigned SMT2PR17
: 1;
11146 unsigned SMT2PR18
: 1;
11147 unsigned SMT2PR19
: 1;
11148 unsigned SMT2PR20
: 1;
11149 unsigned SMT2PR21
: 1;
11150 unsigned SMT2PR22
: 1;
11151 unsigned SMT2PR23
: 1;
11154 extern __at(0x0DA9) volatile __SMT2PRUbits_t SMT2PRUbits
;
11156 #define _SMT2PR16 0x01
11157 #define _SMT2PR17 0x02
11158 #define _SMT2PR18 0x04
11159 #define _SMT2PR19 0x08
11160 #define _SMT2PR20 0x10
11161 #define _SMT2PR21 0x20
11162 #define _SMT2PR22 0x40
11163 #define _SMT2PR23 0x80
11165 //==============================================================================
11168 //==============================================================================
11171 extern __at(0x0DAA) __sfr SMT2CON0
;
11177 unsigned SMT2PS0
: 1;
11178 unsigned SMT2PS1
: 1;
11189 unsigned SMT2PS
: 2;
11192 } __SMT2CON0bits_t
;
11194 extern __at(0x0DAA) volatile __SMT2CON0bits_t SMT2CON0bits
;
11196 #define _SMT2CON0_SMT2PS0 0x01
11197 #define _SMT2CON0_SMT2PS1 0x02
11198 #define _SMT2CON0_CPOL 0x04
11199 #define _SMT2CON0_SPOL 0x08
11200 #define _SMT2CON0_WPOL 0x10
11201 #define _SMT2CON0_STP 0x20
11202 #define _SMT2CON0_EN 0x80
11204 //==============================================================================
11207 //==============================================================================
11210 extern __at(0x0DAB) __sfr SMT2CON1
;
11216 unsigned MODE0
: 1;
11217 unsigned MODE1
: 1;
11218 unsigned MODE2
: 1;
11219 unsigned MODE3
: 1;
11222 unsigned REPEAT
: 1;
11223 unsigned SMT2GO
: 1;
11228 unsigned SMT2MODE0
: 1;
11229 unsigned SMT2MODE1
: 1;
11230 unsigned SMT2MODE2
: 1;
11231 unsigned SMT2MODE3
: 1;
11234 unsigned SMT2REPEAT
: 1;
11240 unsigned SMT2MODE
: 4;
11249 } __SMT2CON1bits_t
;
11251 extern __at(0x0DAB) volatile __SMT2CON1bits_t SMT2CON1bits
;
11253 #define _SMT2CON1_MODE0 0x01
11254 #define _SMT2CON1_SMT2MODE0 0x01
11255 #define _SMT2CON1_MODE1 0x02
11256 #define _SMT2CON1_SMT2MODE1 0x02
11257 #define _SMT2CON1_MODE2 0x04
11258 #define _SMT2CON1_SMT2MODE2 0x04
11259 #define _SMT2CON1_MODE3 0x08
11260 #define _SMT2CON1_SMT2MODE3 0x08
11261 #define _SMT2CON1_REPEAT 0x40
11262 #define _SMT2CON1_SMT2REPEAT 0x40
11263 #define _SMT2CON1_SMT2GO 0x80
11265 //==============================================================================
11268 //==============================================================================
11271 extern __at(0x0DAC) __sfr SMT2STAT
;
11283 unsigned CPWUP
: 1;
11284 unsigned CPRUP
: 1;
11289 unsigned SMT2AS
: 1;
11290 unsigned SMT2WS
: 1;
11291 unsigned SMT2TS
: 1;
11294 unsigned SMT2RESET
: 1;
11295 unsigned SMT2CPWUP
: 1;
11296 unsigned SMT2CPRUP
: 1;
11298 } __SMT2STATbits_t
;
11300 extern __at(0x0DAC) volatile __SMT2STATbits_t SMT2STATbits
;
11302 #define _SMT2STAT_AS 0x01
11303 #define _SMT2STAT_SMT2AS 0x01
11304 #define _SMT2STAT_WS 0x02
11305 #define _SMT2STAT_SMT2WS 0x02
11306 #define _SMT2STAT_TS 0x04
11307 #define _SMT2STAT_SMT2TS 0x04
11308 #define _SMT2STAT_RST 0x20
11309 #define _SMT2STAT_SMT2RESET 0x20
11310 #define _SMT2STAT_CPWUP 0x40
11311 #define _SMT2STAT_SMT2CPWUP 0x40
11312 #define _SMT2STAT_CPRUP 0x80
11313 #define _SMT2STAT_SMT2CPRUP 0x80
11315 //==============================================================================
11318 //==============================================================================
11321 extern __at(0x0DAD) __sfr SMT2CLK
;
11327 unsigned CSEL0
: 1;
11328 unsigned CSEL1
: 1;
11329 unsigned CSEL2
: 1;
11339 unsigned SMT2CSEL0
: 1;
11340 unsigned SMT2CSEL1
: 1;
11341 unsigned SMT2CSEL2
: 1;
11357 unsigned SMT2CSEL
: 3;
11362 extern __at(0x0DAD) volatile __SMT2CLKbits_t SMT2CLKbits
;
11364 #define _SMT2CLK_CSEL0 0x01
11365 #define _SMT2CLK_SMT2CSEL0 0x01
11366 #define _SMT2CLK_CSEL1 0x02
11367 #define _SMT2CLK_SMT2CSEL1 0x02
11368 #define _SMT2CLK_CSEL2 0x04
11369 #define _SMT2CLK_SMT2CSEL2 0x04
11371 //==============================================================================
11374 //==============================================================================
11377 extern __at(0x0DAE) __sfr SMT2SIG
;
11383 unsigned SSEL0
: 1;
11384 unsigned SSEL1
: 1;
11385 unsigned SSEL2
: 1;
11386 unsigned SSEL3
: 1;
11387 unsigned SSEL4
: 1;
11395 unsigned SMT2SSEL0
: 1;
11396 unsigned SMT2SSEL1
: 1;
11397 unsigned SMT2SSEL2
: 1;
11398 unsigned SMT2SSEL3
: 1;
11399 unsigned SMT2SSEL4
: 1;
11413 unsigned SMT2SSEL
: 5;
11418 extern __at(0x0DAE) volatile __SMT2SIGbits_t SMT2SIGbits
;
11420 #define _SMT2SIG_SSEL0 0x01
11421 #define _SMT2SIG_SMT2SSEL0 0x01
11422 #define _SMT2SIG_SSEL1 0x02
11423 #define _SMT2SIG_SMT2SSEL1 0x02
11424 #define _SMT2SIG_SSEL2 0x04
11425 #define _SMT2SIG_SMT2SSEL2 0x04
11426 #define _SMT2SIG_SSEL3 0x08
11427 #define _SMT2SIG_SMT2SSEL3 0x08
11428 #define _SMT2SIG_SSEL4 0x10
11429 #define _SMT2SIG_SMT2SSEL4 0x10
11431 //==============================================================================
11434 //==============================================================================
11437 extern __at(0x0DAF) __sfr SMT2WIN
;
11443 unsigned WSEL0
: 1;
11444 unsigned WSEL1
: 1;
11445 unsigned WSEL2
: 1;
11446 unsigned WSEL3
: 1;
11447 unsigned WSEL4
: 1;
11455 unsigned SMT2WSEL0
: 1;
11456 unsigned SMT2WSEL1
: 1;
11457 unsigned SMT2WSEL2
: 1;
11458 unsigned SMT2WSEL3
: 1;
11459 unsigned SMT2WSEL4
: 1;
11473 unsigned SMT2WSEL
: 5;
11478 extern __at(0x0DAF) volatile __SMT2WINbits_t SMT2WINbits
;
11480 #define _SMT2WIN_WSEL0 0x01
11481 #define _SMT2WIN_SMT2WSEL0 0x01
11482 #define _SMT2WIN_WSEL1 0x02
11483 #define _SMT2WIN_SMT2WSEL1 0x02
11484 #define _SMT2WIN_WSEL2 0x04
11485 #define _SMT2WIN_SMT2WSEL2 0x04
11486 #define _SMT2WIN_WSEL3 0x08
11487 #define _SMT2WIN_SMT2WSEL3 0x08
11488 #define _SMT2WIN_WSEL4 0x10
11489 #define _SMT2WIN_SMT2WSEL4 0x10
11491 //==============================================================================
11494 //==============================================================================
11497 extern __at(0x0E0F) __sfr PPSLOCK
;
11501 unsigned PPSLOCKED
: 1;
11511 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits
;
11513 #define _PPSLOCKED 0x01
11515 //==============================================================================
11518 //==============================================================================
11521 extern __at(0x0E10) __sfr INTPPS
;
11527 unsigned INTPPS0
: 1;
11528 unsigned INTPPS1
: 1;
11529 unsigned INTPPS2
: 1;
11530 unsigned INTPPS3
: 1;
11531 unsigned INTPPS4
: 1;
11539 unsigned INTPPS
: 5;
11544 extern __at(0x0E10) volatile __INTPPSbits_t INTPPSbits
;
11546 #define _INTPPS0 0x01
11547 #define _INTPPS1 0x02
11548 #define _INTPPS2 0x04
11549 #define _INTPPS3 0x08
11550 #define _INTPPS4 0x10
11552 //==============================================================================
11555 //==============================================================================
11558 extern __at(0x0E11) __sfr T0CKIPPS
;
11564 unsigned T0CKIPPS0
: 1;
11565 unsigned T0CKIPPS1
: 1;
11566 unsigned T0CKIPPS2
: 1;
11567 unsigned T0CKIPPS3
: 1;
11568 unsigned T0CKIPPS4
: 1;
11576 unsigned T0CKIPPS
: 5;
11579 } __T0CKIPPSbits_t
;
11581 extern __at(0x0E11) volatile __T0CKIPPSbits_t T0CKIPPSbits
;
11583 #define _T0CKIPPS0 0x01
11584 #define _T0CKIPPS1 0x02
11585 #define _T0CKIPPS2 0x04
11586 #define _T0CKIPPS3 0x08
11587 #define _T0CKIPPS4 0x10
11589 //==============================================================================
11592 //==============================================================================
11595 extern __at(0x0E12) __sfr T1CKIPPS
;
11601 unsigned T1CKIPPS0
: 1;
11602 unsigned T1CKIPPS1
: 1;
11603 unsigned T1CKIPPS2
: 1;
11604 unsigned T1CKIPPS3
: 1;
11605 unsigned T1CKIPPS4
: 1;
11613 unsigned T1CKIPPS
: 5;
11616 } __T1CKIPPSbits_t
;
11618 extern __at(0x0E12) volatile __T1CKIPPSbits_t T1CKIPPSbits
;
11620 #define _T1CKIPPS0 0x01
11621 #define _T1CKIPPS1 0x02
11622 #define _T1CKIPPS2 0x04
11623 #define _T1CKIPPS3 0x08
11624 #define _T1CKIPPS4 0x10
11626 //==============================================================================
11629 //==============================================================================
11632 extern __at(0x0E13) __sfr T1GPPS
;
11638 unsigned T1GPPS0
: 1;
11639 unsigned T1GPPS1
: 1;
11640 unsigned T1GPPS2
: 1;
11641 unsigned T1GPPS3
: 1;
11642 unsigned T1GPPS4
: 1;
11650 unsigned T1GPPS
: 5;
11655 extern __at(0x0E13) volatile __T1GPPSbits_t T1GPPSbits
;
11657 #define _T1GPPS0 0x01
11658 #define _T1GPPS1 0x02
11659 #define _T1GPPS2 0x04
11660 #define _T1GPPS3 0x08
11661 #define _T1GPPS4 0x10
11663 //==============================================================================
11666 //==============================================================================
11669 extern __at(0x0E14) __sfr CCP1PPS
;
11675 unsigned CCP1PPS0
: 1;
11676 unsigned CCP1PPS1
: 1;
11677 unsigned CCP1PPS2
: 1;
11678 unsigned CCP1PPS3
: 1;
11679 unsigned CCP1PPS4
: 1;
11687 unsigned CCP1PPS
: 5;
11692 extern __at(0x0E14) volatile __CCP1PPSbits_t CCP1PPSbits
;
11694 #define _CCP1PPS0 0x01
11695 #define _CCP1PPS1 0x02
11696 #define _CCP1PPS2 0x04
11697 #define _CCP1PPS3 0x08
11698 #define _CCP1PPS4 0x10
11700 //==============================================================================
11703 //==============================================================================
11706 extern __at(0x0E15) __sfr CCP2PPS
;
11712 unsigned CCP2PPS0
: 1;
11713 unsigned CCP2PPS1
: 1;
11714 unsigned CCP2PPS2
: 1;
11715 unsigned CCP2PPS3
: 1;
11716 unsigned CCP2PPS4
: 1;
11724 unsigned CCP2PPS
: 5;
11729 extern __at(0x0E15) volatile __CCP2PPSbits_t CCP2PPSbits
;
11731 #define _CCP2PPS0 0x01
11732 #define _CCP2PPS1 0x02
11733 #define _CCP2PPS2 0x04
11734 #define _CCP2PPS3 0x08
11735 #define _CCP2PPS4 0x10
11737 //==============================================================================
11740 //==============================================================================
11743 extern __at(0x0E16) __sfr ATINPPS
;
11749 unsigned ATINPPS0
: 1;
11750 unsigned ATINPPS1
: 1;
11751 unsigned ATINPPS2
: 1;
11752 unsigned ATINPPS3
: 1;
11753 unsigned ATINPPS4
: 1;
11761 unsigned ATINPPS
: 5;
11766 extern __at(0x0E16) volatile __ATINPPSbits_t ATINPPSbits
;
11768 #define _ATINPPS0 0x01
11769 #define _ATINPPS1 0x02
11770 #define _ATINPPS2 0x04
11771 #define _ATINPPS3 0x08
11772 #define _ATINPPS4 0x10
11774 //==============================================================================
11777 //==============================================================================
11780 extern __at(0x0E17) __sfr CWGINPPS
;
11786 unsigned CWGINPPS0
: 1;
11787 unsigned CWGINPPS1
: 1;
11788 unsigned CWGINPPS2
: 1;
11789 unsigned CWGINPPS3
: 1;
11790 unsigned CWGINPPS4
: 1;
11798 unsigned CWGINPPS
: 5;
11801 } __CWGINPPSbits_t
;
11803 extern __at(0x0E17) volatile __CWGINPPSbits_t CWGINPPSbits
;
11805 #define _CWGINPPS0 0x01
11806 #define _CWGINPPS1 0x02
11807 #define _CWGINPPS2 0x04
11808 #define _CWGINPPS3 0x08
11809 #define _CWGINPPS4 0x10
11811 //==============================================================================
11814 //==============================================================================
11817 extern __at(0x0E18) __sfr T2PPS
;
11823 unsigned T2PPS0
: 1;
11824 unsigned T2PPS1
: 1;
11825 unsigned T2PPS2
: 1;
11826 unsigned T2PPS3
: 1;
11827 unsigned T2PPS4
: 1;
11835 unsigned T2PPS
: 5;
11840 extern __at(0x0E18) volatile __T2PPSbits_t T2PPSbits
;
11842 #define _T2PPS0 0x01
11843 #define _T2PPS1 0x02
11844 #define _T2PPS2 0x04
11845 #define _T2PPS3 0x08
11846 #define _T2PPS4 0x10
11848 //==============================================================================
11851 //==============================================================================
11854 extern __at(0x0E19) __sfr T3CKIPPS
;
11860 unsigned T3CKIPPS0
: 1;
11861 unsigned T3CKIPPS1
: 1;
11862 unsigned T3CKIPPS2
: 1;
11863 unsigned T3CKIPPS3
: 1;
11864 unsigned T3CKIPPS4
: 1;
11872 unsigned T3CKIPPS
: 5;
11875 } __T3CKIPPSbits_t
;
11877 extern __at(0x0E19) volatile __T3CKIPPSbits_t T3CKIPPSbits
;
11879 #define _T3CKIPPS0 0x01
11880 #define _T3CKIPPS1 0x02
11881 #define _T3CKIPPS2 0x04
11882 #define _T3CKIPPS3 0x08
11883 #define _T3CKIPPS4 0x10
11885 //==============================================================================
11888 //==============================================================================
11891 extern __at(0x0E1A) __sfr T3GPPS
;
11897 unsigned T3GPPS0
: 1;
11898 unsigned T3GPPS1
: 1;
11899 unsigned T3GPPS2
: 1;
11900 unsigned T3GPPS3
: 1;
11901 unsigned T3GPPS4
: 1;
11909 unsigned T3GPPS
: 5;
11914 extern __at(0x0E1A) volatile __T3GPPSbits_t T3GPPSbits
;
11916 #define _T3GPPS0 0x01
11917 #define _T3GPPS1 0x02
11918 #define _T3GPPS2 0x04
11919 #define _T3GPPS3 0x08
11920 #define _T3GPPS4 0x10
11922 //==============================================================================
11925 //==============================================================================
11928 extern __at(0x0E1B) __sfr T4PPS
;
11934 unsigned T4PPS0
: 1;
11935 unsigned T4PPS1
: 1;
11936 unsigned T4PPS2
: 1;
11937 unsigned T4PPS3
: 1;
11938 unsigned T4PPS4
: 1;
11946 unsigned T4PPS
: 5;
11951 extern __at(0x0E1B) volatile __T4PPSbits_t T4PPSbits
;
11953 #define _T4PPS0 0x01
11954 #define _T4PPS1 0x02
11955 #define _T4PPS2 0x04
11956 #define _T4PPS3 0x08
11957 #define _T4PPS4 0x10
11959 //==============================================================================
11962 //==============================================================================
11965 extern __at(0x0E1C) __sfr T5CKIPPS
;
11971 unsigned T5CKIPPS0
: 1;
11972 unsigned T5CKIPPS1
: 1;
11973 unsigned T5CKIPPS2
: 1;
11974 unsigned T5CKIPPS3
: 1;
11975 unsigned T5CKIPPS4
: 1;
11983 unsigned T5CKIPPS
: 5;
11986 } __T5CKIPPSbits_t
;
11988 extern __at(0x0E1C) volatile __T5CKIPPSbits_t T5CKIPPSbits
;
11990 #define _T5CKIPPS0 0x01
11991 #define _T5CKIPPS1 0x02
11992 #define _T5CKIPPS2 0x04
11993 #define _T5CKIPPS3 0x08
11994 #define _T5CKIPPS4 0x10
11996 //==============================================================================
11999 //==============================================================================
12002 extern __at(0x0E1D) __sfr T5GPPS
;
12008 unsigned T5GPPS0
: 1;
12009 unsigned T5GPPS1
: 1;
12010 unsigned T5GPPS2
: 1;
12011 unsigned T5GPPS3
: 1;
12012 unsigned T5GPPS4
: 1;
12020 unsigned T5GPPS
: 5;
12025 extern __at(0x0E1D) volatile __T5GPPSbits_t T5GPPSbits
;
12027 #define _T5GPPS0 0x01
12028 #define _T5GPPS1 0x02
12029 #define _T5GPPS2 0x04
12030 #define _T5GPPS3 0x08
12031 #define _T5GPPS4 0x10
12033 //==============================================================================
12036 //==============================================================================
12039 extern __at(0x0E1E) __sfr T6PPS
;
12045 unsigned T6PPS0
: 1;
12046 unsigned T6PPS1
: 1;
12047 unsigned T6PPS2
: 1;
12048 unsigned T6PPS3
: 1;
12049 unsigned T6PPS4
: 1;
12057 unsigned T6PPS
: 5;
12062 extern __at(0x0E1E) volatile __T6PPSbits_t T6PPSbits
;
12064 #define _T6PPS0 0x01
12065 #define _T6PPS1 0x02
12066 #define _T6PPS2 0x04
12067 #define _T6PPS3 0x08
12068 #define _T6PPS4 0x10
12070 //==============================================================================
12073 //==============================================================================
12076 extern __at(0x0E1F) __sfr ATCC1PPS
;
12082 unsigned ATCC1PPS0
: 1;
12083 unsigned ATCC1PPS1
: 1;
12084 unsigned ATCC1PPS2
: 1;
12085 unsigned ATCC1PPS3
: 1;
12086 unsigned ATCC1PPS4
: 1;
12094 unsigned ATCC1PPS
: 5;
12097 } __ATCC1PPSbits_t
;
12099 extern __at(0x0E1F) volatile __ATCC1PPSbits_t ATCC1PPSbits
;
12101 #define _ATCC1PPS0 0x01
12102 #define _ATCC1PPS1 0x02
12103 #define _ATCC1PPS2 0x04
12104 #define _ATCC1PPS3 0x08
12105 #define _ATCC1PPS4 0x10
12107 //==============================================================================
12110 //==============================================================================
12113 extern __at(0x0E20) __sfr SSPCLKPPS
;
12119 unsigned SSPCLKPPS0
: 1;
12120 unsigned SSPCLKPPS1
: 1;
12121 unsigned SSPCLKPPS2
: 1;
12122 unsigned SSPCLKPPS3
: 1;
12123 unsigned SSPCLKPPS4
: 1;
12131 unsigned SSPCLKPPS
: 5;
12134 } __SSPCLKPPSbits_t
;
12136 extern __at(0x0E20) volatile __SSPCLKPPSbits_t SSPCLKPPSbits
;
12138 #define _SSPCLKPPS0 0x01
12139 #define _SSPCLKPPS1 0x02
12140 #define _SSPCLKPPS2 0x04
12141 #define _SSPCLKPPS3 0x08
12142 #define _SSPCLKPPS4 0x10
12144 //==============================================================================
12147 //==============================================================================
12150 extern __at(0x0E21) __sfr SSPDATPPS
;
12156 unsigned SSPDATPPS0
: 1;
12157 unsigned SSPDATPPS1
: 1;
12158 unsigned SSPDATPPS2
: 1;
12159 unsigned SSPDATPPS3
: 1;
12160 unsigned SSPDATPPS4
: 1;
12168 unsigned SSPDATPPS
: 5;
12171 } __SSPDATPPSbits_t
;
12173 extern __at(0x0E21) volatile __SSPDATPPSbits_t SSPDATPPSbits
;
12175 #define _SSPDATPPS0 0x01
12176 #define _SSPDATPPS1 0x02
12177 #define _SSPDATPPS2 0x04
12178 #define _SSPDATPPS3 0x08
12179 #define _SSPDATPPS4 0x10
12181 //==============================================================================
12184 //==============================================================================
12187 extern __at(0x0E22) __sfr SSPSSPPS
;
12193 unsigned SSPSSPPS0
: 1;
12194 unsigned SSPSSPPS1
: 1;
12195 unsigned SSPSSPPS2
: 1;
12196 unsigned SSPSSPPS3
: 1;
12197 unsigned SSPSSPPS4
: 1;
12205 unsigned SSPSSPPS
: 5;
12208 } __SSPSSPPSbits_t
;
12210 extern __at(0x0E22) volatile __SSPSSPPSbits_t SSPSSPPSbits
;
12212 #define _SSPSSPPS0 0x01
12213 #define _SSPSSPPS1 0x02
12214 #define _SSPSSPPS2 0x04
12215 #define _SSPSSPPS3 0x08
12216 #define _SSPSSPPS4 0x10
12218 //==============================================================================
12221 //==============================================================================
12224 extern __at(0x0E23) __sfr ATCC2PPS
;
12230 unsigned ATCC2PPS0
: 1;
12231 unsigned ATCC2PPS1
: 1;
12232 unsigned ATCC2PPS2
: 1;
12233 unsigned ATCC2PPS3
: 1;
12234 unsigned ATCC2PPS4
: 1;
12242 unsigned ATCC2PPS
: 5;
12245 } __ATCC2PPSbits_t
;
12247 extern __at(0x0E23) volatile __ATCC2PPSbits_t ATCC2PPSbits
;
12249 #define _ATCC2PPS0 0x01
12250 #define _ATCC2PPS1 0x02
12251 #define _ATCC2PPS2 0x04
12252 #define _ATCC2PPS3 0x08
12253 #define _ATCC2PPS4 0x10
12255 //==============================================================================
12258 //==============================================================================
12261 extern __at(0x0E24) __sfr RXPPS
;
12267 unsigned RXPPS0
: 1;
12268 unsigned RXPPS1
: 1;
12269 unsigned RXPPS2
: 1;
12270 unsigned RXPPS3
: 1;
12271 unsigned RXPPS4
: 1;
12279 unsigned RXPPS
: 5;
12284 extern __at(0x0E24) volatile __RXPPSbits_t RXPPSbits
;
12286 #define _RXPPS0 0x01
12287 #define _RXPPS1 0x02
12288 #define _RXPPS2 0x04
12289 #define _RXPPS3 0x08
12290 #define _RXPPS4 0x10
12292 //==============================================================================
12295 //==============================================================================
12298 extern __at(0x0E25) __sfr CKPPS
;
12304 unsigned CKPPS0
: 1;
12305 unsigned CKPPS1
: 1;
12306 unsigned CKPPS2
: 1;
12307 unsigned CKPPS3
: 1;
12308 unsigned CKPPS4
: 1;
12316 unsigned CKPPS
: 5;
12321 extern __at(0x0E25) volatile __CKPPSbits_t CKPPSbits
;
12323 #define _CKPPS0 0x01
12324 #define _CKPPS1 0x02
12325 #define _CKPPS2 0x04
12326 #define _CKPPS3 0x08
12327 #define _CKPPS4 0x10
12329 //==============================================================================
12332 //==============================================================================
12335 extern __at(0x0E26) __sfr SMT1SIGPPS
;
12341 unsigned SMT1SIGPPS0
: 1;
12342 unsigned SMT1SIGPPS1
: 1;
12343 unsigned SMT1SIGPPS2
: 1;
12344 unsigned SMT1SIGPPS3
: 1;
12345 unsigned SMT1SIGPPS4
: 1;
12353 unsigned SMT1SIGPPS
: 5;
12356 } __SMT1SIGPPSbits_t
;
12358 extern __at(0x0E26) volatile __SMT1SIGPPSbits_t SMT1SIGPPSbits
;
12360 #define _SMT1SIGPPS0 0x01
12361 #define _SMT1SIGPPS1 0x02
12362 #define _SMT1SIGPPS2 0x04
12363 #define _SMT1SIGPPS3 0x08
12364 #define _SMT1SIGPPS4 0x10
12366 //==============================================================================
12369 //==============================================================================
12372 extern __at(0x0E27) __sfr SMT1WINPPS
;
12378 unsigned SMTWINPPS0
: 1;
12379 unsigned SMTWINPPS1
: 1;
12380 unsigned SMTWINPPS2
: 1;
12381 unsigned SMTWINPPS3
: 1;
12382 unsigned SMTWINPPS4
: 1;
12390 unsigned SMTWINPPS
: 5;
12393 } __SMT1WINPPSbits_t
;
12395 extern __at(0x0E27) volatile __SMT1WINPPSbits_t SMT1WINPPSbits
;
12397 #define _SMTWINPPS0 0x01
12398 #define _SMTWINPPS1 0x02
12399 #define _SMTWINPPS2 0x04
12400 #define _SMTWINPPS3 0x08
12401 #define _SMTWINPPS4 0x10
12403 //==============================================================================
12406 //==============================================================================
12409 extern __at(0x0E28) __sfr CLCIN0PPS
;
12415 unsigned CLCIN0PPS0
: 1;
12416 unsigned CLCIN0PPS1
: 1;
12417 unsigned CLCIN0PPS2
: 1;
12418 unsigned CLCIN0PPS3
: 1;
12419 unsigned CLCIN0PPS4
: 1;
12427 unsigned CLCIN0PPS
: 5;
12430 } __CLCIN0PPSbits_t
;
12432 extern __at(0x0E28) volatile __CLCIN0PPSbits_t CLCIN0PPSbits
;
12434 #define _CLCIN0PPS0 0x01
12435 #define _CLCIN0PPS1 0x02
12436 #define _CLCIN0PPS2 0x04
12437 #define _CLCIN0PPS3 0x08
12438 #define _CLCIN0PPS4 0x10
12440 //==============================================================================
12443 //==============================================================================
12446 extern __at(0x0E29) __sfr CLCIN1PPS
;
12452 unsigned CLCIN1PPS0
: 1;
12453 unsigned CLCIN1PPS1
: 1;
12454 unsigned CLCIN1PPS2
: 1;
12455 unsigned CLCIN1PPS3
: 1;
12456 unsigned CLCIN1PPS4
: 1;
12464 unsigned CLCIN1PPS
: 5;
12467 } __CLCIN1PPSbits_t
;
12469 extern __at(0x0E29) volatile __CLCIN1PPSbits_t CLCIN1PPSbits
;
12471 #define _CLCIN1PPS0 0x01
12472 #define _CLCIN1PPS1 0x02
12473 #define _CLCIN1PPS2 0x04
12474 #define _CLCIN1PPS3 0x08
12475 #define _CLCIN1PPS4 0x10
12477 //==============================================================================
12480 //==============================================================================
12483 extern __at(0x0E2A) __sfr CLCIN2PPS
;
12489 unsigned CLCIN2PPS0
: 1;
12490 unsigned CLCIN2PPS1
: 1;
12491 unsigned CLCIN2PPS2
: 1;
12492 unsigned CLCIN2PPS3
: 1;
12493 unsigned CLCIN2PPS4
: 1;
12501 unsigned CLCIN2PPS
: 5;
12504 } __CLCIN2PPSbits_t
;
12506 extern __at(0x0E2A) volatile __CLCIN2PPSbits_t CLCIN2PPSbits
;
12508 #define _CLCIN2PPS0 0x01
12509 #define _CLCIN2PPS1 0x02
12510 #define _CLCIN2PPS2 0x04
12511 #define _CLCIN2PPS3 0x08
12512 #define _CLCIN2PPS4 0x10
12514 //==============================================================================
12517 //==============================================================================
12520 extern __at(0x0E2B) __sfr CLCIN3PPS
;
12526 unsigned CLCIN3PPS0
: 1;
12527 unsigned CLCIN3PPS1
: 1;
12528 unsigned CLCIN3PPS2
: 1;
12529 unsigned CLCIN3PPS3
: 1;
12530 unsigned CLCIN3PPS4
: 1;
12538 unsigned CLCIN3PPS
: 5;
12541 } __CLCIN3PPSbits_t
;
12543 extern __at(0x0E2B) volatile __CLCIN3PPSbits_t CLCIN3PPSbits
;
12545 #define _CLCIN3PPS0 0x01
12546 #define _CLCIN3PPS1 0x02
12547 #define _CLCIN3PPS2 0x04
12548 #define _CLCIN3PPS3 0x08
12549 #define _CLCIN3PPS4 0x10
12551 //==============================================================================
12554 //==============================================================================
12557 extern __at(0x0E2C) __sfr SMT2SIGPPS
;
12563 unsigned SMT2SIGPPS0
: 1;
12564 unsigned SMT2SIGPPS1
: 1;
12565 unsigned SMT2SIGPPS2
: 1;
12566 unsigned SMT2SIGPPS3
: 1;
12567 unsigned SMT2SIGPPS4
: 1;
12575 unsigned SMT2SIGPPS
: 5;
12578 } __SMT2SIGPPSbits_t
;
12580 extern __at(0x0E2C) volatile __SMT2SIGPPSbits_t SMT2SIGPPSbits
;
12582 #define _SMT2SIGPPS0 0x01
12583 #define _SMT2SIGPPS1 0x02
12584 #define _SMT2SIGPPS2 0x04
12585 #define _SMT2SIGPPS3 0x08
12586 #define _SMT2SIGPPS4 0x10
12588 //==============================================================================
12591 //==============================================================================
12594 extern __at(0x0E2D) __sfr SMT2WINPPS
;
12600 unsigned SMT2WINPPS0
: 1;
12601 unsigned SMT2WINPPS1
: 1;
12602 unsigned SMT2WINPPS2
: 1;
12603 unsigned SMT2WINPPS3
: 1;
12604 unsigned SMT2WINPPS4
: 1;
12612 unsigned SMT2WINPPS
: 5;
12615 } __SMT2WINPPSbits_t
;
12617 extern __at(0x0E2D) volatile __SMT2WINPPSbits_t SMT2WINPPSbits
;
12619 #define _SMT2WINPPS0 0x01
12620 #define _SMT2WINPPS1 0x02
12621 #define _SMT2WINPPS2 0x04
12622 #define _SMT2WINPPS3 0x08
12623 #define _SMT2WINPPS4 0x10
12625 //==============================================================================
12628 //==============================================================================
12631 extern __at(0x0E2E) __sfr ATCC3PPS
;
12637 unsigned ATCC3PPS0
: 1;
12638 unsigned ATCC3PPS1
: 1;
12639 unsigned ATCC3PPS2
: 1;
12640 unsigned ATCC3PPS3
: 1;
12641 unsigned ATCC3PPS4
: 1;
12649 unsigned ATCC3PPS
: 5;
12652 } __ATCC3PPSbits_t
;
12654 extern __at(0x0E2E) volatile __ATCC3PPSbits_t ATCC3PPSbits
;
12656 #define _ATCC3PPS0 0x01
12657 #define _ATCC3PPS1 0x02
12658 #define _ATCC3PPS2 0x04
12659 #define _ATCC3PPS3 0x08
12660 #define _ATCC3PPS4 0x10
12662 //==============================================================================
12665 //==============================================================================
12668 extern __at(0x0E90) __sfr RA0PPS
;
12674 unsigned RA0PPS0
: 1;
12675 unsigned RA0PPS1
: 1;
12676 unsigned RA0PPS2
: 1;
12677 unsigned RA0PPS3
: 1;
12678 unsigned RA0PPS4
: 1;
12686 unsigned RA0PPS
: 5;
12691 extern __at(0x0E90) volatile __RA0PPSbits_t RA0PPSbits
;
12693 #define _RA0PPS0 0x01
12694 #define _RA0PPS1 0x02
12695 #define _RA0PPS2 0x04
12696 #define _RA0PPS3 0x08
12697 #define _RA0PPS4 0x10
12699 //==============================================================================
12702 //==============================================================================
12705 extern __at(0x0E91) __sfr RA1PPS
;
12711 unsigned RA1PPS0
: 1;
12712 unsigned RA1PPS1
: 1;
12713 unsigned RA1PPS2
: 1;
12714 unsigned RA1PPS3
: 1;
12715 unsigned RA1PPS4
: 1;
12723 unsigned RA1PPS
: 5;
12728 extern __at(0x0E91) volatile __RA1PPSbits_t RA1PPSbits
;
12730 #define _RA1PPS0 0x01
12731 #define _RA1PPS1 0x02
12732 #define _RA1PPS2 0x04
12733 #define _RA1PPS3 0x08
12734 #define _RA1PPS4 0x10
12736 //==============================================================================
12739 //==============================================================================
12742 extern __at(0x0E92) __sfr RA2PPS
;
12748 unsigned RA2PPS0
: 1;
12749 unsigned RA2PPS1
: 1;
12750 unsigned RA2PPS2
: 1;
12751 unsigned RA2PPS3
: 1;
12752 unsigned RA2PPS4
: 1;
12760 unsigned RA2PPS
: 5;
12765 extern __at(0x0E92) volatile __RA2PPSbits_t RA2PPSbits
;
12767 #define _RA2PPS0 0x01
12768 #define _RA2PPS1 0x02
12769 #define _RA2PPS2 0x04
12770 #define _RA2PPS3 0x08
12771 #define _RA2PPS4 0x10
12773 //==============================================================================
12776 //==============================================================================
12779 extern __at(0x0E94) __sfr RA4PPS
;
12785 unsigned RA4PPS0
: 1;
12786 unsigned RA4PPS1
: 1;
12787 unsigned RA4PPS2
: 1;
12788 unsigned RA4PPS3
: 1;
12789 unsigned RA4PPS4
: 1;
12797 unsigned RA4PPS
: 5;
12802 extern __at(0x0E94) volatile __RA4PPSbits_t RA4PPSbits
;
12804 #define _RA4PPS0 0x01
12805 #define _RA4PPS1 0x02
12806 #define _RA4PPS2 0x04
12807 #define _RA4PPS3 0x08
12808 #define _RA4PPS4 0x10
12810 //==============================================================================
12813 //==============================================================================
12816 extern __at(0x0E95) __sfr RA5PPS
;
12822 unsigned RA5PPS0
: 1;
12823 unsigned RA5PPS1
: 1;
12824 unsigned RA5PPS2
: 1;
12825 unsigned RA5PPS3
: 1;
12826 unsigned RA5PPS4
: 1;
12834 unsigned RA5PPS
: 5;
12839 extern __at(0x0E95) volatile __RA5PPSbits_t RA5PPSbits
;
12841 #define _RA5PPS0 0x01
12842 #define _RA5PPS1 0x02
12843 #define _RA5PPS2 0x04
12844 #define _RA5PPS3 0x08
12845 #define _RA5PPS4 0x10
12847 //==============================================================================
12850 //==============================================================================
12853 extern __at(0x0EA0) __sfr RC0PPS
;
12859 unsigned RC0PPS0
: 1;
12860 unsigned RC0PPS1
: 1;
12861 unsigned RC0PPS2
: 1;
12862 unsigned RC0PPS3
: 1;
12863 unsigned RC0PPS4
: 1;
12871 unsigned RC0PPS
: 5;
12876 extern __at(0x0EA0) volatile __RC0PPSbits_t RC0PPSbits
;
12878 #define _RC0PPS0 0x01
12879 #define _RC0PPS1 0x02
12880 #define _RC0PPS2 0x04
12881 #define _RC0PPS3 0x08
12882 #define _RC0PPS4 0x10
12884 //==============================================================================
12887 //==============================================================================
12890 extern __at(0x0EA1) __sfr RC1PPS
;
12896 unsigned RC1PPS0
: 1;
12897 unsigned RC1PPS1
: 1;
12898 unsigned RC1PPS2
: 1;
12899 unsigned RC1PPS3
: 1;
12900 unsigned RC1PPS4
: 1;
12908 unsigned RC1PPS
: 5;
12913 extern __at(0x0EA1) volatile __RC1PPSbits_t RC1PPSbits
;
12915 #define _RC1PPS0 0x01
12916 #define _RC1PPS1 0x02
12917 #define _RC1PPS2 0x04
12918 #define _RC1PPS3 0x08
12919 #define _RC1PPS4 0x10
12921 //==============================================================================
12924 //==============================================================================
12927 extern __at(0x0EA2) __sfr RC2PPS
;
12933 unsigned RC2PPS0
: 1;
12934 unsigned RC2PPS1
: 1;
12935 unsigned RC2PPS2
: 1;
12936 unsigned RC2PPS3
: 1;
12937 unsigned RC2PPS4
: 1;
12945 unsigned RC2PPS
: 5;
12950 extern __at(0x0EA2) volatile __RC2PPSbits_t RC2PPSbits
;
12952 #define _RC2PPS0 0x01
12953 #define _RC2PPS1 0x02
12954 #define _RC2PPS2 0x04
12955 #define _RC2PPS3 0x08
12956 #define _RC2PPS4 0x10
12958 //==============================================================================
12961 //==============================================================================
12964 extern __at(0x0EA3) __sfr RC3PPS
;
12970 unsigned RC3PPS0
: 1;
12971 unsigned RC3PPS1
: 1;
12972 unsigned RC3PPS2
: 1;
12973 unsigned RC3PPS3
: 1;
12974 unsigned RC3PPS4
: 1;
12982 unsigned RC3PPS
: 5;
12987 extern __at(0x0EA3) volatile __RC3PPSbits_t RC3PPSbits
;
12989 #define _RC3PPS0 0x01
12990 #define _RC3PPS1 0x02
12991 #define _RC3PPS2 0x04
12992 #define _RC3PPS3 0x08
12993 #define _RC3PPS4 0x10
12995 //==============================================================================
12998 //==============================================================================
13001 extern __at(0x0EA4) __sfr RC4PPS
;
13007 unsigned RC4PPS0
: 1;
13008 unsigned RC4PPS1
: 1;
13009 unsigned RC4PPS2
: 1;
13010 unsigned RC4PPS3
: 1;
13011 unsigned RC4PPS4
: 1;
13019 unsigned RC4PPS
: 5;
13024 extern __at(0x0EA4) volatile __RC4PPSbits_t RC4PPSbits
;
13026 #define _RC4PPS0 0x01
13027 #define _RC4PPS1 0x02
13028 #define _RC4PPS2 0x04
13029 #define _RC4PPS3 0x08
13030 #define _RC4PPS4 0x10
13032 //==============================================================================
13035 //==============================================================================
13038 extern __at(0x0EA5) __sfr RC5PPS
;
13044 unsigned RC5PPS0
: 1;
13045 unsigned RC5PPS1
: 1;
13046 unsigned RC5PPS2
: 1;
13047 unsigned RC5PPS3
: 1;
13048 unsigned RC5PPS4
: 1;
13056 unsigned RC5PPS
: 5;
13061 extern __at(0x0EA5) volatile __RC5PPSbits_t RC5PPSbits
;
13063 #define _RC5PPS0 0x01
13064 #define _RC5PPS1 0x02
13065 #define _RC5PPS2 0x04
13066 #define _RC5PPS3 0x08
13067 #define _RC5PPS4 0x10
13069 //==============================================================================
13072 //==============================================================================
13075 extern __at(0x0F0F) __sfr CLCDATA
;
13079 unsigned MLC1OUT
: 1;
13080 unsigned MLC2OUT
: 1;
13081 unsigned MLC3OUT
: 1;
13082 unsigned MLC4OUT
: 1;
13089 extern __at(0x0F0F) volatile __CLCDATAbits_t CLCDATAbits
;
13091 #define _MLC1OUT 0x01
13092 #define _MLC2OUT 0x02
13093 #define _MLC3OUT 0x04
13094 #define _MLC4OUT 0x08
13096 //==============================================================================
13099 //==============================================================================
13102 extern __at(0x0F10) __sfr CLC1CON
;
13108 unsigned LC1MODE0
: 1;
13109 unsigned LC1MODE1
: 1;
13110 unsigned LC1MODE2
: 1;
13111 unsigned LC1INTN
: 1;
13112 unsigned LC1INTP
: 1;
13113 unsigned LC1OUT
: 1;
13115 unsigned LC1EN
: 1;
13120 unsigned MODE0
: 1;
13121 unsigned MODE1
: 1;
13122 unsigned MODE2
: 1;
13138 unsigned LC1MODE
: 3;
13143 extern __at(0x0F10) volatile __CLC1CONbits_t CLC1CONbits
;
13145 #define _CLC1CON_LC1MODE0 0x01
13146 #define _CLC1CON_MODE0 0x01
13147 #define _CLC1CON_LC1MODE1 0x02
13148 #define _CLC1CON_MODE1 0x02
13149 #define _CLC1CON_LC1MODE2 0x04
13150 #define _CLC1CON_MODE2 0x04
13151 #define _CLC1CON_LC1INTN 0x08
13152 #define _CLC1CON_INTN 0x08
13153 #define _CLC1CON_LC1INTP 0x10
13154 #define _CLC1CON_INTP 0x10
13155 #define _CLC1CON_LC1OUT 0x20
13156 #define _CLC1CON_OUT 0x20
13157 #define _CLC1CON_LC1EN 0x80
13158 #define _CLC1CON_EN 0x80
13160 //==============================================================================
13163 //==============================================================================
13166 extern __at(0x0F11) __sfr CLC1POL
;
13172 unsigned LC1G1POL
: 1;
13173 unsigned LC1G2POL
: 1;
13174 unsigned LC1G3POL
: 1;
13175 unsigned LC1G4POL
: 1;
13179 unsigned LC1POL
: 1;
13184 unsigned G1POL
: 1;
13185 unsigned G2POL
: 1;
13186 unsigned G3POL
: 1;
13187 unsigned G4POL
: 1;
13195 extern __at(0x0F11) volatile __CLC1POLbits_t CLC1POLbits
;
13197 #define _CLC1POL_LC1G1POL 0x01
13198 #define _CLC1POL_G1POL 0x01
13199 #define _CLC1POL_LC1G2POL 0x02
13200 #define _CLC1POL_G2POL 0x02
13201 #define _CLC1POL_LC1G3POL 0x04
13202 #define _CLC1POL_G3POL 0x04
13203 #define _CLC1POL_LC1G4POL 0x08
13204 #define _CLC1POL_G4POL 0x08
13205 #define _CLC1POL_LC1POL 0x80
13206 #define _CLC1POL_POL 0x80
13208 //==============================================================================
13211 //==============================================================================
13214 extern __at(0x0F12) __sfr CLC1SEL0
;
13220 unsigned LC1D1S0
: 1;
13221 unsigned LC1D1S1
: 1;
13222 unsigned LC1D1S2
: 1;
13223 unsigned LC1D1S3
: 1;
13224 unsigned LC1D1S4
: 1;
13225 unsigned LC1D1S5
: 1;
13244 unsigned LC1D1S
: 6;
13253 } __CLC1SEL0bits_t
;
13255 extern __at(0x0F12) volatile __CLC1SEL0bits_t CLC1SEL0bits
;
13257 #define _LC1D1S0 0x01
13259 #define _LC1D1S1 0x02
13261 #define _LC1D1S2 0x04
13263 #define _LC1D1S3 0x08
13265 #define _LC1D1S4 0x10
13267 #define _LC1D1S5 0x20
13270 //==============================================================================
13273 //==============================================================================
13276 extern __at(0x0F13) __sfr CLC1SEL1
;
13282 unsigned LC1D2S0
: 1;
13283 unsigned LC1D2S1
: 1;
13284 unsigned LC1D2S2
: 1;
13285 unsigned LC1D2S3
: 1;
13286 unsigned LC1D2S4
: 1;
13287 unsigned LC1D2S5
: 1;
13312 unsigned LC1D2S
: 6;
13315 } __CLC1SEL1bits_t
;
13317 extern __at(0x0F13) volatile __CLC1SEL1bits_t CLC1SEL1bits
;
13319 #define _LC1D2S0 0x01
13321 #define _LC1D2S1 0x02
13323 #define _LC1D2S2 0x04
13325 #define _LC1D2S3 0x08
13327 #define _LC1D2S4 0x10
13329 #define _LC1D2S5 0x20
13332 //==============================================================================
13335 //==============================================================================
13338 extern __at(0x0F14) __sfr CLC1SEL2
;
13344 unsigned LC1D3S0
: 1;
13345 unsigned LC1D3S1
: 1;
13346 unsigned LC1D3S2
: 1;
13347 unsigned LC1D3S3
: 1;
13348 unsigned LC1D3S4
: 1;
13349 unsigned LC1D3S5
: 1;
13368 unsigned LC1D3S
: 6;
13377 } __CLC1SEL2bits_t
;
13379 extern __at(0x0F14) volatile __CLC1SEL2bits_t CLC1SEL2bits
;
13381 #define _LC1D3S0 0x01
13383 #define _LC1D3S1 0x02
13385 #define _LC1D3S2 0x04
13387 #define _LC1D3S3 0x08
13389 #define _LC1D3S4 0x10
13391 #define _LC1D3S5 0x20
13394 //==============================================================================
13397 //==============================================================================
13400 extern __at(0x0F15) __sfr CLC1SEL3
;
13406 unsigned LC1D4S0
: 1;
13407 unsigned LC1D4S1
: 1;
13408 unsigned LC1D4S2
: 1;
13409 unsigned LC1D4S3
: 1;
13410 unsigned LC1D4S4
: 1;
13411 unsigned LC1D4S5
: 1;
13436 unsigned LC1D4S
: 6;
13439 } __CLC1SEL3bits_t
;
13441 extern __at(0x0F15) volatile __CLC1SEL3bits_t CLC1SEL3bits
;
13443 #define _LC1D4S0 0x01
13445 #define _LC1D4S1 0x02
13447 #define _LC1D4S2 0x04
13449 #define _LC1D4S3 0x08
13451 #define _LC1D4S4 0x10
13453 #define _LC1D4S5 0x20
13456 //==============================================================================
13459 //==============================================================================
13462 extern __at(0x0F16) __sfr CLC1GLS0
;
13468 unsigned LC1G1D1N
: 1;
13469 unsigned LC1G1D1T
: 1;
13470 unsigned LC1G1D2N
: 1;
13471 unsigned LC1G1D2T
: 1;
13472 unsigned LC1G1D3N
: 1;
13473 unsigned LC1G1D3T
: 1;
13474 unsigned LC1G1D4N
: 1;
13475 unsigned LC1G1D4T
: 1;
13489 } __CLC1GLS0bits_t
;
13491 extern __at(0x0F16) volatile __CLC1GLS0bits_t CLC1GLS0bits
;
13493 #define _LC1G1D1N 0x01
13495 #define _LC1G1D1T 0x02
13497 #define _LC1G1D2N 0x04
13499 #define _LC1G1D2T 0x08
13501 #define _LC1G1D3N 0x10
13503 #define _LC1G1D3T 0x20
13505 #define _LC1G1D4N 0x40
13507 #define _LC1G1D4T 0x80
13510 //==============================================================================
13513 //==============================================================================
13516 extern __at(0x0F17) __sfr CLC1GLS1
;
13522 unsigned LC1G2D1N
: 1;
13523 unsigned LC1G2D1T
: 1;
13524 unsigned LC1G2D2N
: 1;
13525 unsigned LC1G2D2T
: 1;
13526 unsigned LC1G2D3N
: 1;
13527 unsigned LC1G2D3T
: 1;
13528 unsigned LC1G2D4N
: 1;
13529 unsigned LC1G2D4T
: 1;
13543 } __CLC1GLS1bits_t
;
13545 extern __at(0x0F17) volatile __CLC1GLS1bits_t CLC1GLS1bits
;
13547 #define _CLC1GLS1_LC1G2D1N 0x01
13548 #define _CLC1GLS1_D1N 0x01
13549 #define _CLC1GLS1_LC1G2D1T 0x02
13550 #define _CLC1GLS1_D1T 0x02
13551 #define _CLC1GLS1_LC1G2D2N 0x04
13552 #define _CLC1GLS1_D2N 0x04
13553 #define _CLC1GLS1_LC1G2D2T 0x08
13554 #define _CLC1GLS1_D2T 0x08
13555 #define _CLC1GLS1_LC1G2D3N 0x10
13556 #define _CLC1GLS1_D3N 0x10
13557 #define _CLC1GLS1_LC1G2D3T 0x20
13558 #define _CLC1GLS1_D3T 0x20
13559 #define _CLC1GLS1_LC1G2D4N 0x40
13560 #define _CLC1GLS1_D4N 0x40
13561 #define _CLC1GLS1_LC1G2D4T 0x80
13562 #define _CLC1GLS1_D4T 0x80
13564 //==============================================================================
13567 //==============================================================================
13570 extern __at(0x0F18) __sfr CLC1GLS2
;
13576 unsigned LC1G3D1N
: 1;
13577 unsigned LC1G3D1T
: 1;
13578 unsigned LC1G3D2N
: 1;
13579 unsigned LC1G3D2T
: 1;
13580 unsigned LC1G3D3N
: 1;
13581 unsigned LC1G3D3T
: 1;
13582 unsigned LC1G3D4N
: 1;
13583 unsigned LC1G3D4T
: 1;
13597 } __CLC1GLS2bits_t
;
13599 extern __at(0x0F18) volatile __CLC1GLS2bits_t CLC1GLS2bits
;
13601 #define _CLC1GLS2_LC1G3D1N 0x01
13602 #define _CLC1GLS2_D1N 0x01
13603 #define _CLC1GLS2_LC1G3D1T 0x02
13604 #define _CLC1GLS2_D1T 0x02
13605 #define _CLC1GLS2_LC1G3D2N 0x04
13606 #define _CLC1GLS2_D2N 0x04
13607 #define _CLC1GLS2_LC1G3D2T 0x08
13608 #define _CLC1GLS2_D2T 0x08
13609 #define _CLC1GLS2_LC1G3D3N 0x10
13610 #define _CLC1GLS2_D3N 0x10
13611 #define _CLC1GLS2_LC1G3D3T 0x20
13612 #define _CLC1GLS2_D3T 0x20
13613 #define _CLC1GLS2_LC1G3D4N 0x40
13614 #define _CLC1GLS2_D4N 0x40
13615 #define _CLC1GLS2_LC1G3D4T 0x80
13616 #define _CLC1GLS2_D4T 0x80
13618 //==============================================================================
13621 //==============================================================================
13624 extern __at(0x0F19) __sfr CLC1GLS3
;
13630 unsigned LC1G4D1N
: 1;
13631 unsigned LC1G4D1T
: 1;
13632 unsigned LC1G4D2N
: 1;
13633 unsigned LC1G4D2T
: 1;
13634 unsigned LC1G4D3N
: 1;
13635 unsigned LC1G4D3T
: 1;
13636 unsigned LC1G4D4N
: 1;
13637 unsigned LC1G4D4T
: 1;
13642 unsigned G4D1N
: 1;
13643 unsigned G4D1T
: 1;
13644 unsigned G4D2N
: 1;
13645 unsigned G4D2T
: 1;
13646 unsigned G4D3N
: 1;
13647 unsigned G4D3T
: 1;
13648 unsigned G4D4N
: 1;
13649 unsigned G4D4T
: 1;
13651 } __CLC1GLS3bits_t
;
13653 extern __at(0x0F19) volatile __CLC1GLS3bits_t CLC1GLS3bits
;
13655 #define _LC1G4D1N 0x01
13656 #define _G4D1N 0x01
13657 #define _LC1G4D1T 0x02
13658 #define _G4D1T 0x02
13659 #define _LC1G4D2N 0x04
13660 #define _G4D2N 0x04
13661 #define _LC1G4D2T 0x08
13662 #define _G4D2T 0x08
13663 #define _LC1G4D3N 0x10
13664 #define _G4D3N 0x10
13665 #define _LC1G4D3T 0x20
13666 #define _G4D3T 0x20
13667 #define _LC1G4D4N 0x40
13668 #define _G4D4N 0x40
13669 #define _LC1G4D4T 0x80
13670 #define _G4D4T 0x80
13672 //==============================================================================
13675 //==============================================================================
13678 extern __at(0x0F1A) __sfr CLC2CON
;
13684 unsigned LC2MODE0
: 1;
13685 unsigned LC2MODE1
: 1;
13686 unsigned LC2MODE2
: 1;
13687 unsigned LC2INTN
: 1;
13688 unsigned LC2INTP
: 1;
13689 unsigned LC2OUT
: 1;
13691 unsigned LC2EN
: 1;
13696 unsigned MODE0
: 1;
13697 unsigned MODE1
: 1;
13698 unsigned MODE2
: 1;
13708 unsigned LC2MODE
: 3;
13719 extern __at(0x0F1A) volatile __CLC2CONbits_t CLC2CONbits
;
13721 #define _CLC2CON_LC2MODE0 0x01
13722 #define _CLC2CON_MODE0 0x01
13723 #define _CLC2CON_LC2MODE1 0x02
13724 #define _CLC2CON_MODE1 0x02
13725 #define _CLC2CON_LC2MODE2 0x04
13726 #define _CLC2CON_MODE2 0x04
13727 #define _CLC2CON_LC2INTN 0x08
13728 #define _CLC2CON_INTN 0x08
13729 #define _CLC2CON_LC2INTP 0x10
13730 #define _CLC2CON_INTP 0x10
13731 #define _CLC2CON_LC2OUT 0x20
13732 #define _CLC2CON_OUT 0x20
13733 #define _CLC2CON_LC2EN 0x80
13734 #define _CLC2CON_EN 0x80
13736 //==============================================================================
13739 //==============================================================================
13742 extern __at(0x0F1B) __sfr CLC2POL
;
13748 unsigned LC2G1POL
: 1;
13749 unsigned LC2G2POL
: 1;
13750 unsigned LC2G3POL
: 1;
13751 unsigned LC2G4POL
: 1;
13755 unsigned LC2POL
: 1;
13760 unsigned G1POL
: 1;
13761 unsigned G2POL
: 1;
13762 unsigned G3POL
: 1;
13763 unsigned G4POL
: 1;
13771 extern __at(0x0F1B) volatile __CLC2POLbits_t CLC2POLbits
;
13773 #define _CLC2POL_LC2G1POL 0x01
13774 #define _CLC2POL_G1POL 0x01
13775 #define _CLC2POL_LC2G2POL 0x02
13776 #define _CLC2POL_G2POL 0x02
13777 #define _CLC2POL_LC2G3POL 0x04
13778 #define _CLC2POL_G3POL 0x04
13779 #define _CLC2POL_LC2G4POL 0x08
13780 #define _CLC2POL_G4POL 0x08
13781 #define _CLC2POL_LC2POL 0x80
13782 #define _CLC2POL_POL 0x80
13784 //==============================================================================
13787 //==============================================================================
13790 extern __at(0x0F1C) __sfr CLC2SEL0
;
13796 unsigned LC2D1S0
: 1;
13797 unsigned LC2D1S1
: 1;
13798 unsigned LC2D1S2
: 1;
13799 unsigned LC2D1S3
: 1;
13800 unsigned LC2D1S4
: 1;
13801 unsigned LC2D1S5
: 1;
13820 unsigned LC2D1S
: 6;
13829 } __CLC2SEL0bits_t
;
13831 extern __at(0x0F1C) volatile __CLC2SEL0bits_t CLC2SEL0bits
;
13833 #define _CLC2SEL0_LC2D1S0 0x01
13834 #define _CLC2SEL0_D1S0 0x01
13835 #define _CLC2SEL0_LC2D1S1 0x02
13836 #define _CLC2SEL0_D1S1 0x02
13837 #define _CLC2SEL0_LC2D1S2 0x04
13838 #define _CLC2SEL0_D1S2 0x04
13839 #define _CLC2SEL0_LC2D1S3 0x08
13840 #define _CLC2SEL0_D1S3 0x08
13841 #define _CLC2SEL0_LC2D1S4 0x10
13842 #define _CLC2SEL0_D1S4 0x10
13843 #define _CLC2SEL0_LC2D1S5 0x20
13844 #define _CLC2SEL0_D1S5 0x20
13846 //==============================================================================
13849 //==============================================================================
13852 extern __at(0x0F1D) __sfr CLC2SEL1
;
13858 unsigned LC2D2S0
: 1;
13859 unsigned LC2D2S1
: 1;
13860 unsigned LC2D2S2
: 1;
13861 unsigned LC2D2S3
: 1;
13862 unsigned LC2D2S4
: 1;
13863 unsigned LC2D2S5
: 1;
13882 unsigned LC2D2S
: 6;
13891 } __CLC2SEL1bits_t
;
13893 extern __at(0x0F1D) volatile __CLC2SEL1bits_t CLC2SEL1bits
;
13895 #define _CLC2SEL1_LC2D2S0 0x01
13896 #define _CLC2SEL1_D2S0 0x01
13897 #define _CLC2SEL1_LC2D2S1 0x02
13898 #define _CLC2SEL1_D2S1 0x02
13899 #define _CLC2SEL1_LC2D2S2 0x04
13900 #define _CLC2SEL1_D2S2 0x04
13901 #define _CLC2SEL1_LC2D2S3 0x08
13902 #define _CLC2SEL1_D2S3 0x08
13903 #define _CLC2SEL1_LC2D2S4 0x10
13904 #define _CLC2SEL1_D2S4 0x10
13905 #define _CLC2SEL1_LC2D2S5 0x20
13906 #define _CLC2SEL1_D2S5 0x20
13908 //==============================================================================
13911 //==============================================================================
13914 extern __at(0x0F1E) __sfr CLC2SEL2
;
13920 unsigned LC2D3S0
: 1;
13921 unsigned LC2D3S1
: 1;
13922 unsigned LC2D3S2
: 1;
13923 unsigned LC2D3S3
: 1;
13924 unsigned LC2D3S4
: 1;
13925 unsigned LC2D3S5
: 1;
13944 unsigned LC2D3S
: 6;
13953 } __CLC2SEL2bits_t
;
13955 extern __at(0x0F1E) volatile __CLC2SEL2bits_t CLC2SEL2bits
;
13957 #define _CLC2SEL2_LC2D3S0 0x01
13958 #define _CLC2SEL2_D3S0 0x01
13959 #define _CLC2SEL2_LC2D3S1 0x02
13960 #define _CLC2SEL2_D3S1 0x02
13961 #define _CLC2SEL2_LC2D3S2 0x04
13962 #define _CLC2SEL2_D3S2 0x04
13963 #define _CLC2SEL2_LC2D3S3 0x08
13964 #define _CLC2SEL2_D3S3 0x08
13965 #define _CLC2SEL2_LC2D3S4 0x10
13966 #define _CLC2SEL2_D3S4 0x10
13967 #define _CLC2SEL2_LC2D3S5 0x20
13968 #define _CLC2SEL2_D3S5 0x20
13970 //==============================================================================
13973 //==============================================================================
13976 extern __at(0x0F1F) __sfr CLC2SEL3
;
13982 unsigned LC2D4S0
: 1;
13983 unsigned LC2D4S1
: 1;
13984 unsigned LC2D4S2
: 1;
13985 unsigned LC2D4S3
: 1;
13986 unsigned LC2D4S4
: 1;
13987 unsigned LC2D4S5
: 1;
14012 unsigned LC2D4S
: 6;
14015 } __CLC2SEL3bits_t
;
14017 extern __at(0x0F1F) volatile __CLC2SEL3bits_t CLC2SEL3bits
;
14019 #define _CLC2SEL3_LC2D4S0 0x01
14020 #define _CLC2SEL3_D4S0 0x01
14021 #define _CLC2SEL3_LC2D4S1 0x02
14022 #define _CLC2SEL3_D4S1 0x02
14023 #define _CLC2SEL3_LC2D4S2 0x04
14024 #define _CLC2SEL3_D4S2 0x04
14025 #define _CLC2SEL3_LC2D4S3 0x08
14026 #define _CLC2SEL3_D4S3 0x08
14027 #define _CLC2SEL3_LC2D4S4 0x10
14028 #define _CLC2SEL3_D4S4 0x10
14029 #define _CLC2SEL3_LC2D4S5 0x20
14030 #define _CLC2SEL3_D4S5 0x20
14032 //==============================================================================
14035 //==============================================================================
14038 extern __at(0x0F20) __sfr CLC2GLS0
;
14044 unsigned LC2G1D1N
: 1;
14045 unsigned LC2G1D1T
: 1;
14046 unsigned LC2G1D2N
: 1;
14047 unsigned LC2G1D2T
: 1;
14048 unsigned LC2G1D3N
: 1;
14049 unsigned LC2G1D3T
: 1;
14050 unsigned LC2G1D4N
: 1;
14051 unsigned LC2G1D4T
: 1;
14065 } __CLC2GLS0bits_t
;
14067 extern __at(0x0F20) volatile __CLC2GLS0bits_t CLC2GLS0bits
;
14069 #define _CLC2GLS0_LC2G1D1N 0x01
14070 #define _CLC2GLS0_D1N 0x01
14071 #define _CLC2GLS0_LC2G1D1T 0x02
14072 #define _CLC2GLS0_D1T 0x02
14073 #define _CLC2GLS0_LC2G1D2N 0x04
14074 #define _CLC2GLS0_D2N 0x04
14075 #define _CLC2GLS0_LC2G1D2T 0x08
14076 #define _CLC2GLS0_D2T 0x08
14077 #define _CLC2GLS0_LC2G1D3N 0x10
14078 #define _CLC2GLS0_D3N 0x10
14079 #define _CLC2GLS0_LC2G1D3T 0x20
14080 #define _CLC2GLS0_D3T 0x20
14081 #define _CLC2GLS0_LC2G1D4N 0x40
14082 #define _CLC2GLS0_D4N 0x40
14083 #define _CLC2GLS0_LC2G1D4T 0x80
14084 #define _CLC2GLS0_D4T 0x80
14086 //==============================================================================
14089 //==============================================================================
14092 extern __at(0x0F21) __sfr CLC2GLS1
;
14098 unsigned LC2G2D1N
: 1;
14099 unsigned LC2G2D1T
: 1;
14100 unsigned LC2G2D2N
: 1;
14101 unsigned LC2G2D2T
: 1;
14102 unsigned LC2G2D3N
: 1;
14103 unsigned LC2G2D3T
: 1;
14104 unsigned LC2G2D4N
: 1;
14105 unsigned LC2G2D4T
: 1;
14119 } __CLC2GLS1bits_t
;
14121 extern __at(0x0F21) volatile __CLC2GLS1bits_t CLC2GLS1bits
;
14123 #define _CLC2GLS1_LC2G2D1N 0x01
14124 #define _CLC2GLS1_D1N 0x01
14125 #define _CLC2GLS1_LC2G2D1T 0x02
14126 #define _CLC2GLS1_D1T 0x02
14127 #define _CLC2GLS1_LC2G2D2N 0x04
14128 #define _CLC2GLS1_D2N 0x04
14129 #define _CLC2GLS1_LC2G2D2T 0x08
14130 #define _CLC2GLS1_D2T 0x08
14131 #define _CLC2GLS1_LC2G2D3N 0x10
14132 #define _CLC2GLS1_D3N 0x10
14133 #define _CLC2GLS1_LC2G2D3T 0x20
14134 #define _CLC2GLS1_D3T 0x20
14135 #define _CLC2GLS1_LC2G2D4N 0x40
14136 #define _CLC2GLS1_D4N 0x40
14137 #define _CLC2GLS1_LC2G2D4T 0x80
14138 #define _CLC2GLS1_D4T 0x80
14140 //==============================================================================
14143 //==============================================================================
14146 extern __at(0x0F22) __sfr CLC2GLS2
;
14152 unsigned LC2G3D1N
: 1;
14153 unsigned LC2G3D1T
: 1;
14154 unsigned LC2G3D2N
: 1;
14155 unsigned LC2G3D2T
: 1;
14156 unsigned LC2G3D3N
: 1;
14157 unsigned LC2G3D3T
: 1;
14158 unsigned LC2G3D4N
: 1;
14159 unsigned LC2G3D4T
: 1;
14173 } __CLC2GLS2bits_t
;
14175 extern __at(0x0F22) volatile __CLC2GLS2bits_t CLC2GLS2bits
;
14177 #define _CLC2GLS2_LC2G3D1N 0x01
14178 #define _CLC2GLS2_D1N 0x01
14179 #define _CLC2GLS2_LC2G3D1T 0x02
14180 #define _CLC2GLS2_D1T 0x02
14181 #define _CLC2GLS2_LC2G3D2N 0x04
14182 #define _CLC2GLS2_D2N 0x04
14183 #define _CLC2GLS2_LC2G3D2T 0x08
14184 #define _CLC2GLS2_D2T 0x08
14185 #define _CLC2GLS2_LC2G3D3N 0x10
14186 #define _CLC2GLS2_D3N 0x10
14187 #define _CLC2GLS2_LC2G3D3T 0x20
14188 #define _CLC2GLS2_D3T 0x20
14189 #define _CLC2GLS2_LC2G3D4N 0x40
14190 #define _CLC2GLS2_D4N 0x40
14191 #define _CLC2GLS2_LC2G3D4T 0x80
14192 #define _CLC2GLS2_D4T 0x80
14194 //==============================================================================
14197 //==============================================================================
14200 extern __at(0x0F23) __sfr CLC2GLS3
;
14206 unsigned LC2G4D1N
: 1;
14207 unsigned LC2G4D1T
: 1;
14208 unsigned LC2G4D2N
: 1;
14209 unsigned LC2G4D2T
: 1;
14210 unsigned LC2G4D3N
: 1;
14211 unsigned LC2G4D3T
: 1;
14212 unsigned LC2G4D4N
: 1;
14213 unsigned LC2G4D4T
: 1;
14218 unsigned G4D1N
: 1;
14219 unsigned G4D1T
: 1;
14220 unsigned G4D2N
: 1;
14221 unsigned G4D2T
: 1;
14222 unsigned G4D3N
: 1;
14223 unsigned G4D3T
: 1;
14224 unsigned G4D4N
: 1;
14225 unsigned G4D4T
: 1;
14227 } __CLC2GLS3bits_t
;
14229 extern __at(0x0F23) volatile __CLC2GLS3bits_t CLC2GLS3bits
;
14231 #define _CLC2GLS3_LC2G4D1N 0x01
14232 #define _CLC2GLS3_G4D1N 0x01
14233 #define _CLC2GLS3_LC2G4D1T 0x02
14234 #define _CLC2GLS3_G4D1T 0x02
14235 #define _CLC2GLS3_LC2G4D2N 0x04
14236 #define _CLC2GLS3_G4D2N 0x04
14237 #define _CLC2GLS3_LC2G4D2T 0x08
14238 #define _CLC2GLS3_G4D2T 0x08
14239 #define _CLC2GLS3_LC2G4D3N 0x10
14240 #define _CLC2GLS3_G4D3N 0x10
14241 #define _CLC2GLS3_LC2G4D3T 0x20
14242 #define _CLC2GLS3_G4D3T 0x20
14243 #define _CLC2GLS3_LC2G4D4N 0x40
14244 #define _CLC2GLS3_G4D4N 0x40
14245 #define _CLC2GLS3_LC2G4D4T 0x80
14246 #define _CLC2GLS3_G4D4T 0x80
14248 //==============================================================================
14251 //==============================================================================
14254 extern __at(0x0F24) __sfr CLC3CON
;
14260 unsigned LC3MODE0
: 1;
14261 unsigned LC3MODE1
: 1;
14262 unsigned LC3MODE2
: 1;
14263 unsigned LC3INTN
: 1;
14264 unsigned LC3INTP
: 1;
14265 unsigned LC3OUT
: 1;
14267 unsigned LC3EN
: 1;
14272 unsigned MODE0
: 1;
14273 unsigned MODE1
: 1;
14274 unsigned MODE2
: 1;
14290 unsigned LC3MODE
: 3;
14295 extern __at(0x0F24) volatile __CLC3CONbits_t CLC3CONbits
;
14297 #define _CLC3CON_LC3MODE0 0x01
14298 #define _CLC3CON_MODE0 0x01
14299 #define _CLC3CON_LC3MODE1 0x02
14300 #define _CLC3CON_MODE1 0x02
14301 #define _CLC3CON_LC3MODE2 0x04
14302 #define _CLC3CON_MODE2 0x04
14303 #define _CLC3CON_LC3INTN 0x08
14304 #define _CLC3CON_INTN 0x08
14305 #define _CLC3CON_LC3INTP 0x10
14306 #define _CLC3CON_INTP 0x10
14307 #define _CLC3CON_LC3OUT 0x20
14308 #define _CLC3CON_OUT 0x20
14309 #define _CLC3CON_LC3EN 0x80
14310 #define _CLC3CON_EN 0x80
14312 //==============================================================================
14315 //==============================================================================
14318 extern __at(0x0F25) __sfr CLC3POL
;
14324 unsigned LC3G1POL
: 1;
14325 unsigned LC3G2POL
: 1;
14326 unsigned LC3G3POL
: 1;
14327 unsigned LC3G4POL
: 1;
14331 unsigned LC3POL
: 1;
14336 unsigned G1POL
: 1;
14337 unsigned G2POL
: 1;
14338 unsigned G3POL
: 1;
14339 unsigned G4POL
: 1;
14347 extern __at(0x0F25) volatile __CLC3POLbits_t CLC3POLbits
;
14349 #define _CLC3POL_LC3G1POL 0x01
14350 #define _CLC3POL_G1POL 0x01
14351 #define _CLC3POL_LC3G2POL 0x02
14352 #define _CLC3POL_G2POL 0x02
14353 #define _CLC3POL_LC3G3POL 0x04
14354 #define _CLC3POL_G3POL 0x04
14355 #define _CLC3POL_LC3G4POL 0x08
14356 #define _CLC3POL_G4POL 0x08
14357 #define _CLC3POL_LC3POL 0x80
14358 #define _CLC3POL_POL 0x80
14360 //==============================================================================
14363 //==============================================================================
14366 extern __at(0x0F26) __sfr CLC3SEL0
;
14372 unsigned LC3D1S0
: 1;
14373 unsigned LC3D1S1
: 1;
14374 unsigned LC3D1S2
: 1;
14375 unsigned LC3D1S3
: 1;
14376 unsigned LC3D1S4
: 1;
14377 unsigned LC3D1S5
: 1;
14402 unsigned LC3D1S
: 6;
14405 } __CLC3SEL0bits_t
;
14407 extern __at(0x0F26) volatile __CLC3SEL0bits_t CLC3SEL0bits
;
14409 #define _CLC3SEL0_LC3D1S0 0x01
14410 #define _CLC3SEL0_D1S0 0x01
14411 #define _CLC3SEL0_LC3D1S1 0x02
14412 #define _CLC3SEL0_D1S1 0x02
14413 #define _CLC3SEL0_LC3D1S2 0x04
14414 #define _CLC3SEL0_D1S2 0x04
14415 #define _CLC3SEL0_LC3D1S3 0x08
14416 #define _CLC3SEL0_D1S3 0x08
14417 #define _CLC3SEL0_LC3D1S4 0x10
14418 #define _CLC3SEL0_D1S4 0x10
14419 #define _CLC3SEL0_LC3D1S5 0x20
14420 #define _CLC3SEL0_D1S5 0x20
14422 //==============================================================================
14425 //==============================================================================
14428 extern __at(0x0F27) __sfr CLC3SEL1
;
14434 unsigned LC3D2S0
: 1;
14435 unsigned LC3D2S1
: 1;
14436 unsigned LC3D2S2
: 1;
14437 unsigned LC3D2S3
: 1;
14438 unsigned LC3D2S4
: 1;
14439 unsigned LC3D2S5
: 1;
14458 unsigned LC3D2S
: 6;
14467 } __CLC3SEL1bits_t
;
14469 extern __at(0x0F27) volatile __CLC3SEL1bits_t CLC3SEL1bits
;
14471 #define _CLC3SEL1_LC3D2S0 0x01
14472 #define _CLC3SEL1_D2S0 0x01
14473 #define _CLC3SEL1_LC3D2S1 0x02
14474 #define _CLC3SEL1_D2S1 0x02
14475 #define _CLC3SEL1_LC3D2S2 0x04
14476 #define _CLC3SEL1_D2S2 0x04
14477 #define _CLC3SEL1_LC3D2S3 0x08
14478 #define _CLC3SEL1_D2S3 0x08
14479 #define _CLC3SEL1_LC3D2S4 0x10
14480 #define _CLC3SEL1_D2S4 0x10
14481 #define _CLC3SEL1_LC3D2S5 0x20
14482 #define _CLC3SEL1_D2S5 0x20
14484 //==============================================================================
14487 //==============================================================================
14490 extern __at(0x0F28) __sfr CLC3SEL2
;
14496 unsigned LC3D3S0
: 1;
14497 unsigned LC3D3S1
: 1;
14498 unsigned LC3D3S2
: 1;
14499 unsigned LC3D3S3
: 1;
14500 unsigned LC3D3S4
: 1;
14501 unsigned LC3D3S5
: 1;
14526 unsigned LC3D3S
: 6;
14529 } __CLC3SEL2bits_t
;
14531 extern __at(0x0F28) volatile __CLC3SEL2bits_t CLC3SEL2bits
;
14533 #define _CLC3SEL2_LC3D3S0 0x01
14534 #define _CLC3SEL2_D3S0 0x01
14535 #define _CLC3SEL2_LC3D3S1 0x02
14536 #define _CLC3SEL2_D3S1 0x02
14537 #define _CLC3SEL2_LC3D3S2 0x04
14538 #define _CLC3SEL2_D3S2 0x04
14539 #define _CLC3SEL2_LC3D3S3 0x08
14540 #define _CLC3SEL2_D3S3 0x08
14541 #define _CLC3SEL2_LC3D3S4 0x10
14542 #define _CLC3SEL2_D3S4 0x10
14543 #define _CLC3SEL2_LC3D3S5 0x20
14544 #define _CLC3SEL2_D3S5 0x20
14546 //==============================================================================
14549 //==============================================================================
14552 extern __at(0x0F29) __sfr CLC3SEL3
;
14558 unsigned LC3D4S0
: 1;
14559 unsigned LC3D4S1
: 1;
14560 unsigned LC3D4S2
: 1;
14561 unsigned LC3D4S3
: 1;
14562 unsigned LC3D4S4
: 1;
14563 unsigned LC3D4S5
: 1;
14582 unsigned LC3D4S
: 6;
14591 } __CLC3SEL3bits_t
;
14593 extern __at(0x0F29) volatile __CLC3SEL3bits_t CLC3SEL3bits
;
14595 #define _CLC3SEL3_LC3D4S0 0x01
14596 #define _CLC3SEL3_D4S0 0x01
14597 #define _CLC3SEL3_LC3D4S1 0x02
14598 #define _CLC3SEL3_D4S1 0x02
14599 #define _CLC3SEL3_LC3D4S2 0x04
14600 #define _CLC3SEL3_D4S2 0x04
14601 #define _CLC3SEL3_LC3D4S3 0x08
14602 #define _CLC3SEL3_D4S3 0x08
14603 #define _CLC3SEL3_LC3D4S4 0x10
14604 #define _CLC3SEL3_D4S4 0x10
14605 #define _CLC3SEL3_LC3D4S5 0x20
14606 #define _CLC3SEL3_D4S5 0x20
14608 //==============================================================================
14611 //==============================================================================
14614 extern __at(0x0F2A) __sfr CLC3GLS0
;
14620 unsigned LC3G1D1N
: 1;
14621 unsigned LC3G1D1T
: 1;
14622 unsigned LC3G1D2N
: 1;
14623 unsigned LC3G1D2T
: 1;
14624 unsigned LC3G1D3N
: 1;
14625 unsigned LC3G1D3T
: 1;
14626 unsigned LC3G1D4N
: 1;
14627 unsigned LC3G1D4T
: 1;
14641 } __CLC3GLS0bits_t
;
14643 extern __at(0x0F2A) volatile __CLC3GLS0bits_t CLC3GLS0bits
;
14645 #define _CLC3GLS0_LC3G1D1N 0x01
14646 #define _CLC3GLS0_D1N 0x01
14647 #define _CLC3GLS0_LC3G1D1T 0x02
14648 #define _CLC3GLS0_D1T 0x02
14649 #define _CLC3GLS0_LC3G1D2N 0x04
14650 #define _CLC3GLS0_D2N 0x04
14651 #define _CLC3GLS0_LC3G1D2T 0x08
14652 #define _CLC3GLS0_D2T 0x08
14653 #define _CLC3GLS0_LC3G1D3N 0x10
14654 #define _CLC3GLS0_D3N 0x10
14655 #define _CLC3GLS0_LC3G1D3T 0x20
14656 #define _CLC3GLS0_D3T 0x20
14657 #define _CLC3GLS0_LC3G1D4N 0x40
14658 #define _CLC3GLS0_D4N 0x40
14659 #define _CLC3GLS0_LC3G1D4T 0x80
14660 #define _CLC3GLS0_D4T 0x80
14662 //==============================================================================
14665 //==============================================================================
14668 extern __at(0x0F2B) __sfr CLC3GLS1
;
14674 unsigned LC3G2D1N
: 1;
14675 unsigned LC3G2D1T
: 1;
14676 unsigned LC3G2D2N
: 1;
14677 unsigned LC3G2D2T
: 1;
14678 unsigned LC3G2D3N
: 1;
14679 unsigned LC3G2D3T
: 1;
14680 unsigned LC3G2D4N
: 1;
14681 unsigned LC3G2D4T
: 1;
14695 } __CLC3GLS1bits_t
;
14697 extern __at(0x0F2B) volatile __CLC3GLS1bits_t CLC3GLS1bits
;
14699 #define _CLC3GLS1_LC3G2D1N 0x01
14700 #define _CLC3GLS1_D1N 0x01
14701 #define _CLC3GLS1_LC3G2D1T 0x02
14702 #define _CLC3GLS1_D1T 0x02
14703 #define _CLC3GLS1_LC3G2D2N 0x04
14704 #define _CLC3GLS1_D2N 0x04
14705 #define _CLC3GLS1_LC3G2D2T 0x08
14706 #define _CLC3GLS1_D2T 0x08
14707 #define _CLC3GLS1_LC3G2D3N 0x10
14708 #define _CLC3GLS1_D3N 0x10
14709 #define _CLC3GLS1_LC3G2D3T 0x20
14710 #define _CLC3GLS1_D3T 0x20
14711 #define _CLC3GLS1_LC3G2D4N 0x40
14712 #define _CLC3GLS1_D4N 0x40
14713 #define _CLC3GLS1_LC3G2D4T 0x80
14714 #define _CLC3GLS1_D4T 0x80
14716 //==============================================================================
14719 //==============================================================================
14722 extern __at(0x0F2C) __sfr CLC3GLS2
;
14728 unsigned LC3G3D1N
: 1;
14729 unsigned LC3G3D1T
: 1;
14730 unsigned LC3G3D2N
: 1;
14731 unsigned LC3G3D2T
: 1;
14732 unsigned LC3G3D3N
: 1;
14733 unsigned LC3G3D3T
: 1;
14734 unsigned LC3G3D4N
: 1;
14735 unsigned LC3G3D4T
: 1;
14749 } __CLC3GLS2bits_t
;
14751 extern __at(0x0F2C) volatile __CLC3GLS2bits_t CLC3GLS2bits
;
14753 #define _CLC3GLS2_LC3G3D1N 0x01
14754 #define _CLC3GLS2_D1N 0x01
14755 #define _CLC3GLS2_LC3G3D1T 0x02
14756 #define _CLC3GLS2_D1T 0x02
14757 #define _CLC3GLS2_LC3G3D2N 0x04
14758 #define _CLC3GLS2_D2N 0x04
14759 #define _CLC3GLS2_LC3G3D2T 0x08
14760 #define _CLC3GLS2_D2T 0x08
14761 #define _CLC3GLS2_LC3G3D3N 0x10
14762 #define _CLC3GLS2_D3N 0x10
14763 #define _CLC3GLS2_LC3G3D3T 0x20
14764 #define _CLC3GLS2_D3T 0x20
14765 #define _CLC3GLS2_LC3G3D4N 0x40
14766 #define _CLC3GLS2_D4N 0x40
14767 #define _CLC3GLS2_LC3G3D4T 0x80
14768 #define _CLC3GLS2_D4T 0x80
14770 //==============================================================================
14773 //==============================================================================
14776 extern __at(0x0F2D) __sfr CLC3GLS3
;
14782 unsigned LC3G4D1N
: 1;
14783 unsigned LC3G4D1T
: 1;
14784 unsigned LC3G4D2N
: 1;
14785 unsigned LC3G4D2T
: 1;
14786 unsigned LC3G4D3N
: 1;
14787 unsigned LC3G4D3T
: 1;
14788 unsigned LC3G4D4N
: 1;
14789 unsigned LC3G4D4T
: 1;
14794 unsigned G4D1N
: 1;
14795 unsigned G4D1T
: 1;
14796 unsigned G4D2N
: 1;
14797 unsigned G4D2T
: 1;
14798 unsigned G4D3N
: 1;
14799 unsigned G4D3T
: 1;
14800 unsigned G4D4N
: 1;
14801 unsigned G4D4T
: 1;
14803 } __CLC3GLS3bits_t
;
14805 extern __at(0x0F2D) volatile __CLC3GLS3bits_t CLC3GLS3bits
;
14807 #define _CLC3GLS3_LC3G4D1N 0x01
14808 #define _CLC3GLS3_G4D1N 0x01
14809 #define _CLC3GLS3_LC3G4D1T 0x02
14810 #define _CLC3GLS3_G4D1T 0x02
14811 #define _CLC3GLS3_LC3G4D2N 0x04
14812 #define _CLC3GLS3_G4D2N 0x04
14813 #define _CLC3GLS3_LC3G4D2T 0x08
14814 #define _CLC3GLS3_G4D2T 0x08
14815 #define _CLC3GLS3_LC3G4D3N 0x10
14816 #define _CLC3GLS3_G4D3N 0x10
14817 #define _CLC3GLS3_LC3G4D3T 0x20
14818 #define _CLC3GLS3_G4D3T 0x20
14819 #define _CLC3GLS3_LC3G4D4N 0x40
14820 #define _CLC3GLS3_G4D4N 0x40
14821 #define _CLC3GLS3_LC3G4D4T 0x80
14822 #define _CLC3GLS3_G4D4T 0x80
14824 //==============================================================================
14827 //==============================================================================
14830 extern __at(0x0F2E) __sfr CLC4CON
;
14836 unsigned LC4MODE0
: 1;
14837 unsigned LC4MODE1
: 1;
14838 unsigned LC4MODE2
: 1;
14839 unsigned LC4INTN
: 1;
14840 unsigned LC4INTP
: 1;
14841 unsigned LC4OUT
: 1;
14843 unsigned LC4EN
: 1;
14848 unsigned MODE0
: 1;
14849 unsigned MODE1
: 1;
14850 unsigned MODE2
: 1;
14866 unsigned LC4MODE
: 3;
14871 extern __at(0x0F2E) volatile __CLC4CONbits_t CLC4CONbits
;
14873 #define _CLC4CON_LC4MODE0 0x01
14874 #define _CLC4CON_MODE0 0x01
14875 #define _CLC4CON_LC4MODE1 0x02
14876 #define _CLC4CON_MODE1 0x02
14877 #define _CLC4CON_LC4MODE2 0x04
14878 #define _CLC4CON_MODE2 0x04
14879 #define _CLC4CON_LC4INTN 0x08
14880 #define _CLC4CON_INTN 0x08
14881 #define _CLC4CON_LC4INTP 0x10
14882 #define _CLC4CON_INTP 0x10
14883 #define _CLC4CON_LC4OUT 0x20
14884 #define _CLC4CON_OUT 0x20
14885 #define _CLC4CON_LC4EN 0x80
14886 #define _CLC4CON_EN 0x80
14888 //==============================================================================
14891 //==============================================================================
14894 extern __at(0x0F2F) __sfr CLC4POL
;
14900 unsigned LC4G1POL
: 1;
14901 unsigned LC4G2POL
: 1;
14902 unsigned LC4G3POL
: 1;
14903 unsigned LC4G4POL
: 1;
14907 unsigned LC4POL
: 1;
14912 unsigned G1POL
: 1;
14913 unsigned G2POL
: 1;
14914 unsigned G3POL
: 1;
14915 unsigned G4POL
: 1;
14923 extern __at(0x0F2F) volatile __CLC4POLbits_t CLC4POLbits
;
14925 #define _CLC4POL_LC4G1POL 0x01
14926 #define _CLC4POL_G1POL 0x01
14927 #define _CLC4POL_LC4G2POL 0x02
14928 #define _CLC4POL_G2POL 0x02
14929 #define _CLC4POL_LC4G3POL 0x04
14930 #define _CLC4POL_G3POL 0x04
14931 #define _CLC4POL_LC4G4POL 0x08
14932 #define _CLC4POL_G4POL 0x08
14933 #define _CLC4POL_LC4POL 0x80
14934 #define _CLC4POL_POL 0x80
14936 //==============================================================================
14939 //==============================================================================
14942 extern __at(0x0F30) __sfr CLC4SEL0
;
14948 unsigned LC4D1S0
: 1;
14949 unsigned LC4D1S1
: 1;
14950 unsigned LC4D1S2
: 1;
14951 unsigned LC4D1S3
: 1;
14952 unsigned LC4D1S4
: 1;
14953 unsigned LC4D1S5
: 1;
14972 unsigned LC4D1S
: 6;
14981 } __CLC4SEL0bits_t
;
14983 extern __at(0x0F30) volatile __CLC4SEL0bits_t CLC4SEL0bits
;
14985 #define _CLC4SEL0_LC4D1S0 0x01
14986 #define _CLC4SEL0_D1S0 0x01
14987 #define _CLC4SEL0_LC4D1S1 0x02
14988 #define _CLC4SEL0_D1S1 0x02
14989 #define _CLC4SEL0_LC4D1S2 0x04
14990 #define _CLC4SEL0_D1S2 0x04
14991 #define _CLC4SEL0_LC4D1S3 0x08
14992 #define _CLC4SEL0_D1S3 0x08
14993 #define _CLC4SEL0_LC4D1S4 0x10
14994 #define _CLC4SEL0_D1S4 0x10
14995 #define _CLC4SEL0_LC4D1S5 0x20
14996 #define _CLC4SEL0_D1S5 0x20
14998 //==============================================================================
15001 //==============================================================================
15004 extern __at(0x0F31) __sfr CLC4SEL1
;
15010 unsigned LC4D2S0
: 1;
15011 unsigned LC4D2S1
: 1;
15012 unsigned LC4D2S2
: 1;
15013 unsigned LC4D2S3
: 1;
15014 unsigned LC4D2S4
: 1;
15015 unsigned LC4D2S5
: 1;
15034 unsigned LC4D2S
: 6;
15043 } __CLC4SEL1bits_t
;
15045 extern __at(0x0F31) volatile __CLC4SEL1bits_t CLC4SEL1bits
;
15047 #define _CLC4SEL1_LC4D2S0 0x01
15048 #define _CLC4SEL1_D2S0 0x01
15049 #define _CLC4SEL1_LC4D2S1 0x02
15050 #define _CLC4SEL1_D2S1 0x02
15051 #define _CLC4SEL1_LC4D2S2 0x04
15052 #define _CLC4SEL1_D2S2 0x04
15053 #define _CLC4SEL1_LC4D2S3 0x08
15054 #define _CLC4SEL1_D2S3 0x08
15055 #define _CLC4SEL1_LC4D2S4 0x10
15056 #define _CLC4SEL1_D2S4 0x10
15057 #define _CLC4SEL1_LC4D2S5 0x20
15058 #define _CLC4SEL1_D2S5 0x20
15060 //==============================================================================
15063 //==============================================================================
15066 extern __at(0x0F32) __sfr CLC4SEL2
;
15072 unsigned LC4D3S0
: 1;
15073 unsigned LC4D3S1
: 1;
15074 unsigned LC4D3S2
: 1;
15075 unsigned LC4D3S3
: 1;
15076 unsigned LC4D3S4
: 1;
15077 unsigned LC4D3S5
: 1;
15096 unsigned LC4D3S
: 6;
15105 } __CLC4SEL2bits_t
;
15107 extern __at(0x0F32) volatile __CLC4SEL2bits_t CLC4SEL2bits
;
15109 #define _CLC4SEL2_LC4D3S0 0x01
15110 #define _CLC4SEL2_D3S0 0x01
15111 #define _CLC4SEL2_LC4D3S1 0x02
15112 #define _CLC4SEL2_D3S1 0x02
15113 #define _CLC4SEL2_LC4D3S2 0x04
15114 #define _CLC4SEL2_D3S2 0x04
15115 #define _CLC4SEL2_LC4D3S3 0x08
15116 #define _CLC4SEL2_D3S3 0x08
15117 #define _CLC4SEL2_LC4D3S4 0x10
15118 #define _CLC4SEL2_D3S4 0x10
15119 #define _CLC4SEL2_LC4D3S5 0x20
15120 #define _CLC4SEL2_D3S5 0x20
15122 //==============================================================================
15125 //==============================================================================
15128 extern __at(0x0F33) __sfr CLC4SEL3
;
15134 unsigned LC4D4S0
: 1;
15135 unsigned LC4D4S1
: 1;
15136 unsigned LC4D4S2
: 1;
15137 unsigned LC4D4S3
: 1;
15138 unsigned LC4D4S4
: 1;
15139 unsigned LC4D4S5
: 1;
15158 unsigned LC4D4S
: 6;
15167 } __CLC4SEL3bits_t
;
15169 extern __at(0x0F33) volatile __CLC4SEL3bits_t CLC4SEL3bits
;
15171 #define _CLC4SEL3_LC4D4S0 0x01
15172 #define _CLC4SEL3_D4S0 0x01
15173 #define _CLC4SEL3_LC4D4S1 0x02
15174 #define _CLC4SEL3_D4S1 0x02
15175 #define _CLC4SEL3_LC4D4S2 0x04
15176 #define _CLC4SEL3_D4S2 0x04
15177 #define _CLC4SEL3_LC4D4S3 0x08
15178 #define _CLC4SEL3_D4S3 0x08
15179 #define _CLC4SEL3_LC4D4S4 0x10
15180 #define _CLC4SEL3_D4S4 0x10
15181 #define _CLC4SEL3_LC4D4S5 0x20
15182 #define _CLC4SEL3_D4S5 0x20
15184 //==============================================================================
15187 //==============================================================================
15190 extern __at(0x0F34) __sfr CLC4GLS0
;
15196 unsigned LC4G1D1N
: 1;
15197 unsigned LC4G1D1T
: 1;
15198 unsigned LC4G1D2N
: 1;
15199 unsigned LC4G1D2T
: 1;
15200 unsigned LC4G1D3N
: 1;
15201 unsigned LC4G1D3T
: 1;
15202 unsigned LC4G1D4N
: 1;
15203 unsigned LC4G1D4T
: 1;
15217 } __CLC4GLS0bits_t
;
15219 extern __at(0x0F34) volatile __CLC4GLS0bits_t CLC4GLS0bits
;
15221 #define _CLC4GLS0_LC4G1D1N 0x01
15222 #define _CLC4GLS0_D1N 0x01
15223 #define _CLC4GLS0_LC4G1D1T 0x02
15224 #define _CLC4GLS0_D1T 0x02
15225 #define _CLC4GLS0_LC4G1D2N 0x04
15226 #define _CLC4GLS0_D2N 0x04
15227 #define _CLC4GLS0_LC4G1D2T 0x08
15228 #define _CLC4GLS0_D2T 0x08
15229 #define _CLC4GLS0_LC4G1D3N 0x10
15230 #define _CLC4GLS0_D3N 0x10
15231 #define _CLC4GLS0_LC4G1D3T 0x20
15232 #define _CLC4GLS0_D3T 0x20
15233 #define _CLC4GLS0_LC4G1D4N 0x40
15234 #define _CLC4GLS0_D4N 0x40
15235 #define _CLC4GLS0_LC4G1D4T 0x80
15236 #define _CLC4GLS0_D4T 0x80
15238 //==============================================================================
15241 //==============================================================================
15244 extern __at(0x0F35) __sfr CLC4GLS1
;
15250 unsigned LC4G2D1N
: 1;
15251 unsigned LC4G2D1T
: 1;
15252 unsigned LC4G2D2N
: 1;
15253 unsigned LC4G2D2T
: 1;
15254 unsigned LC4G2D3N
: 1;
15255 unsigned LC4G2D3T
: 1;
15256 unsigned LC4G2D4N
: 1;
15257 unsigned LC4G2D4T
: 1;
15271 } __CLC4GLS1bits_t
;
15273 extern __at(0x0F35) volatile __CLC4GLS1bits_t CLC4GLS1bits
;
15275 #define _CLC4GLS1_LC4G2D1N 0x01
15276 #define _CLC4GLS1_D1N 0x01
15277 #define _CLC4GLS1_LC4G2D1T 0x02
15278 #define _CLC4GLS1_D1T 0x02
15279 #define _CLC4GLS1_LC4G2D2N 0x04
15280 #define _CLC4GLS1_D2N 0x04
15281 #define _CLC4GLS1_LC4G2D2T 0x08
15282 #define _CLC4GLS1_D2T 0x08
15283 #define _CLC4GLS1_LC4G2D3N 0x10
15284 #define _CLC4GLS1_D3N 0x10
15285 #define _CLC4GLS1_LC4G2D3T 0x20
15286 #define _CLC4GLS1_D3T 0x20
15287 #define _CLC4GLS1_LC4G2D4N 0x40
15288 #define _CLC4GLS1_D4N 0x40
15289 #define _CLC4GLS1_LC4G2D4T 0x80
15290 #define _CLC4GLS1_D4T 0x80
15292 //==============================================================================
15295 //==============================================================================
15298 extern __at(0x0F36) __sfr CLC4GLS2
;
15304 unsigned LC4G3D1N
: 1;
15305 unsigned LC4G3D1T
: 1;
15306 unsigned LC4G3D2N
: 1;
15307 unsigned LC4G3D2T
: 1;
15308 unsigned LC4G3D3N
: 1;
15309 unsigned LC4G3D3T
: 1;
15310 unsigned LC4G3D4N
: 1;
15311 unsigned LC4G3D4T
: 1;
15325 } __CLC4GLS2bits_t
;
15327 extern __at(0x0F36) volatile __CLC4GLS2bits_t CLC4GLS2bits
;
15329 #define _CLC4GLS2_LC4G3D1N 0x01
15330 #define _CLC4GLS2_D1N 0x01
15331 #define _CLC4GLS2_LC4G3D1T 0x02
15332 #define _CLC4GLS2_D1T 0x02
15333 #define _CLC4GLS2_LC4G3D2N 0x04
15334 #define _CLC4GLS2_D2N 0x04
15335 #define _CLC4GLS2_LC4G3D2T 0x08
15336 #define _CLC4GLS2_D2T 0x08
15337 #define _CLC4GLS2_LC4G3D3N 0x10
15338 #define _CLC4GLS2_D3N 0x10
15339 #define _CLC4GLS2_LC4G3D3T 0x20
15340 #define _CLC4GLS2_D3T 0x20
15341 #define _CLC4GLS2_LC4G3D4N 0x40
15342 #define _CLC4GLS2_D4N 0x40
15343 #define _CLC4GLS2_LC4G3D4T 0x80
15344 #define _CLC4GLS2_D4T 0x80
15346 //==============================================================================
15349 //==============================================================================
15352 extern __at(0x0F37) __sfr CLC4GLS3
;
15358 unsigned LC4G4D1N
: 1;
15359 unsigned LC4G4D1T
: 1;
15360 unsigned LC4G4D2N
: 1;
15361 unsigned LC4G4D2T
: 1;
15362 unsigned LC4G4D3N
: 1;
15363 unsigned LC4G4D3T
: 1;
15364 unsigned LC4G4D4N
: 1;
15365 unsigned LC4G4D4T
: 1;
15370 unsigned G4D1N
: 1;
15371 unsigned G4D1T
: 1;
15372 unsigned G4D2N
: 1;
15373 unsigned G4D2T
: 1;
15374 unsigned G4D3N
: 1;
15375 unsigned G4D3T
: 1;
15376 unsigned G4D4N
: 1;
15377 unsigned G4D4T
: 1;
15379 } __CLC4GLS3bits_t
;
15381 extern __at(0x0F37) volatile __CLC4GLS3bits_t CLC4GLS3bits
;
15383 #define _CLC4GLS3_LC4G4D1N 0x01
15384 #define _CLC4GLS3_G4D1N 0x01
15385 #define _CLC4GLS3_LC4G4D1T 0x02
15386 #define _CLC4GLS3_G4D1T 0x02
15387 #define _CLC4GLS3_LC4G4D2N 0x04
15388 #define _CLC4GLS3_G4D2N 0x04
15389 #define _CLC4GLS3_LC4G4D2T 0x08
15390 #define _CLC4GLS3_G4D2T 0x08
15391 #define _CLC4GLS3_LC4G4D3N 0x10
15392 #define _CLC4GLS3_G4D3N 0x10
15393 #define _CLC4GLS3_LC4G4D3T 0x20
15394 #define _CLC4GLS3_G4D3T 0x20
15395 #define _CLC4GLS3_LC4G4D4N 0x40
15396 #define _CLC4GLS3_G4D4N 0x40
15397 #define _CLC4GLS3_LC4G4D4T 0x80
15398 #define _CLC4GLS3_G4D4T 0x80
15400 //==============================================================================
15403 //==============================================================================
15404 // STATUS_SHAD Bits
15406 extern __at(0x0FE4) __sfr STATUS_SHAD
;
15410 unsigned C_SHAD
: 1;
15411 unsigned DC_SHAD
: 1;
15412 unsigned Z_SHAD
: 1;
15418 } __STATUS_SHADbits_t
;
15420 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits
;
15422 #define _C_SHAD 0x01
15423 #define _DC_SHAD 0x02
15424 #define _Z_SHAD 0x04
15426 //==============================================================================
15428 extern __at(0x0FE5) __sfr WREG_SHAD
;
15429 extern __at(0x0FE6) __sfr BSR_SHAD
;
15430 extern __at(0x0FE7) __sfr PCLATH_SHAD
;
15431 extern __at(0x0FE8) __sfr FSR0L_SHAD
;
15432 extern __at(0x0FE9) __sfr FSR0H_SHAD
;
15433 extern __at(0x0FEA) __sfr FSR1L_SHAD
;
15434 extern __at(0x0FEB) __sfr FSR1H_SHAD
;
15435 extern __at(0x0FED) __sfr STKPTR
;
15436 extern __at(0x0FEE) __sfr TOSL
;
15437 extern __at(0x0FEF) __sfr TOSH
;
15439 //==============================================================================
15441 // Configuration Bits
15443 //==============================================================================
15445 #define _CONFIG1 0x8007
15446 #define _CONFIG2 0x8008
15447 #define _CONFIG3 0x8009
15449 //----------------------------- CONFIG1 Options -------------------------------
15451 #define _FOSC_HS 0x3FFA // HS Oscillator, High-speed crystal/resonator connected between OSC1 and OSC2 pins.
15452 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator: I/O function on CLKIN pin.
15453 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins.
15454 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins.
15455 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins.
15456 #define _PWRTE_ON 0x3FDF // PWRT enabled.
15457 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
15458 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
15459 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
15460 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
15461 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
15462 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
15463 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
15464 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
15465 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
15466 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
15467 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
15468 #define _IESO_OFF 0x2FFF // Internal External Switch Over mode is disabled.
15469 #define _IESO_ON 0x3FFF // Internal External Switch Over mode is enabled.
15470 #define _FCMEN_OFF 0x1FFF // Fail-Safe Clock Monitor is disabled.
15471 #define _FCMEN_ON 0x3FFF // Fail-Safe Clock Monitor is enabled.
15473 //----------------------------- CONFIG2 Options -------------------------------
15475 #define _WRT_ALL 0x3FFC // 000h to 1FFFh write protected, no addresses may be modified by PMCON control.
15476 #define _WRT_HALF 0x3FFD // 000h to FFFh write protected, 1000h to 1FFFh may be modified by PMCON control.
15477 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to 1FFFh may be modified by PMCON control.
15478 #define _WRT_OFF 0x3FFF // Write protection off.
15479 #define _PPS1WAY_OFF 0x3FFB // The PPSLOCK bit can be set and cleared repeatedly by software.
15480 #define _PPS1WAY_ON 0x3FFF // The PPSLOCK bit cannot be cleared once it is set by software.
15481 #define _ZCD_ON 0x3F7F // ZCD always enabled.
15482 #define _ZCD_OFF 0x3FFF // ZCD disable. ZCD can be enabled by setting the ZCDSEN bit of ZCDCON.
15483 #define _PLLEN_OFF 0x3EFF // 4x PLL is enabled when software sets the SPLLEN bit.
15484 #define _PLLEN_ON 0x3FFF // 4x PLL is always enabled.
15485 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
15486 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
15487 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
15488 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
15489 #define _LPBOR_ON 0x37FF // Low-Power BOR is enabled.
15490 #define _LPBOR_OFF 0x3FFF // Low-Power BOR is disabled.
15491 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
15492 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
15493 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
15494 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
15496 //----------------------------- CONFIG3 Options -------------------------------
15498 #define _WDTCPS_WDTCPS0 0x3FE0 // 1:32 (1 ms period).
15499 #define _WDTCPS_WDTCPS1 0x3FE1 // 1:64 (2 ms period).
15500 #define _WDTCPS_WDTCPS2 0x3FE2 // 1:128 (4 ms period).
15501 #define _WDTCPS_WDTCPS3 0x3FE3 // 1:256 (8 ms period).
15502 #define _WDTCPS_WDTCPS4 0x3FE4 // 1:512 (16 ms period).
15503 #define _WDTCPS_WDTCPS5 0x3FE5 // 1:1024 (32 ms period).
15504 #define _WDTCPS_WDTCPS6 0x3FE6 // 1:2048 (64 ms period).
15505 #define _WDTCPS_WDTCPS7 0x3FE7 // 1:4096 (128 ms period).
15506 #define _WDTCPS_WDTCPS8 0x3FE8 // 1:8192 (256 ms period).
15507 #define _WDTCPS_WDTCPS9 0x3FE9 // 1:16384 (512 ms period).
15508 #define _WDTCPS_WDTCPSA 0x3FEA // 1:32768 (1 s period).
15509 #define _WDTCPS_WDTCPSB 0x3FEB // 1:65536 (2 s period).
15510 #define _WDTCPS_WDTCPSC 0x3FEC // 1:131072 (4 s period).
15511 #define _WDTCPS_WDTCPSD 0x3FED // 1:262144 (8 s period).
15512 #define _WDTCPS_WDTCPSE 0x3FEE // 1:524299 (16 s period).
15513 #define _WDTCPS_WDTCPSF 0x3FEF // 1:1048576 (32 s period).
15514 #define _WDTCPS_WDTCPS10 0x3FF0 // 1:2097152 (64 s period).
15515 #define _WDTCPS_WDTCPS11 0x3FF1 // 1:4194304 (128 s period).
15516 #define _WDTCPS_WDTCPS12 0x3FF2 // 1:8388608 (256 s period).
15517 #define _WDTCPS_WDTCPS1F 0x3FFF // Software Control (WDTPS).
15518 #define _WDTE_OFF 0x3F9F // WDT disabled.
15519 #define _WDTE_SWDTEN 0x3FBF // WDT controlled by the SWDTEN bit in the WDTCON register.
15520 #define _WDTE_NSLEEP 0x3FDF // WDT enabled while running and disabled in Sleep.
15521 #define _WDTE_ON 0x3FFF // WDT enabled.
15522 #define _WDTCWS_WDTCWS125 0x38FF // 12.5 percent window open time.
15523 #define _WDTCWS_WDTCWS25 0x39FF // 25 percent window open time.
15524 #define _WDTCWS_WDTCWS375 0x3AFF // 37.5 percent window open time.
15525 #define _WDTCWS_WDTCWS50 0x3BFF // 50 percent window open time.
15526 #define _WDTCWS_WDTCWS625 0x3CFF // 62.5 percent window open time.
15527 #define _WDTCWS_WDTCWS75 0x3DFF // 75 percent window open time.
15528 #define _WDTCWS_WDTCWS100 0x3EFF // 100 percent window open time (Legacy WDT).
15529 #define _WDTCWS_WDTCWSSW 0x3FFF // Software WDT window size control (WDTWS bits).
15530 #define _WDTCCS_LFINTOSC 0x07FF // 31.0kHz LFINTOSC.
15531 #define _WDTCCS_MFINTOSC 0x0FFF // 31.25 kHz HFINTOSC (MFINTOSC).
15532 #define _WDTCCS_SWC 0x3FFF // Software control, controlled by WDTCS bits.
15534 //==============================================================================
15536 #define _DEVID1 0x8006
15538 #define _IDLOC0 0x8000
15539 #define _IDLOC1 0x8001
15540 #define _IDLOC2 0x8002
15541 #define _IDLOC3 0x8003
15543 //==============================================================================
15545 #ifndef NO_BIT_DEFINES
15547 #define ADON ADCON0bits.ADON // bit 0
15548 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
15549 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
15550 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
15551 #define CHS0 ADCON0bits.CHS0 // bit 2
15552 #define CHS1 ADCON0bits.CHS1 // bit 3
15553 #define CHS2 ADCON0bits.CHS2 // bit 4
15554 #define CHS3 ADCON0bits.CHS3 // bit 5
15555 #define CHS4 ADCON0bits.CHS4 // bit 6
15557 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
15558 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
15559 #define ADCS0 ADCON1bits.ADCS0 // bit 4
15560 #define ADCS1 ADCON1bits.ADCS1 // bit 5
15561 #define ADCS2 ADCON1bits.ADCS2 // bit 6
15562 #define ADFM ADCON1bits.ADFM // bit 7
15564 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 4
15565 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 5
15566 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 6
15567 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 7
15569 #define ANSA0 ANSELAbits.ANSA0 // bit 0
15570 #define ANSA1 ANSELAbits.ANSA1 // bit 1
15571 #define ANSA2 ANSELAbits.ANSA2 // bit 2
15572 #define ANSA4 ANSELAbits.ANSA4 // bit 4
15574 #define ANSC0 ANSELCbits.ANSC0 // bit 0
15575 #define ANSC1 ANSELCbits.ANSC1 // bit 1
15576 #define ANSC2 ANSELCbits.ANSC2 // bit 2
15577 #define ANSC3 ANSELCbits.ANSC3 // bit 3
15579 #define AT1CC18 AT1CC1Hbits.AT1CC18 // bit 0, shadows bit in AT1CC1Hbits
15580 #define CC18 AT1CC1Hbits.CC18 // bit 0, shadows bit in AT1CC1Hbits
15581 #define AT1CC19 AT1CC1Hbits.AT1CC19 // bit 1, shadows bit in AT1CC1Hbits
15582 #define CC19 AT1CC1Hbits.CC19 // bit 1, shadows bit in AT1CC1Hbits
15584 #define AT1CC10 AT1CC1Lbits.AT1CC10 // bit 0, shadows bit in AT1CC1Lbits
15585 #define CC10 AT1CC1Lbits.CC10 // bit 0, shadows bit in AT1CC1Lbits
15586 #define AT1CC11 AT1CC1Lbits.AT1CC11 // bit 1, shadows bit in AT1CC1Lbits
15587 #define CC11 AT1CC1Lbits.CC11 // bit 1, shadows bit in AT1CC1Lbits
15588 #define AT1CC12 AT1CC1Lbits.AT1CC12 // bit 2, shadows bit in AT1CC1Lbits
15589 #define CC12 AT1CC1Lbits.CC12 // bit 2, shadows bit in AT1CC1Lbits
15590 #define AT1CC13 AT1CC1Lbits.AT1CC13 // bit 3, shadows bit in AT1CC1Lbits
15591 #define CC13 AT1CC1Lbits.CC13 // bit 3, shadows bit in AT1CC1Lbits
15592 #define AT1CC14 AT1CC1Lbits.AT1CC14 // bit 4, shadows bit in AT1CC1Lbits
15593 #define CC14 AT1CC1Lbits.CC14 // bit 4, shadows bit in AT1CC1Lbits
15594 #define AT1CC15 AT1CC1Lbits.AT1CC15 // bit 5, shadows bit in AT1CC1Lbits
15595 #define CC15 AT1CC1Lbits.CC15 // bit 5, shadows bit in AT1CC1Lbits
15596 #define AT1CC16 AT1CC1Lbits.AT1CC16 // bit 6, shadows bit in AT1CC1Lbits
15597 #define CC16 AT1CC1Lbits.CC16 // bit 6, shadows bit in AT1CC1Lbits
15598 #define AT1CC17 AT1CC1Lbits.AT1CC17 // bit 7, shadows bit in AT1CC1Lbits
15599 #define CC17 AT1CC1Lbits.CC17 // bit 7, shadows bit in AT1CC1Lbits
15601 #define AT1CC28 AT1CC2Hbits.AT1CC28 // bit 0, shadows bit in AT1CC2Hbits
15602 #define CC28 AT1CC2Hbits.CC28 // bit 0, shadows bit in AT1CC2Hbits
15603 #define AT1CC29 AT1CC2Hbits.AT1CC29 // bit 1, shadows bit in AT1CC2Hbits
15604 #define CC29 AT1CC2Hbits.CC29 // bit 1, shadows bit in AT1CC2Hbits
15606 #define AT1CC38 AT1CC3Hbits.AT1CC38 // bit 0, shadows bit in AT1CC3Hbits
15607 #define CC38 AT1CC3Hbits.CC38 // bit 0, shadows bit in AT1CC3Hbits
15608 #define AT1CC39 AT1CC3Hbits.AT1CC39 // bit 1, shadows bit in AT1CC3Hbits
15609 #define CC39 AT1CC3Hbits.CC39 // bit 1, shadows bit in AT1CC3Hbits
15611 #define AT1CC30 AT1CC3Lbits.AT1CC30 // bit 0, shadows bit in AT1CC3Lbits
15612 #define CC30 AT1CC3Lbits.CC30 // bit 0, shadows bit in AT1CC3Lbits
15613 #define AT1CC31 AT1CC3Lbits.AT1CC31 // bit 1, shadows bit in AT1CC3Lbits
15614 #define CC31 AT1CC3Lbits.CC31 // bit 1, shadows bit in AT1CC3Lbits
15615 #define AT1CC32 AT1CC3Lbits.AT1CC32 // bit 2, shadows bit in AT1CC3Lbits
15616 #define CC32 AT1CC3Lbits.CC32 // bit 2, shadows bit in AT1CC3Lbits
15617 #define AT1CC33 AT1CC3Lbits.AT1CC33 // bit 3, shadows bit in AT1CC3Lbits
15618 #define CC33 AT1CC3Lbits.CC33 // bit 3, shadows bit in AT1CC3Lbits
15619 #define AT1CC34 AT1CC3Lbits.AT1CC34 // bit 4, shadows bit in AT1CC3Lbits
15620 #define CC34 AT1CC3Lbits.CC34 // bit 4, shadows bit in AT1CC3Lbits
15621 #define AT1CC35 AT1CC3Lbits.AT1CC35 // bit 5, shadows bit in AT1CC3Lbits
15622 #define CC35 AT1CC3Lbits.CC35 // bit 5, shadows bit in AT1CC3Lbits
15623 #define AT1CC36 AT1CC3Lbits.AT1CC36 // bit 6, shadows bit in AT1CC3Lbits
15624 #define CC36 AT1CC3Lbits.CC36 // bit 6, shadows bit in AT1CC3Lbits
15625 #define AT1CC37 AT1CC3Lbits.AT1CC37 // bit 7, shadows bit in AT1CC3Lbits
15626 #define CC37 AT1CC3Lbits.CC37 // bit 7, shadows bit in AT1CC3Lbits
15628 #define AT1CC1MODE AT1CCON1bits.AT1CC1MODE // bit 0, shadows bit in AT1CCON1bits
15629 #define CC1MODE AT1CCON1bits.CC1MODE // bit 0, shadows bit in AT1CCON1bits
15630 #define AT1CAP1P AT1CCON1bits.AT1CAP1P // bit 3, shadows bit in AT1CCON1bits
15631 #define CAP1P AT1CCON1bits.CAP1P // bit 3, shadows bit in AT1CCON1bits
15632 #define AT1CC1POL AT1CCON1bits.AT1CC1POL // bit 4, shadows bit in AT1CCON1bits
15633 #define CC1POL AT1CCON1bits.CC1POL // bit 4, shadows bit in AT1CCON1bits
15634 #define AT1CC1EN AT1CCON1bits.AT1CC1EN // bit 7, shadows bit in AT1CCON1bits
15635 #define CC1EN AT1CCON1bits.CC1EN // bit 7, shadows bit in AT1CCON1bits
15637 #define AT1CC2MODE AT1CCON2bits.AT1CC2MODE // bit 0, shadows bit in AT1CCON2bits
15638 #define CC2MODE AT1CCON2bits.CC2MODE // bit 0, shadows bit in AT1CCON2bits
15639 #define AT1CAP2P AT1CCON2bits.AT1CAP2P // bit 3, shadows bit in AT1CCON2bits
15640 #define CAP2P AT1CCON2bits.CAP2P // bit 3, shadows bit in AT1CCON2bits
15641 #define AT1CC2POL AT1CCON2bits.AT1CC2POL // bit 4, shadows bit in AT1CCON2bits
15642 #define CC2POL AT1CCON2bits.CC2POL // bit 4, shadows bit in AT1CCON2bits
15643 #define AT1CC2EN AT1CCON2bits.AT1CC2EN // bit 7, shadows bit in AT1CCON2bits
15644 #define CC2EN AT1CCON2bits.CC2EN // bit 7, shadows bit in AT1CCON2bits
15646 #define AT1CC3MODE AT1CCON3bits.AT1CC3MODE // bit 0, shadows bit in AT1CCON3bits
15647 #define CC3MODE AT1CCON3bits.CC3MODE // bit 0, shadows bit in AT1CCON3bits
15648 #define AT1CAP3P AT1CCON3bits.AT1CAP3P // bit 3, shadows bit in AT1CCON3bits
15649 #define CAP3P AT1CCON3bits.CAP3P // bit 3, shadows bit in AT1CCON3bits
15650 #define AT1CC3POL AT1CCON3bits.AT1CC3POL // bit 4, shadows bit in AT1CCON3bits
15651 #define CC3POL AT1CCON3bits.CC3POL // bit 4, shadows bit in AT1CCON3bits
15652 #define AT1CC3EN AT1CCON3bits.AT1CC3EN // bit 7, shadows bit in AT1CCON3bits
15653 #define CC3EN AT1CCON3bits.CC3EN // bit 7, shadows bit in AT1CCON3bits
15655 #define CS AT1CLKbits.CS // bit 0, shadows bit in AT1CLKbits
15656 #define AT1CS AT1CLKbits.AT1CS // bit 0, shadows bit in AT1CLKbits
15657 #define CS0 AT1CLKbits.CS0 // bit 0, shadows bit in AT1CLKbits
15658 #define AT1CS0 AT1CLKbits.AT1CS0 // bit 0, shadows bit in AT1CLKbits
15660 #define MODE AT1CON0bits.MODE // bit 0, shadows bit in AT1CON0bits
15661 #define AT1MODE AT1CON0bits.AT1MODE // bit 0, shadows bit in AT1CON0bits
15662 #define APMOD AT1CON0bits.APMOD // bit 1, shadows bit in AT1CON0bits
15663 #define AT1APMOD AT1CON0bits.AT1APMOD // bit 1, shadows bit in AT1CON0bits
15664 #define POL AT1CON0bits.POL // bit 3, shadows bit in AT1CON0bits
15665 #define AT1POL AT1CON0bits.AT1POL // bit 3, shadows bit in AT1CON0bits
15666 #define PS0 AT1CON0bits.PS0 // bit 4, shadows bit in AT1CON0bits
15667 #define AT1PS0 AT1CON0bits.AT1PS0 // bit 4, shadows bit in AT1CON0bits
15668 #define PS1 AT1CON0bits.PS1 // bit 5, shadows bit in AT1CON0bits
15669 #define AT1PS1 AT1CON0bits.AT1PS1 // bit 5, shadows bit in AT1CON0bits
15670 #define PREC AT1CON0bits.PREC // bit 6, shadows bit in AT1CON0bits
15671 #define AT1PREC AT1CON0bits.AT1PREC // bit 6, shadows bit in AT1CON0bits
15672 #define EN AT1CON0bits.EN // bit 7, shadows bit in AT1CON0bits
15673 #define AT1EN AT1CON0bits.AT1EN // bit 7, shadows bit in AT1CON0bits
15675 #define VALID AT1CON1bits.VALID // bit 0, shadows bit in AT1CON1bits
15676 #define AT1VALID AT1CON1bits.AT1VALID // bit 0, shadows bit in AT1CON1bits
15677 #define ACCS AT1CON1bits.ACCS // bit 1, shadows bit in AT1CON1bits
15678 #define AT1ACCS AT1CON1bits.AT1ACCS // bit 1, shadows bit in AT1CON1bits
15679 #define MPP AT1CON1bits.MPP // bit 2, shadows bit in AT1CON1bits
15680 #define AT1MPP AT1CON1bits.AT1MPP // bit 2, shadows bit in AT1CON1bits
15681 #define PRP AT1CON1bits.PRP // bit 4, shadows bit in AT1CON1bits
15682 #define AT1PRP AT1CON1bits.AT1PRP // bit 4, shadows bit in AT1CON1bits
15683 #define PHP AT1CON1bits.PHP // bit 6, shadows bit in AT1CON1bits
15684 #define AT1PHP AT1CON1bits.AT1PHP // bit 6, shadows bit in AT1CON1bits
15686 #define AT1CP1S0 AT1CSEL1bits.AT1CP1S0 // bit 0, shadows bit in AT1CSEL1bits
15687 #define CP1S0 AT1CSEL1bits.CP1S0 // bit 0, shadows bit in AT1CSEL1bits
15688 #define AT1CP1S1 AT1CSEL1bits.AT1CP1S1 // bit 1, shadows bit in AT1CSEL1bits
15689 #define CP1S1 AT1CSEL1bits.CP1S1 // bit 1, shadows bit in AT1CSEL1bits
15690 #define AT1CP1S2 AT1CSEL1bits.AT1CP1S2 // bit 2, shadows bit in AT1CSEL1bits
15691 #define CP1S2 AT1CSEL1bits.CP1S2 // bit 2, shadows bit in AT1CSEL1bits
15693 #define AT1CP2S0 AT1CSEL2bits.AT1CP2S0 // bit 0, shadows bit in AT1CSEL2bits
15694 #define CP2S0 AT1CSEL2bits.CP2S0 // bit 0, shadows bit in AT1CSEL2bits
15695 #define AT1CP2S1 AT1CSEL2bits.AT1CP2S1 // bit 1, shadows bit in AT1CSEL2bits
15696 #define CP2S1 AT1CSEL2bits.CP2S1 // bit 1, shadows bit in AT1CSEL2bits
15697 #define AT1CP2S2 AT1CSEL2bits.AT1CP2S2 // bit 2, shadows bit in AT1CSEL2bits
15698 #define CP2S2 AT1CSEL2bits.CP2S2 // bit 2, shadows bit in AT1CSEL2bits
15700 #define AT1CP3S0 AT1CSEL3bits.AT1CP3S0 // bit 0, shadows bit in AT1CSEL3bits
15701 #define CP3S0 AT1CSEL3bits.CP3S0 // bit 0, shadows bit in AT1CSEL3bits
15702 #define AT1CP3S1 AT1CSEL3bits.AT1CP3S1 // bit 1, shadows bit in AT1CSEL3bits
15703 #define CP3S1 AT1CSEL3bits.CP3S1 // bit 1, shadows bit in AT1CSEL3bits
15704 #define AT1CP3S2 AT1CSEL3bits.AT1CP3S2 // bit 2, shadows bit in AT1CSEL3bits
15705 #define CP3S2 AT1CSEL3bits.CP3S2 // bit 2, shadows bit in AT1CSEL3bits
15707 #define AT1ERR8 AT1ERRHbits.AT1ERR8 // bit 0, shadows bit in AT1ERRHbits
15708 #define ERR8 AT1ERRHbits.ERR8 // bit 0, shadows bit in AT1ERRHbits
15709 #define ERRH0 AT1ERRHbits.ERRH0 // bit 0, shadows bit in AT1ERRHbits
15710 #define AT1ERR9 AT1ERRHbits.AT1ERR9 // bit 1, shadows bit in AT1ERRHbits
15711 #define ERR9 AT1ERRHbits.ERR9 // bit 1, shadows bit in AT1ERRHbits
15712 #define ERRH1 AT1ERRHbits.ERRH1 // bit 1, shadows bit in AT1ERRHbits
15713 #define AT1ERR10 AT1ERRHbits.AT1ERR10 // bit 2, shadows bit in AT1ERRHbits
15714 #define ERR10 AT1ERRHbits.ERR10 // bit 2, shadows bit in AT1ERRHbits
15715 #define ERRH2 AT1ERRHbits.ERRH2 // bit 2, shadows bit in AT1ERRHbits
15716 #define AT1ERR11 AT1ERRHbits.AT1ERR11 // bit 3, shadows bit in AT1ERRHbits
15717 #define ERR11 AT1ERRHbits.ERR11 // bit 3, shadows bit in AT1ERRHbits
15718 #define ERRH3 AT1ERRHbits.ERRH3 // bit 3, shadows bit in AT1ERRHbits
15719 #define AT1ERR12 AT1ERRHbits.AT1ERR12 // bit 4, shadows bit in AT1ERRHbits
15720 #define ERR12 AT1ERRHbits.ERR12 // bit 4, shadows bit in AT1ERRHbits
15721 #define ERRH4 AT1ERRHbits.ERRH4 // bit 4, shadows bit in AT1ERRHbits
15722 #define AT1ERR13 AT1ERRHbits.AT1ERR13 // bit 5, shadows bit in AT1ERRHbits
15723 #define ERR13 AT1ERRHbits.ERR13 // bit 5, shadows bit in AT1ERRHbits
15724 #define ERRH5 AT1ERRHbits.ERRH5 // bit 5, shadows bit in AT1ERRHbits
15725 #define AT1ERR14 AT1ERRHbits.AT1ERR14 // bit 6, shadows bit in AT1ERRHbits
15726 #define ERR14 AT1ERRHbits.ERR14 // bit 6, shadows bit in AT1ERRHbits
15727 #define ERRH6 AT1ERRHbits.ERRH6 // bit 6, shadows bit in AT1ERRHbits
15728 #define AT1ERR15 AT1ERRHbits.AT1ERR15 // bit 7, shadows bit in AT1ERRHbits
15729 #define ERR15 AT1ERRHbits.ERR15 // bit 7, shadows bit in AT1ERRHbits
15730 #define ERRH7 AT1ERRHbits.ERRH7 // bit 7, shadows bit in AT1ERRHbits
15732 #define AT1ERR0 AT1ERRLbits.AT1ERR0 // bit 0, shadows bit in AT1ERRLbits
15733 #define ERR0 AT1ERRLbits.ERR0 // bit 0, shadows bit in AT1ERRLbits
15734 #define ERRL0 AT1ERRLbits.ERRL0 // bit 0, shadows bit in AT1ERRLbits
15735 #define AT1ERR1 AT1ERRLbits.AT1ERR1 // bit 1, shadows bit in AT1ERRLbits
15736 #define ERR1 AT1ERRLbits.ERR1 // bit 1, shadows bit in AT1ERRLbits
15737 #define ERRL1 AT1ERRLbits.ERRL1 // bit 1, shadows bit in AT1ERRLbits
15738 #define AT1ERR2 AT1ERRLbits.AT1ERR2 // bit 2, shadows bit in AT1ERRLbits
15739 #define ERR2 AT1ERRLbits.ERR2 // bit 2, shadows bit in AT1ERRLbits
15740 #define ERRL2 AT1ERRLbits.ERRL2 // bit 2, shadows bit in AT1ERRLbits
15741 #define AT1ERR3 AT1ERRLbits.AT1ERR3 // bit 3, shadows bit in AT1ERRLbits
15742 #define ERR3 AT1ERRLbits.ERR3 // bit 3, shadows bit in AT1ERRLbits
15743 #define ERRL3 AT1ERRLbits.ERRL3 // bit 3, shadows bit in AT1ERRLbits
15744 #define AT1ERR4 AT1ERRLbits.AT1ERR4 // bit 4, shadows bit in AT1ERRLbits
15745 #define ERR4 AT1ERRLbits.ERR4 // bit 4, shadows bit in AT1ERRLbits
15746 #define ERRL4 AT1ERRLbits.ERRL4 // bit 4, shadows bit in AT1ERRLbits
15747 #define AT1ERR5 AT1ERRLbits.AT1ERR5 // bit 5, shadows bit in AT1ERRLbits
15748 #define ERR5 AT1ERRLbits.ERR5 // bit 5, shadows bit in AT1ERRLbits
15749 #define ERRL5 AT1ERRLbits.ERRL5 // bit 5, shadows bit in AT1ERRLbits
15750 #define AT1ERR6 AT1ERRLbits.AT1ERR6 // bit 6, shadows bit in AT1ERRLbits
15751 #define ERR6 AT1ERRLbits.ERR6 // bit 6, shadows bit in AT1ERRLbits
15752 #define ERRL6 AT1ERRLbits.ERRL6 // bit 6, shadows bit in AT1ERRLbits
15753 #define AT1ERR7 AT1ERRLbits.AT1ERR7 // bit 7, shadows bit in AT1ERRLbits
15754 #define ERR7 AT1ERRLbits.ERR7 // bit 7, shadows bit in AT1ERRLbits
15755 #define ERRL7 AT1ERRLbits.ERRL7 // bit 7, shadows bit in AT1ERRLbits
15757 #define AT1PERIE AT1IE0bits.AT1PERIE // bit 0
15758 #define AT1MISSIE AT1IE0bits.AT1MISSIE // bit 1
15759 #define AT1PHSIE AT1IE0bits.AT1PHSIE // bit 2
15761 #define AT1CC1IE AT1IE1bits.AT1CC1IE // bit 0
15762 #define AT1CC2IE AT1IE1bits.AT1CC2IE // bit 1
15763 #define AT1CC3IE AT1IE1bits.AT1CC3IE // bit 2
15765 #define AT1PERIF AT1IR0bits.AT1PERIF // bit 0
15766 #define AT1MISSIF AT1IR0bits.AT1MISSIF // bit 1
15767 #define AT1PHSIF AT1IR0bits.AT1PHSIF // bit 2
15769 #define AT1CC1IF AT1IR1bits.AT1CC1IF // bit 0
15770 #define AT1CC2IF AT1IR1bits.AT1CC2IF // bit 1
15771 #define AT1CC3IF AT1IR1bits.AT1CC3IF // bit 2
15773 #define AT1MISS8 AT1MISSHbits.AT1MISS8 // bit 0, shadows bit in AT1MISSHbits
15774 #define MISS8 AT1MISSHbits.MISS8 // bit 0, shadows bit in AT1MISSHbits
15775 #define AT1MISS9 AT1MISSHbits.AT1MISS9 // bit 1, shadows bit in AT1MISSHbits
15776 #define MISS9 AT1MISSHbits.MISS9 // bit 1, shadows bit in AT1MISSHbits
15777 #define AT1MISS10 AT1MISSHbits.AT1MISS10 // bit 2, shadows bit in AT1MISSHbits
15778 #define MISS10 AT1MISSHbits.MISS10 // bit 2, shadows bit in AT1MISSHbits
15779 #define AT1MISS11 AT1MISSHbits.AT1MISS11 // bit 3, shadows bit in AT1MISSHbits
15780 #define MISS11 AT1MISSHbits.MISS11 // bit 3, shadows bit in AT1MISSHbits
15781 #define AT1MISS12 AT1MISSHbits.AT1MISS12 // bit 4, shadows bit in AT1MISSHbits
15782 #define MISS12 AT1MISSHbits.MISS12 // bit 4, shadows bit in AT1MISSHbits
15783 #define AT1MISS13 AT1MISSHbits.AT1MISS13 // bit 5, shadows bit in AT1MISSHbits
15784 #define MISS13 AT1MISSHbits.MISS13 // bit 5, shadows bit in AT1MISSHbits
15785 #define AT1MISS14 AT1MISSHbits.AT1MISS14 // bit 6, shadows bit in AT1MISSHbits
15786 #define MISS14 AT1MISSHbits.MISS14 // bit 6, shadows bit in AT1MISSHbits
15787 #define AT1MISS15 AT1MISSHbits.AT1MISS15 // bit 7, shadows bit in AT1MISSHbits
15788 #define MISS15 AT1MISSHbits.MISS15 // bit 7, shadows bit in AT1MISSHbits
15790 #define AT1MISS0 AT1MISSLbits.AT1MISS0 // bit 0, shadows bit in AT1MISSLbits
15791 #define MISS0 AT1MISSLbits.MISS0 // bit 0, shadows bit in AT1MISSLbits
15792 #define AT1MISS1 AT1MISSLbits.AT1MISS1 // bit 1, shadows bit in AT1MISSLbits
15793 #define MISS1 AT1MISSLbits.MISS1 // bit 1, shadows bit in AT1MISSLbits
15794 #define AT1MISS2 AT1MISSLbits.AT1MISS2 // bit 2, shadows bit in AT1MISSLbits
15795 #define MISS2 AT1MISSLbits.MISS2 // bit 2, shadows bit in AT1MISSLbits
15796 #define AT1MISS3 AT1MISSLbits.AT1MISS3 // bit 3, shadows bit in AT1MISSLbits
15797 #define MISS3 AT1MISSLbits.MISS3 // bit 3, shadows bit in AT1MISSLbits
15798 #define AT1MISS4 AT1MISSLbits.AT1MISS4 // bit 4, shadows bit in AT1MISSLbits
15799 #define MISS4 AT1MISSLbits.MISS4 // bit 4, shadows bit in AT1MISSLbits
15800 #define AT1MISS5 AT1MISSLbits.AT1MISS5 // bit 5, shadows bit in AT1MISSLbits
15801 #define MISS5 AT1MISSLbits.MISS5 // bit 5, shadows bit in AT1MISSLbits
15802 #define AT1MISS6 AT1MISSLbits.AT1MISS6 // bit 6, shadows bit in AT1MISSLbits
15803 #define MISS6 AT1MISSLbits.MISS6 // bit 6, shadows bit in AT1MISSLbits
15804 #define AT1MISS7 AT1MISSLbits.AT1MISS7 // bit 7, shadows bit in AT1MISSLbits
15805 #define MISS7 AT1MISSLbits.MISS7 // bit 7, shadows bit in AT1MISSLbits
15807 #define AT1PER8 AT1PERHbits.AT1PER8 // bit 0, shadows bit in AT1PERHbits
15808 #define PER8 AT1PERHbits.PER8 // bit 0, shadows bit in AT1PERHbits
15809 #define PERH0 AT1PERHbits.PERH0 // bit 0, shadows bit in AT1PERHbits
15810 #define AT1PER9 AT1PERHbits.AT1PER9 // bit 1, shadows bit in AT1PERHbits
15811 #define PER9 AT1PERHbits.PER9 // bit 1, shadows bit in AT1PERHbits
15812 #define PERH1 AT1PERHbits.PERH1 // bit 1, shadows bit in AT1PERHbits
15813 #define AT1PER10 AT1PERHbits.AT1PER10 // bit 2, shadows bit in AT1PERHbits
15814 #define PER10 AT1PERHbits.PER10 // bit 2, shadows bit in AT1PERHbits
15815 #define PERH2 AT1PERHbits.PERH2 // bit 2, shadows bit in AT1PERHbits
15816 #define AT1PER11 AT1PERHbits.AT1PER11 // bit 3, shadows bit in AT1PERHbits
15817 #define PER11 AT1PERHbits.PER11 // bit 3, shadows bit in AT1PERHbits
15818 #define PERH3 AT1PERHbits.PERH3 // bit 3, shadows bit in AT1PERHbits
15819 #define AT1PER12 AT1PERHbits.AT1PER12 // bit 4, shadows bit in AT1PERHbits
15820 #define PER12 AT1PERHbits.PER12 // bit 4, shadows bit in AT1PERHbits
15821 #define PERH4 AT1PERHbits.PERH4 // bit 4, shadows bit in AT1PERHbits
15822 #define AT1PER13 AT1PERHbits.AT1PER13 // bit 5, shadows bit in AT1PERHbits
15823 #define PER13 AT1PERHbits.PER13 // bit 5, shadows bit in AT1PERHbits
15824 #define PERH5 AT1PERHbits.PERH5 // bit 5, shadows bit in AT1PERHbits
15825 #define AT1PER14 AT1PERHbits.AT1PER14 // bit 6, shadows bit in AT1PERHbits
15826 #define PER14 AT1PERHbits.PER14 // bit 6, shadows bit in AT1PERHbits
15827 #define PERH6 AT1PERHbits.PERH6 // bit 6, shadows bit in AT1PERHbits
15828 #define AT1POV AT1PERHbits.AT1POV // bit 7, shadows bit in AT1PERHbits
15829 #define PER15 AT1PERHbits.PER15 // bit 7, shadows bit in AT1PERHbits
15830 #define PERH7 AT1PERHbits.PERH7 // bit 7, shadows bit in AT1PERHbits
15832 #define AT1PER0 AT1PERLbits.AT1PER0 // bit 0, shadows bit in AT1PERLbits
15833 #define PER0 AT1PERLbits.PER0 // bit 0, shadows bit in AT1PERLbits
15834 #define PERL0 AT1PERLbits.PERL0 // bit 0, shadows bit in AT1PERLbits
15835 #define AT1PER1 AT1PERLbits.AT1PER1 // bit 1, shadows bit in AT1PERLbits
15836 #define PER1 AT1PERLbits.PER1 // bit 1, shadows bit in AT1PERLbits
15837 #define PERL1 AT1PERLbits.PERL1 // bit 1, shadows bit in AT1PERLbits
15838 #define AT1PER2 AT1PERLbits.AT1PER2 // bit 2, shadows bit in AT1PERLbits
15839 #define PER2 AT1PERLbits.PER2 // bit 2, shadows bit in AT1PERLbits
15840 #define PERL2 AT1PERLbits.PERL2 // bit 2, shadows bit in AT1PERLbits
15841 #define AT1PER3 AT1PERLbits.AT1PER3 // bit 3, shadows bit in AT1PERLbits
15842 #define PER3 AT1PERLbits.PER3 // bit 3, shadows bit in AT1PERLbits
15843 #define PERL3 AT1PERLbits.PERL3 // bit 3, shadows bit in AT1PERLbits
15844 #define AT1PER4 AT1PERLbits.AT1PER4 // bit 4, shadows bit in AT1PERLbits
15845 #define PER4 AT1PERLbits.PER4 // bit 4, shadows bit in AT1PERLbits
15846 #define PERL4 AT1PERLbits.PERL4 // bit 4, shadows bit in AT1PERLbits
15847 #define AT1PER5 AT1PERLbits.AT1PER5 // bit 5, shadows bit in AT1PERLbits
15848 #define PER5 AT1PERLbits.PER5 // bit 5, shadows bit in AT1PERLbits
15849 #define PERL5 AT1PERLbits.PERL5 // bit 5, shadows bit in AT1PERLbits
15850 #define AT1PER6 AT1PERLbits.AT1PER6 // bit 6, shadows bit in AT1PERLbits
15851 #define PER6 AT1PERLbits.PER6 // bit 6, shadows bit in AT1PERLbits
15852 #define PERL6 AT1PERLbits.PERL6 // bit 6, shadows bit in AT1PERLbits
15853 #define AT1PER7 AT1PERLbits.AT1PER7 // bit 7, shadows bit in AT1PERLbits
15854 #define PER7 AT1PERLbits.PER7 // bit 7, shadows bit in AT1PERLbits
15855 #define PERL7 AT1PERLbits.PERL7 // bit 7, shadows bit in AT1PERLbits
15857 #define AT1PHS8 AT1PHSHbits.AT1PHS8 // bit 0, shadows bit in AT1PHSHbits
15858 #define PHS8 AT1PHSHbits.PHS8 // bit 0, shadows bit in AT1PHSHbits
15859 #define PHSL8 AT1PHSHbits.PHSL8 // bit 0, shadows bit in AT1PHSHbits
15860 #define AT1PHS9 AT1PHSHbits.AT1PHS9 // bit 1, shadows bit in AT1PHSHbits
15861 #define PHS9 AT1PHSHbits.PHS9 // bit 1, shadows bit in AT1PHSHbits
15862 #define PHSL9 AT1PHSHbits.PHSL9 // bit 1, shadows bit in AT1PHSHbits
15864 #define AT1PHS0 AT1PHSLbits.AT1PHS0 // bit 0, shadows bit in AT1PHSLbits
15865 #define PHS0 AT1PHSLbits.PHS0 // bit 0, shadows bit in AT1PHSLbits
15866 #define AT1PHS1 AT1PHSLbits.AT1PHS1 // bit 1, shadows bit in AT1PHSLbits
15867 #define PHS1 AT1PHSLbits.PHS1 // bit 1, shadows bit in AT1PHSLbits
15868 #define AT1PHS2 AT1PHSLbits.AT1PHS2 // bit 2, shadows bit in AT1PHSLbits
15869 #define PHS2 AT1PHSLbits.PHS2 // bit 2, shadows bit in AT1PHSLbits
15870 #define AT1PHS3 AT1PHSLbits.AT1PHS3 // bit 3, shadows bit in AT1PHSLbits
15871 #define PHS3 AT1PHSLbits.PHS3 // bit 3, shadows bit in AT1PHSLbits
15872 #define AT1PHS4 AT1PHSLbits.AT1PHS4 // bit 4, shadows bit in AT1PHSLbits
15873 #define PHS4 AT1PHSLbits.PHS4 // bit 4, shadows bit in AT1PHSLbits
15874 #define AT1PHS5 AT1PHSLbits.AT1PHS5 // bit 5, shadows bit in AT1PHSLbits
15875 #define PHS5 AT1PHSLbits.PHS5 // bit 5, shadows bit in AT1PHSLbits
15876 #define AT1PHS6 AT1PHSLbits.AT1PHS6 // bit 6, shadows bit in AT1PHSLbits
15877 #define PHS6 AT1PHSLbits.PHS6 // bit 6, shadows bit in AT1PHSLbits
15878 #define AT1PHS7 AT1PHSLbits.AT1PHS7 // bit 7, shadows bit in AT1PHSLbits
15879 #define PHS7 AT1PHSLbits.PHS7 // bit 7, shadows bit in AT1PHSLbits
15881 #define AT1RES8 AT1RESHbits.AT1RES8 // bit 0, shadows bit in AT1RESHbits
15882 #define RES8 AT1RESHbits.RES8 // bit 0, shadows bit in AT1RESHbits
15883 #define AT1RES9 AT1RESHbits.AT1RES9 // bit 1, shadows bit in AT1RESHbits
15884 #define RES9 AT1RESHbits.RES9 // bit 1, shadows bit in AT1RESHbits
15886 #define AT1RES0 AT1RESLbits.AT1RES0 // bit 0, shadows bit in AT1RESLbits
15887 #define RES0 AT1RESLbits.RES0 // bit 0, shadows bit in AT1RESLbits
15888 #define AT1RES1 AT1RESLbits.AT1RES1 // bit 1, shadows bit in AT1RESLbits
15889 #define RES1 AT1RESLbits.RES1 // bit 1, shadows bit in AT1RESLbits
15890 #define AT1RES2 AT1RESLbits.AT1RES2 // bit 2, shadows bit in AT1RESLbits
15891 #define RES2 AT1RESLbits.RES2 // bit 2, shadows bit in AT1RESLbits
15892 #define AT1RES3 AT1RESLbits.AT1RES3 // bit 3, shadows bit in AT1RESLbits
15893 #define RES3 AT1RESLbits.RES3 // bit 3, shadows bit in AT1RESLbits
15894 #define AT1RES4 AT1RESLbits.AT1RES4 // bit 4, shadows bit in AT1RESLbits
15895 #define RES4 AT1RESLbits.RES4 // bit 4, shadows bit in AT1RESLbits
15896 #define AT1RES5 AT1RESLbits.AT1RES5 // bit 5, shadows bit in AT1RESLbits
15897 #define RES5 AT1RESLbits.RES5 // bit 5, shadows bit in AT1RESLbits
15898 #define AT1RES6 AT1RESLbits.AT1RES6 // bit 6, shadows bit in AT1RESLbits
15899 #define RES6 AT1RESLbits.RES6 // bit 6, shadows bit in AT1RESLbits
15900 #define AT1RES7 AT1RESLbits.AT1RES7 // bit 7, shadows bit in AT1RESLbits
15901 #define RES7 AT1RESLbits.RES7 // bit 7, shadows bit in AT1RESLbits
15903 #define AT1SSEL0 AT1SIGbits.AT1SSEL0 // bit 0, shadows bit in AT1SIGbits
15904 #define SSEL0 AT1SIGbits.SSEL0 // bit 0, shadows bit in AT1SIGbits
15905 #define AT1SSEL1 AT1SIGbits.AT1SSEL1 // bit 1, shadows bit in AT1SIGbits
15906 #define SSEL1 AT1SIGbits.SSEL1 // bit 1, shadows bit in AT1SIGbits
15907 #define AT1SSEL2 AT1SIGbits.AT1SSEL2 // bit 2, shadows bit in AT1SIGbits
15908 #define SSEL2 AT1SIGbits.SSEL2 // bit 2, shadows bit in AT1SIGbits
15910 #define AT1STPT8 AT1STPTHbits.AT1STPT8 // bit 0, shadows bit in AT1STPTHbits
15911 #define STPT8 AT1STPTHbits.STPT8 // bit 0, shadows bit in AT1STPTHbits
15912 #define AT1STPT9 AT1STPTHbits.AT1STPT9 // bit 1, shadows bit in AT1STPTHbits
15913 #define STPT9 AT1STPTHbits.STPT9 // bit 1, shadows bit in AT1STPTHbits
15914 #define AT1STPT10 AT1STPTHbits.AT1STPT10 // bit 2, shadows bit in AT1STPTHbits
15915 #define STPT10 AT1STPTHbits.STPT10 // bit 2, shadows bit in AT1STPTHbits
15916 #define AT1STPT11 AT1STPTHbits.AT1STPT11 // bit 3, shadows bit in AT1STPTHbits
15917 #define STPT11 AT1STPTHbits.STPT11 // bit 3, shadows bit in AT1STPTHbits
15918 #define AT1STPT12 AT1STPTHbits.AT1STPT12 // bit 4, shadows bit in AT1STPTHbits
15919 #define STPT12 AT1STPTHbits.STPT12 // bit 4, shadows bit in AT1STPTHbits
15920 #define AT1STPT13 AT1STPTHbits.AT1STPT13 // bit 5, shadows bit in AT1STPTHbits
15921 #define STPT13 AT1STPTHbits.STPT13 // bit 5, shadows bit in AT1STPTHbits
15922 #define AT1STPT14 AT1STPTHbits.AT1STPT14 // bit 6, shadows bit in AT1STPTHbits
15923 #define STPT14 AT1STPTHbits.STPT14 // bit 6, shadows bit in AT1STPTHbits
15925 #define AT1STPT0 AT1STPTLbits.AT1STPT0 // bit 0, shadows bit in AT1STPTLbits
15926 #define STPT0 AT1STPTLbits.STPT0 // bit 0, shadows bit in AT1STPTLbits
15927 #define AT1STPT1 AT1STPTLbits.AT1STPT1 // bit 1, shadows bit in AT1STPTLbits
15928 #define STPT1 AT1STPTLbits.STPT1 // bit 1, shadows bit in AT1STPTLbits
15929 #define AT1STPT2 AT1STPTLbits.AT1STPT2 // bit 2, shadows bit in AT1STPTLbits
15930 #define STPT2 AT1STPTLbits.STPT2 // bit 2, shadows bit in AT1STPTLbits
15931 #define AT1STPT3 AT1STPTLbits.AT1STPT3 // bit 3, shadows bit in AT1STPTLbits
15932 #define STPT3 AT1STPTLbits.STPT3 // bit 3, shadows bit in AT1STPTLbits
15933 #define AT1STPT4 AT1STPTLbits.AT1STPT4 // bit 4, shadows bit in AT1STPTLbits
15934 #define STPT4 AT1STPTLbits.STPT4 // bit 4, shadows bit in AT1STPTLbits
15935 #define AT1STPT5 AT1STPTLbits.AT1STPT5 // bit 5, shadows bit in AT1STPTLbits
15936 #define STPT5 AT1STPTLbits.STPT5 // bit 5, shadows bit in AT1STPTLbits
15937 #define AT1STPT6 AT1STPTLbits.AT1STPT6 // bit 6, shadows bit in AT1STPTLbits
15938 #define STPT6 AT1STPTLbits.STPT6 // bit 6, shadows bit in AT1STPTLbits
15939 #define AT1STPT7 AT1STPTLbits.AT1STPT7 // bit 7, shadows bit in AT1STPTLbits
15940 #define STPT7 AT1STPTLbits.STPT7 // bit 7, shadows bit in AT1STPTLbits
15942 #define ATCC1PPS0 ATCC1PPSbits.ATCC1PPS0 // bit 0
15943 #define ATCC1PPS1 ATCC1PPSbits.ATCC1PPS1 // bit 1
15944 #define ATCC1PPS2 ATCC1PPSbits.ATCC1PPS2 // bit 2
15945 #define ATCC1PPS3 ATCC1PPSbits.ATCC1PPS3 // bit 3
15946 #define ATCC1PPS4 ATCC1PPSbits.ATCC1PPS4 // bit 4
15948 #define ATCC2PPS0 ATCC2PPSbits.ATCC2PPS0 // bit 0
15949 #define ATCC2PPS1 ATCC2PPSbits.ATCC2PPS1 // bit 1
15950 #define ATCC2PPS2 ATCC2PPSbits.ATCC2PPS2 // bit 2
15951 #define ATCC2PPS3 ATCC2PPSbits.ATCC2PPS3 // bit 3
15952 #define ATCC2PPS4 ATCC2PPSbits.ATCC2PPS4 // bit 4
15954 #define ATCC3PPS0 ATCC3PPSbits.ATCC3PPS0 // bit 0
15955 #define ATCC3PPS1 ATCC3PPSbits.ATCC3PPS1 // bit 1
15956 #define ATCC3PPS2 ATCC3PPSbits.ATCC3PPS2 // bit 2
15957 #define ATCC3PPS3 ATCC3PPSbits.ATCC3PPS3 // bit 3
15958 #define ATCC3PPS4 ATCC3PPSbits.ATCC3PPS4 // bit 4
15960 #define ATINPPS0 ATINPPSbits.ATINPPS0 // bit 0
15961 #define ATINPPS1 ATINPPSbits.ATINPPS1 // bit 1
15962 #define ATINPPS2 ATINPPSbits.ATINPPS2 // bit 2
15963 #define ATINPPS3 ATINPPSbits.ATINPPS3 // bit 3
15964 #define ATINPPS4 ATINPPSbits.ATINPPS4 // bit 4
15966 #define ABDEN BAUD1CONbits.ABDEN // bit 0
15967 #define WUE BAUD1CONbits.WUE // bit 1
15968 #define BRG16 BAUD1CONbits.BRG16 // bit 3
15969 #define SCKP BAUD1CONbits.SCKP // bit 4
15970 #define RCIDL BAUD1CONbits.RCIDL // bit 6
15971 #define ABDOVF BAUD1CONbits.ABDOVF // bit 7
15973 #define BORRDY BORCONbits.BORRDY // bit 0
15974 #define BORFS BORCONbits.BORFS // bit 6
15975 #define SBOREN BORCONbits.SBOREN // bit 7
15977 #define BSR0 BSRbits.BSR0 // bit 0
15978 #define BSR1 BSRbits.BSR1 // bit 1
15979 #define BSR2 BSRbits.BSR2 // bit 2
15980 #define BSR3 BSRbits.BSR3 // bit 3
15981 #define BSR4 BSRbits.BSR4 // bit 4
15983 #define CTS0 CCP1CAPbits.CTS0 // bit 0, shadows bit in CCP1CAPbits
15984 #define CCP1CTS0 CCP1CAPbits.CCP1CTS0 // bit 0, shadows bit in CCP1CAPbits
15985 #define CTS1 CCP1CAPbits.CTS1 // bit 1, shadows bit in CCP1CAPbits
15986 #define CCP1CTS1 CCP1CAPbits.CCP1CTS1 // bit 1, shadows bit in CCP1CAPbits
15987 #define CTS2 CCP1CAPbits.CTS2 // bit 2, shadows bit in CCP1CAPbits
15988 #define CCP1CTS2 CCP1CAPbits.CCP1CTS2 // bit 2, shadows bit in CCP1CAPbits
15990 #define CCP1PPS0 CCP1PPSbits.CCP1PPS0 // bit 0
15991 #define CCP1PPS1 CCP1PPSbits.CCP1PPS1 // bit 1
15992 #define CCP1PPS2 CCP1PPSbits.CCP1PPS2 // bit 2
15993 #define CCP1PPS3 CCP1PPSbits.CCP1PPS3 // bit 3
15994 #define CCP1PPS4 CCP1PPSbits.CCP1PPS4 // bit 4
15996 #define CCP2PPS0 CCP2PPSbits.CCP2PPS0 // bit 0
15997 #define CCP2PPS1 CCP2PPSbits.CCP2PPS1 // bit 1
15998 #define CCP2PPS2 CCP2PPSbits.CCP2PPS2 // bit 2
15999 #define CCP2PPS3 CCP2PPSbits.CCP2PPS3 // bit 3
16000 #define CCP2PPS4 CCP2PPSbits.CCP2PPS4 // bit 4
16002 #define CCP1TSEL0 CCPTMRSbits.CCP1TSEL0 // bit 0
16003 #define CCP1TSEL1 CCPTMRSbits.CCP1TSEL1 // bit 1
16004 #define CCP2TSEL0 CCPTMRSbits.CCP2TSEL0 // bit 2
16005 #define CCP2TSEL1 CCPTMRSbits.CCP2TSEL1 // bit 3
16006 #define P3TSEL0 CCPTMRSbits.P3TSEL0 // bit 4
16007 #define P3TSEL1 CCPTMRSbits.P3TSEL1 // bit 5
16008 #define P4TSEL0 CCPTMRSbits.P4TSEL0 // bit 6
16009 #define P4TSEL1 CCPTMRSbits.P4TSEL1 // bit 7
16011 #define CKPPS0 CKPPSbits.CKPPS0 // bit 0
16012 #define CKPPS1 CKPPSbits.CKPPS1 // bit 1
16013 #define CKPPS2 CKPPSbits.CKPPS2 // bit 2
16014 #define CKPPS3 CKPPSbits.CKPPS3 // bit 3
16015 #define CKPPS4 CKPPSbits.CKPPS4 // bit 4
16017 #define LC1G1D1N CLC1GLS0bits.LC1G1D1N // bit 0, shadows bit in CLC1GLS0bits
16018 #define D1N CLC1GLS0bits.D1N // bit 0, shadows bit in CLC1GLS0bits
16019 #define LC1G1D1T CLC1GLS0bits.LC1G1D1T // bit 1, shadows bit in CLC1GLS0bits
16020 #define D1T CLC1GLS0bits.D1T // bit 1, shadows bit in CLC1GLS0bits
16021 #define LC1G1D2N CLC1GLS0bits.LC1G1D2N // bit 2, shadows bit in CLC1GLS0bits
16022 #define D2N CLC1GLS0bits.D2N // bit 2, shadows bit in CLC1GLS0bits
16023 #define LC1G1D2T CLC1GLS0bits.LC1G1D2T // bit 3, shadows bit in CLC1GLS0bits
16024 #define D2T CLC1GLS0bits.D2T // bit 3, shadows bit in CLC1GLS0bits
16025 #define LC1G1D3N CLC1GLS0bits.LC1G1D3N // bit 4, shadows bit in CLC1GLS0bits
16026 #define D3N CLC1GLS0bits.D3N // bit 4, shadows bit in CLC1GLS0bits
16027 #define LC1G1D3T CLC1GLS0bits.LC1G1D3T // bit 5, shadows bit in CLC1GLS0bits
16028 #define D3T CLC1GLS0bits.D3T // bit 5, shadows bit in CLC1GLS0bits
16029 #define LC1G1D4N CLC1GLS0bits.LC1G1D4N // bit 6, shadows bit in CLC1GLS0bits
16030 #define D4N CLC1GLS0bits.D4N // bit 6, shadows bit in CLC1GLS0bits
16031 #define LC1G1D4T CLC1GLS0bits.LC1G1D4T // bit 7, shadows bit in CLC1GLS0bits
16032 #define D4T CLC1GLS0bits.D4T // bit 7, shadows bit in CLC1GLS0bits
16034 #define LC1G4D1N CLC1GLS3bits.LC1G4D1N // bit 0, shadows bit in CLC1GLS3bits
16035 #define G4D1N CLC1GLS3bits.G4D1N // bit 0, shadows bit in CLC1GLS3bits
16036 #define LC1G4D1T CLC1GLS3bits.LC1G4D1T // bit 1, shadows bit in CLC1GLS3bits
16037 #define G4D1T CLC1GLS3bits.G4D1T // bit 1, shadows bit in CLC1GLS3bits
16038 #define LC1G4D2N CLC1GLS3bits.LC1G4D2N // bit 2, shadows bit in CLC1GLS3bits
16039 #define G4D2N CLC1GLS3bits.G4D2N // bit 2, shadows bit in CLC1GLS3bits
16040 #define LC1G4D2T CLC1GLS3bits.LC1G4D2T // bit 3, shadows bit in CLC1GLS3bits
16041 #define G4D2T CLC1GLS3bits.G4D2T // bit 3, shadows bit in CLC1GLS3bits
16042 #define LC1G4D3N CLC1GLS3bits.LC1G4D3N // bit 4, shadows bit in CLC1GLS3bits
16043 #define G4D3N CLC1GLS3bits.G4D3N // bit 4, shadows bit in CLC1GLS3bits
16044 #define LC1G4D3T CLC1GLS3bits.LC1G4D3T // bit 5, shadows bit in CLC1GLS3bits
16045 #define G4D3T CLC1GLS3bits.G4D3T // bit 5, shadows bit in CLC1GLS3bits
16046 #define LC1G4D4N CLC1GLS3bits.LC1G4D4N // bit 6, shadows bit in CLC1GLS3bits
16047 #define G4D4N CLC1GLS3bits.G4D4N // bit 6, shadows bit in CLC1GLS3bits
16048 #define LC1G4D4T CLC1GLS3bits.LC1G4D4T // bit 7, shadows bit in CLC1GLS3bits
16049 #define G4D4T CLC1GLS3bits.G4D4T // bit 7, shadows bit in CLC1GLS3bits
16051 #define LC1D1S0 CLC1SEL0bits.LC1D1S0 // bit 0, shadows bit in CLC1SEL0bits
16052 #define D1S0 CLC1SEL0bits.D1S0 // bit 0, shadows bit in CLC1SEL0bits
16053 #define LC1D1S1 CLC1SEL0bits.LC1D1S1 // bit 1, shadows bit in CLC1SEL0bits
16054 #define D1S1 CLC1SEL0bits.D1S1 // bit 1, shadows bit in CLC1SEL0bits
16055 #define LC1D1S2 CLC1SEL0bits.LC1D1S2 // bit 2, shadows bit in CLC1SEL0bits
16056 #define D1S2 CLC1SEL0bits.D1S2 // bit 2, shadows bit in CLC1SEL0bits
16057 #define LC1D1S3 CLC1SEL0bits.LC1D1S3 // bit 3, shadows bit in CLC1SEL0bits
16058 #define D1S3 CLC1SEL0bits.D1S3 // bit 3, shadows bit in CLC1SEL0bits
16059 #define LC1D1S4 CLC1SEL0bits.LC1D1S4 // bit 4, shadows bit in CLC1SEL0bits
16060 #define D1S4 CLC1SEL0bits.D1S4 // bit 4, shadows bit in CLC1SEL0bits
16061 #define LC1D1S5 CLC1SEL0bits.LC1D1S5 // bit 5, shadows bit in CLC1SEL0bits
16062 #define D1S5 CLC1SEL0bits.D1S5 // bit 5, shadows bit in CLC1SEL0bits
16064 #define LC1D2S0 CLC1SEL1bits.LC1D2S0 // bit 0, shadows bit in CLC1SEL1bits
16065 #define D2S0 CLC1SEL1bits.D2S0 // bit 0, shadows bit in CLC1SEL1bits
16066 #define LC1D2S1 CLC1SEL1bits.LC1D2S1 // bit 1, shadows bit in CLC1SEL1bits
16067 #define D2S1 CLC1SEL1bits.D2S1 // bit 1, shadows bit in CLC1SEL1bits
16068 #define LC1D2S2 CLC1SEL1bits.LC1D2S2 // bit 2, shadows bit in CLC1SEL1bits
16069 #define D2S2 CLC1SEL1bits.D2S2 // bit 2, shadows bit in CLC1SEL1bits
16070 #define LC1D2S3 CLC1SEL1bits.LC1D2S3 // bit 3, shadows bit in CLC1SEL1bits
16071 #define D2S3 CLC1SEL1bits.D2S3 // bit 3, shadows bit in CLC1SEL1bits
16072 #define LC1D2S4 CLC1SEL1bits.LC1D2S4 // bit 4, shadows bit in CLC1SEL1bits
16073 #define D2S4 CLC1SEL1bits.D2S4 // bit 4, shadows bit in CLC1SEL1bits
16074 #define LC1D2S5 CLC1SEL1bits.LC1D2S5 // bit 5, shadows bit in CLC1SEL1bits
16075 #define D2S5 CLC1SEL1bits.D2S5 // bit 5, shadows bit in CLC1SEL1bits
16077 #define LC1D3S0 CLC1SEL2bits.LC1D3S0 // bit 0, shadows bit in CLC1SEL2bits
16078 #define D3S0 CLC1SEL2bits.D3S0 // bit 0, shadows bit in CLC1SEL2bits
16079 #define LC1D3S1 CLC1SEL2bits.LC1D3S1 // bit 1, shadows bit in CLC1SEL2bits
16080 #define D3S1 CLC1SEL2bits.D3S1 // bit 1, shadows bit in CLC1SEL2bits
16081 #define LC1D3S2 CLC1SEL2bits.LC1D3S2 // bit 2, shadows bit in CLC1SEL2bits
16082 #define D3S2 CLC1SEL2bits.D3S2 // bit 2, shadows bit in CLC1SEL2bits
16083 #define LC1D3S3 CLC1SEL2bits.LC1D3S3 // bit 3, shadows bit in CLC1SEL2bits
16084 #define D3S3 CLC1SEL2bits.D3S3 // bit 3, shadows bit in CLC1SEL2bits
16085 #define LC1D3S4 CLC1SEL2bits.LC1D3S4 // bit 4, shadows bit in CLC1SEL2bits
16086 #define D3S4 CLC1SEL2bits.D3S4 // bit 4, shadows bit in CLC1SEL2bits
16087 #define LC1D3S5 CLC1SEL2bits.LC1D3S5 // bit 5, shadows bit in CLC1SEL2bits
16088 #define D3S5 CLC1SEL2bits.D3S5 // bit 5, shadows bit in CLC1SEL2bits
16090 #define LC1D4S0 CLC1SEL3bits.LC1D4S0 // bit 0, shadows bit in CLC1SEL3bits
16091 #define D4S0 CLC1SEL3bits.D4S0 // bit 0, shadows bit in CLC1SEL3bits
16092 #define LC1D4S1 CLC1SEL3bits.LC1D4S1 // bit 1, shadows bit in CLC1SEL3bits
16093 #define D4S1 CLC1SEL3bits.D4S1 // bit 1, shadows bit in CLC1SEL3bits
16094 #define LC1D4S2 CLC1SEL3bits.LC1D4S2 // bit 2, shadows bit in CLC1SEL3bits
16095 #define D4S2 CLC1SEL3bits.D4S2 // bit 2, shadows bit in CLC1SEL3bits
16096 #define LC1D4S3 CLC1SEL3bits.LC1D4S3 // bit 3, shadows bit in CLC1SEL3bits
16097 #define D4S3 CLC1SEL3bits.D4S3 // bit 3, shadows bit in CLC1SEL3bits
16098 #define LC1D4S4 CLC1SEL3bits.LC1D4S4 // bit 4, shadows bit in CLC1SEL3bits
16099 #define D4S4 CLC1SEL3bits.D4S4 // bit 4, shadows bit in CLC1SEL3bits
16100 #define LC1D4S5 CLC1SEL3bits.LC1D4S5 // bit 5, shadows bit in CLC1SEL3bits
16101 #define D4S5 CLC1SEL3bits.D4S5 // bit 5, shadows bit in CLC1SEL3bits
16103 #define MLC1OUT CLCDATAbits.MLC1OUT // bit 0
16104 #define MLC2OUT CLCDATAbits.MLC2OUT // bit 1
16105 #define MLC3OUT CLCDATAbits.MLC3OUT // bit 2
16106 #define MLC4OUT CLCDATAbits.MLC4OUT // bit 3
16108 #define CLCIN0PPS0 CLCIN0PPSbits.CLCIN0PPS0 // bit 0
16109 #define CLCIN0PPS1 CLCIN0PPSbits.CLCIN0PPS1 // bit 1
16110 #define CLCIN0PPS2 CLCIN0PPSbits.CLCIN0PPS2 // bit 2
16111 #define CLCIN0PPS3 CLCIN0PPSbits.CLCIN0PPS3 // bit 3
16112 #define CLCIN0PPS4 CLCIN0PPSbits.CLCIN0PPS4 // bit 4
16114 #define CLCIN1PPS0 CLCIN1PPSbits.CLCIN1PPS0 // bit 0
16115 #define CLCIN1PPS1 CLCIN1PPSbits.CLCIN1PPS1 // bit 1
16116 #define CLCIN1PPS2 CLCIN1PPSbits.CLCIN1PPS2 // bit 2
16117 #define CLCIN1PPS3 CLCIN1PPSbits.CLCIN1PPS3 // bit 3
16118 #define CLCIN1PPS4 CLCIN1PPSbits.CLCIN1PPS4 // bit 4
16120 #define CLCIN2PPS0 CLCIN2PPSbits.CLCIN2PPS0 // bit 0
16121 #define CLCIN2PPS1 CLCIN2PPSbits.CLCIN2PPS1 // bit 1
16122 #define CLCIN2PPS2 CLCIN2PPSbits.CLCIN2PPS2 // bit 2
16123 #define CLCIN2PPS3 CLCIN2PPSbits.CLCIN2PPS3 // bit 3
16124 #define CLCIN2PPS4 CLCIN2PPSbits.CLCIN2PPS4 // bit 4
16126 #define CLCIN3PPS0 CLCIN3PPSbits.CLCIN3PPS0 // bit 0
16127 #define CLCIN3PPS1 CLCIN3PPSbits.CLCIN3PPS1 // bit 1
16128 #define CLCIN3PPS2 CLCIN3PPSbits.CLCIN3PPS2 // bit 2
16129 #define CLCIN3PPS3 CLCIN3PPSbits.CLCIN3PPS3 // bit 3
16130 #define CLCIN3PPS4 CLCIN3PPSbits.CLCIN3PPS4 // bit 4
16132 #define C1SYNC CM1CON0bits.C1SYNC // bit 0
16133 #define C1HYS CM1CON0bits.C1HYS // bit 1
16134 #define C1SP CM1CON0bits.C1SP // bit 2
16135 #define C1POL CM1CON0bits.C1POL // bit 4
16136 #define C1OUT CM1CON0bits.C1OUT // bit 6
16137 #define C1ON CM1CON0bits.C1ON // bit 7
16139 #define C1NCH0 CM1CON1bits.C1NCH0 // bit 0
16140 #define C1NCH1 CM1CON1bits.C1NCH1 // bit 1
16141 #define C1NCH2 CM1CON1bits.C1NCH2 // bit 2
16142 #define C1PCH0 CM1CON1bits.C1PCH0 // bit 4
16143 #define C1PCH1 CM1CON1bits.C1PCH1 // bit 5
16144 #define C1INTN CM1CON1bits.C1INTN // bit 6
16145 #define C1INTP CM1CON1bits.C1INTP // bit 7
16147 #define C2SYNC CM2CON0bits.C2SYNC // bit 0
16148 #define C2HYS CM2CON0bits.C2HYS // bit 1
16149 #define C2SP CM2CON0bits.C2SP // bit 2
16150 #define C2POL CM2CON0bits.C2POL // bit 4
16151 #define C2OUT CM2CON0bits.C2OUT // bit 6
16152 #define C2ON CM2CON0bits.C2ON // bit 7
16154 #define C2NCH0 CM2CON1bits.C2NCH0 // bit 0
16155 #define C2NCH1 CM2CON1bits.C2NCH1 // bit 1
16156 #define C2NCH2 CM2CON1bits.C2NCH2 // bit 2
16157 #define C2PCH0 CM2CON1bits.C2PCH0 // bit 4
16158 #define C2PCH1 CM2CON1bits.C2PCH1 // bit 5
16159 #define C2INTN CM2CON1bits.C2INTN // bit 6
16160 #define C2INTP CM2CON1bits.C2INTP // bit 7
16162 #define MC1OUT CMOUTbits.MC1OUT // bit 0
16163 #define MC2OUT CMOUTbits.MC2OUT // bit 1
16165 #define ACC8 CRCACCHbits.ACC8 // bit 0, shadows bit in CRCACCHbits
16166 #define CRCACC8 CRCACCHbits.CRCACC8 // bit 0, shadows bit in CRCACCHbits
16167 #define ACC9 CRCACCHbits.ACC9 // bit 1, shadows bit in CRCACCHbits
16168 #define CRCACC9 CRCACCHbits.CRCACC9 // bit 1, shadows bit in CRCACCHbits
16169 #define ACC10 CRCACCHbits.ACC10 // bit 2, shadows bit in CRCACCHbits
16170 #define CRCACC10 CRCACCHbits.CRCACC10 // bit 2, shadows bit in CRCACCHbits
16171 #define ACC11 CRCACCHbits.ACC11 // bit 3, shadows bit in CRCACCHbits
16172 #define CRCACC11 CRCACCHbits.CRCACC11 // bit 3, shadows bit in CRCACCHbits
16173 #define ACC12 CRCACCHbits.ACC12 // bit 4, shadows bit in CRCACCHbits
16174 #define CRCACC12 CRCACCHbits.CRCACC12 // bit 4, shadows bit in CRCACCHbits
16175 #define ACC13 CRCACCHbits.ACC13 // bit 5, shadows bit in CRCACCHbits
16176 #define CRCACC13 CRCACCHbits.CRCACC13 // bit 5, shadows bit in CRCACCHbits
16177 #define ACC14 CRCACCHbits.ACC14 // bit 6, shadows bit in CRCACCHbits
16178 #define CRCACC14 CRCACCHbits.CRCACC14 // bit 6, shadows bit in CRCACCHbits
16179 #define ACC15 CRCACCHbits.ACC15 // bit 7, shadows bit in CRCACCHbits
16180 #define CRCACC15 CRCACCHbits.CRCACC15 // bit 7, shadows bit in CRCACCHbits
16182 #define ACC0 CRCACCLbits.ACC0 // bit 0, shadows bit in CRCACCLbits
16183 #define CRCACC0 CRCACCLbits.CRCACC0 // bit 0, shadows bit in CRCACCLbits
16184 #define ACC1 CRCACCLbits.ACC1 // bit 1, shadows bit in CRCACCLbits
16185 #define CRCACC1 CRCACCLbits.CRCACC1 // bit 1, shadows bit in CRCACCLbits
16186 #define ACC2 CRCACCLbits.ACC2 // bit 2, shadows bit in CRCACCLbits
16187 #define CRCACC2 CRCACCLbits.CRCACC2 // bit 2, shadows bit in CRCACCLbits
16188 #define ACC3 CRCACCLbits.ACC3 // bit 3, shadows bit in CRCACCLbits
16189 #define CRCACC3 CRCACCLbits.CRCACC3 // bit 3, shadows bit in CRCACCLbits
16190 #define ACC4 CRCACCLbits.ACC4 // bit 4, shadows bit in CRCACCLbits
16191 #define CRCACC4 CRCACCLbits.CRCACC4 // bit 4, shadows bit in CRCACCLbits
16192 #define ACC5 CRCACCLbits.ACC5 // bit 5, shadows bit in CRCACCLbits
16193 #define CRCACC5 CRCACCLbits.CRCACC5 // bit 5, shadows bit in CRCACCLbits
16194 #define ACC6 CRCACCLbits.ACC6 // bit 6, shadows bit in CRCACCLbits
16195 #define CRCACC6 CRCACCLbits.CRCACC6 // bit 6, shadows bit in CRCACCLbits
16196 #define ACC7 CRCACCLbits.ACC7 // bit 7, shadows bit in CRCACCLbits
16197 #define CRCACC7 CRCACCLbits.CRCACC7 // bit 7, shadows bit in CRCACCLbits
16199 #define PLEN0 CRCCON1bits.PLEN0 // bit 0, shadows bit in CRCCON1bits
16200 #define CRCPLEN0 CRCCON1bits.CRCPLEN0 // bit 0, shadows bit in CRCCON1bits
16201 #define PLEN1 CRCCON1bits.PLEN1 // bit 1, shadows bit in CRCCON1bits
16202 #define CRCPLEN1 CRCCON1bits.CRCPLEN1 // bit 1, shadows bit in CRCCON1bits
16203 #define PLEN2 CRCCON1bits.PLEN2 // bit 2, shadows bit in CRCCON1bits
16204 #define CRCPLEN2 CRCCON1bits.CRCPLEN2 // bit 2, shadows bit in CRCCON1bits
16205 #define PLEN3 CRCCON1bits.PLEN3 // bit 3, shadows bit in CRCCON1bits
16206 #define CRCPLEN3 CRCCON1bits.CRCPLEN3 // bit 3, shadows bit in CRCCON1bits
16207 #define DLEN0 CRCCON1bits.DLEN0 // bit 4, shadows bit in CRCCON1bits
16208 #define CRCDLEN0 CRCCON1bits.CRCDLEN0 // bit 4, shadows bit in CRCCON1bits
16209 #define DLEN1 CRCCON1bits.DLEN1 // bit 5, shadows bit in CRCCON1bits
16210 #define CRCDLEN1 CRCCON1bits.CRCDLEN1 // bit 5, shadows bit in CRCCON1bits
16211 #define DLEN2 CRCCON1bits.DLEN2 // bit 6, shadows bit in CRCCON1bits
16212 #define CRCDLEN2 CRCCON1bits.CRCDLEN2 // bit 6, shadows bit in CRCCON1bits
16213 #define DLEN3 CRCCON1bits.DLEN3 // bit 7, shadows bit in CRCCON1bits
16214 #define CRCDLEN3 CRCCON1bits.CRCDLEN3 // bit 7, shadows bit in CRCCON1bits
16216 #define DAT8 CRCDATHbits.DAT8 // bit 0, shadows bit in CRCDATHbits
16217 #define CRCDAT8 CRCDATHbits.CRCDAT8 // bit 0, shadows bit in CRCDATHbits
16218 #define DAT9 CRCDATHbits.DAT9 // bit 1, shadows bit in CRCDATHbits
16219 #define CRCDAT9 CRCDATHbits.CRCDAT9 // bit 1, shadows bit in CRCDATHbits
16220 #define DAT10 CRCDATHbits.DAT10 // bit 2, shadows bit in CRCDATHbits
16221 #define CRCDAT10 CRCDATHbits.CRCDAT10 // bit 2, shadows bit in CRCDATHbits
16222 #define DAT11 CRCDATHbits.DAT11 // bit 3, shadows bit in CRCDATHbits
16223 #define CRCDAT11 CRCDATHbits.CRCDAT11 // bit 3, shadows bit in CRCDATHbits
16224 #define DAT12 CRCDATHbits.DAT12 // bit 4, shadows bit in CRCDATHbits
16225 #define CRCDAT12 CRCDATHbits.CRCDAT12 // bit 4, shadows bit in CRCDATHbits
16226 #define DAT13 CRCDATHbits.DAT13 // bit 5, shadows bit in CRCDATHbits
16227 #define CRCDAT13 CRCDATHbits.CRCDAT13 // bit 5, shadows bit in CRCDATHbits
16228 #define DAT14 CRCDATHbits.DAT14 // bit 6, shadows bit in CRCDATHbits
16229 #define CRCDAT14 CRCDATHbits.CRCDAT14 // bit 6, shadows bit in CRCDATHbits
16230 #define DAT15 CRCDATHbits.DAT15 // bit 7, shadows bit in CRCDATHbits
16231 #define CRCDAT15 CRCDATHbits.CRCDAT15 // bit 7, shadows bit in CRCDATHbits
16233 #define DAT0 CRCDATLbits.DAT0 // bit 0, shadows bit in CRCDATLbits
16234 #define CRCDAT0 CRCDATLbits.CRCDAT0 // bit 0, shadows bit in CRCDATLbits
16235 #define DAT1 CRCDATLbits.DAT1 // bit 1, shadows bit in CRCDATLbits
16236 #define CRCDAT1 CRCDATLbits.CRCDAT1 // bit 1, shadows bit in CRCDATLbits
16237 #define DAT2 CRCDATLbits.DAT2 // bit 2, shadows bit in CRCDATLbits
16238 #define CRCDAT2 CRCDATLbits.CRCDAT2 // bit 2, shadows bit in CRCDATLbits
16239 #define DAT3 CRCDATLbits.DAT3 // bit 3, shadows bit in CRCDATLbits
16240 #define CRCDAT3 CRCDATLbits.CRCDAT3 // bit 3, shadows bit in CRCDATLbits
16241 #define DAT4 CRCDATLbits.DAT4 // bit 4, shadows bit in CRCDATLbits
16242 #define CRCDAT4 CRCDATLbits.CRCDAT4 // bit 4, shadows bit in CRCDATLbits
16243 #define DAT5 CRCDATLbits.DAT5 // bit 5, shadows bit in CRCDATLbits
16244 #define CRCDAT5 CRCDATLbits.CRCDAT5 // bit 5, shadows bit in CRCDATLbits
16245 #define DAT6 CRCDATLbits.DAT6 // bit 6, shadows bit in CRCDATLbits
16246 #define CRCDAT6 CRCDATLbits.CRCDAT6 // bit 6, shadows bit in CRCDATLbits
16247 #define DAT7 CRCDATLbits.DAT7 // bit 7, shadows bit in CRCDATLbits
16248 #define CRDCDAT7 CRCDATLbits.CRDCDAT7 // bit 7, shadows bit in CRCDATLbits
16250 #define SHIFT8 CRCSHIFTHbits.SHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
16251 #define CRCSHIFT8 CRCSHIFTHbits.CRCSHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
16252 #define SHIFT9 CRCSHIFTHbits.SHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
16253 #define CRCSHIFT9 CRCSHIFTHbits.CRCSHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
16254 #define SHIFT10 CRCSHIFTHbits.SHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
16255 #define CRCSHIFT10 CRCSHIFTHbits.CRCSHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
16256 #define SHIFT11 CRCSHIFTHbits.SHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
16257 #define CRCSHIFT11 CRCSHIFTHbits.CRCSHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
16258 #define SHIFT12 CRCSHIFTHbits.SHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
16259 #define CRCSHIFT12 CRCSHIFTHbits.CRCSHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
16260 #define SHIFT13 CRCSHIFTHbits.SHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
16261 #define CRCSHIFT13 CRCSHIFTHbits.CRCSHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
16262 #define SHIFT14 CRCSHIFTHbits.SHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
16263 #define CRCSHIFT14 CRCSHIFTHbits.CRCSHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
16264 #define SHIFT15 CRCSHIFTHbits.SHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
16265 #define CRCSHIFT15 CRCSHIFTHbits.CRCSHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
16267 #define SHIFT0 CRCSHIFTLbits.SHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
16268 #define CRCSHIFT0 CRCSHIFTLbits.CRCSHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
16269 #define SHIFT1 CRCSHIFTLbits.SHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
16270 #define CRCSHIFT1 CRCSHIFTLbits.CRCSHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
16271 #define SHIFT2 CRCSHIFTLbits.SHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
16272 #define CRCSHIFT2 CRCSHIFTLbits.CRCSHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
16273 #define SHIFT3 CRCSHIFTLbits.SHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
16274 #define CRCSHIFT3 CRCSHIFTLbits.CRCSHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
16275 #define SHIFT4 CRCSHIFTLbits.SHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
16276 #define CRCSHIFT4 CRCSHIFTLbits.CRCSHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
16277 #define SHIFT5 CRCSHIFTLbits.SHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
16278 #define CRCSHIFT5 CRCSHIFTLbits.CRCSHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
16279 #define SHIFT6 CRCSHIFTLbits.SHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
16280 #define CRCSHIFT6 CRCSHIFTLbits.CRCSHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
16281 #define SHIFT7 CRCSHIFTLbits.SHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
16282 #define CRCSHIFT7 CRCSHIFTLbits.CRCSHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
16284 #define XOR8 CRCXORHbits.XOR8 // bit 0, shadows bit in CRCXORHbits
16285 #define CRCXOR8 CRCXORHbits.CRCXOR8 // bit 0, shadows bit in CRCXORHbits
16286 #define XOR9 CRCXORHbits.XOR9 // bit 1, shadows bit in CRCXORHbits
16287 #define CRCXOR9 CRCXORHbits.CRCXOR9 // bit 1, shadows bit in CRCXORHbits
16288 #define XOR10 CRCXORHbits.XOR10 // bit 2, shadows bit in CRCXORHbits
16289 #define CRCXOR10 CRCXORHbits.CRCXOR10 // bit 2, shadows bit in CRCXORHbits
16290 #define XOR11 CRCXORHbits.XOR11 // bit 3, shadows bit in CRCXORHbits
16291 #define CRCXOR11 CRCXORHbits.CRCXOR11 // bit 3, shadows bit in CRCXORHbits
16292 #define XOR12 CRCXORHbits.XOR12 // bit 4, shadows bit in CRCXORHbits
16293 #define CRCXOR12 CRCXORHbits.CRCXOR12 // bit 4, shadows bit in CRCXORHbits
16294 #define XOR13 CRCXORHbits.XOR13 // bit 5, shadows bit in CRCXORHbits
16295 #define CRCXOR13 CRCXORHbits.CRCXOR13 // bit 5, shadows bit in CRCXORHbits
16296 #define XOR14 CRCXORHbits.XOR14 // bit 6, shadows bit in CRCXORHbits
16297 #define CRCXOR14 CRCXORHbits.CRCXOR14 // bit 6, shadows bit in CRCXORHbits
16298 #define XOR15 CRCXORHbits.XOR15 // bit 7, shadows bit in CRCXORHbits
16299 #define CRCXOR15 CRCXORHbits.CRCXOR15 // bit 7, shadows bit in CRCXORHbits
16301 #define XOR1 CRCXORLbits.XOR1 // bit 1, shadows bit in CRCXORLbits
16302 #define CRCXOR1 CRCXORLbits.CRCXOR1 // bit 1, shadows bit in CRCXORLbits
16303 #define XOR2 CRCXORLbits.XOR2 // bit 2, shadows bit in CRCXORLbits
16304 #define CRCXOR2 CRCXORLbits.CRCXOR2 // bit 2, shadows bit in CRCXORLbits
16305 #define XOR3 CRCXORLbits.XOR3 // bit 3, shadows bit in CRCXORLbits
16306 #define CRCXOR3 CRCXORLbits.CRCXOR3 // bit 3, shadows bit in CRCXORLbits
16307 #define XOR4 CRCXORLbits.XOR4 // bit 4, shadows bit in CRCXORLbits
16308 #define CRCXOR4 CRCXORLbits.CRCXOR4 // bit 4, shadows bit in CRCXORLbits
16309 #define XOR5 CRCXORLbits.XOR5 // bit 5, shadows bit in CRCXORLbits
16310 #define CRCXOR5 CRCXORLbits.CRCXOR5 // bit 5, shadows bit in CRCXORLbits
16311 #define XOR6 CRCXORLbits.XOR6 // bit 6, shadows bit in CRCXORLbits
16312 #define CRCXOR6 CRCXORLbits.CRCXOR6 // bit 6, shadows bit in CRCXORLbits
16313 #define XOR7 CRCXORLbits.XOR7 // bit 7, shadows bit in CRCXORLbits
16314 #define CRCXOR7 CRCXORLbits.CRCXOR7 // bit 7, shadows bit in CRCXORLbits
16316 #define LSAC0 CWG1AS0bits.LSAC0 // bit 2, shadows bit in CWG1AS0bits
16317 #define CWG1LSAC0 CWG1AS0bits.CWG1LSAC0 // bit 2, shadows bit in CWG1AS0bits
16318 #define LSAC1 CWG1AS0bits.LSAC1 // bit 3, shadows bit in CWG1AS0bits
16319 #define CWG1LSAC1 CWG1AS0bits.CWG1LSAC1 // bit 3, shadows bit in CWG1AS0bits
16320 #define LSBD0 CWG1AS0bits.LSBD0 // bit 4, shadows bit in CWG1AS0bits
16321 #define CWG1LSBD0 CWG1AS0bits.CWG1LSBD0 // bit 4, shadows bit in CWG1AS0bits
16322 #define LSBD1 CWG1AS0bits.LSBD1 // bit 5, shadows bit in CWG1AS0bits
16323 #define CWG1LSBD1 CWG1AS0bits.CWG1LSBD1 // bit 5, shadows bit in CWG1AS0bits
16324 #define REN CWG1AS0bits.REN // bit 6, shadows bit in CWG1AS0bits
16325 #define CWG1REN CWG1AS0bits.CWG1REN // bit 6, shadows bit in CWG1AS0bits
16326 #define SHUTDOWN CWG1AS0bits.SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
16327 #define CWG1SHUTDOWN CWG1AS0bits.CWG1SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
16329 #define INAS CWG1AS1bits.INAS // bit 0, shadows bit in CWG1AS1bits
16330 #define CWG1INAS CWG1AS1bits.CWG1INAS // bit 0, shadows bit in CWG1AS1bits
16331 #define C1AS CWG1AS1bits.C1AS // bit 1, shadows bit in CWG1AS1bits
16332 #define CWG1C1AS CWG1AS1bits.CWG1C1AS // bit 1, shadows bit in CWG1AS1bits
16333 #define C2AS CWG1AS1bits.C2AS // bit 2, shadows bit in CWG1AS1bits
16334 #define CWG1C2AS CWG1AS1bits.CWG1C2AS // bit 2, shadows bit in CWG1AS1bits
16335 #define TMR2AS CWG1AS1bits.TMR2AS // bit 4, shadows bit in CWG1AS1bits
16336 #define CWG1TMR2AS CWG1AS1bits.CWG1TMR2AS // bit 4, shadows bit in CWG1AS1bits
16337 #define TMR4AS CWG1AS1bits.TMR4AS // bit 5, shadows bit in CWG1AS1bits
16338 #define CWG1TMR4AS CWG1AS1bits.CWG1TMR4AS // bit 5, shadows bit in CWG1AS1bits
16339 #define TMR6AS CWG1AS1bits.TMR6AS // bit 6, shadows bit in CWG1AS1bits
16340 #define CWG1TMR6AS CWG1AS1bits.CWG1TMR6AS // bit 6, shadows bit in CWG1AS1bits
16342 #define POLA CWG1CON1bits.POLA // bit 0, shadows bit in CWG1CON1bits
16343 #define CWG1POLA CWG1CON1bits.CWG1POLA // bit 0, shadows bit in CWG1CON1bits
16344 #define POLB CWG1CON1bits.POLB // bit 1, shadows bit in CWG1CON1bits
16345 #define CWG1POLB CWG1CON1bits.CWG1POLB // bit 1, shadows bit in CWG1CON1bits
16346 #define POLC CWG1CON1bits.POLC // bit 2, shadows bit in CWG1CON1bits
16347 #define CWG1POLC CWG1CON1bits.CWG1POLC // bit 2, shadows bit in CWG1CON1bits
16348 #define POLD CWG1CON1bits.POLD // bit 3, shadows bit in CWG1CON1bits
16349 #define CWG1POLD CWG1CON1bits.CWG1POLD // bit 3, shadows bit in CWG1CON1bits
16350 #define IN CWG1CON1bits.IN // bit 5, shadows bit in CWG1CON1bits
16351 #define CWG1IN CWG1CON1bits.CWG1IN // bit 5, shadows bit in CWG1CON1bits
16353 #define DBF0 CWG1DBFbits.DBF0 // bit 0, shadows bit in CWG1DBFbits
16354 #define CWG1DBF0 CWG1DBFbits.CWG1DBF0 // bit 0, shadows bit in CWG1DBFbits
16355 #define DBF1 CWG1DBFbits.DBF1 // bit 1, shadows bit in CWG1DBFbits
16356 #define CWG1DBF1 CWG1DBFbits.CWG1DBF1 // bit 1, shadows bit in CWG1DBFbits
16357 #define DBF2 CWG1DBFbits.DBF2 // bit 2, shadows bit in CWG1DBFbits
16358 #define CWG1DBF2 CWG1DBFbits.CWG1DBF2 // bit 2, shadows bit in CWG1DBFbits
16359 #define DBF3 CWG1DBFbits.DBF3 // bit 3, shadows bit in CWG1DBFbits
16360 #define CWG1DBF3 CWG1DBFbits.CWG1DBF3 // bit 3, shadows bit in CWG1DBFbits
16361 #define DBF4 CWG1DBFbits.DBF4 // bit 4, shadows bit in CWG1DBFbits
16362 #define CWG1DBF4 CWG1DBFbits.CWG1DBF4 // bit 4, shadows bit in CWG1DBFbits
16363 #define DBF5 CWG1DBFbits.DBF5 // bit 5, shadows bit in CWG1DBFbits
16364 #define CWG1DBF5 CWG1DBFbits.CWG1DBF5 // bit 5, shadows bit in CWG1DBFbits
16366 #define DBR0 CWG1DBRbits.DBR0 // bit 0, shadows bit in CWG1DBRbits
16367 #define CWG1DBR0 CWG1DBRbits.CWG1DBR0 // bit 0, shadows bit in CWG1DBRbits
16368 #define DBR1 CWG1DBRbits.DBR1 // bit 1, shadows bit in CWG1DBRbits
16369 #define CWG1DBR1 CWG1DBRbits.CWG1DBR1 // bit 1, shadows bit in CWG1DBRbits
16370 #define DBR2 CWG1DBRbits.DBR2 // bit 2, shadows bit in CWG1DBRbits
16371 #define CWG1DBR2 CWG1DBRbits.CWG1DBR2 // bit 2, shadows bit in CWG1DBRbits
16372 #define DBR3 CWG1DBRbits.DBR3 // bit 3, shadows bit in CWG1DBRbits
16373 #define CWG1DBR3 CWG1DBRbits.CWG1DBR3 // bit 3, shadows bit in CWG1DBRbits
16374 #define DBR4 CWG1DBRbits.DBR4 // bit 4, shadows bit in CWG1DBRbits
16375 #define CWG1DBR4 CWG1DBRbits.CWG1DBR4 // bit 4, shadows bit in CWG1DBRbits
16376 #define DBR5 CWG1DBRbits.DBR5 // bit 5, shadows bit in CWG1DBRbits
16377 #define CWG1DBR5 CWG1DBRbits.CWG1DBR5 // bit 5, shadows bit in CWG1DBRbits
16379 #define IS0 CWG1ISMbits.IS0 // bit 0, shadows bit in CWG1ISMbits
16380 #define CWG1IS0 CWG1ISMbits.CWG1IS0 // bit 0, shadows bit in CWG1ISMbits
16381 #define IS1 CWG1ISMbits.IS1 // bit 1, shadows bit in CWG1ISMbits
16382 #define CWG1IS1 CWG1ISMbits.CWG1IS1 // bit 1, shadows bit in CWG1ISMbits
16383 #define IS2 CWG1ISMbits.IS2 // bit 2, shadows bit in CWG1ISMbits
16384 #define CWG1IS2 CWG1ISMbits.CWG1IS2 // bit 2, shadows bit in CWG1ISMbits
16385 #define IS3 CWG1ISMbits.IS3 // bit 3, shadows bit in CWG1ISMbits
16386 #define CWG1IS3 CWG1ISMbits.CWG1IS3 // bit 3, shadows bit in CWG1ISMbits
16388 #define STRA CWG1OCON0bits.STRA // bit 0, shadows bit in CWG1OCON0bits
16389 #define CWG1STRA CWG1OCON0bits.CWG1STRA // bit 0, shadows bit in CWG1OCON0bits
16390 #define STRB CWG1OCON0bits.STRB // bit 1, shadows bit in CWG1OCON0bits
16391 #define CWG1STRB CWG1OCON0bits.CWG1STRB // bit 1, shadows bit in CWG1OCON0bits
16392 #define STRC CWG1OCON0bits.STRC // bit 2, shadows bit in CWG1OCON0bits
16393 #define CWG1STRC CWG1OCON0bits.CWG1STRC // bit 2, shadows bit in CWG1OCON0bits
16394 #define STRD CWG1OCON0bits.STRD // bit 3, shadows bit in CWG1OCON0bits
16395 #define CWG1STRD CWG1OCON0bits.CWG1STRD // bit 3, shadows bit in CWG1OCON0bits
16396 #define OVRA CWG1OCON0bits.OVRA // bit 4, shadows bit in CWG1OCON0bits
16397 #define CWG1OVRA CWG1OCON0bits.CWG1OVRA // bit 4, shadows bit in CWG1OCON0bits
16398 #define OVRB CWG1OCON0bits.OVRB // bit 5, shadows bit in CWG1OCON0bits
16399 #define CWG1OVRB CWG1OCON0bits.CWG1OVRB // bit 5, shadows bit in CWG1OCON0bits
16400 #define OVRC CWG1OCON0bits.OVRC // bit 6, shadows bit in CWG1OCON0bits
16401 #define CWG1OVRC CWG1OCON0bits.CWG1OVRC // bit 6, shadows bit in CWG1OCON0bits
16402 #define OVRD CWG1OCON0bits.OVRD // bit 7, shadows bit in CWG1OCON0bits
16403 #define CWG1OVRD CWG1OCON0bits.CWG1OVRD // bit 7, shadows bit in CWG1OCON0bits
16405 #define CWGINPPS0 CWGINPPSbits.CWGINPPS0 // bit 0
16406 #define CWGINPPS1 CWGINPPSbits.CWGINPPS1 // bit 1
16407 #define CWGINPPS2 CWGINPPSbits.CWGINPPS2 // bit 2
16408 #define CWGINPPS3 CWGINPPSbits.CWGINPPS3 // bit 3
16409 #define CWGINPPS4 CWGINPPSbits.CWGINPPS4 // bit 4
16411 #define D1PSS0 DAC1CON0bits.D1PSS0 // bit 2
16412 #define D1PSS1 DAC1CON0bits.D1PSS1 // bit 3
16413 #define DAC1OE DAC1CON0bits.DAC1OE // bit 5
16414 #define DAC1EN DAC1CON0bits.DAC1EN // bit 7
16416 #define DAC1R0 DAC1CON1bits.DAC1R0 // bit 0
16417 #define DAC1R1 DAC1CON1bits.DAC1R1 // bit 1
16418 #define DAC1R2 DAC1CON1bits.DAC1R2 // bit 2
16419 #define DAC1R3 DAC1CON1bits.DAC1R3 // bit 3
16420 #define DAC1R4 DAC1CON1bits.DAC1R4 // bit 4
16421 #define DAC1R5 DAC1CON1bits.DAC1R5 // bit 5
16422 #define DAC1R6 DAC1CON1bits.DAC1R6 // bit 6
16423 #define DAC1R7 DAC1CON1bits.DAC1R7 // bit 7
16425 #define ADFVR0 FVRCONbits.ADFVR0 // bit 0
16426 #define ADFVR1 FVRCONbits.ADFVR1 // bit 1
16427 #define CDAFVR0 FVRCONbits.CDAFVR0 // bit 2
16428 #define CDAFVR1 FVRCONbits.CDAFVR1 // bit 3
16429 #define TSRNG FVRCONbits.TSRNG // bit 4
16430 #define TSEN FVRCONbits.TSEN // bit 5
16431 #define FVRRDY FVRCONbits.FVRRDY // bit 6
16432 #define FVREN FVRCONbits.FVREN // bit 7
16434 #define HIDC4 HIDRVCbits.HIDC4 // bit 4
16435 #define HIDC5 HIDRVCbits.HIDC5 // bit 5
16437 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
16438 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
16439 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
16440 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
16441 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
16442 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
16444 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
16445 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
16446 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
16447 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
16448 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
16449 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
16451 #define IOCIF INTCONbits.IOCIF // bit 0
16452 #define INTF INTCONbits.INTF // bit 1
16453 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
16454 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
16455 #define IOCIE INTCONbits.IOCIE // bit 3
16456 #define INTE INTCONbits.INTE // bit 4
16457 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
16458 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
16459 #define PEIE INTCONbits.PEIE // bit 6
16460 #define GIE INTCONbits.GIE // bit 7
16462 #define INTPPS0 INTPPSbits.INTPPS0 // bit 0
16463 #define INTPPS1 INTPPSbits.INTPPS1 // bit 1
16464 #define INTPPS2 INTPPSbits.INTPPS2 // bit 2
16465 #define INTPPS3 INTPPSbits.INTPPS3 // bit 3
16466 #define INTPPS4 INTPPSbits.INTPPS4 // bit 4
16468 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
16469 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
16470 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
16471 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
16472 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
16473 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
16475 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
16476 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
16477 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
16478 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
16479 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
16480 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
16482 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
16483 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
16484 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
16485 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
16486 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
16487 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
16489 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
16490 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
16491 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
16492 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
16493 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
16494 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
16495 #define IOCCF6 IOCCFbits.IOCCF6 // bit 6
16496 #define IOCCF7 IOCCFbits.IOCCF7 // bit 7
16498 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
16499 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
16500 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
16501 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
16502 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
16503 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
16504 #define IOCCN6 IOCCNbits.IOCCN6 // bit 6
16505 #define IOCCN7 IOCCNbits.IOCCN7 // bit 7
16507 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
16508 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
16509 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
16510 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
16511 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
16512 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
16513 #define IOCCP6 IOCCPbits.IOCCP6 // bit 6
16514 #define IOCCP7 IOCCPbits.IOCCP7 // bit 7
16516 #define LATA0 LATAbits.LATA0 // bit 0
16517 #define LATA1 LATAbits.LATA1 // bit 1
16518 #define LATA2 LATAbits.LATA2 // bit 2
16519 #define LATA3 LATAbits.LATA3 // bit 3
16520 #define LATA4 LATAbits.LATA4 // bit 4
16521 #define LATA5 LATAbits.LATA5 // bit 5
16523 #define LATC0 LATCbits.LATC0 // bit 0
16524 #define LATC1 LATCbits.LATC1 // bit 1
16525 #define LATC2 LATCbits.LATC2 // bit 2
16526 #define LATC3 LATCbits.LATC3 // bit 3
16527 #define LATC4 LATCbits.LATC4 // bit 4
16528 #define LATC5 LATCbits.LATC5 // bit 5
16530 #define ODA0 ODCONAbits.ODA0 // bit 0
16531 #define ODA1 ODCONAbits.ODA1 // bit 1
16532 #define ODA2 ODCONAbits.ODA2 // bit 2
16533 #define ODA4 ODCONAbits.ODA4 // bit 4
16534 #define ODA5 ODCONAbits.ODA5 // bit 5
16536 #define ODC0 ODCONCbits.ODC0 // bit 0
16537 #define ODC1 ODCONCbits.ODC1 // bit 1
16538 #define ODC2 ODCONCbits.ODC2 // bit 2
16539 #define ODC3 ODCONCbits.ODC3 // bit 3
16540 #define ODC4 ODCONCbits.ODC4 // bit 4
16541 #define ODC5 ODCONCbits.ODC5 // bit 5
16543 #define SCS0 OSCCONbits.SCS0 // bit 0
16544 #define SCS1 OSCCONbits.SCS1 // bit 1
16545 #define IRCF0 OSCCONbits.IRCF0 // bit 3
16546 #define IRCF1 OSCCONbits.IRCF1 // bit 4
16547 #define IRCF2 OSCCONbits.IRCF2 // bit 5
16548 #define IRCF3 OSCCONbits.IRCF3 // bit 6
16549 #define SPLLEN OSCCONbits.SPLLEN // bit 7
16551 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
16552 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
16553 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
16554 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
16555 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
16556 #define OSTS OSCSTATbits.OSTS // bit 5
16557 #define PLLR OSCSTATbits.PLLR // bit 6
16559 #define TUN0 OSCTUNEbits.TUN0 // bit 0
16560 #define TUN1 OSCTUNEbits.TUN1 // bit 1
16561 #define TUN2 OSCTUNEbits.TUN2 // bit 2
16562 #define TUN3 OSCTUNEbits.TUN3 // bit 3
16563 #define TUN4 OSCTUNEbits.TUN4 // bit 4
16564 #define TUN5 OSCTUNEbits.TUN5 // bit 5
16566 #define NOT_BOR PCONbits.NOT_BOR // bit 0
16567 #define NOT_POR PCONbits.NOT_POR // bit 1
16568 #define NOT_RI PCONbits.NOT_RI // bit 2
16569 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
16570 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
16571 #define NOT_WDTWV PCONbits.NOT_WDTWV // bit 5
16572 #define STKUNF PCONbits.STKUNF // bit 6
16573 #define STKOVF PCONbits.STKOVF // bit 7
16575 #define PID1ACC24 PID1ACCHHbits.PID1ACC24 // bit 0, shadows bit in PID1ACCHHbits
16576 #define ACC24 PID1ACCHHbits.ACC24 // bit 0, shadows bit in PID1ACCHHbits
16577 #define PID1ACC25 PID1ACCHHbits.PID1ACC25 // bit 1, shadows bit in PID1ACCHHbits
16578 #define ACC25 PID1ACCHHbits.ACC25 // bit 1, shadows bit in PID1ACCHHbits
16579 #define PID1ACC26 PID1ACCHHbits.PID1ACC26 // bit 2, shadows bit in PID1ACCHHbits
16580 #define ACC26 PID1ACCHHbits.ACC26 // bit 2, shadows bit in PID1ACCHHbits
16581 #define PID1ACC27 PID1ACCHHbits.PID1ACC27 // bit 3, shadows bit in PID1ACCHHbits
16582 #define ACC27 PID1ACCHHbits.ACC27 // bit 3, shadows bit in PID1ACCHHbits
16583 #define PID1ACC28 PID1ACCHHbits.PID1ACC28 // bit 4, shadows bit in PID1ACCHHbits
16584 #define ACC28 PID1ACCHHbits.ACC28 // bit 4, shadows bit in PID1ACCHHbits
16585 #define PID1ACC29 PID1ACCHHbits.PID1ACC29 // bit 5, shadows bit in PID1ACCHHbits
16586 #define ACC29 PID1ACCHHbits.ACC29 // bit 5, shadows bit in PID1ACCHHbits
16587 #define PID1ACC30 PID1ACCHHbits.PID1ACC30 // bit 6, shadows bit in PID1ACCHHbits
16588 #define ACC30 PID1ACCHHbits.ACC30 // bit 6, shadows bit in PID1ACCHHbits
16589 #define PID1ACC31 PID1ACCHHbits.PID1ACC31 // bit 7, shadows bit in PID1ACCHHbits
16590 #define ACC31 PID1ACCHHbits.ACC31 // bit 7, shadows bit in PID1ACCHHbits
16592 #define PID1ACC16 PID1ACCHLbits.PID1ACC16 // bit 0, shadows bit in PID1ACCHLbits
16593 #define ACC16 PID1ACCHLbits.ACC16 // bit 0, shadows bit in PID1ACCHLbits
16594 #define PID1ACC17 PID1ACCHLbits.PID1ACC17 // bit 1, shadows bit in PID1ACCHLbits
16595 #define ACC17 PID1ACCHLbits.ACC17 // bit 1, shadows bit in PID1ACCHLbits
16596 #define PID1ACC18 PID1ACCHLbits.PID1ACC18 // bit 2, shadows bit in PID1ACCHLbits
16597 #define ACC18 PID1ACCHLbits.ACC18 // bit 2, shadows bit in PID1ACCHLbits
16598 #define PID1ACC19 PID1ACCHLbits.PID1ACC19 // bit 3, shadows bit in PID1ACCHLbits
16599 #define ACC19 PID1ACCHLbits.ACC19 // bit 3, shadows bit in PID1ACCHLbits
16600 #define PID1ACC20 PID1ACCHLbits.PID1ACC20 // bit 4, shadows bit in PID1ACCHLbits
16601 #define ACC20 PID1ACCHLbits.ACC20 // bit 4, shadows bit in PID1ACCHLbits
16602 #define PID1ACC21 PID1ACCHLbits.PID1ACC21 // bit 5, shadows bit in PID1ACCHLbits
16603 #define ACC21 PID1ACCHLbits.ACC21 // bit 5, shadows bit in PID1ACCHLbits
16604 #define PID1ACC22 PID1ACCHLbits.PID1ACC22 // bit 6, shadows bit in PID1ACCHLbits
16605 #define ACC22 PID1ACCHLbits.ACC22 // bit 6, shadows bit in PID1ACCHLbits
16606 #define PID1ACC23 PID1ACCHLbits.PID1ACC23 // bit 7, shadows bit in PID1ACCHLbits
16607 #define ACC23 PID1ACCHLbits.ACC23 // bit 7, shadows bit in PID1ACCHLbits
16609 #define PID1ACC32 PID1ACCUbits.PID1ACC32 // bit 0, shadows bit in PID1ACCUbits
16610 #define ACC32 PID1ACCUbits.ACC32 // bit 0, shadows bit in PID1ACCUbits
16611 #define PID1ACC33 PID1ACCUbits.PID1ACC33 // bit 1, shadows bit in PID1ACCUbits
16612 #define ACC33 PID1ACCUbits.ACC33 // bit 1, shadows bit in PID1ACCUbits
16613 #define PID1ACC34 PID1ACCUbits.PID1ACC34 // bit 2, shadows bit in PID1ACCUbits
16614 #define ACC34 PID1ACCUbits.ACC34 // bit 2, shadows bit in PID1ACCUbits
16616 #define PID1IN8 PID1INHbits.PID1IN8 // bit 0, shadows bit in PID1INHbits
16617 #define IN8 PID1INHbits.IN8 // bit 0, shadows bit in PID1INHbits
16618 #define PID1IN9 PID1INHbits.PID1IN9 // bit 1, shadows bit in PID1INHbits
16619 #define IN9 PID1INHbits.IN9 // bit 1, shadows bit in PID1INHbits
16620 #define PID1IN10 PID1INHbits.PID1IN10 // bit 2, shadows bit in PID1INHbits
16621 #define IN10 PID1INHbits.IN10 // bit 2, shadows bit in PID1INHbits
16622 #define PID1IN11 PID1INHbits.PID1IN11 // bit 3, shadows bit in PID1INHbits
16623 #define IN11 PID1INHbits.IN11 // bit 3, shadows bit in PID1INHbits
16624 #define PID1IN12 PID1INHbits.PID1IN12 // bit 4, shadows bit in PID1INHbits
16625 #define IN12 PID1INHbits.IN12 // bit 4, shadows bit in PID1INHbits
16626 #define PID1IN13 PID1INHbits.PID1IN13 // bit 5, shadows bit in PID1INHbits
16627 #define IN13 PID1INHbits.IN13 // bit 5, shadows bit in PID1INHbits
16628 #define PID1IN14 PID1INHbits.PID1IN14 // bit 6, shadows bit in PID1INHbits
16629 #define IN14 PID1INHbits.IN14 // bit 6, shadows bit in PID1INHbits
16630 #define PID1IN15 PID1INHbits.PID1IN15 // bit 7, shadows bit in PID1INHbits
16631 #define IN15 PID1INHbits.IN15 // bit 7, shadows bit in PID1INHbits
16633 #define PID1IN0 PID1INLbits.PID1IN0 // bit 0, shadows bit in PID1INLbits
16634 #define IN0 PID1INLbits.IN0 // bit 0, shadows bit in PID1INLbits
16635 #define PID1IN1 PID1INLbits.PID1IN1 // bit 1, shadows bit in PID1INLbits
16636 #define IN1 PID1INLbits.IN1 // bit 1, shadows bit in PID1INLbits
16637 #define PID1IN2 PID1INLbits.PID1IN2 // bit 2, shadows bit in PID1INLbits
16638 #define IN2 PID1INLbits.IN2 // bit 2, shadows bit in PID1INLbits
16639 #define PID1IN3 PID1INLbits.PID1IN3 // bit 3, shadows bit in PID1INLbits
16640 #define IN3 PID1INLbits.IN3 // bit 3, shadows bit in PID1INLbits
16641 #define PID1IN4 PID1INLbits.PID1IN4 // bit 4, shadows bit in PID1INLbits
16642 #define IN4 PID1INLbits.IN4 // bit 4, shadows bit in PID1INLbits
16643 #define PID1IN5 PID1INLbits.PID1IN5 // bit 5, shadows bit in PID1INLbits
16644 #define IN5 PID1INLbits.IN5 // bit 5, shadows bit in PID1INLbits
16645 #define PID1IN6 PID1INLbits.PID1IN6 // bit 6, shadows bit in PID1INLbits
16646 #define IN6 PID1INLbits.IN6 // bit 6, shadows bit in PID1INLbits
16647 #define PID1IN7 PID1INLbits.PID1IN7 // bit 7, shadows bit in PID1INLbits
16648 #define IN7 PID1INLbits.IN7 // bit 7, shadows bit in PID1INLbits
16650 #define PID1K18 PID1K1Hbits.PID1K18 // bit 0, shadows bit in PID1K1Hbits
16651 #define K18 PID1K1Hbits.K18 // bit 0, shadows bit in PID1K1Hbits
16652 #define PID1K19 PID1K1Hbits.PID1K19 // bit 1, shadows bit in PID1K1Hbits
16653 #define K19 PID1K1Hbits.K19 // bit 1, shadows bit in PID1K1Hbits
16654 #define PID1K110 PID1K1Hbits.PID1K110 // bit 2, shadows bit in PID1K1Hbits
16655 #define K110 PID1K1Hbits.K110 // bit 2, shadows bit in PID1K1Hbits
16656 #define PID1K111 PID1K1Hbits.PID1K111 // bit 3, shadows bit in PID1K1Hbits
16657 #define K111 PID1K1Hbits.K111 // bit 3, shadows bit in PID1K1Hbits
16658 #define PID1K112 PID1K1Hbits.PID1K112 // bit 4, shadows bit in PID1K1Hbits
16659 #define K112 PID1K1Hbits.K112 // bit 4, shadows bit in PID1K1Hbits
16660 #define PID1K113 PID1K1Hbits.PID1K113 // bit 5, shadows bit in PID1K1Hbits
16661 #define K113 PID1K1Hbits.K113 // bit 5, shadows bit in PID1K1Hbits
16662 #define PID1K114 PID1K1Hbits.PID1K114 // bit 6, shadows bit in PID1K1Hbits
16663 #define K114 PID1K1Hbits.K114 // bit 6, shadows bit in PID1K1Hbits
16664 #define PID1K115 PID1K1Hbits.PID1K115 // bit 7, shadows bit in PID1K1Hbits
16665 #define K115 PID1K1Hbits.K115 // bit 7, shadows bit in PID1K1Hbits
16667 #define PID1K10 PID1K1Lbits.PID1K10 // bit 0, shadows bit in PID1K1Lbits
16668 #define K10 PID1K1Lbits.K10 // bit 0, shadows bit in PID1K1Lbits
16669 #define PID1K11 PID1K1Lbits.PID1K11 // bit 1, shadows bit in PID1K1Lbits
16670 #define K11 PID1K1Lbits.K11 // bit 1, shadows bit in PID1K1Lbits
16671 #define PID1K12 PID1K1Lbits.PID1K12 // bit 2, shadows bit in PID1K1Lbits
16672 #define K12 PID1K1Lbits.K12 // bit 2, shadows bit in PID1K1Lbits
16673 #define PID1K13 PID1K1Lbits.PID1K13 // bit 3, shadows bit in PID1K1Lbits
16674 #define K13 PID1K1Lbits.K13 // bit 3, shadows bit in PID1K1Lbits
16675 #define PID1K14 PID1K1Lbits.PID1K14 // bit 4, shadows bit in PID1K1Lbits
16676 #define K14 PID1K1Lbits.K14 // bit 4, shadows bit in PID1K1Lbits
16677 #define PID1K15 PID1K1Lbits.PID1K15 // bit 5, shadows bit in PID1K1Lbits
16678 #define K15 PID1K1Lbits.K15 // bit 5, shadows bit in PID1K1Lbits
16679 #define PID1K16 PID1K1Lbits.PID1K16 // bit 6, shadows bit in PID1K1Lbits
16680 #define K16 PID1K1Lbits.K16 // bit 6, shadows bit in PID1K1Lbits
16681 #define PID1K17 PID1K1Lbits.PID1K17 // bit 7, shadows bit in PID1K1Lbits
16682 #define K17 PID1K1Lbits.K17 // bit 7, shadows bit in PID1K1Lbits
16684 #define PID1K28 PID1K2Hbits.PID1K28 // bit 0, shadows bit in PID1K2Hbits
16685 #define K28 PID1K2Hbits.K28 // bit 0, shadows bit in PID1K2Hbits
16686 #define PID1K29 PID1K2Hbits.PID1K29 // bit 1, shadows bit in PID1K2Hbits
16687 #define K29 PID1K2Hbits.K29 // bit 1, shadows bit in PID1K2Hbits
16688 #define PID1K210 PID1K2Hbits.PID1K210 // bit 2, shadows bit in PID1K2Hbits
16689 #define K210 PID1K2Hbits.K210 // bit 2, shadows bit in PID1K2Hbits
16690 #define PID1K211 PID1K2Hbits.PID1K211 // bit 3, shadows bit in PID1K2Hbits
16691 #define K211 PID1K2Hbits.K211 // bit 3, shadows bit in PID1K2Hbits
16692 #define PID1K212 PID1K2Hbits.PID1K212 // bit 4, shadows bit in PID1K2Hbits
16693 #define K212 PID1K2Hbits.K212 // bit 4, shadows bit in PID1K2Hbits
16694 #define PID1K213 PID1K2Hbits.PID1K213 // bit 5, shadows bit in PID1K2Hbits
16695 #define K213 PID1K2Hbits.K213 // bit 5, shadows bit in PID1K2Hbits
16696 #define PID1K214 PID1K2Hbits.PID1K214 // bit 6, shadows bit in PID1K2Hbits
16697 #define K214 PID1K2Hbits.K214 // bit 6, shadows bit in PID1K2Hbits
16698 #define PID1K215 PID1K2Hbits.PID1K215 // bit 7, shadows bit in PID1K2Hbits
16699 #define K215 PID1K2Hbits.K215 // bit 7, shadows bit in PID1K2Hbits
16701 #define PID1K20 PID1K2Lbits.PID1K20 // bit 0, shadows bit in PID1K2Lbits
16702 #define K20 PID1K2Lbits.K20 // bit 0, shadows bit in PID1K2Lbits
16703 #define PID1K21 PID1K2Lbits.PID1K21 // bit 1, shadows bit in PID1K2Lbits
16704 #define K21 PID1K2Lbits.K21 // bit 1, shadows bit in PID1K2Lbits
16705 #define PID1K22 PID1K2Lbits.PID1K22 // bit 2, shadows bit in PID1K2Lbits
16706 #define K22 PID1K2Lbits.K22 // bit 2, shadows bit in PID1K2Lbits
16707 #define PID1K23 PID1K2Lbits.PID1K23 // bit 3, shadows bit in PID1K2Lbits
16708 #define K23 PID1K2Lbits.K23 // bit 3, shadows bit in PID1K2Lbits
16709 #define PID1K24 PID1K2Lbits.PID1K24 // bit 4, shadows bit in PID1K2Lbits
16710 #define K24 PID1K2Lbits.K24 // bit 4, shadows bit in PID1K2Lbits
16711 #define PID1K25 PID1K2Lbits.PID1K25 // bit 5, shadows bit in PID1K2Lbits
16712 #define K25 PID1K2Lbits.K25 // bit 5, shadows bit in PID1K2Lbits
16713 #define PID1K26 PID1K2Lbits.PID1K26 // bit 6, shadows bit in PID1K2Lbits
16714 #define K26 PID1K2Lbits.K26 // bit 6, shadows bit in PID1K2Lbits
16715 #define PID1K27 PID1K2Lbits.PID1K27 // bit 7, shadows bit in PID1K2Lbits
16716 #define K27 PID1K2Lbits.K27 // bit 7, shadows bit in PID1K2Lbits
16718 #define PID1K38 PID1K3Hbits.PID1K38 // bit 0, shadows bit in PID1K3Hbits
16719 #define K38 PID1K3Hbits.K38 // bit 0, shadows bit in PID1K3Hbits
16720 #define PID1K39 PID1K3Hbits.PID1K39 // bit 1, shadows bit in PID1K3Hbits
16721 #define K39 PID1K3Hbits.K39 // bit 1, shadows bit in PID1K3Hbits
16722 #define PID1K310 PID1K3Hbits.PID1K310 // bit 2, shadows bit in PID1K3Hbits
16723 #define K310 PID1K3Hbits.K310 // bit 2, shadows bit in PID1K3Hbits
16724 #define PID1K311 PID1K3Hbits.PID1K311 // bit 3, shadows bit in PID1K3Hbits
16725 #define K311 PID1K3Hbits.K311 // bit 3, shadows bit in PID1K3Hbits
16726 #define PID1K312 PID1K3Hbits.PID1K312 // bit 4, shadows bit in PID1K3Hbits
16727 #define K312 PID1K3Hbits.K312 // bit 4, shadows bit in PID1K3Hbits
16728 #define PID1K313 PID1K3Hbits.PID1K313 // bit 5, shadows bit in PID1K3Hbits
16729 #define K313 PID1K3Hbits.K313 // bit 5, shadows bit in PID1K3Hbits
16730 #define PID1K314 PID1K3Hbits.PID1K314 // bit 6, shadows bit in PID1K3Hbits
16731 #define K314 PID1K3Hbits.K314 // bit 6, shadows bit in PID1K3Hbits
16732 #define PID1K315 PID1K3Hbits.PID1K315 // bit 7, shadows bit in PID1K3Hbits
16733 #define K315 PID1K3Hbits.K315 // bit 7, shadows bit in PID1K3Hbits
16735 #define PID1K30 PID1K3Lbits.PID1K30 // bit 0, shadows bit in PID1K3Lbits
16736 #define K30 PID1K3Lbits.K30 // bit 0, shadows bit in PID1K3Lbits
16737 #define PID1K31 PID1K3Lbits.PID1K31 // bit 1, shadows bit in PID1K3Lbits
16738 #define K31 PID1K3Lbits.K31 // bit 1, shadows bit in PID1K3Lbits
16739 #define PID1K32 PID1K3Lbits.PID1K32 // bit 2, shadows bit in PID1K3Lbits
16740 #define K32 PID1K3Lbits.K32 // bit 2, shadows bit in PID1K3Lbits
16741 #define PID1K33 PID1K3Lbits.PID1K33 // bit 3, shadows bit in PID1K3Lbits
16742 #define K33 PID1K3Lbits.K33 // bit 3, shadows bit in PID1K3Lbits
16743 #define PID1K34 PID1K3Lbits.PID1K34 // bit 4, shadows bit in PID1K3Lbits
16744 #define K34 PID1K3Lbits.K34 // bit 4, shadows bit in PID1K3Lbits
16745 #define PID1K35 PID1K3Lbits.PID1K35 // bit 5, shadows bit in PID1K3Lbits
16746 #define K35 PID1K3Lbits.K35 // bit 5, shadows bit in PID1K3Lbits
16747 #define PID1K36 PID1K3Lbits.PID1K36 // bit 6, shadows bit in PID1K3Lbits
16748 #define K36 PID1K3Lbits.K36 // bit 6, shadows bit in PID1K3Lbits
16749 #define PID1K37 PID1K3Lbits.PID1K37 // bit 7, shadows bit in PID1K3Lbits
16750 #define K37 PID1K3Lbits.K37 // bit 7, shadows bit in PID1K3Lbits
16752 #define PID1OUT24 PID1OUTHHbits.PID1OUT24 // bit 0, shadows bit in PID1OUTHHbits
16753 #define OUT24 PID1OUTHHbits.OUT24 // bit 0, shadows bit in PID1OUTHHbits
16754 #define PID1OUT25 PID1OUTHHbits.PID1OUT25 // bit 1, shadows bit in PID1OUTHHbits
16755 #define OUT25 PID1OUTHHbits.OUT25 // bit 1, shadows bit in PID1OUTHHbits
16756 #define PID1OUT26 PID1OUTHHbits.PID1OUT26 // bit 2, shadows bit in PID1OUTHHbits
16757 #define OUT26 PID1OUTHHbits.OUT26 // bit 2, shadows bit in PID1OUTHHbits
16758 #define PID1OUT27 PID1OUTHHbits.PID1OUT27 // bit 3, shadows bit in PID1OUTHHbits
16759 #define OUT27 PID1OUTHHbits.OUT27 // bit 3, shadows bit in PID1OUTHHbits
16760 #define PID1OUT28 PID1OUTHHbits.PID1OUT28 // bit 4, shadows bit in PID1OUTHHbits
16761 #define OUT28 PID1OUTHHbits.OUT28 // bit 4, shadows bit in PID1OUTHHbits
16762 #define PID1OUT29 PID1OUTHHbits.PID1OUT29 // bit 5, shadows bit in PID1OUTHHbits
16763 #define OUT29 PID1OUTHHbits.OUT29 // bit 5, shadows bit in PID1OUTHHbits
16764 #define PID1OUT30 PID1OUTHHbits.PID1OUT30 // bit 6, shadows bit in PID1OUTHHbits
16765 #define OUT30 PID1OUTHHbits.OUT30 // bit 6, shadows bit in PID1OUTHHbits
16766 #define PID1OUT31 PID1OUTHHbits.PID1OUT31 // bit 7, shadows bit in PID1OUTHHbits
16767 #define OUT31 PID1OUTHHbits.OUT31 // bit 7, shadows bit in PID1OUTHHbits
16769 #define PID1OUT16 PID1OUTHLbits.PID1OUT16 // bit 0, shadows bit in PID1OUTHLbits
16770 #define OUT16 PID1OUTHLbits.OUT16 // bit 0, shadows bit in PID1OUTHLbits
16771 #define PID1OUT17 PID1OUTHLbits.PID1OUT17 // bit 1, shadows bit in PID1OUTHLbits
16772 #define OUT17 PID1OUTHLbits.OUT17 // bit 1, shadows bit in PID1OUTHLbits
16773 #define PID1OUT18 PID1OUTHLbits.PID1OUT18 // bit 2, shadows bit in PID1OUTHLbits
16774 #define OUT18 PID1OUTHLbits.OUT18 // bit 2, shadows bit in PID1OUTHLbits
16775 #define PID1OUT19 PID1OUTHLbits.PID1OUT19 // bit 3, shadows bit in PID1OUTHLbits
16776 #define OUT19 PID1OUTHLbits.OUT19 // bit 3, shadows bit in PID1OUTHLbits
16777 #define PID1OUT20 PID1OUTHLbits.PID1OUT20 // bit 4, shadows bit in PID1OUTHLbits
16778 #define OUT20 PID1OUTHLbits.OUT20 // bit 4, shadows bit in PID1OUTHLbits
16779 #define PID1OUT21 PID1OUTHLbits.PID1OUT21 // bit 5, shadows bit in PID1OUTHLbits
16780 #define OUT21 PID1OUTHLbits.OUT21 // bit 5, shadows bit in PID1OUTHLbits
16781 #define PID1OUT22 PID1OUTHLbits.PID1OUT22 // bit 6, shadows bit in PID1OUTHLbits
16782 #define OUT22 PID1OUTHLbits.OUT22 // bit 6, shadows bit in PID1OUTHLbits
16783 #define PID1OUT23 PID1OUTHLbits.PID1OUT23 // bit 7, shadows bit in PID1OUTHLbits
16784 #define OUT23 PID1OUTHLbits.OUT23 // bit 7, shadows bit in PID1OUTHLbits
16786 #define PID1OUT8 PID1OUTLHbits.PID1OUT8 // bit 0, shadows bit in PID1OUTLHbits
16787 #define OUT8 PID1OUTLHbits.OUT8 // bit 0, shadows bit in PID1OUTLHbits
16788 #define PID1OUT9 PID1OUTLHbits.PID1OUT9 // bit 1, shadows bit in PID1OUTLHbits
16789 #define OUT9 PID1OUTLHbits.OUT9 // bit 1, shadows bit in PID1OUTLHbits
16790 #define PID1OUT10 PID1OUTLHbits.PID1OUT10 // bit 2, shadows bit in PID1OUTLHbits
16791 #define OUT10 PID1OUTLHbits.OUT10 // bit 2, shadows bit in PID1OUTLHbits
16792 #define PID1OUT11 PID1OUTLHbits.PID1OUT11 // bit 3, shadows bit in PID1OUTLHbits
16793 #define OUT11 PID1OUTLHbits.OUT11 // bit 3, shadows bit in PID1OUTLHbits
16794 #define PID1OUT12 PID1OUTLHbits.PID1OUT12 // bit 4, shadows bit in PID1OUTLHbits
16795 #define OUT12 PID1OUTLHbits.OUT12 // bit 4, shadows bit in PID1OUTLHbits
16796 #define PID1OUT13 PID1OUTLHbits.PID1OUT13 // bit 5, shadows bit in PID1OUTLHbits
16797 #define OUT13 PID1OUTLHbits.OUT13 // bit 5, shadows bit in PID1OUTLHbits
16798 #define PID1OUT14 PID1OUTLHbits.PID1OUT14 // bit 6, shadows bit in PID1OUTLHbits
16799 #define OUT14 PID1OUTLHbits.OUT14 // bit 6, shadows bit in PID1OUTLHbits
16800 #define PID1OUT15 PID1OUTLHbits.PID1OUT15 // bit 7, shadows bit in PID1OUTLHbits
16801 #define OUT15 PID1OUTLHbits.OUT15 // bit 7, shadows bit in PID1OUTLHbits
16803 #define PID1OUT0 PID1OUTLLbits.PID1OUT0 // bit 0, shadows bit in PID1OUTLLbits
16804 #define OUT0 PID1OUTLLbits.OUT0 // bit 0, shadows bit in PID1OUTLLbits
16805 #define PID1OUT1 PID1OUTLLbits.PID1OUT1 // bit 1, shadows bit in PID1OUTLLbits
16806 #define OUT1 PID1OUTLLbits.OUT1 // bit 1, shadows bit in PID1OUTLLbits
16807 #define PID1OUT2 PID1OUTLLbits.PID1OUT2 // bit 2, shadows bit in PID1OUTLLbits
16808 #define OUT2 PID1OUTLLbits.OUT2 // bit 2, shadows bit in PID1OUTLLbits
16809 #define PID1OUT3 PID1OUTLLbits.PID1OUT3 // bit 3, shadows bit in PID1OUTLLbits
16810 #define OUT3 PID1OUTLLbits.OUT3 // bit 3, shadows bit in PID1OUTLLbits
16811 #define PID1OUT4 PID1OUTLLbits.PID1OUT4 // bit 4, shadows bit in PID1OUTLLbits
16812 #define OUT4 PID1OUTLLbits.OUT4 // bit 4, shadows bit in PID1OUTLLbits
16813 #define PID1OUT5 PID1OUTLLbits.PID1OUT5 // bit 5, shadows bit in PID1OUTLLbits
16814 #define OUT5 PID1OUTLLbits.OUT5 // bit 5, shadows bit in PID1OUTLLbits
16815 #define PID1OUT6 PID1OUTLLbits.PID1OUT6 // bit 6, shadows bit in PID1OUTLLbits
16816 #define OUT6 PID1OUTLLbits.OUT6 // bit 6, shadows bit in PID1OUTLLbits
16817 #define PID1OUT7 PID1OUTLLbits.PID1OUT7 // bit 7, shadows bit in PID1OUTLLbits
16818 #define OUT7 PID1OUTLLbits.OUT7 // bit 7, shadows bit in PID1OUTLLbits
16820 #define PID1OUT32 PID1OUTUbits.PID1OUT32 // bit 0, shadows bit in PID1OUTUbits
16821 #define OUT32 PID1OUTUbits.OUT32 // bit 0, shadows bit in PID1OUTUbits
16822 #define PID1OUT33 PID1OUTUbits.PID1OUT33 // bit 1, shadows bit in PID1OUTUbits
16823 #define OUT33 PID1OUTUbits.OUT33 // bit 1, shadows bit in PID1OUTUbits
16824 #define PID1OUT34 PID1OUTUbits.PID1OUT34 // bit 2, shadows bit in PID1OUTUbits
16825 #define OUT34 PID1OUTUbits.OUT34 // bit 2, shadows bit in PID1OUTUbits
16826 #define PID1OUT35 PID1OUTUbits.PID1OUT35 // bit 3, shadows bit in PID1OUTUbits
16827 #define OUT35 PID1OUTUbits.OUT35 // bit 3, shadows bit in PID1OUTUbits
16829 #define PID1SET8 PID1SETHbits.PID1SET8 // bit 0, shadows bit in PID1SETHbits
16830 #define SET8 PID1SETHbits.SET8 // bit 0, shadows bit in PID1SETHbits
16831 #define PID1SET9 PID1SETHbits.PID1SET9 // bit 1, shadows bit in PID1SETHbits
16832 #define SET9 PID1SETHbits.SET9 // bit 1, shadows bit in PID1SETHbits
16833 #define PID1SET10 PID1SETHbits.PID1SET10 // bit 2, shadows bit in PID1SETHbits
16834 #define SET10 PID1SETHbits.SET10 // bit 2, shadows bit in PID1SETHbits
16835 #define PID1SET11 PID1SETHbits.PID1SET11 // bit 3, shadows bit in PID1SETHbits
16836 #define SET11 PID1SETHbits.SET11 // bit 3, shadows bit in PID1SETHbits
16837 #define PID1SET12 PID1SETHbits.PID1SET12 // bit 4, shadows bit in PID1SETHbits
16838 #define SET12 PID1SETHbits.SET12 // bit 4, shadows bit in PID1SETHbits
16839 #define PID1SET13 PID1SETHbits.PID1SET13 // bit 5, shadows bit in PID1SETHbits
16840 #define SET13 PID1SETHbits.SET13 // bit 5, shadows bit in PID1SETHbits
16841 #define PID1SET14 PID1SETHbits.PID1SET14 // bit 6, shadows bit in PID1SETHbits
16842 #define SET14 PID1SETHbits.SET14 // bit 6, shadows bit in PID1SETHbits
16843 #define PID1SET15 PID1SETHbits.PID1SET15 // bit 7, shadows bit in PID1SETHbits
16844 #define SET15 PID1SETHbits.SET15 // bit 7, shadows bit in PID1SETHbits
16846 #define PID1SET0 PID1SETLbits.PID1SET0 // bit 0, shadows bit in PID1SETLbits
16847 #define SET0 PID1SETLbits.SET0 // bit 0, shadows bit in PID1SETLbits
16848 #define PID1SET1 PID1SETLbits.PID1SET1 // bit 1, shadows bit in PID1SETLbits
16849 #define SET1 PID1SETLbits.SET1 // bit 1, shadows bit in PID1SETLbits
16850 #define PID1SET2 PID1SETLbits.PID1SET2 // bit 2, shadows bit in PID1SETLbits
16851 #define SET2 PID1SETLbits.SET2 // bit 2, shadows bit in PID1SETLbits
16852 #define PID1SET3 PID1SETLbits.PID1SET3 // bit 3, shadows bit in PID1SETLbits
16853 #define SET3 PID1SETLbits.SET3 // bit 3, shadows bit in PID1SETLbits
16854 #define PID1SET4 PID1SETLbits.PID1SET4 // bit 4, shadows bit in PID1SETLbits
16855 #define SET4 PID1SETLbits.SET4 // bit 4, shadows bit in PID1SETLbits
16856 #define PID1SET5 PID1SETLbits.PID1SET5 // bit 5, shadows bit in PID1SETLbits
16857 #define SET5 PID1SETLbits.SET5 // bit 5, shadows bit in PID1SETLbits
16858 #define PID1SET6 PID1SETLbits.PID1SET6 // bit 6, shadows bit in PID1SETLbits
16859 #define SET6 PID1SETLbits.SET6 // bit 6, shadows bit in PID1SETLbits
16860 #define PID1SET7 PID1SETLbits.PID1SET7 // bit 7, shadows bit in PID1SETLbits
16861 #define SET7 PID1SETLbits.SET7 // bit 7, shadows bit in PID1SETLbits
16863 #define PID1Z18 PID1Z1Hbits.PID1Z18 // bit 0, shadows bit in PID1Z1Hbits
16864 #define Z18 PID1Z1Hbits.Z18 // bit 0, shadows bit in PID1Z1Hbits
16865 #define PID1Z19 PID1Z1Hbits.PID1Z19 // bit 1, shadows bit in PID1Z1Hbits
16866 #define Z19 PID1Z1Hbits.Z19 // bit 1, shadows bit in PID1Z1Hbits
16867 #define PID1Z110 PID1Z1Hbits.PID1Z110 // bit 2, shadows bit in PID1Z1Hbits
16868 #define Z110 PID1Z1Hbits.Z110 // bit 2, shadows bit in PID1Z1Hbits
16869 #define PID1Z111 PID1Z1Hbits.PID1Z111 // bit 3, shadows bit in PID1Z1Hbits
16870 #define Z111 PID1Z1Hbits.Z111 // bit 3, shadows bit in PID1Z1Hbits
16871 #define PID1Z112 PID1Z1Hbits.PID1Z112 // bit 4, shadows bit in PID1Z1Hbits
16872 #define Z112 PID1Z1Hbits.Z112 // bit 4, shadows bit in PID1Z1Hbits
16873 #define PID1Z113 PID1Z1Hbits.PID1Z113 // bit 5, shadows bit in PID1Z1Hbits
16874 #define Z113 PID1Z1Hbits.Z113 // bit 5, shadows bit in PID1Z1Hbits
16875 #define PID1Z114 PID1Z1Hbits.PID1Z114 // bit 6, shadows bit in PID1Z1Hbits
16876 #define Z114 PID1Z1Hbits.Z114 // bit 6, shadows bit in PID1Z1Hbits
16877 #define PID1Z115 PID1Z1Hbits.PID1Z115 // bit 7, shadows bit in PID1Z1Hbits
16878 #define Z115 PID1Z1Hbits.Z115 // bit 7, shadows bit in PID1Z1Hbits
16880 #define PID1Z10 PID1Z1Lbits.PID1Z10 // bit 0, shadows bit in PID1Z1Lbits
16881 #define Z10 PID1Z1Lbits.Z10 // bit 0, shadows bit in PID1Z1Lbits
16882 #define PID1Z11 PID1Z1Lbits.PID1Z11 // bit 1, shadows bit in PID1Z1Lbits
16883 #define Z11 PID1Z1Lbits.Z11 // bit 1, shadows bit in PID1Z1Lbits
16884 #define PID1Z12 PID1Z1Lbits.PID1Z12 // bit 2, shadows bit in PID1Z1Lbits
16885 #define Z12 PID1Z1Lbits.Z12 // bit 2, shadows bit in PID1Z1Lbits
16886 #define PID1Z13 PID1Z1Lbits.PID1Z13 // bit 3, shadows bit in PID1Z1Lbits
16887 #define Z13 PID1Z1Lbits.Z13 // bit 3, shadows bit in PID1Z1Lbits
16888 #define PID1Z14 PID1Z1Lbits.PID1Z14 // bit 4, shadows bit in PID1Z1Lbits
16889 #define Z14 PID1Z1Lbits.Z14 // bit 4, shadows bit in PID1Z1Lbits
16890 #define PID1Z15 PID1Z1Lbits.PID1Z15 // bit 5, shadows bit in PID1Z1Lbits
16891 #define Z15 PID1Z1Lbits.Z15 // bit 5, shadows bit in PID1Z1Lbits
16892 #define PID1Z16 PID1Z1Lbits.PID1Z16 // bit 6, shadows bit in PID1Z1Lbits
16893 #define Z16 PID1Z1Lbits.Z16 // bit 6, shadows bit in PID1Z1Lbits
16894 #define PID1Z17 PID1Z1Lbits.PID1Z17 // bit 7, shadows bit in PID1Z1Lbits
16895 #define Z17 PID1Z1Lbits.Z17 // bit 7, shadows bit in PID1Z1Lbits
16897 #define PID1Z116 PID1Z1Ubits.PID1Z116 // bit 0, shadows bit in PID1Z1Ubits
16898 #define Z116 PID1Z1Ubits.Z116 // bit 0, shadows bit in PID1Z1Ubits
16900 #define PID1Z28 PID1Z2Hbits.PID1Z28 // bit 0, shadows bit in PID1Z2Hbits
16901 #define Z28 PID1Z2Hbits.Z28 // bit 0, shadows bit in PID1Z2Hbits
16902 #define PID1Z29 PID1Z2Hbits.PID1Z29 // bit 1, shadows bit in PID1Z2Hbits
16903 #define Z29 PID1Z2Hbits.Z29 // bit 1, shadows bit in PID1Z2Hbits
16904 #define PID1Z210 PID1Z2Hbits.PID1Z210 // bit 2, shadows bit in PID1Z2Hbits
16905 #define Z210 PID1Z2Hbits.Z210 // bit 2, shadows bit in PID1Z2Hbits
16906 #define PID1Z211 PID1Z2Hbits.PID1Z211 // bit 3, shadows bit in PID1Z2Hbits
16907 #define Z211 PID1Z2Hbits.Z211 // bit 3, shadows bit in PID1Z2Hbits
16908 #define PID1Z212 PID1Z2Hbits.PID1Z212 // bit 4, shadows bit in PID1Z2Hbits
16909 #define Z212 PID1Z2Hbits.Z212 // bit 4, shadows bit in PID1Z2Hbits
16910 #define PID1Z213 PID1Z2Hbits.PID1Z213 // bit 5, shadows bit in PID1Z2Hbits
16911 #define Z213 PID1Z2Hbits.Z213 // bit 5, shadows bit in PID1Z2Hbits
16912 #define PID1Z214 PID1Z2Hbits.PID1Z214 // bit 6, shadows bit in PID1Z2Hbits
16913 #define Z214 PID1Z2Hbits.Z214 // bit 6, shadows bit in PID1Z2Hbits
16914 #define PID1Z215 PID1Z2Hbits.PID1Z215 // bit 7, shadows bit in PID1Z2Hbits
16915 #define Z215 PID1Z2Hbits.Z215 // bit 7, shadows bit in PID1Z2Hbits
16917 #define PID1Z20 PID1Z2Lbits.PID1Z20 // bit 0, shadows bit in PID1Z2Lbits
16918 #define Z20 PID1Z2Lbits.Z20 // bit 0, shadows bit in PID1Z2Lbits
16919 #define PID1Z21 PID1Z2Lbits.PID1Z21 // bit 1, shadows bit in PID1Z2Lbits
16920 #define Z21 PID1Z2Lbits.Z21 // bit 1, shadows bit in PID1Z2Lbits
16921 #define PID1Z22 PID1Z2Lbits.PID1Z22 // bit 2, shadows bit in PID1Z2Lbits
16922 #define Z22 PID1Z2Lbits.Z22 // bit 2, shadows bit in PID1Z2Lbits
16923 #define PID1Z23 PID1Z2Lbits.PID1Z23 // bit 3, shadows bit in PID1Z2Lbits
16924 #define Z23 PID1Z2Lbits.Z23 // bit 3, shadows bit in PID1Z2Lbits
16925 #define PID1Z24 PID1Z2Lbits.PID1Z24 // bit 4, shadows bit in PID1Z2Lbits
16926 #define Z24 PID1Z2Lbits.Z24 // bit 4, shadows bit in PID1Z2Lbits
16927 #define PID1Z25 PID1Z2Lbits.PID1Z25 // bit 5, shadows bit in PID1Z2Lbits
16928 #define Z25 PID1Z2Lbits.Z25 // bit 5, shadows bit in PID1Z2Lbits
16929 #define PID1Z26 PID1Z2Lbits.PID1Z26 // bit 6, shadows bit in PID1Z2Lbits
16930 #define Z26 PID1Z2Lbits.Z26 // bit 6, shadows bit in PID1Z2Lbits
16931 #define PID1Z27 PID1Z2Lbits.PID1Z27 // bit 7, shadows bit in PID1Z2Lbits
16932 #define Z27 PID1Z2Lbits.Z27 // bit 7, shadows bit in PID1Z2Lbits
16934 #define PID1Z216 PID1Z2Ubits.PID1Z216 // bit 0, shadows bit in PID1Z2Ubits
16935 #define Z216 PID1Z2Ubits.Z216 // bit 0, shadows bit in PID1Z2Ubits
16937 #define TMR1IE PIE1bits.TMR1IE // bit 0
16938 #define TMR2IE PIE1bits.TMR2IE // bit 1
16939 #define CCP1IE PIE1bits.CCP1IE // bit 2
16940 #define SSP1IE PIE1bits.SSP1IE // bit 3
16941 #define TXIE PIE1bits.TXIE // bit 4
16942 #define RCIE PIE1bits.RCIE // bit 5
16943 #define ADIE PIE1bits.ADIE // bit 6
16944 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
16946 #define CCP2IE PIE2bits.CCP2IE // bit 0
16947 #define TMR4IE PIE2bits.TMR4IE // bit 1
16948 #define TMR6IE PIE2bits.TMR6IE // bit 2
16949 #define BCL1IE PIE2bits.BCL1IE // bit 3
16950 #define C1IE PIE2bits.C1IE // bit 5
16951 #define C2IE PIE2bits.C2IE // bit 6
16952 #define OSCFIE PIE2bits.OSCFIE // bit 7
16954 #define CLC1IE PIE3bits.CLC1IE // bit 0
16955 #define CLC2IE PIE3bits.CLC2IE // bit 1
16956 #define CLC3IE PIE3bits.CLC3IE // bit 2
16957 #define CLC4IE PIE3bits.CLC4IE // bit 3
16958 #define ZCDIE PIE3bits.ZCDIE // bit 4
16959 #define CWGIE PIE3bits.CWGIE // bit 5
16961 #define SMT1IE PIE4bits.SMT1IE // bit 0
16962 #define SMT1PRAIE PIE4bits.SMT1PRAIE // bit 1
16963 #define SMT1PWAIE PIE4bits.SMT1PWAIE // bit 2
16964 #define SMT2IE PIE4bits.SMT2IE // bit 3
16965 #define SMT2PRAIE PIE4bits.SMT2PRAIE // bit 4
16966 #define SMT2PWAIE PIE4bits.SMT2PWAIE // bit 5
16967 #define CRCIE PIE4bits.CRCIE // bit 6
16968 #define SCANIE PIE4bits.SCANIE // bit 7
16970 #define PID1DIE PIE5bits.PID1DIE // bit 0
16971 #define PID1EIE PIE5bits.PID1EIE // bit 1
16972 #define AT1IE PIE5bits.AT1IE // bit 2
16973 #define TMR5IE PIE5bits.TMR5IE // bit 4
16974 #define TMR5GIE PIE5bits.TMR5GIE // bit 5
16975 #define TMR3IE PIE5bits.TMR3IE // bit 6
16976 #define TMR3GIE PIE5bits.TMR3GIE // bit 7
16978 #define TMR1IF PIR1bits.TMR1IF // bit 0
16979 #define TMR2IF PIR1bits.TMR2IF // bit 1
16980 #define CCP1IF PIR1bits.CCP1IF // bit 2
16981 #define SSP1IF PIR1bits.SSP1IF // bit 3
16982 #define TXIF PIR1bits.TXIF // bit 4
16983 #define RCIF PIR1bits.RCIF // bit 5
16984 #define ADIF PIR1bits.ADIF // bit 6
16985 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
16987 #define CCP2IF PIR2bits.CCP2IF // bit 0
16988 #define TMR4IF PIR2bits.TMR4IF // bit 1
16989 #define TMR6IF PIR2bits.TMR6IF // bit 2
16990 #define BCL1IF PIR2bits.BCL1IF // bit 3
16991 #define C1IF PIR2bits.C1IF // bit 5
16992 #define C2IF PIR2bits.C2IF // bit 6
16993 #define OSFIF PIR2bits.OSFIF // bit 7
16995 #define CLC1IF PIR3bits.CLC1IF // bit 0
16996 #define CLC2IF PIR3bits.CLC2IF // bit 1
16997 #define CLC3IF PIR3bits.CLC3IF // bit 2
16998 #define CLC4IF PIR3bits.CLC4IF // bit 3
16999 #define ZCDIF PIR3bits.ZCDIF // bit 4
17000 #define CWGIF PIR3bits.CWGIF // bit 5
17002 #define SMT1IF PIR4bits.SMT1IF // bit 0
17003 #define SMT1PRAIF PIR4bits.SMT1PRAIF // bit 1
17004 #define SMT1PWAIF PIR4bits.SMT1PWAIF // bit 2
17005 #define SMT2IF PIR4bits.SMT2IF // bit 3
17006 #define SMT2PRAIF PIR4bits.SMT2PRAIF // bit 4
17007 #define SMT2PWAIF PIR4bits.SMT2PWAIF // bit 5
17008 #define CRCIF PIR4bits.CRCIF // bit 6
17009 #define SCANIF PIR4bits.SCANIF // bit 7
17011 #define PID1DIF PIR5bits.PID1DIF // bit 0
17012 #define PID1EIF PIR5bits.PID1EIF // bit 1
17013 #define AT1IF PIR5bits.AT1IF // bit 2
17014 #define TMR5IF PIR5bits.TMR5IF // bit 4
17015 #define TMR5GIF PIR5bits.TMR5GIF // bit 5
17016 #define TMR3IF PIR5bits.TMR3IF // bit 6
17017 #define TMR3GIF PIR5bits.TMR3GIF // bit 7
17019 #define RD PMCON1bits.RD // bit 0
17020 #define WR PMCON1bits.WR // bit 1
17021 #define WREN PMCON1bits.WREN // bit 2
17022 #define WRERR PMCON1bits.WRERR // bit 3
17023 #define FREE PMCON1bits.FREE // bit 4
17024 #define LWLO PMCON1bits.LWLO // bit 5
17025 #define CFGS PMCON1bits.CFGS // bit 6
17027 #define RA0 PORTAbits.RA0 // bit 0
17028 #define RA1 PORTAbits.RA1 // bit 1
17029 #define RA2 PORTAbits.RA2 // bit 2
17030 #define RA3 PORTAbits.RA3 // bit 3
17031 #define RA4 PORTAbits.RA4 // bit 4
17032 #define RA5 PORTAbits.RA5 // bit 5
17034 #define RC0 PORTCbits.RC0 // bit 0
17035 #define RC1 PORTCbits.RC1 // bit 1
17036 #define RC2 PORTCbits.RC2 // bit 2
17037 #define RC3 PORTCbits.RC3 // bit 3
17038 #define RC4 PORTCbits.RC4 // bit 4
17039 #define RC5 PORTCbits.RC5 // bit 5
17041 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
17043 #define DC2 PWM3DCHbits.DC2 // bit 0, shadows bit in PWM3DCHbits
17044 #define PWM3DC2 PWM3DCHbits.PWM3DC2 // bit 0, shadows bit in PWM3DCHbits
17045 #define PWMPW2 PWM3DCHbits.PWMPW2 // bit 0, shadows bit in PWM3DCHbits
17046 #define DC3 PWM3DCHbits.DC3 // bit 1, shadows bit in PWM3DCHbits
17047 #define PWM3DC3 PWM3DCHbits.PWM3DC3 // bit 1, shadows bit in PWM3DCHbits
17048 #define PWMPW3 PWM3DCHbits.PWMPW3 // bit 1, shadows bit in PWM3DCHbits
17049 #define DC4 PWM3DCHbits.DC4 // bit 2, shadows bit in PWM3DCHbits
17050 #define PWM3DC4 PWM3DCHbits.PWM3DC4 // bit 2, shadows bit in PWM3DCHbits
17051 #define PWMPW4 PWM3DCHbits.PWMPW4 // bit 2, shadows bit in PWM3DCHbits
17052 #define DC5 PWM3DCHbits.DC5 // bit 3, shadows bit in PWM3DCHbits
17053 #define PWM3DC5 PWM3DCHbits.PWM3DC5 // bit 3, shadows bit in PWM3DCHbits
17054 #define PWMPW5 PWM3DCHbits.PWMPW5 // bit 3, shadows bit in PWM3DCHbits
17055 #define DC6 PWM3DCHbits.DC6 // bit 4, shadows bit in PWM3DCHbits
17056 #define PWM3DC6 PWM3DCHbits.PWM3DC6 // bit 4, shadows bit in PWM3DCHbits
17057 #define PWMPW6 PWM3DCHbits.PWMPW6 // bit 4, shadows bit in PWM3DCHbits
17058 #define DC7 PWM3DCHbits.DC7 // bit 5, shadows bit in PWM3DCHbits
17059 #define PWM3DC7 PWM3DCHbits.PWM3DC7 // bit 5, shadows bit in PWM3DCHbits
17060 #define PWMPW7 PWM3DCHbits.PWMPW7 // bit 5, shadows bit in PWM3DCHbits
17061 #define DC8 PWM3DCHbits.DC8 // bit 6, shadows bit in PWM3DCHbits
17062 #define PWM3DC8 PWM3DCHbits.PWM3DC8 // bit 6, shadows bit in PWM3DCHbits
17063 #define PWMPW8 PWM3DCHbits.PWMPW8 // bit 6, shadows bit in PWM3DCHbits
17064 #define DC9 PWM3DCHbits.DC9 // bit 7, shadows bit in PWM3DCHbits
17065 #define PWM3DC9 PWM3DCHbits.PWM3DC9 // bit 7, shadows bit in PWM3DCHbits
17066 #define PWMPW9 PWM3DCHbits.PWMPW9 // bit 7, shadows bit in PWM3DCHbits
17068 #define DC0 PWM3DCLbits.DC0 // bit 6, shadows bit in PWM3DCLbits
17069 #define PWM3DC0 PWM3DCLbits.PWM3DC0 // bit 6, shadows bit in PWM3DCLbits
17070 #define PWMPW0 PWM3DCLbits.PWMPW0 // bit 6, shadows bit in PWM3DCLbits
17071 #define DC1 PWM3DCLbits.DC1 // bit 7, shadows bit in PWM3DCLbits
17072 #define PWM3DC1 PWM3DCLbits.PWM3DC1 // bit 7, shadows bit in PWM3DCLbits
17073 #define PWMPW1 PWM3DCLbits.PWMPW1 // bit 7, shadows bit in PWM3DCLbits
17075 #define RA0PPS0 RA0PPSbits.RA0PPS0 // bit 0
17076 #define RA0PPS1 RA0PPSbits.RA0PPS1 // bit 1
17077 #define RA0PPS2 RA0PPSbits.RA0PPS2 // bit 2
17078 #define RA0PPS3 RA0PPSbits.RA0PPS3 // bit 3
17079 #define RA0PPS4 RA0PPSbits.RA0PPS4 // bit 4
17081 #define RA1PPS0 RA1PPSbits.RA1PPS0 // bit 0
17082 #define RA1PPS1 RA1PPSbits.RA1PPS1 // bit 1
17083 #define RA1PPS2 RA1PPSbits.RA1PPS2 // bit 2
17084 #define RA1PPS3 RA1PPSbits.RA1PPS3 // bit 3
17085 #define RA1PPS4 RA1PPSbits.RA1PPS4 // bit 4
17087 #define RA2PPS0 RA2PPSbits.RA2PPS0 // bit 0
17088 #define RA2PPS1 RA2PPSbits.RA2PPS1 // bit 1
17089 #define RA2PPS2 RA2PPSbits.RA2PPS2 // bit 2
17090 #define RA2PPS3 RA2PPSbits.RA2PPS3 // bit 3
17091 #define RA2PPS4 RA2PPSbits.RA2PPS4 // bit 4
17093 #define RA4PPS0 RA4PPSbits.RA4PPS0 // bit 0
17094 #define RA4PPS1 RA4PPSbits.RA4PPS1 // bit 1
17095 #define RA4PPS2 RA4PPSbits.RA4PPS2 // bit 2
17096 #define RA4PPS3 RA4PPSbits.RA4PPS3 // bit 3
17097 #define RA4PPS4 RA4PPSbits.RA4PPS4 // bit 4
17099 #define RA5PPS0 RA5PPSbits.RA5PPS0 // bit 0
17100 #define RA5PPS1 RA5PPSbits.RA5PPS1 // bit 1
17101 #define RA5PPS2 RA5PPSbits.RA5PPS2 // bit 2
17102 #define RA5PPS3 RA5PPSbits.RA5PPS3 // bit 3
17103 #define RA5PPS4 RA5PPSbits.RA5PPS4 // bit 4
17105 #define RC0PPS0 RC0PPSbits.RC0PPS0 // bit 0
17106 #define RC0PPS1 RC0PPSbits.RC0PPS1 // bit 1
17107 #define RC0PPS2 RC0PPSbits.RC0PPS2 // bit 2
17108 #define RC0PPS3 RC0PPSbits.RC0PPS3 // bit 3
17109 #define RC0PPS4 RC0PPSbits.RC0PPS4 // bit 4
17111 #define RC1PPS0 RC1PPSbits.RC1PPS0 // bit 0
17112 #define RC1PPS1 RC1PPSbits.RC1PPS1 // bit 1
17113 #define RC1PPS2 RC1PPSbits.RC1PPS2 // bit 2
17114 #define RC1PPS3 RC1PPSbits.RC1PPS3 // bit 3
17115 #define RC1PPS4 RC1PPSbits.RC1PPS4 // bit 4
17117 #define RX9D RC1STAbits.RX9D // bit 0
17118 #define OERR RC1STAbits.OERR // bit 1
17119 #define FERR RC1STAbits.FERR // bit 2
17120 #define ADDEN RC1STAbits.ADDEN // bit 3
17121 #define CREN RC1STAbits.CREN // bit 4
17122 #define SREN RC1STAbits.SREN // bit 5
17123 #define RX9 RC1STAbits.RX9 // bit 6
17124 #define SPEN RC1STAbits.SPEN // bit 7
17126 #define RC2PPS0 RC2PPSbits.RC2PPS0 // bit 0
17127 #define RC2PPS1 RC2PPSbits.RC2PPS1 // bit 1
17128 #define RC2PPS2 RC2PPSbits.RC2PPS2 // bit 2
17129 #define RC2PPS3 RC2PPSbits.RC2PPS3 // bit 3
17130 #define RC2PPS4 RC2PPSbits.RC2PPS4 // bit 4
17132 #define RC3PPS0 RC3PPSbits.RC3PPS0 // bit 0
17133 #define RC3PPS1 RC3PPSbits.RC3PPS1 // bit 1
17134 #define RC3PPS2 RC3PPSbits.RC3PPS2 // bit 2
17135 #define RC3PPS3 RC3PPSbits.RC3PPS3 // bit 3
17136 #define RC3PPS4 RC3PPSbits.RC3PPS4 // bit 4
17138 #define RC4PPS0 RC4PPSbits.RC4PPS0 // bit 0
17139 #define RC4PPS1 RC4PPSbits.RC4PPS1 // bit 1
17140 #define RC4PPS2 RC4PPSbits.RC4PPS2 // bit 2
17141 #define RC4PPS3 RC4PPSbits.RC4PPS3 // bit 3
17142 #define RC4PPS4 RC4PPSbits.RC4PPS4 // bit 4
17144 #define RC5PPS0 RC5PPSbits.RC5PPS0 // bit 0
17145 #define RC5PPS1 RC5PPSbits.RC5PPS1 // bit 1
17146 #define RC5PPS2 RC5PPSbits.RC5PPS2 // bit 2
17147 #define RC5PPS3 RC5PPSbits.RC5PPS3 // bit 3
17148 #define RC5PPS4 RC5PPSbits.RC5PPS4 // bit 4
17150 #define RXPPS0 RXPPSbits.RXPPS0 // bit 0
17151 #define RXPPS1 RXPPSbits.RXPPS1 // bit 1
17152 #define RXPPS2 RXPPSbits.RXPPS2 // bit 2
17153 #define RXPPS3 RXPPSbits.RXPPS3 // bit 3
17154 #define RXPPS4 RXPPSbits.RXPPS4 // bit 4
17156 #define HADR8 SCANHADRHbits.HADR8 // bit 0, shadows bit in SCANHADRHbits
17157 #define SCANHADR8 SCANHADRHbits.SCANHADR8 // bit 0, shadows bit in SCANHADRHbits
17158 #define HADR9 SCANHADRHbits.HADR9 // bit 1, shadows bit in SCANHADRHbits
17159 #define SCANHADR9 SCANHADRHbits.SCANHADR9 // bit 1, shadows bit in SCANHADRHbits
17160 #define HADR10 SCANHADRHbits.HADR10 // bit 2, shadows bit in SCANHADRHbits
17161 #define SCANHADR10 SCANHADRHbits.SCANHADR10 // bit 2, shadows bit in SCANHADRHbits
17162 #define HADR11 SCANHADRHbits.HADR11 // bit 3, shadows bit in SCANHADRHbits
17163 #define SCANHADR11 SCANHADRHbits.SCANHADR11 // bit 3, shadows bit in SCANHADRHbits
17164 #define HADR12 SCANHADRHbits.HADR12 // bit 4, shadows bit in SCANHADRHbits
17165 #define SCANHADR12 SCANHADRHbits.SCANHADR12 // bit 4, shadows bit in SCANHADRHbits
17166 #define HADR13 SCANHADRHbits.HADR13 // bit 5, shadows bit in SCANHADRHbits
17167 #define SCANHADR13 SCANHADRHbits.SCANHADR13 // bit 5, shadows bit in SCANHADRHbits
17168 #define HADR14 SCANHADRHbits.HADR14 // bit 6, shadows bit in SCANHADRHbits
17169 #define SCANHADR14 SCANHADRHbits.SCANHADR14 // bit 6, shadows bit in SCANHADRHbits
17170 #define HADR15 SCANHADRHbits.HADR15 // bit 7, shadows bit in SCANHADRHbits
17171 #define SCANHADR15 SCANHADRHbits.SCANHADR15 // bit 7, shadows bit in SCANHADRHbits
17173 #define HADR0 SCANHADRLbits.HADR0 // bit 0, shadows bit in SCANHADRLbits
17174 #define SCANHADR0 SCANHADRLbits.SCANHADR0 // bit 0, shadows bit in SCANHADRLbits
17175 #define HADR1 SCANHADRLbits.HADR1 // bit 1, shadows bit in SCANHADRLbits
17176 #define SCANHADR1 SCANHADRLbits.SCANHADR1 // bit 1, shadows bit in SCANHADRLbits
17177 #define HARD2 SCANHADRLbits.HARD2 // bit 2, shadows bit in SCANHADRLbits
17178 #define SCANHADR2 SCANHADRLbits.SCANHADR2 // bit 2, shadows bit in SCANHADRLbits
17179 #define HADR3 SCANHADRLbits.HADR3 // bit 3, shadows bit in SCANHADRLbits
17180 #define SCANHADR3 SCANHADRLbits.SCANHADR3 // bit 3, shadows bit in SCANHADRLbits
17181 #define HADR4 SCANHADRLbits.HADR4 // bit 4, shadows bit in SCANHADRLbits
17182 #define SCANHADR4 SCANHADRLbits.SCANHADR4 // bit 4, shadows bit in SCANHADRLbits
17183 #define HADR5 SCANHADRLbits.HADR5 // bit 5, shadows bit in SCANHADRLbits
17184 #define SCANHADR5 SCANHADRLbits.SCANHADR5 // bit 5, shadows bit in SCANHADRLbits
17185 #define HADR6 SCANHADRLbits.HADR6 // bit 6, shadows bit in SCANHADRLbits
17186 #define SCANHADR6 SCANHADRLbits.SCANHADR6 // bit 6, shadows bit in SCANHADRLbits
17187 #define HADR7 SCANHADRLbits.HADR7 // bit 7, shadows bit in SCANHADRLbits
17188 #define SCANHADR7 SCANHADRLbits.SCANHADR7 // bit 7, shadows bit in SCANHADRLbits
17190 #define LADR8 SCANLADRHbits.LADR8 // bit 0, shadows bit in SCANLADRHbits
17191 #define SCANLADR8 SCANLADRHbits.SCANLADR8 // bit 0, shadows bit in SCANLADRHbits
17192 #define LADR9 SCANLADRHbits.LADR9 // bit 1, shadows bit in SCANLADRHbits
17193 #define SCANLADR9 SCANLADRHbits.SCANLADR9 // bit 1, shadows bit in SCANLADRHbits
17194 #define LADR10 SCANLADRHbits.LADR10 // bit 2, shadows bit in SCANLADRHbits
17195 #define SCANLADR10 SCANLADRHbits.SCANLADR10 // bit 2, shadows bit in SCANLADRHbits
17196 #define LADR11 SCANLADRHbits.LADR11 // bit 3, shadows bit in SCANLADRHbits
17197 #define SCANLADR11 SCANLADRHbits.SCANLADR11 // bit 3, shadows bit in SCANLADRHbits
17198 #define LADR12 SCANLADRHbits.LADR12 // bit 4, shadows bit in SCANLADRHbits
17199 #define SCANLADR12 SCANLADRHbits.SCANLADR12 // bit 4, shadows bit in SCANLADRHbits
17200 #define LADR13 SCANLADRHbits.LADR13 // bit 5, shadows bit in SCANLADRHbits
17201 #define SCANLADR13 SCANLADRHbits.SCANLADR13 // bit 5, shadows bit in SCANLADRHbits
17202 #define LADR14 SCANLADRHbits.LADR14 // bit 6, shadows bit in SCANLADRHbits
17203 #define SCANLADR14 SCANLADRHbits.SCANLADR14 // bit 6, shadows bit in SCANLADRHbits
17204 #define LADR15 SCANLADRHbits.LADR15 // bit 7, shadows bit in SCANLADRHbits
17205 #define SCANLADR15 SCANLADRHbits.SCANLADR15 // bit 7, shadows bit in SCANLADRHbits
17207 #define LDAR0 SCANLADRLbits.LDAR0 // bit 0, shadows bit in SCANLADRLbits
17208 #define SCANLADR0 SCANLADRLbits.SCANLADR0 // bit 0, shadows bit in SCANLADRLbits
17209 #define LDAR1 SCANLADRLbits.LDAR1 // bit 1, shadows bit in SCANLADRLbits
17210 #define SCANLADR1 SCANLADRLbits.SCANLADR1 // bit 1, shadows bit in SCANLADRLbits
17211 #define LADR2 SCANLADRLbits.LADR2 // bit 2, shadows bit in SCANLADRLbits
17212 #define SCANLADR2 SCANLADRLbits.SCANLADR2 // bit 2, shadows bit in SCANLADRLbits
17213 #define LADR3 SCANLADRLbits.LADR3 // bit 3, shadows bit in SCANLADRLbits
17214 #define SCANLADR3 SCANLADRLbits.SCANLADR3 // bit 3, shadows bit in SCANLADRLbits
17215 #define LADR4 SCANLADRLbits.LADR4 // bit 4, shadows bit in SCANLADRLbits
17216 #define SCANLADR4 SCANLADRLbits.SCANLADR4 // bit 4, shadows bit in SCANLADRLbits
17217 #define LADR5 SCANLADRLbits.LADR5 // bit 5, shadows bit in SCANLADRLbits
17218 #define SCANLADR5 SCANLADRLbits.SCANLADR5 // bit 5, shadows bit in SCANLADRLbits
17219 #define LADR6 SCANLADRLbits.LADR6 // bit 6, shadows bit in SCANLADRLbits
17220 #define SCANLADR6 SCANLADRLbits.SCANLADR6 // bit 6, shadows bit in SCANLADRLbits
17221 #define LADR7 SCANLADRLbits.LADR7 // bit 7, shadows bit in SCANLADRLbits
17222 #define SCANLADR7 SCANLADRLbits.SCANLADR7 // bit 7, shadows bit in SCANLADRLbits
17224 #define TSEL0 SCANTRIGbits.TSEL0 // bit 0, shadows bit in SCANTRIGbits
17225 #define SCANTSEL0 SCANTRIGbits.SCANTSEL0 // bit 0, shadows bit in SCANTRIGbits
17226 #define TSEL1 SCANTRIGbits.TSEL1 // bit 1, shadows bit in SCANTRIGbits
17227 #define SCANTSEL1 SCANTRIGbits.SCANTSEL1 // bit 1, shadows bit in SCANTRIGbits
17228 #define TSEL2 SCANTRIGbits.TSEL2 // bit 2, shadows bit in SCANTRIGbits
17229 #define SCANTSEL2 SCANTRIGbits.SCANTSEL2 // bit 2, shadows bit in SCANTRIGbits
17230 #define TSEL3 SCANTRIGbits.TSEL3 // bit 3, shadows bit in SCANTRIGbits
17231 #define SCANTSEL3 SCANTRIGbits.SCANTSEL3 // bit 3, shadows bit in SCANTRIGbits
17233 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
17234 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
17235 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
17236 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
17237 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
17239 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
17240 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
17241 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
17242 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
17243 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
17244 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
17246 #define CSEL0 SMT1CLKbits.CSEL0 // bit 0, shadows bit in SMT1CLKbits
17247 #define SMT1CSEL0 SMT1CLKbits.SMT1CSEL0 // bit 0, shadows bit in SMT1CLKbits
17248 #define CSEL1 SMT1CLKbits.CSEL1 // bit 1, shadows bit in SMT1CLKbits
17249 #define SMT1CSEL1 SMT1CLKbits.SMT1CSEL1 // bit 1, shadows bit in SMT1CLKbits
17250 #define CSEL2 SMT1CLKbits.CSEL2 // bit 2, shadows bit in SMT1CLKbits
17251 #define SMT1CSEL2 SMT1CLKbits.SMT1CSEL2 // bit 2, shadows bit in SMT1CLKbits
17253 #define SMT1CPR8 SMT1CPRHbits.SMT1CPR8 // bit 0
17254 #define SMT1CPR9 SMT1CPRHbits.SMT1CPR9 // bit 1
17255 #define SMT1CPR10 SMT1CPRHbits.SMT1CPR10 // bit 2
17256 #define SMT1CPR11 SMT1CPRHbits.SMT1CPR11 // bit 3
17257 #define SMT1CPR12 SMT1CPRHbits.SMT1CPR12 // bit 4
17258 #define SMT1CPR13 SMT1CPRHbits.SMT1CPR13 // bit 5
17259 #define SMT1CPR14 SMT1CPRHbits.SMT1CPR14 // bit 6
17260 #define SMT1CPR15 SMT1CPRHbits.SMT1CPR15 // bit 7
17262 #define SMT1CPR0 SMT1CPRLbits.SMT1CPR0 // bit 0
17263 #define SMT1CPR1 SMT1CPRLbits.SMT1CPR1 // bit 1
17264 #define SMT1CPR2 SMT1CPRLbits.SMT1CPR2 // bit 2
17265 #define SMT1CPR3 SMT1CPRLbits.SMT1CPR3 // bit 3
17266 #define SMT1CPR4 SMT1CPRLbits.SMT1CPR4 // bit 4
17267 #define SMT1CPR5 SMT1CPRLbits.SMT1CPR5 // bit 5
17268 #define SMT1CPR6 SMT1CPRLbits.SMT1CPR6 // bit 6
17269 #define SMT1CPR7 SMT1CPRLbits.SMT1CPR7 // bit 7
17271 #define SMT1CPR16 SMT1CPRUbits.SMT1CPR16 // bit 0
17272 #define SMT1CPR17 SMT1CPRUbits.SMT1CPR17 // bit 1
17273 #define SMT1CPR18 SMT1CPRUbits.SMT1CPR18 // bit 2
17274 #define SMT1CPR19 SMT1CPRUbits.SMT1CPR19 // bit 3
17275 #define SMT1CPR20 SMT1CPRUbits.SMT1CPR20 // bit 4
17276 #define SMT1CPR21 SMT1CPRUbits.SMT1CPR21 // bit 5
17277 #define SMT1CPR22 SMT1CPRUbits.SMT1CPR22 // bit 6
17278 #define SMT1CPR23 SMT1CPRUbits.SMT1CPR23 // bit 7
17280 #define SMT1CPW8 SMT1CPWHbits.SMT1CPW8 // bit 0
17281 #define SMT1CPW9 SMT1CPWHbits.SMT1CPW9 // bit 1
17282 #define SMT1CPW10 SMT1CPWHbits.SMT1CPW10 // bit 2
17283 #define SMT1CPW11 SMT1CPWHbits.SMT1CPW11 // bit 3
17284 #define SMT1CPW12 SMT1CPWHbits.SMT1CPW12 // bit 4
17285 #define SMT1CPW13 SMT1CPWHbits.SMT1CPW13 // bit 5
17286 #define SMT1CPW14 SMT1CPWHbits.SMT1CPW14 // bit 6
17287 #define SMT1CPW15 SMT1CPWHbits.SMT1CPW15 // bit 7
17289 #define SMT1CPW0 SMT1CPWLbits.SMT1CPW0 // bit 0
17290 #define SMT1CPW1 SMT1CPWLbits.SMT1CPW1 // bit 1
17291 #define SMT1CPW2 SMT1CPWLbits.SMT1CPW2 // bit 2
17292 #define SMT1CPW3 SMT1CPWLbits.SMT1CPW3 // bit 3
17293 #define SMT1CPW4 SMT1CPWLbits.SMT1CPW4 // bit 4
17294 #define SMT1CPW5 SMT1CPWLbits.SMT1CPW5 // bit 5
17295 #define SMT1CPW6 SMT1CPWLbits.SMT1CPW6 // bit 6
17296 #define SMT1CPW7 SMT1CPWLbits.SMT1CPW7 // bit 7
17298 #define SMT1CPW16 SMT1CPWUbits.SMT1CPW16 // bit 0
17299 #define SMT1CPW17 SMT1CPWUbits.SMT1CPW17 // bit 1
17300 #define SMT1CPW18 SMT1CPWUbits.SMT1CPW18 // bit 2
17301 #define SMT1CPW19 SMT1CPWUbits.SMT1CPW19 // bit 3
17302 #define SMT1CPW20 SMT1CPWUbits.SMT1CPW20 // bit 4
17303 #define SMT1CPW21 SMT1CPWUbits.SMT1CPW21 // bit 5
17304 #define SMT1CPW22 SMT1CPWUbits.SMT1CPW22 // bit 6
17305 #define SMT1CPW23 SMT1CPWUbits.SMT1CPW23 // bit 7
17307 #define SMT1PR8 SMT1PRHbits.SMT1PR8 // bit 0
17308 #define SMT1PR9 SMT1PRHbits.SMT1PR9 // bit 1
17309 #define SMT1PR10 SMT1PRHbits.SMT1PR10 // bit 2
17310 #define SMT1PR11 SMT1PRHbits.SMT1PR11 // bit 3
17311 #define SMT1PR12 SMT1PRHbits.SMT1PR12 // bit 4
17312 #define SMT1PR13 SMT1PRHbits.SMT1PR13 // bit 5
17313 #define SMT1PR14 SMT1PRHbits.SMT1PR14 // bit 6
17314 #define SMT1PR15 SMT1PRHbits.SMT1PR15 // bit 7
17316 #define SMT1PR0 SMT1PRLbits.SMT1PR0 // bit 0
17317 #define SMT1PR1 SMT1PRLbits.SMT1PR1 // bit 1
17318 #define SMT1PR2 SMT1PRLbits.SMT1PR2 // bit 2
17319 #define SMT1PR3 SMT1PRLbits.SMT1PR3 // bit 3
17320 #define SMT1PR4 SMT1PRLbits.SMT1PR4 // bit 4
17321 #define SMT1PR5 SMT1PRLbits.SMT1PR5 // bit 5
17322 #define SMT1PR6 SMT1PRLbits.SMT1PR6 // bit 6
17323 #define SMT1PR7 SMT1PRLbits.SMT1PR7 // bit 7
17325 #define SMT1PR16 SMT1PRUbits.SMT1PR16 // bit 0
17326 #define SMT1PR17 SMT1PRUbits.SMT1PR17 // bit 1
17327 #define SMT1PR18 SMT1PRUbits.SMT1PR18 // bit 2
17328 #define SMT1PR19 SMT1PRUbits.SMT1PR19 // bit 3
17329 #define SMT1PR20 SMT1PRUbits.SMT1PR20 // bit 4
17330 #define SMT1PR21 SMT1PRUbits.SMT1PR21 // bit 5
17331 #define SMT1PR22 SMT1PRUbits.SMT1PR22 // bit 6
17332 #define SMT1PR23 SMT1PRUbits.SMT1PR23 // bit 7
17334 #define SMT1SIGPPS0 SMT1SIGPPSbits.SMT1SIGPPS0 // bit 0
17335 #define SMT1SIGPPS1 SMT1SIGPPSbits.SMT1SIGPPS1 // bit 1
17336 #define SMT1SIGPPS2 SMT1SIGPPSbits.SMT1SIGPPS2 // bit 2
17337 #define SMT1SIGPPS3 SMT1SIGPPSbits.SMT1SIGPPS3 // bit 3
17338 #define SMT1SIGPPS4 SMT1SIGPPSbits.SMT1SIGPPS4 // bit 4
17340 #define AS SMT1STATbits.AS // bit 0, shadows bit in SMT1STATbits
17341 #define SMT1AS SMT1STATbits.SMT1AS // bit 0, shadows bit in SMT1STATbits
17342 #define WS SMT1STATbits.WS // bit 1, shadows bit in SMT1STATbits
17343 #define SMT1WS SMT1STATbits.SMT1WS // bit 1, shadows bit in SMT1STATbits
17344 #define TS SMT1STATbits.TS // bit 2, shadows bit in SMT1STATbits
17345 #define SMT1TS SMT1STATbits.SMT1TS // bit 2, shadows bit in SMT1STATbits
17346 #define RST SMT1STATbits.RST // bit 5, shadows bit in SMT1STATbits
17347 #define SMT1RESET SMT1STATbits.SMT1RESET // bit 5, shadows bit in SMT1STATbits
17348 #define CPWUP SMT1STATbits.CPWUP // bit 6, shadows bit in SMT1STATbits
17349 #define SMT1CPWUP SMT1STATbits.SMT1CPWUP // bit 6, shadows bit in SMT1STATbits
17350 #define CPRUP SMT1STATbits.CPRUP // bit 7, shadows bit in SMT1STATbits
17351 #define SMT1CPRUP SMT1STATbits.SMT1CPRUP // bit 7, shadows bit in SMT1STATbits
17353 #define SMT1TMR8 SMT1TMRHbits.SMT1TMR8 // bit 0
17354 #define SMT1TMR9 SMT1TMRHbits.SMT1TMR9 // bit 1
17355 #define SMT1TMR10 SMT1TMRHbits.SMT1TMR10 // bit 2
17356 #define SMT1TMR11 SMT1TMRHbits.SMT1TMR11 // bit 3
17357 #define SMT1TMR12 SMT1TMRHbits.SMT1TMR12 // bit 4
17358 #define SMT1TMR13 SMT1TMRHbits.SMT1TMR13 // bit 5
17359 #define SMT1TMR14 SMT1TMRHbits.SMT1TMR14 // bit 6
17360 #define SMT1TMR15 SMT1TMRHbits.SMT1TMR15 // bit 7
17362 #define SMT1TMR0 SMT1TMRLbits.SMT1TMR0 // bit 0
17363 #define SMT1TMR1 SMT1TMRLbits.SMT1TMR1 // bit 1
17364 #define SMT1TMR2 SMT1TMRLbits.SMT1TMR2 // bit 2
17365 #define SMT1TMR3 SMT1TMRLbits.SMT1TMR3 // bit 3
17366 #define SMT1TMR4 SMT1TMRLbits.SMT1TMR4 // bit 4
17367 #define SMT1TMR5 SMT1TMRLbits.SMT1TMR5 // bit 5
17368 #define SMT1TMR6 SMT1TMRLbits.SMT1TMR6 // bit 6
17369 #define SMT1TMR7 SMT1TMRLbits.SMT1TMR7 // bit 7
17371 #define SMT1TMR16 SMT1TMRUbits.SMT1TMR16 // bit 0
17372 #define SMT1TMR17 SMT1TMRUbits.SMT1TMR17 // bit 1
17373 #define SMT1TMR18 SMT1TMRUbits.SMT1TMR18 // bit 2
17374 #define SMT1TMR19 SMT1TMRUbits.SMT1TMR19 // bit 3
17375 #define SMT1TMR20 SMT1TMRUbits.SMT1TMR20 // bit 4
17376 #define SMT1TMR21 SMT1TMRUbits.SMT1TMR21 // bit 5
17377 #define SMT1TMR22 SMT1TMRUbits.SMT1TMR22 // bit 6
17378 #define SMT1TMR23 SMT1TMRUbits.SMT1TMR23 // bit 7
17380 #define WSEL0 SMT1WINbits.WSEL0 // bit 0, shadows bit in SMT1WINbits
17381 #define SMT1WSEL0 SMT1WINbits.SMT1WSEL0 // bit 0, shadows bit in SMT1WINbits
17382 #define WSEL1 SMT1WINbits.WSEL1 // bit 1, shadows bit in SMT1WINbits
17383 #define SMT1WSEL1 SMT1WINbits.SMT1WSEL1 // bit 1, shadows bit in SMT1WINbits
17384 #define WSEL2 SMT1WINbits.WSEL2 // bit 2, shadows bit in SMT1WINbits
17385 #define SMT1WSEL2 SMT1WINbits.SMT1WSEL2 // bit 2, shadows bit in SMT1WINbits
17386 #define WSEL3 SMT1WINbits.WSEL3 // bit 3, shadows bit in SMT1WINbits
17387 #define SMT1WSEL3 SMT1WINbits.SMT1WSEL3 // bit 3, shadows bit in SMT1WINbits
17388 #define WSEL4 SMT1WINbits.WSEL4 // bit 4, shadows bit in SMT1WINbits
17389 #define SMT1WSEL4 SMT1WINbits.SMT1WSEL4 // bit 4, shadows bit in SMT1WINbits
17391 #define SMTWINPPS0 SMT1WINPPSbits.SMTWINPPS0 // bit 0
17392 #define SMTWINPPS1 SMT1WINPPSbits.SMTWINPPS1 // bit 1
17393 #define SMTWINPPS2 SMT1WINPPSbits.SMTWINPPS2 // bit 2
17394 #define SMTWINPPS3 SMT1WINPPSbits.SMTWINPPS3 // bit 3
17395 #define SMTWINPPS4 SMT1WINPPSbits.SMTWINPPS4 // bit 4
17397 #define SMT2CPR8 SMT2CPRHbits.SMT2CPR8 // bit 0
17398 #define SMT2CPR9 SMT2CPRHbits.SMT2CPR9 // bit 1
17399 #define SMT2CPR10 SMT2CPRHbits.SMT2CPR10 // bit 2
17400 #define SMT2CPR11 SMT2CPRHbits.SMT2CPR11 // bit 3
17401 #define SMT2CPR12 SMT2CPRHbits.SMT2CPR12 // bit 4
17402 #define SMT2CPR13 SMT2CPRHbits.SMT2CPR13 // bit 5
17403 #define SMT2CPR14 SMT2CPRHbits.SMT2CPR14 // bit 6
17404 #define SMT2CPR15 SMT2CPRHbits.SMT2CPR15 // bit 7
17406 #define SMT2CPR0 SMT2CPRLbits.SMT2CPR0 // bit 0
17407 #define SMT2CPR1 SMT2CPRLbits.SMT2CPR1 // bit 1
17408 #define SMT2CPR2 SMT2CPRLbits.SMT2CPR2 // bit 2
17409 #define SMT2CPR3 SMT2CPRLbits.SMT2CPR3 // bit 3
17410 #define SMT2CPR4 SMT2CPRLbits.SMT2CPR4 // bit 4
17411 #define SMT2CPR5 SMT2CPRLbits.SMT2CPR5 // bit 5
17412 #define SMT2CPR6 SMT2CPRLbits.SMT2CPR6 // bit 6
17413 #define SMT2CPR7 SMT2CPRLbits.SMT2CPR7 // bit 7
17415 #define SMT2CPR16 SMT2CPRUbits.SMT2CPR16 // bit 0
17416 #define SMT2CPR17 SMT2CPRUbits.SMT2CPR17 // bit 1
17417 #define SMT2CPR18 SMT2CPRUbits.SMT2CPR18 // bit 2
17418 #define SMT2CPR19 SMT2CPRUbits.SMT2CPR19 // bit 3
17419 #define SMT2CPR20 SMT2CPRUbits.SMT2CPR20 // bit 4
17420 #define SMT2CPR21 SMT2CPRUbits.SMT2CPR21 // bit 5
17421 #define SMT2CPR22 SMT2CPRUbits.SMT2CPR22 // bit 6
17422 #define SMT2CPR23 SMT2CPRUbits.SMT2CPR23 // bit 7
17424 #define SMT2CPW8 SMT2CPWHbits.SMT2CPW8 // bit 0
17425 #define SMT2CPW9 SMT2CPWHbits.SMT2CPW9 // bit 1
17426 #define SMT2CPW10 SMT2CPWHbits.SMT2CPW10 // bit 2
17427 #define SMT2CPW11 SMT2CPWHbits.SMT2CPW11 // bit 3
17428 #define SMT2CPW12 SMT2CPWHbits.SMT2CPW12 // bit 4
17429 #define SMT2CPW13 SMT2CPWHbits.SMT2CPW13 // bit 5
17430 #define SMT2CPW14 SMT2CPWHbits.SMT2CPW14 // bit 6
17431 #define SMT2CPW15 SMT2CPWHbits.SMT2CPW15 // bit 7
17433 #define SMT2CPW0 SMT2CPWLbits.SMT2CPW0 // bit 0
17434 #define SMT2CPW1 SMT2CPWLbits.SMT2CPW1 // bit 1
17435 #define SMT2CPW2 SMT2CPWLbits.SMT2CPW2 // bit 2
17436 #define SMT2CPW3 SMT2CPWLbits.SMT2CPW3 // bit 3
17437 #define SMT2CPW4 SMT2CPWLbits.SMT2CPW4 // bit 4
17438 #define SMT2CPW5 SMT2CPWLbits.SMT2CPW5 // bit 5
17439 #define SMT2CPW6 SMT2CPWLbits.SMT2CPW6 // bit 6
17440 #define SMT2CPW7 SMT2CPWLbits.SMT2CPW7 // bit 7
17442 #define SMT2CPW16 SMT2CPWUbits.SMT2CPW16 // bit 0
17443 #define SMT2CPW17 SMT2CPWUbits.SMT2CPW17 // bit 1
17444 #define SMT2CPW18 SMT2CPWUbits.SMT2CPW18 // bit 2
17445 #define SMT2CPW19 SMT2CPWUbits.SMT2CPW19 // bit 3
17446 #define SMT2CPW20 SMT2CPWUbits.SMT2CPW20 // bit 4
17447 #define SMT2CPW21 SMT2CPWUbits.SMT2CPW21 // bit 5
17448 #define SMT2CPW22 SMT2CPWUbits.SMT2CPW22 // bit 6
17449 #define SMT2CPW23 SMT2CPWUbits.SMT2CPW23 // bit 7
17451 #define SMT2PR8 SMT2PRHbits.SMT2PR8 // bit 0
17452 #define SMT2PR9 SMT2PRHbits.SMT2PR9 // bit 1
17453 #define SMT2PR10 SMT2PRHbits.SMT2PR10 // bit 2
17454 #define SMT2PR11 SMT2PRHbits.SMT2PR11 // bit 3
17455 #define SMT2PR12 SMT2PRHbits.SMT2PR12 // bit 4
17456 #define SMT2PR13 SMT2PRHbits.SMT2PR13 // bit 5
17457 #define SMT2PR14 SMT2PRHbits.SMT2PR14 // bit 6
17458 #define SMT2PR15 SMT2PRHbits.SMT2PR15 // bit 7
17460 #define SMT2PR0 SMT2PRLbits.SMT2PR0 // bit 0
17461 #define SMT2PR1 SMT2PRLbits.SMT2PR1 // bit 1
17462 #define SMT2PR2 SMT2PRLbits.SMT2PR2 // bit 2
17463 #define SMT2PR3 SMT2PRLbits.SMT2PR3 // bit 3
17464 #define SMT2PR4 SMT2PRLbits.SMT2PR4 // bit 4
17465 #define SMT2PR5 SMT2PRLbits.SMT2PR5 // bit 5
17466 #define SMT2PR6 SMT2PRLbits.SMT2PR6 // bit 6
17467 #define SMT2PR7 SMT2PRLbits.SMT2PR7 // bit 7
17469 #define SMT2PR16 SMT2PRUbits.SMT2PR16 // bit 0
17470 #define SMT2PR17 SMT2PRUbits.SMT2PR17 // bit 1
17471 #define SMT2PR18 SMT2PRUbits.SMT2PR18 // bit 2
17472 #define SMT2PR19 SMT2PRUbits.SMT2PR19 // bit 3
17473 #define SMT2PR20 SMT2PRUbits.SMT2PR20 // bit 4
17474 #define SMT2PR21 SMT2PRUbits.SMT2PR21 // bit 5
17475 #define SMT2PR22 SMT2PRUbits.SMT2PR22 // bit 6
17476 #define SMT2PR23 SMT2PRUbits.SMT2PR23 // bit 7
17478 #define SMT2SIGPPS0 SMT2SIGPPSbits.SMT2SIGPPS0 // bit 0
17479 #define SMT2SIGPPS1 SMT2SIGPPSbits.SMT2SIGPPS1 // bit 1
17480 #define SMT2SIGPPS2 SMT2SIGPPSbits.SMT2SIGPPS2 // bit 2
17481 #define SMT2SIGPPS3 SMT2SIGPPSbits.SMT2SIGPPS3 // bit 3
17482 #define SMT2SIGPPS4 SMT2SIGPPSbits.SMT2SIGPPS4 // bit 4
17484 #define SMT2TMR8 SMT2TMRHbits.SMT2TMR8 // bit 0
17485 #define SMT2TMR9 SMT2TMRHbits.SMT2TMR9 // bit 1
17486 #define SMT2TMR10 SMT2TMRHbits.SMT2TMR10 // bit 2
17487 #define SMT2TMR11 SMT2TMRHbits.SMT2TMR11 // bit 3
17488 #define SMT2TMR12 SMT2TMRHbits.SMT2TMR12 // bit 4
17489 #define SMT2TMR13 SMT2TMRHbits.SMT2TMR13 // bit 5
17490 #define SMT2TMR14 SMT2TMRHbits.SMT2TMR14 // bit 6
17491 #define SMT2TMR15 SMT2TMRHbits.SMT2TMR15 // bit 7
17493 #define SMT2TMR0 SMT2TMRLbits.SMT2TMR0 // bit 0
17494 #define SMT2TMR1 SMT2TMRLbits.SMT2TMR1 // bit 1
17495 #define SMT2TMR2 SMT2TMRLbits.SMT2TMR2 // bit 2
17496 #define SMT2TMR3 SMT2TMRLbits.SMT2TMR3 // bit 3
17497 #define SMT2TMR4 SMT2TMRLbits.SMT2TMR4 // bit 4
17498 #define SMT2TMR5 SMT2TMRLbits.SMT2TMR5 // bit 5
17499 #define SMT2TMR6 SMT2TMRLbits.SMT2TMR6 // bit 6
17500 #define SMT2TMR7 SMT2TMRLbits.SMT2TMR7 // bit 7
17502 #define SMT2TMR16 SMT2TMRUbits.SMT2TMR16 // bit 0
17503 #define SMT2TMR17 SMT2TMRUbits.SMT2TMR17 // bit 1
17504 #define SMT2TMR18 SMT2TMRUbits.SMT2TMR18 // bit 2
17505 #define SMT2TMR19 SMT2TMRUbits.SMT2TMR19 // bit 3
17506 #define SMT2TMR20 SMT2TMRUbits.SMT2TMR20 // bit 4
17507 #define SMT2TMR21 SMT2TMRUbits.SMT2TMR21 // bit 5
17508 #define SMT2TMR22 SMT2TMRUbits.SMT2TMR22 // bit 6
17509 #define SMT2TMR23 SMT2TMRUbits.SMT2TMR23 // bit 7
17511 #define SMT2WINPPS0 SMT2WINPPSbits.SMT2WINPPS0 // bit 0
17512 #define SMT2WINPPS1 SMT2WINPPSbits.SMT2WINPPS1 // bit 1
17513 #define SMT2WINPPS2 SMT2WINPPSbits.SMT2WINPPS2 // bit 2
17514 #define SMT2WINPPS3 SMT2WINPPSbits.SMT2WINPPS3 // bit 3
17515 #define SMT2WINPPS4 SMT2WINPPSbits.SMT2WINPPS4 // bit 4
17517 #define SSP1ADD0 SSP1ADDbits.SSP1ADD0 // bit 0, shadows bit in SSP1ADDbits
17518 #define ADD0 SSP1ADDbits.ADD0 // bit 0, shadows bit in SSP1ADDbits
17519 #define SSP1ADD1 SSP1ADDbits.SSP1ADD1 // bit 1, shadows bit in SSP1ADDbits
17520 #define ADD1 SSP1ADDbits.ADD1 // bit 1, shadows bit in SSP1ADDbits
17521 #define SSP1ADD2 SSP1ADDbits.SSP1ADD2 // bit 2, shadows bit in SSP1ADDbits
17522 #define ADD2 SSP1ADDbits.ADD2 // bit 2, shadows bit in SSP1ADDbits
17523 #define SSP1ADD3 SSP1ADDbits.SSP1ADD3 // bit 3, shadows bit in SSP1ADDbits
17524 #define ADD3 SSP1ADDbits.ADD3 // bit 3, shadows bit in SSP1ADDbits
17525 #define SSP1ADD4 SSP1ADDbits.SSP1ADD4 // bit 4, shadows bit in SSP1ADDbits
17526 #define ADD4 SSP1ADDbits.ADD4 // bit 4, shadows bit in SSP1ADDbits
17527 #define SSP1ADD5 SSP1ADDbits.SSP1ADD5 // bit 5, shadows bit in SSP1ADDbits
17528 #define ADD5 SSP1ADDbits.ADD5 // bit 5, shadows bit in SSP1ADDbits
17529 #define SSP1ADD6 SSP1ADDbits.SSP1ADD6 // bit 6, shadows bit in SSP1ADDbits
17530 #define ADD6 SSP1ADDbits.ADD6 // bit 6, shadows bit in SSP1ADDbits
17531 #define SSP1ADD7 SSP1ADDbits.SSP1ADD7 // bit 7, shadows bit in SSP1ADDbits
17532 #define ADD7 SSP1ADDbits.ADD7 // bit 7, shadows bit in SSP1ADDbits
17534 #define SSP1BUF0 SSP1BUFbits.SSP1BUF0 // bit 0, shadows bit in SSP1BUFbits
17535 #define BUF0 SSP1BUFbits.BUF0 // bit 0, shadows bit in SSP1BUFbits
17536 #define SSP1BUF1 SSP1BUFbits.SSP1BUF1 // bit 1, shadows bit in SSP1BUFbits
17537 #define BUF1 SSP1BUFbits.BUF1 // bit 1, shadows bit in SSP1BUFbits
17538 #define SSP1BUF2 SSP1BUFbits.SSP1BUF2 // bit 2, shadows bit in SSP1BUFbits
17539 #define BUF2 SSP1BUFbits.BUF2 // bit 2, shadows bit in SSP1BUFbits
17540 #define SSP1BUF3 SSP1BUFbits.SSP1BUF3 // bit 3, shadows bit in SSP1BUFbits
17541 #define BUF3 SSP1BUFbits.BUF3 // bit 3, shadows bit in SSP1BUFbits
17542 #define SSP1BUF4 SSP1BUFbits.SSP1BUF4 // bit 4, shadows bit in SSP1BUFbits
17543 #define BUF4 SSP1BUFbits.BUF4 // bit 4, shadows bit in SSP1BUFbits
17544 #define SSP1BUF5 SSP1BUFbits.SSP1BUF5 // bit 5, shadows bit in SSP1BUFbits
17545 #define BUF5 SSP1BUFbits.BUF5 // bit 5, shadows bit in SSP1BUFbits
17546 #define SSP1BUF6 SSP1BUFbits.SSP1BUF6 // bit 6, shadows bit in SSP1BUFbits
17547 #define BUF6 SSP1BUFbits.BUF6 // bit 6, shadows bit in SSP1BUFbits
17548 #define SSP1BUF7 SSP1BUFbits.SSP1BUF7 // bit 7, shadows bit in SSP1BUFbits
17549 #define BUF7 SSP1BUFbits.BUF7 // bit 7, shadows bit in SSP1BUFbits
17551 #define SSPM0 SSP1CONbits.SSPM0 // bit 0
17552 #define SSPM1 SSP1CONbits.SSPM1 // bit 1
17553 #define SSPM2 SSP1CONbits.SSPM2 // bit 2
17554 #define SSPM3 SSP1CONbits.SSPM3 // bit 3
17555 #define CKP SSP1CONbits.CKP // bit 4
17556 #define SSPEN SSP1CONbits.SSPEN // bit 5
17557 #define SSPOV SSP1CONbits.SSPOV // bit 6
17558 #define WCOL SSP1CONbits.WCOL // bit 7
17560 #define SEN SSP1CON2bits.SEN // bit 0
17561 #define RSEN SSP1CON2bits.RSEN // bit 1
17562 #define PEN SSP1CON2bits.PEN // bit 2
17563 #define RCEN SSP1CON2bits.RCEN // bit 3
17564 #define ACKEN SSP1CON2bits.ACKEN // bit 4
17565 #define ACKDT SSP1CON2bits.ACKDT // bit 5
17566 #define ACKSTAT SSP1CON2bits.ACKSTAT // bit 6
17567 #define GCEN SSP1CON2bits.GCEN // bit 7
17569 #define DHEN SSP1CON3bits.DHEN // bit 0
17570 #define AHEN SSP1CON3bits.AHEN // bit 1
17571 #define SBCDE SSP1CON3bits.SBCDE // bit 2
17572 #define SDAHT SSP1CON3bits.SDAHT // bit 3
17573 #define BOEN SSP1CON3bits.BOEN // bit 4
17574 #define SCIE SSP1CON3bits.SCIE // bit 5
17575 #define PCIE SSP1CON3bits.PCIE // bit 6
17576 #define ACKTIM SSP1CON3bits.ACKTIM // bit 7
17578 #define SSP1MSK0 SSP1MSKbits.SSP1MSK0 // bit 0, shadows bit in SSP1MSKbits
17579 #define MSK0 SSP1MSKbits.MSK0 // bit 0, shadows bit in SSP1MSKbits
17580 #define SSP1MSK1 SSP1MSKbits.SSP1MSK1 // bit 1, shadows bit in SSP1MSKbits
17581 #define MSK1 SSP1MSKbits.MSK1 // bit 1, shadows bit in SSP1MSKbits
17582 #define SSP1MSK2 SSP1MSKbits.SSP1MSK2 // bit 2, shadows bit in SSP1MSKbits
17583 #define MSK2 SSP1MSKbits.MSK2 // bit 2, shadows bit in SSP1MSKbits
17584 #define SSP1MSK3 SSP1MSKbits.SSP1MSK3 // bit 3, shadows bit in SSP1MSKbits
17585 #define MSK3 SSP1MSKbits.MSK3 // bit 3, shadows bit in SSP1MSKbits
17586 #define SSP1MSK4 SSP1MSKbits.SSP1MSK4 // bit 4, shadows bit in SSP1MSKbits
17587 #define MSK4 SSP1MSKbits.MSK4 // bit 4, shadows bit in SSP1MSKbits
17588 #define SSP1MSK5 SSP1MSKbits.SSP1MSK5 // bit 5, shadows bit in SSP1MSKbits
17589 #define MSK5 SSP1MSKbits.MSK5 // bit 5, shadows bit in SSP1MSKbits
17590 #define SSP1MSK6 SSP1MSKbits.SSP1MSK6 // bit 6, shadows bit in SSP1MSKbits
17591 #define MSK6 SSP1MSKbits.MSK6 // bit 6, shadows bit in SSP1MSKbits
17592 #define SSP1MSK7 SSP1MSKbits.SSP1MSK7 // bit 7, shadows bit in SSP1MSKbits
17593 #define MSK7 SSP1MSKbits.MSK7 // bit 7, shadows bit in SSP1MSKbits
17595 #define BF SSP1STATbits.BF // bit 0
17596 #define UA SSP1STATbits.UA // bit 1
17597 #define R_NOT_W SSP1STATbits.R_NOT_W // bit 2
17598 #define S SSP1STATbits.S // bit 3
17599 #define P SSP1STATbits.P // bit 4
17600 #define D_NOT_A SSP1STATbits.D_NOT_A // bit 5
17601 #define CKE SSP1STATbits.CKE // bit 6
17602 #define SMP SSP1STATbits.SMP // bit 7
17604 #define SSPCLKPPS0 SSPCLKPPSbits.SSPCLKPPS0 // bit 0
17605 #define SSPCLKPPS1 SSPCLKPPSbits.SSPCLKPPS1 // bit 1
17606 #define SSPCLKPPS2 SSPCLKPPSbits.SSPCLKPPS2 // bit 2
17607 #define SSPCLKPPS3 SSPCLKPPSbits.SSPCLKPPS3 // bit 3
17608 #define SSPCLKPPS4 SSPCLKPPSbits.SSPCLKPPS4 // bit 4
17610 #define SSPDATPPS0 SSPDATPPSbits.SSPDATPPS0 // bit 0
17611 #define SSPDATPPS1 SSPDATPPSbits.SSPDATPPS1 // bit 1
17612 #define SSPDATPPS2 SSPDATPPSbits.SSPDATPPS2 // bit 2
17613 #define SSPDATPPS3 SSPDATPPSbits.SSPDATPPS3 // bit 3
17614 #define SSPDATPPS4 SSPDATPPSbits.SSPDATPPS4 // bit 4
17616 #define SSPSSPPS0 SSPSSPPSbits.SSPSSPPS0 // bit 0
17617 #define SSPSSPPS1 SSPSSPPSbits.SSPSSPPS1 // bit 1
17618 #define SSPSSPPS2 SSPSSPPSbits.SSPSSPPS2 // bit 2
17619 #define SSPSSPPS3 SSPSSPPSbits.SSPSSPPS3 // bit 3
17620 #define SSPSSPPS4 SSPSSPPSbits.SSPSSPPS4 // bit 4
17622 #define C STATUSbits.C // bit 0
17623 #define DC STATUSbits.DC // bit 1
17624 #define Z STATUSbits.Z // bit 2
17625 #define NOT_PD STATUSbits.NOT_PD // bit 3
17626 #define NOT_TO STATUSbits.NOT_TO // bit 4
17628 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
17629 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
17630 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
17632 #define T0CKIPPS0 T0CKIPPSbits.T0CKIPPS0 // bit 0
17633 #define T0CKIPPS1 T0CKIPPSbits.T0CKIPPS1 // bit 1
17634 #define T0CKIPPS2 T0CKIPPSbits.T0CKIPPS2 // bit 2
17635 #define T0CKIPPS3 T0CKIPPSbits.T0CKIPPS3 // bit 3
17636 #define T0CKIPPS4 T0CKIPPSbits.T0CKIPPS4 // bit 4
17638 #define T1CKIPPS0 T1CKIPPSbits.T1CKIPPS0 // bit 0
17639 #define T1CKIPPS1 T1CKIPPSbits.T1CKIPPS1 // bit 1
17640 #define T1CKIPPS2 T1CKIPPSbits.T1CKIPPS2 // bit 2
17641 #define T1CKIPPS3 T1CKIPPSbits.T1CKIPPS3 // bit 3
17642 #define T1CKIPPS4 T1CKIPPSbits.T1CKIPPS4 // bit 4
17644 #define TMR1ON T1CONbits.TMR1ON // bit 0
17645 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
17646 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
17647 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
17648 #define TMR1CS0 T1CONbits.TMR1CS0 // bit 6
17649 #define TMR1CS1 T1CONbits.TMR1CS1 // bit 7
17651 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0
17652 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1
17653 #define T1GVAL T1GCONbits.T1GVAL // bit 2
17654 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3
17655 #define T1GSPM T1GCONbits.T1GSPM // bit 4
17656 #define T1GTM T1GCONbits.T1GTM // bit 5
17657 #define T1GPOL T1GCONbits.T1GPOL // bit 6
17658 #define TMR1GE T1GCONbits.TMR1GE // bit 7
17660 #define T1GPPS0 T1GPPSbits.T1GPPS0 // bit 0
17661 #define T1GPPS1 T1GPPSbits.T1GPPS1 // bit 1
17662 #define T1GPPS2 T1GPPSbits.T1GPPS2 // bit 2
17663 #define T1GPPS3 T1GPPSbits.T1GPPS3 // bit 3
17664 #define T1GPPS4 T1GPPSbits.T1GPPS4 // bit 4
17666 #define OUTPS0 T2CONbits.OUTPS0 // bit 0, shadows bit in T2CONbits
17667 #define T2OUTPS0 T2CONbits.T2OUTPS0 // bit 0, shadows bit in T2CONbits
17668 #define OUTPS1 T2CONbits.OUTPS1 // bit 1, shadows bit in T2CONbits
17669 #define T2OUTPS1 T2CONbits.T2OUTPS1 // bit 1, shadows bit in T2CONbits
17670 #define OUTPS2 T2CONbits.OUTPS2 // bit 2, shadows bit in T2CONbits
17671 #define T2OUTPS2 T2CONbits.T2OUTPS2 // bit 2, shadows bit in T2CONbits
17672 #define OUTPS3 T2CONbits.OUTPS3 // bit 3, shadows bit in T2CONbits
17673 #define T2OUTPS3 T2CONbits.T2OUTPS3 // bit 3, shadows bit in T2CONbits
17674 #define CKPS0 T2CONbits.CKPS0 // bit 4, shadows bit in T2CONbits
17675 #define T2CKPS0 T2CONbits.T2CKPS0 // bit 4, shadows bit in T2CONbits
17676 #define CKPS1 T2CONbits.CKPS1 // bit 5, shadows bit in T2CONbits
17677 #define T2CKPS1 T2CONbits.T2CKPS1 // bit 5, shadows bit in T2CONbits
17678 #define CKPS2 T2CONbits.CKPS2 // bit 6, shadows bit in T2CONbits
17679 #define T2CKPS2 T2CONbits.T2CKPS2 // bit 6, shadows bit in T2CONbits
17680 #define ON T2CONbits.ON // bit 7, shadows bit in T2CONbits
17681 #define T2ON T2CONbits.T2ON // bit 7, shadows bit in T2CONbits
17682 #define TMR2ON T2CONbits.TMR2ON // bit 7, shadows bit in T2CONbits
17684 #define T2PPS0 T2PPSbits.T2PPS0 // bit 0
17685 #define T2PPS1 T2PPSbits.T2PPS1 // bit 1
17686 #define T2PPS2 T2PPSbits.T2PPS2 // bit 2
17687 #define T2PPS3 T2PPSbits.T2PPS3 // bit 3
17688 #define T2PPS4 T2PPSbits.T2PPS4 // bit 4
17690 #define RSEL0 T2RSTbits.RSEL0 // bit 0, shadows bit in T2RSTbits
17691 #define T2RSEL0 T2RSTbits.T2RSEL0 // bit 0, shadows bit in T2RSTbits
17692 #define RSEL1 T2RSTbits.RSEL1 // bit 1, shadows bit in T2RSTbits
17693 #define T2RSEL1 T2RSTbits.T2RSEL1 // bit 1, shadows bit in T2RSTbits
17694 #define RSEL2 T2RSTbits.RSEL2 // bit 2, shadows bit in T2RSTbits
17695 #define T2RSEL2 T2RSTbits.T2RSEL2 // bit 2, shadows bit in T2RSTbits
17696 #define RSEL3 T2RSTbits.RSEL3 // bit 3, shadows bit in T2RSTbits
17697 #define T2RSEL3 T2RSTbits.T2RSEL3 // bit 3, shadows bit in T2RSTbits
17699 #define T3CKIPPS0 T3CKIPPSbits.T3CKIPPS0 // bit 0
17700 #define T3CKIPPS1 T3CKIPPSbits.T3CKIPPS1 // bit 1
17701 #define T3CKIPPS2 T3CKIPPSbits.T3CKIPPS2 // bit 2
17702 #define T3CKIPPS3 T3CKIPPSbits.T3CKIPPS3 // bit 3
17703 #define T3CKIPPS4 T3CKIPPSbits.T3CKIPPS4 // bit 4
17705 #define TMR3ON T3CONbits.TMR3ON // bit 0
17706 #define T3SYNC T3CONbits.T3SYNC // bit 2
17707 #define T3CKPS0 T3CONbits.T3CKPS0 // bit 4
17708 #define T3CKPS1 T3CONbits.T3CKPS1 // bit 5
17709 #define TMR3CS0 T3CONbits.TMR3CS0 // bit 6
17710 #define TMR3CS1 T3CONbits.TMR3CS1 // bit 7
17712 #define T3GSS0 T3GCONbits.T3GSS0 // bit 0
17713 #define T3GSS1 T3GCONbits.T3GSS1 // bit 1
17714 #define T3GVAL T3GCONbits.T3GVAL // bit 2
17715 #define T3GGO_NOT_DONE T3GCONbits.T3GGO_NOT_DONE // bit 3
17716 #define T3GSPM T3GCONbits.T3GSPM // bit 4
17717 #define T3GTM T3GCONbits.T3GTM // bit 5
17718 #define T3GPOL T3GCONbits.T3GPOL // bit 6
17719 #define TMR3GE T3GCONbits.TMR3GE // bit 7
17721 #define T3GPPS0 T3GPPSbits.T3GPPS0 // bit 0
17722 #define T3GPPS1 T3GPPSbits.T3GPPS1 // bit 1
17723 #define T3GPPS2 T3GPPSbits.T3GPPS2 // bit 2
17724 #define T3GPPS3 T3GPPSbits.T3GPPS3 // bit 3
17725 #define T3GPPS4 T3GPPSbits.T3GPPS4 // bit 4
17727 #define T4PPS0 T4PPSbits.T4PPS0 // bit 0
17728 #define T4PPS1 T4PPSbits.T4PPS1 // bit 1
17729 #define T4PPS2 T4PPSbits.T4PPS2 // bit 2
17730 #define T4PPS3 T4PPSbits.T4PPS3 // bit 3
17731 #define T4PPS4 T4PPSbits.T4PPS4 // bit 4
17733 #define T5CKIPPS0 T5CKIPPSbits.T5CKIPPS0 // bit 0
17734 #define T5CKIPPS1 T5CKIPPSbits.T5CKIPPS1 // bit 1
17735 #define T5CKIPPS2 T5CKIPPSbits.T5CKIPPS2 // bit 2
17736 #define T5CKIPPS3 T5CKIPPSbits.T5CKIPPS3 // bit 3
17737 #define T5CKIPPS4 T5CKIPPSbits.T5CKIPPS4 // bit 4
17739 #define TMR5ON T5CONbits.TMR5ON // bit 0
17740 #define T5SYNC T5CONbits.T5SYNC // bit 2
17741 #define T5CKPS0 T5CONbits.T5CKPS0 // bit 4
17742 #define T5CKPS1 T5CONbits.T5CKPS1 // bit 5
17743 #define TMR5CS0 T5CONbits.TMR5CS0 // bit 6
17744 #define TMR5CS1 T5CONbits.TMR5CS1 // bit 7
17746 #define T5GSS0 T5GCONbits.T5GSS0 // bit 0
17747 #define T5GSS1 T5GCONbits.T5GSS1 // bit 1
17748 #define T5GVAL T5GCONbits.T5GVAL // bit 2
17749 #define T5GGO_NOT_DONE T5GCONbits.T5GGO_NOT_DONE // bit 3
17750 #define T5GSPM T5GCONbits.T5GSPM // bit 4
17751 #define T5GTM T5GCONbits.T5GTM // bit 5
17752 #define T5GPOL T5GCONbits.T5GPOL // bit 6
17753 #define TMR5GE T5GCONbits.TMR5GE // bit 7
17755 #define T5GPPS0 T5GPPSbits.T5GPPS0 // bit 0
17756 #define T5GPPS1 T5GPPSbits.T5GPPS1 // bit 1
17757 #define T5GPPS2 T5GPPSbits.T5GPPS2 // bit 2
17758 #define T5GPPS3 T5GPPSbits.T5GPPS3 // bit 3
17759 #define T5GPPS4 T5GPPSbits.T5GPPS4 // bit 4
17761 #define T6PPS0 T6PPSbits.T6PPS0 // bit 0
17762 #define T6PPS1 T6PPSbits.T6PPS1 // bit 1
17763 #define T6PPS2 T6PPSbits.T6PPS2 // bit 2
17764 #define T6PPS3 T6PPSbits.T6PPS3 // bit 3
17765 #define T6PPS4 T6PPSbits.T6PPS4 // bit 4
17767 #define TRISA0 TRISAbits.TRISA0 // bit 0
17768 #define TRISA1 TRISAbits.TRISA1 // bit 1
17769 #define TRISA2 TRISAbits.TRISA2 // bit 2
17770 #define TRISA3 TRISAbits.TRISA3 // bit 3
17771 #define TRISA4 TRISAbits.TRISA4 // bit 4
17772 #define TRISA5 TRISAbits.TRISA5 // bit 5
17774 #define TRISC0 TRISCbits.TRISC0 // bit 0
17775 #define TRISC1 TRISCbits.TRISC1 // bit 1
17776 #define TRISC2 TRISCbits.TRISC2 // bit 2
17777 #define TRISC3 TRISCbits.TRISC3 // bit 3
17778 #define TRISC4 TRISCbits.TRISC4 // bit 4
17779 #define TRISC5 TRISCbits.TRISC5 // bit 5
17781 #define TX9D TX1STAbits.TX9D // bit 0
17782 #define TRMT TX1STAbits.TRMT // bit 1
17783 #define BRGH TX1STAbits.BRGH // bit 2
17784 #define SENDB TX1STAbits.SENDB // bit 3
17785 #define SYNC TX1STAbits.SYNC // bit 4
17786 #define TXEN TX1STAbits.TXEN // bit 5
17787 #define TX9 TX1STAbits.TX9 // bit 6
17788 #define CSRC TX1STAbits.CSRC // bit 7
17790 #define VREGPM0 VREGCONbits.VREGPM0 // bit 0
17791 #define VREGPM1 VREGCONbits.VREGPM1 // bit 1
17793 #define WINDOW0 WDTCON1bits.WINDOW0 // bit 0, shadows bit in WDTCON1bits
17794 #define WDTWINDOW0 WDTCON1bits.WDTWINDOW0 // bit 0, shadows bit in WDTCON1bits
17795 #define WINDOW1 WDTCON1bits.WINDOW1 // bit 1, shadows bit in WDTCON1bits
17796 #define WDTWINDOW1 WDTCON1bits.WDTWINDOW1 // bit 1, shadows bit in WDTCON1bits
17797 #define WINDOW2 WDTCON1bits.WINDOW2 // bit 2, shadows bit in WDTCON1bits
17798 #define WDTWINDOW2 WDTCON1bits.WDTWINDOW2 // bit 2, shadows bit in WDTCON1bits
17799 #define WDTCS0 WDTCON1bits.WDTCS0 // bit 4
17800 #define WDTCS1 WDTCON1bits.WDTCS1 // bit 5
17801 #define WDTCS2 WDTCON1bits.WDTCS2 // bit 6
17803 #define PSCNT8 WDTPSHbits.PSCNT8 // bit 0, shadows bit in WDTPSHbits
17804 #define WDTPSCNT8 WDTPSHbits.WDTPSCNT8 // bit 0, shadows bit in WDTPSHbits
17805 #define PSCNT9 WDTPSHbits.PSCNT9 // bit 1, shadows bit in WDTPSHbits
17806 #define WDTPSCNT9 WDTPSHbits.WDTPSCNT9 // bit 1, shadows bit in WDTPSHbits
17807 #define PSCNT10 WDTPSHbits.PSCNT10 // bit 2, shadows bit in WDTPSHbits
17808 #define WDTPSCNT10 WDTPSHbits.WDTPSCNT10 // bit 2, shadows bit in WDTPSHbits
17809 #define PSCNT11 WDTPSHbits.PSCNT11 // bit 3, shadows bit in WDTPSHbits
17810 #define WDTPSCNT11 WDTPSHbits.WDTPSCNT11 // bit 3, shadows bit in WDTPSHbits
17811 #define PSCNT12 WDTPSHbits.PSCNT12 // bit 4, shadows bit in WDTPSHbits
17812 #define WDTPSCNT12 WDTPSHbits.WDTPSCNT12 // bit 4, shadows bit in WDTPSHbits
17813 #define PSCNT13 WDTPSHbits.PSCNT13 // bit 5, shadows bit in WDTPSHbits
17814 #define WDTPSCNT13 WDTPSHbits.WDTPSCNT13 // bit 5, shadows bit in WDTPSHbits
17815 #define PSCNT14 WDTPSHbits.PSCNT14 // bit 6, shadows bit in WDTPSHbits
17816 #define WDTPSCNT14 WDTPSHbits.WDTPSCNT14 // bit 6, shadows bit in WDTPSHbits
17817 #define PSCNT15 WDTPSHbits.PSCNT15 // bit 7, shadows bit in WDTPSHbits
17818 #define WDTPSCNT15 WDTPSHbits.WDTPSCNT15 // bit 7, shadows bit in WDTPSHbits
17820 #define PSCNT0 WDTPSLbits.PSCNT0 // bit 0, shadows bit in WDTPSLbits
17821 #define WDTPSCNT0 WDTPSLbits.WDTPSCNT0 // bit 0, shadows bit in WDTPSLbits
17822 #define PSCNT1 WDTPSLbits.PSCNT1 // bit 1, shadows bit in WDTPSLbits
17823 #define WDTPSCNT1 WDTPSLbits.WDTPSCNT1 // bit 1, shadows bit in WDTPSLbits
17824 #define PSCNT2 WDTPSLbits.PSCNT2 // bit 2, shadows bit in WDTPSLbits
17825 #define WDTPSCNT2 WDTPSLbits.WDTPSCNT2 // bit 2, shadows bit in WDTPSLbits
17826 #define PSCNT3 WDTPSLbits.PSCNT3 // bit 3, shadows bit in WDTPSLbits
17827 #define WDTPSCNT3 WDTPSLbits.WDTPSCNT3 // bit 3, shadows bit in WDTPSLbits
17828 #define PSCNT4 WDTPSLbits.PSCNT4 // bit 4, shadows bit in WDTPSLbits
17829 #define WDTPSCNT4 WDTPSLbits.WDTPSCNT4 // bit 4, shadows bit in WDTPSLbits
17830 #define PSCNT5 WDTPSLbits.PSCNT5 // bit 5, shadows bit in WDTPSLbits
17831 #define WDTPSCNT5 WDTPSLbits.WDTPSCNT5 // bit 5, shadows bit in WDTPSLbits
17832 #define PSCNT6 WDTPSLbits.PSCNT6 // bit 6, shadows bit in WDTPSLbits
17833 #define WDTPSCNT6 WDTPSLbits.WDTPSCNT6 // bit 6, shadows bit in WDTPSLbits
17834 #define PSCNT7 WDTPSLbits.PSCNT7 // bit 7, shadows bit in WDTPSLbits
17835 #define WDTPSCNT7 WDTPSLbits.WDTPSCNT7 // bit 7, shadows bit in WDTPSLbits
17837 #define PSCNT16 WDTTMRbits.PSCNT16 // bit 0, shadows bit in WDTTMRbits
17838 #define WDTPSCNT16 WDTTMRbits.WDTPSCNT16 // bit 0, shadows bit in WDTTMRbits
17839 #define PSCNT17 WDTTMRbits.PSCNT17 // bit 1, shadows bit in WDTTMRbits
17840 #define WDTPSCNT17 WDTTMRbits.WDTPSCNT17 // bit 1, shadows bit in WDTTMRbits
17841 #define STATE WDTTMRbits.STATE // bit 2, shadows bit in WDTTMRbits
17842 #define WDTSTATE WDTTMRbits.WDTSTATE // bit 2, shadows bit in WDTTMRbits
17843 #define WDTTMR0 WDTTMRbits.WDTTMR0 // bit 3
17844 #define WDTTMR1 WDTTMRbits.WDTTMR1 // bit 4
17845 #define WDTTMR2 WDTTMRbits.WDTTMR2 // bit 5
17846 #define WDTTMR3 WDTTMRbits.WDTTMR3 // bit 6
17847 #define WDTTMR4 WDTTMRbits.WDTTMR4 // bit 7
17849 #define WPUA0 WPUAbits.WPUA0 // bit 0
17850 #define WPUA1 WPUAbits.WPUA1 // bit 1
17851 #define WPUA2 WPUAbits.WPUA2 // bit 2
17852 #define WPUA3 WPUAbits.WPUA3 // bit 3
17853 #define WPUA4 WPUAbits.WPUA4 // bit 4
17854 #define WPUA5 WPUAbits.WPUA5 // bit 5
17856 #define WPUC0 WPUCbits.WPUC0 // bit 0
17857 #define WPUC1 WPUCbits.WPUC1 // bit 1
17858 #define WPUC2 WPUCbits.WPUC2 // bit 2
17859 #define WPUC3 WPUCbits.WPUC3 // bit 3
17860 #define WPUC4 WPUCbits.WPUC4 // bit 4
17861 #define WPUC5 WPUCbits.WPUC5 // bit 5
17863 #define ZCD1INTN ZCD1CONbits.ZCD1INTN // bit 0
17864 #define ZCD1INTP ZCD1CONbits.ZCD1INTP // bit 1
17865 #define ZCD1POL ZCD1CONbits.ZCD1POL // bit 4
17866 #define ZCD1OUT ZCD1CONbits.ZCD1OUT // bit 5
17867 #define ZCD1EN ZCD1CONbits.ZCD1EN // bit 7
17869 #endif // #ifndef NO_BIT_DEFINES
17871 #endif // #ifndef __PIC16F1615_H__