struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / device / non-free / include / pic14 / pic16lf1614.h
blobbdebacaf162e8e423527ea7c4b25245341e89d4f
1 /*
2 * This declarations of the PIC16LF1614 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 __PIC16LF1614_H__
26 #define __PIC16LF1614_H__
28 //==============================================================================
30 // Register Addresses
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 RC1REG_ADDR 0x0199
112 #define RCREG_ADDR 0x0199
113 #define RCREG1_ADDR 0x0199
114 #define TX1REG_ADDR 0x019A
115 #define TXREG_ADDR 0x019A
116 #define TXREG1_ADDR 0x019A
117 #define SP1BRG_ADDR 0x019B
118 #define SP1BRGL_ADDR 0x019B
119 #define SPBRG_ADDR 0x019B
120 #define SPBRG1_ADDR 0x019B
121 #define SPBRGL_ADDR 0x019B
122 #define SP1BRGH_ADDR 0x019C
123 #define SPBRGH_ADDR 0x019C
124 #define SPBRGH1_ADDR 0x019C
125 #define RC1STA_ADDR 0x019D
126 #define RCSTA_ADDR 0x019D
127 #define RCSTA1_ADDR 0x019D
128 #define TX1STA_ADDR 0x019E
129 #define TXSTA_ADDR 0x019E
130 #define TXSTA1_ADDR 0x019E
131 #define BAUD1CON_ADDR 0x019F
132 #define BAUDCON_ADDR 0x019F
133 #define BAUDCON1_ADDR 0x019F
134 #define BAUDCTL_ADDR 0x019F
135 #define BAUDCTL1_ADDR 0x019F
136 #define WPUA_ADDR 0x020C
137 #define WPUC_ADDR 0x020E
138 #define SSP1BUF_ADDR 0x0211
139 #define SSPBUF_ADDR 0x0211
140 #define SSP1ADD_ADDR 0x0212
141 #define SSPADD_ADDR 0x0212
142 #define SSP1MSK_ADDR 0x0213
143 #define SSPMSK_ADDR 0x0213
144 #define SSP1STAT_ADDR 0x0214
145 #define SSPSTAT_ADDR 0x0214
146 #define SSP1CON_ADDR 0x0215
147 #define SSP1CON1_ADDR 0x0215
148 #define SSPCON_ADDR 0x0215
149 #define SSPCON1_ADDR 0x0215
150 #define SSP1CON2_ADDR 0x0216
151 #define SSPCON2_ADDR 0x0216
152 #define SSP1CON3_ADDR 0x0217
153 #define SSPCON3_ADDR 0x0217
154 #define ODCONA_ADDR 0x028C
155 #define ODCONC_ADDR 0x028E
156 #define CCPR1_ADDR 0x0291
157 #define CCPR1L_ADDR 0x0291
158 #define CCPR1H_ADDR 0x0292
159 #define CCP1CON_ADDR 0x0293
160 #define CCP1CAP_ADDR 0x0294
161 #define CCPR2_ADDR 0x0298
162 #define CCPR2L_ADDR 0x0298
163 #define CCPR2H_ADDR 0x0299
164 #define CCP2CON_ADDR 0x029A
165 #define CCP2CAP_ADDR 0x029B
166 #define CCPTMRS_ADDR 0x029E
167 #define SLRCONA_ADDR 0x030C
168 #define SLRCONC_ADDR 0x030E
169 #define INLVLA_ADDR 0x038C
170 #define INLVLC_ADDR 0x038E
171 #define IOCAP_ADDR 0x0391
172 #define IOCAN_ADDR 0x0392
173 #define IOCAF_ADDR 0x0393
174 #define IOCCP_ADDR 0x0397
175 #define IOCCN_ADDR 0x0398
176 #define IOCCF_ADDR 0x0399
177 #define HIDRVC_ADDR 0x040E
178 #define T4TMR_ADDR 0x0413
179 #define TMR4_ADDR 0x0413
180 #define PR4_ADDR 0x0414
181 #define T4PR_ADDR 0x0414
182 #define T4CON_ADDR 0x0415
183 #define T4HLT_ADDR 0x0416
184 #define T4CLKCON_ADDR 0x0417
185 #define T4RST_ADDR 0x0418
186 #define T6TMR_ADDR 0x041A
187 #define TMR6_ADDR 0x041A
188 #define PR6_ADDR 0x041B
189 #define T6PR_ADDR 0x041B
190 #define T6CON_ADDR 0x041C
191 #define T6HLT_ADDR 0x041D
192 #define T6CLKCON_ADDR 0x041E
193 #define T6RST_ADDR 0x041F
194 #define TMR3L_ADDR 0x0493
195 #define TMR3H_ADDR 0x0494
196 #define T3CON_ADDR 0x0495
197 #define T3GCON_ADDR 0x0496
198 #define TMR5L_ADDR 0x049A
199 #define TMR5H_ADDR 0x049B
200 #define T5CON_ADDR 0x049C
201 #define T5GCON_ADDR 0x049D
202 #define PID1SET_ADDR 0x058C
203 #define PID1SETL_ADDR 0x058C
204 #define PID1SETH_ADDR 0x058D
205 #define PID1IN_ADDR 0x058E
206 #define PID1INL_ADDR 0x058E
207 #define PID1INH_ADDR 0x058F
208 #define PID1K1_ADDR 0x0590
209 #define PID1K1L_ADDR 0x0590
210 #define PID1K1H_ADDR 0x0591
211 #define PID1K2_ADDR 0x0592
212 #define PID1K2L_ADDR 0x0592
213 #define PID1K2H_ADDR 0x0593
214 #define PID1K3_ADDR 0x0594
215 #define PID1K3L_ADDR 0x0594
216 #define PID1K3H_ADDR 0x0595
217 #define PID1OUT_ADDR 0x0596
218 #define PID1OUTLL_ADDR 0x0596
219 #define PID1OUTLH_ADDR 0x0597
220 #define PID1OUTHL_ADDR 0x0598
221 #define PID1OUTHH_ADDR 0x0599
222 #define PID1OUTU_ADDR 0x059A
223 #define PID1Z1_ADDR 0x059B
224 #define PID1Z1L_ADDR 0x059B
225 #define PID1Z1H_ADDR 0x059C
226 #define PID1Z1U_ADDR 0x059D
227 #define PID1Z2_ADDR 0x060C
228 #define PID1Z2L_ADDR 0x060C
229 #define PID1Z2H_ADDR 0x060D
230 #define PID1Z2U_ADDR 0x060E
231 #define PID1ACC_ADDR 0x060F
232 #define PID1ACCLL_ADDR 0x060F
233 #define PID1ACCLH_ADDR 0x0610
234 #define PID1ACCHL_ADDR 0x0611
235 #define PID1ACCHH_ADDR 0x0612
236 #define PID1ACCU_ADDR 0x0613
237 #define PID1CON_ADDR 0x0614
238 #define PWM3DCL_ADDR 0x0617
239 #define PWM3DCH_ADDR 0x0618
240 #define PWM3CON_ADDR 0x0619
241 #define PWM4DCL_ADDR 0x061A
242 #define PWM4DCH_ADDR 0x061B
243 #define PWM4CON_ADDR 0x061C
244 #define CWG1DBR_ADDR 0x0691
245 #define CWG1DBF_ADDR 0x0692
246 #define CWG1AS0_ADDR 0x0693
247 #define CWG1AS1_ADDR 0x0694
248 #define CWG1OCON0_ADDR 0x0695
249 #define CWG1CON0_ADDR 0x0696
250 #define CWG1CON1_ADDR 0x0697
251 #define CWG1CLKCON_ADDR 0x0699
252 #define CWG1ISM_ADDR 0x069A
253 #define WDTCON0_ADDR 0x0711
254 #define WDTCON1_ADDR 0x0712
255 #define WDTPSL_ADDR 0x0713
256 #define WDTPSH_ADDR 0x0714
257 #define WDTTMR_ADDR 0x0715
258 #define SCANLADR_ADDR 0x0718
259 #define SCANLADRL_ADDR 0x0718
260 #define SCANLADRH_ADDR 0x0719
261 #define SCANHADR_ADDR 0x071A
262 #define SCANHADRL_ADDR 0x071A
263 #define SCANHADRH_ADDR 0x071B
264 #define SCANCON0_ADDR 0x071C
265 #define SCANTRIG_ADDR 0x071D
266 #define CRCDAT_ADDR 0x0791
267 #define CRCDATL_ADDR 0x0791
268 #define CRCDATH_ADDR 0x0792
269 #define CRCACC_ADDR 0x0793
270 #define CRCACCL_ADDR 0x0793
271 #define CRCACCH_ADDR 0x0794
272 #define CRCSHIFT_ADDR 0x0795
273 #define CRCSHIFTL_ADDR 0x0795
274 #define CRCSHIFTH_ADDR 0x0796
275 #define CRCXOR_ADDR 0x0797
276 #define CRCXORL_ADDR 0x0797
277 #define CRCXORH_ADDR 0x0798
278 #define CRCCON0_ADDR 0x0799
279 #define CRCCON1_ADDR 0x079A
280 #define AT1RES_ADDR 0x080C
281 #define AT1RESL_ADDR 0x080C
282 #define AT1RESH_ADDR 0x080D
283 #define AT1MISS_ADDR 0x080E
284 #define AT1MISSL_ADDR 0x080E
285 #define AT1MISSH_ADDR 0x080F
286 #define AT1PER_ADDR 0x0810
287 #define AT1PERL_ADDR 0x0810
288 #define AT1PERH_ADDR 0x0811
289 #define AT1PHS_ADDR 0x0812
290 #define AT1PHSL_ADDR 0x0812
291 #define AT1PHSH_ADDR 0x0813
292 #define AT1CON0_ADDR 0x0814
293 #define AT1CON1_ADDR 0x0815
294 #define AT1IR0_ADDR 0x0816
295 #define AT1IE0_ADDR 0x0817
296 #define AT1IR1_ADDR 0x0818
297 #define AT1IE1_ADDR 0x0819
298 #define AT1STPT_ADDR 0x081A
299 #define AT1STPTL_ADDR 0x081A
300 #define AT1STPTH_ADDR 0x081B
301 #define AT1ERR_ADDR 0x081C
302 #define AT1ERRL_ADDR 0x081C
303 #define AT1ERRH_ADDR 0x081D
304 #define AT1CLK_ADDR 0x088C
305 #define AT1SIG_ADDR 0x088D
306 #define AT1CSEL1_ADDR 0x088E
307 #define AT1CC1_ADDR 0x088F
308 #define AT1CC1L_ADDR 0x088F
309 #define AT1CC1H_ADDR 0x0890
310 #define AT1CCON1_ADDR 0x0891
311 #define AT1CSEL2_ADDR 0x0892
312 #define AT1CC2_ADDR 0x0893
313 #define AT1CC2L_ADDR 0x0893
314 #define AT1CC2H_ADDR 0x0894
315 #define AT1CCON2_ADDR 0x0895
316 #define AT1CSEL3_ADDR 0x0896
317 #define AT1CC3_ADDR 0x0897
318 #define AT1CC3L_ADDR 0x0897
319 #define AT1CC3H_ADDR 0x0898
320 #define AT1CCON3_ADDR 0x0899
321 #define SMT1TMR_ADDR 0x0D8C
322 #define SMT1TMRL_ADDR 0x0D8C
323 #define SMT1TMRH_ADDR 0x0D8D
324 #define SMT1TMRU_ADDR 0x0D8E
325 #define SMT1CPR_ADDR 0x0D8F
326 #define SMT1CPRL_ADDR 0x0D8F
327 #define SMT1CPRH_ADDR 0x0D90
328 #define SMT1CPRU_ADDR 0x0D91
329 #define SMT1CPW_ADDR 0x0D92
330 #define SMT1CPWL_ADDR 0x0D92
331 #define SMT1CPWH_ADDR 0x0D93
332 #define SMT1CPWU_ADDR 0x0D94
333 #define SMT1PR_ADDR 0x0D95
334 #define SMT1PRL_ADDR 0x0D95
335 #define SMT1PRH_ADDR 0x0D96
336 #define SMT1PRU_ADDR 0x0D97
337 #define SMT1CON0_ADDR 0x0D98
338 #define SMT1CON1_ADDR 0x0D99
339 #define SMT1STAT_ADDR 0x0D9A
340 #define SMT1CLK_ADDR 0x0D9B
341 #define SMT1SIG_ADDR 0x0D9C
342 #define SMT1WIN_ADDR 0x0D9D
343 #define SMT2TMR_ADDR 0x0D9E
344 #define SMT2TMRL_ADDR 0x0D9E
345 #define SMT2TMRH_ADDR 0x0D9F
346 #define SMT2TMRU_ADDR 0x0DA0
347 #define SMT2CPR_ADDR 0x0DA1
348 #define SMT2CPRL_ADDR 0x0DA1
349 #define SMT2CPRH_ADDR 0x0DA2
350 #define SMT2CPRU_ADDR 0x0DA3
351 #define SMT2CPW_ADDR 0x0DA4
352 #define SMT2CPWL_ADDR 0x0DA4
353 #define SMT2CPWH_ADDR 0x0DA5
354 #define SMT2CPWU_ADDR 0x0DA6
355 #define SMT2PR_ADDR 0x0DA7
356 #define SMT2PRL_ADDR 0x0DA7
357 #define SMT2PRH_ADDR 0x0DA8
358 #define SMT2PRU_ADDR 0x0DA9
359 #define SMT2CON0_ADDR 0x0DAA
360 #define SMT2CON1_ADDR 0x0DAB
361 #define SMT2STAT_ADDR 0x0DAC
362 #define SMT2CLK_ADDR 0x0DAD
363 #define SMT2SIG_ADDR 0x0DAE
364 #define SMT2WIN_ADDR 0x0DAF
365 #define PPSLOCK_ADDR 0x0E0F
366 #define INTPPS_ADDR 0x0E10
367 #define T0CKIPPS_ADDR 0x0E11
368 #define T1CKIPPS_ADDR 0x0E12
369 #define T1GPPS_ADDR 0x0E13
370 #define CCP1PPS_ADDR 0x0E14
371 #define CCP2PPS_ADDR 0x0E15
372 #define ATINPPS_ADDR 0x0E16
373 #define CWGINPPS_ADDR 0x0E17
374 #define T2PPS_ADDR 0x0E18
375 #define T3CKIPPS_ADDR 0x0E19
376 #define T3GPPS_ADDR 0x0E1A
377 #define T4PPS_ADDR 0x0E1B
378 #define T5CKIPPS_ADDR 0x0E1C
379 #define T5GPPS_ADDR 0x0E1D
380 #define T6PPS_ADDR 0x0E1E
381 #define ATCC1PPS_ADDR 0x0E1F
382 #define SSPCLKPPS_ADDR 0x0E20
383 #define SSPDATPPS_ADDR 0x0E21
384 #define SSPSSPPS_ADDR 0x0E22
385 #define ATCC2PPS_ADDR 0x0E23
386 #define RXPPS_ADDR 0x0E24
387 #define CKPPS_ADDR 0x0E25
388 #define SMT1SIGPPS_ADDR 0x0E26
389 #define SMT1WINPPS_ADDR 0x0E27
390 #define CLCIN0PPS_ADDR 0x0E28
391 #define CLCIN1PPS_ADDR 0x0E29
392 #define CLCIN2PPS_ADDR 0x0E2A
393 #define CLCIN3PPS_ADDR 0x0E2B
394 #define SMT2SIGPPS_ADDR 0x0E2C
395 #define SMT2WINPPS_ADDR 0x0E2D
396 #define ATCC3PPS_ADDR 0x0E2E
397 #define RA0PPS_ADDR 0x0E90
398 #define RA1PPS_ADDR 0x0E91
399 #define RA2PPS_ADDR 0x0E92
400 #define RA4PPS_ADDR 0x0E94
401 #define RA5PPS_ADDR 0x0E95
402 #define RC0PPS_ADDR 0x0EA0
403 #define RC1PPS_ADDR 0x0EA1
404 #define RC2PPS_ADDR 0x0EA2
405 #define RC3PPS_ADDR 0x0EA3
406 #define RC4PPS_ADDR 0x0EA4
407 #define RC5PPS_ADDR 0x0EA5
408 #define CLCDATA_ADDR 0x0F0F
409 #define CLC1CON_ADDR 0x0F10
410 #define CLC1POL_ADDR 0x0F11
411 #define CLC1SEL0_ADDR 0x0F12
412 #define CLC1SEL1_ADDR 0x0F13
413 #define CLC1SEL2_ADDR 0x0F14
414 #define CLC1SEL3_ADDR 0x0F15
415 #define CLC1GLS0_ADDR 0x0F16
416 #define CLC1GLS1_ADDR 0x0F17
417 #define CLC1GLS2_ADDR 0x0F18
418 #define CLC1GLS3_ADDR 0x0F19
419 #define CLC2CON_ADDR 0x0F1A
420 #define CLC2POL_ADDR 0x0F1B
421 #define CLC2SEL0_ADDR 0x0F1C
422 #define CLC2SEL1_ADDR 0x0F1D
423 #define CLC2SEL2_ADDR 0x0F1E
424 #define CLC2SEL3_ADDR 0x0F1F
425 #define CLC2GLS0_ADDR 0x0F20
426 #define CLC2GLS1_ADDR 0x0F21
427 #define CLC2GLS2_ADDR 0x0F22
428 #define CLC2GLS3_ADDR 0x0F23
429 #define STATUS_SHAD_ADDR 0x0FE4
430 #define WREG_SHAD_ADDR 0x0FE5
431 #define BSR_SHAD_ADDR 0x0FE6
432 #define PCLATH_SHAD_ADDR 0x0FE7
433 #define FSR0L_SHAD_ADDR 0x0FE8
434 #define FSR0H_SHAD_ADDR 0x0FE9
435 #define FSR1L_SHAD_ADDR 0x0FEA
436 #define FSR1H_SHAD_ADDR 0x0FEB
437 #define STKPTR_ADDR 0x0FED
438 #define TOSL_ADDR 0x0FEE
439 #define TOSH_ADDR 0x0FEF
441 #endif // #ifndef NO_ADDR_DEFINES
443 //==============================================================================
445 // Register Definitions
447 //==============================================================================
449 extern __at(0x0000) __sfr INDF0;
450 extern __at(0x0001) __sfr INDF1;
451 extern __at(0x0002) __sfr PCL;
453 //==============================================================================
454 // STATUS Bits
456 extern __at(0x0003) __sfr STATUS;
458 typedef struct
460 unsigned C : 1;
461 unsigned DC : 1;
462 unsigned Z : 1;
463 unsigned NOT_PD : 1;
464 unsigned NOT_TO : 1;
465 unsigned : 1;
466 unsigned : 1;
467 unsigned : 1;
468 } __STATUSbits_t;
470 extern __at(0x0003) volatile __STATUSbits_t STATUSbits;
472 #define _C 0x01
473 #define _DC 0x02
474 #define _Z 0x04
475 #define _NOT_PD 0x08
476 #define _NOT_TO 0x10
478 //==============================================================================
480 extern __at(0x0004) __sfr FSR0;
481 extern __at(0x0004) __sfr FSR0L;
482 extern __at(0x0005) __sfr FSR0H;
483 extern __at(0x0006) __sfr FSR1;
484 extern __at(0x0006) __sfr FSR1L;
485 extern __at(0x0007) __sfr FSR1H;
487 //==============================================================================
488 // BSR Bits
490 extern __at(0x0008) __sfr BSR;
492 typedef union
494 struct
496 unsigned BSR0 : 1;
497 unsigned BSR1 : 1;
498 unsigned BSR2 : 1;
499 unsigned BSR3 : 1;
500 unsigned BSR4 : 1;
501 unsigned : 1;
502 unsigned : 1;
503 unsigned : 1;
506 struct
508 unsigned BSR : 5;
509 unsigned : 3;
511 } __BSRbits_t;
513 extern __at(0x0008) volatile __BSRbits_t BSRbits;
515 #define _BSR0 0x01
516 #define _BSR1 0x02
517 #define _BSR2 0x04
518 #define _BSR3 0x08
519 #define _BSR4 0x10
521 //==============================================================================
523 extern __at(0x0009) __sfr WREG;
524 extern __at(0x000A) __sfr PCLATH;
526 //==============================================================================
527 // INTCON Bits
529 extern __at(0x000B) __sfr INTCON;
531 typedef union
533 struct
535 unsigned IOCIF : 1;
536 unsigned INTF : 1;
537 unsigned TMR0IF : 1;
538 unsigned IOCIE : 1;
539 unsigned INTE : 1;
540 unsigned TMR0IE : 1;
541 unsigned PEIE : 1;
542 unsigned GIE : 1;
545 struct
547 unsigned : 1;
548 unsigned : 1;
549 unsigned T0IF : 1;
550 unsigned : 1;
551 unsigned : 1;
552 unsigned T0IE : 1;
553 unsigned : 1;
554 unsigned : 1;
556 } __INTCONbits_t;
558 extern __at(0x000B) volatile __INTCONbits_t INTCONbits;
560 #define _IOCIF 0x01
561 #define _INTF 0x02
562 #define _TMR0IF 0x04
563 #define _T0IF 0x04
564 #define _IOCIE 0x08
565 #define _INTE 0x10
566 #define _TMR0IE 0x20
567 #define _T0IE 0x20
568 #define _PEIE 0x40
569 #define _GIE 0x80
571 //==============================================================================
574 //==============================================================================
575 // PORTA Bits
577 extern __at(0x000C) __sfr PORTA;
579 typedef union
581 struct
583 unsigned RA0 : 1;
584 unsigned RA1 : 1;
585 unsigned RA2 : 1;
586 unsigned RA3 : 1;
587 unsigned RA4 : 1;
588 unsigned RA5 : 1;
589 unsigned : 1;
590 unsigned : 1;
593 struct
595 unsigned RA : 6;
596 unsigned : 2;
598 } __PORTAbits_t;
600 extern __at(0x000C) volatile __PORTAbits_t PORTAbits;
602 #define _RA0 0x01
603 #define _RA1 0x02
604 #define _RA2 0x04
605 #define _RA3 0x08
606 #define _RA4 0x10
607 #define _RA5 0x20
609 //==============================================================================
612 //==============================================================================
613 // PORTC Bits
615 extern __at(0x000E) __sfr PORTC;
617 typedef union
619 struct
621 unsigned RC0 : 1;
622 unsigned RC1 : 1;
623 unsigned RC2 : 1;
624 unsigned RC3 : 1;
625 unsigned RC4 : 1;
626 unsigned RC5 : 1;
627 unsigned : 1;
628 unsigned : 1;
631 struct
633 unsigned RC : 6;
634 unsigned : 2;
636 } __PORTCbits_t;
638 extern __at(0x000E) volatile __PORTCbits_t PORTCbits;
640 #define _RC0 0x01
641 #define _RC1 0x02
642 #define _RC2 0x04
643 #define _RC3 0x08
644 #define _RC4 0x10
645 #define _RC5 0x20
647 //==============================================================================
650 //==============================================================================
651 // PIR1 Bits
653 extern __at(0x0010) __sfr PIR1;
655 typedef struct
657 unsigned TMR1IF : 1;
658 unsigned TMR2IF : 1;
659 unsigned CCP1IF : 1;
660 unsigned SSP1IF : 1;
661 unsigned TXIF : 1;
662 unsigned RCIF : 1;
663 unsigned ADIF : 1;
664 unsigned TMR1GIF : 1;
665 } __PIR1bits_t;
667 extern __at(0x0010) volatile __PIR1bits_t PIR1bits;
669 #define _TMR1IF 0x01
670 #define _TMR2IF 0x02
671 #define _CCP1IF 0x04
672 #define _SSP1IF 0x08
673 #define _TXIF 0x10
674 #define _RCIF 0x20
675 #define _ADIF 0x40
676 #define _TMR1GIF 0x80
678 //==============================================================================
681 //==============================================================================
682 // PIR2 Bits
684 extern __at(0x0011) __sfr PIR2;
686 typedef struct
688 unsigned CCP2IF : 1;
689 unsigned TMR4IF : 1;
690 unsigned TMR6IF : 1;
691 unsigned BCL1IF : 1;
692 unsigned : 1;
693 unsigned C1IF : 1;
694 unsigned C2IF : 1;
695 unsigned : 1;
696 } __PIR2bits_t;
698 extern __at(0x0011) volatile __PIR2bits_t PIR2bits;
700 #define _CCP2IF 0x01
701 #define _TMR4IF 0x02
702 #define _TMR6IF 0x04
703 #define _BCL1IF 0x08
704 #define _C1IF 0x20
705 #define _C2IF 0x40
707 //==============================================================================
710 //==============================================================================
711 // PIR3 Bits
713 extern __at(0x0012) __sfr PIR3;
715 typedef struct
717 unsigned CLC1IF : 1;
718 unsigned CLC2IF : 1;
719 unsigned : 1;
720 unsigned : 1;
721 unsigned ZCDIF : 1;
722 unsigned CWGIF : 1;
723 unsigned : 1;
724 unsigned : 1;
725 } __PIR3bits_t;
727 extern __at(0x0012) volatile __PIR3bits_t PIR3bits;
729 #define _CLC1IF 0x01
730 #define _CLC2IF 0x02
731 #define _ZCDIF 0x10
732 #define _CWGIF 0x20
734 //==============================================================================
737 //==============================================================================
738 // PIR4 Bits
740 extern __at(0x0013) __sfr PIR4;
742 typedef struct
744 unsigned SMT1IF : 1;
745 unsigned SMT1PRAIF : 1;
746 unsigned SMT1PWAIF : 1;
747 unsigned SMT2IF : 1;
748 unsigned SMT2PRAIF : 1;
749 unsigned SMT2PWAIF : 1;
750 unsigned CRCIF : 1;
751 unsigned SCANIF : 1;
752 } __PIR4bits_t;
754 extern __at(0x0013) volatile __PIR4bits_t PIR4bits;
756 #define _SMT1IF 0x01
757 #define _SMT1PRAIF 0x02
758 #define _SMT1PWAIF 0x04
759 #define _SMT2IF 0x08
760 #define _SMT2PRAIF 0x10
761 #define _SMT2PWAIF 0x20
762 #define _CRCIF 0x40
763 #define _SCANIF 0x80
765 //==============================================================================
768 //==============================================================================
769 // PIR5 Bits
771 extern __at(0x0014) __sfr PIR5;
773 typedef struct
775 unsigned PID1DIF : 1;
776 unsigned PID1EIF : 1;
777 unsigned AT1IF : 1;
778 unsigned : 1;
779 unsigned TMR5IF : 1;
780 unsigned TMR5GIF : 1;
781 unsigned TMR3IF : 1;
782 unsigned TMR3GIF : 1;
783 } __PIR5bits_t;
785 extern __at(0x0014) volatile __PIR5bits_t PIR5bits;
787 #define _PID1DIF 0x01
788 #define _PID1EIF 0x02
789 #define _AT1IF 0x04
790 #define _TMR5IF 0x10
791 #define _TMR5GIF 0x20
792 #define _TMR3IF 0x40
793 #define _TMR3GIF 0x80
795 //==============================================================================
797 extern __at(0x0015) __sfr TMR0;
798 extern __at(0x0016) __sfr TMR1;
799 extern __at(0x0016) __sfr TMR1L;
800 extern __at(0x0017) __sfr TMR1H;
802 //==============================================================================
803 // T1CON Bits
805 extern __at(0x0018) __sfr T1CON;
807 typedef union
809 struct
811 unsigned TMR1ON : 1;
812 unsigned : 1;
813 unsigned NOT_T1SYNC : 1;
814 unsigned : 1;
815 unsigned T1CKPS0 : 1;
816 unsigned T1CKPS1 : 1;
817 unsigned TMR1CS0 : 1;
818 unsigned TMR1CS1 : 1;
821 struct
823 unsigned : 4;
824 unsigned T1CKPS : 2;
825 unsigned : 2;
828 struct
830 unsigned : 6;
831 unsigned TMR1CS : 2;
833 } __T1CONbits_t;
835 extern __at(0x0018) volatile __T1CONbits_t T1CONbits;
837 #define _TMR1ON 0x01
838 #define _NOT_T1SYNC 0x04
839 #define _T1CKPS0 0x10
840 #define _T1CKPS1 0x20
841 #define _TMR1CS0 0x40
842 #define _TMR1CS1 0x80
844 //==============================================================================
847 //==============================================================================
848 // T1GCON Bits
850 extern __at(0x0019) __sfr T1GCON;
852 typedef union
854 struct
856 unsigned T1GSS0 : 1;
857 unsigned T1GSS1 : 1;
858 unsigned T1GVAL : 1;
859 unsigned T1GGO_NOT_DONE : 1;
860 unsigned T1GSPM : 1;
861 unsigned T1GTM : 1;
862 unsigned T1GPOL : 1;
863 unsigned TMR1GE : 1;
866 struct
868 unsigned T1GSS : 2;
869 unsigned : 6;
871 } __T1GCONbits_t;
873 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits;
875 #define _T1GSS0 0x01
876 #define _T1GSS1 0x02
877 #define _T1GVAL 0x04
878 #define _T1GGO_NOT_DONE 0x08
879 #define _T1GSPM 0x10
880 #define _T1GTM 0x20
881 #define _T1GPOL 0x40
882 #define _TMR1GE 0x80
884 //==============================================================================
886 extern __at(0x001A) __sfr T2TMR;
887 extern __at(0x001A) __sfr TMR2;
888 extern __at(0x001B) __sfr PR2;
889 extern __at(0x001B) __sfr T2PR;
891 //==============================================================================
892 // T2CON Bits
894 extern __at(0x001C) __sfr T2CON;
896 typedef union
898 struct
900 unsigned OUTPS0 : 1;
901 unsigned OUTPS1 : 1;
902 unsigned OUTPS2 : 1;
903 unsigned OUTPS3 : 1;
904 unsigned CKPS0 : 1;
905 unsigned CKPS1 : 1;
906 unsigned CKPS2 : 1;
907 unsigned ON : 1;
910 struct
912 unsigned T2OUTPS0 : 1;
913 unsigned T2OUTPS1 : 1;
914 unsigned T2OUTPS2 : 1;
915 unsigned T2OUTPS3 : 1;
916 unsigned T2CKPS0 : 1;
917 unsigned T2CKPS1 : 1;
918 unsigned T2CKPS2 : 1;
919 unsigned T2ON : 1;
922 struct
924 unsigned : 1;
925 unsigned : 1;
926 unsigned : 1;
927 unsigned : 1;
928 unsigned : 1;
929 unsigned : 1;
930 unsigned : 1;
931 unsigned TMR2ON : 1;
934 struct
936 unsigned OUTPS : 4;
937 unsigned : 4;
940 struct
942 unsigned T2OUTPS : 4;
943 unsigned : 4;
946 struct
948 unsigned : 4;
949 unsigned CKPS : 3;
950 unsigned : 1;
953 struct
955 unsigned : 4;
956 unsigned T2CKPS : 3;
957 unsigned : 1;
959 } __T2CONbits_t;
961 extern __at(0x001C) volatile __T2CONbits_t T2CONbits;
963 #define _OUTPS0 0x01
964 #define _T2OUTPS0 0x01
965 #define _OUTPS1 0x02
966 #define _T2OUTPS1 0x02
967 #define _OUTPS2 0x04
968 #define _T2OUTPS2 0x04
969 #define _OUTPS3 0x08
970 #define _T2OUTPS3 0x08
971 #define _CKPS0 0x10
972 #define _T2CKPS0 0x10
973 #define _CKPS1 0x20
974 #define _T2CKPS1 0x20
975 #define _CKPS2 0x40
976 #define _T2CKPS2 0x40
977 #define _ON 0x80
978 #define _T2ON 0x80
979 #define _TMR2ON 0x80
981 //==============================================================================
984 //==============================================================================
985 // T2HLT Bits
987 extern __at(0x001D) __sfr T2HLT;
989 typedef union
991 struct
993 unsigned MODE0 : 1;
994 unsigned MODE1 : 1;
995 unsigned MODE2 : 1;
996 unsigned MODE3 : 1;
997 unsigned MODE4 : 1;
998 unsigned CKSYNC : 1;
999 unsigned CKPOL : 1;
1000 unsigned PSYNC : 1;
1003 struct
1005 unsigned T2MODE0 : 1;
1006 unsigned T2MODE1 : 1;
1007 unsigned T2MODE2 : 1;
1008 unsigned T2MODE3 : 1;
1009 unsigned T2MODE4 : 1;
1010 unsigned T2CKSYNC : 1;
1011 unsigned T2CKPOL : 1;
1012 unsigned T2PSYNC : 1;
1015 struct
1017 unsigned MODE : 5;
1018 unsigned : 3;
1021 struct
1023 unsigned T2MODE : 5;
1024 unsigned : 3;
1026 } __T2HLTbits_t;
1028 extern __at(0x001D) volatile __T2HLTbits_t T2HLTbits;
1030 #define _T2HLT_MODE0 0x01
1031 #define _T2HLT_T2MODE0 0x01
1032 #define _T2HLT_MODE1 0x02
1033 #define _T2HLT_T2MODE1 0x02
1034 #define _T2HLT_MODE2 0x04
1035 #define _T2HLT_T2MODE2 0x04
1036 #define _T2HLT_MODE3 0x08
1037 #define _T2HLT_T2MODE3 0x08
1038 #define _T2HLT_MODE4 0x10
1039 #define _T2HLT_T2MODE4 0x10
1040 #define _T2HLT_CKSYNC 0x20
1041 #define _T2HLT_T2CKSYNC 0x20
1042 #define _T2HLT_CKPOL 0x40
1043 #define _T2HLT_T2CKPOL 0x40
1044 #define _T2HLT_PSYNC 0x80
1045 #define _T2HLT_T2PSYNC 0x80
1047 //==============================================================================
1050 //==============================================================================
1051 // T2CLKCON Bits
1053 extern __at(0x001E) __sfr T2CLKCON;
1055 typedef union
1057 struct
1059 unsigned CS0 : 1;
1060 unsigned CS1 : 1;
1061 unsigned CS2 : 1;
1062 unsigned CS3 : 1;
1063 unsigned : 1;
1064 unsigned : 1;
1065 unsigned : 1;
1066 unsigned : 1;
1069 struct
1071 unsigned T2CS0 : 1;
1072 unsigned T2CS1 : 1;
1073 unsigned T2CS2 : 1;
1074 unsigned T2CS3 : 1;
1075 unsigned : 1;
1076 unsigned : 1;
1077 unsigned : 1;
1078 unsigned : 1;
1081 struct
1083 unsigned T2CS : 4;
1084 unsigned : 4;
1087 struct
1089 unsigned CS : 4;
1090 unsigned : 4;
1092 } __T2CLKCONbits_t;
1094 extern __at(0x001E) volatile __T2CLKCONbits_t T2CLKCONbits;
1096 #define _T2CLKCON_CS0 0x01
1097 #define _T2CLKCON_T2CS0 0x01
1098 #define _T2CLKCON_CS1 0x02
1099 #define _T2CLKCON_T2CS1 0x02
1100 #define _T2CLKCON_CS2 0x04
1101 #define _T2CLKCON_T2CS2 0x04
1102 #define _T2CLKCON_CS3 0x08
1103 #define _T2CLKCON_T2CS3 0x08
1105 //==============================================================================
1108 //==============================================================================
1109 // T2RST Bits
1111 extern __at(0x001F) __sfr T2RST;
1113 typedef union
1115 struct
1117 unsigned RSEL0 : 1;
1118 unsigned RSEL1 : 1;
1119 unsigned RSEL2 : 1;
1120 unsigned RSEL3 : 1;
1121 unsigned : 1;
1122 unsigned : 1;
1123 unsigned : 1;
1124 unsigned : 1;
1127 struct
1129 unsigned T2RSEL0 : 1;
1130 unsigned T2RSEL1 : 1;
1131 unsigned T2RSEL2 : 1;
1132 unsigned T2RSEL3 : 1;
1133 unsigned : 1;
1134 unsigned : 1;
1135 unsigned : 1;
1136 unsigned : 1;
1139 struct
1141 unsigned T2RSEL : 4;
1142 unsigned : 4;
1145 struct
1147 unsigned RSEL : 4;
1148 unsigned : 4;
1150 } __T2RSTbits_t;
1152 extern __at(0x001F) volatile __T2RSTbits_t T2RSTbits;
1154 #define _RSEL0 0x01
1155 #define _T2RSEL0 0x01
1156 #define _RSEL1 0x02
1157 #define _T2RSEL1 0x02
1158 #define _RSEL2 0x04
1159 #define _T2RSEL2 0x04
1160 #define _RSEL3 0x08
1161 #define _T2RSEL3 0x08
1163 //==============================================================================
1166 //==============================================================================
1167 // TRISA Bits
1169 extern __at(0x008C) __sfr TRISA;
1171 typedef union
1173 struct
1175 unsigned TRISA0 : 1;
1176 unsigned TRISA1 : 1;
1177 unsigned TRISA2 : 1;
1178 unsigned TRISA3 : 1;
1179 unsigned TRISA4 : 1;
1180 unsigned TRISA5 : 1;
1181 unsigned : 1;
1182 unsigned : 1;
1185 struct
1187 unsigned TRISA : 6;
1188 unsigned : 2;
1190 } __TRISAbits_t;
1192 extern __at(0x008C) volatile __TRISAbits_t TRISAbits;
1194 #define _TRISA0 0x01
1195 #define _TRISA1 0x02
1196 #define _TRISA2 0x04
1197 #define _TRISA3 0x08
1198 #define _TRISA4 0x10
1199 #define _TRISA5 0x20
1201 //==============================================================================
1204 //==============================================================================
1205 // TRISC Bits
1207 extern __at(0x008E) __sfr TRISC;
1209 typedef union
1211 struct
1213 unsigned TRISC0 : 1;
1214 unsigned TRISC1 : 1;
1215 unsigned TRISC2 : 1;
1216 unsigned TRISC3 : 1;
1217 unsigned TRISC4 : 1;
1218 unsigned TRISC5 : 1;
1219 unsigned : 1;
1220 unsigned : 1;
1223 struct
1225 unsigned TRISC : 6;
1226 unsigned : 2;
1228 } __TRISCbits_t;
1230 extern __at(0x008E) volatile __TRISCbits_t TRISCbits;
1232 #define _TRISC0 0x01
1233 #define _TRISC1 0x02
1234 #define _TRISC2 0x04
1235 #define _TRISC3 0x08
1236 #define _TRISC4 0x10
1237 #define _TRISC5 0x20
1239 //==============================================================================
1242 //==============================================================================
1243 // PIE1 Bits
1245 extern __at(0x0090) __sfr PIE1;
1247 typedef struct
1249 unsigned TMR1IE : 1;
1250 unsigned TMR2IE : 1;
1251 unsigned CCP1IE : 1;
1252 unsigned SSP1IE : 1;
1253 unsigned TXIE : 1;
1254 unsigned RCIE : 1;
1255 unsigned ADIE : 1;
1256 unsigned TMR1GIE : 1;
1257 } __PIE1bits_t;
1259 extern __at(0x0090) volatile __PIE1bits_t PIE1bits;
1261 #define _TMR1IE 0x01
1262 #define _TMR2IE 0x02
1263 #define _CCP1IE 0x04
1264 #define _SSP1IE 0x08
1265 #define _TXIE 0x10
1266 #define _RCIE 0x20
1267 #define _ADIE 0x40
1268 #define _TMR1GIE 0x80
1270 //==============================================================================
1273 //==============================================================================
1274 // PIE2 Bits
1276 extern __at(0x0091) __sfr PIE2;
1278 typedef struct
1280 unsigned CCP2IE : 1;
1281 unsigned TMR4IE : 1;
1282 unsigned TMR6IE : 1;
1283 unsigned BCL1IE : 1;
1284 unsigned : 1;
1285 unsigned C1IE : 1;
1286 unsigned C2IE : 1;
1287 unsigned : 1;
1288 } __PIE2bits_t;
1290 extern __at(0x0091) volatile __PIE2bits_t PIE2bits;
1292 #define _CCP2IE 0x01
1293 #define _TMR4IE 0x02
1294 #define _TMR6IE 0x04
1295 #define _BCL1IE 0x08
1296 #define _C1IE 0x20
1297 #define _C2IE 0x40
1299 //==============================================================================
1302 //==============================================================================
1303 // PIE3 Bits
1305 extern __at(0x0092) __sfr PIE3;
1307 typedef struct
1309 unsigned CLC1IE : 1;
1310 unsigned CLC2IE : 1;
1311 unsigned : 1;
1312 unsigned : 1;
1313 unsigned ZCDIE : 1;
1314 unsigned CWGIE : 1;
1315 unsigned : 1;
1316 unsigned : 1;
1317 } __PIE3bits_t;
1319 extern __at(0x0092) volatile __PIE3bits_t PIE3bits;
1321 #define _CLC1IE 0x01
1322 #define _CLC2IE 0x02
1323 #define _ZCDIE 0x10
1324 #define _CWGIE 0x20
1326 //==============================================================================
1329 //==============================================================================
1330 // PIE4 Bits
1332 extern __at(0x0093) __sfr PIE4;
1334 typedef struct
1336 unsigned SMT1IE : 1;
1337 unsigned SMT1PRAIE : 1;
1338 unsigned SMT1PWAIE : 1;
1339 unsigned SMT2IE : 1;
1340 unsigned SMT2PRAIE : 1;
1341 unsigned SMT2PWAIE : 1;
1342 unsigned CRCIE : 1;
1343 unsigned SCANIE : 1;
1344 } __PIE4bits_t;
1346 extern __at(0x0093) volatile __PIE4bits_t PIE4bits;
1348 #define _SMT1IE 0x01
1349 #define _SMT1PRAIE 0x02
1350 #define _SMT1PWAIE 0x04
1351 #define _SMT2IE 0x08
1352 #define _SMT2PRAIE 0x10
1353 #define _SMT2PWAIE 0x20
1354 #define _CRCIE 0x40
1355 #define _SCANIE 0x80
1357 //==============================================================================
1360 //==============================================================================
1361 // PIE5 Bits
1363 extern __at(0x0094) __sfr PIE5;
1365 typedef struct
1367 unsigned PID1DIE : 1;
1368 unsigned PID1EIE : 1;
1369 unsigned AT1IE : 1;
1370 unsigned : 1;
1371 unsigned TMR5IE : 1;
1372 unsigned TMR5GIE : 1;
1373 unsigned TMR3IE : 1;
1374 unsigned TMR3GIE : 1;
1375 } __PIE5bits_t;
1377 extern __at(0x0094) volatile __PIE5bits_t PIE5bits;
1379 #define _PID1DIE 0x01
1380 #define _PID1EIE 0x02
1381 #define _AT1IE 0x04
1382 #define _TMR5IE 0x10
1383 #define _TMR5GIE 0x20
1384 #define _TMR3IE 0x40
1385 #define _TMR3GIE 0x80
1387 //==============================================================================
1390 //==============================================================================
1391 // OPTION_REG Bits
1393 extern __at(0x0095) __sfr OPTION_REG;
1395 typedef union
1397 struct
1399 unsigned PS0 : 1;
1400 unsigned PS1 : 1;
1401 unsigned PS2 : 1;
1402 unsigned PSA : 1;
1403 unsigned TMR0SE : 1;
1404 unsigned TMR0CS : 1;
1405 unsigned INTEDG : 1;
1406 unsigned NOT_WPUEN : 1;
1409 struct
1411 unsigned : 1;
1412 unsigned : 1;
1413 unsigned : 1;
1414 unsigned : 1;
1415 unsigned T0SE : 1;
1416 unsigned T0CS : 1;
1417 unsigned : 1;
1418 unsigned : 1;
1421 struct
1423 unsigned PS : 3;
1424 unsigned : 5;
1426 } __OPTION_REGbits_t;
1428 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits;
1430 #define _OPTION_REG_PS0 0x01
1431 #define _OPTION_REG_PS1 0x02
1432 #define _OPTION_REG_PS2 0x04
1433 #define _OPTION_REG_PSA 0x08
1434 #define _OPTION_REG_TMR0SE 0x10
1435 #define _OPTION_REG_T0SE 0x10
1436 #define _OPTION_REG_TMR0CS 0x20
1437 #define _OPTION_REG_T0CS 0x20
1438 #define _OPTION_REG_INTEDG 0x40
1439 #define _OPTION_REG_NOT_WPUEN 0x80
1441 //==============================================================================
1444 //==============================================================================
1445 // PCON Bits
1447 extern __at(0x0096) __sfr PCON;
1449 typedef struct
1451 unsigned NOT_BOR : 1;
1452 unsigned NOT_POR : 1;
1453 unsigned NOT_RI : 1;
1454 unsigned NOT_RMCLR : 1;
1455 unsigned NOT_RWDT : 1;
1456 unsigned NOT_WDTWV : 1;
1457 unsigned STKUNF : 1;
1458 unsigned STKOVF : 1;
1459 } __PCONbits_t;
1461 extern __at(0x0096) volatile __PCONbits_t PCONbits;
1463 #define _NOT_BOR 0x01
1464 #define _NOT_POR 0x02
1465 #define _NOT_RI 0x04
1466 #define _NOT_RMCLR 0x08
1467 #define _NOT_RWDT 0x10
1468 #define _NOT_WDTWV 0x20
1469 #define _STKUNF 0x40
1470 #define _STKOVF 0x80
1472 //==============================================================================
1475 //==============================================================================
1476 // OSCTUNE Bits
1478 extern __at(0x0098) __sfr OSCTUNE;
1480 typedef union
1482 struct
1484 unsigned TUN0 : 1;
1485 unsigned TUN1 : 1;
1486 unsigned TUN2 : 1;
1487 unsigned TUN3 : 1;
1488 unsigned TUN4 : 1;
1489 unsigned TUN5 : 1;
1490 unsigned : 1;
1491 unsigned : 1;
1494 struct
1496 unsigned TUN : 6;
1497 unsigned : 2;
1499 } __OSCTUNEbits_t;
1501 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits;
1503 #define _TUN0 0x01
1504 #define _TUN1 0x02
1505 #define _TUN2 0x04
1506 #define _TUN3 0x08
1507 #define _TUN4 0x10
1508 #define _TUN5 0x20
1510 //==============================================================================
1513 //==============================================================================
1514 // OSCCON Bits
1516 extern __at(0x0099) __sfr OSCCON;
1518 typedef union
1520 struct
1522 unsigned SCS0 : 1;
1523 unsigned SCS1 : 1;
1524 unsigned : 1;
1525 unsigned IRCF0 : 1;
1526 unsigned IRCF1 : 1;
1527 unsigned IRCF2 : 1;
1528 unsigned IRCF3 : 1;
1529 unsigned SPLLEN : 1;
1532 struct
1534 unsigned SCS : 2;
1535 unsigned : 6;
1538 struct
1540 unsigned : 3;
1541 unsigned IRCF : 4;
1542 unsigned : 1;
1544 } __OSCCONbits_t;
1546 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits;
1548 #define _SCS0 0x01
1549 #define _SCS1 0x02
1550 #define _IRCF0 0x08
1551 #define _IRCF1 0x10
1552 #define _IRCF2 0x20
1553 #define _IRCF3 0x40
1554 #define _SPLLEN 0x80
1556 //==============================================================================
1559 //==============================================================================
1560 // OSCSTAT Bits
1562 extern __at(0x009A) __sfr OSCSTAT;
1564 typedef struct
1566 unsigned HFIOFS : 1;
1567 unsigned LFIOFR : 1;
1568 unsigned MFIOFR : 1;
1569 unsigned HFIOFL : 1;
1570 unsigned HFIOFR : 1;
1571 unsigned : 1;
1572 unsigned PLLR : 1;
1573 unsigned : 1;
1574 } __OSCSTATbits_t;
1576 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits;
1578 #define _HFIOFS 0x01
1579 #define _LFIOFR 0x02
1580 #define _MFIOFR 0x04
1581 #define _HFIOFL 0x08
1582 #define _HFIOFR 0x10
1583 #define _PLLR 0x40
1585 //==============================================================================
1587 extern __at(0x009B) __sfr ADRES;
1588 extern __at(0x009B) __sfr ADRESL;
1589 extern __at(0x009C) __sfr ADRESH;
1591 //==============================================================================
1592 // ADCON0 Bits
1594 extern __at(0x009D) __sfr ADCON0;
1596 typedef union
1598 struct
1600 unsigned ADON : 1;
1601 unsigned GO_NOT_DONE : 1;
1602 unsigned CHS0 : 1;
1603 unsigned CHS1 : 1;
1604 unsigned CHS2 : 1;
1605 unsigned CHS3 : 1;
1606 unsigned CHS4 : 1;
1607 unsigned : 1;
1610 struct
1612 unsigned : 1;
1613 unsigned ADGO : 1;
1614 unsigned : 1;
1615 unsigned : 1;
1616 unsigned : 1;
1617 unsigned : 1;
1618 unsigned : 1;
1619 unsigned : 1;
1622 struct
1624 unsigned : 1;
1625 unsigned GO : 1;
1626 unsigned : 1;
1627 unsigned : 1;
1628 unsigned : 1;
1629 unsigned : 1;
1630 unsigned : 1;
1631 unsigned : 1;
1634 struct
1636 unsigned : 2;
1637 unsigned CHS : 5;
1638 unsigned : 1;
1640 } __ADCON0bits_t;
1642 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits;
1644 #define _ADON 0x01
1645 #define _GO_NOT_DONE 0x02
1646 #define _ADGO 0x02
1647 #define _GO 0x02
1648 #define _CHS0 0x04
1649 #define _CHS1 0x08
1650 #define _CHS2 0x10
1651 #define _CHS3 0x20
1652 #define _CHS4 0x40
1654 //==============================================================================
1657 //==============================================================================
1658 // ADCON1 Bits
1660 extern __at(0x009E) __sfr ADCON1;
1662 typedef union
1664 struct
1666 unsigned ADPREF0 : 1;
1667 unsigned ADPREF1 : 1;
1668 unsigned : 1;
1669 unsigned : 1;
1670 unsigned ADCS0 : 1;
1671 unsigned ADCS1 : 1;
1672 unsigned ADCS2 : 1;
1673 unsigned ADFM : 1;
1676 struct
1678 unsigned ADPREF : 2;
1679 unsigned : 6;
1682 struct
1684 unsigned : 4;
1685 unsigned ADCS : 3;
1686 unsigned : 1;
1688 } __ADCON1bits_t;
1690 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits;
1692 #define _ADPREF0 0x01
1693 #define _ADPREF1 0x02
1694 #define _ADCS0 0x10
1695 #define _ADCS1 0x20
1696 #define _ADCS2 0x40
1697 #define _ADFM 0x80
1699 //==============================================================================
1702 //==============================================================================
1703 // ADCON2 Bits
1705 extern __at(0x009F) __sfr ADCON2;
1707 typedef union
1709 struct
1711 unsigned : 1;
1712 unsigned : 1;
1713 unsigned : 1;
1714 unsigned : 1;
1715 unsigned TRIGSEL0 : 1;
1716 unsigned TRIGSEL1 : 1;
1717 unsigned TRIGSEL2 : 1;
1718 unsigned TRIGSEL3 : 1;
1721 struct
1723 unsigned : 4;
1724 unsigned TRIGSEL : 4;
1726 } __ADCON2bits_t;
1728 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits;
1730 #define _TRIGSEL0 0x10
1731 #define _TRIGSEL1 0x20
1732 #define _TRIGSEL2 0x40
1733 #define _TRIGSEL3 0x80
1735 //==============================================================================
1738 //==============================================================================
1739 // LATA Bits
1741 extern __at(0x010C) __sfr LATA;
1743 typedef union
1745 struct
1747 unsigned LATA0 : 1;
1748 unsigned LATA1 : 1;
1749 unsigned LATA2 : 1;
1750 unsigned LATA3 : 1;
1751 unsigned LATA4 : 1;
1752 unsigned LATA5 : 1;
1753 unsigned : 1;
1754 unsigned : 1;
1757 struct
1759 unsigned LATA : 6;
1760 unsigned : 2;
1762 } __LATAbits_t;
1764 extern __at(0x010C) volatile __LATAbits_t LATAbits;
1766 #define _LATA0 0x01
1767 #define _LATA1 0x02
1768 #define _LATA2 0x04
1769 #define _LATA3 0x08
1770 #define _LATA4 0x10
1771 #define _LATA5 0x20
1773 //==============================================================================
1776 //==============================================================================
1777 // LATC Bits
1779 extern __at(0x010E) __sfr LATC;
1781 typedef union
1783 struct
1785 unsigned LATC0 : 1;
1786 unsigned LATC1 : 1;
1787 unsigned LATC2 : 1;
1788 unsigned LATC3 : 1;
1789 unsigned LATC4 : 1;
1790 unsigned LATC5 : 1;
1791 unsigned : 1;
1792 unsigned : 1;
1795 struct
1797 unsigned LATC : 6;
1798 unsigned : 2;
1800 } __LATCbits_t;
1802 extern __at(0x010E) volatile __LATCbits_t LATCbits;
1804 #define _LATC0 0x01
1805 #define _LATC1 0x02
1806 #define _LATC2 0x04
1807 #define _LATC3 0x08
1808 #define _LATC4 0x10
1809 #define _LATC5 0x20
1811 //==============================================================================
1814 //==============================================================================
1815 // CM1CON0 Bits
1817 extern __at(0x0111) __sfr CM1CON0;
1819 typedef struct
1821 unsigned C1SYNC : 1;
1822 unsigned C1HYS : 1;
1823 unsigned C1SP : 1;
1824 unsigned : 1;
1825 unsigned C1POL : 1;
1826 unsigned : 1;
1827 unsigned C1OUT : 1;
1828 unsigned C1ON : 1;
1829 } __CM1CON0bits_t;
1831 extern __at(0x0111) volatile __CM1CON0bits_t CM1CON0bits;
1833 #define _C1SYNC 0x01
1834 #define _C1HYS 0x02
1835 #define _C1SP 0x04
1836 #define _C1POL 0x10
1837 #define _C1OUT 0x40
1838 #define _C1ON 0x80
1840 //==============================================================================
1843 //==============================================================================
1844 // CM1CON1 Bits
1846 extern __at(0x0112) __sfr CM1CON1;
1848 typedef union
1850 struct
1852 unsigned C1NCH0 : 1;
1853 unsigned C1NCH1 : 1;
1854 unsigned C1NCH2 : 1;
1855 unsigned : 1;
1856 unsigned C1PCH0 : 1;
1857 unsigned C1PCH1 : 1;
1858 unsigned C1INTN : 1;
1859 unsigned C1INTP : 1;
1862 struct
1864 unsigned C1NCH : 3;
1865 unsigned : 5;
1868 struct
1870 unsigned : 4;
1871 unsigned C1PCH : 2;
1872 unsigned : 2;
1874 } __CM1CON1bits_t;
1876 extern __at(0x0112) volatile __CM1CON1bits_t CM1CON1bits;
1878 #define _C1NCH0 0x01
1879 #define _C1NCH1 0x02
1880 #define _C1NCH2 0x04
1881 #define _C1PCH0 0x10
1882 #define _C1PCH1 0x20
1883 #define _C1INTN 0x40
1884 #define _C1INTP 0x80
1886 //==============================================================================
1889 //==============================================================================
1890 // CM2CON0 Bits
1892 extern __at(0x0113) __sfr CM2CON0;
1894 typedef struct
1896 unsigned C2SYNC : 1;
1897 unsigned C2HYS : 1;
1898 unsigned C2SP : 1;
1899 unsigned : 1;
1900 unsigned C2POL : 1;
1901 unsigned : 1;
1902 unsigned C2OUT : 1;
1903 unsigned C2ON : 1;
1904 } __CM2CON0bits_t;
1906 extern __at(0x0113) volatile __CM2CON0bits_t CM2CON0bits;
1908 #define _C2SYNC 0x01
1909 #define _C2HYS 0x02
1910 #define _C2SP 0x04
1911 #define _C2POL 0x10
1912 #define _C2OUT 0x40
1913 #define _C2ON 0x80
1915 //==============================================================================
1918 //==============================================================================
1919 // CM2CON1 Bits
1921 extern __at(0x0114) __sfr CM2CON1;
1923 typedef union
1925 struct
1927 unsigned C2NCH0 : 1;
1928 unsigned C2NCH1 : 1;
1929 unsigned C2NCH2 : 1;
1930 unsigned : 1;
1931 unsigned C2PCH0 : 1;
1932 unsigned C2PCH1 : 1;
1933 unsigned C2INTN : 1;
1934 unsigned C2INTP : 1;
1937 struct
1939 unsigned C2NCH : 3;
1940 unsigned : 5;
1943 struct
1945 unsigned : 4;
1946 unsigned C2PCH : 2;
1947 unsigned : 2;
1949 } __CM2CON1bits_t;
1951 extern __at(0x0114) volatile __CM2CON1bits_t CM2CON1bits;
1953 #define _C2NCH0 0x01
1954 #define _C2NCH1 0x02
1955 #define _C2NCH2 0x04
1956 #define _C2PCH0 0x10
1957 #define _C2PCH1 0x20
1958 #define _C2INTN 0x40
1959 #define _C2INTP 0x80
1961 //==============================================================================
1964 //==============================================================================
1965 // CMOUT Bits
1967 extern __at(0x0115) __sfr CMOUT;
1969 typedef struct
1971 unsigned MC1OUT : 1;
1972 unsigned MC2OUT : 1;
1973 unsigned : 1;
1974 unsigned : 1;
1975 unsigned : 1;
1976 unsigned : 1;
1977 unsigned : 1;
1978 unsigned : 1;
1979 } __CMOUTbits_t;
1981 extern __at(0x0115) volatile __CMOUTbits_t CMOUTbits;
1983 #define _MC1OUT 0x01
1984 #define _MC2OUT 0x02
1986 //==============================================================================
1989 //==============================================================================
1990 // BORCON Bits
1992 extern __at(0x0116) __sfr BORCON;
1994 typedef struct
1996 unsigned BORRDY : 1;
1997 unsigned : 1;
1998 unsigned : 1;
1999 unsigned : 1;
2000 unsigned : 1;
2001 unsigned : 1;
2002 unsigned BORFS : 1;
2003 unsigned SBOREN : 1;
2004 } __BORCONbits_t;
2006 extern __at(0x0116) volatile __BORCONbits_t BORCONbits;
2008 #define _BORRDY 0x01
2009 #define _BORFS 0x40
2010 #define _SBOREN 0x80
2012 //==============================================================================
2015 //==============================================================================
2016 // FVRCON Bits
2018 extern __at(0x0117) __sfr FVRCON;
2020 typedef union
2022 struct
2024 unsigned ADFVR0 : 1;
2025 unsigned ADFVR1 : 1;
2026 unsigned CDAFVR0 : 1;
2027 unsigned CDAFVR1 : 1;
2028 unsigned TSRNG : 1;
2029 unsigned TSEN : 1;
2030 unsigned FVRRDY : 1;
2031 unsigned FVREN : 1;
2034 struct
2036 unsigned ADFVR : 2;
2037 unsigned : 6;
2040 struct
2042 unsigned : 2;
2043 unsigned CDAFVR : 2;
2044 unsigned : 4;
2046 } __FVRCONbits_t;
2048 extern __at(0x0117) volatile __FVRCONbits_t FVRCONbits;
2050 #define _ADFVR0 0x01
2051 #define _ADFVR1 0x02
2052 #define _CDAFVR0 0x04
2053 #define _CDAFVR1 0x08
2054 #define _TSRNG 0x10
2055 #define _TSEN 0x20
2056 #define _FVRRDY 0x40
2057 #define _FVREN 0x80
2059 //==============================================================================
2062 //==============================================================================
2063 // DAC1CON0 Bits
2065 extern __at(0x0118) __sfr DAC1CON0;
2067 typedef union
2069 struct
2071 unsigned : 1;
2072 unsigned : 1;
2073 unsigned D1PSS0 : 1;
2074 unsigned D1PSS1 : 1;
2075 unsigned : 1;
2076 unsigned DAC1OE : 1;
2077 unsigned : 1;
2078 unsigned DAC1EN : 1;
2081 struct
2083 unsigned : 2;
2084 unsigned D1PSS : 2;
2085 unsigned : 4;
2087 } __DAC1CON0bits_t;
2089 extern __at(0x0118) volatile __DAC1CON0bits_t DAC1CON0bits;
2091 #define _D1PSS0 0x04
2092 #define _D1PSS1 0x08
2093 #define _DAC1OE 0x20
2094 #define _DAC1EN 0x80
2096 //==============================================================================
2099 //==============================================================================
2100 // DAC1CON1 Bits
2102 extern __at(0x0119) __sfr DAC1CON1;
2104 typedef struct
2106 unsigned DAC1R0 : 1;
2107 unsigned DAC1R1 : 1;
2108 unsigned DAC1R2 : 1;
2109 unsigned DAC1R3 : 1;
2110 unsigned DAC1R4 : 1;
2111 unsigned DAC1R5 : 1;
2112 unsigned DAC1R6 : 1;
2113 unsigned DAC1R7 : 1;
2114 } __DAC1CON1bits_t;
2116 extern __at(0x0119) volatile __DAC1CON1bits_t DAC1CON1bits;
2118 #define _DAC1R0 0x01
2119 #define _DAC1R1 0x02
2120 #define _DAC1R2 0x04
2121 #define _DAC1R3 0x08
2122 #define _DAC1R4 0x10
2123 #define _DAC1R5 0x20
2124 #define _DAC1R6 0x40
2125 #define _DAC1R7 0x80
2127 //==============================================================================
2130 //==============================================================================
2131 // ZCD1CON Bits
2133 extern __at(0x011C) __sfr ZCD1CON;
2135 typedef struct
2137 unsigned ZCD1INTN : 1;
2138 unsigned ZCD1INTP : 1;
2139 unsigned : 1;
2140 unsigned : 1;
2141 unsigned ZCD1POL : 1;
2142 unsigned ZCD1OUT : 1;
2143 unsigned : 1;
2144 unsigned ZCD1EN : 1;
2145 } __ZCD1CONbits_t;
2147 extern __at(0x011C) volatile __ZCD1CONbits_t ZCD1CONbits;
2149 #define _ZCD1INTN 0x01
2150 #define _ZCD1INTP 0x02
2151 #define _ZCD1POL 0x10
2152 #define _ZCD1OUT 0x20
2153 #define _ZCD1EN 0x80
2155 //==============================================================================
2158 //==============================================================================
2159 // ANSELA Bits
2161 extern __at(0x018C) __sfr ANSELA;
2163 typedef struct
2165 unsigned ANSA0 : 1;
2166 unsigned ANSA1 : 1;
2167 unsigned ANSA2 : 1;
2168 unsigned : 1;
2169 unsigned ANSA4 : 1;
2170 unsigned : 1;
2171 unsigned : 1;
2172 unsigned : 1;
2173 } __ANSELAbits_t;
2175 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits;
2177 #define _ANSA0 0x01
2178 #define _ANSA1 0x02
2179 #define _ANSA2 0x04
2180 #define _ANSA4 0x10
2182 //==============================================================================
2185 //==============================================================================
2186 // ANSELC Bits
2188 extern __at(0x018E) __sfr ANSELC;
2190 typedef union
2192 struct
2194 unsigned ANSC0 : 1;
2195 unsigned ANSC1 : 1;
2196 unsigned ANSC2 : 1;
2197 unsigned ANSC3 : 1;
2198 unsigned : 1;
2199 unsigned : 1;
2200 unsigned : 1;
2201 unsigned : 1;
2204 struct
2206 unsigned ANSC : 4;
2207 unsigned : 4;
2209 } __ANSELCbits_t;
2211 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits;
2213 #define _ANSC0 0x01
2214 #define _ANSC1 0x02
2215 #define _ANSC2 0x04
2216 #define _ANSC3 0x08
2218 //==============================================================================
2220 extern __at(0x0191) __sfr PMADR;
2221 extern __at(0x0191) __sfr PMADRL;
2222 extern __at(0x0192) __sfr PMADRH;
2223 extern __at(0x0193) __sfr PMDAT;
2224 extern __at(0x0193) __sfr PMDATL;
2225 extern __at(0x0194) __sfr PMDATH;
2227 //==============================================================================
2228 // PMCON1 Bits
2230 extern __at(0x0195) __sfr PMCON1;
2232 typedef struct
2234 unsigned RD : 1;
2235 unsigned WR : 1;
2236 unsigned WREN : 1;
2237 unsigned WRERR : 1;
2238 unsigned FREE : 1;
2239 unsigned LWLO : 1;
2240 unsigned CFGS : 1;
2241 unsigned : 1;
2242 } __PMCON1bits_t;
2244 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits;
2246 #define _RD 0x01
2247 #define _WR 0x02
2248 #define _WREN 0x04
2249 #define _WRERR 0x08
2250 #define _FREE 0x10
2251 #define _LWLO 0x20
2252 #define _CFGS 0x40
2254 //==============================================================================
2256 extern __at(0x0196) __sfr PMCON2;
2257 extern __at(0x0199) __sfr RC1REG;
2258 extern __at(0x0199) __sfr RCREG;
2259 extern __at(0x0199) __sfr RCREG1;
2260 extern __at(0x019A) __sfr TX1REG;
2261 extern __at(0x019A) __sfr TXREG;
2262 extern __at(0x019A) __sfr TXREG1;
2263 extern __at(0x019B) __sfr SP1BRG;
2264 extern __at(0x019B) __sfr SP1BRGL;
2265 extern __at(0x019B) __sfr SPBRG;
2266 extern __at(0x019B) __sfr SPBRG1;
2267 extern __at(0x019B) __sfr SPBRGL;
2268 extern __at(0x019C) __sfr SP1BRGH;
2269 extern __at(0x019C) __sfr SPBRGH;
2270 extern __at(0x019C) __sfr SPBRGH1;
2272 //==============================================================================
2273 // RC1STA Bits
2275 extern __at(0x019D) __sfr RC1STA;
2277 typedef struct
2279 unsigned RX9D : 1;
2280 unsigned OERR : 1;
2281 unsigned FERR : 1;
2282 unsigned ADDEN : 1;
2283 unsigned CREN : 1;
2284 unsigned SREN : 1;
2285 unsigned RX9 : 1;
2286 unsigned SPEN : 1;
2287 } __RC1STAbits_t;
2289 extern __at(0x019D) volatile __RC1STAbits_t RC1STAbits;
2291 #define _RX9D 0x01
2292 #define _OERR 0x02
2293 #define _FERR 0x04
2294 #define _ADDEN 0x08
2295 #define _CREN 0x10
2296 #define _SREN 0x20
2297 #define _RX9 0x40
2298 #define _SPEN 0x80
2300 //==============================================================================
2303 //==============================================================================
2304 // RCSTA Bits
2306 extern __at(0x019D) __sfr RCSTA;
2308 typedef struct
2310 unsigned RX9D : 1;
2311 unsigned OERR : 1;
2312 unsigned FERR : 1;
2313 unsigned ADDEN : 1;
2314 unsigned CREN : 1;
2315 unsigned SREN : 1;
2316 unsigned RX9 : 1;
2317 unsigned SPEN : 1;
2318 } __RCSTAbits_t;
2320 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits;
2322 #define _RCSTA_RX9D 0x01
2323 #define _RCSTA_OERR 0x02
2324 #define _RCSTA_FERR 0x04
2325 #define _RCSTA_ADDEN 0x08
2326 #define _RCSTA_CREN 0x10
2327 #define _RCSTA_SREN 0x20
2328 #define _RCSTA_RX9 0x40
2329 #define _RCSTA_SPEN 0x80
2331 //==============================================================================
2334 //==============================================================================
2335 // RCSTA1 Bits
2337 extern __at(0x019D) __sfr RCSTA1;
2339 typedef struct
2341 unsigned RX9D : 1;
2342 unsigned OERR : 1;
2343 unsigned FERR : 1;
2344 unsigned ADDEN : 1;
2345 unsigned CREN : 1;
2346 unsigned SREN : 1;
2347 unsigned RX9 : 1;
2348 unsigned SPEN : 1;
2349 } __RCSTA1bits_t;
2351 extern __at(0x019D) volatile __RCSTA1bits_t RCSTA1bits;
2353 #define _RCSTA1_RX9D 0x01
2354 #define _RCSTA1_OERR 0x02
2355 #define _RCSTA1_FERR 0x04
2356 #define _RCSTA1_ADDEN 0x08
2357 #define _RCSTA1_CREN 0x10
2358 #define _RCSTA1_SREN 0x20
2359 #define _RCSTA1_RX9 0x40
2360 #define _RCSTA1_SPEN 0x80
2362 //==============================================================================
2365 //==============================================================================
2366 // TX1STA Bits
2368 extern __at(0x019E) __sfr TX1STA;
2370 typedef struct
2372 unsigned TX9D : 1;
2373 unsigned TRMT : 1;
2374 unsigned BRGH : 1;
2375 unsigned SENDB : 1;
2376 unsigned SYNC : 1;
2377 unsigned TXEN : 1;
2378 unsigned TX9 : 1;
2379 unsigned CSRC : 1;
2380 } __TX1STAbits_t;
2382 extern __at(0x019E) volatile __TX1STAbits_t TX1STAbits;
2384 #define _TX9D 0x01
2385 #define _TRMT 0x02
2386 #define _BRGH 0x04
2387 #define _SENDB 0x08
2388 #define _SYNC 0x10
2389 #define _TXEN 0x20
2390 #define _TX9 0x40
2391 #define _CSRC 0x80
2393 //==============================================================================
2396 //==============================================================================
2397 // TXSTA Bits
2399 extern __at(0x019E) __sfr TXSTA;
2401 typedef struct
2403 unsigned TX9D : 1;
2404 unsigned TRMT : 1;
2405 unsigned BRGH : 1;
2406 unsigned SENDB : 1;
2407 unsigned SYNC : 1;
2408 unsigned TXEN : 1;
2409 unsigned TX9 : 1;
2410 unsigned CSRC : 1;
2411 } __TXSTAbits_t;
2413 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits;
2415 #define _TXSTA_TX9D 0x01
2416 #define _TXSTA_TRMT 0x02
2417 #define _TXSTA_BRGH 0x04
2418 #define _TXSTA_SENDB 0x08
2419 #define _TXSTA_SYNC 0x10
2420 #define _TXSTA_TXEN 0x20
2421 #define _TXSTA_TX9 0x40
2422 #define _TXSTA_CSRC 0x80
2424 //==============================================================================
2427 //==============================================================================
2428 // TXSTA1 Bits
2430 extern __at(0x019E) __sfr TXSTA1;
2432 typedef struct
2434 unsigned TX9D : 1;
2435 unsigned TRMT : 1;
2436 unsigned BRGH : 1;
2437 unsigned SENDB : 1;
2438 unsigned SYNC : 1;
2439 unsigned TXEN : 1;
2440 unsigned TX9 : 1;
2441 unsigned CSRC : 1;
2442 } __TXSTA1bits_t;
2444 extern __at(0x019E) volatile __TXSTA1bits_t TXSTA1bits;
2446 #define _TXSTA1_TX9D 0x01
2447 #define _TXSTA1_TRMT 0x02
2448 #define _TXSTA1_BRGH 0x04
2449 #define _TXSTA1_SENDB 0x08
2450 #define _TXSTA1_SYNC 0x10
2451 #define _TXSTA1_TXEN 0x20
2452 #define _TXSTA1_TX9 0x40
2453 #define _TXSTA1_CSRC 0x80
2455 //==============================================================================
2458 //==============================================================================
2459 // BAUD1CON Bits
2461 extern __at(0x019F) __sfr BAUD1CON;
2463 typedef struct
2465 unsigned ABDEN : 1;
2466 unsigned WUE : 1;
2467 unsigned : 1;
2468 unsigned BRG16 : 1;
2469 unsigned SCKP : 1;
2470 unsigned : 1;
2471 unsigned RCIDL : 1;
2472 unsigned ABDOVF : 1;
2473 } __BAUD1CONbits_t;
2475 extern __at(0x019F) volatile __BAUD1CONbits_t BAUD1CONbits;
2477 #define _ABDEN 0x01
2478 #define _WUE 0x02
2479 #define _BRG16 0x08
2480 #define _SCKP 0x10
2481 #define _RCIDL 0x40
2482 #define _ABDOVF 0x80
2484 //==============================================================================
2487 //==============================================================================
2488 // BAUDCON Bits
2490 extern __at(0x019F) __sfr BAUDCON;
2492 typedef struct
2494 unsigned ABDEN : 1;
2495 unsigned WUE : 1;
2496 unsigned : 1;
2497 unsigned BRG16 : 1;
2498 unsigned SCKP : 1;
2499 unsigned : 1;
2500 unsigned RCIDL : 1;
2501 unsigned ABDOVF : 1;
2502 } __BAUDCONbits_t;
2504 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits;
2506 #define _BAUDCON_ABDEN 0x01
2507 #define _BAUDCON_WUE 0x02
2508 #define _BAUDCON_BRG16 0x08
2509 #define _BAUDCON_SCKP 0x10
2510 #define _BAUDCON_RCIDL 0x40
2511 #define _BAUDCON_ABDOVF 0x80
2513 //==============================================================================
2516 //==============================================================================
2517 // BAUDCON1 Bits
2519 extern __at(0x019F) __sfr BAUDCON1;
2521 typedef struct
2523 unsigned ABDEN : 1;
2524 unsigned WUE : 1;
2525 unsigned : 1;
2526 unsigned BRG16 : 1;
2527 unsigned SCKP : 1;
2528 unsigned : 1;
2529 unsigned RCIDL : 1;
2530 unsigned ABDOVF : 1;
2531 } __BAUDCON1bits_t;
2533 extern __at(0x019F) volatile __BAUDCON1bits_t BAUDCON1bits;
2535 #define _BAUDCON1_ABDEN 0x01
2536 #define _BAUDCON1_WUE 0x02
2537 #define _BAUDCON1_BRG16 0x08
2538 #define _BAUDCON1_SCKP 0x10
2539 #define _BAUDCON1_RCIDL 0x40
2540 #define _BAUDCON1_ABDOVF 0x80
2542 //==============================================================================
2545 //==============================================================================
2546 // BAUDCTL Bits
2548 extern __at(0x019F) __sfr BAUDCTL;
2550 typedef struct
2552 unsigned ABDEN : 1;
2553 unsigned WUE : 1;
2554 unsigned : 1;
2555 unsigned BRG16 : 1;
2556 unsigned SCKP : 1;
2557 unsigned : 1;
2558 unsigned RCIDL : 1;
2559 unsigned ABDOVF : 1;
2560 } __BAUDCTLbits_t;
2562 extern __at(0x019F) volatile __BAUDCTLbits_t BAUDCTLbits;
2564 #define _BAUDCTL_ABDEN 0x01
2565 #define _BAUDCTL_WUE 0x02
2566 #define _BAUDCTL_BRG16 0x08
2567 #define _BAUDCTL_SCKP 0x10
2568 #define _BAUDCTL_RCIDL 0x40
2569 #define _BAUDCTL_ABDOVF 0x80
2571 //==============================================================================
2574 //==============================================================================
2575 // BAUDCTL1 Bits
2577 extern __at(0x019F) __sfr BAUDCTL1;
2579 typedef struct
2581 unsigned ABDEN : 1;
2582 unsigned WUE : 1;
2583 unsigned : 1;
2584 unsigned BRG16 : 1;
2585 unsigned SCKP : 1;
2586 unsigned : 1;
2587 unsigned RCIDL : 1;
2588 unsigned ABDOVF : 1;
2589 } __BAUDCTL1bits_t;
2591 extern __at(0x019F) volatile __BAUDCTL1bits_t BAUDCTL1bits;
2593 #define _BAUDCTL1_ABDEN 0x01
2594 #define _BAUDCTL1_WUE 0x02
2595 #define _BAUDCTL1_BRG16 0x08
2596 #define _BAUDCTL1_SCKP 0x10
2597 #define _BAUDCTL1_RCIDL 0x40
2598 #define _BAUDCTL1_ABDOVF 0x80
2600 //==============================================================================
2603 //==============================================================================
2604 // WPUA Bits
2606 extern __at(0x020C) __sfr WPUA;
2608 typedef union
2610 struct
2612 unsigned WPUA0 : 1;
2613 unsigned WPUA1 : 1;
2614 unsigned WPUA2 : 1;
2615 unsigned WPUA3 : 1;
2616 unsigned WPUA4 : 1;
2617 unsigned WPUA5 : 1;
2618 unsigned : 1;
2619 unsigned : 1;
2622 struct
2624 unsigned WPUA : 6;
2625 unsigned : 2;
2627 } __WPUAbits_t;
2629 extern __at(0x020C) volatile __WPUAbits_t WPUAbits;
2631 #define _WPUA0 0x01
2632 #define _WPUA1 0x02
2633 #define _WPUA2 0x04
2634 #define _WPUA3 0x08
2635 #define _WPUA4 0x10
2636 #define _WPUA5 0x20
2638 //==============================================================================
2641 //==============================================================================
2642 // WPUC Bits
2644 extern __at(0x020E) __sfr WPUC;
2646 typedef union
2648 struct
2650 unsigned WPUC0 : 1;
2651 unsigned WPUC1 : 1;
2652 unsigned WPUC2 : 1;
2653 unsigned WPUC3 : 1;
2654 unsigned WPUC4 : 1;
2655 unsigned WPUC5 : 1;
2656 unsigned : 1;
2657 unsigned : 1;
2660 struct
2662 unsigned WPUC : 6;
2663 unsigned : 2;
2665 } __WPUCbits_t;
2667 extern __at(0x020E) volatile __WPUCbits_t WPUCbits;
2669 #define _WPUC0 0x01
2670 #define _WPUC1 0x02
2671 #define _WPUC2 0x04
2672 #define _WPUC3 0x08
2673 #define _WPUC4 0x10
2674 #define _WPUC5 0x20
2676 //==============================================================================
2679 //==============================================================================
2680 // SSP1BUF Bits
2682 extern __at(0x0211) __sfr SSP1BUF;
2684 typedef union
2686 struct
2688 unsigned SSP1BUF0 : 1;
2689 unsigned SSP1BUF1 : 1;
2690 unsigned SSP1BUF2 : 1;
2691 unsigned SSP1BUF3 : 1;
2692 unsigned SSP1BUF4 : 1;
2693 unsigned SSP1BUF5 : 1;
2694 unsigned SSP1BUF6 : 1;
2695 unsigned SSP1BUF7 : 1;
2698 struct
2700 unsigned BUF0 : 1;
2701 unsigned BUF1 : 1;
2702 unsigned BUF2 : 1;
2703 unsigned BUF3 : 1;
2704 unsigned BUF4 : 1;
2705 unsigned BUF5 : 1;
2706 unsigned BUF6 : 1;
2707 unsigned BUF7 : 1;
2709 } __SSP1BUFbits_t;
2711 extern __at(0x0211) volatile __SSP1BUFbits_t SSP1BUFbits;
2713 #define _SSP1BUF0 0x01
2714 #define _BUF0 0x01
2715 #define _SSP1BUF1 0x02
2716 #define _BUF1 0x02
2717 #define _SSP1BUF2 0x04
2718 #define _BUF2 0x04
2719 #define _SSP1BUF3 0x08
2720 #define _BUF3 0x08
2721 #define _SSP1BUF4 0x10
2722 #define _BUF4 0x10
2723 #define _SSP1BUF5 0x20
2724 #define _BUF5 0x20
2725 #define _SSP1BUF6 0x40
2726 #define _BUF6 0x40
2727 #define _SSP1BUF7 0x80
2728 #define _BUF7 0x80
2730 //==============================================================================
2733 //==============================================================================
2734 // SSPBUF Bits
2736 extern __at(0x0211) __sfr SSPBUF;
2738 typedef union
2740 struct
2742 unsigned SSP1BUF0 : 1;
2743 unsigned SSP1BUF1 : 1;
2744 unsigned SSP1BUF2 : 1;
2745 unsigned SSP1BUF3 : 1;
2746 unsigned SSP1BUF4 : 1;
2747 unsigned SSP1BUF5 : 1;
2748 unsigned SSP1BUF6 : 1;
2749 unsigned SSP1BUF7 : 1;
2752 struct
2754 unsigned BUF0 : 1;
2755 unsigned BUF1 : 1;
2756 unsigned BUF2 : 1;
2757 unsigned BUF3 : 1;
2758 unsigned BUF4 : 1;
2759 unsigned BUF5 : 1;
2760 unsigned BUF6 : 1;
2761 unsigned BUF7 : 1;
2763 } __SSPBUFbits_t;
2765 extern __at(0x0211) volatile __SSPBUFbits_t SSPBUFbits;
2767 #define _SSPBUF_SSP1BUF0 0x01
2768 #define _SSPBUF_BUF0 0x01
2769 #define _SSPBUF_SSP1BUF1 0x02
2770 #define _SSPBUF_BUF1 0x02
2771 #define _SSPBUF_SSP1BUF2 0x04
2772 #define _SSPBUF_BUF2 0x04
2773 #define _SSPBUF_SSP1BUF3 0x08
2774 #define _SSPBUF_BUF3 0x08
2775 #define _SSPBUF_SSP1BUF4 0x10
2776 #define _SSPBUF_BUF4 0x10
2777 #define _SSPBUF_SSP1BUF5 0x20
2778 #define _SSPBUF_BUF5 0x20
2779 #define _SSPBUF_SSP1BUF6 0x40
2780 #define _SSPBUF_BUF6 0x40
2781 #define _SSPBUF_SSP1BUF7 0x80
2782 #define _SSPBUF_BUF7 0x80
2784 //==============================================================================
2787 //==============================================================================
2788 // SSP1ADD Bits
2790 extern __at(0x0212) __sfr SSP1ADD;
2792 typedef union
2794 struct
2796 unsigned SSP1ADD0 : 1;
2797 unsigned SSP1ADD1 : 1;
2798 unsigned SSP1ADD2 : 1;
2799 unsigned SSP1ADD3 : 1;
2800 unsigned SSP1ADD4 : 1;
2801 unsigned SSP1ADD5 : 1;
2802 unsigned SSP1ADD6 : 1;
2803 unsigned SSP1ADD7 : 1;
2806 struct
2808 unsigned ADD0 : 1;
2809 unsigned ADD1 : 1;
2810 unsigned ADD2 : 1;
2811 unsigned ADD3 : 1;
2812 unsigned ADD4 : 1;
2813 unsigned ADD5 : 1;
2814 unsigned ADD6 : 1;
2815 unsigned ADD7 : 1;
2817 } __SSP1ADDbits_t;
2819 extern __at(0x0212) volatile __SSP1ADDbits_t SSP1ADDbits;
2821 #define _SSP1ADD0 0x01
2822 #define _ADD0 0x01
2823 #define _SSP1ADD1 0x02
2824 #define _ADD1 0x02
2825 #define _SSP1ADD2 0x04
2826 #define _ADD2 0x04
2827 #define _SSP1ADD3 0x08
2828 #define _ADD3 0x08
2829 #define _SSP1ADD4 0x10
2830 #define _ADD4 0x10
2831 #define _SSP1ADD5 0x20
2832 #define _ADD5 0x20
2833 #define _SSP1ADD6 0x40
2834 #define _ADD6 0x40
2835 #define _SSP1ADD7 0x80
2836 #define _ADD7 0x80
2838 //==============================================================================
2841 //==============================================================================
2842 // SSPADD Bits
2844 extern __at(0x0212) __sfr SSPADD;
2846 typedef union
2848 struct
2850 unsigned SSP1ADD0 : 1;
2851 unsigned SSP1ADD1 : 1;
2852 unsigned SSP1ADD2 : 1;
2853 unsigned SSP1ADD3 : 1;
2854 unsigned SSP1ADD4 : 1;
2855 unsigned SSP1ADD5 : 1;
2856 unsigned SSP1ADD6 : 1;
2857 unsigned SSP1ADD7 : 1;
2860 struct
2862 unsigned ADD0 : 1;
2863 unsigned ADD1 : 1;
2864 unsigned ADD2 : 1;
2865 unsigned ADD3 : 1;
2866 unsigned ADD4 : 1;
2867 unsigned ADD5 : 1;
2868 unsigned ADD6 : 1;
2869 unsigned ADD7 : 1;
2871 } __SSPADDbits_t;
2873 extern __at(0x0212) volatile __SSPADDbits_t SSPADDbits;
2875 #define _SSPADD_SSP1ADD0 0x01
2876 #define _SSPADD_ADD0 0x01
2877 #define _SSPADD_SSP1ADD1 0x02
2878 #define _SSPADD_ADD1 0x02
2879 #define _SSPADD_SSP1ADD2 0x04
2880 #define _SSPADD_ADD2 0x04
2881 #define _SSPADD_SSP1ADD3 0x08
2882 #define _SSPADD_ADD3 0x08
2883 #define _SSPADD_SSP1ADD4 0x10
2884 #define _SSPADD_ADD4 0x10
2885 #define _SSPADD_SSP1ADD5 0x20
2886 #define _SSPADD_ADD5 0x20
2887 #define _SSPADD_SSP1ADD6 0x40
2888 #define _SSPADD_ADD6 0x40
2889 #define _SSPADD_SSP1ADD7 0x80
2890 #define _SSPADD_ADD7 0x80
2892 //==============================================================================
2895 //==============================================================================
2896 // SSP1MSK Bits
2898 extern __at(0x0213) __sfr SSP1MSK;
2900 typedef union
2902 struct
2904 unsigned SSP1MSK0 : 1;
2905 unsigned SSP1MSK1 : 1;
2906 unsigned SSP1MSK2 : 1;
2907 unsigned SSP1MSK3 : 1;
2908 unsigned SSP1MSK4 : 1;
2909 unsigned SSP1MSK5 : 1;
2910 unsigned SSP1MSK6 : 1;
2911 unsigned SSP1MSK7 : 1;
2914 struct
2916 unsigned MSK0 : 1;
2917 unsigned MSK1 : 1;
2918 unsigned MSK2 : 1;
2919 unsigned MSK3 : 1;
2920 unsigned MSK4 : 1;
2921 unsigned MSK5 : 1;
2922 unsigned MSK6 : 1;
2923 unsigned MSK7 : 1;
2925 } __SSP1MSKbits_t;
2927 extern __at(0x0213) volatile __SSP1MSKbits_t SSP1MSKbits;
2929 #define _SSP1MSK0 0x01
2930 #define _MSK0 0x01
2931 #define _SSP1MSK1 0x02
2932 #define _MSK1 0x02
2933 #define _SSP1MSK2 0x04
2934 #define _MSK2 0x04
2935 #define _SSP1MSK3 0x08
2936 #define _MSK3 0x08
2937 #define _SSP1MSK4 0x10
2938 #define _MSK4 0x10
2939 #define _SSP1MSK5 0x20
2940 #define _MSK5 0x20
2941 #define _SSP1MSK6 0x40
2942 #define _MSK6 0x40
2943 #define _SSP1MSK7 0x80
2944 #define _MSK7 0x80
2946 //==============================================================================
2949 //==============================================================================
2950 // SSPMSK Bits
2952 extern __at(0x0213) __sfr SSPMSK;
2954 typedef union
2956 struct
2958 unsigned SSP1MSK0 : 1;
2959 unsigned SSP1MSK1 : 1;
2960 unsigned SSP1MSK2 : 1;
2961 unsigned SSP1MSK3 : 1;
2962 unsigned SSP1MSK4 : 1;
2963 unsigned SSP1MSK5 : 1;
2964 unsigned SSP1MSK6 : 1;
2965 unsigned SSP1MSK7 : 1;
2968 struct
2970 unsigned MSK0 : 1;
2971 unsigned MSK1 : 1;
2972 unsigned MSK2 : 1;
2973 unsigned MSK3 : 1;
2974 unsigned MSK4 : 1;
2975 unsigned MSK5 : 1;
2976 unsigned MSK6 : 1;
2977 unsigned MSK7 : 1;
2979 } __SSPMSKbits_t;
2981 extern __at(0x0213) volatile __SSPMSKbits_t SSPMSKbits;
2983 #define _SSPMSK_SSP1MSK0 0x01
2984 #define _SSPMSK_MSK0 0x01
2985 #define _SSPMSK_SSP1MSK1 0x02
2986 #define _SSPMSK_MSK1 0x02
2987 #define _SSPMSK_SSP1MSK2 0x04
2988 #define _SSPMSK_MSK2 0x04
2989 #define _SSPMSK_SSP1MSK3 0x08
2990 #define _SSPMSK_MSK3 0x08
2991 #define _SSPMSK_SSP1MSK4 0x10
2992 #define _SSPMSK_MSK4 0x10
2993 #define _SSPMSK_SSP1MSK5 0x20
2994 #define _SSPMSK_MSK5 0x20
2995 #define _SSPMSK_SSP1MSK6 0x40
2996 #define _SSPMSK_MSK6 0x40
2997 #define _SSPMSK_SSP1MSK7 0x80
2998 #define _SSPMSK_MSK7 0x80
3000 //==============================================================================
3003 //==============================================================================
3004 // SSP1STAT Bits
3006 extern __at(0x0214) __sfr SSP1STAT;
3008 typedef struct
3010 unsigned BF : 1;
3011 unsigned UA : 1;
3012 unsigned R_NOT_W : 1;
3013 unsigned S : 1;
3014 unsigned P : 1;
3015 unsigned D_NOT_A : 1;
3016 unsigned CKE : 1;
3017 unsigned SMP : 1;
3018 } __SSP1STATbits_t;
3020 extern __at(0x0214) volatile __SSP1STATbits_t SSP1STATbits;
3022 #define _BF 0x01
3023 #define _UA 0x02
3024 #define _R_NOT_W 0x04
3025 #define _S 0x08
3026 #define _P 0x10
3027 #define _D_NOT_A 0x20
3028 #define _CKE 0x40
3029 #define _SMP 0x80
3031 //==============================================================================
3034 //==============================================================================
3035 // SSPSTAT Bits
3037 extern __at(0x0214) __sfr SSPSTAT;
3039 typedef struct
3041 unsigned BF : 1;
3042 unsigned UA : 1;
3043 unsigned R_NOT_W : 1;
3044 unsigned S : 1;
3045 unsigned P : 1;
3046 unsigned D_NOT_A : 1;
3047 unsigned CKE : 1;
3048 unsigned SMP : 1;
3049 } __SSPSTATbits_t;
3051 extern __at(0x0214) volatile __SSPSTATbits_t SSPSTATbits;
3053 #define _SSPSTAT_BF 0x01
3054 #define _SSPSTAT_UA 0x02
3055 #define _SSPSTAT_R_NOT_W 0x04
3056 #define _SSPSTAT_S 0x08
3057 #define _SSPSTAT_P 0x10
3058 #define _SSPSTAT_D_NOT_A 0x20
3059 #define _SSPSTAT_CKE 0x40
3060 #define _SSPSTAT_SMP 0x80
3062 //==============================================================================
3065 //==============================================================================
3066 // SSP1CON Bits
3068 extern __at(0x0215) __sfr SSP1CON;
3070 typedef union
3072 struct
3074 unsigned SSPM0 : 1;
3075 unsigned SSPM1 : 1;
3076 unsigned SSPM2 : 1;
3077 unsigned SSPM3 : 1;
3078 unsigned CKP : 1;
3079 unsigned SSPEN : 1;
3080 unsigned SSPOV : 1;
3081 unsigned WCOL : 1;
3084 struct
3086 unsigned SSPM : 4;
3087 unsigned : 4;
3089 } __SSP1CONbits_t;
3091 extern __at(0x0215) volatile __SSP1CONbits_t SSP1CONbits;
3093 #define _SSPM0 0x01
3094 #define _SSPM1 0x02
3095 #define _SSPM2 0x04
3096 #define _SSPM3 0x08
3097 #define _CKP 0x10
3098 #define _SSPEN 0x20
3099 #define _SSPOV 0x40
3100 #define _WCOL 0x80
3102 //==============================================================================
3105 //==============================================================================
3106 // SSP1CON1 Bits
3108 extern __at(0x0215) __sfr SSP1CON1;
3110 typedef union
3112 struct
3114 unsigned SSPM0 : 1;
3115 unsigned SSPM1 : 1;
3116 unsigned SSPM2 : 1;
3117 unsigned SSPM3 : 1;
3118 unsigned CKP : 1;
3119 unsigned SSPEN : 1;
3120 unsigned SSPOV : 1;
3121 unsigned WCOL : 1;
3124 struct
3126 unsigned SSPM : 4;
3127 unsigned : 4;
3129 } __SSP1CON1bits_t;
3131 extern __at(0x0215) volatile __SSP1CON1bits_t SSP1CON1bits;
3133 #define _SSP1CON1_SSPM0 0x01
3134 #define _SSP1CON1_SSPM1 0x02
3135 #define _SSP1CON1_SSPM2 0x04
3136 #define _SSP1CON1_SSPM3 0x08
3137 #define _SSP1CON1_CKP 0x10
3138 #define _SSP1CON1_SSPEN 0x20
3139 #define _SSP1CON1_SSPOV 0x40
3140 #define _SSP1CON1_WCOL 0x80
3142 //==============================================================================
3145 //==============================================================================
3146 // SSPCON Bits
3148 extern __at(0x0215) __sfr SSPCON;
3150 typedef union
3152 struct
3154 unsigned SSPM0 : 1;
3155 unsigned SSPM1 : 1;
3156 unsigned SSPM2 : 1;
3157 unsigned SSPM3 : 1;
3158 unsigned CKP : 1;
3159 unsigned SSPEN : 1;
3160 unsigned SSPOV : 1;
3161 unsigned WCOL : 1;
3164 struct
3166 unsigned SSPM : 4;
3167 unsigned : 4;
3169 } __SSPCONbits_t;
3171 extern __at(0x0215) volatile __SSPCONbits_t SSPCONbits;
3173 #define _SSPCON_SSPM0 0x01
3174 #define _SSPCON_SSPM1 0x02
3175 #define _SSPCON_SSPM2 0x04
3176 #define _SSPCON_SSPM3 0x08
3177 #define _SSPCON_CKP 0x10
3178 #define _SSPCON_SSPEN 0x20
3179 #define _SSPCON_SSPOV 0x40
3180 #define _SSPCON_WCOL 0x80
3182 //==============================================================================
3185 //==============================================================================
3186 // SSPCON1 Bits
3188 extern __at(0x0215) __sfr SSPCON1;
3190 typedef union
3192 struct
3194 unsigned SSPM0 : 1;
3195 unsigned SSPM1 : 1;
3196 unsigned SSPM2 : 1;
3197 unsigned SSPM3 : 1;
3198 unsigned CKP : 1;
3199 unsigned SSPEN : 1;
3200 unsigned SSPOV : 1;
3201 unsigned WCOL : 1;
3204 struct
3206 unsigned SSPM : 4;
3207 unsigned : 4;
3209 } __SSPCON1bits_t;
3211 extern __at(0x0215) volatile __SSPCON1bits_t SSPCON1bits;
3213 #define _SSPCON1_SSPM0 0x01
3214 #define _SSPCON1_SSPM1 0x02
3215 #define _SSPCON1_SSPM2 0x04
3216 #define _SSPCON1_SSPM3 0x08
3217 #define _SSPCON1_CKP 0x10
3218 #define _SSPCON1_SSPEN 0x20
3219 #define _SSPCON1_SSPOV 0x40
3220 #define _SSPCON1_WCOL 0x80
3222 //==============================================================================
3225 //==============================================================================
3226 // SSP1CON2 Bits
3228 extern __at(0x0216) __sfr SSP1CON2;
3230 typedef struct
3232 unsigned SEN : 1;
3233 unsigned RSEN : 1;
3234 unsigned PEN : 1;
3235 unsigned RCEN : 1;
3236 unsigned ACKEN : 1;
3237 unsigned ACKDT : 1;
3238 unsigned ACKSTAT : 1;
3239 unsigned GCEN : 1;
3240 } __SSP1CON2bits_t;
3242 extern __at(0x0216) volatile __SSP1CON2bits_t SSP1CON2bits;
3244 #define _SEN 0x01
3245 #define _RSEN 0x02
3246 #define _PEN 0x04
3247 #define _RCEN 0x08
3248 #define _ACKEN 0x10
3249 #define _ACKDT 0x20
3250 #define _ACKSTAT 0x40
3251 #define _GCEN 0x80
3253 //==============================================================================
3256 //==============================================================================
3257 // SSPCON2 Bits
3259 extern __at(0x0216) __sfr SSPCON2;
3261 typedef struct
3263 unsigned SEN : 1;
3264 unsigned RSEN : 1;
3265 unsigned PEN : 1;
3266 unsigned RCEN : 1;
3267 unsigned ACKEN : 1;
3268 unsigned ACKDT : 1;
3269 unsigned ACKSTAT : 1;
3270 unsigned GCEN : 1;
3271 } __SSPCON2bits_t;
3273 extern __at(0x0216) volatile __SSPCON2bits_t SSPCON2bits;
3275 #define _SSPCON2_SEN 0x01
3276 #define _SSPCON2_RSEN 0x02
3277 #define _SSPCON2_PEN 0x04
3278 #define _SSPCON2_RCEN 0x08
3279 #define _SSPCON2_ACKEN 0x10
3280 #define _SSPCON2_ACKDT 0x20
3281 #define _SSPCON2_ACKSTAT 0x40
3282 #define _SSPCON2_GCEN 0x80
3284 //==============================================================================
3287 //==============================================================================
3288 // SSP1CON3 Bits
3290 extern __at(0x0217) __sfr SSP1CON3;
3292 typedef struct
3294 unsigned DHEN : 1;
3295 unsigned AHEN : 1;
3296 unsigned SBCDE : 1;
3297 unsigned SDAHT : 1;
3298 unsigned BOEN : 1;
3299 unsigned SCIE : 1;
3300 unsigned PCIE : 1;
3301 unsigned ACKTIM : 1;
3302 } __SSP1CON3bits_t;
3304 extern __at(0x0217) volatile __SSP1CON3bits_t SSP1CON3bits;
3306 #define _DHEN 0x01
3307 #define _AHEN 0x02
3308 #define _SBCDE 0x04
3309 #define _SDAHT 0x08
3310 #define _BOEN 0x10
3311 #define _SCIE 0x20
3312 #define _PCIE 0x40
3313 #define _ACKTIM 0x80
3315 //==============================================================================
3318 //==============================================================================
3319 // SSPCON3 Bits
3321 extern __at(0x0217) __sfr SSPCON3;
3323 typedef struct
3325 unsigned DHEN : 1;
3326 unsigned AHEN : 1;
3327 unsigned SBCDE : 1;
3328 unsigned SDAHT : 1;
3329 unsigned BOEN : 1;
3330 unsigned SCIE : 1;
3331 unsigned PCIE : 1;
3332 unsigned ACKTIM : 1;
3333 } __SSPCON3bits_t;
3335 extern __at(0x0217) volatile __SSPCON3bits_t SSPCON3bits;
3337 #define _SSPCON3_DHEN 0x01
3338 #define _SSPCON3_AHEN 0x02
3339 #define _SSPCON3_SBCDE 0x04
3340 #define _SSPCON3_SDAHT 0x08
3341 #define _SSPCON3_BOEN 0x10
3342 #define _SSPCON3_SCIE 0x20
3343 #define _SSPCON3_PCIE 0x40
3344 #define _SSPCON3_ACKTIM 0x80
3346 //==============================================================================
3349 //==============================================================================
3350 // ODCONA Bits
3352 extern __at(0x028C) __sfr ODCONA;
3354 typedef struct
3356 unsigned ODA0 : 1;
3357 unsigned ODA1 : 1;
3358 unsigned ODA2 : 1;
3359 unsigned : 1;
3360 unsigned ODA4 : 1;
3361 unsigned ODA5 : 1;
3362 unsigned : 1;
3363 unsigned : 1;
3364 } __ODCONAbits_t;
3366 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits;
3368 #define _ODA0 0x01
3369 #define _ODA1 0x02
3370 #define _ODA2 0x04
3371 #define _ODA4 0x10
3372 #define _ODA5 0x20
3374 //==============================================================================
3377 //==============================================================================
3378 // ODCONC Bits
3380 extern __at(0x028E) __sfr ODCONC;
3382 typedef union
3384 struct
3386 unsigned ODC0 : 1;
3387 unsigned ODC1 : 1;
3388 unsigned ODC2 : 1;
3389 unsigned ODC3 : 1;
3390 unsigned ODC4 : 1;
3391 unsigned ODC5 : 1;
3392 unsigned : 1;
3393 unsigned : 1;
3396 struct
3398 unsigned ODC : 6;
3399 unsigned : 2;
3401 } __ODCONCbits_t;
3403 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits;
3405 #define _ODC0 0x01
3406 #define _ODC1 0x02
3407 #define _ODC2 0x04
3408 #define _ODC3 0x08
3409 #define _ODC4 0x10
3410 #define _ODC5 0x20
3412 //==============================================================================
3414 extern __at(0x0291) __sfr CCPR1;
3415 extern __at(0x0291) __sfr CCPR1L;
3416 extern __at(0x0292) __sfr CCPR1H;
3418 //==============================================================================
3419 // CCP1CON Bits
3421 extern __at(0x0293) __sfr CCP1CON;
3423 typedef union
3425 struct
3427 unsigned MODE0 : 1;
3428 unsigned MODE1 : 1;
3429 unsigned MODE2 : 1;
3430 unsigned MODE3 : 1;
3431 unsigned FMT : 1;
3432 unsigned OUT : 1;
3433 unsigned : 1;
3434 unsigned EN : 1;
3437 struct
3439 unsigned CCP1MODE0 : 1;
3440 unsigned CCP1MODE1 : 1;
3441 unsigned CCP1MODE2 : 1;
3442 unsigned CCP1MODE3 : 1;
3443 unsigned CCP1FMT : 1;
3444 unsigned CCP1OUT : 1;
3445 unsigned : 1;
3446 unsigned CCP1EN : 1;
3449 struct
3451 unsigned MODE : 4;
3452 unsigned : 4;
3455 struct
3457 unsigned CCP1MODE : 4;
3458 unsigned : 4;
3460 } __CCP1CONbits_t;
3462 extern __at(0x0293) volatile __CCP1CONbits_t CCP1CONbits;
3464 #define _CCP1CON_MODE0 0x01
3465 #define _CCP1CON_CCP1MODE0 0x01
3466 #define _CCP1CON_MODE1 0x02
3467 #define _CCP1CON_CCP1MODE1 0x02
3468 #define _CCP1CON_MODE2 0x04
3469 #define _CCP1CON_CCP1MODE2 0x04
3470 #define _CCP1CON_MODE3 0x08
3471 #define _CCP1CON_CCP1MODE3 0x08
3472 #define _CCP1CON_FMT 0x10
3473 #define _CCP1CON_CCP1FMT 0x10
3474 #define _CCP1CON_OUT 0x20
3475 #define _CCP1CON_CCP1OUT 0x20
3476 #define _CCP1CON_EN 0x80
3477 #define _CCP1CON_CCP1EN 0x80
3479 //==============================================================================
3482 //==============================================================================
3483 // CCP1CAP Bits
3485 extern __at(0x0294) __sfr CCP1CAP;
3487 typedef union
3489 struct
3491 unsigned CTS0 : 1;
3492 unsigned CTS1 : 1;
3493 unsigned CTS2 : 1;
3494 unsigned : 1;
3495 unsigned : 1;
3496 unsigned : 1;
3497 unsigned : 1;
3498 unsigned : 1;
3501 struct
3503 unsigned CCP1CTS0 : 1;
3504 unsigned CCP1CTS1 : 1;
3505 unsigned CCP1CTS2 : 1;
3506 unsigned : 1;
3507 unsigned : 1;
3508 unsigned : 1;
3509 unsigned : 1;
3510 unsigned : 1;
3513 struct
3515 unsigned CTS : 3;
3516 unsigned : 5;
3519 struct
3521 unsigned CCP1CTS : 3;
3522 unsigned : 5;
3524 } __CCP1CAPbits_t;
3526 extern __at(0x0294) volatile __CCP1CAPbits_t CCP1CAPbits;
3528 #define _CTS0 0x01
3529 #define _CCP1CTS0 0x01
3530 #define _CTS1 0x02
3531 #define _CCP1CTS1 0x02
3532 #define _CTS2 0x04
3533 #define _CCP1CTS2 0x04
3535 //==============================================================================
3537 extern __at(0x0298) __sfr CCPR2;
3538 extern __at(0x0298) __sfr CCPR2L;
3539 extern __at(0x0299) __sfr CCPR2H;
3541 //==============================================================================
3542 // CCP2CON Bits
3544 extern __at(0x029A) __sfr CCP2CON;
3546 typedef union
3548 struct
3550 unsigned MODE0 : 1;
3551 unsigned MODE1 : 1;
3552 unsigned MODE2 : 1;
3553 unsigned MODE3 : 1;
3554 unsigned FMT : 1;
3555 unsigned OUT : 1;
3556 unsigned : 1;
3557 unsigned EN : 1;
3560 struct
3562 unsigned CCP2MODE0 : 1;
3563 unsigned CCP2MODE1 : 1;
3564 unsigned CCP2MODE2 : 1;
3565 unsigned CCP2MODE3 : 1;
3566 unsigned CCP2FMT : 1;
3567 unsigned CCP2OUT : 1;
3568 unsigned : 1;
3569 unsigned CCP2EN : 1;
3572 struct
3574 unsigned CCP2MODE : 4;
3575 unsigned : 4;
3578 struct
3580 unsigned MODE : 4;
3581 unsigned : 4;
3583 } __CCP2CONbits_t;
3585 extern __at(0x029A) volatile __CCP2CONbits_t CCP2CONbits;
3587 #define _CCP2CON_MODE0 0x01
3588 #define _CCP2CON_CCP2MODE0 0x01
3589 #define _CCP2CON_MODE1 0x02
3590 #define _CCP2CON_CCP2MODE1 0x02
3591 #define _CCP2CON_MODE2 0x04
3592 #define _CCP2CON_CCP2MODE2 0x04
3593 #define _CCP2CON_MODE3 0x08
3594 #define _CCP2CON_CCP2MODE3 0x08
3595 #define _CCP2CON_FMT 0x10
3596 #define _CCP2CON_CCP2FMT 0x10
3597 #define _CCP2CON_OUT 0x20
3598 #define _CCP2CON_CCP2OUT 0x20
3599 #define _CCP2CON_EN 0x80
3600 #define _CCP2CON_CCP2EN 0x80
3602 //==============================================================================
3605 //==============================================================================
3606 // CCP2CAP Bits
3608 extern __at(0x029B) __sfr CCP2CAP;
3610 typedef union
3612 struct
3614 unsigned CTS0 : 1;
3615 unsigned CTS1 : 1;
3616 unsigned CTS2 : 1;
3617 unsigned : 1;
3618 unsigned : 1;
3619 unsigned : 1;
3620 unsigned : 1;
3621 unsigned : 1;
3624 struct
3626 unsigned CCP2CTS0 : 1;
3627 unsigned CCP2CTS1 : 1;
3628 unsigned CCP2CTS2 : 1;
3629 unsigned : 1;
3630 unsigned : 1;
3631 unsigned : 1;
3632 unsigned : 1;
3633 unsigned : 1;
3636 struct
3638 unsigned CCP2CTS : 3;
3639 unsigned : 5;
3642 struct
3644 unsigned CTS : 3;
3645 unsigned : 5;
3647 } __CCP2CAPbits_t;
3649 extern __at(0x029B) volatile __CCP2CAPbits_t CCP2CAPbits;
3651 #define _CCP2CAP_CTS0 0x01
3652 #define _CCP2CAP_CCP2CTS0 0x01
3653 #define _CCP2CAP_CTS1 0x02
3654 #define _CCP2CAP_CCP2CTS1 0x02
3655 #define _CCP2CAP_CTS2 0x04
3656 #define _CCP2CAP_CCP2CTS2 0x04
3658 //==============================================================================
3661 //==============================================================================
3662 // CCPTMRS Bits
3664 extern __at(0x029E) __sfr CCPTMRS;
3666 typedef union
3668 struct
3670 unsigned CCP1TSEL0 : 1;
3671 unsigned CCP1TSEL1 : 1;
3672 unsigned CCP2TSEL0 : 1;
3673 unsigned CCP2TSEL1 : 1;
3674 unsigned P3TSEL0 : 1;
3675 unsigned P3TSEL1 : 1;
3676 unsigned P4TSEL0 : 1;
3677 unsigned P4TSEL1 : 1;
3680 struct
3682 unsigned CCP1TSEL : 2;
3683 unsigned : 6;
3686 struct
3688 unsigned : 2;
3689 unsigned CCP2TSEL : 2;
3690 unsigned : 4;
3693 struct
3695 unsigned : 4;
3696 unsigned P3TSEL : 2;
3697 unsigned : 2;
3700 struct
3702 unsigned : 6;
3703 unsigned P4TSEL : 2;
3705 } __CCPTMRSbits_t;
3707 extern __at(0x029E) volatile __CCPTMRSbits_t CCPTMRSbits;
3709 #define _CCP1TSEL0 0x01
3710 #define _CCP1TSEL1 0x02
3711 #define _CCP2TSEL0 0x04
3712 #define _CCP2TSEL1 0x08
3713 #define _P3TSEL0 0x10
3714 #define _P3TSEL1 0x20
3715 #define _P4TSEL0 0x40
3716 #define _P4TSEL1 0x80
3718 //==============================================================================
3721 //==============================================================================
3722 // SLRCONA Bits
3724 extern __at(0x030C) __sfr SLRCONA;
3726 typedef struct
3728 unsigned SLRA0 : 1;
3729 unsigned SLRA1 : 1;
3730 unsigned SLRA2 : 1;
3731 unsigned : 1;
3732 unsigned SLRA4 : 1;
3733 unsigned SLRA5 : 1;
3734 unsigned : 1;
3735 unsigned : 1;
3736 } __SLRCONAbits_t;
3738 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits;
3740 #define _SLRA0 0x01
3741 #define _SLRA1 0x02
3742 #define _SLRA2 0x04
3743 #define _SLRA4 0x10
3744 #define _SLRA5 0x20
3746 //==============================================================================
3749 //==============================================================================
3750 // SLRCONC Bits
3752 extern __at(0x030E) __sfr SLRCONC;
3754 typedef union
3756 struct
3758 unsigned SLRC0 : 1;
3759 unsigned SLRC1 : 1;
3760 unsigned SLRC2 : 1;
3761 unsigned SLRC3 : 1;
3762 unsigned SLRC4 : 1;
3763 unsigned SLRC5 : 1;
3764 unsigned : 1;
3765 unsigned : 1;
3768 struct
3770 unsigned SLRC : 6;
3771 unsigned : 2;
3773 } __SLRCONCbits_t;
3775 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits;
3777 #define _SLRC0 0x01
3778 #define _SLRC1 0x02
3779 #define _SLRC2 0x04
3780 #define _SLRC3 0x08
3781 #define _SLRC4 0x10
3782 #define _SLRC5 0x20
3784 //==============================================================================
3787 //==============================================================================
3788 // INLVLA Bits
3790 extern __at(0x038C) __sfr INLVLA;
3792 typedef union
3794 struct
3796 unsigned INLVLA0 : 1;
3797 unsigned INLVLA1 : 1;
3798 unsigned INLVLA2 : 1;
3799 unsigned INLVLA3 : 1;
3800 unsigned INLVLA4 : 1;
3801 unsigned INLVLA5 : 1;
3802 unsigned : 1;
3803 unsigned : 1;
3806 struct
3808 unsigned INLVLA : 6;
3809 unsigned : 2;
3811 } __INLVLAbits_t;
3813 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits;
3815 #define _INLVLA0 0x01
3816 #define _INLVLA1 0x02
3817 #define _INLVLA2 0x04
3818 #define _INLVLA3 0x08
3819 #define _INLVLA4 0x10
3820 #define _INLVLA5 0x20
3822 //==============================================================================
3825 //==============================================================================
3826 // INLVLC Bits
3828 extern __at(0x038E) __sfr INLVLC;
3830 typedef union
3832 struct
3834 unsigned INLVLC0 : 1;
3835 unsigned INLVLC1 : 1;
3836 unsigned INLVLC2 : 1;
3837 unsigned INLVLC3 : 1;
3838 unsigned INLVLC4 : 1;
3839 unsigned INLVLC5 : 1;
3840 unsigned : 1;
3841 unsigned : 1;
3844 struct
3846 unsigned INLVLC : 6;
3847 unsigned : 2;
3849 } __INLVLCbits_t;
3851 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits;
3853 #define _INLVLC0 0x01
3854 #define _INLVLC1 0x02
3855 #define _INLVLC2 0x04
3856 #define _INLVLC3 0x08
3857 #define _INLVLC4 0x10
3858 #define _INLVLC5 0x20
3860 //==============================================================================
3863 //==============================================================================
3864 // IOCAP Bits
3866 extern __at(0x0391) __sfr IOCAP;
3868 typedef union
3870 struct
3872 unsigned IOCAP0 : 1;
3873 unsigned IOCAP1 : 1;
3874 unsigned IOCAP2 : 1;
3875 unsigned IOCAP3 : 1;
3876 unsigned IOCAP4 : 1;
3877 unsigned IOCAP5 : 1;
3878 unsigned : 1;
3879 unsigned : 1;
3882 struct
3884 unsigned IOCAP : 6;
3885 unsigned : 2;
3887 } __IOCAPbits_t;
3889 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits;
3891 #define _IOCAP0 0x01
3892 #define _IOCAP1 0x02
3893 #define _IOCAP2 0x04
3894 #define _IOCAP3 0x08
3895 #define _IOCAP4 0x10
3896 #define _IOCAP5 0x20
3898 //==============================================================================
3901 //==============================================================================
3902 // IOCAN Bits
3904 extern __at(0x0392) __sfr IOCAN;
3906 typedef union
3908 struct
3910 unsigned IOCAN0 : 1;
3911 unsigned IOCAN1 : 1;
3912 unsigned IOCAN2 : 1;
3913 unsigned IOCAN3 : 1;
3914 unsigned IOCAN4 : 1;
3915 unsigned IOCAN5 : 1;
3916 unsigned : 1;
3917 unsigned : 1;
3920 struct
3922 unsigned IOCAN : 6;
3923 unsigned : 2;
3925 } __IOCANbits_t;
3927 extern __at(0x0392) volatile __IOCANbits_t IOCANbits;
3929 #define _IOCAN0 0x01
3930 #define _IOCAN1 0x02
3931 #define _IOCAN2 0x04
3932 #define _IOCAN3 0x08
3933 #define _IOCAN4 0x10
3934 #define _IOCAN5 0x20
3936 //==============================================================================
3939 //==============================================================================
3940 // IOCAF Bits
3942 extern __at(0x0393) __sfr IOCAF;
3944 typedef union
3946 struct
3948 unsigned IOCAF0 : 1;
3949 unsigned IOCAF1 : 1;
3950 unsigned IOCAF2 : 1;
3951 unsigned IOCAF3 : 1;
3952 unsigned IOCAF4 : 1;
3953 unsigned IOCAF5 : 1;
3954 unsigned : 1;
3955 unsigned : 1;
3958 struct
3960 unsigned IOCAF : 6;
3961 unsigned : 2;
3963 } __IOCAFbits_t;
3965 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits;
3967 #define _IOCAF0 0x01
3968 #define _IOCAF1 0x02
3969 #define _IOCAF2 0x04
3970 #define _IOCAF3 0x08
3971 #define _IOCAF4 0x10
3972 #define _IOCAF5 0x20
3974 //==============================================================================
3977 //==============================================================================
3978 // IOCCP Bits
3980 extern __at(0x0397) __sfr IOCCP;
3982 typedef union
3984 struct
3986 unsigned IOCCP0 : 1;
3987 unsigned IOCCP1 : 1;
3988 unsigned IOCCP2 : 1;
3989 unsigned IOCCP3 : 1;
3990 unsigned IOCCP4 : 1;
3991 unsigned IOCCP5 : 1;
3992 unsigned : 1;
3993 unsigned : 1;
3996 struct
3998 unsigned IOCCP : 6;
3999 unsigned : 2;
4001 } __IOCCPbits_t;
4003 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits;
4005 #define _IOCCP0 0x01
4006 #define _IOCCP1 0x02
4007 #define _IOCCP2 0x04
4008 #define _IOCCP3 0x08
4009 #define _IOCCP4 0x10
4010 #define _IOCCP5 0x20
4012 //==============================================================================
4015 //==============================================================================
4016 // IOCCN Bits
4018 extern __at(0x0398) __sfr IOCCN;
4020 typedef union
4022 struct
4024 unsigned IOCCN0 : 1;
4025 unsigned IOCCN1 : 1;
4026 unsigned IOCCN2 : 1;
4027 unsigned IOCCN3 : 1;
4028 unsigned IOCCN4 : 1;
4029 unsigned IOCCN5 : 1;
4030 unsigned : 1;
4031 unsigned : 1;
4034 struct
4036 unsigned IOCCN : 6;
4037 unsigned : 2;
4039 } __IOCCNbits_t;
4041 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits;
4043 #define _IOCCN0 0x01
4044 #define _IOCCN1 0x02
4045 #define _IOCCN2 0x04
4046 #define _IOCCN3 0x08
4047 #define _IOCCN4 0x10
4048 #define _IOCCN5 0x20
4050 //==============================================================================
4053 //==============================================================================
4054 // IOCCF Bits
4056 extern __at(0x0399) __sfr IOCCF;
4058 typedef union
4060 struct
4062 unsigned IOCCF0 : 1;
4063 unsigned IOCCF1 : 1;
4064 unsigned IOCCF2 : 1;
4065 unsigned IOCCF3 : 1;
4066 unsigned IOCCF4 : 1;
4067 unsigned IOCCF5 : 1;
4068 unsigned : 1;
4069 unsigned : 1;
4072 struct
4074 unsigned IOCCF : 6;
4075 unsigned : 2;
4077 } __IOCCFbits_t;
4079 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits;
4081 #define _IOCCF0 0x01
4082 #define _IOCCF1 0x02
4083 #define _IOCCF2 0x04
4084 #define _IOCCF3 0x08
4085 #define _IOCCF4 0x10
4086 #define _IOCCF5 0x20
4088 //==============================================================================
4091 //==============================================================================
4092 // HIDRVC Bits
4094 extern __at(0x040E) __sfr HIDRVC;
4096 typedef struct
4098 unsigned : 1;
4099 unsigned : 1;
4100 unsigned : 1;
4101 unsigned : 1;
4102 unsigned HIDC4 : 1;
4103 unsigned HIDC5 : 1;
4104 unsigned : 1;
4105 unsigned : 1;
4106 } __HIDRVCbits_t;
4108 extern __at(0x040E) volatile __HIDRVCbits_t HIDRVCbits;
4110 #define _HIDC4 0x10
4111 #define _HIDC5 0x20
4113 //==============================================================================
4115 extern __at(0x0413) __sfr T4TMR;
4116 extern __at(0x0413) __sfr TMR4;
4117 extern __at(0x0414) __sfr PR4;
4118 extern __at(0x0414) __sfr T4PR;
4120 //==============================================================================
4121 // T4CON Bits
4123 extern __at(0x0415) __sfr T4CON;
4125 typedef union
4127 struct
4129 unsigned OUTPS0 : 1;
4130 unsigned OUTPS1 : 1;
4131 unsigned OUTPS2 : 1;
4132 unsigned OUTPS3 : 1;
4133 unsigned CKPS0 : 1;
4134 unsigned CKPS1 : 1;
4135 unsigned CKPS2 : 1;
4136 unsigned ON : 1;
4139 struct
4141 unsigned T4OUTPS0 : 1;
4142 unsigned T4OUTPS1 : 1;
4143 unsigned T4OUTPS2 : 1;
4144 unsigned T4OUTPS3 : 1;
4145 unsigned T4CKPS0 : 1;
4146 unsigned T4CKPS1 : 1;
4147 unsigned T4CKPS2 : 1;
4148 unsigned T4ON : 1;
4151 struct
4153 unsigned : 1;
4154 unsigned : 1;
4155 unsigned : 1;
4156 unsigned : 1;
4157 unsigned : 1;
4158 unsigned : 1;
4159 unsigned : 1;
4160 unsigned TMR4ON : 1;
4163 struct
4165 unsigned OUTPS : 4;
4166 unsigned : 4;
4169 struct
4171 unsigned T4OUTPS : 4;
4172 unsigned : 4;
4175 struct
4177 unsigned : 4;
4178 unsigned CKPS : 3;
4179 unsigned : 1;
4182 struct
4184 unsigned : 4;
4185 unsigned T4CKPS : 3;
4186 unsigned : 1;
4188 } __T4CONbits_t;
4190 extern __at(0x0415) volatile __T4CONbits_t T4CONbits;
4192 #define _T4CON_OUTPS0 0x01
4193 #define _T4CON_T4OUTPS0 0x01
4194 #define _T4CON_OUTPS1 0x02
4195 #define _T4CON_T4OUTPS1 0x02
4196 #define _T4CON_OUTPS2 0x04
4197 #define _T4CON_T4OUTPS2 0x04
4198 #define _T4CON_OUTPS3 0x08
4199 #define _T4CON_T4OUTPS3 0x08
4200 #define _T4CON_CKPS0 0x10
4201 #define _T4CON_T4CKPS0 0x10
4202 #define _T4CON_CKPS1 0x20
4203 #define _T4CON_T4CKPS1 0x20
4204 #define _T4CON_CKPS2 0x40
4205 #define _T4CON_T4CKPS2 0x40
4206 #define _T4CON_ON 0x80
4207 #define _T4CON_T4ON 0x80
4208 #define _T4CON_TMR4ON 0x80
4210 //==============================================================================
4213 //==============================================================================
4214 // T4HLT Bits
4216 extern __at(0x0416) __sfr T4HLT;
4218 typedef union
4220 struct
4222 unsigned MODE0 : 1;
4223 unsigned MODE1 : 1;
4224 unsigned MODE2 : 1;
4225 unsigned MODE3 : 1;
4226 unsigned MODE4 : 1;
4227 unsigned CKSYNC : 1;
4228 unsigned CKPOL : 1;
4229 unsigned PSYNC : 1;
4232 struct
4234 unsigned T4MODE0 : 1;
4235 unsigned T4MODE1 : 1;
4236 unsigned T4MODE2 : 1;
4237 unsigned T4MODE3 : 1;
4238 unsigned T4MODE4 : 1;
4239 unsigned T4CKSYNC : 1;
4240 unsigned T4CKPOL : 1;
4241 unsigned T4PSYNC : 1;
4244 struct
4246 unsigned T4MODE : 5;
4247 unsigned : 3;
4250 struct
4252 unsigned MODE : 5;
4253 unsigned : 3;
4255 } __T4HLTbits_t;
4257 extern __at(0x0416) volatile __T4HLTbits_t T4HLTbits;
4259 #define _T4HLT_MODE0 0x01
4260 #define _T4HLT_T4MODE0 0x01
4261 #define _T4HLT_MODE1 0x02
4262 #define _T4HLT_T4MODE1 0x02
4263 #define _T4HLT_MODE2 0x04
4264 #define _T4HLT_T4MODE2 0x04
4265 #define _T4HLT_MODE3 0x08
4266 #define _T4HLT_T4MODE3 0x08
4267 #define _T4HLT_MODE4 0x10
4268 #define _T4HLT_T4MODE4 0x10
4269 #define _T4HLT_CKSYNC 0x20
4270 #define _T4HLT_T4CKSYNC 0x20
4271 #define _T4HLT_CKPOL 0x40
4272 #define _T4HLT_T4CKPOL 0x40
4273 #define _T4HLT_PSYNC 0x80
4274 #define _T4HLT_T4PSYNC 0x80
4276 //==============================================================================
4279 //==============================================================================
4280 // T4CLKCON Bits
4282 extern __at(0x0417) __sfr T4CLKCON;
4284 typedef union
4286 struct
4288 unsigned CS0 : 1;
4289 unsigned CS1 : 1;
4290 unsigned CS2 : 1;
4291 unsigned CS3 : 1;
4292 unsigned : 1;
4293 unsigned : 1;
4294 unsigned : 1;
4295 unsigned : 1;
4298 struct
4300 unsigned T4CS0 : 1;
4301 unsigned T4CS1 : 1;
4302 unsigned T4CS2 : 1;
4303 unsigned T4CS3 : 1;
4304 unsigned : 1;
4305 unsigned : 1;
4306 unsigned : 1;
4307 unsigned : 1;
4310 struct
4312 unsigned T4CS : 4;
4313 unsigned : 4;
4316 struct
4318 unsigned CS : 4;
4319 unsigned : 4;
4321 } __T4CLKCONbits_t;
4323 extern __at(0x0417) volatile __T4CLKCONbits_t T4CLKCONbits;
4325 #define _T4CLKCON_CS0 0x01
4326 #define _T4CLKCON_T4CS0 0x01
4327 #define _T4CLKCON_CS1 0x02
4328 #define _T4CLKCON_T4CS1 0x02
4329 #define _T4CLKCON_CS2 0x04
4330 #define _T4CLKCON_T4CS2 0x04
4331 #define _T4CLKCON_CS3 0x08
4332 #define _T4CLKCON_T4CS3 0x08
4334 //==============================================================================
4337 //==============================================================================
4338 // T4RST Bits
4340 extern __at(0x0418) __sfr T4RST;
4342 typedef union
4344 struct
4346 unsigned RSEL0 : 1;
4347 unsigned RSEL1 : 1;
4348 unsigned RSEL2 : 1;
4349 unsigned RSEL3 : 1;
4350 unsigned : 1;
4351 unsigned : 1;
4352 unsigned : 1;
4353 unsigned : 1;
4356 struct
4358 unsigned T4RSEL0 : 1;
4359 unsigned T4RSEL1 : 1;
4360 unsigned T4RSEL2 : 1;
4361 unsigned T4RSEL3 : 1;
4362 unsigned : 1;
4363 unsigned : 1;
4364 unsigned : 1;
4365 unsigned : 1;
4368 struct
4370 unsigned RSEL : 4;
4371 unsigned : 4;
4374 struct
4376 unsigned T4RSEL : 4;
4377 unsigned : 4;
4379 } __T4RSTbits_t;
4381 extern __at(0x0418) volatile __T4RSTbits_t T4RSTbits;
4383 #define _T4RST_RSEL0 0x01
4384 #define _T4RST_T4RSEL0 0x01
4385 #define _T4RST_RSEL1 0x02
4386 #define _T4RST_T4RSEL1 0x02
4387 #define _T4RST_RSEL2 0x04
4388 #define _T4RST_T4RSEL2 0x04
4389 #define _T4RST_RSEL3 0x08
4390 #define _T4RST_T4RSEL3 0x08
4392 //==============================================================================
4394 extern __at(0x041A) __sfr T6TMR;
4395 extern __at(0x041A) __sfr TMR6;
4396 extern __at(0x041B) __sfr PR6;
4397 extern __at(0x041B) __sfr T6PR;
4399 //==============================================================================
4400 // T6CON Bits
4402 extern __at(0x041C) __sfr T6CON;
4404 typedef union
4406 struct
4408 unsigned OUTPS0 : 1;
4409 unsigned OUTPS1 : 1;
4410 unsigned OUTPS2 : 1;
4411 unsigned OUTPS3 : 1;
4412 unsigned CKPS0 : 1;
4413 unsigned CKPS1 : 1;
4414 unsigned CKPS2 : 1;
4415 unsigned ON : 1;
4418 struct
4420 unsigned T6OUTPS0 : 1;
4421 unsigned T6OUTPS1 : 1;
4422 unsigned T6OUTPS2 : 1;
4423 unsigned T6OUTPS3 : 1;
4424 unsigned T6CKPS0 : 1;
4425 unsigned T6CKPS1 : 1;
4426 unsigned T6CKPS2 : 1;
4427 unsigned T6ON : 1;
4430 struct
4432 unsigned : 1;
4433 unsigned : 1;
4434 unsigned : 1;
4435 unsigned : 1;
4436 unsigned : 1;
4437 unsigned : 1;
4438 unsigned : 1;
4439 unsigned TMR6ON : 1;
4442 struct
4444 unsigned T6OUTPS : 4;
4445 unsigned : 4;
4448 struct
4450 unsigned OUTPS : 4;
4451 unsigned : 4;
4454 struct
4456 unsigned : 4;
4457 unsigned CKPS : 3;
4458 unsigned : 1;
4461 struct
4463 unsigned : 4;
4464 unsigned T6CKPS : 3;
4465 unsigned : 1;
4467 } __T6CONbits_t;
4469 extern __at(0x041C) volatile __T6CONbits_t T6CONbits;
4471 #define _T6CON_OUTPS0 0x01
4472 #define _T6CON_T6OUTPS0 0x01
4473 #define _T6CON_OUTPS1 0x02
4474 #define _T6CON_T6OUTPS1 0x02
4475 #define _T6CON_OUTPS2 0x04
4476 #define _T6CON_T6OUTPS2 0x04
4477 #define _T6CON_OUTPS3 0x08
4478 #define _T6CON_T6OUTPS3 0x08
4479 #define _T6CON_CKPS0 0x10
4480 #define _T6CON_T6CKPS0 0x10
4481 #define _T6CON_CKPS1 0x20
4482 #define _T6CON_T6CKPS1 0x20
4483 #define _T6CON_CKPS2 0x40
4484 #define _T6CON_T6CKPS2 0x40
4485 #define _T6CON_ON 0x80
4486 #define _T6CON_T6ON 0x80
4487 #define _T6CON_TMR6ON 0x80
4489 //==============================================================================
4492 //==============================================================================
4493 // T6HLT Bits
4495 extern __at(0x041D) __sfr T6HLT;
4497 typedef union
4499 struct
4501 unsigned MODE0 : 1;
4502 unsigned MODE1 : 1;
4503 unsigned MODE2 : 1;
4504 unsigned MODE3 : 1;
4505 unsigned MODE4 : 1;
4506 unsigned CKSYNC : 1;
4507 unsigned CKPOL : 1;
4508 unsigned PSYNC : 1;
4511 struct
4513 unsigned T6MODE0 : 1;
4514 unsigned T6MODE1 : 1;
4515 unsigned T6MODE2 : 1;
4516 unsigned T6MODE3 : 1;
4517 unsigned T6MODE4 : 1;
4518 unsigned T6CKSYNC : 1;
4519 unsigned T6CKPOL : 1;
4520 unsigned T6PSYNC : 1;
4523 struct
4525 unsigned T6MODE : 5;
4526 unsigned : 3;
4529 struct
4531 unsigned MODE : 5;
4532 unsigned : 3;
4534 } __T6HLTbits_t;
4536 extern __at(0x041D) volatile __T6HLTbits_t T6HLTbits;
4538 #define _T6HLT_MODE0 0x01
4539 #define _T6HLT_T6MODE0 0x01
4540 #define _T6HLT_MODE1 0x02
4541 #define _T6HLT_T6MODE1 0x02
4542 #define _T6HLT_MODE2 0x04
4543 #define _T6HLT_T6MODE2 0x04
4544 #define _T6HLT_MODE3 0x08
4545 #define _T6HLT_T6MODE3 0x08
4546 #define _T6HLT_MODE4 0x10
4547 #define _T6HLT_T6MODE4 0x10
4548 #define _T6HLT_CKSYNC 0x20
4549 #define _T6HLT_T6CKSYNC 0x20
4550 #define _T6HLT_CKPOL 0x40
4551 #define _T6HLT_T6CKPOL 0x40
4552 #define _T6HLT_PSYNC 0x80
4553 #define _T6HLT_T6PSYNC 0x80
4555 //==============================================================================
4558 //==============================================================================
4559 // T6CLKCON Bits
4561 extern __at(0x041E) __sfr T6CLKCON;
4563 typedef union
4565 struct
4567 unsigned CS0 : 1;
4568 unsigned CS1 : 1;
4569 unsigned CS2 : 1;
4570 unsigned CS3 : 1;
4571 unsigned : 1;
4572 unsigned : 1;
4573 unsigned : 1;
4574 unsigned : 1;
4577 struct
4579 unsigned T6CS0 : 1;
4580 unsigned T6CS1 : 1;
4581 unsigned T6CS2 : 1;
4582 unsigned T6CS3 : 1;
4583 unsigned : 1;
4584 unsigned : 1;
4585 unsigned : 1;
4586 unsigned : 1;
4589 struct
4591 unsigned T6CS : 4;
4592 unsigned : 4;
4595 struct
4597 unsigned CS : 4;
4598 unsigned : 4;
4600 } __T6CLKCONbits_t;
4602 extern __at(0x041E) volatile __T6CLKCONbits_t T6CLKCONbits;
4604 #define _T6CLKCON_CS0 0x01
4605 #define _T6CLKCON_T6CS0 0x01
4606 #define _T6CLKCON_CS1 0x02
4607 #define _T6CLKCON_T6CS1 0x02
4608 #define _T6CLKCON_CS2 0x04
4609 #define _T6CLKCON_T6CS2 0x04
4610 #define _T6CLKCON_CS3 0x08
4611 #define _T6CLKCON_T6CS3 0x08
4613 //==============================================================================
4616 //==============================================================================
4617 // T6RST Bits
4619 extern __at(0x041F) __sfr T6RST;
4621 typedef union
4623 struct
4625 unsigned RSEL0 : 1;
4626 unsigned RSEL1 : 1;
4627 unsigned RSEL2 : 1;
4628 unsigned RSEL3 : 1;
4629 unsigned : 1;
4630 unsigned : 1;
4631 unsigned : 1;
4632 unsigned : 1;
4635 struct
4637 unsigned T6RSEL0 : 1;
4638 unsigned T6RSEL1 : 1;
4639 unsigned T6RSEL2 : 1;
4640 unsigned T6RSEL3 : 1;
4641 unsigned : 1;
4642 unsigned : 1;
4643 unsigned : 1;
4644 unsigned : 1;
4647 struct
4649 unsigned RSEL : 4;
4650 unsigned : 4;
4653 struct
4655 unsigned T6RSEL : 4;
4656 unsigned : 4;
4658 } __T6RSTbits_t;
4660 extern __at(0x041F) volatile __T6RSTbits_t T6RSTbits;
4662 #define _T6RST_RSEL0 0x01
4663 #define _T6RST_T6RSEL0 0x01
4664 #define _T6RST_RSEL1 0x02
4665 #define _T6RST_T6RSEL1 0x02
4666 #define _T6RST_RSEL2 0x04
4667 #define _T6RST_T6RSEL2 0x04
4668 #define _T6RST_RSEL3 0x08
4669 #define _T6RST_T6RSEL3 0x08
4671 //==============================================================================
4673 extern __at(0x0493) __sfr TMR3L;
4674 extern __at(0x0494) __sfr TMR3H;
4676 //==============================================================================
4677 // T3CON Bits
4679 extern __at(0x0495) __sfr T3CON;
4681 typedef union
4683 struct
4685 unsigned TMR3ON : 1;
4686 unsigned : 1;
4687 unsigned T3SYNC : 1;
4688 unsigned : 1;
4689 unsigned T3CKPS0 : 1;
4690 unsigned T3CKPS1 : 1;
4691 unsigned TMR3CS0 : 1;
4692 unsigned TMR3CS1 : 1;
4695 struct
4697 unsigned : 4;
4698 unsigned T3CKPS : 2;
4699 unsigned : 2;
4702 struct
4704 unsigned : 6;
4705 unsigned TMR3CS : 2;
4707 } __T3CONbits_t;
4709 extern __at(0x0495) volatile __T3CONbits_t T3CONbits;
4711 #define _TMR3ON 0x01
4712 #define _T3SYNC 0x04
4713 #define _T3CKPS0 0x10
4714 #define _T3CKPS1 0x20
4715 #define _TMR3CS0 0x40
4716 #define _TMR3CS1 0x80
4718 //==============================================================================
4721 //==============================================================================
4722 // T3GCON Bits
4724 extern __at(0x0496) __sfr T3GCON;
4726 typedef union
4728 struct
4730 unsigned T3GSS0 : 1;
4731 unsigned T3GSS1 : 1;
4732 unsigned T3GVAL : 1;
4733 unsigned T3GGO_NOT_DONE : 1;
4734 unsigned T3GSPM : 1;
4735 unsigned T3GTM : 1;
4736 unsigned T3GPOL : 1;
4737 unsigned TMR3GE : 1;
4740 struct
4742 unsigned T3GSS : 2;
4743 unsigned : 6;
4745 } __T3GCONbits_t;
4747 extern __at(0x0496) volatile __T3GCONbits_t T3GCONbits;
4749 #define _T3GSS0 0x01
4750 #define _T3GSS1 0x02
4751 #define _T3GVAL 0x04
4752 #define _T3GGO_NOT_DONE 0x08
4753 #define _T3GSPM 0x10
4754 #define _T3GTM 0x20
4755 #define _T3GPOL 0x40
4756 #define _TMR3GE 0x80
4758 //==============================================================================
4760 extern __at(0x049A) __sfr TMR5L;
4761 extern __at(0x049B) __sfr TMR5H;
4763 //==============================================================================
4764 // T5CON Bits
4766 extern __at(0x049C) __sfr T5CON;
4768 typedef union
4770 struct
4772 unsigned TMR5ON : 1;
4773 unsigned : 1;
4774 unsigned T5SYNC : 1;
4775 unsigned : 1;
4776 unsigned T5CKPS0 : 1;
4777 unsigned T5CKPS1 : 1;
4778 unsigned TMR5CS0 : 1;
4779 unsigned TMR5CS1 : 1;
4782 struct
4784 unsigned : 4;
4785 unsigned T5CKPS : 2;
4786 unsigned : 2;
4789 struct
4791 unsigned : 6;
4792 unsigned TMR5CS : 2;
4794 } __T5CONbits_t;
4796 extern __at(0x049C) volatile __T5CONbits_t T5CONbits;
4798 #define _TMR5ON 0x01
4799 #define _T5SYNC 0x04
4800 #define _T5CKPS0 0x10
4801 #define _T5CKPS1 0x20
4802 #define _TMR5CS0 0x40
4803 #define _TMR5CS1 0x80
4805 //==============================================================================
4808 //==============================================================================
4809 // T5GCON Bits
4811 extern __at(0x049D) __sfr T5GCON;
4813 typedef union
4815 struct
4817 unsigned T5GSS0 : 1;
4818 unsigned T5GSS1 : 1;
4819 unsigned T5GVAL : 1;
4820 unsigned T5GGO_NOT_DONE : 1;
4821 unsigned T5GSPM : 1;
4822 unsigned T5GTM : 1;
4823 unsigned T5GPOL : 1;
4824 unsigned TMR5GE : 1;
4827 struct
4829 unsigned T5GSS : 2;
4830 unsigned : 6;
4832 } __T5GCONbits_t;
4834 extern __at(0x049D) volatile __T5GCONbits_t T5GCONbits;
4836 #define _T5GSS0 0x01
4837 #define _T5GSS1 0x02
4838 #define _T5GVAL 0x04
4839 #define _T5GGO_NOT_DONE 0x08
4840 #define _T5GSPM 0x10
4841 #define _T5GTM 0x20
4842 #define _T5GPOL 0x40
4843 #define _TMR5GE 0x80
4845 //==============================================================================
4847 extern __at(0x058C) __sfr PID1SET;
4849 //==============================================================================
4850 // PID1SETL Bits
4852 extern __at(0x058C) __sfr PID1SETL;
4854 typedef union
4856 struct
4858 unsigned PID1SET0 : 1;
4859 unsigned PID1SET1 : 1;
4860 unsigned PID1SET2 : 1;
4861 unsigned PID1SET3 : 1;
4862 unsigned PID1SET4 : 1;
4863 unsigned PID1SET5 : 1;
4864 unsigned PID1SET6 : 1;
4865 unsigned PID1SET7 : 1;
4868 struct
4870 unsigned SET0 : 1;
4871 unsigned SET1 : 1;
4872 unsigned SET2 : 1;
4873 unsigned SET3 : 1;
4874 unsigned SET4 : 1;
4875 unsigned SET5 : 1;
4876 unsigned SET6 : 1;
4877 unsigned SET7 : 1;
4879 } __PID1SETLbits_t;
4881 extern __at(0x058C) volatile __PID1SETLbits_t PID1SETLbits;
4883 #define _PID1SET0 0x01
4884 #define _SET0 0x01
4885 #define _PID1SET1 0x02
4886 #define _SET1 0x02
4887 #define _PID1SET2 0x04
4888 #define _SET2 0x04
4889 #define _PID1SET3 0x08
4890 #define _SET3 0x08
4891 #define _PID1SET4 0x10
4892 #define _SET4 0x10
4893 #define _PID1SET5 0x20
4894 #define _SET5 0x20
4895 #define _PID1SET6 0x40
4896 #define _SET6 0x40
4897 #define _PID1SET7 0x80
4898 #define _SET7 0x80
4900 //==============================================================================
4903 //==============================================================================
4904 // PID1SETH Bits
4906 extern __at(0x058D) __sfr PID1SETH;
4908 typedef union
4910 struct
4912 unsigned PID1SET8 : 1;
4913 unsigned PID1SET9 : 1;
4914 unsigned PID1SET10 : 1;
4915 unsigned PID1SET11 : 1;
4916 unsigned PID1SET12 : 1;
4917 unsigned PID1SET13 : 1;
4918 unsigned PID1SET14 : 1;
4919 unsigned PID1SET15 : 1;
4922 struct
4924 unsigned SET8 : 1;
4925 unsigned SET9 : 1;
4926 unsigned SET10 : 1;
4927 unsigned SET11 : 1;
4928 unsigned SET12 : 1;
4929 unsigned SET13 : 1;
4930 unsigned SET14 : 1;
4931 unsigned SET15 : 1;
4933 } __PID1SETHbits_t;
4935 extern __at(0x058D) volatile __PID1SETHbits_t PID1SETHbits;
4937 #define _PID1SET8 0x01
4938 #define _SET8 0x01
4939 #define _PID1SET9 0x02
4940 #define _SET9 0x02
4941 #define _PID1SET10 0x04
4942 #define _SET10 0x04
4943 #define _PID1SET11 0x08
4944 #define _SET11 0x08
4945 #define _PID1SET12 0x10
4946 #define _SET12 0x10
4947 #define _PID1SET13 0x20
4948 #define _SET13 0x20
4949 #define _PID1SET14 0x40
4950 #define _SET14 0x40
4951 #define _PID1SET15 0x80
4952 #define _SET15 0x80
4954 //==============================================================================
4956 extern __at(0x058E) __sfr PID1IN;
4958 //==============================================================================
4959 // PID1INL Bits
4961 extern __at(0x058E) __sfr PID1INL;
4963 typedef union
4965 struct
4967 unsigned PID1IN0 : 1;
4968 unsigned PID1IN1 : 1;
4969 unsigned PID1IN2 : 1;
4970 unsigned PID1IN3 : 1;
4971 unsigned PID1IN4 : 1;
4972 unsigned PID1IN5 : 1;
4973 unsigned PID1IN6 : 1;
4974 unsigned PID1IN7 : 1;
4977 struct
4979 unsigned IN0 : 1;
4980 unsigned IN1 : 1;
4981 unsigned IN2 : 1;
4982 unsigned IN3 : 1;
4983 unsigned IN4 : 1;
4984 unsigned IN5 : 1;
4985 unsigned IN6 : 1;
4986 unsigned IN7 : 1;
4988 } __PID1INLbits_t;
4990 extern __at(0x058E) volatile __PID1INLbits_t PID1INLbits;
4992 #define _PID1IN0 0x01
4993 #define _IN0 0x01
4994 #define _PID1IN1 0x02
4995 #define _IN1 0x02
4996 #define _PID1IN2 0x04
4997 #define _IN2 0x04
4998 #define _PID1IN3 0x08
4999 #define _IN3 0x08
5000 #define _PID1IN4 0x10
5001 #define _IN4 0x10
5002 #define _PID1IN5 0x20
5003 #define _IN5 0x20
5004 #define _PID1IN6 0x40
5005 #define _IN6 0x40
5006 #define _PID1IN7 0x80
5007 #define _IN7 0x80
5009 //==============================================================================
5012 //==============================================================================
5013 // PID1INH Bits
5015 extern __at(0x058F) __sfr PID1INH;
5017 typedef union
5019 struct
5021 unsigned PID1IN8 : 1;
5022 unsigned PID1IN9 : 1;
5023 unsigned PID1IN10 : 1;
5024 unsigned PID1IN11 : 1;
5025 unsigned PID1IN12 : 1;
5026 unsigned PID1IN13 : 1;
5027 unsigned PID1IN14 : 1;
5028 unsigned PID1IN15 : 1;
5031 struct
5033 unsigned IN8 : 1;
5034 unsigned IN9 : 1;
5035 unsigned IN10 : 1;
5036 unsigned IN11 : 1;
5037 unsigned IN12 : 1;
5038 unsigned IN13 : 1;
5039 unsigned IN14 : 1;
5040 unsigned IN15 : 1;
5042 } __PID1INHbits_t;
5044 extern __at(0x058F) volatile __PID1INHbits_t PID1INHbits;
5046 #define _PID1IN8 0x01
5047 #define _IN8 0x01
5048 #define _PID1IN9 0x02
5049 #define _IN9 0x02
5050 #define _PID1IN10 0x04
5051 #define _IN10 0x04
5052 #define _PID1IN11 0x08
5053 #define _IN11 0x08
5054 #define _PID1IN12 0x10
5055 #define _IN12 0x10
5056 #define _PID1IN13 0x20
5057 #define _IN13 0x20
5058 #define _PID1IN14 0x40
5059 #define _IN14 0x40
5060 #define _PID1IN15 0x80
5061 #define _IN15 0x80
5063 //==============================================================================
5065 extern __at(0x0590) __sfr PID1K1;
5067 //==============================================================================
5068 // PID1K1L Bits
5070 extern __at(0x0590) __sfr PID1K1L;
5072 typedef union
5074 struct
5076 unsigned PID1K10 : 1;
5077 unsigned PID1K11 : 1;
5078 unsigned PID1K12 : 1;
5079 unsigned PID1K13 : 1;
5080 unsigned PID1K14 : 1;
5081 unsigned PID1K15 : 1;
5082 unsigned PID1K16 : 1;
5083 unsigned PID1K17 : 1;
5086 struct
5088 unsigned K10 : 1;
5089 unsigned K11 : 1;
5090 unsigned K12 : 1;
5091 unsigned K13 : 1;
5092 unsigned K14 : 1;
5093 unsigned K15 : 1;
5094 unsigned K16 : 1;
5095 unsigned K17 : 1;
5097 } __PID1K1Lbits_t;
5099 extern __at(0x0590) volatile __PID1K1Lbits_t PID1K1Lbits;
5101 #define _PID1K10 0x01
5102 #define _K10 0x01
5103 #define _PID1K11 0x02
5104 #define _K11 0x02
5105 #define _PID1K12 0x04
5106 #define _K12 0x04
5107 #define _PID1K13 0x08
5108 #define _K13 0x08
5109 #define _PID1K14 0x10
5110 #define _K14 0x10
5111 #define _PID1K15 0x20
5112 #define _K15 0x20
5113 #define _PID1K16 0x40
5114 #define _K16 0x40
5115 #define _PID1K17 0x80
5116 #define _K17 0x80
5118 //==============================================================================
5121 //==============================================================================
5122 // PID1K1H Bits
5124 extern __at(0x0591) __sfr PID1K1H;
5126 typedef union
5128 struct
5130 unsigned PID1K18 : 1;
5131 unsigned PID1K19 : 1;
5132 unsigned PID1K110 : 1;
5133 unsigned PID1K111 : 1;
5134 unsigned PID1K112 : 1;
5135 unsigned PID1K113 : 1;
5136 unsigned PID1K114 : 1;
5137 unsigned PID1K115 : 1;
5140 struct
5142 unsigned K18 : 1;
5143 unsigned K19 : 1;
5144 unsigned K110 : 1;
5145 unsigned K111 : 1;
5146 unsigned K112 : 1;
5147 unsigned K113 : 1;
5148 unsigned K114 : 1;
5149 unsigned K115 : 1;
5151 } __PID1K1Hbits_t;
5153 extern __at(0x0591) volatile __PID1K1Hbits_t PID1K1Hbits;
5155 #define _PID1K18 0x01
5156 #define _K18 0x01
5157 #define _PID1K19 0x02
5158 #define _K19 0x02
5159 #define _PID1K110 0x04
5160 #define _K110 0x04
5161 #define _PID1K111 0x08
5162 #define _K111 0x08
5163 #define _PID1K112 0x10
5164 #define _K112 0x10
5165 #define _PID1K113 0x20
5166 #define _K113 0x20
5167 #define _PID1K114 0x40
5168 #define _K114 0x40
5169 #define _PID1K115 0x80
5170 #define _K115 0x80
5172 //==============================================================================
5174 extern __at(0x0592) __sfr PID1K2;
5176 //==============================================================================
5177 // PID1K2L Bits
5179 extern __at(0x0592) __sfr PID1K2L;
5181 typedef union
5183 struct
5185 unsigned PID1K20 : 1;
5186 unsigned PID1K21 : 1;
5187 unsigned PID1K22 : 1;
5188 unsigned PID1K23 : 1;
5189 unsigned PID1K24 : 1;
5190 unsigned PID1K25 : 1;
5191 unsigned PID1K26 : 1;
5192 unsigned PID1K27 : 1;
5195 struct
5197 unsigned K20 : 1;
5198 unsigned K21 : 1;
5199 unsigned K22 : 1;
5200 unsigned K23 : 1;
5201 unsigned K24 : 1;
5202 unsigned K25 : 1;
5203 unsigned K26 : 1;
5204 unsigned K27 : 1;
5206 } __PID1K2Lbits_t;
5208 extern __at(0x0592) volatile __PID1K2Lbits_t PID1K2Lbits;
5210 #define _PID1K20 0x01
5211 #define _K20 0x01
5212 #define _PID1K21 0x02
5213 #define _K21 0x02
5214 #define _PID1K22 0x04
5215 #define _K22 0x04
5216 #define _PID1K23 0x08
5217 #define _K23 0x08
5218 #define _PID1K24 0x10
5219 #define _K24 0x10
5220 #define _PID1K25 0x20
5221 #define _K25 0x20
5222 #define _PID1K26 0x40
5223 #define _K26 0x40
5224 #define _PID1K27 0x80
5225 #define _K27 0x80
5227 //==============================================================================
5230 //==============================================================================
5231 // PID1K2H Bits
5233 extern __at(0x0593) __sfr PID1K2H;
5235 typedef union
5237 struct
5239 unsigned PID1K28 : 1;
5240 unsigned PID1K29 : 1;
5241 unsigned PID1K210 : 1;
5242 unsigned PID1K211 : 1;
5243 unsigned PID1K212 : 1;
5244 unsigned PID1K213 : 1;
5245 unsigned PID1K214 : 1;
5246 unsigned PID1K215 : 1;
5249 struct
5251 unsigned K28 : 1;
5252 unsigned K29 : 1;
5253 unsigned K210 : 1;
5254 unsigned K211 : 1;
5255 unsigned K212 : 1;
5256 unsigned K213 : 1;
5257 unsigned K214 : 1;
5258 unsigned K215 : 1;
5260 } __PID1K2Hbits_t;
5262 extern __at(0x0593) volatile __PID1K2Hbits_t PID1K2Hbits;
5264 #define _PID1K28 0x01
5265 #define _K28 0x01
5266 #define _PID1K29 0x02
5267 #define _K29 0x02
5268 #define _PID1K210 0x04
5269 #define _K210 0x04
5270 #define _PID1K211 0x08
5271 #define _K211 0x08
5272 #define _PID1K212 0x10
5273 #define _K212 0x10
5274 #define _PID1K213 0x20
5275 #define _K213 0x20
5276 #define _PID1K214 0x40
5277 #define _K214 0x40
5278 #define _PID1K215 0x80
5279 #define _K215 0x80
5281 //==============================================================================
5283 extern __at(0x0594) __sfr PID1K3;
5285 //==============================================================================
5286 // PID1K3L Bits
5288 extern __at(0x0594) __sfr PID1K3L;
5290 typedef union
5292 struct
5294 unsigned PID1K30 : 1;
5295 unsigned PID1K31 : 1;
5296 unsigned PID1K32 : 1;
5297 unsigned PID1K33 : 1;
5298 unsigned PID1K34 : 1;
5299 unsigned PID1K35 : 1;
5300 unsigned PID1K36 : 1;
5301 unsigned PID1K37 : 1;
5304 struct
5306 unsigned K30 : 1;
5307 unsigned K31 : 1;
5308 unsigned K32 : 1;
5309 unsigned K33 : 1;
5310 unsigned K34 : 1;
5311 unsigned K35 : 1;
5312 unsigned K36 : 1;
5313 unsigned K37 : 1;
5315 } __PID1K3Lbits_t;
5317 extern __at(0x0594) volatile __PID1K3Lbits_t PID1K3Lbits;
5319 #define _PID1K30 0x01
5320 #define _K30 0x01
5321 #define _PID1K31 0x02
5322 #define _K31 0x02
5323 #define _PID1K32 0x04
5324 #define _K32 0x04
5325 #define _PID1K33 0x08
5326 #define _K33 0x08
5327 #define _PID1K34 0x10
5328 #define _K34 0x10
5329 #define _PID1K35 0x20
5330 #define _K35 0x20
5331 #define _PID1K36 0x40
5332 #define _K36 0x40
5333 #define _PID1K37 0x80
5334 #define _K37 0x80
5336 //==============================================================================
5339 //==============================================================================
5340 // PID1K3H Bits
5342 extern __at(0x0595) __sfr PID1K3H;
5344 typedef union
5346 struct
5348 unsigned PID1K38 : 1;
5349 unsigned PID1K39 : 1;
5350 unsigned PID1K310 : 1;
5351 unsigned PID1K311 : 1;
5352 unsigned PID1K312 : 1;
5353 unsigned PID1K313 : 1;
5354 unsigned PID1K314 : 1;
5355 unsigned PID1K315 : 1;
5358 struct
5360 unsigned K38 : 1;
5361 unsigned K39 : 1;
5362 unsigned K310 : 1;
5363 unsigned K311 : 1;
5364 unsigned K312 : 1;
5365 unsigned K313 : 1;
5366 unsigned K314 : 1;
5367 unsigned K315 : 1;
5369 } __PID1K3Hbits_t;
5371 extern __at(0x0595) volatile __PID1K3Hbits_t PID1K3Hbits;
5373 #define _PID1K38 0x01
5374 #define _K38 0x01
5375 #define _PID1K39 0x02
5376 #define _K39 0x02
5377 #define _PID1K310 0x04
5378 #define _K310 0x04
5379 #define _PID1K311 0x08
5380 #define _K311 0x08
5381 #define _PID1K312 0x10
5382 #define _K312 0x10
5383 #define _PID1K313 0x20
5384 #define _K313 0x20
5385 #define _PID1K314 0x40
5386 #define _K314 0x40
5387 #define _PID1K315 0x80
5388 #define _K315 0x80
5390 //==============================================================================
5392 extern __at(0x0596) __sfr PID1OUT;
5394 //==============================================================================
5395 // PID1OUTLL Bits
5397 extern __at(0x0596) __sfr PID1OUTLL;
5399 typedef union
5401 struct
5403 unsigned PID1OUT0 : 1;
5404 unsigned PID1OUT1 : 1;
5405 unsigned PID1OUT2 : 1;
5406 unsigned PID1OUT3 : 1;
5407 unsigned PID1OUT4 : 1;
5408 unsigned PID1OUT5 : 1;
5409 unsigned PID1OUT6 : 1;
5410 unsigned PID1OUT7 : 1;
5413 struct
5415 unsigned OUT0 : 1;
5416 unsigned OUT1 : 1;
5417 unsigned OUT2 : 1;
5418 unsigned OUT3 : 1;
5419 unsigned OUT4 : 1;
5420 unsigned OUT5 : 1;
5421 unsigned OUT6 : 1;
5422 unsigned OUT7 : 1;
5424 } __PID1OUTLLbits_t;
5426 extern __at(0x0596) volatile __PID1OUTLLbits_t PID1OUTLLbits;
5428 #define _PID1OUT0 0x01
5429 #define _OUT0 0x01
5430 #define _PID1OUT1 0x02
5431 #define _OUT1 0x02
5432 #define _PID1OUT2 0x04
5433 #define _OUT2 0x04
5434 #define _PID1OUT3 0x08
5435 #define _OUT3 0x08
5436 #define _PID1OUT4 0x10
5437 #define _OUT4 0x10
5438 #define _PID1OUT5 0x20
5439 #define _OUT5 0x20
5440 #define _PID1OUT6 0x40
5441 #define _OUT6 0x40
5442 #define _PID1OUT7 0x80
5443 #define _OUT7 0x80
5445 //==============================================================================
5448 //==============================================================================
5449 // PID1OUTLH Bits
5451 extern __at(0x0597) __sfr PID1OUTLH;
5453 typedef union
5455 struct
5457 unsigned PID1OUT8 : 1;
5458 unsigned PID1OUT9 : 1;
5459 unsigned PID1OUT10 : 1;
5460 unsigned PID1OUT11 : 1;
5461 unsigned PID1OUT12 : 1;
5462 unsigned PID1OUT13 : 1;
5463 unsigned PID1OUT14 : 1;
5464 unsigned PID1OUT15 : 1;
5467 struct
5469 unsigned OUT8 : 1;
5470 unsigned OUT9 : 1;
5471 unsigned OUT10 : 1;
5472 unsigned OUT11 : 1;
5473 unsigned OUT12 : 1;
5474 unsigned OUT13 : 1;
5475 unsigned OUT14 : 1;
5476 unsigned OUT15 : 1;
5478 } __PID1OUTLHbits_t;
5480 extern __at(0x0597) volatile __PID1OUTLHbits_t PID1OUTLHbits;
5482 #define _PID1OUT8 0x01
5483 #define _OUT8 0x01
5484 #define _PID1OUT9 0x02
5485 #define _OUT9 0x02
5486 #define _PID1OUT10 0x04
5487 #define _OUT10 0x04
5488 #define _PID1OUT11 0x08
5489 #define _OUT11 0x08
5490 #define _PID1OUT12 0x10
5491 #define _OUT12 0x10
5492 #define _PID1OUT13 0x20
5493 #define _OUT13 0x20
5494 #define _PID1OUT14 0x40
5495 #define _OUT14 0x40
5496 #define _PID1OUT15 0x80
5497 #define _OUT15 0x80
5499 //==============================================================================
5502 //==============================================================================
5503 // PID1OUTHL Bits
5505 extern __at(0x0598) __sfr PID1OUTHL;
5507 typedef union
5509 struct
5511 unsigned PID1OUT16 : 1;
5512 unsigned PID1OUT17 : 1;
5513 unsigned PID1OUT18 : 1;
5514 unsigned PID1OUT19 : 1;
5515 unsigned PID1OUT20 : 1;
5516 unsigned PID1OUT21 : 1;
5517 unsigned PID1OUT22 : 1;
5518 unsigned PID1OUT23 : 1;
5521 struct
5523 unsigned OUT16 : 1;
5524 unsigned OUT17 : 1;
5525 unsigned OUT18 : 1;
5526 unsigned OUT19 : 1;
5527 unsigned OUT20 : 1;
5528 unsigned OUT21 : 1;
5529 unsigned OUT22 : 1;
5530 unsigned OUT23 : 1;
5532 } __PID1OUTHLbits_t;
5534 extern __at(0x0598) volatile __PID1OUTHLbits_t PID1OUTHLbits;
5536 #define _PID1OUT16 0x01
5537 #define _OUT16 0x01
5538 #define _PID1OUT17 0x02
5539 #define _OUT17 0x02
5540 #define _PID1OUT18 0x04
5541 #define _OUT18 0x04
5542 #define _PID1OUT19 0x08
5543 #define _OUT19 0x08
5544 #define _PID1OUT20 0x10
5545 #define _OUT20 0x10
5546 #define _PID1OUT21 0x20
5547 #define _OUT21 0x20
5548 #define _PID1OUT22 0x40
5549 #define _OUT22 0x40
5550 #define _PID1OUT23 0x80
5551 #define _OUT23 0x80
5553 //==============================================================================
5556 //==============================================================================
5557 // PID1OUTHH Bits
5559 extern __at(0x0599) __sfr PID1OUTHH;
5561 typedef union
5563 struct
5565 unsigned PID1OUT24 : 1;
5566 unsigned PID1OUT25 : 1;
5567 unsigned PID1OUT26 : 1;
5568 unsigned PID1OUT27 : 1;
5569 unsigned PID1OUT28 : 1;
5570 unsigned PID1OUT29 : 1;
5571 unsigned PID1OUT30 : 1;
5572 unsigned PID1OUT31 : 1;
5575 struct
5577 unsigned OUT24 : 1;
5578 unsigned OUT25 : 1;
5579 unsigned OUT26 : 1;
5580 unsigned OUT27 : 1;
5581 unsigned OUT28 : 1;
5582 unsigned OUT29 : 1;
5583 unsigned OUT30 : 1;
5584 unsigned OUT31 : 1;
5586 } __PID1OUTHHbits_t;
5588 extern __at(0x0599) volatile __PID1OUTHHbits_t PID1OUTHHbits;
5590 #define _PID1OUT24 0x01
5591 #define _OUT24 0x01
5592 #define _PID1OUT25 0x02
5593 #define _OUT25 0x02
5594 #define _PID1OUT26 0x04
5595 #define _OUT26 0x04
5596 #define _PID1OUT27 0x08
5597 #define _OUT27 0x08
5598 #define _PID1OUT28 0x10
5599 #define _OUT28 0x10
5600 #define _PID1OUT29 0x20
5601 #define _OUT29 0x20
5602 #define _PID1OUT30 0x40
5603 #define _OUT30 0x40
5604 #define _PID1OUT31 0x80
5605 #define _OUT31 0x80
5607 //==============================================================================
5610 //==============================================================================
5611 // PID1OUTU Bits
5613 extern __at(0x059A) __sfr PID1OUTU;
5615 typedef union
5617 struct
5619 unsigned PID1OUT32 : 1;
5620 unsigned PID1OUT33 : 1;
5621 unsigned PID1OUT34 : 1;
5622 unsigned PID1OUT35 : 1;
5623 unsigned : 1;
5624 unsigned : 1;
5625 unsigned : 1;
5626 unsigned : 1;
5629 struct
5631 unsigned OUT32 : 1;
5632 unsigned OUT33 : 1;
5633 unsigned OUT34 : 1;
5634 unsigned OUT35 : 1;
5635 unsigned : 1;
5636 unsigned : 1;
5637 unsigned : 1;
5638 unsigned : 1;
5640 } __PID1OUTUbits_t;
5642 extern __at(0x059A) volatile __PID1OUTUbits_t PID1OUTUbits;
5644 #define _PID1OUT32 0x01
5645 #define _OUT32 0x01
5646 #define _PID1OUT33 0x02
5647 #define _OUT33 0x02
5648 #define _PID1OUT34 0x04
5649 #define _OUT34 0x04
5650 #define _PID1OUT35 0x08
5651 #define _OUT35 0x08
5653 //==============================================================================
5655 extern __at(0x059B) __sfr PID1Z1;
5657 //==============================================================================
5658 // PID1Z1L Bits
5660 extern __at(0x059B) __sfr PID1Z1L;
5662 typedef union
5664 struct
5666 unsigned PID1Z10 : 1;
5667 unsigned PID1Z11 : 1;
5668 unsigned PID1Z12 : 1;
5669 unsigned PID1Z13 : 1;
5670 unsigned PID1Z14 : 1;
5671 unsigned PID1Z15 : 1;
5672 unsigned PID1Z16 : 1;
5673 unsigned PID1Z17 : 1;
5676 struct
5678 unsigned Z10 : 1;
5679 unsigned Z11 : 1;
5680 unsigned Z12 : 1;
5681 unsigned Z13 : 1;
5682 unsigned Z14 : 1;
5683 unsigned Z15 : 1;
5684 unsigned Z16 : 1;
5685 unsigned Z17 : 1;
5687 } __PID1Z1Lbits_t;
5689 extern __at(0x059B) volatile __PID1Z1Lbits_t PID1Z1Lbits;
5691 #define _PID1Z10 0x01
5692 #define _Z10 0x01
5693 #define _PID1Z11 0x02
5694 #define _Z11 0x02
5695 #define _PID1Z12 0x04
5696 #define _Z12 0x04
5697 #define _PID1Z13 0x08
5698 #define _Z13 0x08
5699 #define _PID1Z14 0x10
5700 #define _Z14 0x10
5701 #define _PID1Z15 0x20
5702 #define _Z15 0x20
5703 #define _PID1Z16 0x40
5704 #define _Z16 0x40
5705 #define _PID1Z17 0x80
5706 #define _Z17 0x80
5708 //==============================================================================
5711 //==============================================================================
5712 // PID1Z1H Bits
5714 extern __at(0x059C) __sfr PID1Z1H;
5716 typedef union
5718 struct
5720 unsigned PID1Z18 : 1;
5721 unsigned PID1Z19 : 1;
5722 unsigned PID1Z110 : 1;
5723 unsigned PID1Z111 : 1;
5724 unsigned PID1Z112 : 1;
5725 unsigned PID1Z113 : 1;
5726 unsigned PID1Z114 : 1;
5727 unsigned PID1Z115 : 1;
5730 struct
5732 unsigned Z18 : 1;
5733 unsigned Z19 : 1;
5734 unsigned Z110 : 1;
5735 unsigned Z111 : 1;
5736 unsigned Z112 : 1;
5737 unsigned Z113 : 1;
5738 unsigned Z114 : 1;
5739 unsigned Z115 : 1;
5741 } __PID1Z1Hbits_t;
5743 extern __at(0x059C) volatile __PID1Z1Hbits_t PID1Z1Hbits;
5745 #define _PID1Z18 0x01
5746 #define _Z18 0x01
5747 #define _PID1Z19 0x02
5748 #define _Z19 0x02
5749 #define _PID1Z110 0x04
5750 #define _Z110 0x04
5751 #define _PID1Z111 0x08
5752 #define _Z111 0x08
5753 #define _PID1Z112 0x10
5754 #define _Z112 0x10
5755 #define _PID1Z113 0x20
5756 #define _Z113 0x20
5757 #define _PID1Z114 0x40
5758 #define _Z114 0x40
5759 #define _PID1Z115 0x80
5760 #define _Z115 0x80
5762 //==============================================================================
5765 //==============================================================================
5766 // PID1Z1U Bits
5768 extern __at(0x059D) __sfr PID1Z1U;
5770 typedef union
5772 struct
5774 unsigned PID1Z116 : 1;
5775 unsigned : 1;
5776 unsigned : 1;
5777 unsigned : 1;
5778 unsigned : 1;
5779 unsigned : 1;
5780 unsigned : 1;
5781 unsigned : 1;
5784 struct
5786 unsigned Z116 : 1;
5787 unsigned : 1;
5788 unsigned : 1;
5789 unsigned : 1;
5790 unsigned : 1;
5791 unsigned : 1;
5792 unsigned : 1;
5793 unsigned : 1;
5795 } __PID1Z1Ubits_t;
5797 extern __at(0x059D) volatile __PID1Z1Ubits_t PID1Z1Ubits;
5799 #define _PID1Z116 0x01
5800 #define _Z116 0x01
5802 //==============================================================================
5804 extern __at(0x060C) __sfr PID1Z2;
5806 //==============================================================================
5807 // PID1Z2L Bits
5809 extern __at(0x060C) __sfr PID1Z2L;
5811 typedef union
5813 struct
5815 unsigned PID1Z20 : 1;
5816 unsigned PID1Z21 : 1;
5817 unsigned PID1Z22 : 1;
5818 unsigned PID1Z23 : 1;
5819 unsigned PID1Z24 : 1;
5820 unsigned PID1Z25 : 1;
5821 unsigned PID1Z26 : 1;
5822 unsigned PID1Z27 : 1;
5825 struct
5827 unsigned Z20 : 1;
5828 unsigned Z21 : 1;
5829 unsigned Z22 : 1;
5830 unsigned Z23 : 1;
5831 unsigned Z24 : 1;
5832 unsigned Z25 : 1;
5833 unsigned Z26 : 1;
5834 unsigned Z27 : 1;
5836 } __PID1Z2Lbits_t;
5838 extern __at(0x060C) volatile __PID1Z2Lbits_t PID1Z2Lbits;
5840 #define _PID1Z20 0x01
5841 #define _Z20 0x01
5842 #define _PID1Z21 0x02
5843 #define _Z21 0x02
5844 #define _PID1Z22 0x04
5845 #define _Z22 0x04
5846 #define _PID1Z23 0x08
5847 #define _Z23 0x08
5848 #define _PID1Z24 0x10
5849 #define _Z24 0x10
5850 #define _PID1Z25 0x20
5851 #define _Z25 0x20
5852 #define _PID1Z26 0x40
5853 #define _Z26 0x40
5854 #define _PID1Z27 0x80
5855 #define _Z27 0x80
5857 //==============================================================================
5860 //==============================================================================
5861 // PID1Z2H Bits
5863 extern __at(0x060D) __sfr PID1Z2H;
5865 typedef union
5867 struct
5869 unsigned PID1Z28 : 1;
5870 unsigned PID1Z29 : 1;
5871 unsigned PID1Z210 : 1;
5872 unsigned PID1Z211 : 1;
5873 unsigned PID1Z212 : 1;
5874 unsigned PID1Z213 : 1;
5875 unsigned PID1Z214 : 1;
5876 unsigned PID1Z215 : 1;
5879 struct
5881 unsigned Z28 : 1;
5882 unsigned Z29 : 1;
5883 unsigned Z210 : 1;
5884 unsigned Z211 : 1;
5885 unsigned Z212 : 1;
5886 unsigned Z213 : 1;
5887 unsigned Z214 : 1;
5888 unsigned Z215 : 1;
5890 } __PID1Z2Hbits_t;
5892 extern __at(0x060D) volatile __PID1Z2Hbits_t PID1Z2Hbits;
5894 #define _PID1Z28 0x01
5895 #define _Z28 0x01
5896 #define _PID1Z29 0x02
5897 #define _Z29 0x02
5898 #define _PID1Z210 0x04
5899 #define _Z210 0x04
5900 #define _PID1Z211 0x08
5901 #define _Z211 0x08
5902 #define _PID1Z212 0x10
5903 #define _Z212 0x10
5904 #define _PID1Z213 0x20
5905 #define _Z213 0x20
5906 #define _PID1Z214 0x40
5907 #define _Z214 0x40
5908 #define _PID1Z215 0x80
5909 #define _Z215 0x80
5911 //==============================================================================
5914 //==============================================================================
5915 // PID1Z2U Bits
5917 extern __at(0x060E) __sfr PID1Z2U;
5919 typedef union
5921 struct
5923 unsigned PID1Z216 : 1;
5924 unsigned : 1;
5925 unsigned : 1;
5926 unsigned : 1;
5927 unsigned : 1;
5928 unsigned : 1;
5929 unsigned : 1;
5930 unsigned : 1;
5933 struct
5935 unsigned Z216 : 1;
5936 unsigned : 1;
5937 unsigned : 1;
5938 unsigned : 1;
5939 unsigned : 1;
5940 unsigned : 1;
5941 unsigned : 1;
5942 unsigned : 1;
5944 } __PID1Z2Ubits_t;
5946 extern __at(0x060E) volatile __PID1Z2Ubits_t PID1Z2Ubits;
5948 #define _PID1Z216 0x01
5949 #define _Z216 0x01
5951 //==============================================================================
5953 extern __at(0x060F) __sfr PID1ACC;
5955 //==============================================================================
5956 // PID1ACCLL Bits
5958 extern __at(0x060F) __sfr PID1ACCLL;
5960 typedef union
5962 struct
5964 unsigned PID1ACC0 : 1;
5965 unsigned PID1ACC1 : 1;
5966 unsigned PID1ACC2 : 1;
5967 unsigned PID1ACC3 : 1;
5968 unsigned PID1ACC4 : 1;
5969 unsigned PID1ACC5 : 1;
5970 unsigned PID1ACC6 : 1;
5971 unsigned PID1ACC7 : 1;
5974 struct
5976 unsigned ACC0 : 1;
5977 unsigned ACC1 : 1;
5978 unsigned ACC2 : 1;
5979 unsigned ACC3 : 1;
5980 unsigned ACC4 : 1;
5981 unsigned ACC5 : 1;
5982 unsigned ACC6 : 1;
5983 unsigned ACC7 : 1;
5985 } __PID1ACCLLbits_t;
5987 extern __at(0x060F) volatile __PID1ACCLLbits_t PID1ACCLLbits;
5989 #define _PID1ACCLL_PID1ACC0 0x01
5990 #define _PID1ACCLL_ACC0 0x01
5991 #define _PID1ACCLL_PID1ACC1 0x02
5992 #define _PID1ACCLL_ACC1 0x02
5993 #define _PID1ACCLL_PID1ACC2 0x04
5994 #define _PID1ACCLL_ACC2 0x04
5995 #define _PID1ACCLL_PID1ACC3 0x08
5996 #define _PID1ACCLL_ACC3 0x08
5997 #define _PID1ACCLL_PID1ACC4 0x10
5998 #define _PID1ACCLL_ACC4 0x10
5999 #define _PID1ACCLL_PID1ACC5 0x20
6000 #define _PID1ACCLL_ACC5 0x20
6001 #define _PID1ACCLL_PID1ACC6 0x40
6002 #define _PID1ACCLL_ACC6 0x40
6003 #define _PID1ACCLL_PID1ACC7 0x80
6004 #define _PID1ACCLL_ACC7 0x80
6006 //==============================================================================
6009 //==============================================================================
6010 // PID1ACCLH Bits
6012 extern __at(0x0610) __sfr PID1ACCLH;
6014 typedef union
6016 struct
6018 unsigned PID1ACC8 : 1;
6019 unsigned PID1ACC9 : 1;
6020 unsigned PID1ACC10 : 1;
6021 unsigned PID1ACC11 : 1;
6022 unsigned PID1ACC12 : 1;
6023 unsigned PID1ACC13 : 1;
6024 unsigned PID1ACC14 : 1;
6025 unsigned PID1ACC15 : 1;
6028 struct
6030 unsigned ACC8 : 1;
6031 unsigned ACC9 : 1;
6032 unsigned ACC10 : 1;
6033 unsigned ACC11 : 1;
6034 unsigned ACC12 : 1;
6035 unsigned ACC13 : 1;
6036 unsigned ACC14 : 1;
6037 unsigned ACC15 : 1;
6039 } __PID1ACCLHbits_t;
6041 extern __at(0x0610) volatile __PID1ACCLHbits_t PID1ACCLHbits;
6043 #define _PID1ACCLH_PID1ACC8 0x01
6044 #define _PID1ACCLH_ACC8 0x01
6045 #define _PID1ACCLH_PID1ACC9 0x02
6046 #define _PID1ACCLH_ACC9 0x02
6047 #define _PID1ACCLH_PID1ACC10 0x04
6048 #define _PID1ACCLH_ACC10 0x04
6049 #define _PID1ACCLH_PID1ACC11 0x08
6050 #define _PID1ACCLH_ACC11 0x08
6051 #define _PID1ACCLH_PID1ACC12 0x10
6052 #define _PID1ACCLH_ACC12 0x10
6053 #define _PID1ACCLH_PID1ACC13 0x20
6054 #define _PID1ACCLH_ACC13 0x20
6055 #define _PID1ACCLH_PID1ACC14 0x40
6056 #define _PID1ACCLH_ACC14 0x40
6057 #define _PID1ACCLH_PID1ACC15 0x80
6058 #define _PID1ACCLH_ACC15 0x80
6060 //==============================================================================
6063 //==============================================================================
6064 // PID1ACCHL Bits
6066 extern __at(0x0611) __sfr PID1ACCHL;
6068 typedef union
6070 struct
6072 unsigned PID1ACC16 : 1;
6073 unsigned PID1ACC17 : 1;
6074 unsigned PID1ACC18 : 1;
6075 unsigned PID1ACC19 : 1;
6076 unsigned PID1ACC20 : 1;
6077 unsigned PID1ACC21 : 1;
6078 unsigned PID1ACC22 : 1;
6079 unsigned PID1ACC23 : 1;
6082 struct
6084 unsigned ACC16 : 1;
6085 unsigned ACC17 : 1;
6086 unsigned ACC18 : 1;
6087 unsigned ACC19 : 1;
6088 unsigned ACC20 : 1;
6089 unsigned ACC21 : 1;
6090 unsigned ACC22 : 1;
6091 unsigned ACC23 : 1;
6093 } __PID1ACCHLbits_t;
6095 extern __at(0x0611) volatile __PID1ACCHLbits_t PID1ACCHLbits;
6097 #define _PID1ACC16 0x01
6098 #define _ACC16 0x01
6099 #define _PID1ACC17 0x02
6100 #define _ACC17 0x02
6101 #define _PID1ACC18 0x04
6102 #define _ACC18 0x04
6103 #define _PID1ACC19 0x08
6104 #define _ACC19 0x08
6105 #define _PID1ACC20 0x10
6106 #define _ACC20 0x10
6107 #define _PID1ACC21 0x20
6108 #define _ACC21 0x20
6109 #define _PID1ACC22 0x40
6110 #define _ACC22 0x40
6111 #define _PID1ACC23 0x80
6112 #define _ACC23 0x80
6114 //==============================================================================
6117 //==============================================================================
6118 // PID1ACCHH Bits
6120 extern __at(0x0612) __sfr PID1ACCHH;
6122 typedef union
6124 struct
6126 unsigned PID1ACC24 : 1;
6127 unsigned PID1ACC25 : 1;
6128 unsigned PID1ACC26 : 1;
6129 unsigned PID1ACC27 : 1;
6130 unsigned PID1ACC28 : 1;
6131 unsigned PID1ACC29 : 1;
6132 unsigned PID1ACC30 : 1;
6133 unsigned PID1ACC31 : 1;
6136 struct
6138 unsigned ACC24 : 1;
6139 unsigned ACC25 : 1;
6140 unsigned ACC26 : 1;
6141 unsigned ACC27 : 1;
6142 unsigned ACC28 : 1;
6143 unsigned ACC29 : 1;
6144 unsigned ACC30 : 1;
6145 unsigned ACC31 : 1;
6147 } __PID1ACCHHbits_t;
6149 extern __at(0x0612) volatile __PID1ACCHHbits_t PID1ACCHHbits;
6151 #define _PID1ACC24 0x01
6152 #define _ACC24 0x01
6153 #define _PID1ACC25 0x02
6154 #define _ACC25 0x02
6155 #define _PID1ACC26 0x04
6156 #define _ACC26 0x04
6157 #define _PID1ACC27 0x08
6158 #define _ACC27 0x08
6159 #define _PID1ACC28 0x10
6160 #define _ACC28 0x10
6161 #define _PID1ACC29 0x20
6162 #define _ACC29 0x20
6163 #define _PID1ACC30 0x40
6164 #define _ACC30 0x40
6165 #define _PID1ACC31 0x80
6166 #define _ACC31 0x80
6168 //==============================================================================
6171 //==============================================================================
6172 // PID1ACCU Bits
6174 extern __at(0x0613) __sfr PID1ACCU;
6176 typedef union
6178 struct
6180 unsigned PID1ACC32 : 1;
6181 unsigned PID1ACC33 : 1;
6182 unsigned PID1ACC34 : 1;
6183 unsigned : 1;
6184 unsigned : 1;
6185 unsigned : 1;
6186 unsigned : 1;
6187 unsigned : 1;
6190 struct
6192 unsigned ACC32 : 1;
6193 unsigned ACC33 : 1;
6194 unsigned ACC34 : 1;
6195 unsigned : 1;
6196 unsigned : 1;
6197 unsigned : 1;
6198 unsigned : 1;
6199 unsigned : 1;
6201 } __PID1ACCUbits_t;
6203 extern __at(0x0613) volatile __PID1ACCUbits_t PID1ACCUbits;
6205 #define _PID1ACC32 0x01
6206 #define _ACC32 0x01
6207 #define _PID1ACC33 0x02
6208 #define _ACC33 0x02
6209 #define _PID1ACC34 0x04
6210 #define _ACC34 0x04
6212 //==============================================================================
6215 //==============================================================================
6216 // PID1CON Bits
6218 extern __at(0x0614) __sfr PID1CON;
6220 typedef union
6222 struct
6224 unsigned MODE0 : 1;
6225 unsigned MODE1 : 1;
6226 unsigned MODE2 : 1;
6227 unsigned : 1;
6228 unsigned : 1;
6229 unsigned : 1;
6230 unsigned PID1BUSY : 1;
6231 unsigned PID1EN : 1;
6234 struct
6236 unsigned PID1MODE0 : 1;
6237 unsigned PID1MODE1 : 1;
6238 unsigned PID1MODE2 : 1;
6239 unsigned : 1;
6240 unsigned : 1;
6241 unsigned : 1;
6242 unsigned BUSY : 1;
6243 unsigned EN : 1;
6246 struct
6248 unsigned PID1MODE : 3;
6249 unsigned : 5;
6252 struct
6254 unsigned MODE : 3;
6255 unsigned : 5;
6257 } __PID1CONbits_t;
6259 extern __at(0x0614) volatile __PID1CONbits_t PID1CONbits;
6261 #define _PID1CON_MODE0 0x01
6262 #define _PID1CON_PID1MODE0 0x01
6263 #define _PID1CON_MODE1 0x02
6264 #define _PID1CON_PID1MODE1 0x02
6265 #define _PID1CON_MODE2 0x04
6266 #define _PID1CON_PID1MODE2 0x04
6267 #define _PID1CON_PID1BUSY 0x40
6268 #define _PID1CON_BUSY 0x40
6269 #define _PID1CON_PID1EN 0x80
6270 #define _PID1CON_EN 0x80
6272 //==============================================================================
6275 //==============================================================================
6276 // PWM3DCL Bits
6278 extern __at(0x0617) __sfr PWM3DCL;
6280 typedef union
6282 struct
6284 unsigned : 1;
6285 unsigned : 1;
6286 unsigned : 1;
6287 unsigned : 1;
6288 unsigned : 1;
6289 unsigned : 1;
6290 unsigned DC0 : 1;
6291 unsigned DC1 : 1;
6294 struct
6296 unsigned : 1;
6297 unsigned : 1;
6298 unsigned : 1;
6299 unsigned : 1;
6300 unsigned : 1;
6301 unsigned : 1;
6302 unsigned PWM3DC0 : 1;
6303 unsigned PWM3DC1 : 1;
6306 struct
6308 unsigned : 1;
6309 unsigned : 1;
6310 unsigned : 1;
6311 unsigned : 1;
6312 unsigned : 1;
6313 unsigned : 1;
6314 unsigned PWMPW0 : 1;
6315 unsigned PWMPW1 : 1;
6318 struct
6320 unsigned : 6;
6321 unsigned DC : 2;
6324 struct
6326 unsigned : 6;
6327 unsigned PWM3DC : 2;
6330 struct
6332 unsigned : 6;
6333 unsigned PWMPW : 2;
6335 } __PWM3DCLbits_t;
6337 extern __at(0x0617) volatile __PWM3DCLbits_t PWM3DCLbits;
6339 #define _DC0 0x40
6340 #define _PWM3DC0 0x40
6341 #define _PWMPW0 0x40
6342 #define _DC1 0x80
6343 #define _PWM3DC1 0x80
6344 #define _PWMPW1 0x80
6346 //==============================================================================
6349 //==============================================================================
6350 // PWM3DCH Bits
6352 extern __at(0x0618) __sfr PWM3DCH;
6354 typedef union
6356 struct
6358 unsigned DC2 : 1;
6359 unsigned DC3 : 1;
6360 unsigned DC4 : 1;
6361 unsigned DC5 : 1;
6362 unsigned DC6 : 1;
6363 unsigned DC7 : 1;
6364 unsigned DC8 : 1;
6365 unsigned DC9 : 1;
6368 struct
6370 unsigned PWM3DC2 : 1;
6371 unsigned PWM3DC3 : 1;
6372 unsigned PWM3DC4 : 1;
6373 unsigned PWM3DC5 : 1;
6374 unsigned PWM3DC6 : 1;
6375 unsigned PWM3DC7 : 1;
6376 unsigned PWM3DC8 : 1;
6377 unsigned PWM3DC9 : 1;
6380 struct
6382 unsigned PWMPW2 : 1;
6383 unsigned PWMPW3 : 1;
6384 unsigned PWMPW4 : 1;
6385 unsigned PWMPW5 : 1;
6386 unsigned PWMPW6 : 1;
6387 unsigned PWMPW7 : 1;
6388 unsigned PWMPW8 : 1;
6389 unsigned PWMPW9 : 1;
6391 } __PWM3DCHbits_t;
6393 extern __at(0x0618) volatile __PWM3DCHbits_t PWM3DCHbits;
6395 #define _DC2 0x01
6396 #define _PWM3DC2 0x01
6397 #define _PWMPW2 0x01
6398 #define _DC3 0x02
6399 #define _PWM3DC3 0x02
6400 #define _PWMPW3 0x02
6401 #define _DC4 0x04
6402 #define _PWM3DC4 0x04
6403 #define _PWMPW4 0x04
6404 #define _DC5 0x08
6405 #define _PWM3DC5 0x08
6406 #define _PWMPW5 0x08
6407 #define _DC6 0x10
6408 #define _PWM3DC6 0x10
6409 #define _PWMPW6 0x10
6410 #define _DC7 0x20
6411 #define _PWM3DC7 0x20
6412 #define _PWMPW7 0x20
6413 #define _DC8 0x40
6414 #define _PWM3DC8 0x40
6415 #define _PWMPW8 0x40
6416 #define _DC9 0x80
6417 #define _PWM3DC9 0x80
6418 #define _PWMPW9 0x80
6420 //==============================================================================
6423 //==============================================================================
6424 // PWM3CON Bits
6426 extern __at(0x0619) __sfr PWM3CON;
6428 typedef union
6430 struct
6432 unsigned : 1;
6433 unsigned : 1;
6434 unsigned : 1;
6435 unsigned : 1;
6436 unsigned POL : 1;
6437 unsigned OUT : 1;
6438 unsigned : 1;
6439 unsigned EN : 1;
6442 struct
6444 unsigned : 1;
6445 unsigned : 1;
6446 unsigned : 1;
6447 unsigned : 1;
6448 unsigned PWM3POL : 1;
6449 unsigned PWM3OUT : 1;
6450 unsigned : 1;
6451 unsigned PWM3EN : 1;
6453 } __PWM3CONbits_t;
6455 extern __at(0x0619) volatile __PWM3CONbits_t PWM3CONbits;
6457 #define _PWM3CON_POL 0x10
6458 #define _PWM3CON_PWM3POL 0x10
6459 #define _PWM3CON_OUT 0x20
6460 #define _PWM3CON_PWM3OUT 0x20
6461 #define _PWM3CON_EN 0x80
6462 #define _PWM3CON_PWM3EN 0x80
6464 //==============================================================================
6467 //==============================================================================
6468 // PWM4DCL Bits
6470 extern __at(0x061A) __sfr PWM4DCL;
6472 typedef union
6474 struct
6476 unsigned : 1;
6477 unsigned : 1;
6478 unsigned : 1;
6479 unsigned : 1;
6480 unsigned : 1;
6481 unsigned : 1;
6482 unsigned DC0 : 1;
6483 unsigned DC1 : 1;
6486 struct
6488 unsigned : 1;
6489 unsigned : 1;
6490 unsigned : 1;
6491 unsigned : 1;
6492 unsigned : 1;
6493 unsigned : 1;
6494 unsigned PWM4DC0 : 1;
6495 unsigned PWM4DC1 : 1;
6498 struct
6500 unsigned : 1;
6501 unsigned : 1;
6502 unsigned : 1;
6503 unsigned : 1;
6504 unsigned : 1;
6505 unsigned : 1;
6506 unsigned PWMPW0 : 1;
6507 unsigned PWMPW1 : 1;
6510 struct
6512 unsigned : 6;
6513 unsigned PWMPW : 2;
6516 struct
6518 unsigned : 6;
6519 unsigned DC : 2;
6522 struct
6524 unsigned : 6;
6525 unsigned PWM4DC : 2;
6527 } __PWM4DCLbits_t;
6529 extern __at(0x061A) volatile __PWM4DCLbits_t PWM4DCLbits;
6531 #define _PWM4DCL_DC0 0x40
6532 #define _PWM4DCL_PWM4DC0 0x40
6533 #define _PWM4DCL_PWMPW0 0x40
6534 #define _PWM4DCL_DC1 0x80
6535 #define _PWM4DCL_PWM4DC1 0x80
6536 #define _PWM4DCL_PWMPW1 0x80
6538 //==============================================================================
6541 //==============================================================================
6542 // PWM4DCH Bits
6544 extern __at(0x061B) __sfr PWM4DCH;
6546 typedef union
6548 struct
6550 unsigned DC2 : 1;
6551 unsigned DC3 : 1;
6552 unsigned DC4 : 1;
6553 unsigned DC5 : 1;
6554 unsigned DC6 : 1;
6555 unsigned DC7 : 1;
6556 unsigned DC8 : 1;
6557 unsigned DC9 : 1;
6560 struct
6562 unsigned PWM4DC2 : 1;
6563 unsigned PWM4DC3 : 1;
6564 unsigned PWM4DC4 : 1;
6565 unsigned PWM4DC5 : 1;
6566 unsigned PWM4DC6 : 1;
6567 unsigned PWM4DC7 : 1;
6568 unsigned PWM4DC8 : 1;
6569 unsigned PWM4DC9 : 1;
6572 struct
6574 unsigned PWMPW2 : 1;
6575 unsigned PWMPW3 : 1;
6576 unsigned PWMPW4 : 1;
6577 unsigned PWMPW5 : 1;
6578 unsigned PWMPW6 : 1;
6579 unsigned PWMPW7 : 1;
6580 unsigned PWMPW8 : 1;
6581 unsigned PWMPW9 : 1;
6583 } __PWM4DCHbits_t;
6585 extern __at(0x061B) volatile __PWM4DCHbits_t PWM4DCHbits;
6587 #define _PWM4DCH_DC2 0x01
6588 #define _PWM4DCH_PWM4DC2 0x01
6589 #define _PWM4DCH_PWMPW2 0x01
6590 #define _PWM4DCH_DC3 0x02
6591 #define _PWM4DCH_PWM4DC3 0x02
6592 #define _PWM4DCH_PWMPW3 0x02
6593 #define _PWM4DCH_DC4 0x04
6594 #define _PWM4DCH_PWM4DC4 0x04
6595 #define _PWM4DCH_PWMPW4 0x04
6596 #define _PWM4DCH_DC5 0x08
6597 #define _PWM4DCH_PWM4DC5 0x08
6598 #define _PWM4DCH_PWMPW5 0x08
6599 #define _PWM4DCH_DC6 0x10
6600 #define _PWM4DCH_PWM4DC6 0x10
6601 #define _PWM4DCH_PWMPW6 0x10
6602 #define _PWM4DCH_DC7 0x20
6603 #define _PWM4DCH_PWM4DC7 0x20
6604 #define _PWM4DCH_PWMPW7 0x20
6605 #define _PWM4DCH_DC8 0x40
6606 #define _PWM4DCH_PWM4DC8 0x40
6607 #define _PWM4DCH_PWMPW8 0x40
6608 #define _PWM4DCH_DC9 0x80
6609 #define _PWM4DCH_PWM4DC9 0x80
6610 #define _PWM4DCH_PWMPW9 0x80
6612 //==============================================================================
6615 //==============================================================================
6616 // PWM4CON Bits
6618 extern __at(0x061C) __sfr PWM4CON;
6620 typedef union
6622 struct
6624 unsigned : 1;
6625 unsigned : 1;
6626 unsigned : 1;
6627 unsigned : 1;
6628 unsigned POL : 1;
6629 unsigned OUT : 1;
6630 unsigned : 1;
6631 unsigned EN : 1;
6634 struct
6636 unsigned : 1;
6637 unsigned : 1;
6638 unsigned : 1;
6639 unsigned : 1;
6640 unsigned PWM4POL : 1;
6641 unsigned PWM4OUT : 1;
6642 unsigned : 1;
6643 unsigned PWM4EN : 1;
6645 } __PWM4CONbits_t;
6647 extern __at(0x061C) volatile __PWM4CONbits_t PWM4CONbits;
6649 #define _PWM4CON_POL 0x10
6650 #define _PWM4CON_PWM4POL 0x10
6651 #define _PWM4CON_OUT 0x20
6652 #define _PWM4CON_PWM4OUT 0x20
6653 #define _PWM4CON_EN 0x80
6654 #define _PWM4CON_PWM4EN 0x80
6656 //==============================================================================
6659 //==============================================================================
6660 // CWG1DBR Bits
6662 extern __at(0x0691) __sfr CWG1DBR;
6664 typedef union
6666 struct
6668 unsigned DBR0 : 1;
6669 unsigned DBR1 : 1;
6670 unsigned DBR2 : 1;
6671 unsigned DBR3 : 1;
6672 unsigned DBR4 : 1;
6673 unsigned DBR5 : 1;
6674 unsigned : 1;
6675 unsigned : 1;
6678 struct
6680 unsigned CWG1DBR0 : 1;
6681 unsigned CWG1DBR1 : 1;
6682 unsigned CWG1DBR2 : 1;
6683 unsigned CWG1DBR3 : 1;
6684 unsigned CWG1DBR4 : 1;
6685 unsigned CWG1DBR5 : 1;
6686 unsigned : 1;
6687 unsigned : 1;
6690 struct
6692 unsigned CWG1DBR : 6;
6693 unsigned : 2;
6696 struct
6698 unsigned DBR : 6;
6699 unsigned : 2;
6701 } __CWG1DBRbits_t;
6703 extern __at(0x0691) volatile __CWG1DBRbits_t CWG1DBRbits;
6705 #define _DBR0 0x01
6706 #define _CWG1DBR0 0x01
6707 #define _DBR1 0x02
6708 #define _CWG1DBR1 0x02
6709 #define _DBR2 0x04
6710 #define _CWG1DBR2 0x04
6711 #define _DBR3 0x08
6712 #define _CWG1DBR3 0x08
6713 #define _DBR4 0x10
6714 #define _CWG1DBR4 0x10
6715 #define _DBR5 0x20
6716 #define _CWG1DBR5 0x20
6718 //==============================================================================
6721 //==============================================================================
6722 // CWG1DBF Bits
6724 extern __at(0x0692) __sfr CWG1DBF;
6726 typedef union
6728 struct
6730 unsigned DBF0 : 1;
6731 unsigned DBF1 : 1;
6732 unsigned DBF2 : 1;
6733 unsigned DBF3 : 1;
6734 unsigned DBF4 : 1;
6735 unsigned DBF5 : 1;
6736 unsigned : 1;
6737 unsigned : 1;
6740 struct
6742 unsigned CWG1DBF0 : 1;
6743 unsigned CWG1DBF1 : 1;
6744 unsigned CWG1DBF2 : 1;
6745 unsigned CWG1DBF3 : 1;
6746 unsigned CWG1DBF4 : 1;
6747 unsigned CWG1DBF5 : 1;
6748 unsigned : 1;
6749 unsigned : 1;
6752 struct
6754 unsigned DBF : 6;
6755 unsigned : 2;
6758 struct
6760 unsigned CWG1DBF : 6;
6761 unsigned : 2;
6763 } __CWG1DBFbits_t;
6765 extern __at(0x0692) volatile __CWG1DBFbits_t CWG1DBFbits;
6767 #define _DBF0 0x01
6768 #define _CWG1DBF0 0x01
6769 #define _DBF1 0x02
6770 #define _CWG1DBF1 0x02
6771 #define _DBF2 0x04
6772 #define _CWG1DBF2 0x04
6773 #define _DBF3 0x08
6774 #define _CWG1DBF3 0x08
6775 #define _DBF4 0x10
6776 #define _CWG1DBF4 0x10
6777 #define _DBF5 0x20
6778 #define _CWG1DBF5 0x20
6780 //==============================================================================
6783 //==============================================================================
6784 // CWG1AS0 Bits
6786 extern __at(0x0693) __sfr CWG1AS0;
6788 typedef union
6790 struct
6792 unsigned : 1;
6793 unsigned : 1;
6794 unsigned LSAC0 : 1;
6795 unsigned LSAC1 : 1;
6796 unsigned LSBD0 : 1;
6797 unsigned LSBD1 : 1;
6798 unsigned REN : 1;
6799 unsigned SHUTDOWN : 1;
6802 struct
6804 unsigned : 1;
6805 unsigned : 1;
6806 unsigned CWG1LSAC0 : 1;
6807 unsigned CWG1LSAC1 : 1;
6808 unsigned CWG1LSBD0 : 1;
6809 unsigned CWG1LSBD1 : 1;
6810 unsigned CWG1REN : 1;
6811 unsigned CWG1SHUTDOWN : 1;
6814 struct
6816 unsigned : 2;
6817 unsigned LSAC : 2;
6818 unsigned : 4;
6821 struct
6823 unsigned : 2;
6824 unsigned CWG1LSAC : 2;
6825 unsigned : 4;
6828 struct
6830 unsigned : 4;
6831 unsigned CWG1LSBD : 2;
6832 unsigned : 2;
6835 struct
6837 unsigned : 4;
6838 unsigned LSBD : 2;
6839 unsigned : 2;
6841 } __CWG1AS0bits_t;
6843 extern __at(0x0693) volatile __CWG1AS0bits_t CWG1AS0bits;
6845 #define _LSAC0 0x04
6846 #define _CWG1LSAC0 0x04
6847 #define _LSAC1 0x08
6848 #define _CWG1LSAC1 0x08
6849 #define _LSBD0 0x10
6850 #define _CWG1LSBD0 0x10
6851 #define _LSBD1 0x20
6852 #define _CWG1LSBD1 0x20
6853 #define _REN 0x40
6854 #define _CWG1REN 0x40
6855 #define _SHUTDOWN 0x80
6856 #define _CWG1SHUTDOWN 0x80
6858 //==============================================================================
6861 //==============================================================================
6862 // CWG1AS1 Bits
6864 extern __at(0x0694) __sfr CWG1AS1;
6866 typedef union
6868 struct
6870 unsigned INAS : 1;
6871 unsigned C1AS : 1;
6872 unsigned C2AS : 1;
6873 unsigned : 1;
6874 unsigned TMR2AS : 1;
6875 unsigned TMR4AS : 1;
6876 unsigned TMR6AS : 1;
6877 unsigned : 1;
6880 struct
6882 unsigned CWG1INAS : 1;
6883 unsigned CWG1C1AS : 1;
6884 unsigned CWG1C2AS : 1;
6885 unsigned : 1;
6886 unsigned CWG1TMR2AS : 1;
6887 unsigned CWG1TMR4AS : 1;
6888 unsigned CWG1TMR6AS : 1;
6889 unsigned : 1;
6891 } __CWG1AS1bits_t;
6893 extern __at(0x0694) volatile __CWG1AS1bits_t CWG1AS1bits;
6895 #define _INAS 0x01
6896 #define _CWG1INAS 0x01
6897 #define _C1AS 0x02
6898 #define _CWG1C1AS 0x02
6899 #define _C2AS 0x04
6900 #define _CWG1C2AS 0x04
6901 #define _TMR2AS 0x10
6902 #define _CWG1TMR2AS 0x10
6903 #define _TMR4AS 0x20
6904 #define _CWG1TMR4AS 0x20
6905 #define _TMR6AS 0x40
6906 #define _CWG1TMR6AS 0x40
6908 //==============================================================================
6911 //==============================================================================
6912 // CWG1OCON0 Bits
6914 extern __at(0x0695) __sfr CWG1OCON0;
6916 typedef union
6918 struct
6920 unsigned STRA : 1;
6921 unsigned STRB : 1;
6922 unsigned STRC : 1;
6923 unsigned STRD : 1;
6924 unsigned OVRA : 1;
6925 unsigned OVRB : 1;
6926 unsigned OVRC : 1;
6927 unsigned OVRD : 1;
6930 struct
6932 unsigned CWG1STRA : 1;
6933 unsigned CWG1STRB : 1;
6934 unsigned CWG1STRC : 1;
6935 unsigned CWG1STRD : 1;
6936 unsigned CWG1OVRA : 1;
6937 unsigned CWG1OVRB : 1;
6938 unsigned CWG1OVRC : 1;
6939 unsigned CWG1OVRD : 1;
6941 } __CWG1OCON0bits_t;
6943 extern __at(0x0695) volatile __CWG1OCON0bits_t CWG1OCON0bits;
6945 #define _STRA 0x01
6946 #define _CWG1STRA 0x01
6947 #define _STRB 0x02
6948 #define _CWG1STRB 0x02
6949 #define _STRC 0x04
6950 #define _CWG1STRC 0x04
6951 #define _STRD 0x08
6952 #define _CWG1STRD 0x08
6953 #define _OVRA 0x10
6954 #define _CWG1OVRA 0x10
6955 #define _OVRB 0x20
6956 #define _CWG1OVRB 0x20
6957 #define _OVRC 0x40
6958 #define _CWG1OVRC 0x40
6959 #define _OVRD 0x80
6960 #define _CWG1OVRD 0x80
6962 //==============================================================================
6965 //==============================================================================
6966 // CWG1CON0 Bits
6968 extern __at(0x0696) __sfr CWG1CON0;
6970 typedef union
6972 struct
6974 unsigned MODE0 : 1;
6975 unsigned MODE1 : 1;
6976 unsigned MODE2 : 1;
6977 unsigned : 1;
6978 unsigned : 1;
6979 unsigned : 1;
6980 unsigned LD : 1;
6981 unsigned EN : 1;
6984 struct
6986 unsigned CWG1MODE0 : 1;
6987 unsigned CWG1MODE1 : 1;
6988 unsigned CWG1MODE2 : 1;
6989 unsigned : 1;
6990 unsigned : 1;
6991 unsigned : 1;
6992 unsigned CWG1LD : 1;
6993 unsigned G1EN : 1;
6996 struct
6998 unsigned : 1;
6999 unsigned : 1;
7000 unsigned : 1;
7001 unsigned : 1;
7002 unsigned : 1;
7003 unsigned : 1;
7004 unsigned : 1;
7005 unsigned CWG1EN : 1;
7008 struct
7010 unsigned CWG1MODE : 3;
7011 unsigned : 5;
7014 struct
7016 unsigned MODE : 3;
7017 unsigned : 5;
7019 } __CWG1CON0bits_t;
7021 extern __at(0x0696) volatile __CWG1CON0bits_t CWG1CON0bits;
7023 #define _CWG1CON0_MODE0 0x01
7024 #define _CWG1CON0_CWG1MODE0 0x01
7025 #define _CWG1CON0_MODE1 0x02
7026 #define _CWG1CON0_CWG1MODE1 0x02
7027 #define _CWG1CON0_MODE2 0x04
7028 #define _CWG1CON0_CWG1MODE2 0x04
7029 #define _CWG1CON0_LD 0x40
7030 #define _CWG1CON0_CWG1LD 0x40
7031 #define _CWG1CON0_EN 0x80
7032 #define _CWG1CON0_G1EN 0x80
7033 #define _CWG1CON0_CWG1EN 0x80
7035 //==============================================================================
7038 //==============================================================================
7039 // CWG1CON1 Bits
7041 extern __at(0x0697) __sfr CWG1CON1;
7043 typedef union
7045 struct
7047 unsigned POLA : 1;
7048 unsigned POLB : 1;
7049 unsigned POLC : 1;
7050 unsigned POLD : 1;
7051 unsigned : 1;
7052 unsigned IN : 1;
7053 unsigned : 1;
7054 unsigned : 1;
7057 struct
7059 unsigned CWG1POLA : 1;
7060 unsigned CWG1POLB : 1;
7061 unsigned CWG1POLC : 1;
7062 unsigned CWG1POLD : 1;
7063 unsigned : 1;
7064 unsigned CWG1IN : 1;
7065 unsigned : 1;
7066 unsigned : 1;
7068 } __CWG1CON1bits_t;
7070 extern __at(0x0697) volatile __CWG1CON1bits_t CWG1CON1bits;
7072 #define _POLA 0x01
7073 #define _CWG1POLA 0x01
7074 #define _POLB 0x02
7075 #define _CWG1POLB 0x02
7076 #define _POLC 0x04
7077 #define _CWG1POLC 0x04
7078 #define _POLD 0x08
7079 #define _CWG1POLD 0x08
7080 #define _IN 0x20
7081 #define _CWG1IN 0x20
7083 //==============================================================================
7086 //==============================================================================
7087 // CWG1CLKCON Bits
7089 extern __at(0x0699) __sfr CWG1CLKCON;
7091 typedef union
7093 struct
7095 unsigned CS : 1;
7096 unsigned : 1;
7097 unsigned : 1;
7098 unsigned : 1;
7099 unsigned : 1;
7100 unsigned : 1;
7101 unsigned : 1;
7102 unsigned : 1;
7105 struct
7107 unsigned CWG1CS : 1;
7108 unsigned : 1;
7109 unsigned : 1;
7110 unsigned : 1;
7111 unsigned : 1;
7112 unsigned : 1;
7113 unsigned : 1;
7114 unsigned : 1;
7116 } __CWG1CLKCONbits_t;
7118 extern __at(0x0699) volatile __CWG1CLKCONbits_t CWG1CLKCONbits;
7120 #define _CWG1CLKCON_CS 0x01
7121 #define _CWG1CLKCON_CWG1CS 0x01
7123 //==============================================================================
7126 //==============================================================================
7127 // CWG1ISM Bits
7129 extern __at(0x069A) __sfr CWG1ISM;
7131 typedef union
7133 struct
7135 unsigned IS0 : 1;
7136 unsigned IS1 : 1;
7137 unsigned IS2 : 1;
7138 unsigned IS3 : 1;
7139 unsigned : 1;
7140 unsigned : 1;
7141 unsigned : 1;
7142 unsigned : 1;
7145 struct
7147 unsigned CWG1IS0 : 1;
7148 unsigned CWG1IS1 : 1;
7149 unsigned CWG1IS2 : 1;
7150 unsigned CWG1IS3 : 1;
7151 unsigned : 1;
7152 unsigned : 1;
7153 unsigned : 1;
7154 unsigned : 1;
7157 struct
7159 unsigned IS : 4;
7160 unsigned : 4;
7163 struct
7165 unsigned CWG1IS : 4;
7166 unsigned : 4;
7168 } __CWG1ISMbits_t;
7170 extern __at(0x069A) volatile __CWG1ISMbits_t CWG1ISMbits;
7172 #define _IS0 0x01
7173 #define _CWG1IS0 0x01
7174 #define _IS1 0x02
7175 #define _CWG1IS1 0x02
7176 #define _IS2 0x04
7177 #define _CWG1IS2 0x04
7178 #define _IS3 0x08
7179 #define _CWG1IS3 0x08
7181 //==============================================================================
7184 //==============================================================================
7185 // WDTCON0 Bits
7187 extern __at(0x0711) __sfr WDTCON0;
7189 typedef union
7191 struct
7193 unsigned SEN : 1;
7194 unsigned WDTPS0 : 1;
7195 unsigned WDTPS1 : 1;
7196 unsigned WDTPS2 : 1;
7197 unsigned WDTPS3 : 1;
7198 unsigned WDTPS4 : 1;
7199 unsigned : 1;
7200 unsigned : 1;
7203 struct
7205 unsigned SWDTEN : 1;
7206 unsigned : 1;
7207 unsigned : 1;
7208 unsigned : 1;
7209 unsigned : 1;
7210 unsigned : 1;
7211 unsigned : 1;
7212 unsigned : 1;
7215 struct
7217 unsigned WDTSEN : 1;
7218 unsigned : 1;
7219 unsigned : 1;
7220 unsigned : 1;
7221 unsigned : 1;
7222 unsigned : 1;
7223 unsigned : 1;
7224 unsigned : 1;
7227 struct
7229 unsigned : 1;
7230 unsigned WDTPS : 5;
7231 unsigned : 2;
7233 } __WDTCON0bits_t;
7235 extern __at(0x0711) volatile __WDTCON0bits_t WDTCON0bits;
7237 #define _WDTCON0_SEN 0x01
7238 #define _WDTCON0_SWDTEN 0x01
7239 #define _WDTCON0_WDTSEN 0x01
7240 #define _WDTCON0_WDTPS0 0x02
7241 #define _WDTCON0_WDTPS1 0x04
7242 #define _WDTCON0_WDTPS2 0x08
7243 #define _WDTCON0_WDTPS3 0x10
7244 #define _WDTCON0_WDTPS4 0x20
7246 //==============================================================================
7249 //==============================================================================
7250 // WDTCON1 Bits
7252 extern __at(0x0712) __sfr WDTCON1;
7254 typedef union
7256 struct
7258 unsigned WINDOW0 : 1;
7259 unsigned WINDOW1 : 1;
7260 unsigned WINDOW2 : 1;
7261 unsigned : 1;
7262 unsigned WDTCS0 : 1;
7263 unsigned WDTCS1 : 1;
7264 unsigned WDTCS2 : 1;
7265 unsigned : 1;
7268 struct
7270 unsigned WDTWINDOW0 : 1;
7271 unsigned WDTWINDOW1 : 1;
7272 unsigned WDTWINDOW2 : 1;
7273 unsigned : 1;
7274 unsigned : 1;
7275 unsigned : 1;
7276 unsigned : 1;
7277 unsigned : 1;
7280 struct
7282 unsigned WDTWINDOW : 3;
7283 unsigned : 5;
7286 struct
7288 unsigned WINDOW : 3;
7289 unsigned : 5;
7292 struct
7294 unsigned : 4;
7295 unsigned WDTCS : 3;
7296 unsigned : 1;
7298 } __WDTCON1bits_t;
7300 extern __at(0x0712) volatile __WDTCON1bits_t WDTCON1bits;
7302 #define _WINDOW0 0x01
7303 #define _WDTWINDOW0 0x01
7304 #define _WINDOW1 0x02
7305 #define _WDTWINDOW1 0x02
7306 #define _WINDOW2 0x04
7307 #define _WDTWINDOW2 0x04
7308 #define _WDTCS0 0x10
7309 #define _WDTCS1 0x20
7310 #define _WDTCS2 0x40
7312 //==============================================================================
7315 //==============================================================================
7316 // WDTPSL Bits
7318 extern __at(0x0713) __sfr WDTPSL;
7320 typedef union
7322 struct
7324 unsigned PSCNT0 : 1;
7325 unsigned PSCNT1 : 1;
7326 unsigned PSCNT2 : 1;
7327 unsigned PSCNT3 : 1;
7328 unsigned PSCNT4 : 1;
7329 unsigned PSCNT5 : 1;
7330 unsigned PSCNT6 : 1;
7331 unsigned PSCNT7 : 1;
7334 struct
7336 unsigned WDTPSCNT0 : 1;
7337 unsigned WDTPSCNT1 : 1;
7338 unsigned WDTPSCNT2 : 1;
7339 unsigned WDTPSCNT3 : 1;
7340 unsigned WDTPSCNT4 : 1;
7341 unsigned WDTPSCNT5 : 1;
7342 unsigned WDTPSCNT6 : 1;
7343 unsigned WDTPSCNT7 : 1;
7345 } __WDTPSLbits_t;
7347 extern __at(0x0713) volatile __WDTPSLbits_t WDTPSLbits;
7349 #define _PSCNT0 0x01
7350 #define _WDTPSCNT0 0x01
7351 #define _PSCNT1 0x02
7352 #define _WDTPSCNT1 0x02
7353 #define _PSCNT2 0x04
7354 #define _WDTPSCNT2 0x04
7355 #define _PSCNT3 0x08
7356 #define _WDTPSCNT3 0x08
7357 #define _PSCNT4 0x10
7358 #define _WDTPSCNT4 0x10
7359 #define _PSCNT5 0x20
7360 #define _WDTPSCNT5 0x20
7361 #define _PSCNT6 0x40
7362 #define _WDTPSCNT6 0x40
7363 #define _PSCNT7 0x80
7364 #define _WDTPSCNT7 0x80
7366 //==============================================================================
7369 //==============================================================================
7370 // WDTPSH Bits
7372 extern __at(0x0714) __sfr WDTPSH;
7374 typedef union
7376 struct
7378 unsigned PSCNT8 : 1;
7379 unsigned PSCNT9 : 1;
7380 unsigned PSCNT10 : 1;
7381 unsigned PSCNT11 : 1;
7382 unsigned PSCNT12 : 1;
7383 unsigned PSCNT13 : 1;
7384 unsigned PSCNT14 : 1;
7385 unsigned PSCNT15 : 1;
7388 struct
7390 unsigned WDTPSCNT8 : 1;
7391 unsigned WDTPSCNT9 : 1;
7392 unsigned WDTPSCNT10 : 1;
7393 unsigned WDTPSCNT11 : 1;
7394 unsigned WDTPSCNT12 : 1;
7395 unsigned WDTPSCNT13 : 1;
7396 unsigned WDTPSCNT14 : 1;
7397 unsigned WDTPSCNT15 : 1;
7399 } __WDTPSHbits_t;
7401 extern __at(0x0714) volatile __WDTPSHbits_t WDTPSHbits;
7403 #define _PSCNT8 0x01
7404 #define _WDTPSCNT8 0x01
7405 #define _PSCNT9 0x02
7406 #define _WDTPSCNT9 0x02
7407 #define _PSCNT10 0x04
7408 #define _WDTPSCNT10 0x04
7409 #define _PSCNT11 0x08
7410 #define _WDTPSCNT11 0x08
7411 #define _PSCNT12 0x10
7412 #define _WDTPSCNT12 0x10
7413 #define _PSCNT13 0x20
7414 #define _WDTPSCNT13 0x20
7415 #define _PSCNT14 0x40
7416 #define _WDTPSCNT14 0x40
7417 #define _PSCNT15 0x80
7418 #define _WDTPSCNT15 0x80
7420 //==============================================================================
7423 //==============================================================================
7424 // WDTTMR Bits
7426 extern __at(0x0715) __sfr WDTTMR;
7428 typedef union
7430 struct
7432 unsigned PSCNT16 : 1;
7433 unsigned PSCNT17 : 1;
7434 unsigned STATE : 1;
7435 unsigned WDTTMR0 : 1;
7436 unsigned WDTTMR1 : 1;
7437 unsigned WDTTMR2 : 1;
7438 unsigned WDTTMR3 : 1;
7439 unsigned WDTTMR4 : 1;
7442 struct
7444 unsigned WDTPSCNT16 : 1;
7445 unsigned WDTPSCNT17 : 1;
7446 unsigned WDTSTATE : 1;
7447 unsigned : 1;
7448 unsigned : 1;
7449 unsigned : 1;
7450 unsigned : 1;
7451 unsigned : 1;
7454 struct
7456 unsigned : 3;
7457 unsigned WDTTMR : 5;
7459 } __WDTTMRbits_t;
7461 extern __at(0x0715) volatile __WDTTMRbits_t WDTTMRbits;
7463 #define _PSCNT16 0x01
7464 #define _WDTPSCNT16 0x01
7465 #define _PSCNT17 0x02
7466 #define _WDTPSCNT17 0x02
7467 #define _STATE 0x04
7468 #define _WDTSTATE 0x04
7469 #define _WDTTMR0 0x08
7470 #define _WDTTMR1 0x10
7471 #define _WDTTMR2 0x20
7472 #define _WDTTMR3 0x40
7473 #define _WDTTMR4 0x80
7475 //==============================================================================
7477 extern __at(0x0718) __sfr SCANLADR;
7479 //==============================================================================
7480 // SCANLADRL Bits
7482 extern __at(0x0718) __sfr SCANLADRL;
7484 typedef union
7486 struct
7488 unsigned LDAR0 : 1;
7489 unsigned LDAR1 : 1;
7490 unsigned LADR2 : 1;
7491 unsigned LADR3 : 1;
7492 unsigned LADR4 : 1;
7493 unsigned LADR5 : 1;
7494 unsigned LADR6 : 1;
7495 unsigned LADR7 : 1;
7498 struct
7500 unsigned SCANLADR0 : 1;
7501 unsigned SCANLADR1 : 1;
7502 unsigned SCANLADR2 : 1;
7503 unsigned SCANLADR3 : 1;
7504 unsigned SCANLADR4 : 1;
7505 unsigned SCANLADR5 : 1;
7506 unsigned SCANLADR6 : 1;
7507 unsigned SCANLADR7 : 1;
7510 struct
7512 unsigned LDAR : 2;
7513 unsigned : 6;
7515 } __SCANLADRLbits_t;
7517 extern __at(0x0718) volatile __SCANLADRLbits_t SCANLADRLbits;
7519 #define _LDAR0 0x01
7520 #define _SCANLADR0 0x01
7521 #define _LDAR1 0x02
7522 #define _SCANLADR1 0x02
7523 #define _LADR2 0x04
7524 #define _SCANLADR2 0x04
7525 #define _LADR3 0x08
7526 #define _SCANLADR3 0x08
7527 #define _LADR4 0x10
7528 #define _SCANLADR4 0x10
7529 #define _LADR5 0x20
7530 #define _SCANLADR5 0x20
7531 #define _LADR6 0x40
7532 #define _SCANLADR6 0x40
7533 #define _LADR7 0x80
7534 #define _SCANLADR7 0x80
7536 //==============================================================================
7539 //==============================================================================
7540 // SCANLADRH Bits
7542 extern __at(0x0719) __sfr SCANLADRH;
7544 typedef union
7546 struct
7548 unsigned LADR8 : 1;
7549 unsigned LADR9 : 1;
7550 unsigned LADR10 : 1;
7551 unsigned LADR11 : 1;
7552 unsigned LADR12 : 1;
7553 unsigned LADR13 : 1;
7554 unsigned LADR14 : 1;
7555 unsigned LADR15 : 1;
7558 struct
7560 unsigned SCANLADR8 : 1;
7561 unsigned SCANLADR9 : 1;
7562 unsigned SCANLADR10 : 1;
7563 unsigned SCANLADR11 : 1;
7564 unsigned SCANLADR12 : 1;
7565 unsigned SCANLADR13 : 1;
7566 unsigned SCANLADR14 : 1;
7567 unsigned SCANLADR15 : 1;
7569 } __SCANLADRHbits_t;
7571 extern __at(0x0719) volatile __SCANLADRHbits_t SCANLADRHbits;
7573 #define _LADR8 0x01
7574 #define _SCANLADR8 0x01
7575 #define _LADR9 0x02
7576 #define _SCANLADR9 0x02
7577 #define _LADR10 0x04
7578 #define _SCANLADR10 0x04
7579 #define _LADR11 0x08
7580 #define _SCANLADR11 0x08
7581 #define _LADR12 0x10
7582 #define _SCANLADR12 0x10
7583 #define _LADR13 0x20
7584 #define _SCANLADR13 0x20
7585 #define _LADR14 0x40
7586 #define _SCANLADR14 0x40
7587 #define _LADR15 0x80
7588 #define _SCANLADR15 0x80
7590 //==============================================================================
7592 extern __at(0x071A) __sfr SCANHADR;
7594 //==============================================================================
7595 // SCANHADRL Bits
7597 extern __at(0x071A) __sfr SCANHADRL;
7599 typedef union
7601 struct
7603 unsigned HADR0 : 1;
7604 unsigned HADR1 : 1;
7605 unsigned HARD2 : 1;
7606 unsigned HADR3 : 1;
7607 unsigned HADR4 : 1;
7608 unsigned HADR5 : 1;
7609 unsigned HADR6 : 1;
7610 unsigned HADR7 : 1;
7613 struct
7615 unsigned SCANHADR0 : 1;
7616 unsigned SCANHADR1 : 1;
7617 unsigned SCANHADR2 : 1;
7618 unsigned SCANHADR3 : 1;
7619 unsigned SCANHADR4 : 1;
7620 unsigned SCANHADR5 : 1;
7621 unsigned SCANHADR6 : 1;
7622 unsigned SCANHADR7 : 1;
7624 } __SCANHADRLbits_t;
7626 extern __at(0x071A) volatile __SCANHADRLbits_t SCANHADRLbits;
7628 #define _HADR0 0x01
7629 #define _SCANHADR0 0x01
7630 #define _HADR1 0x02
7631 #define _SCANHADR1 0x02
7632 #define _HARD2 0x04
7633 #define _SCANHADR2 0x04
7634 #define _HADR3 0x08
7635 #define _SCANHADR3 0x08
7636 #define _HADR4 0x10
7637 #define _SCANHADR4 0x10
7638 #define _HADR5 0x20
7639 #define _SCANHADR5 0x20
7640 #define _HADR6 0x40
7641 #define _SCANHADR6 0x40
7642 #define _HADR7 0x80
7643 #define _SCANHADR7 0x80
7645 //==============================================================================
7648 //==============================================================================
7649 // SCANHADRH Bits
7651 extern __at(0x071B) __sfr SCANHADRH;
7653 typedef union
7655 struct
7657 unsigned HADR8 : 1;
7658 unsigned HADR9 : 1;
7659 unsigned HADR10 : 1;
7660 unsigned HADR11 : 1;
7661 unsigned HADR12 : 1;
7662 unsigned HADR13 : 1;
7663 unsigned HADR14 : 1;
7664 unsigned HADR15 : 1;
7667 struct
7669 unsigned SCANHADR8 : 1;
7670 unsigned SCANHADR9 : 1;
7671 unsigned SCANHADR10 : 1;
7672 unsigned SCANHADR11 : 1;
7673 unsigned SCANHADR12 : 1;
7674 unsigned SCANHADR13 : 1;
7675 unsigned SCANHADR14 : 1;
7676 unsigned SCANHADR15 : 1;
7678 } __SCANHADRHbits_t;
7680 extern __at(0x071B) volatile __SCANHADRHbits_t SCANHADRHbits;
7682 #define _HADR8 0x01
7683 #define _SCANHADR8 0x01
7684 #define _HADR9 0x02
7685 #define _SCANHADR9 0x02
7686 #define _HADR10 0x04
7687 #define _SCANHADR10 0x04
7688 #define _HADR11 0x08
7689 #define _SCANHADR11 0x08
7690 #define _HADR12 0x10
7691 #define _SCANHADR12 0x10
7692 #define _HADR13 0x20
7693 #define _SCANHADR13 0x20
7694 #define _HADR14 0x40
7695 #define _SCANHADR14 0x40
7696 #define _HADR15 0x80
7697 #define _SCANHADR15 0x80
7699 //==============================================================================
7702 //==============================================================================
7703 // SCANCON0 Bits
7705 extern __at(0x071C) __sfr SCANCON0;
7707 typedef union
7709 struct
7711 unsigned MODE0 : 1;
7712 unsigned MODE1 : 1;
7713 unsigned : 1;
7714 unsigned INTM : 1;
7715 unsigned INVALID : 1;
7716 unsigned BUSY : 1;
7717 unsigned SCANGO : 1;
7718 unsigned EN : 1;
7721 struct
7723 unsigned SCANMODE0 : 1;
7724 unsigned SCANMODE1 : 1;
7725 unsigned : 1;
7726 unsigned SCANINTM : 1;
7727 unsigned SCANINVALID : 1;
7728 unsigned SCANBUSY : 1;
7729 unsigned : 1;
7730 unsigned SCANEN : 1;
7733 struct
7735 unsigned SCANMODE : 2;
7736 unsigned : 6;
7739 struct
7741 unsigned MODE : 2;
7742 unsigned : 6;
7744 } __SCANCON0bits_t;
7746 extern __at(0x071C) volatile __SCANCON0bits_t SCANCON0bits;
7748 #define _SCANCON0_MODE0 0x01
7749 #define _SCANCON0_SCANMODE0 0x01
7750 #define _SCANCON0_MODE1 0x02
7751 #define _SCANCON0_SCANMODE1 0x02
7752 #define _SCANCON0_INTM 0x08
7753 #define _SCANCON0_SCANINTM 0x08
7754 #define _SCANCON0_INVALID 0x10
7755 #define _SCANCON0_SCANINVALID 0x10
7756 #define _SCANCON0_BUSY 0x20
7757 #define _SCANCON0_SCANBUSY 0x20
7758 #define _SCANCON0_SCANGO 0x40
7759 #define _SCANCON0_EN 0x80
7760 #define _SCANCON0_SCANEN 0x80
7762 //==============================================================================
7765 //==============================================================================
7766 // SCANTRIG Bits
7768 extern __at(0x071D) __sfr SCANTRIG;
7770 typedef union
7772 struct
7774 unsigned TSEL0 : 1;
7775 unsigned TSEL1 : 1;
7776 unsigned TSEL2 : 1;
7777 unsigned TSEL3 : 1;
7778 unsigned : 1;
7779 unsigned : 1;
7780 unsigned : 1;
7781 unsigned : 1;
7784 struct
7786 unsigned SCANTSEL0 : 1;
7787 unsigned SCANTSEL1 : 1;
7788 unsigned SCANTSEL2 : 1;
7789 unsigned SCANTSEL3 : 1;
7790 unsigned : 1;
7791 unsigned : 1;
7792 unsigned : 1;
7793 unsigned : 1;
7796 struct
7798 unsigned SCANTSEL : 4;
7799 unsigned : 4;
7802 struct
7804 unsigned TSEL : 4;
7805 unsigned : 4;
7807 } __SCANTRIGbits_t;
7809 extern __at(0x071D) volatile __SCANTRIGbits_t SCANTRIGbits;
7811 #define _TSEL0 0x01
7812 #define _SCANTSEL0 0x01
7813 #define _TSEL1 0x02
7814 #define _SCANTSEL1 0x02
7815 #define _TSEL2 0x04
7816 #define _SCANTSEL2 0x04
7817 #define _TSEL3 0x08
7818 #define _SCANTSEL3 0x08
7820 //==============================================================================
7822 extern __at(0x0791) __sfr CRCDAT;
7824 //==============================================================================
7825 // CRCDATL Bits
7827 extern __at(0x0791) __sfr CRCDATL;
7829 typedef union
7831 struct
7833 unsigned DAT0 : 1;
7834 unsigned DAT1 : 1;
7835 unsigned DAT2 : 1;
7836 unsigned DAT3 : 1;
7837 unsigned DAT4 : 1;
7838 unsigned DAT5 : 1;
7839 unsigned DAT6 : 1;
7840 unsigned DAT7 : 1;
7843 struct
7845 unsigned CRCDAT0 : 1;
7846 unsigned CRCDAT1 : 1;
7847 unsigned CRCDAT2 : 1;
7848 unsigned CRCDAT3 : 1;
7849 unsigned CRCDAT4 : 1;
7850 unsigned CRCDAT5 : 1;
7851 unsigned CRCDAT6 : 1;
7852 unsigned CRDCDAT7 : 1;
7855 struct
7857 unsigned CRCDAT : 7;
7858 unsigned : 1;
7860 } __CRCDATLbits_t;
7862 extern __at(0x0791) volatile __CRCDATLbits_t CRCDATLbits;
7864 #define _DAT0 0x01
7865 #define _CRCDAT0 0x01
7866 #define _DAT1 0x02
7867 #define _CRCDAT1 0x02
7868 #define _DAT2 0x04
7869 #define _CRCDAT2 0x04
7870 #define _DAT3 0x08
7871 #define _CRCDAT3 0x08
7872 #define _DAT4 0x10
7873 #define _CRCDAT4 0x10
7874 #define _DAT5 0x20
7875 #define _CRCDAT5 0x20
7876 #define _DAT6 0x40
7877 #define _CRCDAT6 0x40
7878 #define _DAT7 0x80
7879 #define _CRDCDAT7 0x80
7881 //==============================================================================
7884 //==============================================================================
7885 // CRCDATH Bits
7887 extern __at(0x0792) __sfr CRCDATH;
7889 typedef union
7891 struct
7893 unsigned DAT8 : 1;
7894 unsigned DAT9 : 1;
7895 unsigned DAT10 : 1;
7896 unsigned DAT11 : 1;
7897 unsigned DAT12 : 1;
7898 unsigned DAT13 : 1;
7899 unsigned DAT14 : 1;
7900 unsigned DAT15 : 1;
7903 struct
7905 unsigned CRCDAT8 : 1;
7906 unsigned CRCDAT9 : 1;
7907 unsigned CRCDAT10 : 1;
7908 unsigned CRCDAT11 : 1;
7909 unsigned CRCDAT12 : 1;
7910 unsigned CRCDAT13 : 1;
7911 unsigned CRCDAT14 : 1;
7912 unsigned CRCDAT15 : 1;
7914 } __CRCDATHbits_t;
7916 extern __at(0x0792) volatile __CRCDATHbits_t CRCDATHbits;
7918 #define _DAT8 0x01
7919 #define _CRCDAT8 0x01
7920 #define _DAT9 0x02
7921 #define _CRCDAT9 0x02
7922 #define _DAT10 0x04
7923 #define _CRCDAT10 0x04
7924 #define _DAT11 0x08
7925 #define _CRCDAT11 0x08
7926 #define _DAT12 0x10
7927 #define _CRCDAT12 0x10
7928 #define _DAT13 0x20
7929 #define _CRCDAT13 0x20
7930 #define _DAT14 0x40
7931 #define _CRCDAT14 0x40
7932 #define _DAT15 0x80
7933 #define _CRCDAT15 0x80
7935 //==============================================================================
7937 extern __at(0x0793) __sfr CRCACC;
7939 //==============================================================================
7940 // CRCACCL Bits
7942 extern __at(0x0793) __sfr CRCACCL;
7944 typedef union
7946 struct
7948 unsigned ACC0 : 1;
7949 unsigned ACC1 : 1;
7950 unsigned ACC2 : 1;
7951 unsigned ACC3 : 1;
7952 unsigned ACC4 : 1;
7953 unsigned ACC5 : 1;
7954 unsigned ACC6 : 1;
7955 unsigned ACC7 : 1;
7958 struct
7960 unsigned CRCACC0 : 1;
7961 unsigned CRCACC1 : 1;
7962 unsigned CRCACC2 : 1;
7963 unsigned CRCACC3 : 1;
7964 unsigned CRCACC4 : 1;
7965 unsigned CRCACC5 : 1;
7966 unsigned CRCACC6 : 1;
7967 unsigned CRCACC7 : 1;
7969 } __CRCACCLbits_t;
7971 extern __at(0x0793) volatile __CRCACCLbits_t CRCACCLbits;
7973 #define _ACC0 0x01
7974 #define _CRCACC0 0x01
7975 #define _ACC1 0x02
7976 #define _CRCACC1 0x02
7977 #define _ACC2 0x04
7978 #define _CRCACC2 0x04
7979 #define _ACC3 0x08
7980 #define _CRCACC3 0x08
7981 #define _ACC4 0x10
7982 #define _CRCACC4 0x10
7983 #define _ACC5 0x20
7984 #define _CRCACC5 0x20
7985 #define _ACC6 0x40
7986 #define _CRCACC6 0x40
7987 #define _ACC7 0x80
7988 #define _CRCACC7 0x80
7990 //==============================================================================
7993 //==============================================================================
7994 // CRCACCH Bits
7996 extern __at(0x0794) __sfr CRCACCH;
7998 typedef union
8000 struct
8002 unsigned ACC8 : 1;
8003 unsigned ACC9 : 1;
8004 unsigned ACC10 : 1;
8005 unsigned ACC11 : 1;
8006 unsigned ACC12 : 1;
8007 unsigned ACC13 : 1;
8008 unsigned ACC14 : 1;
8009 unsigned ACC15 : 1;
8012 struct
8014 unsigned CRCACC8 : 1;
8015 unsigned CRCACC9 : 1;
8016 unsigned CRCACC10 : 1;
8017 unsigned CRCACC11 : 1;
8018 unsigned CRCACC12 : 1;
8019 unsigned CRCACC13 : 1;
8020 unsigned CRCACC14 : 1;
8021 unsigned CRCACC15 : 1;
8023 } __CRCACCHbits_t;
8025 extern __at(0x0794) volatile __CRCACCHbits_t CRCACCHbits;
8027 #define _ACC8 0x01
8028 #define _CRCACC8 0x01
8029 #define _ACC9 0x02
8030 #define _CRCACC9 0x02
8031 #define _ACC10 0x04
8032 #define _CRCACC10 0x04
8033 #define _ACC11 0x08
8034 #define _CRCACC11 0x08
8035 #define _ACC12 0x10
8036 #define _CRCACC12 0x10
8037 #define _ACC13 0x20
8038 #define _CRCACC13 0x20
8039 #define _ACC14 0x40
8040 #define _CRCACC14 0x40
8041 #define _ACC15 0x80
8042 #define _CRCACC15 0x80
8044 //==============================================================================
8046 extern __at(0x0795) __sfr CRCSHIFT;
8048 //==============================================================================
8049 // CRCSHIFTL Bits
8051 extern __at(0x0795) __sfr CRCSHIFTL;
8053 typedef union
8055 struct
8057 unsigned SHIFT0 : 1;
8058 unsigned SHIFT1 : 1;
8059 unsigned SHIFT2 : 1;
8060 unsigned SHIFT3 : 1;
8061 unsigned SHIFT4 : 1;
8062 unsigned SHIFT5 : 1;
8063 unsigned SHIFT6 : 1;
8064 unsigned SHIFT7 : 1;
8067 struct
8069 unsigned CRCSHIFT0 : 1;
8070 unsigned CRCSHIFT1 : 1;
8071 unsigned CRCSHIFT2 : 1;
8072 unsigned CRCSHIFT3 : 1;
8073 unsigned CRCSHIFT4 : 1;
8074 unsigned CRCSHIFT5 : 1;
8075 unsigned CRCSHIFT6 : 1;
8076 unsigned CRCSHIFT7 : 1;
8078 } __CRCSHIFTLbits_t;
8080 extern __at(0x0795) volatile __CRCSHIFTLbits_t CRCSHIFTLbits;
8082 #define _SHIFT0 0x01
8083 #define _CRCSHIFT0 0x01
8084 #define _SHIFT1 0x02
8085 #define _CRCSHIFT1 0x02
8086 #define _SHIFT2 0x04
8087 #define _CRCSHIFT2 0x04
8088 #define _SHIFT3 0x08
8089 #define _CRCSHIFT3 0x08
8090 #define _SHIFT4 0x10
8091 #define _CRCSHIFT4 0x10
8092 #define _SHIFT5 0x20
8093 #define _CRCSHIFT5 0x20
8094 #define _SHIFT6 0x40
8095 #define _CRCSHIFT6 0x40
8096 #define _SHIFT7 0x80
8097 #define _CRCSHIFT7 0x80
8099 //==============================================================================
8102 //==============================================================================
8103 // CRCSHIFTH Bits
8105 extern __at(0x0796) __sfr CRCSHIFTH;
8107 typedef union
8109 struct
8111 unsigned SHIFT8 : 1;
8112 unsigned SHIFT9 : 1;
8113 unsigned SHIFT10 : 1;
8114 unsigned SHIFT11 : 1;
8115 unsigned SHIFT12 : 1;
8116 unsigned SHIFT13 : 1;
8117 unsigned SHIFT14 : 1;
8118 unsigned SHIFT15 : 1;
8121 struct
8123 unsigned CRCSHIFT8 : 1;
8124 unsigned CRCSHIFT9 : 1;
8125 unsigned CRCSHIFT10 : 1;
8126 unsigned CRCSHIFT11 : 1;
8127 unsigned CRCSHIFT12 : 1;
8128 unsigned CRCSHIFT13 : 1;
8129 unsigned CRCSHIFT14 : 1;
8130 unsigned CRCSHIFT15 : 1;
8132 } __CRCSHIFTHbits_t;
8134 extern __at(0x0796) volatile __CRCSHIFTHbits_t CRCSHIFTHbits;
8136 #define _SHIFT8 0x01
8137 #define _CRCSHIFT8 0x01
8138 #define _SHIFT9 0x02
8139 #define _CRCSHIFT9 0x02
8140 #define _SHIFT10 0x04
8141 #define _CRCSHIFT10 0x04
8142 #define _SHIFT11 0x08
8143 #define _CRCSHIFT11 0x08
8144 #define _SHIFT12 0x10
8145 #define _CRCSHIFT12 0x10
8146 #define _SHIFT13 0x20
8147 #define _CRCSHIFT13 0x20
8148 #define _SHIFT14 0x40
8149 #define _CRCSHIFT14 0x40
8150 #define _SHIFT15 0x80
8151 #define _CRCSHIFT15 0x80
8153 //==============================================================================
8155 extern __at(0x0797) __sfr CRCXOR;
8157 //==============================================================================
8158 // CRCXORL Bits
8160 extern __at(0x0797) __sfr CRCXORL;
8162 typedef union
8164 struct
8166 unsigned : 1;
8167 unsigned XOR1 : 1;
8168 unsigned XOR2 : 1;
8169 unsigned XOR3 : 1;
8170 unsigned XOR4 : 1;
8171 unsigned XOR5 : 1;
8172 unsigned XOR6 : 1;
8173 unsigned XOR7 : 1;
8176 struct
8178 unsigned : 1;
8179 unsigned CRCXOR1 : 1;
8180 unsigned CRCXOR2 : 1;
8181 unsigned CRCXOR3 : 1;
8182 unsigned CRCXOR4 : 1;
8183 unsigned CRCXOR5 : 1;
8184 unsigned CRCXOR6 : 1;
8185 unsigned CRCXOR7 : 1;
8187 } __CRCXORLbits_t;
8189 extern __at(0x0797) volatile __CRCXORLbits_t CRCXORLbits;
8191 #define _XOR1 0x02
8192 #define _CRCXOR1 0x02
8193 #define _XOR2 0x04
8194 #define _CRCXOR2 0x04
8195 #define _XOR3 0x08
8196 #define _CRCXOR3 0x08
8197 #define _XOR4 0x10
8198 #define _CRCXOR4 0x10
8199 #define _XOR5 0x20
8200 #define _CRCXOR5 0x20
8201 #define _XOR6 0x40
8202 #define _CRCXOR6 0x40
8203 #define _XOR7 0x80
8204 #define _CRCXOR7 0x80
8206 //==============================================================================
8209 //==============================================================================
8210 // CRCXORH Bits
8212 extern __at(0x0798) __sfr CRCXORH;
8214 typedef union
8216 struct
8218 unsigned XOR8 : 1;
8219 unsigned XOR9 : 1;
8220 unsigned XOR10 : 1;
8221 unsigned XOR11 : 1;
8222 unsigned XOR12 : 1;
8223 unsigned XOR13 : 1;
8224 unsigned XOR14 : 1;
8225 unsigned XOR15 : 1;
8228 struct
8230 unsigned CRCXOR8 : 1;
8231 unsigned CRCXOR9 : 1;
8232 unsigned CRCXOR10 : 1;
8233 unsigned CRCXOR11 : 1;
8234 unsigned CRCXOR12 : 1;
8235 unsigned CRCXOR13 : 1;
8236 unsigned CRCXOR14 : 1;
8237 unsigned CRCXOR15 : 1;
8239 } __CRCXORHbits_t;
8241 extern __at(0x0798) volatile __CRCXORHbits_t CRCXORHbits;
8243 #define _XOR8 0x01
8244 #define _CRCXOR8 0x01
8245 #define _XOR9 0x02
8246 #define _CRCXOR9 0x02
8247 #define _XOR10 0x04
8248 #define _CRCXOR10 0x04
8249 #define _XOR11 0x08
8250 #define _CRCXOR11 0x08
8251 #define _XOR12 0x10
8252 #define _CRCXOR12 0x10
8253 #define _XOR13 0x20
8254 #define _CRCXOR13 0x20
8255 #define _XOR14 0x40
8256 #define _CRCXOR14 0x40
8257 #define _XOR15 0x80
8258 #define _CRCXOR15 0x80
8260 //==============================================================================
8263 //==============================================================================
8264 // CRCCON0 Bits
8266 extern __at(0x0799) __sfr CRCCON0;
8268 typedef union
8270 struct
8272 unsigned FULL : 1;
8273 unsigned SHIFTM : 1;
8274 unsigned : 1;
8275 unsigned : 1;
8276 unsigned ACCM : 1;
8277 unsigned BUSY : 1;
8278 unsigned CRCGO : 1;
8279 unsigned EN : 1;
8282 struct
8284 unsigned CRCFULL : 1;
8285 unsigned CRCSHIFTM : 1;
8286 unsigned : 1;
8287 unsigned : 1;
8288 unsigned CRCACCM : 1;
8289 unsigned CRCBUSY : 1;
8290 unsigned : 1;
8291 unsigned CRCEN : 1;
8293 } __CRCCON0bits_t;
8295 extern __at(0x0799) volatile __CRCCON0bits_t CRCCON0bits;
8297 #define _CRCCON0_FULL 0x01
8298 #define _CRCCON0_CRCFULL 0x01
8299 #define _CRCCON0_SHIFTM 0x02
8300 #define _CRCCON0_CRCSHIFTM 0x02
8301 #define _CRCCON0_ACCM 0x10
8302 #define _CRCCON0_CRCACCM 0x10
8303 #define _CRCCON0_BUSY 0x20
8304 #define _CRCCON0_CRCBUSY 0x20
8305 #define _CRCCON0_CRCGO 0x40
8306 #define _CRCCON0_EN 0x80
8307 #define _CRCCON0_CRCEN 0x80
8309 //==============================================================================
8312 //==============================================================================
8313 // CRCCON1 Bits
8315 extern __at(0x079A) __sfr CRCCON1;
8317 typedef union
8319 struct
8321 unsigned PLEN0 : 1;
8322 unsigned PLEN1 : 1;
8323 unsigned PLEN2 : 1;
8324 unsigned PLEN3 : 1;
8325 unsigned DLEN0 : 1;
8326 unsigned DLEN1 : 1;
8327 unsigned DLEN2 : 1;
8328 unsigned DLEN3 : 1;
8331 struct
8333 unsigned CRCPLEN0 : 1;
8334 unsigned CRCPLEN1 : 1;
8335 unsigned CRCPLEN2 : 1;
8336 unsigned CRCPLEN3 : 1;
8337 unsigned CRCDLEN0 : 1;
8338 unsigned CRCDLEN1 : 1;
8339 unsigned CRCDLEN2 : 1;
8340 unsigned CRCDLEN3 : 1;
8343 struct
8345 unsigned CRCPLEN : 4;
8346 unsigned : 4;
8349 struct
8351 unsigned PLEN : 4;
8352 unsigned : 4;
8355 struct
8357 unsigned : 4;
8358 unsigned DLEN : 4;
8361 struct
8363 unsigned : 4;
8364 unsigned CRCDLEN : 4;
8366 } __CRCCON1bits_t;
8368 extern __at(0x079A) volatile __CRCCON1bits_t CRCCON1bits;
8370 #define _PLEN0 0x01
8371 #define _CRCPLEN0 0x01
8372 #define _PLEN1 0x02
8373 #define _CRCPLEN1 0x02
8374 #define _PLEN2 0x04
8375 #define _CRCPLEN2 0x04
8376 #define _PLEN3 0x08
8377 #define _CRCPLEN3 0x08
8378 #define _DLEN0 0x10
8379 #define _CRCDLEN0 0x10
8380 #define _DLEN1 0x20
8381 #define _CRCDLEN1 0x20
8382 #define _DLEN2 0x40
8383 #define _CRCDLEN2 0x40
8384 #define _DLEN3 0x80
8385 #define _CRCDLEN3 0x80
8387 //==============================================================================
8389 extern __at(0x080C) __sfr AT1RES;
8391 //==============================================================================
8392 // AT1RESL Bits
8394 extern __at(0x080C) __sfr AT1RESL;
8396 typedef union
8398 struct
8400 unsigned AT1RES0 : 1;
8401 unsigned AT1RES1 : 1;
8402 unsigned AT1RES2 : 1;
8403 unsigned AT1RES3 : 1;
8404 unsigned AT1RES4 : 1;
8405 unsigned AT1RES5 : 1;
8406 unsigned AT1RES6 : 1;
8407 unsigned AT1RES7 : 1;
8410 struct
8412 unsigned RES0 : 1;
8413 unsigned RES1 : 1;
8414 unsigned RES2 : 1;
8415 unsigned RES3 : 1;
8416 unsigned RES4 : 1;
8417 unsigned RES5 : 1;
8418 unsigned RES6 : 1;
8419 unsigned RES7 : 1;
8421 } __AT1RESLbits_t;
8423 extern __at(0x080C) volatile __AT1RESLbits_t AT1RESLbits;
8425 #define _AT1RES0 0x01
8426 #define _RES0 0x01
8427 #define _AT1RES1 0x02
8428 #define _RES1 0x02
8429 #define _AT1RES2 0x04
8430 #define _RES2 0x04
8431 #define _AT1RES3 0x08
8432 #define _RES3 0x08
8433 #define _AT1RES4 0x10
8434 #define _RES4 0x10
8435 #define _AT1RES5 0x20
8436 #define _RES5 0x20
8437 #define _AT1RES6 0x40
8438 #define _RES6 0x40
8439 #define _AT1RES7 0x80
8440 #define _RES7 0x80
8442 //==============================================================================
8445 //==============================================================================
8446 // AT1RESH Bits
8448 extern __at(0x080D) __sfr AT1RESH;
8450 typedef union
8452 struct
8454 unsigned AT1RES8 : 1;
8455 unsigned AT1RES9 : 1;
8456 unsigned : 1;
8457 unsigned : 1;
8458 unsigned : 1;
8459 unsigned : 1;
8460 unsigned : 1;
8461 unsigned : 1;
8464 struct
8466 unsigned RES8 : 1;
8467 unsigned RES9 : 1;
8468 unsigned : 1;
8469 unsigned : 1;
8470 unsigned : 1;
8471 unsigned : 1;
8472 unsigned : 1;
8473 unsigned : 1;
8475 } __AT1RESHbits_t;
8477 extern __at(0x080D) volatile __AT1RESHbits_t AT1RESHbits;
8479 #define _AT1RES8 0x01
8480 #define _RES8 0x01
8481 #define _AT1RES9 0x02
8482 #define _RES9 0x02
8484 //==============================================================================
8486 extern __at(0x080E) __sfr AT1MISS;
8488 //==============================================================================
8489 // AT1MISSL Bits
8491 extern __at(0x080E) __sfr AT1MISSL;
8493 typedef union
8495 struct
8497 unsigned AT1MISS0 : 1;
8498 unsigned AT1MISS1 : 1;
8499 unsigned AT1MISS2 : 1;
8500 unsigned AT1MISS3 : 1;
8501 unsigned AT1MISS4 : 1;
8502 unsigned AT1MISS5 : 1;
8503 unsigned AT1MISS6 : 1;
8504 unsigned AT1MISS7 : 1;
8507 struct
8509 unsigned MISS0 : 1;
8510 unsigned MISS1 : 1;
8511 unsigned MISS2 : 1;
8512 unsigned MISS3 : 1;
8513 unsigned MISS4 : 1;
8514 unsigned MISS5 : 1;
8515 unsigned MISS6 : 1;
8516 unsigned MISS7 : 1;
8518 } __AT1MISSLbits_t;
8520 extern __at(0x080E) volatile __AT1MISSLbits_t AT1MISSLbits;
8522 #define _AT1MISS0 0x01
8523 #define _MISS0 0x01
8524 #define _AT1MISS1 0x02
8525 #define _MISS1 0x02
8526 #define _AT1MISS2 0x04
8527 #define _MISS2 0x04
8528 #define _AT1MISS3 0x08
8529 #define _MISS3 0x08
8530 #define _AT1MISS4 0x10
8531 #define _MISS4 0x10
8532 #define _AT1MISS5 0x20
8533 #define _MISS5 0x20
8534 #define _AT1MISS6 0x40
8535 #define _MISS6 0x40
8536 #define _AT1MISS7 0x80
8537 #define _MISS7 0x80
8539 //==============================================================================
8542 //==============================================================================
8543 // AT1MISSH Bits
8545 extern __at(0x080F) __sfr AT1MISSH;
8547 typedef union
8549 struct
8551 unsigned AT1MISS8 : 1;
8552 unsigned AT1MISS9 : 1;
8553 unsigned AT1MISS10 : 1;
8554 unsigned AT1MISS11 : 1;
8555 unsigned AT1MISS12 : 1;
8556 unsigned AT1MISS13 : 1;
8557 unsigned AT1MISS14 : 1;
8558 unsigned AT1MISS15 : 1;
8561 struct
8563 unsigned MISS8 : 1;
8564 unsigned MISS9 : 1;
8565 unsigned MISS10 : 1;
8566 unsigned MISS11 : 1;
8567 unsigned MISS12 : 1;
8568 unsigned MISS13 : 1;
8569 unsigned MISS14 : 1;
8570 unsigned MISS15 : 1;
8572 } __AT1MISSHbits_t;
8574 extern __at(0x080F) volatile __AT1MISSHbits_t AT1MISSHbits;
8576 #define _AT1MISS8 0x01
8577 #define _MISS8 0x01
8578 #define _AT1MISS9 0x02
8579 #define _MISS9 0x02
8580 #define _AT1MISS10 0x04
8581 #define _MISS10 0x04
8582 #define _AT1MISS11 0x08
8583 #define _MISS11 0x08
8584 #define _AT1MISS12 0x10
8585 #define _MISS12 0x10
8586 #define _AT1MISS13 0x20
8587 #define _MISS13 0x20
8588 #define _AT1MISS14 0x40
8589 #define _MISS14 0x40
8590 #define _AT1MISS15 0x80
8591 #define _MISS15 0x80
8593 //==============================================================================
8595 extern __at(0x0810) __sfr AT1PER;
8597 //==============================================================================
8598 // AT1PERL Bits
8600 extern __at(0x0810) __sfr AT1PERL;
8602 typedef union
8604 struct
8606 unsigned AT1PER0 : 1;
8607 unsigned AT1PER1 : 1;
8608 unsigned AT1PER2 : 1;
8609 unsigned AT1PER3 : 1;
8610 unsigned AT1PER4 : 1;
8611 unsigned AT1PER5 : 1;
8612 unsigned AT1PER6 : 1;
8613 unsigned AT1PER7 : 1;
8616 struct
8618 unsigned PER0 : 1;
8619 unsigned PER1 : 1;
8620 unsigned PER2 : 1;
8621 unsigned PER3 : 1;
8622 unsigned PER4 : 1;
8623 unsigned PER5 : 1;
8624 unsigned PER6 : 1;
8625 unsigned PER7 : 1;
8628 struct
8630 unsigned PERL0 : 1;
8631 unsigned PERL1 : 1;
8632 unsigned PERL2 : 1;
8633 unsigned PERL3 : 1;
8634 unsigned PERL4 : 1;
8635 unsigned PERL5 : 1;
8636 unsigned PERL6 : 1;
8637 unsigned PERL7 : 1;
8639 } __AT1PERLbits_t;
8641 extern __at(0x0810) volatile __AT1PERLbits_t AT1PERLbits;
8643 #define _AT1PER0 0x01
8644 #define _PER0 0x01
8645 #define _PERL0 0x01
8646 #define _AT1PER1 0x02
8647 #define _PER1 0x02
8648 #define _PERL1 0x02
8649 #define _AT1PER2 0x04
8650 #define _PER2 0x04
8651 #define _PERL2 0x04
8652 #define _AT1PER3 0x08
8653 #define _PER3 0x08
8654 #define _PERL3 0x08
8655 #define _AT1PER4 0x10
8656 #define _PER4 0x10
8657 #define _PERL4 0x10
8658 #define _AT1PER5 0x20
8659 #define _PER5 0x20
8660 #define _PERL5 0x20
8661 #define _AT1PER6 0x40
8662 #define _PER6 0x40
8663 #define _PERL6 0x40
8664 #define _AT1PER7 0x80
8665 #define _PER7 0x80
8666 #define _PERL7 0x80
8668 //==============================================================================
8671 //==============================================================================
8672 // AT1PERH Bits
8674 extern __at(0x0811) __sfr AT1PERH;
8676 typedef union
8678 struct
8680 unsigned AT1PER8 : 1;
8681 unsigned AT1PER9 : 1;
8682 unsigned AT1PER10 : 1;
8683 unsigned AT1PER11 : 1;
8684 unsigned AT1PER12 : 1;
8685 unsigned AT1PER13 : 1;
8686 unsigned AT1PER14 : 1;
8687 unsigned AT1POV : 1;
8690 struct
8692 unsigned PER8 : 1;
8693 unsigned PER9 : 1;
8694 unsigned PER10 : 1;
8695 unsigned PER11 : 1;
8696 unsigned PER12 : 1;
8697 unsigned PER13 : 1;
8698 unsigned PER14 : 1;
8699 unsigned PER15 : 1;
8702 struct
8704 unsigned PERH0 : 1;
8705 unsigned PERH1 : 1;
8706 unsigned PERH2 : 1;
8707 unsigned PERH3 : 1;
8708 unsigned PERH4 : 1;
8709 unsigned PERH5 : 1;
8710 unsigned PERH6 : 1;
8711 unsigned PERH7 : 1;
8713 } __AT1PERHbits_t;
8715 extern __at(0x0811) volatile __AT1PERHbits_t AT1PERHbits;
8717 #define _AT1PER8 0x01
8718 #define _PER8 0x01
8719 #define _PERH0 0x01
8720 #define _AT1PER9 0x02
8721 #define _PER9 0x02
8722 #define _PERH1 0x02
8723 #define _AT1PER10 0x04
8724 #define _PER10 0x04
8725 #define _PERH2 0x04
8726 #define _AT1PER11 0x08
8727 #define _PER11 0x08
8728 #define _PERH3 0x08
8729 #define _AT1PER12 0x10
8730 #define _PER12 0x10
8731 #define _PERH4 0x10
8732 #define _AT1PER13 0x20
8733 #define _PER13 0x20
8734 #define _PERH5 0x20
8735 #define _AT1PER14 0x40
8736 #define _PER14 0x40
8737 #define _PERH6 0x40
8738 #define _AT1POV 0x80
8739 #define _PER15 0x80
8740 #define _PERH7 0x80
8742 //==============================================================================
8744 extern __at(0x0812) __sfr AT1PHS;
8746 //==============================================================================
8747 // AT1PHSL Bits
8749 extern __at(0x0812) __sfr AT1PHSL;
8751 typedef union
8753 struct
8755 unsigned AT1PHS0 : 1;
8756 unsigned AT1PHS1 : 1;
8757 unsigned AT1PHS2 : 1;
8758 unsigned AT1PHS3 : 1;
8759 unsigned AT1PHS4 : 1;
8760 unsigned AT1PHS5 : 1;
8761 unsigned AT1PHS6 : 1;
8762 unsigned AT1PHS7 : 1;
8765 struct
8767 unsigned PHS0 : 1;
8768 unsigned PHS1 : 1;
8769 unsigned PHS2 : 1;
8770 unsigned PHS3 : 1;
8771 unsigned PHS4 : 1;
8772 unsigned PHS5 : 1;
8773 unsigned PHS6 : 1;
8774 unsigned PHS7 : 1;
8776 } __AT1PHSLbits_t;
8778 extern __at(0x0812) volatile __AT1PHSLbits_t AT1PHSLbits;
8780 #define _AT1PHS0 0x01
8781 #define _PHS0 0x01
8782 #define _AT1PHS1 0x02
8783 #define _PHS1 0x02
8784 #define _AT1PHS2 0x04
8785 #define _PHS2 0x04
8786 #define _AT1PHS3 0x08
8787 #define _PHS3 0x08
8788 #define _AT1PHS4 0x10
8789 #define _PHS4 0x10
8790 #define _AT1PHS5 0x20
8791 #define _PHS5 0x20
8792 #define _AT1PHS6 0x40
8793 #define _PHS6 0x40
8794 #define _AT1PHS7 0x80
8795 #define _PHS7 0x80
8797 //==============================================================================
8800 //==============================================================================
8801 // AT1PHSH Bits
8803 extern __at(0x0813) __sfr AT1PHSH;
8805 typedef union
8807 struct
8809 unsigned AT1PHS8 : 1;
8810 unsigned AT1PHS9 : 1;
8811 unsigned : 1;
8812 unsigned : 1;
8813 unsigned : 1;
8814 unsigned : 1;
8815 unsigned : 1;
8816 unsigned : 1;
8819 struct
8821 unsigned PHS8 : 1;
8822 unsigned PHS9 : 1;
8823 unsigned : 1;
8824 unsigned : 1;
8825 unsigned : 1;
8826 unsigned : 1;
8827 unsigned : 1;
8828 unsigned : 1;
8831 struct
8833 unsigned PHSL8 : 1;
8834 unsigned PHSL9 : 1;
8835 unsigned : 1;
8836 unsigned : 1;
8837 unsigned : 1;
8838 unsigned : 1;
8839 unsigned : 1;
8840 unsigned : 1;
8842 } __AT1PHSHbits_t;
8844 extern __at(0x0813) volatile __AT1PHSHbits_t AT1PHSHbits;
8846 #define _AT1PHS8 0x01
8847 #define _PHS8 0x01
8848 #define _PHSL8 0x01
8849 #define _AT1PHS9 0x02
8850 #define _PHS9 0x02
8851 #define _PHSL9 0x02
8853 //==============================================================================
8856 //==============================================================================
8857 // AT1CON0 Bits
8859 extern __at(0x0814) __sfr AT1CON0;
8861 typedef union
8863 struct
8865 unsigned MODE : 1;
8866 unsigned APMOD : 1;
8867 unsigned : 1;
8868 unsigned POL : 1;
8869 unsigned PS0 : 1;
8870 unsigned PS1 : 1;
8871 unsigned PREC : 1;
8872 unsigned EN : 1;
8875 struct
8877 unsigned AT1MODE : 1;
8878 unsigned AT1APMOD : 1;
8879 unsigned : 1;
8880 unsigned AT1POL : 1;
8881 unsigned AT1PS0 : 1;
8882 unsigned AT1PS1 : 1;
8883 unsigned AT1PREC : 1;
8884 unsigned AT1EN : 1;
8887 struct
8889 unsigned : 4;
8890 unsigned PS : 2;
8891 unsigned : 2;
8894 struct
8896 unsigned : 4;
8897 unsigned AT1PS : 2;
8898 unsigned : 2;
8900 } __AT1CON0bits_t;
8902 extern __at(0x0814) volatile __AT1CON0bits_t AT1CON0bits;
8904 #define _MODE 0x01
8905 #define _AT1MODE 0x01
8906 #define _APMOD 0x02
8907 #define _AT1APMOD 0x02
8908 #define _POL 0x08
8909 #define _AT1POL 0x08
8910 #define _PS0 0x10
8911 #define _AT1PS0 0x10
8912 #define _PS1 0x20
8913 #define _AT1PS1 0x20
8914 #define _PREC 0x40
8915 #define _AT1PREC 0x40
8916 #define _EN 0x80
8917 #define _AT1EN 0x80
8919 //==============================================================================
8922 //==============================================================================
8923 // AT1CON1 Bits
8925 extern __at(0x0815) __sfr AT1CON1;
8927 typedef union
8929 struct
8931 unsigned VALID : 1;
8932 unsigned ACCS : 1;
8933 unsigned MPP : 1;
8934 unsigned : 1;
8935 unsigned PRP : 1;
8936 unsigned : 1;
8937 unsigned PHP : 1;
8938 unsigned : 1;
8941 struct
8943 unsigned AT1VALID : 1;
8944 unsigned AT1ACCS : 1;
8945 unsigned AT1MPP : 1;
8946 unsigned : 1;
8947 unsigned AT1PRP : 1;
8948 unsigned : 1;
8949 unsigned AT1PHP : 1;
8950 unsigned : 1;
8952 } __AT1CON1bits_t;
8954 extern __at(0x0815) volatile __AT1CON1bits_t AT1CON1bits;
8956 #define _VALID 0x01
8957 #define _AT1VALID 0x01
8958 #define _ACCS 0x02
8959 #define _AT1ACCS 0x02
8960 #define _MPP 0x04
8961 #define _AT1MPP 0x04
8962 #define _PRP 0x10
8963 #define _AT1PRP 0x10
8964 #define _PHP 0x40
8965 #define _AT1PHP 0x40
8967 //==============================================================================
8970 //==============================================================================
8971 // AT1IR0 Bits
8973 extern __at(0x0816) __sfr AT1IR0;
8975 typedef struct
8977 unsigned AT1PERIF : 1;
8978 unsigned AT1MISSIF : 1;
8979 unsigned AT1PHSIF : 1;
8980 unsigned : 1;
8981 unsigned : 1;
8982 unsigned : 1;
8983 unsigned : 1;
8984 unsigned : 1;
8985 } __AT1IR0bits_t;
8987 extern __at(0x0816) volatile __AT1IR0bits_t AT1IR0bits;
8989 #define _AT1PERIF 0x01
8990 #define _AT1MISSIF 0x02
8991 #define _AT1PHSIF 0x04
8993 //==============================================================================
8996 //==============================================================================
8997 // AT1IE0 Bits
8999 extern __at(0x0817) __sfr AT1IE0;
9001 typedef struct
9003 unsigned AT1PERIE : 1;
9004 unsigned AT1MISSIE : 1;
9005 unsigned AT1PHSIE : 1;
9006 unsigned : 1;
9007 unsigned : 1;
9008 unsigned : 1;
9009 unsigned : 1;
9010 unsigned : 1;
9011 } __AT1IE0bits_t;
9013 extern __at(0x0817) volatile __AT1IE0bits_t AT1IE0bits;
9015 #define _AT1PERIE 0x01
9016 #define _AT1MISSIE 0x02
9017 #define _AT1PHSIE 0x04
9019 //==============================================================================
9022 //==============================================================================
9023 // AT1IR1 Bits
9025 extern __at(0x0818) __sfr AT1IR1;
9027 typedef struct
9029 unsigned AT1CC1IF : 1;
9030 unsigned AT1CC2IF : 1;
9031 unsigned AT1CC3IF : 1;
9032 unsigned : 1;
9033 unsigned : 1;
9034 unsigned : 1;
9035 unsigned : 1;
9036 unsigned : 1;
9037 } __AT1IR1bits_t;
9039 extern __at(0x0818) volatile __AT1IR1bits_t AT1IR1bits;
9041 #define _AT1CC1IF 0x01
9042 #define _AT1CC2IF 0x02
9043 #define _AT1CC3IF 0x04
9045 //==============================================================================
9048 //==============================================================================
9049 // AT1IE1 Bits
9051 extern __at(0x0819) __sfr AT1IE1;
9053 typedef struct
9055 unsigned AT1CC1IE : 1;
9056 unsigned AT1CC2IE : 1;
9057 unsigned AT1CC3IE : 1;
9058 unsigned : 1;
9059 unsigned : 1;
9060 unsigned : 1;
9061 unsigned : 1;
9062 unsigned : 1;
9063 } __AT1IE1bits_t;
9065 extern __at(0x0819) volatile __AT1IE1bits_t AT1IE1bits;
9067 #define _AT1CC1IE 0x01
9068 #define _AT1CC2IE 0x02
9069 #define _AT1CC3IE 0x04
9071 //==============================================================================
9073 extern __at(0x081A) __sfr AT1STPT;
9075 //==============================================================================
9076 // AT1STPTL Bits
9078 extern __at(0x081A) __sfr AT1STPTL;
9080 typedef union
9082 struct
9084 unsigned AT1STPT0 : 1;
9085 unsigned AT1STPT1 : 1;
9086 unsigned AT1STPT2 : 1;
9087 unsigned AT1STPT3 : 1;
9088 unsigned AT1STPT4 : 1;
9089 unsigned AT1STPT5 : 1;
9090 unsigned AT1STPT6 : 1;
9091 unsigned AT1STPT7 : 1;
9094 struct
9096 unsigned STPT0 : 1;
9097 unsigned STPT1 : 1;
9098 unsigned STPT2 : 1;
9099 unsigned STPT3 : 1;
9100 unsigned STPT4 : 1;
9101 unsigned STPT5 : 1;
9102 unsigned STPT6 : 1;
9103 unsigned STPT7 : 1;
9105 } __AT1STPTLbits_t;
9107 extern __at(0x081A) volatile __AT1STPTLbits_t AT1STPTLbits;
9109 #define _AT1STPT0 0x01
9110 #define _STPT0 0x01
9111 #define _AT1STPT1 0x02
9112 #define _STPT1 0x02
9113 #define _AT1STPT2 0x04
9114 #define _STPT2 0x04
9115 #define _AT1STPT3 0x08
9116 #define _STPT3 0x08
9117 #define _AT1STPT4 0x10
9118 #define _STPT4 0x10
9119 #define _AT1STPT5 0x20
9120 #define _STPT5 0x20
9121 #define _AT1STPT6 0x40
9122 #define _STPT6 0x40
9123 #define _AT1STPT7 0x80
9124 #define _STPT7 0x80
9126 //==============================================================================
9129 //==============================================================================
9130 // AT1STPTH Bits
9132 extern __at(0x081B) __sfr AT1STPTH;
9134 typedef union
9136 struct
9138 unsigned AT1STPT8 : 1;
9139 unsigned AT1STPT9 : 1;
9140 unsigned AT1STPT10 : 1;
9141 unsigned AT1STPT11 : 1;
9142 unsigned AT1STPT12 : 1;
9143 unsigned AT1STPT13 : 1;
9144 unsigned AT1STPT14 : 1;
9145 unsigned : 1;
9148 struct
9150 unsigned STPT8 : 1;
9151 unsigned STPT9 : 1;
9152 unsigned STPT10 : 1;
9153 unsigned STPT11 : 1;
9154 unsigned STPT12 : 1;
9155 unsigned STPT13 : 1;
9156 unsigned STPT14 : 1;
9157 unsigned : 1;
9159 } __AT1STPTHbits_t;
9161 extern __at(0x081B) volatile __AT1STPTHbits_t AT1STPTHbits;
9163 #define _AT1STPT8 0x01
9164 #define _STPT8 0x01
9165 #define _AT1STPT9 0x02
9166 #define _STPT9 0x02
9167 #define _AT1STPT10 0x04
9168 #define _STPT10 0x04
9169 #define _AT1STPT11 0x08
9170 #define _STPT11 0x08
9171 #define _AT1STPT12 0x10
9172 #define _STPT12 0x10
9173 #define _AT1STPT13 0x20
9174 #define _STPT13 0x20
9175 #define _AT1STPT14 0x40
9176 #define _STPT14 0x40
9178 //==============================================================================
9180 extern __at(0x081C) __sfr AT1ERR;
9182 //==============================================================================
9183 // AT1ERRL Bits
9185 extern __at(0x081C) __sfr AT1ERRL;
9187 typedef union
9189 struct
9191 unsigned AT1ERR0 : 1;
9192 unsigned AT1ERR1 : 1;
9193 unsigned AT1ERR2 : 1;
9194 unsigned AT1ERR3 : 1;
9195 unsigned AT1ERR4 : 1;
9196 unsigned AT1ERR5 : 1;
9197 unsigned AT1ERR6 : 1;
9198 unsigned AT1ERR7 : 1;
9201 struct
9203 unsigned ERR0 : 1;
9204 unsigned ERR1 : 1;
9205 unsigned ERR2 : 1;
9206 unsigned ERR3 : 1;
9207 unsigned ERR4 : 1;
9208 unsigned ERR5 : 1;
9209 unsigned ERR6 : 1;
9210 unsigned ERR7 : 1;
9213 struct
9215 unsigned ERRL0 : 1;
9216 unsigned ERRL1 : 1;
9217 unsigned ERRL2 : 1;
9218 unsigned ERRL3 : 1;
9219 unsigned ERRL4 : 1;
9220 unsigned ERRL5 : 1;
9221 unsigned ERRL6 : 1;
9222 unsigned ERRL7 : 1;
9224 } __AT1ERRLbits_t;
9226 extern __at(0x081C) volatile __AT1ERRLbits_t AT1ERRLbits;
9228 #define _AT1ERR0 0x01
9229 #define _ERR0 0x01
9230 #define _ERRL0 0x01
9231 #define _AT1ERR1 0x02
9232 #define _ERR1 0x02
9233 #define _ERRL1 0x02
9234 #define _AT1ERR2 0x04
9235 #define _ERR2 0x04
9236 #define _ERRL2 0x04
9237 #define _AT1ERR3 0x08
9238 #define _ERR3 0x08
9239 #define _ERRL3 0x08
9240 #define _AT1ERR4 0x10
9241 #define _ERR4 0x10
9242 #define _ERRL4 0x10
9243 #define _AT1ERR5 0x20
9244 #define _ERR5 0x20
9245 #define _ERRL5 0x20
9246 #define _AT1ERR6 0x40
9247 #define _ERR6 0x40
9248 #define _ERRL6 0x40
9249 #define _AT1ERR7 0x80
9250 #define _ERR7 0x80
9251 #define _ERRL7 0x80
9253 //==============================================================================
9256 //==============================================================================
9257 // AT1ERRH Bits
9259 extern __at(0x081D) __sfr AT1ERRH;
9261 typedef union
9263 struct
9265 unsigned AT1ERR8 : 1;
9266 unsigned AT1ERR9 : 1;
9267 unsigned AT1ERR10 : 1;
9268 unsigned AT1ERR11 : 1;
9269 unsigned AT1ERR12 : 1;
9270 unsigned AT1ERR13 : 1;
9271 unsigned AT1ERR14 : 1;
9272 unsigned AT1ERR15 : 1;
9275 struct
9277 unsigned ERR8 : 1;
9278 unsigned ERR9 : 1;
9279 unsigned ERR10 : 1;
9280 unsigned ERR11 : 1;
9281 unsigned ERR12 : 1;
9282 unsigned ERR13 : 1;
9283 unsigned ERR14 : 1;
9284 unsigned ERR15 : 1;
9287 struct
9289 unsigned ERRH0 : 1;
9290 unsigned ERRH1 : 1;
9291 unsigned ERRH2 : 1;
9292 unsigned ERRH3 : 1;
9293 unsigned ERRH4 : 1;
9294 unsigned ERRH5 : 1;
9295 unsigned ERRH6 : 1;
9296 unsigned ERRH7 : 1;
9298 } __AT1ERRHbits_t;
9300 extern __at(0x081D) volatile __AT1ERRHbits_t AT1ERRHbits;
9302 #define _AT1ERR8 0x01
9303 #define _ERR8 0x01
9304 #define _ERRH0 0x01
9305 #define _AT1ERR9 0x02
9306 #define _ERR9 0x02
9307 #define _ERRH1 0x02
9308 #define _AT1ERR10 0x04
9309 #define _ERR10 0x04
9310 #define _ERRH2 0x04
9311 #define _AT1ERR11 0x08
9312 #define _ERR11 0x08
9313 #define _ERRH3 0x08
9314 #define _AT1ERR12 0x10
9315 #define _ERR12 0x10
9316 #define _ERRH4 0x10
9317 #define _AT1ERR13 0x20
9318 #define _ERR13 0x20
9319 #define _ERRH5 0x20
9320 #define _AT1ERR14 0x40
9321 #define _ERR14 0x40
9322 #define _ERRH6 0x40
9323 #define _AT1ERR15 0x80
9324 #define _ERR15 0x80
9325 #define _ERRH7 0x80
9327 //==============================================================================
9330 //==============================================================================
9331 // AT1CLK Bits
9333 extern __at(0x088C) __sfr AT1CLK;
9335 typedef union
9337 struct
9339 unsigned CS : 1;
9340 unsigned : 1;
9341 unsigned : 1;
9342 unsigned : 1;
9343 unsigned : 1;
9344 unsigned : 1;
9345 unsigned : 1;
9346 unsigned : 1;
9349 struct
9351 unsigned AT1CS : 1;
9352 unsigned : 1;
9353 unsigned : 1;
9354 unsigned : 1;
9355 unsigned : 1;
9356 unsigned : 1;
9357 unsigned : 1;
9358 unsigned : 1;
9361 struct
9363 unsigned CS0 : 1;
9364 unsigned : 1;
9365 unsigned : 1;
9366 unsigned : 1;
9367 unsigned : 1;
9368 unsigned : 1;
9369 unsigned : 1;
9370 unsigned : 1;
9373 struct
9375 unsigned AT1CS0 : 1;
9376 unsigned : 1;
9377 unsigned : 1;
9378 unsigned : 1;
9379 unsigned : 1;
9380 unsigned : 1;
9381 unsigned : 1;
9382 unsigned : 1;
9384 } __AT1CLKbits_t;
9386 extern __at(0x088C) volatile __AT1CLKbits_t AT1CLKbits;
9388 #define _CS 0x01
9389 #define _AT1CS 0x01
9390 #define _CS0 0x01
9391 #define _AT1CS0 0x01
9393 //==============================================================================
9396 //==============================================================================
9397 // AT1SIG Bits
9399 extern __at(0x088D) __sfr AT1SIG;
9401 typedef union
9403 struct
9405 unsigned AT1SSEL0 : 1;
9406 unsigned AT1SSEL1 : 1;
9407 unsigned AT1SSEL2 : 1;
9408 unsigned : 1;
9409 unsigned : 1;
9410 unsigned : 1;
9411 unsigned : 1;
9412 unsigned : 1;
9415 struct
9417 unsigned SSEL0 : 1;
9418 unsigned SSEL1 : 1;
9419 unsigned SSEL2 : 1;
9420 unsigned : 1;
9421 unsigned : 1;
9422 unsigned : 1;
9423 unsigned : 1;
9424 unsigned : 1;
9427 struct
9429 unsigned AT1SSEL : 3;
9430 unsigned : 5;
9433 struct
9435 unsigned SSEL : 3;
9436 unsigned : 5;
9438 } __AT1SIGbits_t;
9440 extern __at(0x088D) volatile __AT1SIGbits_t AT1SIGbits;
9442 #define _AT1SSEL0 0x01
9443 #define _SSEL0 0x01
9444 #define _AT1SSEL1 0x02
9445 #define _SSEL1 0x02
9446 #define _AT1SSEL2 0x04
9447 #define _SSEL2 0x04
9449 //==============================================================================
9452 //==============================================================================
9453 // AT1CSEL1 Bits
9455 extern __at(0x088E) __sfr AT1CSEL1;
9457 typedef union
9459 struct
9461 unsigned AT1CP1S0 : 1;
9462 unsigned AT1CP1S1 : 1;
9463 unsigned AT1CP1S2 : 1;
9464 unsigned : 1;
9465 unsigned : 1;
9466 unsigned : 1;
9467 unsigned : 1;
9468 unsigned : 1;
9471 struct
9473 unsigned CP1S0 : 1;
9474 unsigned CP1S1 : 1;
9475 unsigned CP1S2 : 1;
9476 unsigned : 1;
9477 unsigned : 1;
9478 unsigned : 1;
9479 unsigned : 1;
9480 unsigned : 1;
9483 struct
9485 unsigned AT1CP1S : 3;
9486 unsigned : 5;
9489 struct
9491 unsigned CP1S : 3;
9492 unsigned : 5;
9494 } __AT1CSEL1bits_t;
9496 extern __at(0x088E) volatile __AT1CSEL1bits_t AT1CSEL1bits;
9498 #define _AT1CP1S0 0x01
9499 #define _CP1S0 0x01
9500 #define _AT1CP1S1 0x02
9501 #define _CP1S1 0x02
9502 #define _AT1CP1S2 0x04
9503 #define _CP1S2 0x04
9505 //==============================================================================
9507 extern __at(0x088F) __sfr AT1CC1;
9509 //==============================================================================
9510 // AT1CC1L Bits
9512 extern __at(0x088F) __sfr AT1CC1L;
9514 typedef union
9516 struct
9518 unsigned AT1CC10 : 1;
9519 unsigned AT1CC11 : 1;
9520 unsigned AT1CC12 : 1;
9521 unsigned AT1CC13 : 1;
9522 unsigned AT1CC14 : 1;
9523 unsigned AT1CC15 : 1;
9524 unsigned AT1CC16 : 1;
9525 unsigned AT1CC17 : 1;
9528 struct
9530 unsigned CC10 : 1;
9531 unsigned CC11 : 1;
9532 unsigned CC12 : 1;
9533 unsigned CC13 : 1;
9534 unsigned CC14 : 1;
9535 unsigned CC15 : 1;
9536 unsigned CC16 : 1;
9537 unsigned CC17 : 1;
9539 } __AT1CC1Lbits_t;
9541 extern __at(0x088F) volatile __AT1CC1Lbits_t AT1CC1Lbits;
9543 #define _AT1CC10 0x01
9544 #define _CC10 0x01
9545 #define _AT1CC11 0x02
9546 #define _CC11 0x02
9547 #define _AT1CC12 0x04
9548 #define _CC12 0x04
9549 #define _AT1CC13 0x08
9550 #define _CC13 0x08
9551 #define _AT1CC14 0x10
9552 #define _CC14 0x10
9553 #define _AT1CC15 0x20
9554 #define _CC15 0x20
9555 #define _AT1CC16 0x40
9556 #define _CC16 0x40
9557 #define _AT1CC17 0x80
9558 #define _CC17 0x80
9560 //==============================================================================
9563 //==============================================================================
9564 // AT1CC1H Bits
9566 extern __at(0x0890) __sfr AT1CC1H;
9568 typedef union
9570 struct
9572 unsigned AT1CC18 : 1;
9573 unsigned AT1CC19 : 1;
9574 unsigned : 1;
9575 unsigned : 1;
9576 unsigned : 1;
9577 unsigned : 1;
9578 unsigned : 1;
9579 unsigned : 1;
9582 struct
9584 unsigned CC18 : 1;
9585 unsigned CC19 : 1;
9586 unsigned : 1;
9587 unsigned : 1;
9588 unsigned : 1;
9589 unsigned : 1;
9590 unsigned : 1;
9591 unsigned : 1;
9593 } __AT1CC1Hbits_t;
9595 extern __at(0x0890) volatile __AT1CC1Hbits_t AT1CC1Hbits;
9597 #define _AT1CC18 0x01
9598 #define _CC18 0x01
9599 #define _AT1CC19 0x02
9600 #define _CC19 0x02
9602 //==============================================================================
9605 //==============================================================================
9606 // AT1CCON1 Bits
9608 extern __at(0x0891) __sfr AT1CCON1;
9610 typedef union
9612 struct
9614 unsigned AT1CC1MODE : 1;
9615 unsigned : 1;
9616 unsigned : 1;
9617 unsigned AT1CAP1P : 1;
9618 unsigned AT1CC1POL : 1;
9619 unsigned : 1;
9620 unsigned : 1;
9621 unsigned AT1CC1EN : 1;
9624 struct
9626 unsigned CC1MODE : 1;
9627 unsigned : 1;
9628 unsigned : 1;
9629 unsigned CAP1P : 1;
9630 unsigned CC1POL : 1;
9631 unsigned : 1;
9632 unsigned : 1;
9633 unsigned CC1EN : 1;
9635 } __AT1CCON1bits_t;
9637 extern __at(0x0891) volatile __AT1CCON1bits_t AT1CCON1bits;
9639 #define _AT1CC1MODE 0x01
9640 #define _CC1MODE 0x01
9641 #define _AT1CAP1P 0x08
9642 #define _CAP1P 0x08
9643 #define _AT1CC1POL 0x10
9644 #define _CC1POL 0x10
9645 #define _AT1CC1EN 0x80
9646 #define _CC1EN 0x80
9648 //==============================================================================
9651 //==============================================================================
9652 // AT1CSEL2 Bits
9654 extern __at(0x0892) __sfr AT1CSEL2;
9656 typedef union
9658 struct
9660 unsigned AT1CP2S0 : 1;
9661 unsigned AT1CP2S1 : 1;
9662 unsigned AT1CP2S2 : 1;
9663 unsigned : 1;
9664 unsigned : 1;
9665 unsigned : 1;
9666 unsigned : 1;
9667 unsigned : 1;
9670 struct
9672 unsigned CP2S0 : 1;
9673 unsigned CP2S1 : 1;
9674 unsigned CP2S2 : 1;
9675 unsigned : 1;
9676 unsigned : 1;
9677 unsigned : 1;
9678 unsigned : 1;
9679 unsigned : 1;
9682 struct
9684 unsigned CP2S : 3;
9685 unsigned : 5;
9688 struct
9690 unsigned AT1CP2S : 3;
9691 unsigned : 5;
9693 } __AT1CSEL2bits_t;
9695 extern __at(0x0892) volatile __AT1CSEL2bits_t AT1CSEL2bits;
9697 #define _AT1CP2S0 0x01
9698 #define _CP2S0 0x01
9699 #define _AT1CP2S1 0x02
9700 #define _CP2S1 0x02
9701 #define _AT1CP2S2 0x04
9702 #define _CP2S2 0x04
9704 //==============================================================================
9706 extern __at(0x0893) __sfr AT1CC2;
9708 //==============================================================================
9709 // AT1CC2L Bits
9711 extern __at(0x0893) __sfr AT1CC2L;
9713 typedef union
9715 struct
9717 unsigned AT1CC20 : 1;
9718 unsigned AT1CC21 : 1;
9719 unsigned AT1CC22 : 1;
9720 unsigned AT1CC23 : 1;
9721 unsigned AT1CC24 : 1;
9722 unsigned AT1CC25 : 1;
9723 unsigned AT1CC26 : 1;
9724 unsigned AT1CC27 : 1;
9727 struct
9729 unsigned CC20 : 1;
9730 unsigned CC21 : 1;
9731 unsigned CC22 : 1;
9732 unsigned CC13 : 1;
9733 unsigned CC24 : 1;
9734 unsigned CCW5 : 1;
9735 unsigned CC26 : 1;
9736 unsigned CC27 : 1;
9738 } __AT1CC2Lbits_t;
9740 extern __at(0x0893) volatile __AT1CC2Lbits_t AT1CC2Lbits;
9742 #define _AT1CC2L_AT1CC20 0x01
9743 #define _AT1CC2L_CC20 0x01
9744 #define _AT1CC2L_AT1CC21 0x02
9745 #define _AT1CC2L_CC21 0x02
9746 #define _AT1CC2L_AT1CC22 0x04
9747 #define _AT1CC2L_CC22 0x04
9748 #define _AT1CC2L_AT1CC23 0x08
9749 #define _AT1CC2L_CC13 0x08
9750 #define _AT1CC2L_AT1CC24 0x10
9751 #define _AT1CC2L_CC24 0x10
9752 #define _AT1CC2L_AT1CC25 0x20
9753 #define _AT1CC2L_CCW5 0x20
9754 #define _AT1CC2L_AT1CC26 0x40
9755 #define _AT1CC2L_CC26 0x40
9756 #define _AT1CC2L_AT1CC27 0x80
9757 #define _AT1CC2L_CC27 0x80
9759 //==============================================================================
9762 //==============================================================================
9763 // AT1CC2H Bits
9765 extern __at(0x0894) __sfr AT1CC2H;
9767 typedef union
9769 struct
9771 unsigned AT1CC28 : 1;
9772 unsigned AT1CC29 : 1;
9773 unsigned : 1;
9774 unsigned : 1;
9775 unsigned : 1;
9776 unsigned : 1;
9777 unsigned : 1;
9778 unsigned : 1;
9781 struct
9783 unsigned CC28 : 1;
9784 unsigned CC29 : 1;
9785 unsigned : 1;
9786 unsigned : 1;
9787 unsigned : 1;
9788 unsigned : 1;
9789 unsigned : 1;
9790 unsigned : 1;
9792 } __AT1CC2Hbits_t;
9794 extern __at(0x0894) volatile __AT1CC2Hbits_t AT1CC2Hbits;
9796 #define _AT1CC28 0x01
9797 #define _CC28 0x01
9798 #define _AT1CC29 0x02
9799 #define _CC29 0x02
9801 //==============================================================================
9804 //==============================================================================
9805 // AT1CCON2 Bits
9807 extern __at(0x0895) __sfr AT1CCON2;
9809 typedef union
9811 struct
9813 unsigned AT1CC2MODE : 1;
9814 unsigned : 1;
9815 unsigned : 1;
9816 unsigned AT1CAP2P : 1;
9817 unsigned AT1CC2POL : 1;
9818 unsigned : 1;
9819 unsigned : 1;
9820 unsigned AT1CC2EN : 1;
9823 struct
9825 unsigned CC2MODE : 1;
9826 unsigned : 1;
9827 unsigned : 1;
9828 unsigned CAP2P : 1;
9829 unsigned CC2POL : 1;
9830 unsigned : 1;
9831 unsigned : 1;
9832 unsigned CC2EN : 1;
9834 } __AT1CCON2bits_t;
9836 extern __at(0x0895) volatile __AT1CCON2bits_t AT1CCON2bits;
9838 #define _AT1CC2MODE 0x01
9839 #define _CC2MODE 0x01
9840 #define _AT1CAP2P 0x08
9841 #define _CAP2P 0x08
9842 #define _AT1CC2POL 0x10
9843 #define _CC2POL 0x10
9844 #define _AT1CC2EN 0x80
9845 #define _CC2EN 0x80
9847 //==============================================================================
9850 //==============================================================================
9851 // AT1CSEL3 Bits
9853 extern __at(0x0896) __sfr AT1CSEL3;
9855 typedef union
9857 struct
9859 unsigned AT1CP3S0 : 1;
9860 unsigned AT1CP3S1 : 1;
9861 unsigned AT1CP3S2 : 1;
9862 unsigned : 1;
9863 unsigned : 1;
9864 unsigned : 1;
9865 unsigned : 1;
9866 unsigned : 1;
9869 struct
9871 unsigned CP3S0 : 1;
9872 unsigned CP3S1 : 1;
9873 unsigned CP3S2 : 1;
9874 unsigned : 1;
9875 unsigned : 1;
9876 unsigned : 1;
9877 unsigned : 1;
9878 unsigned : 1;
9881 struct
9883 unsigned CP3S : 3;
9884 unsigned : 5;
9887 struct
9889 unsigned AT1CP3S : 3;
9890 unsigned : 5;
9892 } __AT1CSEL3bits_t;
9894 extern __at(0x0896) volatile __AT1CSEL3bits_t AT1CSEL3bits;
9896 #define _AT1CP3S0 0x01
9897 #define _CP3S0 0x01
9898 #define _AT1CP3S1 0x02
9899 #define _CP3S1 0x02
9900 #define _AT1CP3S2 0x04
9901 #define _CP3S2 0x04
9903 //==============================================================================
9905 extern __at(0x0897) __sfr AT1CC3;
9907 //==============================================================================
9908 // AT1CC3L Bits
9910 extern __at(0x0897) __sfr AT1CC3L;
9912 typedef union
9914 struct
9916 unsigned AT1CC30 : 1;
9917 unsigned AT1CC31 : 1;
9918 unsigned AT1CC32 : 1;
9919 unsigned AT1CC33 : 1;
9920 unsigned AT1CC34 : 1;
9921 unsigned AT1CC35 : 1;
9922 unsigned AT1CC36 : 1;
9923 unsigned AT1CC37 : 1;
9926 struct
9928 unsigned CC30 : 1;
9929 unsigned CC31 : 1;
9930 unsigned CC32 : 1;
9931 unsigned CC33 : 1;
9932 unsigned CC34 : 1;
9933 unsigned CC35 : 1;
9934 unsigned CC36 : 1;
9935 unsigned CC37 : 1;
9937 } __AT1CC3Lbits_t;
9939 extern __at(0x0897) volatile __AT1CC3Lbits_t AT1CC3Lbits;
9941 #define _AT1CC30 0x01
9942 #define _CC30 0x01
9943 #define _AT1CC31 0x02
9944 #define _CC31 0x02
9945 #define _AT1CC32 0x04
9946 #define _CC32 0x04
9947 #define _AT1CC33 0x08
9948 #define _CC33 0x08
9949 #define _AT1CC34 0x10
9950 #define _CC34 0x10
9951 #define _AT1CC35 0x20
9952 #define _CC35 0x20
9953 #define _AT1CC36 0x40
9954 #define _CC36 0x40
9955 #define _AT1CC37 0x80
9956 #define _CC37 0x80
9958 //==============================================================================
9961 //==============================================================================
9962 // AT1CC3H Bits
9964 extern __at(0x0898) __sfr AT1CC3H;
9966 typedef union
9968 struct
9970 unsigned AT1CC38 : 1;
9971 unsigned AT1CC39 : 1;
9972 unsigned : 1;
9973 unsigned : 1;
9974 unsigned : 1;
9975 unsigned : 1;
9976 unsigned : 1;
9977 unsigned : 1;
9980 struct
9982 unsigned CC38 : 1;
9983 unsigned CC39 : 1;
9984 unsigned : 1;
9985 unsigned : 1;
9986 unsigned : 1;
9987 unsigned : 1;
9988 unsigned : 1;
9989 unsigned : 1;
9991 } __AT1CC3Hbits_t;
9993 extern __at(0x0898) volatile __AT1CC3Hbits_t AT1CC3Hbits;
9995 #define _AT1CC38 0x01
9996 #define _CC38 0x01
9997 #define _AT1CC39 0x02
9998 #define _CC39 0x02
10000 //==============================================================================
10003 //==============================================================================
10004 // AT1CCON3 Bits
10006 extern __at(0x0899) __sfr AT1CCON3;
10008 typedef union
10010 struct
10012 unsigned AT1CC3MODE : 1;
10013 unsigned : 1;
10014 unsigned : 1;
10015 unsigned AT1CAP3P : 1;
10016 unsigned AT1CC3POL : 1;
10017 unsigned : 1;
10018 unsigned : 1;
10019 unsigned AT1CC3EN : 1;
10022 struct
10024 unsigned CC3MODE : 1;
10025 unsigned : 1;
10026 unsigned : 1;
10027 unsigned CAP3P : 1;
10028 unsigned CC3POL : 1;
10029 unsigned : 1;
10030 unsigned : 1;
10031 unsigned CC3EN : 1;
10033 } __AT1CCON3bits_t;
10035 extern __at(0x0899) volatile __AT1CCON3bits_t AT1CCON3bits;
10037 #define _AT1CC3MODE 0x01
10038 #define _CC3MODE 0x01
10039 #define _AT1CAP3P 0x08
10040 #define _CAP3P 0x08
10041 #define _AT1CC3POL 0x10
10042 #define _CC3POL 0x10
10043 #define _AT1CC3EN 0x80
10044 #define _CC3EN 0x80
10046 //==============================================================================
10048 extern __at(0x0D8C) __sfr SMT1TMR;
10050 //==============================================================================
10051 // SMT1TMRL Bits
10053 extern __at(0x0D8C) __sfr SMT1TMRL;
10055 typedef struct
10057 unsigned SMT1TMR0 : 1;
10058 unsigned SMT1TMR1 : 1;
10059 unsigned SMT1TMR2 : 1;
10060 unsigned SMT1TMR3 : 1;
10061 unsigned SMT1TMR4 : 1;
10062 unsigned SMT1TMR5 : 1;
10063 unsigned SMT1TMR6 : 1;
10064 unsigned SMT1TMR7 : 1;
10065 } __SMT1TMRLbits_t;
10067 extern __at(0x0D8C) volatile __SMT1TMRLbits_t SMT1TMRLbits;
10069 #define _SMT1TMR0 0x01
10070 #define _SMT1TMR1 0x02
10071 #define _SMT1TMR2 0x04
10072 #define _SMT1TMR3 0x08
10073 #define _SMT1TMR4 0x10
10074 #define _SMT1TMR5 0x20
10075 #define _SMT1TMR6 0x40
10076 #define _SMT1TMR7 0x80
10078 //==============================================================================
10081 //==============================================================================
10082 // SMT1TMRH Bits
10084 extern __at(0x0D8D) __sfr SMT1TMRH;
10086 typedef struct
10088 unsigned SMT1TMR8 : 1;
10089 unsigned SMT1TMR9 : 1;
10090 unsigned SMT1TMR10 : 1;
10091 unsigned SMT1TMR11 : 1;
10092 unsigned SMT1TMR12 : 1;
10093 unsigned SMT1TMR13 : 1;
10094 unsigned SMT1TMR14 : 1;
10095 unsigned SMT1TMR15 : 1;
10096 } __SMT1TMRHbits_t;
10098 extern __at(0x0D8D) volatile __SMT1TMRHbits_t SMT1TMRHbits;
10100 #define _SMT1TMR8 0x01
10101 #define _SMT1TMR9 0x02
10102 #define _SMT1TMR10 0x04
10103 #define _SMT1TMR11 0x08
10104 #define _SMT1TMR12 0x10
10105 #define _SMT1TMR13 0x20
10106 #define _SMT1TMR14 0x40
10107 #define _SMT1TMR15 0x80
10109 //==============================================================================
10112 //==============================================================================
10113 // SMT1TMRU Bits
10115 extern __at(0x0D8E) __sfr SMT1TMRU;
10117 typedef struct
10119 unsigned SMT1TMR16 : 1;
10120 unsigned SMT1TMR17 : 1;
10121 unsigned SMT1TMR18 : 1;
10122 unsigned SMT1TMR19 : 1;
10123 unsigned SMT1TMR20 : 1;
10124 unsigned SMT1TMR21 : 1;
10125 unsigned SMT1TMR22 : 1;
10126 unsigned SMT1TMR23 : 1;
10127 } __SMT1TMRUbits_t;
10129 extern __at(0x0D8E) volatile __SMT1TMRUbits_t SMT1TMRUbits;
10131 #define _SMT1TMR16 0x01
10132 #define _SMT1TMR17 0x02
10133 #define _SMT1TMR18 0x04
10134 #define _SMT1TMR19 0x08
10135 #define _SMT1TMR20 0x10
10136 #define _SMT1TMR21 0x20
10137 #define _SMT1TMR22 0x40
10138 #define _SMT1TMR23 0x80
10140 //==============================================================================
10142 extern __at(0x0D8F) __sfr SMT1CPR;
10144 //==============================================================================
10145 // SMT1CPRL Bits
10147 extern __at(0x0D8F) __sfr SMT1CPRL;
10149 typedef struct
10151 unsigned SMT1CPR0 : 1;
10152 unsigned SMT1CPR1 : 1;
10153 unsigned SMT1CPR2 : 1;
10154 unsigned SMT1CPR3 : 1;
10155 unsigned SMT1CPR4 : 1;
10156 unsigned SMT1CPR5 : 1;
10157 unsigned SMT1CPR6 : 1;
10158 unsigned SMT1CPR7 : 1;
10159 } __SMT1CPRLbits_t;
10161 extern __at(0x0D8F) volatile __SMT1CPRLbits_t SMT1CPRLbits;
10163 #define _SMT1CPR0 0x01
10164 #define _SMT1CPR1 0x02
10165 #define _SMT1CPR2 0x04
10166 #define _SMT1CPR3 0x08
10167 #define _SMT1CPR4 0x10
10168 #define _SMT1CPR5 0x20
10169 #define _SMT1CPR6 0x40
10170 #define _SMT1CPR7 0x80
10172 //==============================================================================
10175 //==============================================================================
10176 // SMT1CPRH Bits
10178 extern __at(0x0D90) __sfr SMT1CPRH;
10180 typedef struct
10182 unsigned SMT1CPR8 : 1;
10183 unsigned SMT1CPR9 : 1;
10184 unsigned SMT1CPR10 : 1;
10185 unsigned SMT1CPR11 : 1;
10186 unsigned SMT1CPR12 : 1;
10187 unsigned SMT1CPR13 : 1;
10188 unsigned SMT1CPR14 : 1;
10189 unsigned SMT1CPR15 : 1;
10190 } __SMT1CPRHbits_t;
10192 extern __at(0x0D90) volatile __SMT1CPRHbits_t SMT1CPRHbits;
10194 #define _SMT1CPR8 0x01
10195 #define _SMT1CPR9 0x02
10196 #define _SMT1CPR10 0x04
10197 #define _SMT1CPR11 0x08
10198 #define _SMT1CPR12 0x10
10199 #define _SMT1CPR13 0x20
10200 #define _SMT1CPR14 0x40
10201 #define _SMT1CPR15 0x80
10203 //==============================================================================
10206 //==============================================================================
10207 // SMT1CPRU Bits
10209 extern __at(0x0D91) __sfr SMT1CPRU;
10211 typedef struct
10213 unsigned SMT1CPR16 : 1;
10214 unsigned SMT1CPR17 : 1;
10215 unsigned SMT1CPR18 : 1;
10216 unsigned SMT1CPR19 : 1;
10217 unsigned SMT1CPR20 : 1;
10218 unsigned SMT1CPR21 : 1;
10219 unsigned SMT1CPR22 : 1;
10220 unsigned SMT1CPR23 : 1;
10221 } __SMT1CPRUbits_t;
10223 extern __at(0x0D91) volatile __SMT1CPRUbits_t SMT1CPRUbits;
10225 #define _SMT1CPR16 0x01
10226 #define _SMT1CPR17 0x02
10227 #define _SMT1CPR18 0x04
10228 #define _SMT1CPR19 0x08
10229 #define _SMT1CPR20 0x10
10230 #define _SMT1CPR21 0x20
10231 #define _SMT1CPR22 0x40
10232 #define _SMT1CPR23 0x80
10234 //==============================================================================
10236 extern __at(0x0D92) __sfr SMT1CPW;
10238 //==============================================================================
10239 // SMT1CPWL Bits
10241 extern __at(0x0D92) __sfr SMT1CPWL;
10243 typedef struct
10245 unsigned SMT1CPW0 : 1;
10246 unsigned SMT1CPW1 : 1;
10247 unsigned SMT1CPW2 : 1;
10248 unsigned SMT1CPW3 : 1;
10249 unsigned SMT1CPW4 : 1;
10250 unsigned SMT1CPW5 : 1;
10251 unsigned SMT1CPW6 : 1;
10252 unsigned SMT1CPW7 : 1;
10253 } __SMT1CPWLbits_t;
10255 extern __at(0x0D92) volatile __SMT1CPWLbits_t SMT1CPWLbits;
10257 #define _SMT1CPW0 0x01
10258 #define _SMT1CPW1 0x02
10259 #define _SMT1CPW2 0x04
10260 #define _SMT1CPW3 0x08
10261 #define _SMT1CPW4 0x10
10262 #define _SMT1CPW5 0x20
10263 #define _SMT1CPW6 0x40
10264 #define _SMT1CPW7 0x80
10266 //==============================================================================
10269 //==============================================================================
10270 // SMT1CPWH Bits
10272 extern __at(0x0D93) __sfr SMT1CPWH;
10274 typedef struct
10276 unsigned SMT1CPW8 : 1;
10277 unsigned SMT1CPW9 : 1;
10278 unsigned SMT1CPW10 : 1;
10279 unsigned SMT1CPW11 : 1;
10280 unsigned SMT1CPW12 : 1;
10281 unsigned SMT1CPW13 : 1;
10282 unsigned SMT1CPW14 : 1;
10283 unsigned SMT1CPW15 : 1;
10284 } __SMT1CPWHbits_t;
10286 extern __at(0x0D93) volatile __SMT1CPWHbits_t SMT1CPWHbits;
10288 #define _SMT1CPW8 0x01
10289 #define _SMT1CPW9 0x02
10290 #define _SMT1CPW10 0x04
10291 #define _SMT1CPW11 0x08
10292 #define _SMT1CPW12 0x10
10293 #define _SMT1CPW13 0x20
10294 #define _SMT1CPW14 0x40
10295 #define _SMT1CPW15 0x80
10297 //==============================================================================
10300 //==============================================================================
10301 // SMT1CPWU Bits
10303 extern __at(0x0D94) __sfr SMT1CPWU;
10305 typedef struct
10307 unsigned SMT1CPW16 : 1;
10308 unsigned SMT1CPW17 : 1;
10309 unsigned SMT1CPW18 : 1;
10310 unsigned SMT1CPW19 : 1;
10311 unsigned SMT1CPW20 : 1;
10312 unsigned SMT1CPW21 : 1;
10313 unsigned SMT1CPW22 : 1;
10314 unsigned SMT1CPW23 : 1;
10315 } __SMT1CPWUbits_t;
10317 extern __at(0x0D94) volatile __SMT1CPWUbits_t SMT1CPWUbits;
10319 #define _SMT1CPW16 0x01
10320 #define _SMT1CPW17 0x02
10321 #define _SMT1CPW18 0x04
10322 #define _SMT1CPW19 0x08
10323 #define _SMT1CPW20 0x10
10324 #define _SMT1CPW21 0x20
10325 #define _SMT1CPW22 0x40
10326 #define _SMT1CPW23 0x80
10328 //==============================================================================
10330 extern __at(0x0D95) __sfr SMT1PR;
10332 //==============================================================================
10333 // SMT1PRL Bits
10335 extern __at(0x0D95) __sfr SMT1PRL;
10337 typedef struct
10339 unsigned SMT1PR0 : 1;
10340 unsigned SMT1PR1 : 1;
10341 unsigned SMT1PR2 : 1;
10342 unsigned SMT1PR3 : 1;
10343 unsigned SMT1PR4 : 1;
10344 unsigned SMT1PR5 : 1;
10345 unsigned SMT1PR6 : 1;
10346 unsigned SMT1PR7 : 1;
10347 } __SMT1PRLbits_t;
10349 extern __at(0x0D95) volatile __SMT1PRLbits_t SMT1PRLbits;
10351 #define _SMT1PR0 0x01
10352 #define _SMT1PR1 0x02
10353 #define _SMT1PR2 0x04
10354 #define _SMT1PR3 0x08
10355 #define _SMT1PR4 0x10
10356 #define _SMT1PR5 0x20
10357 #define _SMT1PR6 0x40
10358 #define _SMT1PR7 0x80
10360 //==============================================================================
10363 //==============================================================================
10364 // SMT1PRH Bits
10366 extern __at(0x0D96) __sfr SMT1PRH;
10368 typedef struct
10370 unsigned SMT1PR8 : 1;
10371 unsigned SMT1PR9 : 1;
10372 unsigned SMT1PR10 : 1;
10373 unsigned SMT1PR11 : 1;
10374 unsigned SMT1PR12 : 1;
10375 unsigned SMT1PR13 : 1;
10376 unsigned SMT1PR14 : 1;
10377 unsigned SMT1PR15 : 1;
10378 } __SMT1PRHbits_t;
10380 extern __at(0x0D96) volatile __SMT1PRHbits_t SMT1PRHbits;
10382 #define _SMT1PR8 0x01
10383 #define _SMT1PR9 0x02
10384 #define _SMT1PR10 0x04
10385 #define _SMT1PR11 0x08
10386 #define _SMT1PR12 0x10
10387 #define _SMT1PR13 0x20
10388 #define _SMT1PR14 0x40
10389 #define _SMT1PR15 0x80
10391 //==============================================================================
10394 //==============================================================================
10395 // SMT1PRU Bits
10397 extern __at(0x0D97) __sfr SMT1PRU;
10399 typedef struct
10401 unsigned SMT1PR16 : 1;
10402 unsigned SMT1PR17 : 1;
10403 unsigned SMT1PR18 : 1;
10404 unsigned SMT1PR19 : 1;
10405 unsigned SMT1PR20 : 1;
10406 unsigned SMT1PR21 : 1;
10407 unsigned SMT1PR22 : 1;
10408 unsigned SMT1PR23 : 1;
10409 } __SMT1PRUbits_t;
10411 extern __at(0x0D97) volatile __SMT1PRUbits_t SMT1PRUbits;
10413 #define _SMT1PR16 0x01
10414 #define _SMT1PR17 0x02
10415 #define _SMT1PR18 0x04
10416 #define _SMT1PR19 0x08
10417 #define _SMT1PR20 0x10
10418 #define _SMT1PR21 0x20
10419 #define _SMT1PR22 0x40
10420 #define _SMT1PR23 0x80
10422 //==============================================================================
10425 //==============================================================================
10426 // SMT1CON0 Bits
10428 extern __at(0x0D98) __sfr SMT1CON0;
10430 typedef union
10432 struct
10434 unsigned SMT1PS0 : 1;
10435 unsigned SMT1PS1 : 1;
10436 unsigned CPOL : 1;
10437 unsigned SPOL : 1;
10438 unsigned WPOL : 1;
10439 unsigned STP : 1;
10440 unsigned : 1;
10441 unsigned EN : 1;
10444 struct
10446 unsigned SMT1PS : 2;
10447 unsigned : 6;
10449 } __SMT1CON0bits_t;
10451 extern __at(0x0D98) volatile __SMT1CON0bits_t SMT1CON0bits;
10453 #define _SMT1CON0_SMT1PS0 0x01
10454 #define _SMT1CON0_SMT1PS1 0x02
10455 #define _SMT1CON0_CPOL 0x04
10456 #define _SMT1CON0_SPOL 0x08
10457 #define _SMT1CON0_WPOL 0x10
10458 #define _SMT1CON0_STP 0x20
10459 #define _SMT1CON0_EN 0x80
10461 //==============================================================================
10464 //==============================================================================
10465 // SMT1CON1 Bits
10467 extern __at(0x0D99) __sfr SMT1CON1;
10469 typedef union
10471 struct
10473 unsigned MODE0 : 1;
10474 unsigned MODE1 : 1;
10475 unsigned MODE2 : 1;
10476 unsigned MODE3 : 1;
10477 unsigned : 1;
10478 unsigned : 1;
10479 unsigned REPEAT : 1;
10480 unsigned SMT1GO : 1;
10483 struct
10485 unsigned SMT1MODE0 : 1;
10486 unsigned SMT1MODE1 : 1;
10487 unsigned SMT1MODE2 : 1;
10488 unsigned SMT1MODE3 : 1;
10489 unsigned : 1;
10490 unsigned : 1;
10491 unsigned SMT1REPEAT : 1;
10492 unsigned : 1;
10495 struct
10497 unsigned MODE : 4;
10498 unsigned : 4;
10501 struct
10503 unsigned SMT1MODE : 4;
10504 unsigned : 4;
10506 } __SMT1CON1bits_t;
10508 extern __at(0x0D99) volatile __SMT1CON1bits_t SMT1CON1bits;
10510 #define _SMT1CON1_MODE0 0x01
10511 #define _SMT1CON1_SMT1MODE0 0x01
10512 #define _SMT1CON1_MODE1 0x02
10513 #define _SMT1CON1_SMT1MODE1 0x02
10514 #define _SMT1CON1_MODE2 0x04
10515 #define _SMT1CON1_SMT1MODE2 0x04
10516 #define _SMT1CON1_MODE3 0x08
10517 #define _SMT1CON1_SMT1MODE3 0x08
10518 #define _SMT1CON1_REPEAT 0x40
10519 #define _SMT1CON1_SMT1REPEAT 0x40
10520 #define _SMT1CON1_SMT1GO 0x80
10522 //==============================================================================
10525 //==============================================================================
10526 // SMT1STAT Bits
10528 extern __at(0x0D9A) __sfr SMT1STAT;
10530 typedef union
10532 struct
10534 unsigned AS : 1;
10535 unsigned WS : 1;
10536 unsigned TS : 1;
10537 unsigned : 1;
10538 unsigned : 1;
10539 unsigned RST : 1;
10540 unsigned CPWUP : 1;
10541 unsigned CPRUP : 1;
10544 struct
10546 unsigned SMT1AS : 1;
10547 unsigned SMT1WS : 1;
10548 unsigned SMT1TS : 1;
10549 unsigned : 1;
10550 unsigned : 1;
10551 unsigned SMT1RESET : 1;
10552 unsigned SMT1CPWUP : 1;
10553 unsigned SMT1CPRUP : 1;
10555 } __SMT1STATbits_t;
10557 extern __at(0x0D9A) volatile __SMT1STATbits_t SMT1STATbits;
10559 #define _AS 0x01
10560 #define _SMT1AS 0x01
10561 #define _WS 0x02
10562 #define _SMT1WS 0x02
10563 #define _TS 0x04
10564 #define _SMT1TS 0x04
10565 #define _RST 0x20
10566 #define _SMT1RESET 0x20
10567 #define _CPWUP 0x40
10568 #define _SMT1CPWUP 0x40
10569 #define _CPRUP 0x80
10570 #define _SMT1CPRUP 0x80
10572 //==============================================================================
10575 //==============================================================================
10576 // SMT1CLK Bits
10578 extern __at(0x0D9B) __sfr SMT1CLK;
10580 typedef union
10582 struct
10584 unsigned CSEL0 : 1;
10585 unsigned CSEL1 : 1;
10586 unsigned CSEL2 : 1;
10587 unsigned : 1;
10588 unsigned : 1;
10589 unsigned : 1;
10590 unsigned : 1;
10591 unsigned : 1;
10594 struct
10596 unsigned SMT1CSEL0 : 1;
10597 unsigned SMT1CSEL1 : 1;
10598 unsigned SMT1CSEL2 : 1;
10599 unsigned : 1;
10600 unsigned : 1;
10601 unsigned : 1;
10602 unsigned : 1;
10603 unsigned : 1;
10606 struct
10608 unsigned SMT1CSEL : 3;
10609 unsigned : 5;
10612 struct
10614 unsigned CSEL : 3;
10615 unsigned : 5;
10617 } __SMT1CLKbits_t;
10619 extern __at(0x0D9B) volatile __SMT1CLKbits_t SMT1CLKbits;
10621 #define _CSEL0 0x01
10622 #define _SMT1CSEL0 0x01
10623 #define _CSEL1 0x02
10624 #define _SMT1CSEL1 0x02
10625 #define _CSEL2 0x04
10626 #define _SMT1CSEL2 0x04
10628 //==============================================================================
10631 //==============================================================================
10632 // SMT1SIG Bits
10634 extern __at(0x0D9C) __sfr SMT1SIG;
10636 typedef union
10638 struct
10640 unsigned SSEL0 : 1;
10641 unsigned SSEL1 : 1;
10642 unsigned SSEL2 : 1;
10643 unsigned SSEL3 : 1;
10644 unsigned SSEL4 : 1;
10645 unsigned : 1;
10646 unsigned : 1;
10647 unsigned : 1;
10650 struct
10652 unsigned SMT1SSEL0 : 1;
10653 unsigned SMT1SSEL1 : 1;
10654 unsigned SMT1SSEL2 : 1;
10655 unsigned SMT1SSEL3 : 1;
10656 unsigned SMT1SSEL4 : 1;
10657 unsigned : 1;
10658 unsigned : 1;
10659 unsigned : 1;
10662 struct
10664 unsigned SSEL : 5;
10665 unsigned : 3;
10668 struct
10670 unsigned SMT1SSEL : 5;
10671 unsigned : 3;
10673 } __SMT1SIGbits_t;
10675 extern __at(0x0D9C) volatile __SMT1SIGbits_t SMT1SIGbits;
10677 #define _SMT1SIG_SSEL0 0x01
10678 #define _SMT1SIG_SMT1SSEL0 0x01
10679 #define _SMT1SIG_SSEL1 0x02
10680 #define _SMT1SIG_SMT1SSEL1 0x02
10681 #define _SMT1SIG_SSEL2 0x04
10682 #define _SMT1SIG_SMT1SSEL2 0x04
10683 #define _SMT1SIG_SSEL3 0x08
10684 #define _SMT1SIG_SMT1SSEL3 0x08
10685 #define _SMT1SIG_SSEL4 0x10
10686 #define _SMT1SIG_SMT1SSEL4 0x10
10688 //==============================================================================
10691 //==============================================================================
10692 // SMT1WIN Bits
10694 extern __at(0x0D9D) __sfr SMT1WIN;
10696 typedef union
10698 struct
10700 unsigned WSEL0 : 1;
10701 unsigned WSEL1 : 1;
10702 unsigned WSEL2 : 1;
10703 unsigned WSEL3 : 1;
10704 unsigned WSEL4 : 1;
10705 unsigned : 1;
10706 unsigned : 1;
10707 unsigned : 1;
10710 struct
10712 unsigned SMT1WSEL0 : 1;
10713 unsigned SMT1WSEL1 : 1;
10714 unsigned SMT1WSEL2 : 1;
10715 unsigned SMT1WSEL3 : 1;
10716 unsigned SMT1WSEL4 : 1;
10717 unsigned : 1;
10718 unsigned : 1;
10719 unsigned : 1;
10722 struct
10724 unsigned WSEL : 5;
10725 unsigned : 3;
10728 struct
10730 unsigned SMT1WSEL : 5;
10731 unsigned : 3;
10733 } __SMT1WINbits_t;
10735 extern __at(0x0D9D) volatile __SMT1WINbits_t SMT1WINbits;
10737 #define _WSEL0 0x01
10738 #define _SMT1WSEL0 0x01
10739 #define _WSEL1 0x02
10740 #define _SMT1WSEL1 0x02
10741 #define _WSEL2 0x04
10742 #define _SMT1WSEL2 0x04
10743 #define _WSEL3 0x08
10744 #define _SMT1WSEL3 0x08
10745 #define _WSEL4 0x10
10746 #define _SMT1WSEL4 0x10
10748 //==============================================================================
10750 extern __at(0x0D9E) __sfr SMT2TMR;
10752 //==============================================================================
10753 // SMT2TMRL Bits
10755 extern __at(0x0D9E) __sfr SMT2TMRL;
10757 typedef struct
10759 unsigned SMT2TMR0 : 1;
10760 unsigned SMT2TMR1 : 1;
10761 unsigned SMT2TMR2 : 1;
10762 unsigned SMT2TMR3 : 1;
10763 unsigned SMT2TMR4 : 1;
10764 unsigned SMT2TMR5 : 1;
10765 unsigned SMT2TMR6 : 1;
10766 unsigned SMT2TMR7 : 1;
10767 } __SMT2TMRLbits_t;
10769 extern __at(0x0D9E) volatile __SMT2TMRLbits_t SMT2TMRLbits;
10771 #define _SMT2TMR0 0x01
10772 #define _SMT2TMR1 0x02
10773 #define _SMT2TMR2 0x04
10774 #define _SMT2TMR3 0x08
10775 #define _SMT2TMR4 0x10
10776 #define _SMT2TMR5 0x20
10777 #define _SMT2TMR6 0x40
10778 #define _SMT2TMR7 0x80
10780 //==============================================================================
10783 //==============================================================================
10784 // SMT2TMRH Bits
10786 extern __at(0x0D9F) __sfr SMT2TMRH;
10788 typedef struct
10790 unsigned SMT2TMR8 : 1;
10791 unsigned SMT2TMR9 : 1;
10792 unsigned SMT2TMR10 : 1;
10793 unsigned SMT2TMR11 : 1;
10794 unsigned SMT2TMR12 : 1;
10795 unsigned SMT2TMR13 : 1;
10796 unsigned SMT2TMR14 : 1;
10797 unsigned SMT2TMR15 : 1;
10798 } __SMT2TMRHbits_t;
10800 extern __at(0x0D9F) volatile __SMT2TMRHbits_t SMT2TMRHbits;
10802 #define _SMT2TMR8 0x01
10803 #define _SMT2TMR9 0x02
10804 #define _SMT2TMR10 0x04
10805 #define _SMT2TMR11 0x08
10806 #define _SMT2TMR12 0x10
10807 #define _SMT2TMR13 0x20
10808 #define _SMT2TMR14 0x40
10809 #define _SMT2TMR15 0x80
10811 //==============================================================================
10814 //==============================================================================
10815 // SMT2TMRU Bits
10817 extern __at(0x0DA0) __sfr SMT2TMRU;
10819 typedef struct
10821 unsigned SMT2TMR16 : 1;
10822 unsigned SMT2TMR17 : 1;
10823 unsigned SMT2TMR18 : 1;
10824 unsigned SMT2TMR19 : 1;
10825 unsigned SMT2TMR20 : 1;
10826 unsigned SMT2TMR21 : 1;
10827 unsigned SMT2TMR22 : 1;
10828 unsigned SMT2TMR23 : 1;
10829 } __SMT2TMRUbits_t;
10831 extern __at(0x0DA0) volatile __SMT2TMRUbits_t SMT2TMRUbits;
10833 #define _SMT2TMR16 0x01
10834 #define _SMT2TMR17 0x02
10835 #define _SMT2TMR18 0x04
10836 #define _SMT2TMR19 0x08
10837 #define _SMT2TMR20 0x10
10838 #define _SMT2TMR21 0x20
10839 #define _SMT2TMR22 0x40
10840 #define _SMT2TMR23 0x80
10842 //==============================================================================
10844 extern __at(0x0DA1) __sfr SMT2CPR;
10846 //==============================================================================
10847 // SMT2CPRL Bits
10849 extern __at(0x0DA1) __sfr SMT2CPRL;
10851 typedef struct
10853 unsigned SMT2CPR0 : 1;
10854 unsigned SMT2CPR1 : 1;
10855 unsigned SMT2CPR2 : 1;
10856 unsigned SMT2CPR3 : 1;
10857 unsigned SMT2CPR4 : 1;
10858 unsigned SMT2CPR5 : 1;
10859 unsigned SMT2CPR6 : 1;
10860 unsigned SMT2CPR7 : 1;
10861 } __SMT2CPRLbits_t;
10863 extern __at(0x0DA1) volatile __SMT2CPRLbits_t SMT2CPRLbits;
10865 #define _SMT2CPR0 0x01
10866 #define _SMT2CPR1 0x02
10867 #define _SMT2CPR2 0x04
10868 #define _SMT2CPR3 0x08
10869 #define _SMT2CPR4 0x10
10870 #define _SMT2CPR5 0x20
10871 #define _SMT2CPR6 0x40
10872 #define _SMT2CPR7 0x80
10874 //==============================================================================
10877 //==============================================================================
10878 // SMT2CPRH Bits
10880 extern __at(0x0DA2) __sfr SMT2CPRH;
10882 typedef struct
10884 unsigned SMT2CPR8 : 1;
10885 unsigned SMT2CPR9 : 1;
10886 unsigned SMT2CPR10 : 1;
10887 unsigned SMT2CPR11 : 1;
10888 unsigned SMT2CPR12 : 1;
10889 unsigned SMT2CPR13 : 1;
10890 unsigned SMT2CPR14 : 1;
10891 unsigned SMT2CPR15 : 1;
10892 } __SMT2CPRHbits_t;
10894 extern __at(0x0DA2) volatile __SMT2CPRHbits_t SMT2CPRHbits;
10896 #define _SMT2CPR8 0x01
10897 #define _SMT2CPR9 0x02
10898 #define _SMT2CPR10 0x04
10899 #define _SMT2CPR11 0x08
10900 #define _SMT2CPR12 0x10
10901 #define _SMT2CPR13 0x20
10902 #define _SMT2CPR14 0x40
10903 #define _SMT2CPR15 0x80
10905 //==============================================================================
10908 //==============================================================================
10909 // SMT2CPRU Bits
10911 extern __at(0x0DA3) __sfr SMT2CPRU;
10913 typedef struct
10915 unsigned SMT2CPR16 : 1;
10916 unsigned SMT2CPR17 : 1;
10917 unsigned SMT2CPR18 : 1;
10918 unsigned SMT2CPR19 : 1;
10919 unsigned SMT2CPR20 : 1;
10920 unsigned SMT2CPR21 : 1;
10921 unsigned SMT2CPR22 : 1;
10922 unsigned SMT2CPR23 : 1;
10923 } __SMT2CPRUbits_t;
10925 extern __at(0x0DA3) volatile __SMT2CPRUbits_t SMT2CPRUbits;
10927 #define _SMT2CPR16 0x01
10928 #define _SMT2CPR17 0x02
10929 #define _SMT2CPR18 0x04
10930 #define _SMT2CPR19 0x08
10931 #define _SMT2CPR20 0x10
10932 #define _SMT2CPR21 0x20
10933 #define _SMT2CPR22 0x40
10934 #define _SMT2CPR23 0x80
10936 //==============================================================================
10938 extern __at(0x0DA4) __sfr SMT2CPW;
10940 //==============================================================================
10941 // SMT2CPWL Bits
10943 extern __at(0x0DA4) __sfr SMT2CPWL;
10945 typedef struct
10947 unsigned SMT2CPW0 : 1;
10948 unsigned SMT2CPW1 : 1;
10949 unsigned SMT2CPW2 : 1;
10950 unsigned SMT2CPW3 : 1;
10951 unsigned SMT2CPW4 : 1;
10952 unsigned SMT2CPW5 : 1;
10953 unsigned SMT2CPW6 : 1;
10954 unsigned SMT2CPW7 : 1;
10955 } __SMT2CPWLbits_t;
10957 extern __at(0x0DA4) volatile __SMT2CPWLbits_t SMT2CPWLbits;
10959 #define _SMT2CPW0 0x01
10960 #define _SMT2CPW1 0x02
10961 #define _SMT2CPW2 0x04
10962 #define _SMT2CPW3 0x08
10963 #define _SMT2CPW4 0x10
10964 #define _SMT2CPW5 0x20
10965 #define _SMT2CPW6 0x40
10966 #define _SMT2CPW7 0x80
10968 //==============================================================================
10971 //==============================================================================
10972 // SMT2CPWH Bits
10974 extern __at(0x0DA5) __sfr SMT2CPWH;
10976 typedef struct
10978 unsigned SMT2CPW8 : 1;
10979 unsigned SMT2CPW9 : 1;
10980 unsigned SMT2CPW10 : 1;
10981 unsigned SMT2CPW11 : 1;
10982 unsigned SMT2CPW12 : 1;
10983 unsigned SMT2CPW13 : 1;
10984 unsigned SMT2CPW14 : 1;
10985 unsigned SMT2CPW15 : 1;
10986 } __SMT2CPWHbits_t;
10988 extern __at(0x0DA5) volatile __SMT2CPWHbits_t SMT2CPWHbits;
10990 #define _SMT2CPW8 0x01
10991 #define _SMT2CPW9 0x02
10992 #define _SMT2CPW10 0x04
10993 #define _SMT2CPW11 0x08
10994 #define _SMT2CPW12 0x10
10995 #define _SMT2CPW13 0x20
10996 #define _SMT2CPW14 0x40
10997 #define _SMT2CPW15 0x80
10999 //==============================================================================
11002 //==============================================================================
11003 // SMT2CPWU Bits
11005 extern __at(0x0DA6) __sfr SMT2CPWU;
11007 typedef struct
11009 unsigned SMT2CPW16 : 1;
11010 unsigned SMT2CPW17 : 1;
11011 unsigned SMT2CPW18 : 1;
11012 unsigned SMT2CPW19 : 1;
11013 unsigned SMT2CPW20 : 1;
11014 unsigned SMT2CPW21 : 1;
11015 unsigned SMT2CPW22 : 1;
11016 unsigned SMT2CPW23 : 1;
11017 } __SMT2CPWUbits_t;
11019 extern __at(0x0DA6) volatile __SMT2CPWUbits_t SMT2CPWUbits;
11021 #define _SMT2CPW16 0x01
11022 #define _SMT2CPW17 0x02
11023 #define _SMT2CPW18 0x04
11024 #define _SMT2CPW19 0x08
11025 #define _SMT2CPW20 0x10
11026 #define _SMT2CPW21 0x20
11027 #define _SMT2CPW22 0x40
11028 #define _SMT2CPW23 0x80
11030 //==============================================================================
11032 extern __at(0x0DA7) __sfr SMT2PR;
11034 //==============================================================================
11035 // SMT2PRL Bits
11037 extern __at(0x0DA7) __sfr SMT2PRL;
11039 typedef struct
11041 unsigned SMT2PR0 : 1;
11042 unsigned SMT2PR1 : 1;
11043 unsigned SMT2PR2 : 1;
11044 unsigned SMT2PR3 : 1;
11045 unsigned SMT2PR4 : 1;
11046 unsigned SMT2PR5 : 1;
11047 unsigned SMT2PR6 : 1;
11048 unsigned SMT2PR7 : 1;
11049 } __SMT2PRLbits_t;
11051 extern __at(0x0DA7) volatile __SMT2PRLbits_t SMT2PRLbits;
11053 #define _SMT2PR0 0x01
11054 #define _SMT2PR1 0x02
11055 #define _SMT2PR2 0x04
11056 #define _SMT2PR3 0x08
11057 #define _SMT2PR4 0x10
11058 #define _SMT2PR5 0x20
11059 #define _SMT2PR6 0x40
11060 #define _SMT2PR7 0x80
11062 //==============================================================================
11065 //==============================================================================
11066 // SMT2PRH Bits
11068 extern __at(0x0DA8) __sfr SMT2PRH;
11070 typedef struct
11072 unsigned SMT2PR8 : 1;
11073 unsigned SMT2PR9 : 1;
11074 unsigned SMT2PR10 : 1;
11075 unsigned SMT2PR11 : 1;
11076 unsigned SMT2PR12 : 1;
11077 unsigned SMT2PR13 : 1;
11078 unsigned SMT2PR14 : 1;
11079 unsigned SMT2PR15 : 1;
11080 } __SMT2PRHbits_t;
11082 extern __at(0x0DA8) volatile __SMT2PRHbits_t SMT2PRHbits;
11084 #define _SMT2PR8 0x01
11085 #define _SMT2PR9 0x02
11086 #define _SMT2PR10 0x04
11087 #define _SMT2PR11 0x08
11088 #define _SMT2PR12 0x10
11089 #define _SMT2PR13 0x20
11090 #define _SMT2PR14 0x40
11091 #define _SMT2PR15 0x80
11093 //==============================================================================
11096 //==============================================================================
11097 // SMT2PRU Bits
11099 extern __at(0x0DA9) __sfr SMT2PRU;
11101 typedef struct
11103 unsigned SMT2PR16 : 1;
11104 unsigned SMT2PR17 : 1;
11105 unsigned SMT2PR18 : 1;
11106 unsigned SMT2PR19 : 1;
11107 unsigned SMT2PR20 : 1;
11108 unsigned SMT2PR21 : 1;
11109 unsigned SMT2PR22 : 1;
11110 unsigned SMT2PR23 : 1;
11111 } __SMT2PRUbits_t;
11113 extern __at(0x0DA9) volatile __SMT2PRUbits_t SMT2PRUbits;
11115 #define _SMT2PR16 0x01
11116 #define _SMT2PR17 0x02
11117 #define _SMT2PR18 0x04
11118 #define _SMT2PR19 0x08
11119 #define _SMT2PR20 0x10
11120 #define _SMT2PR21 0x20
11121 #define _SMT2PR22 0x40
11122 #define _SMT2PR23 0x80
11124 //==============================================================================
11127 //==============================================================================
11128 // SMT2CON0 Bits
11130 extern __at(0x0DAA) __sfr SMT2CON0;
11132 typedef union
11134 struct
11136 unsigned SMT2PS0 : 1;
11137 unsigned SMT2PS1 : 1;
11138 unsigned CPOL : 1;
11139 unsigned SPOL : 1;
11140 unsigned WPOL : 1;
11141 unsigned STP : 1;
11142 unsigned : 1;
11143 unsigned EN : 1;
11146 struct
11148 unsigned SMT2PS : 2;
11149 unsigned : 6;
11151 } __SMT2CON0bits_t;
11153 extern __at(0x0DAA) volatile __SMT2CON0bits_t SMT2CON0bits;
11155 #define _SMT2CON0_SMT2PS0 0x01
11156 #define _SMT2CON0_SMT2PS1 0x02
11157 #define _SMT2CON0_CPOL 0x04
11158 #define _SMT2CON0_SPOL 0x08
11159 #define _SMT2CON0_WPOL 0x10
11160 #define _SMT2CON0_STP 0x20
11161 #define _SMT2CON0_EN 0x80
11163 //==============================================================================
11166 //==============================================================================
11167 // SMT2CON1 Bits
11169 extern __at(0x0DAB) __sfr SMT2CON1;
11171 typedef union
11173 struct
11175 unsigned MODE0 : 1;
11176 unsigned MODE1 : 1;
11177 unsigned MODE2 : 1;
11178 unsigned MODE3 : 1;
11179 unsigned : 1;
11180 unsigned : 1;
11181 unsigned REPEAT : 1;
11182 unsigned SMT2GO : 1;
11185 struct
11187 unsigned SMT2MODE0 : 1;
11188 unsigned SMT2MODE1 : 1;
11189 unsigned SMT2MODE2 : 1;
11190 unsigned SMT2MODE3 : 1;
11191 unsigned : 1;
11192 unsigned : 1;
11193 unsigned SMT2REPEAT : 1;
11194 unsigned : 1;
11197 struct
11199 unsigned MODE : 4;
11200 unsigned : 4;
11203 struct
11205 unsigned SMT2MODE : 4;
11206 unsigned : 4;
11208 } __SMT2CON1bits_t;
11210 extern __at(0x0DAB) volatile __SMT2CON1bits_t SMT2CON1bits;
11212 #define _SMT2CON1_MODE0 0x01
11213 #define _SMT2CON1_SMT2MODE0 0x01
11214 #define _SMT2CON1_MODE1 0x02
11215 #define _SMT2CON1_SMT2MODE1 0x02
11216 #define _SMT2CON1_MODE2 0x04
11217 #define _SMT2CON1_SMT2MODE2 0x04
11218 #define _SMT2CON1_MODE3 0x08
11219 #define _SMT2CON1_SMT2MODE3 0x08
11220 #define _SMT2CON1_REPEAT 0x40
11221 #define _SMT2CON1_SMT2REPEAT 0x40
11222 #define _SMT2CON1_SMT2GO 0x80
11224 //==============================================================================
11227 //==============================================================================
11228 // SMT2STAT Bits
11230 extern __at(0x0DAC) __sfr SMT2STAT;
11232 typedef union
11234 struct
11236 unsigned AS : 1;
11237 unsigned WS : 1;
11238 unsigned TS : 1;
11239 unsigned : 1;
11240 unsigned : 1;
11241 unsigned RST : 1;
11242 unsigned CPWUP : 1;
11243 unsigned CPRUP : 1;
11246 struct
11248 unsigned SMT2AS : 1;
11249 unsigned SMT2WS : 1;
11250 unsigned SMT2TS : 1;
11251 unsigned : 1;
11252 unsigned : 1;
11253 unsigned SMT2RESET : 1;
11254 unsigned SMT2CPWUP : 1;
11255 unsigned SMT2CPRUP : 1;
11257 } __SMT2STATbits_t;
11259 extern __at(0x0DAC) volatile __SMT2STATbits_t SMT2STATbits;
11261 #define _SMT2STAT_AS 0x01
11262 #define _SMT2STAT_SMT2AS 0x01
11263 #define _SMT2STAT_WS 0x02
11264 #define _SMT2STAT_SMT2WS 0x02
11265 #define _SMT2STAT_TS 0x04
11266 #define _SMT2STAT_SMT2TS 0x04
11267 #define _SMT2STAT_RST 0x20
11268 #define _SMT2STAT_SMT2RESET 0x20
11269 #define _SMT2STAT_CPWUP 0x40
11270 #define _SMT2STAT_SMT2CPWUP 0x40
11271 #define _SMT2STAT_CPRUP 0x80
11272 #define _SMT2STAT_SMT2CPRUP 0x80
11274 //==============================================================================
11277 //==============================================================================
11278 // SMT2CLK Bits
11280 extern __at(0x0DAD) __sfr SMT2CLK;
11282 typedef union
11284 struct
11286 unsigned CSEL0 : 1;
11287 unsigned CSEL1 : 1;
11288 unsigned CSEL2 : 1;
11289 unsigned : 1;
11290 unsigned : 1;
11291 unsigned : 1;
11292 unsigned : 1;
11293 unsigned : 1;
11296 struct
11298 unsigned SMT2CSEL0 : 1;
11299 unsigned SMT2CSEL1 : 1;
11300 unsigned SMT2CSEL2 : 1;
11301 unsigned : 1;
11302 unsigned : 1;
11303 unsigned : 1;
11304 unsigned : 1;
11305 unsigned : 1;
11308 struct
11310 unsigned SMT2CSEL : 3;
11311 unsigned : 5;
11314 struct
11316 unsigned CSEL : 3;
11317 unsigned : 5;
11319 } __SMT2CLKbits_t;
11321 extern __at(0x0DAD) volatile __SMT2CLKbits_t SMT2CLKbits;
11323 #define _SMT2CLK_CSEL0 0x01
11324 #define _SMT2CLK_SMT2CSEL0 0x01
11325 #define _SMT2CLK_CSEL1 0x02
11326 #define _SMT2CLK_SMT2CSEL1 0x02
11327 #define _SMT2CLK_CSEL2 0x04
11328 #define _SMT2CLK_SMT2CSEL2 0x04
11330 //==============================================================================
11333 //==============================================================================
11334 // SMT2SIG Bits
11336 extern __at(0x0DAE) __sfr SMT2SIG;
11338 typedef union
11340 struct
11342 unsigned SSEL0 : 1;
11343 unsigned SSEL1 : 1;
11344 unsigned SSEL2 : 1;
11345 unsigned SSEL3 : 1;
11346 unsigned SSEL4 : 1;
11347 unsigned : 1;
11348 unsigned : 1;
11349 unsigned : 1;
11352 struct
11354 unsigned SMT2SSEL0 : 1;
11355 unsigned SMT2SSEL1 : 1;
11356 unsigned SMT2SSEL2 : 1;
11357 unsigned SMT2SSEL3 : 1;
11358 unsigned SMT2SSEL4 : 1;
11359 unsigned : 1;
11360 unsigned : 1;
11361 unsigned : 1;
11364 struct
11366 unsigned SMT2SSEL : 5;
11367 unsigned : 3;
11370 struct
11372 unsigned SSEL : 5;
11373 unsigned : 3;
11375 } __SMT2SIGbits_t;
11377 extern __at(0x0DAE) volatile __SMT2SIGbits_t SMT2SIGbits;
11379 #define _SMT2SIG_SSEL0 0x01
11380 #define _SMT2SIG_SMT2SSEL0 0x01
11381 #define _SMT2SIG_SSEL1 0x02
11382 #define _SMT2SIG_SMT2SSEL1 0x02
11383 #define _SMT2SIG_SSEL2 0x04
11384 #define _SMT2SIG_SMT2SSEL2 0x04
11385 #define _SMT2SIG_SSEL3 0x08
11386 #define _SMT2SIG_SMT2SSEL3 0x08
11387 #define _SMT2SIG_SSEL4 0x10
11388 #define _SMT2SIG_SMT2SSEL4 0x10
11390 //==============================================================================
11393 //==============================================================================
11394 // SMT2WIN Bits
11396 extern __at(0x0DAF) __sfr SMT2WIN;
11398 typedef union
11400 struct
11402 unsigned WSEL0 : 1;
11403 unsigned WSEL1 : 1;
11404 unsigned WSEL2 : 1;
11405 unsigned WSEL3 : 1;
11406 unsigned WSEL4 : 1;
11407 unsigned : 1;
11408 unsigned : 1;
11409 unsigned : 1;
11412 struct
11414 unsigned SMT2WSEL0 : 1;
11415 unsigned SMT2WSEL1 : 1;
11416 unsigned SMT2WSEL2 : 1;
11417 unsigned SMT2WSEL3 : 1;
11418 unsigned SMT2WSEL4 : 1;
11419 unsigned : 1;
11420 unsigned : 1;
11421 unsigned : 1;
11424 struct
11426 unsigned WSEL : 5;
11427 unsigned : 3;
11430 struct
11432 unsigned SMT2WSEL : 5;
11433 unsigned : 3;
11435 } __SMT2WINbits_t;
11437 extern __at(0x0DAF) volatile __SMT2WINbits_t SMT2WINbits;
11439 #define _SMT2WIN_WSEL0 0x01
11440 #define _SMT2WIN_SMT2WSEL0 0x01
11441 #define _SMT2WIN_WSEL1 0x02
11442 #define _SMT2WIN_SMT2WSEL1 0x02
11443 #define _SMT2WIN_WSEL2 0x04
11444 #define _SMT2WIN_SMT2WSEL2 0x04
11445 #define _SMT2WIN_WSEL3 0x08
11446 #define _SMT2WIN_SMT2WSEL3 0x08
11447 #define _SMT2WIN_WSEL4 0x10
11448 #define _SMT2WIN_SMT2WSEL4 0x10
11450 //==============================================================================
11453 //==============================================================================
11454 // PPSLOCK Bits
11456 extern __at(0x0E0F) __sfr PPSLOCK;
11458 typedef struct
11460 unsigned PPSLOCKED : 1;
11461 unsigned : 1;
11462 unsigned : 1;
11463 unsigned : 1;
11464 unsigned : 1;
11465 unsigned : 1;
11466 unsigned : 1;
11467 unsigned : 1;
11468 } __PPSLOCKbits_t;
11470 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits;
11472 #define _PPSLOCKED 0x01
11474 //==============================================================================
11477 //==============================================================================
11478 // INTPPS Bits
11480 extern __at(0x0E10) __sfr INTPPS;
11482 typedef union
11484 struct
11486 unsigned INTPPS0 : 1;
11487 unsigned INTPPS1 : 1;
11488 unsigned INTPPS2 : 1;
11489 unsigned INTPPS3 : 1;
11490 unsigned INTPPS4 : 1;
11491 unsigned : 1;
11492 unsigned : 1;
11493 unsigned : 1;
11496 struct
11498 unsigned INTPPS : 5;
11499 unsigned : 3;
11501 } __INTPPSbits_t;
11503 extern __at(0x0E10) volatile __INTPPSbits_t INTPPSbits;
11505 #define _INTPPS0 0x01
11506 #define _INTPPS1 0x02
11507 #define _INTPPS2 0x04
11508 #define _INTPPS3 0x08
11509 #define _INTPPS4 0x10
11511 //==============================================================================
11514 //==============================================================================
11515 // T0CKIPPS Bits
11517 extern __at(0x0E11) __sfr T0CKIPPS;
11519 typedef union
11521 struct
11523 unsigned T0CKIPPS0 : 1;
11524 unsigned T0CKIPPS1 : 1;
11525 unsigned T0CKIPPS2 : 1;
11526 unsigned T0CKIPPS3 : 1;
11527 unsigned T0CKIPPS4 : 1;
11528 unsigned : 1;
11529 unsigned : 1;
11530 unsigned : 1;
11533 struct
11535 unsigned T0CKIPPS : 5;
11536 unsigned : 3;
11538 } __T0CKIPPSbits_t;
11540 extern __at(0x0E11) volatile __T0CKIPPSbits_t T0CKIPPSbits;
11542 #define _T0CKIPPS0 0x01
11543 #define _T0CKIPPS1 0x02
11544 #define _T0CKIPPS2 0x04
11545 #define _T0CKIPPS3 0x08
11546 #define _T0CKIPPS4 0x10
11548 //==============================================================================
11551 //==============================================================================
11552 // T1CKIPPS Bits
11554 extern __at(0x0E12) __sfr T1CKIPPS;
11556 typedef union
11558 struct
11560 unsigned T1CKIPPS0 : 1;
11561 unsigned T1CKIPPS1 : 1;
11562 unsigned T1CKIPPS2 : 1;
11563 unsigned T1CKIPPS3 : 1;
11564 unsigned T1CKIPPS4 : 1;
11565 unsigned : 1;
11566 unsigned : 1;
11567 unsigned : 1;
11570 struct
11572 unsigned T1CKIPPS : 5;
11573 unsigned : 3;
11575 } __T1CKIPPSbits_t;
11577 extern __at(0x0E12) volatile __T1CKIPPSbits_t T1CKIPPSbits;
11579 #define _T1CKIPPS0 0x01
11580 #define _T1CKIPPS1 0x02
11581 #define _T1CKIPPS2 0x04
11582 #define _T1CKIPPS3 0x08
11583 #define _T1CKIPPS4 0x10
11585 //==============================================================================
11588 //==============================================================================
11589 // T1GPPS Bits
11591 extern __at(0x0E13) __sfr T1GPPS;
11593 typedef union
11595 struct
11597 unsigned T1GPPS0 : 1;
11598 unsigned T1GPPS1 : 1;
11599 unsigned T1GPPS2 : 1;
11600 unsigned T1GPPS3 : 1;
11601 unsigned T1GPPS4 : 1;
11602 unsigned : 1;
11603 unsigned : 1;
11604 unsigned : 1;
11607 struct
11609 unsigned T1GPPS : 5;
11610 unsigned : 3;
11612 } __T1GPPSbits_t;
11614 extern __at(0x0E13) volatile __T1GPPSbits_t T1GPPSbits;
11616 #define _T1GPPS0 0x01
11617 #define _T1GPPS1 0x02
11618 #define _T1GPPS2 0x04
11619 #define _T1GPPS3 0x08
11620 #define _T1GPPS4 0x10
11622 //==============================================================================
11625 //==============================================================================
11626 // CCP1PPS Bits
11628 extern __at(0x0E14) __sfr CCP1PPS;
11630 typedef union
11632 struct
11634 unsigned CCP1PPS0 : 1;
11635 unsigned CCP1PPS1 : 1;
11636 unsigned CCP1PPS2 : 1;
11637 unsigned CCP1PPS3 : 1;
11638 unsigned CCP1PPS4 : 1;
11639 unsigned : 1;
11640 unsigned : 1;
11641 unsigned : 1;
11644 struct
11646 unsigned CCP1PPS : 5;
11647 unsigned : 3;
11649 } __CCP1PPSbits_t;
11651 extern __at(0x0E14) volatile __CCP1PPSbits_t CCP1PPSbits;
11653 #define _CCP1PPS0 0x01
11654 #define _CCP1PPS1 0x02
11655 #define _CCP1PPS2 0x04
11656 #define _CCP1PPS3 0x08
11657 #define _CCP1PPS4 0x10
11659 //==============================================================================
11662 //==============================================================================
11663 // CCP2PPS Bits
11665 extern __at(0x0E15) __sfr CCP2PPS;
11667 typedef union
11669 struct
11671 unsigned CCP2PPS0 : 1;
11672 unsigned CCP2PPS1 : 1;
11673 unsigned CCP2PPS2 : 1;
11674 unsigned CCP2PPS3 : 1;
11675 unsigned CCP2PPS4 : 1;
11676 unsigned : 1;
11677 unsigned : 1;
11678 unsigned : 1;
11681 struct
11683 unsigned CCP2PPS : 5;
11684 unsigned : 3;
11686 } __CCP2PPSbits_t;
11688 extern __at(0x0E15) volatile __CCP2PPSbits_t CCP2PPSbits;
11690 #define _CCP2PPS0 0x01
11691 #define _CCP2PPS1 0x02
11692 #define _CCP2PPS2 0x04
11693 #define _CCP2PPS3 0x08
11694 #define _CCP2PPS4 0x10
11696 //==============================================================================
11699 //==============================================================================
11700 // ATINPPS Bits
11702 extern __at(0x0E16) __sfr ATINPPS;
11704 typedef union
11706 struct
11708 unsigned ATINPPS0 : 1;
11709 unsigned ATINPPS1 : 1;
11710 unsigned ATINPPS2 : 1;
11711 unsigned ATINPPS3 : 1;
11712 unsigned ATINPPS4 : 1;
11713 unsigned : 1;
11714 unsigned : 1;
11715 unsigned : 1;
11718 struct
11720 unsigned ATINPPS : 5;
11721 unsigned : 3;
11723 } __ATINPPSbits_t;
11725 extern __at(0x0E16) volatile __ATINPPSbits_t ATINPPSbits;
11727 #define _ATINPPS0 0x01
11728 #define _ATINPPS1 0x02
11729 #define _ATINPPS2 0x04
11730 #define _ATINPPS3 0x08
11731 #define _ATINPPS4 0x10
11733 //==============================================================================
11736 //==============================================================================
11737 // CWGINPPS Bits
11739 extern __at(0x0E17) __sfr CWGINPPS;
11741 typedef union
11743 struct
11745 unsigned CWGINPPS0 : 1;
11746 unsigned CWGINPPS1 : 1;
11747 unsigned CWGINPPS2 : 1;
11748 unsigned CWGINPPS3 : 1;
11749 unsigned CWGINPPS4 : 1;
11750 unsigned : 1;
11751 unsigned : 1;
11752 unsigned : 1;
11755 struct
11757 unsigned CWGINPPS : 5;
11758 unsigned : 3;
11760 } __CWGINPPSbits_t;
11762 extern __at(0x0E17) volatile __CWGINPPSbits_t CWGINPPSbits;
11764 #define _CWGINPPS0 0x01
11765 #define _CWGINPPS1 0x02
11766 #define _CWGINPPS2 0x04
11767 #define _CWGINPPS3 0x08
11768 #define _CWGINPPS4 0x10
11770 //==============================================================================
11773 //==============================================================================
11774 // T2PPS Bits
11776 extern __at(0x0E18) __sfr T2PPS;
11778 typedef union
11780 struct
11782 unsigned T2PPS0 : 1;
11783 unsigned T2PPS1 : 1;
11784 unsigned T2PPS2 : 1;
11785 unsigned T2PPS3 : 1;
11786 unsigned T2PPS4 : 1;
11787 unsigned : 1;
11788 unsigned : 1;
11789 unsigned : 1;
11792 struct
11794 unsigned T2PPS : 5;
11795 unsigned : 3;
11797 } __T2PPSbits_t;
11799 extern __at(0x0E18) volatile __T2PPSbits_t T2PPSbits;
11801 #define _T2PPS0 0x01
11802 #define _T2PPS1 0x02
11803 #define _T2PPS2 0x04
11804 #define _T2PPS3 0x08
11805 #define _T2PPS4 0x10
11807 //==============================================================================
11810 //==============================================================================
11811 // T3CKIPPS Bits
11813 extern __at(0x0E19) __sfr T3CKIPPS;
11815 typedef union
11817 struct
11819 unsigned T3CKIPPS0 : 1;
11820 unsigned T3CKIPPS1 : 1;
11821 unsigned T3CKIPPS2 : 1;
11822 unsigned T3CKIPPS3 : 1;
11823 unsigned T3CKIPPS4 : 1;
11824 unsigned : 1;
11825 unsigned : 1;
11826 unsigned : 1;
11829 struct
11831 unsigned T3CKIPPS : 5;
11832 unsigned : 3;
11834 } __T3CKIPPSbits_t;
11836 extern __at(0x0E19) volatile __T3CKIPPSbits_t T3CKIPPSbits;
11838 #define _T3CKIPPS0 0x01
11839 #define _T3CKIPPS1 0x02
11840 #define _T3CKIPPS2 0x04
11841 #define _T3CKIPPS3 0x08
11842 #define _T3CKIPPS4 0x10
11844 //==============================================================================
11847 //==============================================================================
11848 // T3GPPS Bits
11850 extern __at(0x0E1A) __sfr T3GPPS;
11852 typedef union
11854 struct
11856 unsigned T3GPPS0 : 1;
11857 unsigned T3GPPS1 : 1;
11858 unsigned T3GPPS2 : 1;
11859 unsigned T3GPPS3 : 1;
11860 unsigned T3GPPS4 : 1;
11861 unsigned : 1;
11862 unsigned : 1;
11863 unsigned : 1;
11866 struct
11868 unsigned T3GPPS : 5;
11869 unsigned : 3;
11871 } __T3GPPSbits_t;
11873 extern __at(0x0E1A) volatile __T3GPPSbits_t T3GPPSbits;
11875 #define _T3GPPS0 0x01
11876 #define _T3GPPS1 0x02
11877 #define _T3GPPS2 0x04
11878 #define _T3GPPS3 0x08
11879 #define _T3GPPS4 0x10
11881 //==============================================================================
11884 //==============================================================================
11885 // T4PPS Bits
11887 extern __at(0x0E1B) __sfr T4PPS;
11889 typedef union
11891 struct
11893 unsigned T4PPS0 : 1;
11894 unsigned T4PPS1 : 1;
11895 unsigned T4PPS2 : 1;
11896 unsigned T4PPS3 : 1;
11897 unsigned T4PPS4 : 1;
11898 unsigned : 1;
11899 unsigned : 1;
11900 unsigned : 1;
11903 struct
11905 unsigned T4PPS : 5;
11906 unsigned : 3;
11908 } __T4PPSbits_t;
11910 extern __at(0x0E1B) volatile __T4PPSbits_t T4PPSbits;
11912 #define _T4PPS0 0x01
11913 #define _T4PPS1 0x02
11914 #define _T4PPS2 0x04
11915 #define _T4PPS3 0x08
11916 #define _T4PPS4 0x10
11918 //==============================================================================
11921 //==============================================================================
11922 // T5CKIPPS Bits
11924 extern __at(0x0E1C) __sfr T5CKIPPS;
11926 typedef union
11928 struct
11930 unsigned T5CKIPPS0 : 1;
11931 unsigned T5CKIPPS1 : 1;
11932 unsigned T5CKIPPS2 : 1;
11933 unsigned T5CKIPPS3 : 1;
11934 unsigned T5CKIPPS4 : 1;
11935 unsigned : 1;
11936 unsigned : 1;
11937 unsigned : 1;
11940 struct
11942 unsigned T5CKIPPS : 5;
11943 unsigned : 3;
11945 } __T5CKIPPSbits_t;
11947 extern __at(0x0E1C) volatile __T5CKIPPSbits_t T5CKIPPSbits;
11949 #define _T5CKIPPS0 0x01
11950 #define _T5CKIPPS1 0x02
11951 #define _T5CKIPPS2 0x04
11952 #define _T5CKIPPS3 0x08
11953 #define _T5CKIPPS4 0x10
11955 //==============================================================================
11958 //==============================================================================
11959 // T5GPPS Bits
11961 extern __at(0x0E1D) __sfr T5GPPS;
11963 typedef union
11965 struct
11967 unsigned T5GPPS0 : 1;
11968 unsigned T5GPPS1 : 1;
11969 unsigned T5GPPS2 : 1;
11970 unsigned T5GPPS3 : 1;
11971 unsigned T5GPPS4 : 1;
11972 unsigned : 1;
11973 unsigned : 1;
11974 unsigned : 1;
11977 struct
11979 unsigned T5GPPS : 5;
11980 unsigned : 3;
11982 } __T5GPPSbits_t;
11984 extern __at(0x0E1D) volatile __T5GPPSbits_t T5GPPSbits;
11986 #define _T5GPPS0 0x01
11987 #define _T5GPPS1 0x02
11988 #define _T5GPPS2 0x04
11989 #define _T5GPPS3 0x08
11990 #define _T5GPPS4 0x10
11992 //==============================================================================
11995 //==============================================================================
11996 // T6PPS Bits
11998 extern __at(0x0E1E) __sfr T6PPS;
12000 typedef union
12002 struct
12004 unsigned T6PPS0 : 1;
12005 unsigned T6PPS1 : 1;
12006 unsigned T6PPS2 : 1;
12007 unsigned T6PPS3 : 1;
12008 unsigned T6PPS4 : 1;
12009 unsigned : 1;
12010 unsigned : 1;
12011 unsigned : 1;
12014 struct
12016 unsigned T6PPS : 5;
12017 unsigned : 3;
12019 } __T6PPSbits_t;
12021 extern __at(0x0E1E) volatile __T6PPSbits_t T6PPSbits;
12023 #define _T6PPS0 0x01
12024 #define _T6PPS1 0x02
12025 #define _T6PPS2 0x04
12026 #define _T6PPS3 0x08
12027 #define _T6PPS4 0x10
12029 //==============================================================================
12032 //==============================================================================
12033 // ATCC1PPS Bits
12035 extern __at(0x0E1F) __sfr ATCC1PPS;
12037 typedef union
12039 struct
12041 unsigned ATCC1PPS0 : 1;
12042 unsigned ATCC1PPS1 : 1;
12043 unsigned ATCC1PPS2 : 1;
12044 unsigned ATCC1PPS3 : 1;
12045 unsigned ATCC1PPS4 : 1;
12046 unsigned : 1;
12047 unsigned : 1;
12048 unsigned : 1;
12051 struct
12053 unsigned ATCC1PPS : 5;
12054 unsigned : 3;
12056 } __ATCC1PPSbits_t;
12058 extern __at(0x0E1F) volatile __ATCC1PPSbits_t ATCC1PPSbits;
12060 #define _ATCC1PPS0 0x01
12061 #define _ATCC1PPS1 0x02
12062 #define _ATCC1PPS2 0x04
12063 #define _ATCC1PPS3 0x08
12064 #define _ATCC1PPS4 0x10
12066 //==============================================================================
12069 //==============================================================================
12070 // SSPCLKPPS Bits
12072 extern __at(0x0E20) __sfr SSPCLKPPS;
12074 typedef union
12076 struct
12078 unsigned SSPCLKPPS0 : 1;
12079 unsigned SSPCLKPPS1 : 1;
12080 unsigned SSPCLKPPS2 : 1;
12081 unsigned SSPCLKPPS3 : 1;
12082 unsigned SSPCLKPPS4 : 1;
12083 unsigned : 1;
12084 unsigned : 1;
12085 unsigned : 1;
12088 struct
12090 unsigned SSPCLKPPS : 5;
12091 unsigned : 3;
12093 } __SSPCLKPPSbits_t;
12095 extern __at(0x0E20) volatile __SSPCLKPPSbits_t SSPCLKPPSbits;
12097 #define _SSPCLKPPS0 0x01
12098 #define _SSPCLKPPS1 0x02
12099 #define _SSPCLKPPS2 0x04
12100 #define _SSPCLKPPS3 0x08
12101 #define _SSPCLKPPS4 0x10
12103 //==============================================================================
12106 //==============================================================================
12107 // SSPDATPPS Bits
12109 extern __at(0x0E21) __sfr SSPDATPPS;
12111 typedef union
12113 struct
12115 unsigned SSPDATPPS0 : 1;
12116 unsigned SSPDATPPS1 : 1;
12117 unsigned SSPDATPPS2 : 1;
12118 unsigned SSPDATPPS3 : 1;
12119 unsigned SSPDATPPS4 : 1;
12120 unsigned : 1;
12121 unsigned : 1;
12122 unsigned : 1;
12125 struct
12127 unsigned SSPDATPPS : 5;
12128 unsigned : 3;
12130 } __SSPDATPPSbits_t;
12132 extern __at(0x0E21) volatile __SSPDATPPSbits_t SSPDATPPSbits;
12134 #define _SSPDATPPS0 0x01
12135 #define _SSPDATPPS1 0x02
12136 #define _SSPDATPPS2 0x04
12137 #define _SSPDATPPS3 0x08
12138 #define _SSPDATPPS4 0x10
12140 //==============================================================================
12143 //==============================================================================
12144 // SSPSSPPS Bits
12146 extern __at(0x0E22) __sfr SSPSSPPS;
12148 typedef union
12150 struct
12152 unsigned SSPSSPPS0 : 1;
12153 unsigned SSPSSPPS1 : 1;
12154 unsigned SSPSSPPS2 : 1;
12155 unsigned SSPSSPPS3 : 1;
12156 unsigned SSPSSPPS4 : 1;
12157 unsigned : 1;
12158 unsigned : 1;
12159 unsigned : 1;
12162 struct
12164 unsigned SSPSSPPS : 5;
12165 unsigned : 3;
12167 } __SSPSSPPSbits_t;
12169 extern __at(0x0E22) volatile __SSPSSPPSbits_t SSPSSPPSbits;
12171 #define _SSPSSPPS0 0x01
12172 #define _SSPSSPPS1 0x02
12173 #define _SSPSSPPS2 0x04
12174 #define _SSPSSPPS3 0x08
12175 #define _SSPSSPPS4 0x10
12177 //==============================================================================
12180 //==============================================================================
12181 // ATCC2PPS Bits
12183 extern __at(0x0E23) __sfr ATCC2PPS;
12185 typedef union
12187 struct
12189 unsigned ATCC2PPS0 : 1;
12190 unsigned ATCC2PPS1 : 1;
12191 unsigned ATCC2PPS2 : 1;
12192 unsigned ATCC2PPS3 : 1;
12193 unsigned ATCC2PPS4 : 1;
12194 unsigned : 1;
12195 unsigned : 1;
12196 unsigned : 1;
12199 struct
12201 unsigned ATCC2PPS : 5;
12202 unsigned : 3;
12204 } __ATCC2PPSbits_t;
12206 extern __at(0x0E23) volatile __ATCC2PPSbits_t ATCC2PPSbits;
12208 #define _ATCC2PPS0 0x01
12209 #define _ATCC2PPS1 0x02
12210 #define _ATCC2PPS2 0x04
12211 #define _ATCC2PPS3 0x08
12212 #define _ATCC2PPS4 0x10
12214 //==============================================================================
12217 //==============================================================================
12218 // RXPPS Bits
12220 extern __at(0x0E24) __sfr RXPPS;
12222 typedef union
12224 struct
12226 unsigned RXPPS0 : 1;
12227 unsigned RXPPS1 : 1;
12228 unsigned RXPPS2 : 1;
12229 unsigned RXPPS3 : 1;
12230 unsigned RXPPS4 : 1;
12231 unsigned : 1;
12232 unsigned : 1;
12233 unsigned : 1;
12236 struct
12238 unsigned RXPPS : 5;
12239 unsigned : 3;
12241 } __RXPPSbits_t;
12243 extern __at(0x0E24) volatile __RXPPSbits_t RXPPSbits;
12245 #define _RXPPS0 0x01
12246 #define _RXPPS1 0x02
12247 #define _RXPPS2 0x04
12248 #define _RXPPS3 0x08
12249 #define _RXPPS4 0x10
12251 //==============================================================================
12254 //==============================================================================
12255 // CKPPS Bits
12257 extern __at(0x0E25) __sfr CKPPS;
12259 typedef union
12261 struct
12263 unsigned CKPPS0 : 1;
12264 unsigned CKPPS1 : 1;
12265 unsigned CKPPS2 : 1;
12266 unsigned CKPPS3 : 1;
12267 unsigned CKPPS4 : 1;
12268 unsigned : 1;
12269 unsigned : 1;
12270 unsigned : 1;
12273 struct
12275 unsigned CKPPS : 5;
12276 unsigned : 3;
12278 } __CKPPSbits_t;
12280 extern __at(0x0E25) volatile __CKPPSbits_t CKPPSbits;
12282 #define _CKPPS0 0x01
12283 #define _CKPPS1 0x02
12284 #define _CKPPS2 0x04
12285 #define _CKPPS3 0x08
12286 #define _CKPPS4 0x10
12288 //==============================================================================
12291 //==============================================================================
12292 // SMT1SIGPPS Bits
12294 extern __at(0x0E26) __sfr SMT1SIGPPS;
12296 typedef union
12298 struct
12300 unsigned SMT1SIGPPS0 : 1;
12301 unsigned SMT1SIGPPS1 : 1;
12302 unsigned SMT1SIGPPS2 : 1;
12303 unsigned SMT1SIGPPS3 : 1;
12304 unsigned SMT1SIGPPS4 : 1;
12305 unsigned : 1;
12306 unsigned : 1;
12307 unsigned : 1;
12310 struct
12312 unsigned SMT1SIGPPS : 5;
12313 unsigned : 3;
12315 } __SMT1SIGPPSbits_t;
12317 extern __at(0x0E26) volatile __SMT1SIGPPSbits_t SMT1SIGPPSbits;
12319 #define _SMT1SIGPPS0 0x01
12320 #define _SMT1SIGPPS1 0x02
12321 #define _SMT1SIGPPS2 0x04
12322 #define _SMT1SIGPPS3 0x08
12323 #define _SMT1SIGPPS4 0x10
12325 //==============================================================================
12328 //==============================================================================
12329 // SMT1WINPPS Bits
12331 extern __at(0x0E27) __sfr SMT1WINPPS;
12333 typedef union
12335 struct
12337 unsigned SMTWINPPS0 : 1;
12338 unsigned SMTWINPPS1 : 1;
12339 unsigned SMTWINPPS2 : 1;
12340 unsigned SMTWINPPS3 : 1;
12341 unsigned SMTWINPPS4 : 1;
12342 unsigned : 1;
12343 unsigned : 1;
12344 unsigned : 1;
12347 struct
12349 unsigned SMTWINPPS : 5;
12350 unsigned : 3;
12352 } __SMT1WINPPSbits_t;
12354 extern __at(0x0E27) volatile __SMT1WINPPSbits_t SMT1WINPPSbits;
12356 #define _SMTWINPPS0 0x01
12357 #define _SMTWINPPS1 0x02
12358 #define _SMTWINPPS2 0x04
12359 #define _SMTWINPPS3 0x08
12360 #define _SMTWINPPS4 0x10
12362 //==============================================================================
12365 //==============================================================================
12366 // CLCIN0PPS Bits
12368 extern __at(0x0E28) __sfr CLCIN0PPS;
12370 typedef union
12372 struct
12374 unsigned CLCIN0PPS0 : 1;
12375 unsigned CLCIN0PPS1 : 1;
12376 unsigned CLCIN0PPS2 : 1;
12377 unsigned CLCIN0PPS3 : 1;
12378 unsigned CLCIN0PPS4 : 1;
12379 unsigned : 1;
12380 unsigned : 1;
12381 unsigned : 1;
12384 struct
12386 unsigned CLCIN0PPS : 5;
12387 unsigned : 3;
12389 } __CLCIN0PPSbits_t;
12391 extern __at(0x0E28) volatile __CLCIN0PPSbits_t CLCIN0PPSbits;
12393 #define _CLCIN0PPS0 0x01
12394 #define _CLCIN0PPS1 0x02
12395 #define _CLCIN0PPS2 0x04
12396 #define _CLCIN0PPS3 0x08
12397 #define _CLCIN0PPS4 0x10
12399 //==============================================================================
12402 //==============================================================================
12403 // CLCIN1PPS Bits
12405 extern __at(0x0E29) __sfr CLCIN1PPS;
12407 typedef union
12409 struct
12411 unsigned CLCIN1PPS0 : 1;
12412 unsigned CLCIN1PPS1 : 1;
12413 unsigned CLCIN1PPS2 : 1;
12414 unsigned CLCIN1PPS3 : 1;
12415 unsigned CLCIN1PPS4 : 1;
12416 unsigned : 1;
12417 unsigned : 1;
12418 unsigned : 1;
12421 struct
12423 unsigned CLCIN1PPS : 5;
12424 unsigned : 3;
12426 } __CLCIN1PPSbits_t;
12428 extern __at(0x0E29) volatile __CLCIN1PPSbits_t CLCIN1PPSbits;
12430 #define _CLCIN1PPS0 0x01
12431 #define _CLCIN1PPS1 0x02
12432 #define _CLCIN1PPS2 0x04
12433 #define _CLCIN1PPS3 0x08
12434 #define _CLCIN1PPS4 0x10
12436 //==============================================================================
12439 //==============================================================================
12440 // CLCIN2PPS Bits
12442 extern __at(0x0E2A) __sfr CLCIN2PPS;
12444 typedef union
12446 struct
12448 unsigned CLCIN2PPS0 : 1;
12449 unsigned CLCIN2PPS1 : 1;
12450 unsigned CLCIN2PPS2 : 1;
12451 unsigned CLCIN2PPS3 : 1;
12452 unsigned CLCIN2PPS4 : 1;
12453 unsigned : 1;
12454 unsigned : 1;
12455 unsigned : 1;
12458 struct
12460 unsigned CLCIN2PPS : 5;
12461 unsigned : 3;
12463 } __CLCIN2PPSbits_t;
12465 extern __at(0x0E2A) volatile __CLCIN2PPSbits_t CLCIN2PPSbits;
12467 #define _CLCIN2PPS0 0x01
12468 #define _CLCIN2PPS1 0x02
12469 #define _CLCIN2PPS2 0x04
12470 #define _CLCIN2PPS3 0x08
12471 #define _CLCIN2PPS4 0x10
12473 //==============================================================================
12476 //==============================================================================
12477 // CLCIN3PPS Bits
12479 extern __at(0x0E2B) __sfr CLCIN3PPS;
12481 typedef union
12483 struct
12485 unsigned CLCIN3PPS0 : 1;
12486 unsigned CLCIN3PPS1 : 1;
12487 unsigned CLCIN3PPS2 : 1;
12488 unsigned CLCIN3PPS3 : 1;
12489 unsigned CLCIN3PPS4 : 1;
12490 unsigned : 1;
12491 unsigned : 1;
12492 unsigned : 1;
12495 struct
12497 unsigned CLCIN3PPS : 5;
12498 unsigned : 3;
12500 } __CLCIN3PPSbits_t;
12502 extern __at(0x0E2B) volatile __CLCIN3PPSbits_t CLCIN3PPSbits;
12504 #define _CLCIN3PPS0 0x01
12505 #define _CLCIN3PPS1 0x02
12506 #define _CLCIN3PPS2 0x04
12507 #define _CLCIN3PPS3 0x08
12508 #define _CLCIN3PPS4 0x10
12510 //==============================================================================
12513 //==============================================================================
12514 // SMT2SIGPPS Bits
12516 extern __at(0x0E2C) __sfr SMT2SIGPPS;
12518 typedef union
12520 struct
12522 unsigned SMT2SIGPPS0 : 1;
12523 unsigned SMT2SIGPPS1 : 1;
12524 unsigned SMT2SIGPPS2 : 1;
12525 unsigned SMT2SIGPPS3 : 1;
12526 unsigned SMT2SIGPPS4 : 1;
12527 unsigned : 1;
12528 unsigned : 1;
12529 unsigned : 1;
12532 struct
12534 unsigned SMT2SIGPPS : 5;
12535 unsigned : 3;
12537 } __SMT2SIGPPSbits_t;
12539 extern __at(0x0E2C) volatile __SMT2SIGPPSbits_t SMT2SIGPPSbits;
12541 #define _SMT2SIGPPS0 0x01
12542 #define _SMT2SIGPPS1 0x02
12543 #define _SMT2SIGPPS2 0x04
12544 #define _SMT2SIGPPS3 0x08
12545 #define _SMT2SIGPPS4 0x10
12547 //==============================================================================
12550 //==============================================================================
12551 // SMT2WINPPS Bits
12553 extern __at(0x0E2D) __sfr SMT2WINPPS;
12555 typedef union
12557 struct
12559 unsigned SMT2WINPPS0 : 1;
12560 unsigned SMT2WINPPS1 : 1;
12561 unsigned SMT2WINPPS2 : 1;
12562 unsigned SMT2WINPPS3 : 1;
12563 unsigned SMT2WINPPS4 : 1;
12564 unsigned : 1;
12565 unsigned : 1;
12566 unsigned : 1;
12569 struct
12571 unsigned SMT2WINPPS : 5;
12572 unsigned : 3;
12574 } __SMT2WINPPSbits_t;
12576 extern __at(0x0E2D) volatile __SMT2WINPPSbits_t SMT2WINPPSbits;
12578 #define _SMT2WINPPS0 0x01
12579 #define _SMT2WINPPS1 0x02
12580 #define _SMT2WINPPS2 0x04
12581 #define _SMT2WINPPS3 0x08
12582 #define _SMT2WINPPS4 0x10
12584 //==============================================================================
12587 //==============================================================================
12588 // ATCC3PPS Bits
12590 extern __at(0x0E2E) __sfr ATCC3PPS;
12592 typedef union
12594 struct
12596 unsigned ATCC3PPS0 : 1;
12597 unsigned ATCC3PPS1 : 1;
12598 unsigned ATCC3PPS2 : 1;
12599 unsigned ATCC3PPS3 : 1;
12600 unsigned ATCC3PPS4 : 1;
12601 unsigned : 1;
12602 unsigned : 1;
12603 unsigned : 1;
12606 struct
12608 unsigned ATCC3PPS : 5;
12609 unsigned : 3;
12611 } __ATCC3PPSbits_t;
12613 extern __at(0x0E2E) volatile __ATCC3PPSbits_t ATCC3PPSbits;
12615 #define _ATCC3PPS0 0x01
12616 #define _ATCC3PPS1 0x02
12617 #define _ATCC3PPS2 0x04
12618 #define _ATCC3PPS3 0x08
12619 #define _ATCC3PPS4 0x10
12621 //==============================================================================
12624 //==============================================================================
12625 // RA0PPS Bits
12627 extern __at(0x0E90) __sfr RA0PPS;
12629 typedef union
12631 struct
12633 unsigned RA0PPS0 : 1;
12634 unsigned RA0PPS1 : 1;
12635 unsigned RA0PPS2 : 1;
12636 unsigned RA0PPS3 : 1;
12637 unsigned RA0PPS4 : 1;
12638 unsigned : 1;
12639 unsigned : 1;
12640 unsigned : 1;
12643 struct
12645 unsigned RA0PPS : 5;
12646 unsigned : 3;
12648 } __RA0PPSbits_t;
12650 extern __at(0x0E90) volatile __RA0PPSbits_t RA0PPSbits;
12652 #define _RA0PPS0 0x01
12653 #define _RA0PPS1 0x02
12654 #define _RA0PPS2 0x04
12655 #define _RA0PPS3 0x08
12656 #define _RA0PPS4 0x10
12658 //==============================================================================
12661 //==============================================================================
12662 // RA1PPS Bits
12664 extern __at(0x0E91) __sfr RA1PPS;
12666 typedef union
12668 struct
12670 unsigned RA1PPS0 : 1;
12671 unsigned RA1PPS1 : 1;
12672 unsigned RA1PPS2 : 1;
12673 unsigned RA1PPS3 : 1;
12674 unsigned RA1PPS4 : 1;
12675 unsigned : 1;
12676 unsigned : 1;
12677 unsigned : 1;
12680 struct
12682 unsigned RA1PPS : 5;
12683 unsigned : 3;
12685 } __RA1PPSbits_t;
12687 extern __at(0x0E91) volatile __RA1PPSbits_t RA1PPSbits;
12689 #define _RA1PPS0 0x01
12690 #define _RA1PPS1 0x02
12691 #define _RA1PPS2 0x04
12692 #define _RA1PPS3 0x08
12693 #define _RA1PPS4 0x10
12695 //==============================================================================
12698 //==============================================================================
12699 // RA2PPS Bits
12701 extern __at(0x0E92) __sfr RA2PPS;
12703 typedef union
12705 struct
12707 unsigned RA2PPS0 : 1;
12708 unsigned RA2PPS1 : 1;
12709 unsigned RA2PPS2 : 1;
12710 unsigned RA2PPS3 : 1;
12711 unsigned RA2PPS4 : 1;
12712 unsigned : 1;
12713 unsigned : 1;
12714 unsigned : 1;
12717 struct
12719 unsigned RA2PPS : 5;
12720 unsigned : 3;
12722 } __RA2PPSbits_t;
12724 extern __at(0x0E92) volatile __RA2PPSbits_t RA2PPSbits;
12726 #define _RA2PPS0 0x01
12727 #define _RA2PPS1 0x02
12728 #define _RA2PPS2 0x04
12729 #define _RA2PPS3 0x08
12730 #define _RA2PPS4 0x10
12732 //==============================================================================
12735 //==============================================================================
12736 // RA4PPS Bits
12738 extern __at(0x0E94) __sfr RA4PPS;
12740 typedef union
12742 struct
12744 unsigned RA4PPS0 : 1;
12745 unsigned RA4PPS1 : 1;
12746 unsigned RA4PPS2 : 1;
12747 unsigned RA4PPS3 : 1;
12748 unsigned RA4PPS4 : 1;
12749 unsigned : 1;
12750 unsigned : 1;
12751 unsigned : 1;
12754 struct
12756 unsigned RA4PPS : 5;
12757 unsigned : 3;
12759 } __RA4PPSbits_t;
12761 extern __at(0x0E94) volatile __RA4PPSbits_t RA4PPSbits;
12763 #define _RA4PPS0 0x01
12764 #define _RA4PPS1 0x02
12765 #define _RA4PPS2 0x04
12766 #define _RA4PPS3 0x08
12767 #define _RA4PPS4 0x10
12769 //==============================================================================
12772 //==============================================================================
12773 // RA5PPS Bits
12775 extern __at(0x0E95) __sfr RA5PPS;
12777 typedef union
12779 struct
12781 unsigned RA5PPS0 : 1;
12782 unsigned RA5PPS1 : 1;
12783 unsigned RA5PPS2 : 1;
12784 unsigned RA5PPS3 : 1;
12785 unsigned RA5PPS4 : 1;
12786 unsigned : 1;
12787 unsigned : 1;
12788 unsigned : 1;
12791 struct
12793 unsigned RA5PPS : 5;
12794 unsigned : 3;
12796 } __RA5PPSbits_t;
12798 extern __at(0x0E95) volatile __RA5PPSbits_t RA5PPSbits;
12800 #define _RA5PPS0 0x01
12801 #define _RA5PPS1 0x02
12802 #define _RA5PPS2 0x04
12803 #define _RA5PPS3 0x08
12804 #define _RA5PPS4 0x10
12806 //==============================================================================
12809 //==============================================================================
12810 // RC0PPS Bits
12812 extern __at(0x0EA0) __sfr RC0PPS;
12814 typedef union
12816 struct
12818 unsigned RC0PPS0 : 1;
12819 unsigned RC0PPS1 : 1;
12820 unsigned RC0PPS2 : 1;
12821 unsigned RC0PPS3 : 1;
12822 unsigned RC0PPS4 : 1;
12823 unsigned : 1;
12824 unsigned : 1;
12825 unsigned : 1;
12828 struct
12830 unsigned RC0PPS : 5;
12831 unsigned : 3;
12833 } __RC0PPSbits_t;
12835 extern __at(0x0EA0) volatile __RC0PPSbits_t RC0PPSbits;
12837 #define _RC0PPS0 0x01
12838 #define _RC0PPS1 0x02
12839 #define _RC0PPS2 0x04
12840 #define _RC0PPS3 0x08
12841 #define _RC0PPS4 0x10
12843 //==============================================================================
12846 //==============================================================================
12847 // RC1PPS Bits
12849 extern __at(0x0EA1) __sfr RC1PPS;
12851 typedef union
12853 struct
12855 unsigned RC1PPS0 : 1;
12856 unsigned RC1PPS1 : 1;
12857 unsigned RC1PPS2 : 1;
12858 unsigned RC1PPS3 : 1;
12859 unsigned RC1PPS4 : 1;
12860 unsigned : 1;
12861 unsigned : 1;
12862 unsigned : 1;
12865 struct
12867 unsigned RC1PPS : 5;
12868 unsigned : 3;
12870 } __RC1PPSbits_t;
12872 extern __at(0x0EA1) volatile __RC1PPSbits_t RC1PPSbits;
12874 #define _RC1PPS0 0x01
12875 #define _RC1PPS1 0x02
12876 #define _RC1PPS2 0x04
12877 #define _RC1PPS3 0x08
12878 #define _RC1PPS4 0x10
12880 //==============================================================================
12883 //==============================================================================
12884 // RC2PPS Bits
12886 extern __at(0x0EA2) __sfr RC2PPS;
12888 typedef union
12890 struct
12892 unsigned RC2PPS0 : 1;
12893 unsigned RC2PPS1 : 1;
12894 unsigned RC2PPS2 : 1;
12895 unsigned RC2PPS3 : 1;
12896 unsigned RC2PPS4 : 1;
12897 unsigned : 1;
12898 unsigned : 1;
12899 unsigned : 1;
12902 struct
12904 unsigned RC2PPS : 5;
12905 unsigned : 3;
12907 } __RC2PPSbits_t;
12909 extern __at(0x0EA2) volatile __RC2PPSbits_t RC2PPSbits;
12911 #define _RC2PPS0 0x01
12912 #define _RC2PPS1 0x02
12913 #define _RC2PPS2 0x04
12914 #define _RC2PPS3 0x08
12915 #define _RC2PPS4 0x10
12917 //==============================================================================
12920 //==============================================================================
12921 // RC3PPS Bits
12923 extern __at(0x0EA3) __sfr RC3PPS;
12925 typedef union
12927 struct
12929 unsigned RC3PPS0 : 1;
12930 unsigned RC3PPS1 : 1;
12931 unsigned RC3PPS2 : 1;
12932 unsigned RC3PPS3 : 1;
12933 unsigned RC3PPS4 : 1;
12934 unsigned : 1;
12935 unsigned : 1;
12936 unsigned : 1;
12939 struct
12941 unsigned RC3PPS : 5;
12942 unsigned : 3;
12944 } __RC3PPSbits_t;
12946 extern __at(0x0EA3) volatile __RC3PPSbits_t RC3PPSbits;
12948 #define _RC3PPS0 0x01
12949 #define _RC3PPS1 0x02
12950 #define _RC3PPS2 0x04
12951 #define _RC3PPS3 0x08
12952 #define _RC3PPS4 0x10
12954 //==============================================================================
12957 //==============================================================================
12958 // RC4PPS Bits
12960 extern __at(0x0EA4) __sfr RC4PPS;
12962 typedef union
12964 struct
12966 unsigned RC4PPS0 : 1;
12967 unsigned RC4PPS1 : 1;
12968 unsigned RC4PPS2 : 1;
12969 unsigned RC4PPS3 : 1;
12970 unsigned RC4PPS4 : 1;
12971 unsigned : 1;
12972 unsigned : 1;
12973 unsigned : 1;
12976 struct
12978 unsigned RC4PPS : 5;
12979 unsigned : 3;
12981 } __RC4PPSbits_t;
12983 extern __at(0x0EA4) volatile __RC4PPSbits_t RC4PPSbits;
12985 #define _RC4PPS0 0x01
12986 #define _RC4PPS1 0x02
12987 #define _RC4PPS2 0x04
12988 #define _RC4PPS3 0x08
12989 #define _RC4PPS4 0x10
12991 //==============================================================================
12994 //==============================================================================
12995 // RC5PPS Bits
12997 extern __at(0x0EA5) __sfr RC5PPS;
12999 typedef union
13001 struct
13003 unsigned RC5PPS0 : 1;
13004 unsigned RC5PPS1 : 1;
13005 unsigned RC5PPS2 : 1;
13006 unsigned RC5PPS3 : 1;
13007 unsigned RC5PPS4 : 1;
13008 unsigned : 1;
13009 unsigned : 1;
13010 unsigned : 1;
13013 struct
13015 unsigned RC5PPS : 5;
13016 unsigned : 3;
13018 } __RC5PPSbits_t;
13020 extern __at(0x0EA5) volatile __RC5PPSbits_t RC5PPSbits;
13022 #define _RC5PPS0 0x01
13023 #define _RC5PPS1 0x02
13024 #define _RC5PPS2 0x04
13025 #define _RC5PPS3 0x08
13026 #define _RC5PPS4 0x10
13028 //==============================================================================
13031 //==============================================================================
13032 // CLCDATA Bits
13034 extern __at(0x0F0F) __sfr CLCDATA;
13036 typedef struct
13038 unsigned MLC1OUT : 1;
13039 unsigned MLC2OUT : 1;
13040 unsigned : 1;
13041 unsigned : 1;
13042 unsigned : 1;
13043 unsigned : 1;
13044 unsigned : 1;
13045 unsigned : 1;
13046 } __CLCDATAbits_t;
13048 extern __at(0x0F0F) volatile __CLCDATAbits_t CLCDATAbits;
13050 #define _MLC1OUT 0x01
13051 #define _MLC2OUT 0x02
13053 //==============================================================================
13056 //==============================================================================
13057 // CLC1CON Bits
13059 extern __at(0x0F10) __sfr CLC1CON;
13061 typedef union
13063 struct
13065 unsigned LC1MODE0 : 1;
13066 unsigned LC1MODE1 : 1;
13067 unsigned LC1MODE2 : 1;
13068 unsigned LC1INTN : 1;
13069 unsigned LC1INTP : 1;
13070 unsigned LC1OUT : 1;
13071 unsigned : 1;
13072 unsigned LC1EN : 1;
13075 struct
13077 unsigned MODE0 : 1;
13078 unsigned MODE1 : 1;
13079 unsigned MODE2 : 1;
13080 unsigned INTN : 1;
13081 unsigned INTP : 1;
13082 unsigned OUT : 1;
13083 unsigned : 1;
13084 unsigned EN : 1;
13087 struct
13089 unsigned LC1MODE : 3;
13090 unsigned : 5;
13093 struct
13095 unsigned MODE : 3;
13096 unsigned : 5;
13098 } __CLC1CONbits_t;
13100 extern __at(0x0F10) volatile __CLC1CONbits_t CLC1CONbits;
13102 #define _CLC1CON_LC1MODE0 0x01
13103 #define _CLC1CON_MODE0 0x01
13104 #define _CLC1CON_LC1MODE1 0x02
13105 #define _CLC1CON_MODE1 0x02
13106 #define _CLC1CON_LC1MODE2 0x04
13107 #define _CLC1CON_MODE2 0x04
13108 #define _CLC1CON_LC1INTN 0x08
13109 #define _CLC1CON_INTN 0x08
13110 #define _CLC1CON_LC1INTP 0x10
13111 #define _CLC1CON_INTP 0x10
13112 #define _CLC1CON_LC1OUT 0x20
13113 #define _CLC1CON_OUT 0x20
13114 #define _CLC1CON_LC1EN 0x80
13115 #define _CLC1CON_EN 0x80
13117 //==============================================================================
13120 //==============================================================================
13121 // CLC1POL Bits
13123 extern __at(0x0F11) __sfr CLC1POL;
13125 typedef union
13127 struct
13129 unsigned LC1G1POL : 1;
13130 unsigned LC1G2POL : 1;
13131 unsigned LC1G3POL : 1;
13132 unsigned LC1G4POL : 1;
13133 unsigned : 1;
13134 unsigned : 1;
13135 unsigned : 1;
13136 unsigned LC1POL : 1;
13139 struct
13141 unsigned G1POL : 1;
13142 unsigned G2POL : 1;
13143 unsigned G3POL : 1;
13144 unsigned G4POL : 1;
13145 unsigned : 1;
13146 unsigned : 1;
13147 unsigned : 1;
13148 unsigned POL : 1;
13150 } __CLC1POLbits_t;
13152 extern __at(0x0F11) volatile __CLC1POLbits_t CLC1POLbits;
13154 #define _CLC1POL_LC1G1POL 0x01
13155 #define _CLC1POL_G1POL 0x01
13156 #define _CLC1POL_LC1G2POL 0x02
13157 #define _CLC1POL_G2POL 0x02
13158 #define _CLC1POL_LC1G3POL 0x04
13159 #define _CLC1POL_G3POL 0x04
13160 #define _CLC1POL_LC1G4POL 0x08
13161 #define _CLC1POL_G4POL 0x08
13162 #define _CLC1POL_LC1POL 0x80
13163 #define _CLC1POL_POL 0x80
13165 //==============================================================================
13168 //==============================================================================
13169 // CLC1SEL0 Bits
13171 extern __at(0x0F12) __sfr CLC1SEL0;
13173 typedef union
13175 struct
13177 unsigned LC1D1S0 : 1;
13178 unsigned LC1D1S1 : 1;
13179 unsigned LC1D1S2 : 1;
13180 unsigned LC1D1S3 : 1;
13181 unsigned LC1D1S4 : 1;
13182 unsigned LC1D1S5 : 1;
13183 unsigned : 1;
13184 unsigned : 1;
13187 struct
13189 unsigned D1S0 : 1;
13190 unsigned D1S1 : 1;
13191 unsigned D1S2 : 1;
13192 unsigned D1S3 : 1;
13193 unsigned D1S4 : 1;
13194 unsigned D1S5 : 1;
13195 unsigned : 1;
13196 unsigned : 1;
13199 struct
13201 unsigned LC1D1S : 6;
13202 unsigned : 2;
13205 struct
13207 unsigned D1S : 6;
13208 unsigned : 2;
13210 } __CLC1SEL0bits_t;
13212 extern __at(0x0F12) volatile __CLC1SEL0bits_t CLC1SEL0bits;
13214 #define _LC1D1S0 0x01
13215 #define _D1S0 0x01
13216 #define _LC1D1S1 0x02
13217 #define _D1S1 0x02
13218 #define _LC1D1S2 0x04
13219 #define _D1S2 0x04
13220 #define _LC1D1S3 0x08
13221 #define _D1S3 0x08
13222 #define _LC1D1S4 0x10
13223 #define _D1S4 0x10
13224 #define _LC1D1S5 0x20
13225 #define _D1S5 0x20
13227 //==============================================================================
13230 //==============================================================================
13231 // CLC1SEL1 Bits
13233 extern __at(0x0F13) __sfr CLC1SEL1;
13235 typedef union
13237 struct
13239 unsigned LC1D2S0 : 1;
13240 unsigned LC1D2S1 : 1;
13241 unsigned LC1D2S2 : 1;
13242 unsigned LC1D2S3 : 1;
13243 unsigned LC1D2S4 : 1;
13244 unsigned LC1D2S5 : 1;
13245 unsigned : 1;
13246 unsigned : 1;
13249 struct
13251 unsigned D2S0 : 1;
13252 unsigned D2S1 : 1;
13253 unsigned D2S2 : 1;
13254 unsigned D2S3 : 1;
13255 unsigned D2S4 : 1;
13256 unsigned D2S5 : 1;
13257 unsigned : 1;
13258 unsigned : 1;
13261 struct
13263 unsigned LC1D2S : 6;
13264 unsigned : 2;
13267 struct
13269 unsigned D2S : 6;
13270 unsigned : 2;
13272 } __CLC1SEL1bits_t;
13274 extern __at(0x0F13) volatile __CLC1SEL1bits_t CLC1SEL1bits;
13276 #define _LC1D2S0 0x01
13277 #define _D2S0 0x01
13278 #define _LC1D2S1 0x02
13279 #define _D2S1 0x02
13280 #define _LC1D2S2 0x04
13281 #define _D2S2 0x04
13282 #define _LC1D2S3 0x08
13283 #define _D2S3 0x08
13284 #define _LC1D2S4 0x10
13285 #define _D2S4 0x10
13286 #define _LC1D2S5 0x20
13287 #define _D2S5 0x20
13289 //==============================================================================
13292 //==============================================================================
13293 // CLC1SEL2 Bits
13295 extern __at(0x0F14) __sfr CLC1SEL2;
13297 typedef union
13299 struct
13301 unsigned LC1D3S0 : 1;
13302 unsigned LC1D3S1 : 1;
13303 unsigned LC1D3S2 : 1;
13304 unsigned LC1D3S3 : 1;
13305 unsigned LC1D3S4 : 1;
13306 unsigned LC1D3S5 : 1;
13307 unsigned : 1;
13308 unsigned : 1;
13311 struct
13313 unsigned D3S0 : 1;
13314 unsigned D3S1 : 1;
13315 unsigned D3S2 : 1;
13316 unsigned D3S3 : 1;
13317 unsigned D3S4 : 1;
13318 unsigned D3S5 : 1;
13319 unsigned : 1;
13320 unsigned : 1;
13323 struct
13325 unsigned D3S : 6;
13326 unsigned : 2;
13329 struct
13331 unsigned LC1D3S : 6;
13332 unsigned : 2;
13334 } __CLC1SEL2bits_t;
13336 extern __at(0x0F14) volatile __CLC1SEL2bits_t CLC1SEL2bits;
13338 #define _LC1D3S0 0x01
13339 #define _D3S0 0x01
13340 #define _LC1D3S1 0x02
13341 #define _D3S1 0x02
13342 #define _LC1D3S2 0x04
13343 #define _D3S2 0x04
13344 #define _LC1D3S3 0x08
13345 #define _D3S3 0x08
13346 #define _LC1D3S4 0x10
13347 #define _D3S4 0x10
13348 #define _LC1D3S5 0x20
13349 #define _D3S5 0x20
13351 //==============================================================================
13354 //==============================================================================
13355 // CLC1SEL3 Bits
13357 extern __at(0x0F15) __sfr CLC1SEL3;
13359 typedef union
13361 struct
13363 unsigned LC1D4S0 : 1;
13364 unsigned LC1D4S1 : 1;
13365 unsigned LC1D4S2 : 1;
13366 unsigned LC1D4S3 : 1;
13367 unsigned LC1D4S4 : 1;
13368 unsigned LC1D4S5 : 1;
13369 unsigned : 1;
13370 unsigned : 1;
13373 struct
13375 unsigned D4S0 : 1;
13376 unsigned D4S1 : 1;
13377 unsigned D4S2 : 1;
13378 unsigned D4S3 : 1;
13379 unsigned D4S4 : 1;
13380 unsigned D4S5 : 1;
13381 unsigned : 1;
13382 unsigned : 1;
13385 struct
13387 unsigned LC1D4S : 6;
13388 unsigned : 2;
13391 struct
13393 unsigned D4S : 6;
13394 unsigned : 2;
13396 } __CLC1SEL3bits_t;
13398 extern __at(0x0F15) volatile __CLC1SEL3bits_t CLC1SEL3bits;
13400 #define _LC1D4S0 0x01
13401 #define _D4S0 0x01
13402 #define _LC1D4S1 0x02
13403 #define _D4S1 0x02
13404 #define _LC1D4S2 0x04
13405 #define _D4S2 0x04
13406 #define _LC1D4S3 0x08
13407 #define _D4S3 0x08
13408 #define _LC1D4S4 0x10
13409 #define _D4S4 0x10
13410 #define _LC1D4S5 0x20
13411 #define _D4S5 0x20
13413 //==============================================================================
13416 //==============================================================================
13417 // CLC1GLS0 Bits
13419 extern __at(0x0F16) __sfr CLC1GLS0;
13421 typedef union
13423 struct
13425 unsigned LC1G1D1N : 1;
13426 unsigned LC1G1D1T : 1;
13427 unsigned LC1G1D2N : 1;
13428 unsigned LC1G1D2T : 1;
13429 unsigned LC1G1D3N : 1;
13430 unsigned LC1G1D3T : 1;
13431 unsigned LC1G1D4N : 1;
13432 unsigned LC1G1D4T : 1;
13435 struct
13437 unsigned D1N : 1;
13438 unsigned D1T : 1;
13439 unsigned D2N : 1;
13440 unsigned D2T : 1;
13441 unsigned D3N : 1;
13442 unsigned D3T : 1;
13443 unsigned D4N : 1;
13444 unsigned D4T : 1;
13446 } __CLC1GLS0bits_t;
13448 extern __at(0x0F16) volatile __CLC1GLS0bits_t CLC1GLS0bits;
13450 #define _LC1G1D1N 0x01
13451 #define _D1N 0x01
13452 #define _LC1G1D1T 0x02
13453 #define _D1T 0x02
13454 #define _LC1G1D2N 0x04
13455 #define _D2N 0x04
13456 #define _LC1G1D2T 0x08
13457 #define _D2T 0x08
13458 #define _LC1G1D3N 0x10
13459 #define _D3N 0x10
13460 #define _LC1G1D3T 0x20
13461 #define _D3T 0x20
13462 #define _LC1G1D4N 0x40
13463 #define _D4N 0x40
13464 #define _LC1G1D4T 0x80
13465 #define _D4T 0x80
13467 //==============================================================================
13470 //==============================================================================
13471 // CLC1GLS1 Bits
13473 extern __at(0x0F17) __sfr CLC1GLS1;
13475 typedef union
13477 struct
13479 unsigned LC1G2D1N : 1;
13480 unsigned LC1G2D1T : 1;
13481 unsigned LC1G2D2N : 1;
13482 unsigned LC1G2D2T : 1;
13483 unsigned LC1G2D3N : 1;
13484 unsigned LC1G2D3T : 1;
13485 unsigned LC1G2D4N : 1;
13486 unsigned LC1G2D4T : 1;
13489 struct
13491 unsigned D1N : 1;
13492 unsigned D1T : 1;
13493 unsigned D2N : 1;
13494 unsigned D2T : 1;
13495 unsigned D3N : 1;
13496 unsigned D3T : 1;
13497 unsigned D4N : 1;
13498 unsigned D4T : 1;
13500 } __CLC1GLS1bits_t;
13502 extern __at(0x0F17) volatile __CLC1GLS1bits_t CLC1GLS1bits;
13504 #define _CLC1GLS1_LC1G2D1N 0x01
13505 #define _CLC1GLS1_D1N 0x01
13506 #define _CLC1GLS1_LC1G2D1T 0x02
13507 #define _CLC1GLS1_D1T 0x02
13508 #define _CLC1GLS1_LC1G2D2N 0x04
13509 #define _CLC1GLS1_D2N 0x04
13510 #define _CLC1GLS1_LC1G2D2T 0x08
13511 #define _CLC1GLS1_D2T 0x08
13512 #define _CLC1GLS1_LC1G2D3N 0x10
13513 #define _CLC1GLS1_D3N 0x10
13514 #define _CLC1GLS1_LC1G2D3T 0x20
13515 #define _CLC1GLS1_D3T 0x20
13516 #define _CLC1GLS1_LC1G2D4N 0x40
13517 #define _CLC1GLS1_D4N 0x40
13518 #define _CLC1GLS1_LC1G2D4T 0x80
13519 #define _CLC1GLS1_D4T 0x80
13521 //==============================================================================
13524 //==============================================================================
13525 // CLC1GLS2 Bits
13527 extern __at(0x0F18) __sfr CLC1GLS2;
13529 typedef union
13531 struct
13533 unsigned LC1G3D1N : 1;
13534 unsigned LC1G3D1T : 1;
13535 unsigned LC1G3D2N : 1;
13536 unsigned LC1G3D2T : 1;
13537 unsigned LC1G3D3N : 1;
13538 unsigned LC1G3D3T : 1;
13539 unsigned LC1G3D4N : 1;
13540 unsigned LC1G3D4T : 1;
13543 struct
13545 unsigned D1N : 1;
13546 unsigned D1T : 1;
13547 unsigned D2N : 1;
13548 unsigned D2T : 1;
13549 unsigned D3N : 1;
13550 unsigned D3T : 1;
13551 unsigned D4N : 1;
13552 unsigned D4T : 1;
13554 } __CLC1GLS2bits_t;
13556 extern __at(0x0F18) volatile __CLC1GLS2bits_t CLC1GLS2bits;
13558 #define _CLC1GLS2_LC1G3D1N 0x01
13559 #define _CLC1GLS2_D1N 0x01
13560 #define _CLC1GLS2_LC1G3D1T 0x02
13561 #define _CLC1GLS2_D1T 0x02
13562 #define _CLC1GLS2_LC1G3D2N 0x04
13563 #define _CLC1GLS2_D2N 0x04
13564 #define _CLC1GLS2_LC1G3D2T 0x08
13565 #define _CLC1GLS2_D2T 0x08
13566 #define _CLC1GLS2_LC1G3D3N 0x10
13567 #define _CLC1GLS2_D3N 0x10
13568 #define _CLC1GLS2_LC1G3D3T 0x20
13569 #define _CLC1GLS2_D3T 0x20
13570 #define _CLC1GLS2_LC1G3D4N 0x40
13571 #define _CLC1GLS2_D4N 0x40
13572 #define _CLC1GLS2_LC1G3D4T 0x80
13573 #define _CLC1GLS2_D4T 0x80
13575 //==============================================================================
13578 //==============================================================================
13579 // CLC1GLS3 Bits
13581 extern __at(0x0F19) __sfr CLC1GLS3;
13583 typedef union
13585 struct
13587 unsigned LC1G4D1N : 1;
13588 unsigned LC1G4D1T : 1;
13589 unsigned LC1G4D2N : 1;
13590 unsigned LC1G4D2T : 1;
13591 unsigned LC1G4D3N : 1;
13592 unsigned LC1G4D3T : 1;
13593 unsigned LC1G4D4N : 1;
13594 unsigned LC1G4D4T : 1;
13597 struct
13599 unsigned G4D1N : 1;
13600 unsigned G4D1T : 1;
13601 unsigned G4D2N : 1;
13602 unsigned G4D2T : 1;
13603 unsigned G4D3N : 1;
13604 unsigned G4D3T : 1;
13605 unsigned G4D4N : 1;
13606 unsigned G4D4T : 1;
13608 } __CLC1GLS3bits_t;
13610 extern __at(0x0F19) volatile __CLC1GLS3bits_t CLC1GLS3bits;
13612 #define _LC1G4D1N 0x01
13613 #define _G4D1N 0x01
13614 #define _LC1G4D1T 0x02
13615 #define _G4D1T 0x02
13616 #define _LC1G4D2N 0x04
13617 #define _G4D2N 0x04
13618 #define _LC1G4D2T 0x08
13619 #define _G4D2T 0x08
13620 #define _LC1G4D3N 0x10
13621 #define _G4D3N 0x10
13622 #define _LC1G4D3T 0x20
13623 #define _G4D3T 0x20
13624 #define _LC1G4D4N 0x40
13625 #define _G4D4N 0x40
13626 #define _LC1G4D4T 0x80
13627 #define _G4D4T 0x80
13629 //==============================================================================
13632 //==============================================================================
13633 // CLC2CON Bits
13635 extern __at(0x0F1A) __sfr CLC2CON;
13637 typedef union
13639 struct
13641 unsigned LC2MODE0 : 1;
13642 unsigned LC2MODE1 : 1;
13643 unsigned LC2MODE2 : 1;
13644 unsigned LC2INTN : 1;
13645 unsigned LC2INTP : 1;
13646 unsigned LC2OUT : 1;
13647 unsigned : 1;
13648 unsigned LC2EN : 1;
13651 struct
13653 unsigned MODE0 : 1;
13654 unsigned MODE1 : 1;
13655 unsigned MODE2 : 1;
13656 unsigned INTN : 1;
13657 unsigned INTP : 1;
13658 unsigned OUT : 1;
13659 unsigned : 1;
13660 unsigned EN : 1;
13663 struct
13665 unsigned LC2MODE : 3;
13666 unsigned : 5;
13669 struct
13671 unsigned MODE : 3;
13672 unsigned : 5;
13674 } __CLC2CONbits_t;
13676 extern __at(0x0F1A) volatile __CLC2CONbits_t CLC2CONbits;
13678 #define _CLC2CON_LC2MODE0 0x01
13679 #define _CLC2CON_MODE0 0x01
13680 #define _CLC2CON_LC2MODE1 0x02
13681 #define _CLC2CON_MODE1 0x02
13682 #define _CLC2CON_LC2MODE2 0x04
13683 #define _CLC2CON_MODE2 0x04
13684 #define _CLC2CON_LC2INTN 0x08
13685 #define _CLC2CON_INTN 0x08
13686 #define _CLC2CON_LC2INTP 0x10
13687 #define _CLC2CON_INTP 0x10
13688 #define _CLC2CON_LC2OUT 0x20
13689 #define _CLC2CON_OUT 0x20
13690 #define _CLC2CON_LC2EN 0x80
13691 #define _CLC2CON_EN 0x80
13693 //==============================================================================
13696 //==============================================================================
13697 // CLC2POL Bits
13699 extern __at(0x0F1B) __sfr CLC2POL;
13701 typedef union
13703 struct
13705 unsigned LC2G1POL : 1;
13706 unsigned LC2G2POL : 1;
13707 unsigned LC2G3POL : 1;
13708 unsigned LC2G4POL : 1;
13709 unsigned : 1;
13710 unsigned : 1;
13711 unsigned : 1;
13712 unsigned LC2POL : 1;
13715 struct
13717 unsigned G1POL : 1;
13718 unsigned G2POL : 1;
13719 unsigned G3POL : 1;
13720 unsigned G4POL : 1;
13721 unsigned : 1;
13722 unsigned : 1;
13723 unsigned : 1;
13724 unsigned POL : 1;
13726 } __CLC2POLbits_t;
13728 extern __at(0x0F1B) volatile __CLC2POLbits_t CLC2POLbits;
13730 #define _CLC2POL_LC2G1POL 0x01
13731 #define _CLC2POL_G1POL 0x01
13732 #define _CLC2POL_LC2G2POL 0x02
13733 #define _CLC2POL_G2POL 0x02
13734 #define _CLC2POL_LC2G3POL 0x04
13735 #define _CLC2POL_G3POL 0x04
13736 #define _CLC2POL_LC2G4POL 0x08
13737 #define _CLC2POL_G4POL 0x08
13738 #define _CLC2POL_LC2POL 0x80
13739 #define _CLC2POL_POL 0x80
13741 //==============================================================================
13744 //==============================================================================
13745 // CLC2SEL0 Bits
13747 extern __at(0x0F1C) __sfr CLC2SEL0;
13749 typedef union
13751 struct
13753 unsigned LC2D1S0 : 1;
13754 unsigned LC2D1S1 : 1;
13755 unsigned LC2D1S2 : 1;
13756 unsigned LC2D1S3 : 1;
13757 unsigned LC2D1S4 : 1;
13758 unsigned LC2D1S5 : 1;
13759 unsigned : 1;
13760 unsigned : 1;
13763 struct
13765 unsigned D1S0 : 1;
13766 unsigned D1S1 : 1;
13767 unsigned D1S2 : 1;
13768 unsigned D1S3 : 1;
13769 unsigned D1S4 : 1;
13770 unsigned D1S5 : 1;
13771 unsigned : 1;
13772 unsigned : 1;
13775 struct
13777 unsigned D1S : 6;
13778 unsigned : 2;
13781 struct
13783 unsigned LC2D1S : 6;
13784 unsigned : 2;
13786 } __CLC2SEL0bits_t;
13788 extern __at(0x0F1C) volatile __CLC2SEL0bits_t CLC2SEL0bits;
13790 #define _CLC2SEL0_LC2D1S0 0x01
13791 #define _CLC2SEL0_D1S0 0x01
13792 #define _CLC2SEL0_LC2D1S1 0x02
13793 #define _CLC2SEL0_D1S1 0x02
13794 #define _CLC2SEL0_LC2D1S2 0x04
13795 #define _CLC2SEL0_D1S2 0x04
13796 #define _CLC2SEL0_LC2D1S3 0x08
13797 #define _CLC2SEL0_D1S3 0x08
13798 #define _CLC2SEL0_LC2D1S4 0x10
13799 #define _CLC2SEL0_D1S4 0x10
13800 #define _CLC2SEL0_LC2D1S5 0x20
13801 #define _CLC2SEL0_D1S5 0x20
13803 //==============================================================================
13806 //==============================================================================
13807 // CLC2SEL1 Bits
13809 extern __at(0x0F1D) __sfr CLC2SEL1;
13811 typedef union
13813 struct
13815 unsigned LC2D2S0 : 1;
13816 unsigned LC2D2S1 : 1;
13817 unsigned LC2D2S2 : 1;
13818 unsigned LC2D2S3 : 1;
13819 unsigned LC2D2S4 : 1;
13820 unsigned LC2D2S5 : 1;
13821 unsigned : 1;
13822 unsigned : 1;
13825 struct
13827 unsigned D2S0 : 1;
13828 unsigned D2S1 : 1;
13829 unsigned D2S2 : 1;
13830 unsigned D2S3 : 1;
13831 unsigned D2S4 : 1;
13832 unsigned D2S5 : 1;
13833 unsigned : 1;
13834 unsigned : 1;
13837 struct
13839 unsigned LC2D2S : 6;
13840 unsigned : 2;
13843 struct
13845 unsigned D2S : 6;
13846 unsigned : 2;
13848 } __CLC2SEL1bits_t;
13850 extern __at(0x0F1D) volatile __CLC2SEL1bits_t CLC2SEL1bits;
13852 #define _CLC2SEL1_LC2D2S0 0x01
13853 #define _CLC2SEL1_D2S0 0x01
13854 #define _CLC2SEL1_LC2D2S1 0x02
13855 #define _CLC2SEL1_D2S1 0x02
13856 #define _CLC2SEL1_LC2D2S2 0x04
13857 #define _CLC2SEL1_D2S2 0x04
13858 #define _CLC2SEL1_LC2D2S3 0x08
13859 #define _CLC2SEL1_D2S3 0x08
13860 #define _CLC2SEL1_LC2D2S4 0x10
13861 #define _CLC2SEL1_D2S4 0x10
13862 #define _CLC2SEL1_LC2D2S5 0x20
13863 #define _CLC2SEL1_D2S5 0x20
13865 //==============================================================================
13868 //==============================================================================
13869 // CLC2SEL2 Bits
13871 extern __at(0x0F1E) __sfr CLC2SEL2;
13873 typedef union
13875 struct
13877 unsigned LC2D3S0 : 1;
13878 unsigned LC2D3S1 : 1;
13879 unsigned LC2D3S2 : 1;
13880 unsigned LC2D3S3 : 1;
13881 unsigned LC2D3S4 : 1;
13882 unsigned LC2D3S5 : 1;
13883 unsigned : 1;
13884 unsigned : 1;
13887 struct
13889 unsigned D3S0 : 1;
13890 unsigned D3S1 : 1;
13891 unsigned D3S2 : 1;
13892 unsigned D3S3 : 1;
13893 unsigned D3S4 : 1;
13894 unsigned D3S5 : 1;
13895 unsigned : 1;
13896 unsigned : 1;
13899 struct
13901 unsigned D3S : 6;
13902 unsigned : 2;
13905 struct
13907 unsigned LC2D3S : 6;
13908 unsigned : 2;
13910 } __CLC2SEL2bits_t;
13912 extern __at(0x0F1E) volatile __CLC2SEL2bits_t CLC2SEL2bits;
13914 #define _CLC2SEL2_LC2D3S0 0x01
13915 #define _CLC2SEL2_D3S0 0x01
13916 #define _CLC2SEL2_LC2D3S1 0x02
13917 #define _CLC2SEL2_D3S1 0x02
13918 #define _CLC2SEL2_LC2D3S2 0x04
13919 #define _CLC2SEL2_D3S2 0x04
13920 #define _CLC2SEL2_LC2D3S3 0x08
13921 #define _CLC2SEL2_D3S3 0x08
13922 #define _CLC2SEL2_LC2D3S4 0x10
13923 #define _CLC2SEL2_D3S4 0x10
13924 #define _CLC2SEL2_LC2D3S5 0x20
13925 #define _CLC2SEL2_D3S5 0x20
13927 //==============================================================================
13930 //==============================================================================
13931 // CLC2SEL3 Bits
13933 extern __at(0x0F1F) __sfr CLC2SEL3;
13935 typedef union
13937 struct
13939 unsigned LC2D4S0 : 1;
13940 unsigned LC2D4S1 : 1;
13941 unsigned LC2D4S2 : 1;
13942 unsigned LC2D4S3 : 1;
13943 unsigned LC2D4S4 : 1;
13944 unsigned LC2D4S5 : 1;
13945 unsigned : 1;
13946 unsigned : 1;
13949 struct
13951 unsigned D4S0 : 1;
13952 unsigned D4S1 : 1;
13953 unsigned D4S2 : 1;
13954 unsigned D4S3 : 1;
13955 unsigned D4S4 : 1;
13956 unsigned D4S5 : 1;
13957 unsigned : 1;
13958 unsigned : 1;
13961 struct
13963 unsigned D4S : 6;
13964 unsigned : 2;
13967 struct
13969 unsigned LC2D4S : 6;
13970 unsigned : 2;
13972 } __CLC2SEL3bits_t;
13974 extern __at(0x0F1F) volatile __CLC2SEL3bits_t CLC2SEL3bits;
13976 #define _CLC2SEL3_LC2D4S0 0x01
13977 #define _CLC2SEL3_D4S0 0x01
13978 #define _CLC2SEL3_LC2D4S1 0x02
13979 #define _CLC2SEL3_D4S1 0x02
13980 #define _CLC2SEL3_LC2D4S2 0x04
13981 #define _CLC2SEL3_D4S2 0x04
13982 #define _CLC2SEL3_LC2D4S3 0x08
13983 #define _CLC2SEL3_D4S3 0x08
13984 #define _CLC2SEL3_LC2D4S4 0x10
13985 #define _CLC2SEL3_D4S4 0x10
13986 #define _CLC2SEL3_LC2D4S5 0x20
13987 #define _CLC2SEL3_D4S5 0x20
13989 //==============================================================================
13992 //==============================================================================
13993 // CLC2GLS0 Bits
13995 extern __at(0x0F20) __sfr CLC2GLS0;
13997 typedef union
13999 struct
14001 unsigned LC2G1D1N : 1;
14002 unsigned LC2G1D1T : 1;
14003 unsigned LC2G1D2N : 1;
14004 unsigned LC2G1D2T : 1;
14005 unsigned LC2G1D3N : 1;
14006 unsigned LC2G1D3T : 1;
14007 unsigned LC2G1D4N : 1;
14008 unsigned LC2G1D4T : 1;
14011 struct
14013 unsigned D1N : 1;
14014 unsigned D1T : 1;
14015 unsigned D2N : 1;
14016 unsigned D2T : 1;
14017 unsigned D3N : 1;
14018 unsigned D3T : 1;
14019 unsigned D4N : 1;
14020 unsigned D4T : 1;
14022 } __CLC2GLS0bits_t;
14024 extern __at(0x0F20) volatile __CLC2GLS0bits_t CLC2GLS0bits;
14026 #define _CLC2GLS0_LC2G1D1N 0x01
14027 #define _CLC2GLS0_D1N 0x01
14028 #define _CLC2GLS0_LC2G1D1T 0x02
14029 #define _CLC2GLS0_D1T 0x02
14030 #define _CLC2GLS0_LC2G1D2N 0x04
14031 #define _CLC2GLS0_D2N 0x04
14032 #define _CLC2GLS0_LC2G1D2T 0x08
14033 #define _CLC2GLS0_D2T 0x08
14034 #define _CLC2GLS0_LC2G1D3N 0x10
14035 #define _CLC2GLS0_D3N 0x10
14036 #define _CLC2GLS0_LC2G1D3T 0x20
14037 #define _CLC2GLS0_D3T 0x20
14038 #define _CLC2GLS0_LC2G1D4N 0x40
14039 #define _CLC2GLS0_D4N 0x40
14040 #define _CLC2GLS0_LC2G1D4T 0x80
14041 #define _CLC2GLS0_D4T 0x80
14043 //==============================================================================
14046 //==============================================================================
14047 // CLC2GLS1 Bits
14049 extern __at(0x0F21) __sfr CLC2GLS1;
14051 typedef union
14053 struct
14055 unsigned LC2G2D1N : 1;
14056 unsigned LC2G2D1T : 1;
14057 unsigned LC2G2D2N : 1;
14058 unsigned LC2G2D2T : 1;
14059 unsigned LC2G2D3N : 1;
14060 unsigned LC2G2D3T : 1;
14061 unsigned LC2G2D4N : 1;
14062 unsigned LC2G2D4T : 1;
14065 struct
14067 unsigned D1N : 1;
14068 unsigned D1T : 1;
14069 unsigned D2N : 1;
14070 unsigned D2T : 1;
14071 unsigned D3N : 1;
14072 unsigned D3T : 1;
14073 unsigned D4N : 1;
14074 unsigned D4T : 1;
14076 } __CLC2GLS1bits_t;
14078 extern __at(0x0F21) volatile __CLC2GLS1bits_t CLC2GLS1bits;
14080 #define _CLC2GLS1_LC2G2D1N 0x01
14081 #define _CLC2GLS1_D1N 0x01
14082 #define _CLC2GLS1_LC2G2D1T 0x02
14083 #define _CLC2GLS1_D1T 0x02
14084 #define _CLC2GLS1_LC2G2D2N 0x04
14085 #define _CLC2GLS1_D2N 0x04
14086 #define _CLC2GLS1_LC2G2D2T 0x08
14087 #define _CLC2GLS1_D2T 0x08
14088 #define _CLC2GLS1_LC2G2D3N 0x10
14089 #define _CLC2GLS1_D3N 0x10
14090 #define _CLC2GLS1_LC2G2D3T 0x20
14091 #define _CLC2GLS1_D3T 0x20
14092 #define _CLC2GLS1_LC2G2D4N 0x40
14093 #define _CLC2GLS1_D4N 0x40
14094 #define _CLC2GLS1_LC2G2D4T 0x80
14095 #define _CLC2GLS1_D4T 0x80
14097 //==============================================================================
14100 //==============================================================================
14101 // CLC2GLS2 Bits
14103 extern __at(0x0F22) __sfr CLC2GLS2;
14105 typedef union
14107 struct
14109 unsigned LC2G3D1N : 1;
14110 unsigned LC2G3D1T : 1;
14111 unsigned LC2G3D2N : 1;
14112 unsigned LC2G3D2T : 1;
14113 unsigned LC2G3D3N : 1;
14114 unsigned LC2G3D3T : 1;
14115 unsigned LC2G3D4N : 1;
14116 unsigned LC2G3D4T : 1;
14119 struct
14121 unsigned D1N : 1;
14122 unsigned D1T : 1;
14123 unsigned D2N : 1;
14124 unsigned D2T : 1;
14125 unsigned D3N : 1;
14126 unsigned D3T : 1;
14127 unsigned D4N : 1;
14128 unsigned D4T : 1;
14130 } __CLC2GLS2bits_t;
14132 extern __at(0x0F22) volatile __CLC2GLS2bits_t CLC2GLS2bits;
14134 #define _CLC2GLS2_LC2G3D1N 0x01
14135 #define _CLC2GLS2_D1N 0x01
14136 #define _CLC2GLS2_LC2G3D1T 0x02
14137 #define _CLC2GLS2_D1T 0x02
14138 #define _CLC2GLS2_LC2G3D2N 0x04
14139 #define _CLC2GLS2_D2N 0x04
14140 #define _CLC2GLS2_LC2G3D2T 0x08
14141 #define _CLC2GLS2_D2T 0x08
14142 #define _CLC2GLS2_LC2G3D3N 0x10
14143 #define _CLC2GLS2_D3N 0x10
14144 #define _CLC2GLS2_LC2G3D3T 0x20
14145 #define _CLC2GLS2_D3T 0x20
14146 #define _CLC2GLS2_LC2G3D4N 0x40
14147 #define _CLC2GLS2_D4N 0x40
14148 #define _CLC2GLS2_LC2G3D4T 0x80
14149 #define _CLC2GLS2_D4T 0x80
14151 //==============================================================================
14154 //==============================================================================
14155 // CLC2GLS3 Bits
14157 extern __at(0x0F23) __sfr CLC2GLS3;
14159 typedef union
14161 struct
14163 unsigned LC2G4D1N : 1;
14164 unsigned LC2G4D1T : 1;
14165 unsigned LC2G4D2N : 1;
14166 unsigned LC2G4D2T : 1;
14167 unsigned LC2G4D3N : 1;
14168 unsigned LC2G4D3T : 1;
14169 unsigned LC2G4D4N : 1;
14170 unsigned LC2G4D4T : 1;
14173 struct
14175 unsigned G4D1N : 1;
14176 unsigned G4D1T : 1;
14177 unsigned G4D2N : 1;
14178 unsigned G4D2T : 1;
14179 unsigned G4D3N : 1;
14180 unsigned G4D3T : 1;
14181 unsigned G4D4N : 1;
14182 unsigned G4D4T : 1;
14184 } __CLC2GLS3bits_t;
14186 extern __at(0x0F23) volatile __CLC2GLS3bits_t CLC2GLS3bits;
14188 #define _CLC2GLS3_LC2G4D1N 0x01
14189 #define _CLC2GLS3_G4D1N 0x01
14190 #define _CLC2GLS3_LC2G4D1T 0x02
14191 #define _CLC2GLS3_G4D1T 0x02
14192 #define _CLC2GLS3_LC2G4D2N 0x04
14193 #define _CLC2GLS3_G4D2N 0x04
14194 #define _CLC2GLS3_LC2G4D2T 0x08
14195 #define _CLC2GLS3_G4D2T 0x08
14196 #define _CLC2GLS3_LC2G4D3N 0x10
14197 #define _CLC2GLS3_G4D3N 0x10
14198 #define _CLC2GLS3_LC2G4D3T 0x20
14199 #define _CLC2GLS3_G4D3T 0x20
14200 #define _CLC2GLS3_LC2G4D4N 0x40
14201 #define _CLC2GLS3_G4D4N 0x40
14202 #define _CLC2GLS3_LC2G4D4T 0x80
14203 #define _CLC2GLS3_G4D4T 0x80
14205 //==============================================================================
14208 //==============================================================================
14209 // STATUS_SHAD Bits
14211 extern __at(0x0FE4) __sfr STATUS_SHAD;
14213 typedef struct
14215 unsigned C_SHAD : 1;
14216 unsigned DC_SHAD : 1;
14217 unsigned Z_SHAD : 1;
14218 unsigned : 1;
14219 unsigned : 1;
14220 unsigned : 1;
14221 unsigned : 1;
14222 unsigned : 1;
14223 } __STATUS_SHADbits_t;
14225 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits;
14227 #define _C_SHAD 0x01
14228 #define _DC_SHAD 0x02
14229 #define _Z_SHAD 0x04
14231 //==============================================================================
14233 extern __at(0x0FE5) __sfr WREG_SHAD;
14234 extern __at(0x0FE6) __sfr BSR_SHAD;
14235 extern __at(0x0FE7) __sfr PCLATH_SHAD;
14236 extern __at(0x0FE8) __sfr FSR0L_SHAD;
14237 extern __at(0x0FE9) __sfr FSR0H_SHAD;
14238 extern __at(0x0FEA) __sfr FSR1L_SHAD;
14239 extern __at(0x0FEB) __sfr FSR1H_SHAD;
14240 extern __at(0x0FED) __sfr STKPTR;
14241 extern __at(0x0FEE) __sfr TOSL;
14242 extern __at(0x0FEF) __sfr TOSH;
14244 //==============================================================================
14246 // Configuration Bits
14248 //==============================================================================
14250 #define _CONFIG1 0x8007
14251 #define _CONFIG2 0x8008
14252 #define _CONFIG3 0x8009
14254 //----------------------------- CONFIG1 Options -------------------------------
14256 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator: I/O function on CLKIN pin.
14257 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins.
14258 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins.
14259 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins.
14260 #define _PWRTE_ON 0x3FDF // PWRT enabled.
14261 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
14262 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
14263 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
14264 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
14265 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
14266 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
14267 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
14268 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
14269 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
14270 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
14271 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
14273 //----------------------------- CONFIG2 Options -------------------------------
14275 #define _WRT_ALL 0x3FFC // 000h to 1FFFh write protected, no addresses may be modified by PMCON control.
14276 #define _WRT_HALF 0x3FFD // 000h to FFFh write protected, 1000h to 1FFFh may be modified by PMCON control.
14277 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to 1FFFh may be modified by PMCON control.
14278 #define _WRT_OFF 0x3FFF // Write protection off.
14279 #define _PPS1WAY_OFF 0x3FFB // The PPSLOCK bit can be set and cleared repeatedly by software.
14280 #define _PPS1WAY_ON 0x3FFF // The PPSLOCK bit cannot be cleared once it is set by software.
14281 #define _ZCD_ON 0x3F7F // ZCD always enabled.
14282 #define _ZCD_OFF 0x3FFF // ZCD disable. ZCD can be enabled by setting the ZCDSEN bit of ZCDCON.
14283 #define _PLLEN_OFF 0x3EFF // 4x PLL is enabled when software sets the SPLLEN bit.
14284 #define _PLLEN_ON 0x3FFF // 4x PLL is always enabled.
14285 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
14286 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
14287 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
14288 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
14289 #define _LPBOR_ON 0x37FF // Low-Power BOR is enabled.
14290 #define _LPBOR_OFF 0x3FFF // Low-Power BOR is disabled.
14291 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
14292 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
14293 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
14294 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
14296 //----------------------------- CONFIG3 Options -------------------------------
14298 #define _WDTCPS_WDTCPS0 0x3FE0 // 1:32 (1 ms period).
14299 #define _WDTCPS_WDTCPS1 0x3FE1 // 1:64 (2 ms period).
14300 #define _WDTCPS_WDTCPS2 0x3FE2 // 1:128 (4 ms period).
14301 #define _WDTCPS_WDTCPS3 0x3FE3 // 1:256 (8 ms period).
14302 #define _WDTCPS_WDTCPS4 0x3FE4 // 1:512 (16 ms period).
14303 #define _WDTCPS_WDTCPS5 0x3FE5 // 1:1024 (32 ms period).
14304 #define _WDTCPS_WDTCPS6 0x3FE6 // 1:2048 (64 ms period).
14305 #define _WDTCPS_WDTCPS7 0x3FE7 // 1:4096 (128 ms period).
14306 #define _WDTCPS_WDTCPS8 0x3FE8 // 1:8192 (256 ms period).
14307 #define _WDTCPS_WDTCPS9 0x3FE9 // 1:16384 (512 ms period).
14308 #define _WDTCPS_WDTCPSA 0x3FEA // 1:32768 (1 s period).
14309 #define _WDTCPS_WDTCPSB 0x3FEB // 1:65536 (2 s period).
14310 #define _WDTCPS_WDTCPSC 0x3FEC // 1:131072 (4 s period).
14311 #define _WDTCPS_WDTCPSD 0x3FED // 1:262144 (8 s period).
14312 #define _WDTCPS_WDTCPSE 0x3FEE // 1:524299 (16 s period).
14313 #define _WDTCPS_WDTCPSF 0x3FEF // 1:1048576 (32 s period).
14314 #define _WDTCPS_WDTCPS10 0x3FF0 // 1:2097152 (64 s period).
14315 #define _WDTCPS_WDTCPS11 0x3FF1 // 1:4194304 (128 s period).
14316 #define _WDTCPS_WDTCPS12 0x3FF2 // 1:8388608 (256 s period).
14317 #define _WDTCPS_WDTCPS1F 0x3FFF // Software Control (WDTPS).
14318 #define _WDTE_OFF 0x3F9F // WDT disabled.
14319 #define _WDTE_SWDTEN 0x3FBF // WDT controlled by the SWDTEN bit in the WDTCON register.
14320 #define _WDTE_NSLEEP 0x3FDF // WDT enabled while running and disabled in Sleep.
14321 #define _WDTE_ON 0x3FFF // WDT enabled.
14322 #define _WDTCWS_WDTCWS125 0x38FF // 12.5 percent window open time.
14323 #define _WDTCWS_WDTCWS25 0x39FF // 25 percent window open time.
14324 #define _WDTCWS_WDTCWS375 0x3AFF // 37.5 percent window open time.
14325 #define _WDTCWS_WDTCWS50 0x3BFF // 50 percent window open time.
14326 #define _WDTCWS_WDTCWS625 0x3CFF // 62.5 percent window open time.
14327 #define _WDTCWS_WDTCWS75 0x3DFF // 75 percent window open time.
14328 #define _WDTCWS_WDTCWS100 0x3EFF // 100 percent window open time (Legacy WDT).
14329 #define _WDTCWS_WDTCWSSW 0x3FFF // Software WDT window size control (WDTWS bits).
14330 #define _WDTCCS_LFINTOSC 0x07FF // 31.0kHz LFINTOSC.
14331 #define _WDTCCS_MFINTOSC 0x0FFF // 31.25 kHz HFINTOSC (MFINTOSC).
14332 #define _WDTCCS_SWC 0x3FFF // Software control, controlled by WDTCS bits.
14334 //==============================================================================
14336 #define _DEVID1 0x8006
14338 #define _IDLOC0 0x8000
14339 #define _IDLOC1 0x8001
14340 #define _IDLOC2 0x8002
14341 #define _IDLOC3 0x8003
14343 //==============================================================================
14345 #ifndef NO_BIT_DEFINES
14347 #define ADON ADCON0bits.ADON // bit 0
14348 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
14349 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
14350 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
14351 #define CHS0 ADCON0bits.CHS0 // bit 2
14352 #define CHS1 ADCON0bits.CHS1 // bit 3
14353 #define CHS2 ADCON0bits.CHS2 // bit 4
14354 #define CHS3 ADCON0bits.CHS3 // bit 5
14355 #define CHS4 ADCON0bits.CHS4 // bit 6
14357 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
14358 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
14359 #define ADCS0 ADCON1bits.ADCS0 // bit 4
14360 #define ADCS1 ADCON1bits.ADCS1 // bit 5
14361 #define ADCS2 ADCON1bits.ADCS2 // bit 6
14362 #define ADFM ADCON1bits.ADFM // bit 7
14364 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 4
14365 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 5
14366 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 6
14367 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 7
14369 #define ANSA0 ANSELAbits.ANSA0 // bit 0
14370 #define ANSA1 ANSELAbits.ANSA1 // bit 1
14371 #define ANSA2 ANSELAbits.ANSA2 // bit 2
14372 #define ANSA4 ANSELAbits.ANSA4 // bit 4
14374 #define ANSC0 ANSELCbits.ANSC0 // bit 0
14375 #define ANSC1 ANSELCbits.ANSC1 // bit 1
14376 #define ANSC2 ANSELCbits.ANSC2 // bit 2
14377 #define ANSC3 ANSELCbits.ANSC3 // bit 3
14379 #define AT1CC18 AT1CC1Hbits.AT1CC18 // bit 0, shadows bit in AT1CC1Hbits
14380 #define CC18 AT1CC1Hbits.CC18 // bit 0, shadows bit in AT1CC1Hbits
14381 #define AT1CC19 AT1CC1Hbits.AT1CC19 // bit 1, shadows bit in AT1CC1Hbits
14382 #define CC19 AT1CC1Hbits.CC19 // bit 1, shadows bit in AT1CC1Hbits
14384 #define AT1CC10 AT1CC1Lbits.AT1CC10 // bit 0, shadows bit in AT1CC1Lbits
14385 #define CC10 AT1CC1Lbits.CC10 // bit 0, shadows bit in AT1CC1Lbits
14386 #define AT1CC11 AT1CC1Lbits.AT1CC11 // bit 1, shadows bit in AT1CC1Lbits
14387 #define CC11 AT1CC1Lbits.CC11 // bit 1, shadows bit in AT1CC1Lbits
14388 #define AT1CC12 AT1CC1Lbits.AT1CC12 // bit 2, shadows bit in AT1CC1Lbits
14389 #define CC12 AT1CC1Lbits.CC12 // bit 2, shadows bit in AT1CC1Lbits
14390 #define AT1CC13 AT1CC1Lbits.AT1CC13 // bit 3, shadows bit in AT1CC1Lbits
14391 #define CC13 AT1CC1Lbits.CC13 // bit 3, shadows bit in AT1CC1Lbits
14392 #define AT1CC14 AT1CC1Lbits.AT1CC14 // bit 4, shadows bit in AT1CC1Lbits
14393 #define CC14 AT1CC1Lbits.CC14 // bit 4, shadows bit in AT1CC1Lbits
14394 #define AT1CC15 AT1CC1Lbits.AT1CC15 // bit 5, shadows bit in AT1CC1Lbits
14395 #define CC15 AT1CC1Lbits.CC15 // bit 5, shadows bit in AT1CC1Lbits
14396 #define AT1CC16 AT1CC1Lbits.AT1CC16 // bit 6, shadows bit in AT1CC1Lbits
14397 #define CC16 AT1CC1Lbits.CC16 // bit 6, shadows bit in AT1CC1Lbits
14398 #define AT1CC17 AT1CC1Lbits.AT1CC17 // bit 7, shadows bit in AT1CC1Lbits
14399 #define CC17 AT1CC1Lbits.CC17 // bit 7, shadows bit in AT1CC1Lbits
14401 #define AT1CC28 AT1CC2Hbits.AT1CC28 // bit 0, shadows bit in AT1CC2Hbits
14402 #define CC28 AT1CC2Hbits.CC28 // bit 0, shadows bit in AT1CC2Hbits
14403 #define AT1CC29 AT1CC2Hbits.AT1CC29 // bit 1, shadows bit in AT1CC2Hbits
14404 #define CC29 AT1CC2Hbits.CC29 // bit 1, shadows bit in AT1CC2Hbits
14406 #define AT1CC38 AT1CC3Hbits.AT1CC38 // bit 0, shadows bit in AT1CC3Hbits
14407 #define CC38 AT1CC3Hbits.CC38 // bit 0, shadows bit in AT1CC3Hbits
14408 #define AT1CC39 AT1CC3Hbits.AT1CC39 // bit 1, shadows bit in AT1CC3Hbits
14409 #define CC39 AT1CC3Hbits.CC39 // bit 1, shadows bit in AT1CC3Hbits
14411 #define AT1CC30 AT1CC3Lbits.AT1CC30 // bit 0, shadows bit in AT1CC3Lbits
14412 #define CC30 AT1CC3Lbits.CC30 // bit 0, shadows bit in AT1CC3Lbits
14413 #define AT1CC31 AT1CC3Lbits.AT1CC31 // bit 1, shadows bit in AT1CC3Lbits
14414 #define CC31 AT1CC3Lbits.CC31 // bit 1, shadows bit in AT1CC3Lbits
14415 #define AT1CC32 AT1CC3Lbits.AT1CC32 // bit 2, shadows bit in AT1CC3Lbits
14416 #define CC32 AT1CC3Lbits.CC32 // bit 2, shadows bit in AT1CC3Lbits
14417 #define AT1CC33 AT1CC3Lbits.AT1CC33 // bit 3, shadows bit in AT1CC3Lbits
14418 #define CC33 AT1CC3Lbits.CC33 // bit 3, shadows bit in AT1CC3Lbits
14419 #define AT1CC34 AT1CC3Lbits.AT1CC34 // bit 4, shadows bit in AT1CC3Lbits
14420 #define CC34 AT1CC3Lbits.CC34 // bit 4, shadows bit in AT1CC3Lbits
14421 #define AT1CC35 AT1CC3Lbits.AT1CC35 // bit 5, shadows bit in AT1CC3Lbits
14422 #define CC35 AT1CC3Lbits.CC35 // bit 5, shadows bit in AT1CC3Lbits
14423 #define AT1CC36 AT1CC3Lbits.AT1CC36 // bit 6, shadows bit in AT1CC3Lbits
14424 #define CC36 AT1CC3Lbits.CC36 // bit 6, shadows bit in AT1CC3Lbits
14425 #define AT1CC37 AT1CC3Lbits.AT1CC37 // bit 7, shadows bit in AT1CC3Lbits
14426 #define CC37 AT1CC3Lbits.CC37 // bit 7, shadows bit in AT1CC3Lbits
14428 #define AT1CC1MODE AT1CCON1bits.AT1CC1MODE // bit 0, shadows bit in AT1CCON1bits
14429 #define CC1MODE AT1CCON1bits.CC1MODE // bit 0, shadows bit in AT1CCON1bits
14430 #define AT1CAP1P AT1CCON1bits.AT1CAP1P // bit 3, shadows bit in AT1CCON1bits
14431 #define CAP1P AT1CCON1bits.CAP1P // bit 3, shadows bit in AT1CCON1bits
14432 #define AT1CC1POL AT1CCON1bits.AT1CC1POL // bit 4, shadows bit in AT1CCON1bits
14433 #define CC1POL AT1CCON1bits.CC1POL // bit 4, shadows bit in AT1CCON1bits
14434 #define AT1CC1EN AT1CCON1bits.AT1CC1EN // bit 7, shadows bit in AT1CCON1bits
14435 #define CC1EN AT1CCON1bits.CC1EN // bit 7, shadows bit in AT1CCON1bits
14437 #define AT1CC2MODE AT1CCON2bits.AT1CC2MODE // bit 0, shadows bit in AT1CCON2bits
14438 #define CC2MODE AT1CCON2bits.CC2MODE // bit 0, shadows bit in AT1CCON2bits
14439 #define AT1CAP2P AT1CCON2bits.AT1CAP2P // bit 3, shadows bit in AT1CCON2bits
14440 #define CAP2P AT1CCON2bits.CAP2P // bit 3, shadows bit in AT1CCON2bits
14441 #define AT1CC2POL AT1CCON2bits.AT1CC2POL // bit 4, shadows bit in AT1CCON2bits
14442 #define CC2POL AT1CCON2bits.CC2POL // bit 4, shadows bit in AT1CCON2bits
14443 #define AT1CC2EN AT1CCON2bits.AT1CC2EN // bit 7, shadows bit in AT1CCON2bits
14444 #define CC2EN AT1CCON2bits.CC2EN // bit 7, shadows bit in AT1CCON2bits
14446 #define AT1CC3MODE AT1CCON3bits.AT1CC3MODE // bit 0, shadows bit in AT1CCON3bits
14447 #define CC3MODE AT1CCON3bits.CC3MODE // bit 0, shadows bit in AT1CCON3bits
14448 #define AT1CAP3P AT1CCON3bits.AT1CAP3P // bit 3, shadows bit in AT1CCON3bits
14449 #define CAP3P AT1CCON3bits.CAP3P // bit 3, shadows bit in AT1CCON3bits
14450 #define AT1CC3POL AT1CCON3bits.AT1CC3POL // bit 4, shadows bit in AT1CCON3bits
14451 #define CC3POL AT1CCON3bits.CC3POL // bit 4, shadows bit in AT1CCON3bits
14452 #define AT1CC3EN AT1CCON3bits.AT1CC3EN // bit 7, shadows bit in AT1CCON3bits
14453 #define CC3EN AT1CCON3bits.CC3EN // bit 7, shadows bit in AT1CCON3bits
14455 #define CS AT1CLKbits.CS // bit 0, shadows bit in AT1CLKbits
14456 #define AT1CS AT1CLKbits.AT1CS // bit 0, shadows bit in AT1CLKbits
14457 #define CS0 AT1CLKbits.CS0 // bit 0, shadows bit in AT1CLKbits
14458 #define AT1CS0 AT1CLKbits.AT1CS0 // bit 0, shadows bit in AT1CLKbits
14460 #define MODE AT1CON0bits.MODE // bit 0, shadows bit in AT1CON0bits
14461 #define AT1MODE AT1CON0bits.AT1MODE // bit 0, shadows bit in AT1CON0bits
14462 #define APMOD AT1CON0bits.APMOD // bit 1, shadows bit in AT1CON0bits
14463 #define AT1APMOD AT1CON0bits.AT1APMOD // bit 1, shadows bit in AT1CON0bits
14464 #define POL AT1CON0bits.POL // bit 3, shadows bit in AT1CON0bits
14465 #define AT1POL AT1CON0bits.AT1POL // bit 3, shadows bit in AT1CON0bits
14466 #define PS0 AT1CON0bits.PS0 // bit 4, shadows bit in AT1CON0bits
14467 #define AT1PS0 AT1CON0bits.AT1PS0 // bit 4, shadows bit in AT1CON0bits
14468 #define PS1 AT1CON0bits.PS1 // bit 5, shadows bit in AT1CON0bits
14469 #define AT1PS1 AT1CON0bits.AT1PS1 // bit 5, shadows bit in AT1CON0bits
14470 #define PREC AT1CON0bits.PREC // bit 6, shadows bit in AT1CON0bits
14471 #define AT1PREC AT1CON0bits.AT1PREC // bit 6, shadows bit in AT1CON0bits
14472 #define EN AT1CON0bits.EN // bit 7, shadows bit in AT1CON0bits
14473 #define AT1EN AT1CON0bits.AT1EN // bit 7, shadows bit in AT1CON0bits
14475 #define VALID AT1CON1bits.VALID // bit 0, shadows bit in AT1CON1bits
14476 #define AT1VALID AT1CON1bits.AT1VALID // bit 0, shadows bit in AT1CON1bits
14477 #define ACCS AT1CON1bits.ACCS // bit 1, shadows bit in AT1CON1bits
14478 #define AT1ACCS AT1CON1bits.AT1ACCS // bit 1, shadows bit in AT1CON1bits
14479 #define MPP AT1CON1bits.MPP // bit 2, shadows bit in AT1CON1bits
14480 #define AT1MPP AT1CON1bits.AT1MPP // bit 2, shadows bit in AT1CON1bits
14481 #define PRP AT1CON1bits.PRP // bit 4, shadows bit in AT1CON1bits
14482 #define AT1PRP AT1CON1bits.AT1PRP // bit 4, shadows bit in AT1CON1bits
14483 #define PHP AT1CON1bits.PHP // bit 6, shadows bit in AT1CON1bits
14484 #define AT1PHP AT1CON1bits.AT1PHP // bit 6, shadows bit in AT1CON1bits
14486 #define AT1CP1S0 AT1CSEL1bits.AT1CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14487 #define CP1S0 AT1CSEL1bits.CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14488 #define AT1CP1S1 AT1CSEL1bits.AT1CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14489 #define CP1S1 AT1CSEL1bits.CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14490 #define AT1CP1S2 AT1CSEL1bits.AT1CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14491 #define CP1S2 AT1CSEL1bits.CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14493 #define AT1CP2S0 AT1CSEL2bits.AT1CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14494 #define CP2S0 AT1CSEL2bits.CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14495 #define AT1CP2S1 AT1CSEL2bits.AT1CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14496 #define CP2S1 AT1CSEL2bits.CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14497 #define AT1CP2S2 AT1CSEL2bits.AT1CP2S2 // bit 2, shadows bit in AT1CSEL2bits
14498 #define CP2S2 AT1CSEL2bits.CP2S2 // bit 2, shadows bit in AT1CSEL2bits
14500 #define AT1CP3S0 AT1CSEL3bits.AT1CP3S0 // bit 0, shadows bit in AT1CSEL3bits
14501 #define CP3S0 AT1CSEL3bits.CP3S0 // bit 0, shadows bit in AT1CSEL3bits
14502 #define AT1CP3S1 AT1CSEL3bits.AT1CP3S1 // bit 1, shadows bit in AT1CSEL3bits
14503 #define CP3S1 AT1CSEL3bits.CP3S1 // bit 1, shadows bit in AT1CSEL3bits
14504 #define AT1CP3S2 AT1CSEL3bits.AT1CP3S2 // bit 2, shadows bit in AT1CSEL3bits
14505 #define CP3S2 AT1CSEL3bits.CP3S2 // bit 2, shadows bit in AT1CSEL3bits
14507 #define AT1ERR8 AT1ERRHbits.AT1ERR8 // bit 0, shadows bit in AT1ERRHbits
14508 #define ERR8 AT1ERRHbits.ERR8 // bit 0, shadows bit in AT1ERRHbits
14509 #define ERRH0 AT1ERRHbits.ERRH0 // bit 0, shadows bit in AT1ERRHbits
14510 #define AT1ERR9 AT1ERRHbits.AT1ERR9 // bit 1, shadows bit in AT1ERRHbits
14511 #define ERR9 AT1ERRHbits.ERR9 // bit 1, shadows bit in AT1ERRHbits
14512 #define ERRH1 AT1ERRHbits.ERRH1 // bit 1, shadows bit in AT1ERRHbits
14513 #define AT1ERR10 AT1ERRHbits.AT1ERR10 // bit 2, shadows bit in AT1ERRHbits
14514 #define ERR10 AT1ERRHbits.ERR10 // bit 2, shadows bit in AT1ERRHbits
14515 #define ERRH2 AT1ERRHbits.ERRH2 // bit 2, shadows bit in AT1ERRHbits
14516 #define AT1ERR11 AT1ERRHbits.AT1ERR11 // bit 3, shadows bit in AT1ERRHbits
14517 #define ERR11 AT1ERRHbits.ERR11 // bit 3, shadows bit in AT1ERRHbits
14518 #define ERRH3 AT1ERRHbits.ERRH3 // bit 3, shadows bit in AT1ERRHbits
14519 #define AT1ERR12 AT1ERRHbits.AT1ERR12 // bit 4, shadows bit in AT1ERRHbits
14520 #define ERR12 AT1ERRHbits.ERR12 // bit 4, shadows bit in AT1ERRHbits
14521 #define ERRH4 AT1ERRHbits.ERRH4 // bit 4, shadows bit in AT1ERRHbits
14522 #define AT1ERR13 AT1ERRHbits.AT1ERR13 // bit 5, shadows bit in AT1ERRHbits
14523 #define ERR13 AT1ERRHbits.ERR13 // bit 5, shadows bit in AT1ERRHbits
14524 #define ERRH5 AT1ERRHbits.ERRH5 // bit 5, shadows bit in AT1ERRHbits
14525 #define AT1ERR14 AT1ERRHbits.AT1ERR14 // bit 6, shadows bit in AT1ERRHbits
14526 #define ERR14 AT1ERRHbits.ERR14 // bit 6, shadows bit in AT1ERRHbits
14527 #define ERRH6 AT1ERRHbits.ERRH6 // bit 6, shadows bit in AT1ERRHbits
14528 #define AT1ERR15 AT1ERRHbits.AT1ERR15 // bit 7, shadows bit in AT1ERRHbits
14529 #define ERR15 AT1ERRHbits.ERR15 // bit 7, shadows bit in AT1ERRHbits
14530 #define ERRH7 AT1ERRHbits.ERRH7 // bit 7, shadows bit in AT1ERRHbits
14532 #define AT1ERR0 AT1ERRLbits.AT1ERR0 // bit 0, shadows bit in AT1ERRLbits
14533 #define ERR0 AT1ERRLbits.ERR0 // bit 0, shadows bit in AT1ERRLbits
14534 #define ERRL0 AT1ERRLbits.ERRL0 // bit 0, shadows bit in AT1ERRLbits
14535 #define AT1ERR1 AT1ERRLbits.AT1ERR1 // bit 1, shadows bit in AT1ERRLbits
14536 #define ERR1 AT1ERRLbits.ERR1 // bit 1, shadows bit in AT1ERRLbits
14537 #define ERRL1 AT1ERRLbits.ERRL1 // bit 1, shadows bit in AT1ERRLbits
14538 #define AT1ERR2 AT1ERRLbits.AT1ERR2 // bit 2, shadows bit in AT1ERRLbits
14539 #define ERR2 AT1ERRLbits.ERR2 // bit 2, shadows bit in AT1ERRLbits
14540 #define ERRL2 AT1ERRLbits.ERRL2 // bit 2, shadows bit in AT1ERRLbits
14541 #define AT1ERR3 AT1ERRLbits.AT1ERR3 // bit 3, shadows bit in AT1ERRLbits
14542 #define ERR3 AT1ERRLbits.ERR3 // bit 3, shadows bit in AT1ERRLbits
14543 #define ERRL3 AT1ERRLbits.ERRL3 // bit 3, shadows bit in AT1ERRLbits
14544 #define AT1ERR4 AT1ERRLbits.AT1ERR4 // bit 4, shadows bit in AT1ERRLbits
14545 #define ERR4 AT1ERRLbits.ERR4 // bit 4, shadows bit in AT1ERRLbits
14546 #define ERRL4 AT1ERRLbits.ERRL4 // bit 4, shadows bit in AT1ERRLbits
14547 #define AT1ERR5 AT1ERRLbits.AT1ERR5 // bit 5, shadows bit in AT1ERRLbits
14548 #define ERR5 AT1ERRLbits.ERR5 // bit 5, shadows bit in AT1ERRLbits
14549 #define ERRL5 AT1ERRLbits.ERRL5 // bit 5, shadows bit in AT1ERRLbits
14550 #define AT1ERR6 AT1ERRLbits.AT1ERR6 // bit 6, shadows bit in AT1ERRLbits
14551 #define ERR6 AT1ERRLbits.ERR6 // bit 6, shadows bit in AT1ERRLbits
14552 #define ERRL6 AT1ERRLbits.ERRL6 // bit 6, shadows bit in AT1ERRLbits
14553 #define AT1ERR7 AT1ERRLbits.AT1ERR7 // bit 7, shadows bit in AT1ERRLbits
14554 #define ERR7 AT1ERRLbits.ERR7 // bit 7, shadows bit in AT1ERRLbits
14555 #define ERRL7 AT1ERRLbits.ERRL7 // bit 7, shadows bit in AT1ERRLbits
14557 #define AT1PERIE AT1IE0bits.AT1PERIE // bit 0
14558 #define AT1MISSIE AT1IE0bits.AT1MISSIE // bit 1
14559 #define AT1PHSIE AT1IE0bits.AT1PHSIE // bit 2
14561 #define AT1CC1IE AT1IE1bits.AT1CC1IE // bit 0
14562 #define AT1CC2IE AT1IE1bits.AT1CC2IE // bit 1
14563 #define AT1CC3IE AT1IE1bits.AT1CC3IE // bit 2
14565 #define AT1PERIF AT1IR0bits.AT1PERIF // bit 0
14566 #define AT1MISSIF AT1IR0bits.AT1MISSIF // bit 1
14567 #define AT1PHSIF AT1IR0bits.AT1PHSIF // bit 2
14569 #define AT1CC1IF AT1IR1bits.AT1CC1IF // bit 0
14570 #define AT1CC2IF AT1IR1bits.AT1CC2IF // bit 1
14571 #define AT1CC3IF AT1IR1bits.AT1CC3IF // bit 2
14573 #define AT1MISS8 AT1MISSHbits.AT1MISS8 // bit 0, shadows bit in AT1MISSHbits
14574 #define MISS8 AT1MISSHbits.MISS8 // bit 0, shadows bit in AT1MISSHbits
14575 #define AT1MISS9 AT1MISSHbits.AT1MISS9 // bit 1, shadows bit in AT1MISSHbits
14576 #define MISS9 AT1MISSHbits.MISS9 // bit 1, shadows bit in AT1MISSHbits
14577 #define AT1MISS10 AT1MISSHbits.AT1MISS10 // bit 2, shadows bit in AT1MISSHbits
14578 #define MISS10 AT1MISSHbits.MISS10 // bit 2, shadows bit in AT1MISSHbits
14579 #define AT1MISS11 AT1MISSHbits.AT1MISS11 // bit 3, shadows bit in AT1MISSHbits
14580 #define MISS11 AT1MISSHbits.MISS11 // bit 3, shadows bit in AT1MISSHbits
14581 #define AT1MISS12 AT1MISSHbits.AT1MISS12 // bit 4, shadows bit in AT1MISSHbits
14582 #define MISS12 AT1MISSHbits.MISS12 // bit 4, shadows bit in AT1MISSHbits
14583 #define AT1MISS13 AT1MISSHbits.AT1MISS13 // bit 5, shadows bit in AT1MISSHbits
14584 #define MISS13 AT1MISSHbits.MISS13 // bit 5, shadows bit in AT1MISSHbits
14585 #define AT1MISS14 AT1MISSHbits.AT1MISS14 // bit 6, shadows bit in AT1MISSHbits
14586 #define MISS14 AT1MISSHbits.MISS14 // bit 6, shadows bit in AT1MISSHbits
14587 #define AT1MISS15 AT1MISSHbits.AT1MISS15 // bit 7, shadows bit in AT1MISSHbits
14588 #define MISS15 AT1MISSHbits.MISS15 // bit 7, shadows bit in AT1MISSHbits
14590 #define AT1MISS0 AT1MISSLbits.AT1MISS0 // bit 0, shadows bit in AT1MISSLbits
14591 #define MISS0 AT1MISSLbits.MISS0 // bit 0, shadows bit in AT1MISSLbits
14592 #define AT1MISS1 AT1MISSLbits.AT1MISS1 // bit 1, shadows bit in AT1MISSLbits
14593 #define MISS1 AT1MISSLbits.MISS1 // bit 1, shadows bit in AT1MISSLbits
14594 #define AT1MISS2 AT1MISSLbits.AT1MISS2 // bit 2, shadows bit in AT1MISSLbits
14595 #define MISS2 AT1MISSLbits.MISS2 // bit 2, shadows bit in AT1MISSLbits
14596 #define AT1MISS3 AT1MISSLbits.AT1MISS3 // bit 3, shadows bit in AT1MISSLbits
14597 #define MISS3 AT1MISSLbits.MISS3 // bit 3, shadows bit in AT1MISSLbits
14598 #define AT1MISS4 AT1MISSLbits.AT1MISS4 // bit 4, shadows bit in AT1MISSLbits
14599 #define MISS4 AT1MISSLbits.MISS4 // bit 4, shadows bit in AT1MISSLbits
14600 #define AT1MISS5 AT1MISSLbits.AT1MISS5 // bit 5, shadows bit in AT1MISSLbits
14601 #define MISS5 AT1MISSLbits.MISS5 // bit 5, shadows bit in AT1MISSLbits
14602 #define AT1MISS6 AT1MISSLbits.AT1MISS6 // bit 6, shadows bit in AT1MISSLbits
14603 #define MISS6 AT1MISSLbits.MISS6 // bit 6, shadows bit in AT1MISSLbits
14604 #define AT1MISS7 AT1MISSLbits.AT1MISS7 // bit 7, shadows bit in AT1MISSLbits
14605 #define MISS7 AT1MISSLbits.MISS7 // bit 7, shadows bit in AT1MISSLbits
14607 #define AT1PER8 AT1PERHbits.AT1PER8 // bit 0, shadows bit in AT1PERHbits
14608 #define PER8 AT1PERHbits.PER8 // bit 0, shadows bit in AT1PERHbits
14609 #define PERH0 AT1PERHbits.PERH0 // bit 0, shadows bit in AT1PERHbits
14610 #define AT1PER9 AT1PERHbits.AT1PER9 // bit 1, shadows bit in AT1PERHbits
14611 #define PER9 AT1PERHbits.PER9 // bit 1, shadows bit in AT1PERHbits
14612 #define PERH1 AT1PERHbits.PERH1 // bit 1, shadows bit in AT1PERHbits
14613 #define AT1PER10 AT1PERHbits.AT1PER10 // bit 2, shadows bit in AT1PERHbits
14614 #define PER10 AT1PERHbits.PER10 // bit 2, shadows bit in AT1PERHbits
14615 #define PERH2 AT1PERHbits.PERH2 // bit 2, shadows bit in AT1PERHbits
14616 #define AT1PER11 AT1PERHbits.AT1PER11 // bit 3, shadows bit in AT1PERHbits
14617 #define PER11 AT1PERHbits.PER11 // bit 3, shadows bit in AT1PERHbits
14618 #define PERH3 AT1PERHbits.PERH3 // bit 3, shadows bit in AT1PERHbits
14619 #define AT1PER12 AT1PERHbits.AT1PER12 // bit 4, shadows bit in AT1PERHbits
14620 #define PER12 AT1PERHbits.PER12 // bit 4, shadows bit in AT1PERHbits
14621 #define PERH4 AT1PERHbits.PERH4 // bit 4, shadows bit in AT1PERHbits
14622 #define AT1PER13 AT1PERHbits.AT1PER13 // bit 5, shadows bit in AT1PERHbits
14623 #define PER13 AT1PERHbits.PER13 // bit 5, shadows bit in AT1PERHbits
14624 #define PERH5 AT1PERHbits.PERH5 // bit 5, shadows bit in AT1PERHbits
14625 #define AT1PER14 AT1PERHbits.AT1PER14 // bit 6, shadows bit in AT1PERHbits
14626 #define PER14 AT1PERHbits.PER14 // bit 6, shadows bit in AT1PERHbits
14627 #define PERH6 AT1PERHbits.PERH6 // bit 6, shadows bit in AT1PERHbits
14628 #define AT1POV AT1PERHbits.AT1POV // bit 7, shadows bit in AT1PERHbits
14629 #define PER15 AT1PERHbits.PER15 // bit 7, shadows bit in AT1PERHbits
14630 #define PERH7 AT1PERHbits.PERH7 // bit 7, shadows bit in AT1PERHbits
14632 #define AT1PER0 AT1PERLbits.AT1PER0 // bit 0, shadows bit in AT1PERLbits
14633 #define PER0 AT1PERLbits.PER0 // bit 0, shadows bit in AT1PERLbits
14634 #define PERL0 AT1PERLbits.PERL0 // bit 0, shadows bit in AT1PERLbits
14635 #define AT1PER1 AT1PERLbits.AT1PER1 // bit 1, shadows bit in AT1PERLbits
14636 #define PER1 AT1PERLbits.PER1 // bit 1, shadows bit in AT1PERLbits
14637 #define PERL1 AT1PERLbits.PERL1 // bit 1, shadows bit in AT1PERLbits
14638 #define AT1PER2 AT1PERLbits.AT1PER2 // bit 2, shadows bit in AT1PERLbits
14639 #define PER2 AT1PERLbits.PER2 // bit 2, shadows bit in AT1PERLbits
14640 #define PERL2 AT1PERLbits.PERL2 // bit 2, shadows bit in AT1PERLbits
14641 #define AT1PER3 AT1PERLbits.AT1PER3 // bit 3, shadows bit in AT1PERLbits
14642 #define PER3 AT1PERLbits.PER3 // bit 3, shadows bit in AT1PERLbits
14643 #define PERL3 AT1PERLbits.PERL3 // bit 3, shadows bit in AT1PERLbits
14644 #define AT1PER4 AT1PERLbits.AT1PER4 // bit 4, shadows bit in AT1PERLbits
14645 #define PER4 AT1PERLbits.PER4 // bit 4, shadows bit in AT1PERLbits
14646 #define PERL4 AT1PERLbits.PERL4 // bit 4, shadows bit in AT1PERLbits
14647 #define AT1PER5 AT1PERLbits.AT1PER5 // bit 5, shadows bit in AT1PERLbits
14648 #define PER5 AT1PERLbits.PER5 // bit 5, shadows bit in AT1PERLbits
14649 #define PERL5 AT1PERLbits.PERL5 // bit 5, shadows bit in AT1PERLbits
14650 #define AT1PER6 AT1PERLbits.AT1PER6 // bit 6, shadows bit in AT1PERLbits
14651 #define PER6 AT1PERLbits.PER6 // bit 6, shadows bit in AT1PERLbits
14652 #define PERL6 AT1PERLbits.PERL6 // bit 6, shadows bit in AT1PERLbits
14653 #define AT1PER7 AT1PERLbits.AT1PER7 // bit 7, shadows bit in AT1PERLbits
14654 #define PER7 AT1PERLbits.PER7 // bit 7, shadows bit in AT1PERLbits
14655 #define PERL7 AT1PERLbits.PERL7 // bit 7, shadows bit in AT1PERLbits
14657 #define AT1PHS8 AT1PHSHbits.AT1PHS8 // bit 0, shadows bit in AT1PHSHbits
14658 #define PHS8 AT1PHSHbits.PHS8 // bit 0, shadows bit in AT1PHSHbits
14659 #define PHSL8 AT1PHSHbits.PHSL8 // bit 0, shadows bit in AT1PHSHbits
14660 #define AT1PHS9 AT1PHSHbits.AT1PHS9 // bit 1, shadows bit in AT1PHSHbits
14661 #define PHS9 AT1PHSHbits.PHS9 // bit 1, shadows bit in AT1PHSHbits
14662 #define PHSL9 AT1PHSHbits.PHSL9 // bit 1, shadows bit in AT1PHSHbits
14664 #define AT1PHS0 AT1PHSLbits.AT1PHS0 // bit 0, shadows bit in AT1PHSLbits
14665 #define PHS0 AT1PHSLbits.PHS0 // bit 0, shadows bit in AT1PHSLbits
14666 #define AT1PHS1 AT1PHSLbits.AT1PHS1 // bit 1, shadows bit in AT1PHSLbits
14667 #define PHS1 AT1PHSLbits.PHS1 // bit 1, shadows bit in AT1PHSLbits
14668 #define AT1PHS2 AT1PHSLbits.AT1PHS2 // bit 2, shadows bit in AT1PHSLbits
14669 #define PHS2 AT1PHSLbits.PHS2 // bit 2, shadows bit in AT1PHSLbits
14670 #define AT1PHS3 AT1PHSLbits.AT1PHS3 // bit 3, shadows bit in AT1PHSLbits
14671 #define PHS3 AT1PHSLbits.PHS3 // bit 3, shadows bit in AT1PHSLbits
14672 #define AT1PHS4 AT1PHSLbits.AT1PHS4 // bit 4, shadows bit in AT1PHSLbits
14673 #define PHS4 AT1PHSLbits.PHS4 // bit 4, shadows bit in AT1PHSLbits
14674 #define AT1PHS5 AT1PHSLbits.AT1PHS5 // bit 5, shadows bit in AT1PHSLbits
14675 #define PHS5 AT1PHSLbits.PHS5 // bit 5, shadows bit in AT1PHSLbits
14676 #define AT1PHS6 AT1PHSLbits.AT1PHS6 // bit 6, shadows bit in AT1PHSLbits
14677 #define PHS6 AT1PHSLbits.PHS6 // bit 6, shadows bit in AT1PHSLbits
14678 #define AT1PHS7 AT1PHSLbits.AT1PHS7 // bit 7, shadows bit in AT1PHSLbits
14679 #define PHS7 AT1PHSLbits.PHS7 // bit 7, shadows bit in AT1PHSLbits
14681 #define AT1RES8 AT1RESHbits.AT1RES8 // bit 0, shadows bit in AT1RESHbits
14682 #define RES8 AT1RESHbits.RES8 // bit 0, shadows bit in AT1RESHbits
14683 #define AT1RES9 AT1RESHbits.AT1RES9 // bit 1, shadows bit in AT1RESHbits
14684 #define RES9 AT1RESHbits.RES9 // bit 1, shadows bit in AT1RESHbits
14686 #define AT1RES0 AT1RESLbits.AT1RES0 // bit 0, shadows bit in AT1RESLbits
14687 #define RES0 AT1RESLbits.RES0 // bit 0, shadows bit in AT1RESLbits
14688 #define AT1RES1 AT1RESLbits.AT1RES1 // bit 1, shadows bit in AT1RESLbits
14689 #define RES1 AT1RESLbits.RES1 // bit 1, shadows bit in AT1RESLbits
14690 #define AT1RES2 AT1RESLbits.AT1RES2 // bit 2, shadows bit in AT1RESLbits
14691 #define RES2 AT1RESLbits.RES2 // bit 2, shadows bit in AT1RESLbits
14692 #define AT1RES3 AT1RESLbits.AT1RES3 // bit 3, shadows bit in AT1RESLbits
14693 #define RES3 AT1RESLbits.RES3 // bit 3, shadows bit in AT1RESLbits
14694 #define AT1RES4 AT1RESLbits.AT1RES4 // bit 4, shadows bit in AT1RESLbits
14695 #define RES4 AT1RESLbits.RES4 // bit 4, shadows bit in AT1RESLbits
14696 #define AT1RES5 AT1RESLbits.AT1RES5 // bit 5, shadows bit in AT1RESLbits
14697 #define RES5 AT1RESLbits.RES5 // bit 5, shadows bit in AT1RESLbits
14698 #define AT1RES6 AT1RESLbits.AT1RES6 // bit 6, shadows bit in AT1RESLbits
14699 #define RES6 AT1RESLbits.RES6 // bit 6, shadows bit in AT1RESLbits
14700 #define AT1RES7 AT1RESLbits.AT1RES7 // bit 7, shadows bit in AT1RESLbits
14701 #define RES7 AT1RESLbits.RES7 // bit 7, shadows bit in AT1RESLbits
14703 #define AT1SSEL0 AT1SIGbits.AT1SSEL0 // bit 0, shadows bit in AT1SIGbits
14704 #define SSEL0 AT1SIGbits.SSEL0 // bit 0, shadows bit in AT1SIGbits
14705 #define AT1SSEL1 AT1SIGbits.AT1SSEL1 // bit 1, shadows bit in AT1SIGbits
14706 #define SSEL1 AT1SIGbits.SSEL1 // bit 1, shadows bit in AT1SIGbits
14707 #define AT1SSEL2 AT1SIGbits.AT1SSEL2 // bit 2, shadows bit in AT1SIGbits
14708 #define SSEL2 AT1SIGbits.SSEL2 // bit 2, shadows bit in AT1SIGbits
14710 #define AT1STPT8 AT1STPTHbits.AT1STPT8 // bit 0, shadows bit in AT1STPTHbits
14711 #define STPT8 AT1STPTHbits.STPT8 // bit 0, shadows bit in AT1STPTHbits
14712 #define AT1STPT9 AT1STPTHbits.AT1STPT9 // bit 1, shadows bit in AT1STPTHbits
14713 #define STPT9 AT1STPTHbits.STPT9 // bit 1, shadows bit in AT1STPTHbits
14714 #define AT1STPT10 AT1STPTHbits.AT1STPT10 // bit 2, shadows bit in AT1STPTHbits
14715 #define STPT10 AT1STPTHbits.STPT10 // bit 2, shadows bit in AT1STPTHbits
14716 #define AT1STPT11 AT1STPTHbits.AT1STPT11 // bit 3, shadows bit in AT1STPTHbits
14717 #define STPT11 AT1STPTHbits.STPT11 // bit 3, shadows bit in AT1STPTHbits
14718 #define AT1STPT12 AT1STPTHbits.AT1STPT12 // bit 4, shadows bit in AT1STPTHbits
14719 #define STPT12 AT1STPTHbits.STPT12 // bit 4, shadows bit in AT1STPTHbits
14720 #define AT1STPT13 AT1STPTHbits.AT1STPT13 // bit 5, shadows bit in AT1STPTHbits
14721 #define STPT13 AT1STPTHbits.STPT13 // bit 5, shadows bit in AT1STPTHbits
14722 #define AT1STPT14 AT1STPTHbits.AT1STPT14 // bit 6, shadows bit in AT1STPTHbits
14723 #define STPT14 AT1STPTHbits.STPT14 // bit 6, shadows bit in AT1STPTHbits
14725 #define AT1STPT0 AT1STPTLbits.AT1STPT0 // bit 0, shadows bit in AT1STPTLbits
14726 #define STPT0 AT1STPTLbits.STPT0 // bit 0, shadows bit in AT1STPTLbits
14727 #define AT1STPT1 AT1STPTLbits.AT1STPT1 // bit 1, shadows bit in AT1STPTLbits
14728 #define STPT1 AT1STPTLbits.STPT1 // bit 1, shadows bit in AT1STPTLbits
14729 #define AT1STPT2 AT1STPTLbits.AT1STPT2 // bit 2, shadows bit in AT1STPTLbits
14730 #define STPT2 AT1STPTLbits.STPT2 // bit 2, shadows bit in AT1STPTLbits
14731 #define AT1STPT3 AT1STPTLbits.AT1STPT3 // bit 3, shadows bit in AT1STPTLbits
14732 #define STPT3 AT1STPTLbits.STPT3 // bit 3, shadows bit in AT1STPTLbits
14733 #define AT1STPT4 AT1STPTLbits.AT1STPT4 // bit 4, shadows bit in AT1STPTLbits
14734 #define STPT4 AT1STPTLbits.STPT4 // bit 4, shadows bit in AT1STPTLbits
14735 #define AT1STPT5 AT1STPTLbits.AT1STPT5 // bit 5, shadows bit in AT1STPTLbits
14736 #define STPT5 AT1STPTLbits.STPT5 // bit 5, shadows bit in AT1STPTLbits
14737 #define AT1STPT6 AT1STPTLbits.AT1STPT6 // bit 6, shadows bit in AT1STPTLbits
14738 #define STPT6 AT1STPTLbits.STPT6 // bit 6, shadows bit in AT1STPTLbits
14739 #define AT1STPT7 AT1STPTLbits.AT1STPT7 // bit 7, shadows bit in AT1STPTLbits
14740 #define STPT7 AT1STPTLbits.STPT7 // bit 7, shadows bit in AT1STPTLbits
14742 #define ATCC1PPS0 ATCC1PPSbits.ATCC1PPS0 // bit 0
14743 #define ATCC1PPS1 ATCC1PPSbits.ATCC1PPS1 // bit 1
14744 #define ATCC1PPS2 ATCC1PPSbits.ATCC1PPS2 // bit 2
14745 #define ATCC1PPS3 ATCC1PPSbits.ATCC1PPS3 // bit 3
14746 #define ATCC1PPS4 ATCC1PPSbits.ATCC1PPS4 // bit 4
14748 #define ATCC2PPS0 ATCC2PPSbits.ATCC2PPS0 // bit 0
14749 #define ATCC2PPS1 ATCC2PPSbits.ATCC2PPS1 // bit 1
14750 #define ATCC2PPS2 ATCC2PPSbits.ATCC2PPS2 // bit 2
14751 #define ATCC2PPS3 ATCC2PPSbits.ATCC2PPS3 // bit 3
14752 #define ATCC2PPS4 ATCC2PPSbits.ATCC2PPS4 // bit 4
14754 #define ATCC3PPS0 ATCC3PPSbits.ATCC3PPS0 // bit 0
14755 #define ATCC3PPS1 ATCC3PPSbits.ATCC3PPS1 // bit 1
14756 #define ATCC3PPS2 ATCC3PPSbits.ATCC3PPS2 // bit 2
14757 #define ATCC3PPS3 ATCC3PPSbits.ATCC3PPS3 // bit 3
14758 #define ATCC3PPS4 ATCC3PPSbits.ATCC3PPS4 // bit 4
14760 #define ATINPPS0 ATINPPSbits.ATINPPS0 // bit 0
14761 #define ATINPPS1 ATINPPSbits.ATINPPS1 // bit 1
14762 #define ATINPPS2 ATINPPSbits.ATINPPS2 // bit 2
14763 #define ATINPPS3 ATINPPSbits.ATINPPS3 // bit 3
14764 #define ATINPPS4 ATINPPSbits.ATINPPS4 // bit 4
14766 #define ABDEN BAUD1CONbits.ABDEN // bit 0
14767 #define WUE BAUD1CONbits.WUE // bit 1
14768 #define BRG16 BAUD1CONbits.BRG16 // bit 3
14769 #define SCKP BAUD1CONbits.SCKP // bit 4
14770 #define RCIDL BAUD1CONbits.RCIDL // bit 6
14771 #define ABDOVF BAUD1CONbits.ABDOVF // bit 7
14773 #define BORRDY BORCONbits.BORRDY // bit 0
14774 #define BORFS BORCONbits.BORFS // bit 6
14775 #define SBOREN BORCONbits.SBOREN // bit 7
14777 #define BSR0 BSRbits.BSR0 // bit 0
14778 #define BSR1 BSRbits.BSR1 // bit 1
14779 #define BSR2 BSRbits.BSR2 // bit 2
14780 #define BSR3 BSRbits.BSR3 // bit 3
14781 #define BSR4 BSRbits.BSR4 // bit 4
14783 #define CTS0 CCP1CAPbits.CTS0 // bit 0, shadows bit in CCP1CAPbits
14784 #define CCP1CTS0 CCP1CAPbits.CCP1CTS0 // bit 0, shadows bit in CCP1CAPbits
14785 #define CTS1 CCP1CAPbits.CTS1 // bit 1, shadows bit in CCP1CAPbits
14786 #define CCP1CTS1 CCP1CAPbits.CCP1CTS1 // bit 1, shadows bit in CCP1CAPbits
14787 #define CTS2 CCP1CAPbits.CTS2 // bit 2, shadows bit in CCP1CAPbits
14788 #define CCP1CTS2 CCP1CAPbits.CCP1CTS2 // bit 2, shadows bit in CCP1CAPbits
14790 #define CCP1PPS0 CCP1PPSbits.CCP1PPS0 // bit 0
14791 #define CCP1PPS1 CCP1PPSbits.CCP1PPS1 // bit 1
14792 #define CCP1PPS2 CCP1PPSbits.CCP1PPS2 // bit 2
14793 #define CCP1PPS3 CCP1PPSbits.CCP1PPS3 // bit 3
14794 #define CCP1PPS4 CCP1PPSbits.CCP1PPS4 // bit 4
14796 #define CCP2PPS0 CCP2PPSbits.CCP2PPS0 // bit 0
14797 #define CCP2PPS1 CCP2PPSbits.CCP2PPS1 // bit 1
14798 #define CCP2PPS2 CCP2PPSbits.CCP2PPS2 // bit 2
14799 #define CCP2PPS3 CCP2PPSbits.CCP2PPS3 // bit 3
14800 #define CCP2PPS4 CCP2PPSbits.CCP2PPS4 // bit 4
14802 #define CCP1TSEL0 CCPTMRSbits.CCP1TSEL0 // bit 0
14803 #define CCP1TSEL1 CCPTMRSbits.CCP1TSEL1 // bit 1
14804 #define CCP2TSEL0 CCPTMRSbits.CCP2TSEL0 // bit 2
14805 #define CCP2TSEL1 CCPTMRSbits.CCP2TSEL1 // bit 3
14806 #define P3TSEL0 CCPTMRSbits.P3TSEL0 // bit 4
14807 #define P3TSEL1 CCPTMRSbits.P3TSEL1 // bit 5
14808 #define P4TSEL0 CCPTMRSbits.P4TSEL0 // bit 6
14809 #define P4TSEL1 CCPTMRSbits.P4TSEL1 // bit 7
14811 #define CKPPS0 CKPPSbits.CKPPS0 // bit 0
14812 #define CKPPS1 CKPPSbits.CKPPS1 // bit 1
14813 #define CKPPS2 CKPPSbits.CKPPS2 // bit 2
14814 #define CKPPS3 CKPPSbits.CKPPS3 // bit 3
14815 #define CKPPS4 CKPPSbits.CKPPS4 // bit 4
14817 #define LC1G1D1N CLC1GLS0bits.LC1G1D1N // bit 0, shadows bit in CLC1GLS0bits
14818 #define D1N CLC1GLS0bits.D1N // bit 0, shadows bit in CLC1GLS0bits
14819 #define LC1G1D1T CLC1GLS0bits.LC1G1D1T // bit 1, shadows bit in CLC1GLS0bits
14820 #define D1T CLC1GLS0bits.D1T // bit 1, shadows bit in CLC1GLS0bits
14821 #define LC1G1D2N CLC1GLS0bits.LC1G1D2N // bit 2, shadows bit in CLC1GLS0bits
14822 #define D2N CLC1GLS0bits.D2N // bit 2, shadows bit in CLC1GLS0bits
14823 #define LC1G1D2T CLC1GLS0bits.LC1G1D2T // bit 3, shadows bit in CLC1GLS0bits
14824 #define D2T CLC1GLS0bits.D2T // bit 3, shadows bit in CLC1GLS0bits
14825 #define LC1G1D3N CLC1GLS0bits.LC1G1D3N // bit 4, shadows bit in CLC1GLS0bits
14826 #define D3N CLC1GLS0bits.D3N // bit 4, shadows bit in CLC1GLS0bits
14827 #define LC1G1D3T CLC1GLS0bits.LC1G1D3T // bit 5, shadows bit in CLC1GLS0bits
14828 #define D3T CLC1GLS0bits.D3T // bit 5, shadows bit in CLC1GLS0bits
14829 #define LC1G1D4N CLC1GLS0bits.LC1G1D4N // bit 6, shadows bit in CLC1GLS0bits
14830 #define D4N CLC1GLS0bits.D4N // bit 6, shadows bit in CLC1GLS0bits
14831 #define LC1G1D4T CLC1GLS0bits.LC1G1D4T // bit 7, shadows bit in CLC1GLS0bits
14832 #define D4T CLC1GLS0bits.D4T // bit 7, shadows bit in CLC1GLS0bits
14834 #define LC1G4D1N CLC1GLS3bits.LC1G4D1N // bit 0, shadows bit in CLC1GLS3bits
14835 #define G4D1N CLC1GLS3bits.G4D1N // bit 0, shadows bit in CLC1GLS3bits
14836 #define LC1G4D1T CLC1GLS3bits.LC1G4D1T // bit 1, shadows bit in CLC1GLS3bits
14837 #define G4D1T CLC1GLS3bits.G4D1T // bit 1, shadows bit in CLC1GLS3bits
14838 #define LC1G4D2N CLC1GLS3bits.LC1G4D2N // bit 2, shadows bit in CLC1GLS3bits
14839 #define G4D2N CLC1GLS3bits.G4D2N // bit 2, shadows bit in CLC1GLS3bits
14840 #define LC1G4D2T CLC1GLS3bits.LC1G4D2T // bit 3, shadows bit in CLC1GLS3bits
14841 #define G4D2T CLC1GLS3bits.G4D2T // bit 3, shadows bit in CLC1GLS3bits
14842 #define LC1G4D3N CLC1GLS3bits.LC1G4D3N // bit 4, shadows bit in CLC1GLS3bits
14843 #define G4D3N CLC1GLS3bits.G4D3N // bit 4, shadows bit in CLC1GLS3bits
14844 #define LC1G4D3T CLC1GLS3bits.LC1G4D3T // bit 5, shadows bit in CLC1GLS3bits
14845 #define G4D3T CLC1GLS3bits.G4D3T // bit 5, shadows bit in CLC1GLS3bits
14846 #define LC1G4D4N CLC1GLS3bits.LC1G4D4N // bit 6, shadows bit in CLC1GLS3bits
14847 #define G4D4N CLC1GLS3bits.G4D4N // bit 6, shadows bit in CLC1GLS3bits
14848 #define LC1G4D4T CLC1GLS3bits.LC1G4D4T // bit 7, shadows bit in CLC1GLS3bits
14849 #define G4D4T CLC1GLS3bits.G4D4T // bit 7, shadows bit in CLC1GLS3bits
14851 #define LC1D1S0 CLC1SEL0bits.LC1D1S0 // bit 0, shadows bit in CLC1SEL0bits
14852 #define D1S0 CLC1SEL0bits.D1S0 // bit 0, shadows bit in CLC1SEL0bits
14853 #define LC1D1S1 CLC1SEL0bits.LC1D1S1 // bit 1, shadows bit in CLC1SEL0bits
14854 #define D1S1 CLC1SEL0bits.D1S1 // bit 1, shadows bit in CLC1SEL0bits
14855 #define LC1D1S2 CLC1SEL0bits.LC1D1S2 // bit 2, shadows bit in CLC1SEL0bits
14856 #define D1S2 CLC1SEL0bits.D1S2 // bit 2, shadows bit in CLC1SEL0bits
14857 #define LC1D1S3 CLC1SEL0bits.LC1D1S3 // bit 3, shadows bit in CLC1SEL0bits
14858 #define D1S3 CLC1SEL0bits.D1S3 // bit 3, shadows bit in CLC1SEL0bits
14859 #define LC1D1S4 CLC1SEL0bits.LC1D1S4 // bit 4, shadows bit in CLC1SEL0bits
14860 #define D1S4 CLC1SEL0bits.D1S4 // bit 4, shadows bit in CLC1SEL0bits
14861 #define LC1D1S5 CLC1SEL0bits.LC1D1S5 // bit 5, shadows bit in CLC1SEL0bits
14862 #define D1S5 CLC1SEL0bits.D1S5 // bit 5, shadows bit in CLC1SEL0bits
14864 #define LC1D2S0 CLC1SEL1bits.LC1D2S0 // bit 0, shadows bit in CLC1SEL1bits
14865 #define D2S0 CLC1SEL1bits.D2S0 // bit 0, shadows bit in CLC1SEL1bits
14866 #define LC1D2S1 CLC1SEL1bits.LC1D2S1 // bit 1, shadows bit in CLC1SEL1bits
14867 #define D2S1 CLC1SEL1bits.D2S1 // bit 1, shadows bit in CLC1SEL1bits
14868 #define LC1D2S2 CLC1SEL1bits.LC1D2S2 // bit 2, shadows bit in CLC1SEL1bits
14869 #define D2S2 CLC1SEL1bits.D2S2 // bit 2, shadows bit in CLC1SEL1bits
14870 #define LC1D2S3 CLC1SEL1bits.LC1D2S3 // bit 3, shadows bit in CLC1SEL1bits
14871 #define D2S3 CLC1SEL1bits.D2S3 // bit 3, shadows bit in CLC1SEL1bits
14872 #define LC1D2S4 CLC1SEL1bits.LC1D2S4 // bit 4, shadows bit in CLC1SEL1bits
14873 #define D2S4 CLC1SEL1bits.D2S4 // bit 4, shadows bit in CLC1SEL1bits
14874 #define LC1D2S5 CLC1SEL1bits.LC1D2S5 // bit 5, shadows bit in CLC1SEL1bits
14875 #define D2S5 CLC1SEL1bits.D2S5 // bit 5, shadows bit in CLC1SEL1bits
14877 #define LC1D3S0 CLC1SEL2bits.LC1D3S0 // bit 0, shadows bit in CLC1SEL2bits
14878 #define D3S0 CLC1SEL2bits.D3S0 // bit 0, shadows bit in CLC1SEL2bits
14879 #define LC1D3S1 CLC1SEL2bits.LC1D3S1 // bit 1, shadows bit in CLC1SEL2bits
14880 #define D3S1 CLC1SEL2bits.D3S1 // bit 1, shadows bit in CLC1SEL2bits
14881 #define LC1D3S2 CLC1SEL2bits.LC1D3S2 // bit 2, shadows bit in CLC1SEL2bits
14882 #define D3S2 CLC1SEL2bits.D3S2 // bit 2, shadows bit in CLC1SEL2bits
14883 #define LC1D3S3 CLC1SEL2bits.LC1D3S3 // bit 3, shadows bit in CLC1SEL2bits
14884 #define D3S3 CLC1SEL2bits.D3S3 // bit 3, shadows bit in CLC1SEL2bits
14885 #define LC1D3S4 CLC1SEL2bits.LC1D3S4 // bit 4, shadows bit in CLC1SEL2bits
14886 #define D3S4 CLC1SEL2bits.D3S4 // bit 4, shadows bit in CLC1SEL2bits
14887 #define LC1D3S5 CLC1SEL2bits.LC1D3S5 // bit 5, shadows bit in CLC1SEL2bits
14888 #define D3S5 CLC1SEL2bits.D3S5 // bit 5, shadows bit in CLC1SEL2bits
14890 #define LC1D4S0 CLC1SEL3bits.LC1D4S0 // bit 0, shadows bit in CLC1SEL3bits
14891 #define D4S0 CLC1SEL3bits.D4S0 // bit 0, shadows bit in CLC1SEL3bits
14892 #define LC1D4S1 CLC1SEL3bits.LC1D4S1 // bit 1, shadows bit in CLC1SEL3bits
14893 #define D4S1 CLC1SEL3bits.D4S1 // bit 1, shadows bit in CLC1SEL3bits
14894 #define LC1D4S2 CLC1SEL3bits.LC1D4S2 // bit 2, shadows bit in CLC1SEL3bits
14895 #define D4S2 CLC1SEL3bits.D4S2 // bit 2, shadows bit in CLC1SEL3bits
14896 #define LC1D4S3 CLC1SEL3bits.LC1D4S3 // bit 3, shadows bit in CLC1SEL3bits
14897 #define D4S3 CLC1SEL3bits.D4S3 // bit 3, shadows bit in CLC1SEL3bits
14898 #define LC1D4S4 CLC1SEL3bits.LC1D4S4 // bit 4, shadows bit in CLC1SEL3bits
14899 #define D4S4 CLC1SEL3bits.D4S4 // bit 4, shadows bit in CLC1SEL3bits
14900 #define LC1D4S5 CLC1SEL3bits.LC1D4S5 // bit 5, shadows bit in CLC1SEL3bits
14901 #define D4S5 CLC1SEL3bits.D4S5 // bit 5, shadows bit in CLC1SEL3bits
14903 #define MLC1OUT CLCDATAbits.MLC1OUT // bit 0
14904 #define MLC2OUT CLCDATAbits.MLC2OUT // bit 1
14906 #define CLCIN0PPS0 CLCIN0PPSbits.CLCIN0PPS0 // bit 0
14907 #define CLCIN0PPS1 CLCIN0PPSbits.CLCIN0PPS1 // bit 1
14908 #define CLCIN0PPS2 CLCIN0PPSbits.CLCIN0PPS2 // bit 2
14909 #define CLCIN0PPS3 CLCIN0PPSbits.CLCIN0PPS3 // bit 3
14910 #define CLCIN0PPS4 CLCIN0PPSbits.CLCIN0PPS4 // bit 4
14912 #define CLCIN1PPS0 CLCIN1PPSbits.CLCIN1PPS0 // bit 0
14913 #define CLCIN1PPS1 CLCIN1PPSbits.CLCIN1PPS1 // bit 1
14914 #define CLCIN1PPS2 CLCIN1PPSbits.CLCIN1PPS2 // bit 2
14915 #define CLCIN1PPS3 CLCIN1PPSbits.CLCIN1PPS3 // bit 3
14916 #define CLCIN1PPS4 CLCIN1PPSbits.CLCIN1PPS4 // bit 4
14918 #define CLCIN2PPS0 CLCIN2PPSbits.CLCIN2PPS0 // bit 0
14919 #define CLCIN2PPS1 CLCIN2PPSbits.CLCIN2PPS1 // bit 1
14920 #define CLCIN2PPS2 CLCIN2PPSbits.CLCIN2PPS2 // bit 2
14921 #define CLCIN2PPS3 CLCIN2PPSbits.CLCIN2PPS3 // bit 3
14922 #define CLCIN2PPS4 CLCIN2PPSbits.CLCIN2PPS4 // bit 4
14924 #define CLCIN3PPS0 CLCIN3PPSbits.CLCIN3PPS0 // bit 0
14925 #define CLCIN3PPS1 CLCIN3PPSbits.CLCIN3PPS1 // bit 1
14926 #define CLCIN3PPS2 CLCIN3PPSbits.CLCIN3PPS2 // bit 2
14927 #define CLCIN3PPS3 CLCIN3PPSbits.CLCIN3PPS3 // bit 3
14928 #define CLCIN3PPS4 CLCIN3PPSbits.CLCIN3PPS4 // bit 4
14930 #define C1SYNC CM1CON0bits.C1SYNC // bit 0
14931 #define C1HYS CM1CON0bits.C1HYS // bit 1
14932 #define C1SP CM1CON0bits.C1SP // bit 2
14933 #define C1POL CM1CON0bits.C1POL // bit 4
14934 #define C1OUT CM1CON0bits.C1OUT // bit 6
14935 #define C1ON CM1CON0bits.C1ON // bit 7
14937 #define C1NCH0 CM1CON1bits.C1NCH0 // bit 0
14938 #define C1NCH1 CM1CON1bits.C1NCH1 // bit 1
14939 #define C1NCH2 CM1CON1bits.C1NCH2 // bit 2
14940 #define C1PCH0 CM1CON1bits.C1PCH0 // bit 4
14941 #define C1PCH1 CM1CON1bits.C1PCH1 // bit 5
14942 #define C1INTN CM1CON1bits.C1INTN // bit 6
14943 #define C1INTP CM1CON1bits.C1INTP // bit 7
14945 #define C2SYNC CM2CON0bits.C2SYNC // bit 0
14946 #define C2HYS CM2CON0bits.C2HYS // bit 1
14947 #define C2SP CM2CON0bits.C2SP // bit 2
14948 #define C2POL CM2CON0bits.C2POL // bit 4
14949 #define C2OUT CM2CON0bits.C2OUT // bit 6
14950 #define C2ON CM2CON0bits.C2ON // bit 7
14952 #define C2NCH0 CM2CON1bits.C2NCH0 // bit 0
14953 #define C2NCH1 CM2CON1bits.C2NCH1 // bit 1
14954 #define C2NCH2 CM2CON1bits.C2NCH2 // bit 2
14955 #define C2PCH0 CM2CON1bits.C2PCH0 // bit 4
14956 #define C2PCH1 CM2CON1bits.C2PCH1 // bit 5
14957 #define C2INTN CM2CON1bits.C2INTN // bit 6
14958 #define C2INTP CM2CON1bits.C2INTP // bit 7
14960 #define MC1OUT CMOUTbits.MC1OUT // bit 0
14961 #define MC2OUT CMOUTbits.MC2OUT // bit 1
14963 #define ACC8 CRCACCHbits.ACC8 // bit 0, shadows bit in CRCACCHbits
14964 #define CRCACC8 CRCACCHbits.CRCACC8 // bit 0, shadows bit in CRCACCHbits
14965 #define ACC9 CRCACCHbits.ACC9 // bit 1, shadows bit in CRCACCHbits
14966 #define CRCACC9 CRCACCHbits.CRCACC9 // bit 1, shadows bit in CRCACCHbits
14967 #define ACC10 CRCACCHbits.ACC10 // bit 2, shadows bit in CRCACCHbits
14968 #define CRCACC10 CRCACCHbits.CRCACC10 // bit 2, shadows bit in CRCACCHbits
14969 #define ACC11 CRCACCHbits.ACC11 // bit 3, shadows bit in CRCACCHbits
14970 #define CRCACC11 CRCACCHbits.CRCACC11 // bit 3, shadows bit in CRCACCHbits
14971 #define ACC12 CRCACCHbits.ACC12 // bit 4, shadows bit in CRCACCHbits
14972 #define CRCACC12 CRCACCHbits.CRCACC12 // bit 4, shadows bit in CRCACCHbits
14973 #define ACC13 CRCACCHbits.ACC13 // bit 5, shadows bit in CRCACCHbits
14974 #define CRCACC13 CRCACCHbits.CRCACC13 // bit 5, shadows bit in CRCACCHbits
14975 #define ACC14 CRCACCHbits.ACC14 // bit 6, shadows bit in CRCACCHbits
14976 #define CRCACC14 CRCACCHbits.CRCACC14 // bit 6, shadows bit in CRCACCHbits
14977 #define ACC15 CRCACCHbits.ACC15 // bit 7, shadows bit in CRCACCHbits
14978 #define CRCACC15 CRCACCHbits.CRCACC15 // bit 7, shadows bit in CRCACCHbits
14980 #define ACC0 CRCACCLbits.ACC0 // bit 0, shadows bit in CRCACCLbits
14981 #define CRCACC0 CRCACCLbits.CRCACC0 // bit 0, shadows bit in CRCACCLbits
14982 #define ACC1 CRCACCLbits.ACC1 // bit 1, shadows bit in CRCACCLbits
14983 #define CRCACC1 CRCACCLbits.CRCACC1 // bit 1, shadows bit in CRCACCLbits
14984 #define ACC2 CRCACCLbits.ACC2 // bit 2, shadows bit in CRCACCLbits
14985 #define CRCACC2 CRCACCLbits.CRCACC2 // bit 2, shadows bit in CRCACCLbits
14986 #define ACC3 CRCACCLbits.ACC3 // bit 3, shadows bit in CRCACCLbits
14987 #define CRCACC3 CRCACCLbits.CRCACC3 // bit 3, shadows bit in CRCACCLbits
14988 #define ACC4 CRCACCLbits.ACC4 // bit 4, shadows bit in CRCACCLbits
14989 #define CRCACC4 CRCACCLbits.CRCACC4 // bit 4, shadows bit in CRCACCLbits
14990 #define ACC5 CRCACCLbits.ACC5 // bit 5, shadows bit in CRCACCLbits
14991 #define CRCACC5 CRCACCLbits.CRCACC5 // bit 5, shadows bit in CRCACCLbits
14992 #define ACC6 CRCACCLbits.ACC6 // bit 6, shadows bit in CRCACCLbits
14993 #define CRCACC6 CRCACCLbits.CRCACC6 // bit 6, shadows bit in CRCACCLbits
14994 #define ACC7 CRCACCLbits.ACC7 // bit 7, shadows bit in CRCACCLbits
14995 #define CRCACC7 CRCACCLbits.CRCACC7 // bit 7, shadows bit in CRCACCLbits
14997 #define PLEN0 CRCCON1bits.PLEN0 // bit 0, shadows bit in CRCCON1bits
14998 #define CRCPLEN0 CRCCON1bits.CRCPLEN0 // bit 0, shadows bit in CRCCON1bits
14999 #define PLEN1 CRCCON1bits.PLEN1 // bit 1, shadows bit in CRCCON1bits
15000 #define CRCPLEN1 CRCCON1bits.CRCPLEN1 // bit 1, shadows bit in CRCCON1bits
15001 #define PLEN2 CRCCON1bits.PLEN2 // bit 2, shadows bit in CRCCON1bits
15002 #define CRCPLEN2 CRCCON1bits.CRCPLEN2 // bit 2, shadows bit in CRCCON1bits
15003 #define PLEN3 CRCCON1bits.PLEN3 // bit 3, shadows bit in CRCCON1bits
15004 #define CRCPLEN3 CRCCON1bits.CRCPLEN3 // bit 3, shadows bit in CRCCON1bits
15005 #define DLEN0 CRCCON1bits.DLEN0 // bit 4, shadows bit in CRCCON1bits
15006 #define CRCDLEN0 CRCCON1bits.CRCDLEN0 // bit 4, shadows bit in CRCCON1bits
15007 #define DLEN1 CRCCON1bits.DLEN1 // bit 5, shadows bit in CRCCON1bits
15008 #define CRCDLEN1 CRCCON1bits.CRCDLEN1 // bit 5, shadows bit in CRCCON1bits
15009 #define DLEN2 CRCCON1bits.DLEN2 // bit 6, shadows bit in CRCCON1bits
15010 #define CRCDLEN2 CRCCON1bits.CRCDLEN2 // bit 6, shadows bit in CRCCON1bits
15011 #define DLEN3 CRCCON1bits.DLEN3 // bit 7, shadows bit in CRCCON1bits
15012 #define CRCDLEN3 CRCCON1bits.CRCDLEN3 // bit 7, shadows bit in CRCCON1bits
15014 #define DAT8 CRCDATHbits.DAT8 // bit 0, shadows bit in CRCDATHbits
15015 #define CRCDAT8 CRCDATHbits.CRCDAT8 // bit 0, shadows bit in CRCDATHbits
15016 #define DAT9 CRCDATHbits.DAT9 // bit 1, shadows bit in CRCDATHbits
15017 #define CRCDAT9 CRCDATHbits.CRCDAT9 // bit 1, shadows bit in CRCDATHbits
15018 #define DAT10 CRCDATHbits.DAT10 // bit 2, shadows bit in CRCDATHbits
15019 #define CRCDAT10 CRCDATHbits.CRCDAT10 // bit 2, shadows bit in CRCDATHbits
15020 #define DAT11 CRCDATHbits.DAT11 // bit 3, shadows bit in CRCDATHbits
15021 #define CRCDAT11 CRCDATHbits.CRCDAT11 // bit 3, shadows bit in CRCDATHbits
15022 #define DAT12 CRCDATHbits.DAT12 // bit 4, shadows bit in CRCDATHbits
15023 #define CRCDAT12 CRCDATHbits.CRCDAT12 // bit 4, shadows bit in CRCDATHbits
15024 #define DAT13 CRCDATHbits.DAT13 // bit 5, shadows bit in CRCDATHbits
15025 #define CRCDAT13 CRCDATHbits.CRCDAT13 // bit 5, shadows bit in CRCDATHbits
15026 #define DAT14 CRCDATHbits.DAT14 // bit 6, shadows bit in CRCDATHbits
15027 #define CRCDAT14 CRCDATHbits.CRCDAT14 // bit 6, shadows bit in CRCDATHbits
15028 #define DAT15 CRCDATHbits.DAT15 // bit 7, shadows bit in CRCDATHbits
15029 #define CRCDAT15 CRCDATHbits.CRCDAT15 // bit 7, shadows bit in CRCDATHbits
15031 #define DAT0 CRCDATLbits.DAT0 // bit 0, shadows bit in CRCDATLbits
15032 #define CRCDAT0 CRCDATLbits.CRCDAT0 // bit 0, shadows bit in CRCDATLbits
15033 #define DAT1 CRCDATLbits.DAT1 // bit 1, shadows bit in CRCDATLbits
15034 #define CRCDAT1 CRCDATLbits.CRCDAT1 // bit 1, shadows bit in CRCDATLbits
15035 #define DAT2 CRCDATLbits.DAT2 // bit 2, shadows bit in CRCDATLbits
15036 #define CRCDAT2 CRCDATLbits.CRCDAT2 // bit 2, shadows bit in CRCDATLbits
15037 #define DAT3 CRCDATLbits.DAT3 // bit 3, shadows bit in CRCDATLbits
15038 #define CRCDAT3 CRCDATLbits.CRCDAT3 // bit 3, shadows bit in CRCDATLbits
15039 #define DAT4 CRCDATLbits.DAT4 // bit 4, shadows bit in CRCDATLbits
15040 #define CRCDAT4 CRCDATLbits.CRCDAT4 // bit 4, shadows bit in CRCDATLbits
15041 #define DAT5 CRCDATLbits.DAT5 // bit 5, shadows bit in CRCDATLbits
15042 #define CRCDAT5 CRCDATLbits.CRCDAT5 // bit 5, shadows bit in CRCDATLbits
15043 #define DAT6 CRCDATLbits.DAT6 // bit 6, shadows bit in CRCDATLbits
15044 #define CRCDAT6 CRCDATLbits.CRCDAT6 // bit 6, shadows bit in CRCDATLbits
15045 #define DAT7 CRCDATLbits.DAT7 // bit 7, shadows bit in CRCDATLbits
15046 #define CRDCDAT7 CRCDATLbits.CRDCDAT7 // bit 7, shadows bit in CRCDATLbits
15048 #define SHIFT8 CRCSHIFTHbits.SHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15049 #define CRCSHIFT8 CRCSHIFTHbits.CRCSHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15050 #define SHIFT9 CRCSHIFTHbits.SHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15051 #define CRCSHIFT9 CRCSHIFTHbits.CRCSHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15052 #define SHIFT10 CRCSHIFTHbits.SHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15053 #define CRCSHIFT10 CRCSHIFTHbits.CRCSHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15054 #define SHIFT11 CRCSHIFTHbits.SHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15055 #define CRCSHIFT11 CRCSHIFTHbits.CRCSHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15056 #define SHIFT12 CRCSHIFTHbits.SHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15057 #define CRCSHIFT12 CRCSHIFTHbits.CRCSHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15058 #define SHIFT13 CRCSHIFTHbits.SHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15059 #define CRCSHIFT13 CRCSHIFTHbits.CRCSHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15060 #define SHIFT14 CRCSHIFTHbits.SHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15061 #define CRCSHIFT14 CRCSHIFTHbits.CRCSHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15062 #define SHIFT15 CRCSHIFTHbits.SHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15063 #define CRCSHIFT15 CRCSHIFTHbits.CRCSHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15065 #define SHIFT0 CRCSHIFTLbits.SHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15066 #define CRCSHIFT0 CRCSHIFTLbits.CRCSHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15067 #define SHIFT1 CRCSHIFTLbits.SHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15068 #define CRCSHIFT1 CRCSHIFTLbits.CRCSHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15069 #define SHIFT2 CRCSHIFTLbits.SHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15070 #define CRCSHIFT2 CRCSHIFTLbits.CRCSHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15071 #define SHIFT3 CRCSHIFTLbits.SHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15072 #define CRCSHIFT3 CRCSHIFTLbits.CRCSHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15073 #define SHIFT4 CRCSHIFTLbits.SHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15074 #define CRCSHIFT4 CRCSHIFTLbits.CRCSHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15075 #define SHIFT5 CRCSHIFTLbits.SHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15076 #define CRCSHIFT5 CRCSHIFTLbits.CRCSHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15077 #define SHIFT6 CRCSHIFTLbits.SHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15078 #define CRCSHIFT6 CRCSHIFTLbits.CRCSHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15079 #define SHIFT7 CRCSHIFTLbits.SHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15080 #define CRCSHIFT7 CRCSHIFTLbits.CRCSHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15082 #define XOR8 CRCXORHbits.XOR8 // bit 0, shadows bit in CRCXORHbits
15083 #define CRCXOR8 CRCXORHbits.CRCXOR8 // bit 0, shadows bit in CRCXORHbits
15084 #define XOR9 CRCXORHbits.XOR9 // bit 1, shadows bit in CRCXORHbits
15085 #define CRCXOR9 CRCXORHbits.CRCXOR9 // bit 1, shadows bit in CRCXORHbits
15086 #define XOR10 CRCXORHbits.XOR10 // bit 2, shadows bit in CRCXORHbits
15087 #define CRCXOR10 CRCXORHbits.CRCXOR10 // bit 2, shadows bit in CRCXORHbits
15088 #define XOR11 CRCXORHbits.XOR11 // bit 3, shadows bit in CRCXORHbits
15089 #define CRCXOR11 CRCXORHbits.CRCXOR11 // bit 3, shadows bit in CRCXORHbits
15090 #define XOR12 CRCXORHbits.XOR12 // bit 4, shadows bit in CRCXORHbits
15091 #define CRCXOR12 CRCXORHbits.CRCXOR12 // bit 4, shadows bit in CRCXORHbits
15092 #define XOR13 CRCXORHbits.XOR13 // bit 5, shadows bit in CRCXORHbits
15093 #define CRCXOR13 CRCXORHbits.CRCXOR13 // bit 5, shadows bit in CRCXORHbits
15094 #define XOR14 CRCXORHbits.XOR14 // bit 6, shadows bit in CRCXORHbits
15095 #define CRCXOR14 CRCXORHbits.CRCXOR14 // bit 6, shadows bit in CRCXORHbits
15096 #define XOR15 CRCXORHbits.XOR15 // bit 7, shadows bit in CRCXORHbits
15097 #define CRCXOR15 CRCXORHbits.CRCXOR15 // bit 7, shadows bit in CRCXORHbits
15099 #define XOR1 CRCXORLbits.XOR1 // bit 1, shadows bit in CRCXORLbits
15100 #define CRCXOR1 CRCXORLbits.CRCXOR1 // bit 1, shadows bit in CRCXORLbits
15101 #define XOR2 CRCXORLbits.XOR2 // bit 2, shadows bit in CRCXORLbits
15102 #define CRCXOR2 CRCXORLbits.CRCXOR2 // bit 2, shadows bit in CRCXORLbits
15103 #define XOR3 CRCXORLbits.XOR3 // bit 3, shadows bit in CRCXORLbits
15104 #define CRCXOR3 CRCXORLbits.CRCXOR3 // bit 3, shadows bit in CRCXORLbits
15105 #define XOR4 CRCXORLbits.XOR4 // bit 4, shadows bit in CRCXORLbits
15106 #define CRCXOR4 CRCXORLbits.CRCXOR4 // bit 4, shadows bit in CRCXORLbits
15107 #define XOR5 CRCXORLbits.XOR5 // bit 5, shadows bit in CRCXORLbits
15108 #define CRCXOR5 CRCXORLbits.CRCXOR5 // bit 5, shadows bit in CRCXORLbits
15109 #define XOR6 CRCXORLbits.XOR6 // bit 6, shadows bit in CRCXORLbits
15110 #define CRCXOR6 CRCXORLbits.CRCXOR6 // bit 6, shadows bit in CRCXORLbits
15111 #define XOR7 CRCXORLbits.XOR7 // bit 7, shadows bit in CRCXORLbits
15112 #define CRCXOR7 CRCXORLbits.CRCXOR7 // bit 7, shadows bit in CRCXORLbits
15114 #define LSAC0 CWG1AS0bits.LSAC0 // bit 2, shadows bit in CWG1AS0bits
15115 #define CWG1LSAC0 CWG1AS0bits.CWG1LSAC0 // bit 2, shadows bit in CWG1AS0bits
15116 #define LSAC1 CWG1AS0bits.LSAC1 // bit 3, shadows bit in CWG1AS0bits
15117 #define CWG1LSAC1 CWG1AS0bits.CWG1LSAC1 // bit 3, shadows bit in CWG1AS0bits
15118 #define LSBD0 CWG1AS0bits.LSBD0 // bit 4, shadows bit in CWG1AS0bits
15119 #define CWG1LSBD0 CWG1AS0bits.CWG1LSBD0 // bit 4, shadows bit in CWG1AS0bits
15120 #define LSBD1 CWG1AS0bits.LSBD1 // bit 5, shadows bit in CWG1AS0bits
15121 #define CWG1LSBD1 CWG1AS0bits.CWG1LSBD1 // bit 5, shadows bit in CWG1AS0bits
15122 #define REN CWG1AS0bits.REN // bit 6, shadows bit in CWG1AS0bits
15123 #define CWG1REN CWG1AS0bits.CWG1REN // bit 6, shadows bit in CWG1AS0bits
15124 #define SHUTDOWN CWG1AS0bits.SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15125 #define CWG1SHUTDOWN CWG1AS0bits.CWG1SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15127 #define INAS CWG1AS1bits.INAS // bit 0, shadows bit in CWG1AS1bits
15128 #define CWG1INAS CWG1AS1bits.CWG1INAS // bit 0, shadows bit in CWG1AS1bits
15129 #define C1AS CWG1AS1bits.C1AS // bit 1, shadows bit in CWG1AS1bits
15130 #define CWG1C1AS CWG1AS1bits.CWG1C1AS // bit 1, shadows bit in CWG1AS1bits
15131 #define C2AS CWG1AS1bits.C2AS // bit 2, shadows bit in CWG1AS1bits
15132 #define CWG1C2AS CWG1AS1bits.CWG1C2AS // bit 2, shadows bit in CWG1AS1bits
15133 #define TMR2AS CWG1AS1bits.TMR2AS // bit 4, shadows bit in CWG1AS1bits
15134 #define CWG1TMR2AS CWG1AS1bits.CWG1TMR2AS // bit 4, shadows bit in CWG1AS1bits
15135 #define TMR4AS CWG1AS1bits.TMR4AS // bit 5, shadows bit in CWG1AS1bits
15136 #define CWG1TMR4AS CWG1AS1bits.CWG1TMR4AS // bit 5, shadows bit in CWG1AS1bits
15137 #define TMR6AS CWG1AS1bits.TMR6AS // bit 6, shadows bit in CWG1AS1bits
15138 #define CWG1TMR6AS CWG1AS1bits.CWG1TMR6AS // bit 6, shadows bit in CWG1AS1bits
15140 #define POLA CWG1CON1bits.POLA // bit 0, shadows bit in CWG1CON1bits
15141 #define CWG1POLA CWG1CON1bits.CWG1POLA // bit 0, shadows bit in CWG1CON1bits
15142 #define POLB CWG1CON1bits.POLB // bit 1, shadows bit in CWG1CON1bits
15143 #define CWG1POLB CWG1CON1bits.CWG1POLB // bit 1, shadows bit in CWG1CON1bits
15144 #define POLC CWG1CON1bits.POLC // bit 2, shadows bit in CWG1CON1bits
15145 #define CWG1POLC CWG1CON1bits.CWG1POLC // bit 2, shadows bit in CWG1CON1bits
15146 #define POLD CWG1CON1bits.POLD // bit 3, shadows bit in CWG1CON1bits
15147 #define CWG1POLD CWG1CON1bits.CWG1POLD // bit 3, shadows bit in CWG1CON1bits
15148 #define IN CWG1CON1bits.IN // bit 5, shadows bit in CWG1CON1bits
15149 #define CWG1IN CWG1CON1bits.CWG1IN // bit 5, shadows bit in CWG1CON1bits
15151 #define DBF0 CWG1DBFbits.DBF0 // bit 0, shadows bit in CWG1DBFbits
15152 #define CWG1DBF0 CWG1DBFbits.CWG1DBF0 // bit 0, shadows bit in CWG1DBFbits
15153 #define DBF1 CWG1DBFbits.DBF1 // bit 1, shadows bit in CWG1DBFbits
15154 #define CWG1DBF1 CWG1DBFbits.CWG1DBF1 // bit 1, shadows bit in CWG1DBFbits
15155 #define DBF2 CWG1DBFbits.DBF2 // bit 2, shadows bit in CWG1DBFbits
15156 #define CWG1DBF2 CWG1DBFbits.CWG1DBF2 // bit 2, shadows bit in CWG1DBFbits
15157 #define DBF3 CWG1DBFbits.DBF3 // bit 3, shadows bit in CWG1DBFbits
15158 #define CWG1DBF3 CWG1DBFbits.CWG1DBF3 // bit 3, shadows bit in CWG1DBFbits
15159 #define DBF4 CWG1DBFbits.DBF4 // bit 4, shadows bit in CWG1DBFbits
15160 #define CWG1DBF4 CWG1DBFbits.CWG1DBF4 // bit 4, shadows bit in CWG1DBFbits
15161 #define DBF5 CWG1DBFbits.DBF5 // bit 5, shadows bit in CWG1DBFbits
15162 #define CWG1DBF5 CWG1DBFbits.CWG1DBF5 // bit 5, shadows bit in CWG1DBFbits
15164 #define DBR0 CWG1DBRbits.DBR0 // bit 0, shadows bit in CWG1DBRbits
15165 #define CWG1DBR0 CWG1DBRbits.CWG1DBR0 // bit 0, shadows bit in CWG1DBRbits
15166 #define DBR1 CWG1DBRbits.DBR1 // bit 1, shadows bit in CWG1DBRbits
15167 #define CWG1DBR1 CWG1DBRbits.CWG1DBR1 // bit 1, shadows bit in CWG1DBRbits
15168 #define DBR2 CWG1DBRbits.DBR2 // bit 2, shadows bit in CWG1DBRbits
15169 #define CWG1DBR2 CWG1DBRbits.CWG1DBR2 // bit 2, shadows bit in CWG1DBRbits
15170 #define DBR3 CWG1DBRbits.DBR3 // bit 3, shadows bit in CWG1DBRbits
15171 #define CWG1DBR3 CWG1DBRbits.CWG1DBR3 // bit 3, shadows bit in CWG1DBRbits
15172 #define DBR4 CWG1DBRbits.DBR4 // bit 4, shadows bit in CWG1DBRbits
15173 #define CWG1DBR4 CWG1DBRbits.CWG1DBR4 // bit 4, shadows bit in CWG1DBRbits
15174 #define DBR5 CWG1DBRbits.DBR5 // bit 5, shadows bit in CWG1DBRbits
15175 #define CWG1DBR5 CWG1DBRbits.CWG1DBR5 // bit 5, shadows bit in CWG1DBRbits
15177 #define IS0 CWG1ISMbits.IS0 // bit 0, shadows bit in CWG1ISMbits
15178 #define CWG1IS0 CWG1ISMbits.CWG1IS0 // bit 0, shadows bit in CWG1ISMbits
15179 #define IS1 CWG1ISMbits.IS1 // bit 1, shadows bit in CWG1ISMbits
15180 #define CWG1IS1 CWG1ISMbits.CWG1IS1 // bit 1, shadows bit in CWG1ISMbits
15181 #define IS2 CWG1ISMbits.IS2 // bit 2, shadows bit in CWG1ISMbits
15182 #define CWG1IS2 CWG1ISMbits.CWG1IS2 // bit 2, shadows bit in CWG1ISMbits
15183 #define IS3 CWG1ISMbits.IS3 // bit 3, shadows bit in CWG1ISMbits
15184 #define CWG1IS3 CWG1ISMbits.CWG1IS3 // bit 3, shadows bit in CWG1ISMbits
15186 #define STRA CWG1OCON0bits.STRA // bit 0, shadows bit in CWG1OCON0bits
15187 #define CWG1STRA CWG1OCON0bits.CWG1STRA // bit 0, shadows bit in CWG1OCON0bits
15188 #define STRB CWG1OCON0bits.STRB // bit 1, shadows bit in CWG1OCON0bits
15189 #define CWG1STRB CWG1OCON0bits.CWG1STRB // bit 1, shadows bit in CWG1OCON0bits
15190 #define STRC CWG1OCON0bits.STRC // bit 2, shadows bit in CWG1OCON0bits
15191 #define CWG1STRC CWG1OCON0bits.CWG1STRC // bit 2, shadows bit in CWG1OCON0bits
15192 #define STRD CWG1OCON0bits.STRD // bit 3, shadows bit in CWG1OCON0bits
15193 #define CWG1STRD CWG1OCON0bits.CWG1STRD // bit 3, shadows bit in CWG1OCON0bits
15194 #define OVRA CWG1OCON0bits.OVRA // bit 4, shadows bit in CWG1OCON0bits
15195 #define CWG1OVRA CWG1OCON0bits.CWG1OVRA // bit 4, shadows bit in CWG1OCON0bits
15196 #define OVRB CWG1OCON0bits.OVRB // bit 5, shadows bit in CWG1OCON0bits
15197 #define CWG1OVRB CWG1OCON0bits.CWG1OVRB // bit 5, shadows bit in CWG1OCON0bits
15198 #define OVRC CWG1OCON0bits.OVRC // bit 6, shadows bit in CWG1OCON0bits
15199 #define CWG1OVRC CWG1OCON0bits.CWG1OVRC // bit 6, shadows bit in CWG1OCON0bits
15200 #define OVRD CWG1OCON0bits.OVRD // bit 7, shadows bit in CWG1OCON0bits
15201 #define CWG1OVRD CWG1OCON0bits.CWG1OVRD // bit 7, shadows bit in CWG1OCON0bits
15203 #define CWGINPPS0 CWGINPPSbits.CWGINPPS0 // bit 0
15204 #define CWGINPPS1 CWGINPPSbits.CWGINPPS1 // bit 1
15205 #define CWGINPPS2 CWGINPPSbits.CWGINPPS2 // bit 2
15206 #define CWGINPPS3 CWGINPPSbits.CWGINPPS3 // bit 3
15207 #define CWGINPPS4 CWGINPPSbits.CWGINPPS4 // bit 4
15209 #define D1PSS0 DAC1CON0bits.D1PSS0 // bit 2
15210 #define D1PSS1 DAC1CON0bits.D1PSS1 // bit 3
15211 #define DAC1OE DAC1CON0bits.DAC1OE // bit 5
15212 #define DAC1EN DAC1CON0bits.DAC1EN // bit 7
15214 #define DAC1R0 DAC1CON1bits.DAC1R0 // bit 0
15215 #define DAC1R1 DAC1CON1bits.DAC1R1 // bit 1
15216 #define DAC1R2 DAC1CON1bits.DAC1R2 // bit 2
15217 #define DAC1R3 DAC1CON1bits.DAC1R3 // bit 3
15218 #define DAC1R4 DAC1CON1bits.DAC1R4 // bit 4
15219 #define DAC1R5 DAC1CON1bits.DAC1R5 // bit 5
15220 #define DAC1R6 DAC1CON1bits.DAC1R6 // bit 6
15221 #define DAC1R7 DAC1CON1bits.DAC1R7 // bit 7
15223 #define ADFVR0 FVRCONbits.ADFVR0 // bit 0
15224 #define ADFVR1 FVRCONbits.ADFVR1 // bit 1
15225 #define CDAFVR0 FVRCONbits.CDAFVR0 // bit 2
15226 #define CDAFVR1 FVRCONbits.CDAFVR1 // bit 3
15227 #define TSRNG FVRCONbits.TSRNG // bit 4
15228 #define TSEN FVRCONbits.TSEN // bit 5
15229 #define FVRRDY FVRCONbits.FVRRDY // bit 6
15230 #define FVREN FVRCONbits.FVREN // bit 7
15232 #define HIDC4 HIDRVCbits.HIDC4 // bit 4
15233 #define HIDC5 HIDRVCbits.HIDC5 // bit 5
15235 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
15236 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
15237 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
15238 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
15239 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
15240 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
15242 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
15243 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
15244 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
15245 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
15246 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
15247 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
15249 #define IOCIF INTCONbits.IOCIF // bit 0
15250 #define INTF INTCONbits.INTF // bit 1
15251 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
15252 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
15253 #define IOCIE INTCONbits.IOCIE // bit 3
15254 #define INTE INTCONbits.INTE // bit 4
15255 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
15256 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
15257 #define PEIE INTCONbits.PEIE // bit 6
15258 #define GIE INTCONbits.GIE // bit 7
15260 #define INTPPS0 INTPPSbits.INTPPS0 // bit 0
15261 #define INTPPS1 INTPPSbits.INTPPS1 // bit 1
15262 #define INTPPS2 INTPPSbits.INTPPS2 // bit 2
15263 #define INTPPS3 INTPPSbits.INTPPS3 // bit 3
15264 #define INTPPS4 INTPPSbits.INTPPS4 // bit 4
15266 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
15267 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
15268 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
15269 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
15270 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
15271 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
15273 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
15274 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
15275 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
15276 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
15277 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
15278 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
15280 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
15281 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
15282 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
15283 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
15284 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
15285 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
15287 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
15288 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
15289 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
15290 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
15291 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
15292 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
15294 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
15295 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
15296 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
15297 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
15298 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
15299 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
15301 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
15302 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
15303 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
15304 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
15305 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
15306 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
15308 #define LATA0 LATAbits.LATA0 // bit 0
15309 #define LATA1 LATAbits.LATA1 // bit 1
15310 #define LATA2 LATAbits.LATA2 // bit 2
15311 #define LATA3 LATAbits.LATA3 // bit 3
15312 #define LATA4 LATAbits.LATA4 // bit 4
15313 #define LATA5 LATAbits.LATA5 // bit 5
15315 #define LATC0 LATCbits.LATC0 // bit 0
15316 #define LATC1 LATCbits.LATC1 // bit 1
15317 #define LATC2 LATCbits.LATC2 // bit 2
15318 #define LATC3 LATCbits.LATC3 // bit 3
15319 #define LATC4 LATCbits.LATC4 // bit 4
15320 #define LATC5 LATCbits.LATC5 // bit 5
15322 #define ODA0 ODCONAbits.ODA0 // bit 0
15323 #define ODA1 ODCONAbits.ODA1 // bit 1
15324 #define ODA2 ODCONAbits.ODA2 // bit 2
15325 #define ODA4 ODCONAbits.ODA4 // bit 4
15326 #define ODA5 ODCONAbits.ODA5 // bit 5
15328 #define ODC0 ODCONCbits.ODC0 // bit 0
15329 #define ODC1 ODCONCbits.ODC1 // bit 1
15330 #define ODC2 ODCONCbits.ODC2 // bit 2
15331 #define ODC3 ODCONCbits.ODC3 // bit 3
15332 #define ODC4 ODCONCbits.ODC4 // bit 4
15333 #define ODC5 ODCONCbits.ODC5 // bit 5
15335 #define SCS0 OSCCONbits.SCS0 // bit 0
15336 #define SCS1 OSCCONbits.SCS1 // bit 1
15337 #define IRCF0 OSCCONbits.IRCF0 // bit 3
15338 #define IRCF1 OSCCONbits.IRCF1 // bit 4
15339 #define IRCF2 OSCCONbits.IRCF2 // bit 5
15340 #define IRCF3 OSCCONbits.IRCF3 // bit 6
15341 #define SPLLEN OSCCONbits.SPLLEN // bit 7
15343 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
15344 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
15345 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
15346 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
15347 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
15348 #define PLLR OSCSTATbits.PLLR // bit 6
15350 #define TUN0 OSCTUNEbits.TUN0 // bit 0
15351 #define TUN1 OSCTUNEbits.TUN1 // bit 1
15352 #define TUN2 OSCTUNEbits.TUN2 // bit 2
15353 #define TUN3 OSCTUNEbits.TUN3 // bit 3
15354 #define TUN4 OSCTUNEbits.TUN4 // bit 4
15355 #define TUN5 OSCTUNEbits.TUN5 // bit 5
15357 #define NOT_BOR PCONbits.NOT_BOR // bit 0
15358 #define NOT_POR PCONbits.NOT_POR // bit 1
15359 #define NOT_RI PCONbits.NOT_RI // bit 2
15360 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
15361 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
15362 #define NOT_WDTWV PCONbits.NOT_WDTWV // bit 5
15363 #define STKUNF PCONbits.STKUNF // bit 6
15364 #define STKOVF PCONbits.STKOVF // bit 7
15366 #define PID1ACC24 PID1ACCHHbits.PID1ACC24 // bit 0, shadows bit in PID1ACCHHbits
15367 #define ACC24 PID1ACCHHbits.ACC24 // bit 0, shadows bit in PID1ACCHHbits
15368 #define PID1ACC25 PID1ACCHHbits.PID1ACC25 // bit 1, shadows bit in PID1ACCHHbits
15369 #define ACC25 PID1ACCHHbits.ACC25 // bit 1, shadows bit in PID1ACCHHbits
15370 #define PID1ACC26 PID1ACCHHbits.PID1ACC26 // bit 2, shadows bit in PID1ACCHHbits
15371 #define ACC26 PID1ACCHHbits.ACC26 // bit 2, shadows bit in PID1ACCHHbits
15372 #define PID1ACC27 PID1ACCHHbits.PID1ACC27 // bit 3, shadows bit in PID1ACCHHbits
15373 #define ACC27 PID1ACCHHbits.ACC27 // bit 3, shadows bit in PID1ACCHHbits
15374 #define PID1ACC28 PID1ACCHHbits.PID1ACC28 // bit 4, shadows bit in PID1ACCHHbits
15375 #define ACC28 PID1ACCHHbits.ACC28 // bit 4, shadows bit in PID1ACCHHbits
15376 #define PID1ACC29 PID1ACCHHbits.PID1ACC29 // bit 5, shadows bit in PID1ACCHHbits
15377 #define ACC29 PID1ACCHHbits.ACC29 // bit 5, shadows bit in PID1ACCHHbits
15378 #define PID1ACC30 PID1ACCHHbits.PID1ACC30 // bit 6, shadows bit in PID1ACCHHbits
15379 #define ACC30 PID1ACCHHbits.ACC30 // bit 6, shadows bit in PID1ACCHHbits
15380 #define PID1ACC31 PID1ACCHHbits.PID1ACC31 // bit 7, shadows bit in PID1ACCHHbits
15381 #define ACC31 PID1ACCHHbits.ACC31 // bit 7, shadows bit in PID1ACCHHbits
15383 #define PID1ACC16 PID1ACCHLbits.PID1ACC16 // bit 0, shadows bit in PID1ACCHLbits
15384 #define ACC16 PID1ACCHLbits.ACC16 // bit 0, shadows bit in PID1ACCHLbits
15385 #define PID1ACC17 PID1ACCHLbits.PID1ACC17 // bit 1, shadows bit in PID1ACCHLbits
15386 #define ACC17 PID1ACCHLbits.ACC17 // bit 1, shadows bit in PID1ACCHLbits
15387 #define PID1ACC18 PID1ACCHLbits.PID1ACC18 // bit 2, shadows bit in PID1ACCHLbits
15388 #define ACC18 PID1ACCHLbits.ACC18 // bit 2, shadows bit in PID1ACCHLbits
15389 #define PID1ACC19 PID1ACCHLbits.PID1ACC19 // bit 3, shadows bit in PID1ACCHLbits
15390 #define ACC19 PID1ACCHLbits.ACC19 // bit 3, shadows bit in PID1ACCHLbits
15391 #define PID1ACC20 PID1ACCHLbits.PID1ACC20 // bit 4, shadows bit in PID1ACCHLbits
15392 #define ACC20 PID1ACCHLbits.ACC20 // bit 4, shadows bit in PID1ACCHLbits
15393 #define PID1ACC21 PID1ACCHLbits.PID1ACC21 // bit 5, shadows bit in PID1ACCHLbits
15394 #define ACC21 PID1ACCHLbits.ACC21 // bit 5, shadows bit in PID1ACCHLbits
15395 #define PID1ACC22 PID1ACCHLbits.PID1ACC22 // bit 6, shadows bit in PID1ACCHLbits
15396 #define ACC22 PID1ACCHLbits.ACC22 // bit 6, shadows bit in PID1ACCHLbits
15397 #define PID1ACC23 PID1ACCHLbits.PID1ACC23 // bit 7, shadows bit in PID1ACCHLbits
15398 #define ACC23 PID1ACCHLbits.ACC23 // bit 7, shadows bit in PID1ACCHLbits
15400 #define PID1ACC32 PID1ACCUbits.PID1ACC32 // bit 0, shadows bit in PID1ACCUbits
15401 #define ACC32 PID1ACCUbits.ACC32 // bit 0, shadows bit in PID1ACCUbits
15402 #define PID1ACC33 PID1ACCUbits.PID1ACC33 // bit 1, shadows bit in PID1ACCUbits
15403 #define ACC33 PID1ACCUbits.ACC33 // bit 1, shadows bit in PID1ACCUbits
15404 #define PID1ACC34 PID1ACCUbits.PID1ACC34 // bit 2, shadows bit in PID1ACCUbits
15405 #define ACC34 PID1ACCUbits.ACC34 // bit 2, shadows bit in PID1ACCUbits
15407 #define PID1IN8 PID1INHbits.PID1IN8 // bit 0, shadows bit in PID1INHbits
15408 #define IN8 PID1INHbits.IN8 // bit 0, shadows bit in PID1INHbits
15409 #define PID1IN9 PID1INHbits.PID1IN9 // bit 1, shadows bit in PID1INHbits
15410 #define IN9 PID1INHbits.IN9 // bit 1, shadows bit in PID1INHbits
15411 #define PID1IN10 PID1INHbits.PID1IN10 // bit 2, shadows bit in PID1INHbits
15412 #define IN10 PID1INHbits.IN10 // bit 2, shadows bit in PID1INHbits
15413 #define PID1IN11 PID1INHbits.PID1IN11 // bit 3, shadows bit in PID1INHbits
15414 #define IN11 PID1INHbits.IN11 // bit 3, shadows bit in PID1INHbits
15415 #define PID1IN12 PID1INHbits.PID1IN12 // bit 4, shadows bit in PID1INHbits
15416 #define IN12 PID1INHbits.IN12 // bit 4, shadows bit in PID1INHbits
15417 #define PID1IN13 PID1INHbits.PID1IN13 // bit 5, shadows bit in PID1INHbits
15418 #define IN13 PID1INHbits.IN13 // bit 5, shadows bit in PID1INHbits
15419 #define PID1IN14 PID1INHbits.PID1IN14 // bit 6, shadows bit in PID1INHbits
15420 #define IN14 PID1INHbits.IN14 // bit 6, shadows bit in PID1INHbits
15421 #define PID1IN15 PID1INHbits.PID1IN15 // bit 7, shadows bit in PID1INHbits
15422 #define IN15 PID1INHbits.IN15 // bit 7, shadows bit in PID1INHbits
15424 #define PID1IN0 PID1INLbits.PID1IN0 // bit 0, shadows bit in PID1INLbits
15425 #define IN0 PID1INLbits.IN0 // bit 0, shadows bit in PID1INLbits
15426 #define PID1IN1 PID1INLbits.PID1IN1 // bit 1, shadows bit in PID1INLbits
15427 #define IN1 PID1INLbits.IN1 // bit 1, shadows bit in PID1INLbits
15428 #define PID1IN2 PID1INLbits.PID1IN2 // bit 2, shadows bit in PID1INLbits
15429 #define IN2 PID1INLbits.IN2 // bit 2, shadows bit in PID1INLbits
15430 #define PID1IN3 PID1INLbits.PID1IN3 // bit 3, shadows bit in PID1INLbits
15431 #define IN3 PID1INLbits.IN3 // bit 3, shadows bit in PID1INLbits
15432 #define PID1IN4 PID1INLbits.PID1IN4 // bit 4, shadows bit in PID1INLbits
15433 #define IN4 PID1INLbits.IN4 // bit 4, shadows bit in PID1INLbits
15434 #define PID1IN5 PID1INLbits.PID1IN5 // bit 5, shadows bit in PID1INLbits
15435 #define IN5 PID1INLbits.IN5 // bit 5, shadows bit in PID1INLbits
15436 #define PID1IN6 PID1INLbits.PID1IN6 // bit 6, shadows bit in PID1INLbits
15437 #define IN6 PID1INLbits.IN6 // bit 6, shadows bit in PID1INLbits
15438 #define PID1IN7 PID1INLbits.PID1IN7 // bit 7, shadows bit in PID1INLbits
15439 #define IN7 PID1INLbits.IN7 // bit 7, shadows bit in PID1INLbits
15441 #define PID1K18 PID1K1Hbits.PID1K18 // bit 0, shadows bit in PID1K1Hbits
15442 #define K18 PID1K1Hbits.K18 // bit 0, shadows bit in PID1K1Hbits
15443 #define PID1K19 PID1K1Hbits.PID1K19 // bit 1, shadows bit in PID1K1Hbits
15444 #define K19 PID1K1Hbits.K19 // bit 1, shadows bit in PID1K1Hbits
15445 #define PID1K110 PID1K1Hbits.PID1K110 // bit 2, shadows bit in PID1K1Hbits
15446 #define K110 PID1K1Hbits.K110 // bit 2, shadows bit in PID1K1Hbits
15447 #define PID1K111 PID1K1Hbits.PID1K111 // bit 3, shadows bit in PID1K1Hbits
15448 #define K111 PID1K1Hbits.K111 // bit 3, shadows bit in PID1K1Hbits
15449 #define PID1K112 PID1K1Hbits.PID1K112 // bit 4, shadows bit in PID1K1Hbits
15450 #define K112 PID1K1Hbits.K112 // bit 4, shadows bit in PID1K1Hbits
15451 #define PID1K113 PID1K1Hbits.PID1K113 // bit 5, shadows bit in PID1K1Hbits
15452 #define K113 PID1K1Hbits.K113 // bit 5, shadows bit in PID1K1Hbits
15453 #define PID1K114 PID1K1Hbits.PID1K114 // bit 6, shadows bit in PID1K1Hbits
15454 #define K114 PID1K1Hbits.K114 // bit 6, shadows bit in PID1K1Hbits
15455 #define PID1K115 PID1K1Hbits.PID1K115 // bit 7, shadows bit in PID1K1Hbits
15456 #define K115 PID1K1Hbits.K115 // bit 7, shadows bit in PID1K1Hbits
15458 #define PID1K10 PID1K1Lbits.PID1K10 // bit 0, shadows bit in PID1K1Lbits
15459 #define K10 PID1K1Lbits.K10 // bit 0, shadows bit in PID1K1Lbits
15460 #define PID1K11 PID1K1Lbits.PID1K11 // bit 1, shadows bit in PID1K1Lbits
15461 #define K11 PID1K1Lbits.K11 // bit 1, shadows bit in PID1K1Lbits
15462 #define PID1K12 PID1K1Lbits.PID1K12 // bit 2, shadows bit in PID1K1Lbits
15463 #define K12 PID1K1Lbits.K12 // bit 2, shadows bit in PID1K1Lbits
15464 #define PID1K13 PID1K1Lbits.PID1K13 // bit 3, shadows bit in PID1K1Lbits
15465 #define K13 PID1K1Lbits.K13 // bit 3, shadows bit in PID1K1Lbits
15466 #define PID1K14 PID1K1Lbits.PID1K14 // bit 4, shadows bit in PID1K1Lbits
15467 #define K14 PID1K1Lbits.K14 // bit 4, shadows bit in PID1K1Lbits
15468 #define PID1K15 PID1K1Lbits.PID1K15 // bit 5, shadows bit in PID1K1Lbits
15469 #define K15 PID1K1Lbits.K15 // bit 5, shadows bit in PID1K1Lbits
15470 #define PID1K16 PID1K1Lbits.PID1K16 // bit 6, shadows bit in PID1K1Lbits
15471 #define K16 PID1K1Lbits.K16 // bit 6, shadows bit in PID1K1Lbits
15472 #define PID1K17 PID1K1Lbits.PID1K17 // bit 7, shadows bit in PID1K1Lbits
15473 #define K17 PID1K1Lbits.K17 // bit 7, shadows bit in PID1K1Lbits
15475 #define PID1K28 PID1K2Hbits.PID1K28 // bit 0, shadows bit in PID1K2Hbits
15476 #define K28 PID1K2Hbits.K28 // bit 0, shadows bit in PID1K2Hbits
15477 #define PID1K29 PID1K2Hbits.PID1K29 // bit 1, shadows bit in PID1K2Hbits
15478 #define K29 PID1K2Hbits.K29 // bit 1, shadows bit in PID1K2Hbits
15479 #define PID1K210 PID1K2Hbits.PID1K210 // bit 2, shadows bit in PID1K2Hbits
15480 #define K210 PID1K2Hbits.K210 // bit 2, shadows bit in PID1K2Hbits
15481 #define PID1K211 PID1K2Hbits.PID1K211 // bit 3, shadows bit in PID1K2Hbits
15482 #define K211 PID1K2Hbits.K211 // bit 3, shadows bit in PID1K2Hbits
15483 #define PID1K212 PID1K2Hbits.PID1K212 // bit 4, shadows bit in PID1K2Hbits
15484 #define K212 PID1K2Hbits.K212 // bit 4, shadows bit in PID1K2Hbits
15485 #define PID1K213 PID1K2Hbits.PID1K213 // bit 5, shadows bit in PID1K2Hbits
15486 #define K213 PID1K2Hbits.K213 // bit 5, shadows bit in PID1K2Hbits
15487 #define PID1K214 PID1K2Hbits.PID1K214 // bit 6, shadows bit in PID1K2Hbits
15488 #define K214 PID1K2Hbits.K214 // bit 6, shadows bit in PID1K2Hbits
15489 #define PID1K215 PID1K2Hbits.PID1K215 // bit 7, shadows bit in PID1K2Hbits
15490 #define K215 PID1K2Hbits.K215 // bit 7, shadows bit in PID1K2Hbits
15492 #define PID1K20 PID1K2Lbits.PID1K20 // bit 0, shadows bit in PID1K2Lbits
15493 #define K20 PID1K2Lbits.K20 // bit 0, shadows bit in PID1K2Lbits
15494 #define PID1K21 PID1K2Lbits.PID1K21 // bit 1, shadows bit in PID1K2Lbits
15495 #define K21 PID1K2Lbits.K21 // bit 1, shadows bit in PID1K2Lbits
15496 #define PID1K22 PID1K2Lbits.PID1K22 // bit 2, shadows bit in PID1K2Lbits
15497 #define K22 PID1K2Lbits.K22 // bit 2, shadows bit in PID1K2Lbits
15498 #define PID1K23 PID1K2Lbits.PID1K23 // bit 3, shadows bit in PID1K2Lbits
15499 #define K23 PID1K2Lbits.K23 // bit 3, shadows bit in PID1K2Lbits
15500 #define PID1K24 PID1K2Lbits.PID1K24 // bit 4, shadows bit in PID1K2Lbits
15501 #define K24 PID1K2Lbits.K24 // bit 4, shadows bit in PID1K2Lbits
15502 #define PID1K25 PID1K2Lbits.PID1K25 // bit 5, shadows bit in PID1K2Lbits
15503 #define K25 PID1K2Lbits.K25 // bit 5, shadows bit in PID1K2Lbits
15504 #define PID1K26 PID1K2Lbits.PID1K26 // bit 6, shadows bit in PID1K2Lbits
15505 #define K26 PID1K2Lbits.K26 // bit 6, shadows bit in PID1K2Lbits
15506 #define PID1K27 PID1K2Lbits.PID1K27 // bit 7, shadows bit in PID1K2Lbits
15507 #define K27 PID1K2Lbits.K27 // bit 7, shadows bit in PID1K2Lbits
15509 #define PID1K38 PID1K3Hbits.PID1K38 // bit 0, shadows bit in PID1K3Hbits
15510 #define K38 PID1K3Hbits.K38 // bit 0, shadows bit in PID1K3Hbits
15511 #define PID1K39 PID1K3Hbits.PID1K39 // bit 1, shadows bit in PID1K3Hbits
15512 #define K39 PID1K3Hbits.K39 // bit 1, shadows bit in PID1K3Hbits
15513 #define PID1K310 PID1K3Hbits.PID1K310 // bit 2, shadows bit in PID1K3Hbits
15514 #define K310 PID1K3Hbits.K310 // bit 2, shadows bit in PID1K3Hbits
15515 #define PID1K311 PID1K3Hbits.PID1K311 // bit 3, shadows bit in PID1K3Hbits
15516 #define K311 PID1K3Hbits.K311 // bit 3, shadows bit in PID1K3Hbits
15517 #define PID1K312 PID1K3Hbits.PID1K312 // bit 4, shadows bit in PID1K3Hbits
15518 #define K312 PID1K3Hbits.K312 // bit 4, shadows bit in PID1K3Hbits
15519 #define PID1K313 PID1K3Hbits.PID1K313 // bit 5, shadows bit in PID1K3Hbits
15520 #define K313 PID1K3Hbits.K313 // bit 5, shadows bit in PID1K3Hbits
15521 #define PID1K314 PID1K3Hbits.PID1K314 // bit 6, shadows bit in PID1K3Hbits
15522 #define K314 PID1K3Hbits.K314 // bit 6, shadows bit in PID1K3Hbits
15523 #define PID1K315 PID1K3Hbits.PID1K315 // bit 7, shadows bit in PID1K3Hbits
15524 #define K315 PID1K3Hbits.K315 // bit 7, shadows bit in PID1K3Hbits
15526 #define PID1K30 PID1K3Lbits.PID1K30 // bit 0, shadows bit in PID1K3Lbits
15527 #define K30 PID1K3Lbits.K30 // bit 0, shadows bit in PID1K3Lbits
15528 #define PID1K31 PID1K3Lbits.PID1K31 // bit 1, shadows bit in PID1K3Lbits
15529 #define K31 PID1K3Lbits.K31 // bit 1, shadows bit in PID1K3Lbits
15530 #define PID1K32 PID1K3Lbits.PID1K32 // bit 2, shadows bit in PID1K3Lbits
15531 #define K32 PID1K3Lbits.K32 // bit 2, shadows bit in PID1K3Lbits
15532 #define PID1K33 PID1K3Lbits.PID1K33 // bit 3, shadows bit in PID1K3Lbits
15533 #define K33 PID1K3Lbits.K33 // bit 3, shadows bit in PID1K3Lbits
15534 #define PID1K34 PID1K3Lbits.PID1K34 // bit 4, shadows bit in PID1K3Lbits
15535 #define K34 PID1K3Lbits.K34 // bit 4, shadows bit in PID1K3Lbits
15536 #define PID1K35 PID1K3Lbits.PID1K35 // bit 5, shadows bit in PID1K3Lbits
15537 #define K35 PID1K3Lbits.K35 // bit 5, shadows bit in PID1K3Lbits
15538 #define PID1K36 PID1K3Lbits.PID1K36 // bit 6, shadows bit in PID1K3Lbits
15539 #define K36 PID1K3Lbits.K36 // bit 6, shadows bit in PID1K3Lbits
15540 #define PID1K37 PID1K3Lbits.PID1K37 // bit 7, shadows bit in PID1K3Lbits
15541 #define K37 PID1K3Lbits.K37 // bit 7, shadows bit in PID1K3Lbits
15543 #define PID1OUT24 PID1OUTHHbits.PID1OUT24 // bit 0, shadows bit in PID1OUTHHbits
15544 #define OUT24 PID1OUTHHbits.OUT24 // bit 0, shadows bit in PID1OUTHHbits
15545 #define PID1OUT25 PID1OUTHHbits.PID1OUT25 // bit 1, shadows bit in PID1OUTHHbits
15546 #define OUT25 PID1OUTHHbits.OUT25 // bit 1, shadows bit in PID1OUTHHbits
15547 #define PID1OUT26 PID1OUTHHbits.PID1OUT26 // bit 2, shadows bit in PID1OUTHHbits
15548 #define OUT26 PID1OUTHHbits.OUT26 // bit 2, shadows bit in PID1OUTHHbits
15549 #define PID1OUT27 PID1OUTHHbits.PID1OUT27 // bit 3, shadows bit in PID1OUTHHbits
15550 #define OUT27 PID1OUTHHbits.OUT27 // bit 3, shadows bit in PID1OUTHHbits
15551 #define PID1OUT28 PID1OUTHHbits.PID1OUT28 // bit 4, shadows bit in PID1OUTHHbits
15552 #define OUT28 PID1OUTHHbits.OUT28 // bit 4, shadows bit in PID1OUTHHbits
15553 #define PID1OUT29 PID1OUTHHbits.PID1OUT29 // bit 5, shadows bit in PID1OUTHHbits
15554 #define OUT29 PID1OUTHHbits.OUT29 // bit 5, shadows bit in PID1OUTHHbits
15555 #define PID1OUT30 PID1OUTHHbits.PID1OUT30 // bit 6, shadows bit in PID1OUTHHbits
15556 #define OUT30 PID1OUTHHbits.OUT30 // bit 6, shadows bit in PID1OUTHHbits
15557 #define PID1OUT31 PID1OUTHHbits.PID1OUT31 // bit 7, shadows bit in PID1OUTHHbits
15558 #define OUT31 PID1OUTHHbits.OUT31 // bit 7, shadows bit in PID1OUTHHbits
15560 #define PID1OUT16 PID1OUTHLbits.PID1OUT16 // bit 0, shadows bit in PID1OUTHLbits
15561 #define OUT16 PID1OUTHLbits.OUT16 // bit 0, shadows bit in PID1OUTHLbits
15562 #define PID1OUT17 PID1OUTHLbits.PID1OUT17 // bit 1, shadows bit in PID1OUTHLbits
15563 #define OUT17 PID1OUTHLbits.OUT17 // bit 1, shadows bit in PID1OUTHLbits
15564 #define PID1OUT18 PID1OUTHLbits.PID1OUT18 // bit 2, shadows bit in PID1OUTHLbits
15565 #define OUT18 PID1OUTHLbits.OUT18 // bit 2, shadows bit in PID1OUTHLbits
15566 #define PID1OUT19 PID1OUTHLbits.PID1OUT19 // bit 3, shadows bit in PID1OUTHLbits
15567 #define OUT19 PID1OUTHLbits.OUT19 // bit 3, shadows bit in PID1OUTHLbits
15568 #define PID1OUT20 PID1OUTHLbits.PID1OUT20 // bit 4, shadows bit in PID1OUTHLbits
15569 #define OUT20 PID1OUTHLbits.OUT20 // bit 4, shadows bit in PID1OUTHLbits
15570 #define PID1OUT21 PID1OUTHLbits.PID1OUT21 // bit 5, shadows bit in PID1OUTHLbits
15571 #define OUT21 PID1OUTHLbits.OUT21 // bit 5, shadows bit in PID1OUTHLbits
15572 #define PID1OUT22 PID1OUTHLbits.PID1OUT22 // bit 6, shadows bit in PID1OUTHLbits
15573 #define OUT22 PID1OUTHLbits.OUT22 // bit 6, shadows bit in PID1OUTHLbits
15574 #define PID1OUT23 PID1OUTHLbits.PID1OUT23 // bit 7, shadows bit in PID1OUTHLbits
15575 #define OUT23 PID1OUTHLbits.OUT23 // bit 7, shadows bit in PID1OUTHLbits
15577 #define PID1OUT8 PID1OUTLHbits.PID1OUT8 // bit 0, shadows bit in PID1OUTLHbits
15578 #define OUT8 PID1OUTLHbits.OUT8 // bit 0, shadows bit in PID1OUTLHbits
15579 #define PID1OUT9 PID1OUTLHbits.PID1OUT9 // bit 1, shadows bit in PID1OUTLHbits
15580 #define OUT9 PID1OUTLHbits.OUT9 // bit 1, shadows bit in PID1OUTLHbits
15581 #define PID1OUT10 PID1OUTLHbits.PID1OUT10 // bit 2, shadows bit in PID1OUTLHbits
15582 #define OUT10 PID1OUTLHbits.OUT10 // bit 2, shadows bit in PID1OUTLHbits
15583 #define PID1OUT11 PID1OUTLHbits.PID1OUT11 // bit 3, shadows bit in PID1OUTLHbits
15584 #define OUT11 PID1OUTLHbits.OUT11 // bit 3, shadows bit in PID1OUTLHbits
15585 #define PID1OUT12 PID1OUTLHbits.PID1OUT12 // bit 4, shadows bit in PID1OUTLHbits
15586 #define OUT12 PID1OUTLHbits.OUT12 // bit 4, shadows bit in PID1OUTLHbits
15587 #define PID1OUT13 PID1OUTLHbits.PID1OUT13 // bit 5, shadows bit in PID1OUTLHbits
15588 #define OUT13 PID1OUTLHbits.OUT13 // bit 5, shadows bit in PID1OUTLHbits
15589 #define PID1OUT14 PID1OUTLHbits.PID1OUT14 // bit 6, shadows bit in PID1OUTLHbits
15590 #define OUT14 PID1OUTLHbits.OUT14 // bit 6, shadows bit in PID1OUTLHbits
15591 #define PID1OUT15 PID1OUTLHbits.PID1OUT15 // bit 7, shadows bit in PID1OUTLHbits
15592 #define OUT15 PID1OUTLHbits.OUT15 // bit 7, shadows bit in PID1OUTLHbits
15594 #define PID1OUT0 PID1OUTLLbits.PID1OUT0 // bit 0, shadows bit in PID1OUTLLbits
15595 #define OUT0 PID1OUTLLbits.OUT0 // bit 0, shadows bit in PID1OUTLLbits
15596 #define PID1OUT1 PID1OUTLLbits.PID1OUT1 // bit 1, shadows bit in PID1OUTLLbits
15597 #define OUT1 PID1OUTLLbits.OUT1 // bit 1, shadows bit in PID1OUTLLbits
15598 #define PID1OUT2 PID1OUTLLbits.PID1OUT2 // bit 2, shadows bit in PID1OUTLLbits
15599 #define OUT2 PID1OUTLLbits.OUT2 // bit 2, shadows bit in PID1OUTLLbits
15600 #define PID1OUT3 PID1OUTLLbits.PID1OUT3 // bit 3, shadows bit in PID1OUTLLbits
15601 #define OUT3 PID1OUTLLbits.OUT3 // bit 3, shadows bit in PID1OUTLLbits
15602 #define PID1OUT4 PID1OUTLLbits.PID1OUT4 // bit 4, shadows bit in PID1OUTLLbits
15603 #define OUT4 PID1OUTLLbits.OUT4 // bit 4, shadows bit in PID1OUTLLbits
15604 #define PID1OUT5 PID1OUTLLbits.PID1OUT5 // bit 5, shadows bit in PID1OUTLLbits
15605 #define OUT5 PID1OUTLLbits.OUT5 // bit 5, shadows bit in PID1OUTLLbits
15606 #define PID1OUT6 PID1OUTLLbits.PID1OUT6 // bit 6, shadows bit in PID1OUTLLbits
15607 #define OUT6 PID1OUTLLbits.OUT6 // bit 6, shadows bit in PID1OUTLLbits
15608 #define PID1OUT7 PID1OUTLLbits.PID1OUT7 // bit 7, shadows bit in PID1OUTLLbits
15609 #define OUT7 PID1OUTLLbits.OUT7 // bit 7, shadows bit in PID1OUTLLbits
15611 #define PID1OUT32 PID1OUTUbits.PID1OUT32 // bit 0, shadows bit in PID1OUTUbits
15612 #define OUT32 PID1OUTUbits.OUT32 // bit 0, shadows bit in PID1OUTUbits
15613 #define PID1OUT33 PID1OUTUbits.PID1OUT33 // bit 1, shadows bit in PID1OUTUbits
15614 #define OUT33 PID1OUTUbits.OUT33 // bit 1, shadows bit in PID1OUTUbits
15615 #define PID1OUT34 PID1OUTUbits.PID1OUT34 // bit 2, shadows bit in PID1OUTUbits
15616 #define OUT34 PID1OUTUbits.OUT34 // bit 2, shadows bit in PID1OUTUbits
15617 #define PID1OUT35 PID1OUTUbits.PID1OUT35 // bit 3, shadows bit in PID1OUTUbits
15618 #define OUT35 PID1OUTUbits.OUT35 // bit 3, shadows bit in PID1OUTUbits
15620 #define PID1SET8 PID1SETHbits.PID1SET8 // bit 0, shadows bit in PID1SETHbits
15621 #define SET8 PID1SETHbits.SET8 // bit 0, shadows bit in PID1SETHbits
15622 #define PID1SET9 PID1SETHbits.PID1SET9 // bit 1, shadows bit in PID1SETHbits
15623 #define SET9 PID1SETHbits.SET9 // bit 1, shadows bit in PID1SETHbits
15624 #define PID1SET10 PID1SETHbits.PID1SET10 // bit 2, shadows bit in PID1SETHbits
15625 #define SET10 PID1SETHbits.SET10 // bit 2, shadows bit in PID1SETHbits
15626 #define PID1SET11 PID1SETHbits.PID1SET11 // bit 3, shadows bit in PID1SETHbits
15627 #define SET11 PID1SETHbits.SET11 // bit 3, shadows bit in PID1SETHbits
15628 #define PID1SET12 PID1SETHbits.PID1SET12 // bit 4, shadows bit in PID1SETHbits
15629 #define SET12 PID1SETHbits.SET12 // bit 4, shadows bit in PID1SETHbits
15630 #define PID1SET13 PID1SETHbits.PID1SET13 // bit 5, shadows bit in PID1SETHbits
15631 #define SET13 PID1SETHbits.SET13 // bit 5, shadows bit in PID1SETHbits
15632 #define PID1SET14 PID1SETHbits.PID1SET14 // bit 6, shadows bit in PID1SETHbits
15633 #define SET14 PID1SETHbits.SET14 // bit 6, shadows bit in PID1SETHbits
15634 #define PID1SET15 PID1SETHbits.PID1SET15 // bit 7, shadows bit in PID1SETHbits
15635 #define SET15 PID1SETHbits.SET15 // bit 7, shadows bit in PID1SETHbits
15637 #define PID1SET0 PID1SETLbits.PID1SET0 // bit 0, shadows bit in PID1SETLbits
15638 #define SET0 PID1SETLbits.SET0 // bit 0, shadows bit in PID1SETLbits
15639 #define PID1SET1 PID1SETLbits.PID1SET1 // bit 1, shadows bit in PID1SETLbits
15640 #define SET1 PID1SETLbits.SET1 // bit 1, shadows bit in PID1SETLbits
15641 #define PID1SET2 PID1SETLbits.PID1SET2 // bit 2, shadows bit in PID1SETLbits
15642 #define SET2 PID1SETLbits.SET2 // bit 2, shadows bit in PID1SETLbits
15643 #define PID1SET3 PID1SETLbits.PID1SET3 // bit 3, shadows bit in PID1SETLbits
15644 #define SET3 PID1SETLbits.SET3 // bit 3, shadows bit in PID1SETLbits
15645 #define PID1SET4 PID1SETLbits.PID1SET4 // bit 4, shadows bit in PID1SETLbits
15646 #define SET4 PID1SETLbits.SET4 // bit 4, shadows bit in PID1SETLbits
15647 #define PID1SET5 PID1SETLbits.PID1SET5 // bit 5, shadows bit in PID1SETLbits
15648 #define SET5 PID1SETLbits.SET5 // bit 5, shadows bit in PID1SETLbits
15649 #define PID1SET6 PID1SETLbits.PID1SET6 // bit 6, shadows bit in PID1SETLbits
15650 #define SET6 PID1SETLbits.SET6 // bit 6, shadows bit in PID1SETLbits
15651 #define PID1SET7 PID1SETLbits.PID1SET7 // bit 7, shadows bit in PID1SETLbits
15652 #define SET7 PID1SETLbits.SET7 // bit 7, shadows bit in PID1SETLbits
15654 #define PID1Z18 PID1Z1Hbits.PID1Z18 // bit 0, shadows bit in PID1Z1Hbits
15655 #define Z18 PID1Z1Hbits.Z18 // bit 0, shadows bit in PID1Z1Hbits
15656 #define PID1Z19 PID1Z1Hbits.PID1Z19 // bit 1, shadows bit in PID1Z1Hbits
15657 #define Z19 PID1Z1Hbits.Z19 // bit 1, shadows bit in PID1Z1Hbits
15658 #define PID1Z110 PID1Z1Hbits.PID1Z110 // bit 2, shadows bit in PID1Z1Hbits
15659 #define Z110 PID1Z1Hbits.Z110 // bit 2, shadows bit in PID1Z1Hbits
15660 #define PID1Z111 PID1Z1Hbits.PID1Z111 // bit 3, shadows bit in PID1Z1Hbits
15661 #define Z111 PID1Z1Hbits.Z111 // bit 3, shadows bit in PID1Z1Hbits
15662 #define PID1Z112 PID1Z1Hbits.PID1Z112 // bit 4, shadows bit in PID1Z1Hbits
15663 #define Z112 PID1Z1Hbits.Z112 // bit 4, shadows bit in PID1Z1Hbits
15664 #define PID1Z113 PID1Z1Hbits.PID1Z113 // bit 5, shadows bit in PID1Z1Hbits
15665 #define Z113 PID1Z1Hbits.Z113 // bit 5, shadows bit in PID1Z1Hbits
15666 #define PID1Z114 PID1Z1Hbits.PID1Z114 // bit 6, shadows bit in PID1Z1Hbits
15667 #define Z114 PID1Z1Hbits.Z114 // bit 6, shadows bit in PID1Z1Hbits
15668 #define PID1Z115 PID1Z1Hbits.PID1Z115 // bit 7, shadows bit in PID1Z1Hbits
15669 #define Z115 PID1Z1Hbits.Z115 // bit 7, shadows bit in PID1Z1Hbits
15671 #define PID1Z10 PID1Z1Lbits.PID1Z10 // bit 0, shadows bit in PID1Z1Lbits
15672 #define Z10 PID1Z1Lbits.Z10 // bit 0, shadows bit in PID1Z1Lbits
15673 #define PID1Z11 PID1Z1Lbits.PID1Z11 // bit 1, shadows bit in PID1Z1Lbits
15674 #define Z11 PID1Z1Lbits.Z11 // bit 1, shadows bit in PID1Z1Lbits
15675 #define PID1Z12 PID1Z1Lbits.PID1Z12 // bit 2, shadows bit in PID1Z1Lbits
15676 #define Z12 PID1Z1Lbits.Z12 // bit 2, shadows bit in PID1Z1Lbits
15677 #define PID1Z13 PID1Z1Lbits.PID1Z13 // bit 3, shadows bit in PID1Z1Lbits
15678 #define Z13 PID1Z1Lbits.Z13 // bit 3, shadows bit in PID1Z1Lbits
15679 #define PID1Z14 PID1Z1Lbits.PID1Z14 // bit 4, shadows bit in PID1Z1Lbits
15680 #define Z14 PID1Z1Lbits.Z14 // bit 4, shadows bit in PID1Z1Lbits
15681 #define PID1Z15 PID1Z1Lbits.PID1Z15 // bit 5, shadows bit in PID1Z1Lbits
15682 #define Z15 PID1Z1Lbits.Z15 // bit 5, shadows bit in PID1Z1Lbits
15683 #define PID1Z16 PID1Z1Lbits.PID1Z16 // bit 6, shadows bit in PID1Z1Lbits
15684 #define Z16 PID1Z1Lbits.Z16 // bit 6, shadows bit in PID1Z1Lbits
15685 #define PID1Z17 PID1Z1Lbits.PID1Z17 // bit 7, shadows bit in PID1Z1Lbits
15686 #define Z17 PID1Z1Lbits.Z17 // bit 7, shadows bit in PID1Z1Lbits
15688 #define PID1Z116 PID1Z1Ubits.PID1Z116 // bit 0, shadows bit in PID1Z1Ubits
15689 #define Z116 PID1Z1Ubits.Z116 // bit 0, shadows bit in PID1Z1Ubits
15691 #define PID1Z28 PID1Z2Hbits.PID1Z28 // bit 0, shadows bit in PID1Z2Hbits
15692 #define Z28 PID1Z2Hbits.Z28 // bit 0, shadows bit in PID1Z2Hbits
15693 #define PID1Z29 PID1Z2Hbits.PID1Z29 // bit 1, shadows bit in PID1Z2Hbits
15694 #define Z29 PID1Z2Hbits.Z29 // bit 1, shadows bit in PID1Z2Hbits
15695 #define PID1Z210 PID1Z2Hbits.PID1Z210 // bit 2, shadows bit in PID1Z2Hbits
15696 #define Z210 PID1Z2Hbits.Z210 // bit 2, shadows bit in PID1Z2Hbits
15697 #define PID1Z211 PID1Z2Hbits.PID1Z211 // bit 3, shadows bit in PID1Z2Hbits
15698 #define Z211 PID1Z2Hbits.Z211 // bit 3, shadows bit in PID1Z2Hbits
15699 #define PID1Z212 PID1Z2Hbits.PID1Z212 // bit 4, shadows bit in PID1Z2Hbits
15700 #define Z212 PID1Z2Hbits.Z212 // bit 4, shadows bit in PID1Z2Hbits
15701 #define PID1Z213 PID1Z2Hbits.PID1Z213 // bit 5, shadows bit in PID1Z2Hbits
15702 #define Z213 PID1Z2Hbits.Z213 // bit 5, shadows bit in PID1Z2Hbits
15703 #define PID1Z214 PID1Z2Hbits.PID1Z214 // bit 6, shadows bit in PID1Z2Hbits
15704 #define Z214 PID1Z2Hbits.Z214 // bit 6, shadows bit in PID1Z2Hbits
15705 #define PID1Z215 PID1Z2Hbits.PID1Z215 // bit 7, shadows bit in PID1Z2Hbits
15706 #define Z215 PID1Z2Hbits.Z215 // bit 7, shadows bit in PID1Z2Hbits
15708 #define PID1Z20 PID1Z2Lbits.PID1Z20 // bit 0, shadows bit in PID1Z2Lbits
15709 #define Z20 PID1Z2Lbits.Z20 // bit 0, shadows bit in PID1Z2Lbits
15710 #define PID1Z21 PID1Z2Lbits.PID1Z21 // bit 1, shadows bit in PID1Z2Lbits
15711 #define Z21 PID1Z2Lbits.Z21 // bit 1, shadows bit in PID1Z2Lbits
15712 #define PID1Z22 PID1Z2Lbits.PID1Z22 // bit 2, shadows bit in PID1Z2Lbits
15713 #define Z22 PID1Z2Lbits.Z22 // bit 2, shadows bit in PID1Z2Lbits
15714 #define PID1Z23 PID1Z2Lbits.PID1Z23 // bit 3, shadows bit in PID1Z2Lbits
15715 #define Z23 PID1Z2Lbits.Z23 // bit 3, shadows bit in PID1Z2Lbits
15716 #define PID1Z24 PID1Z2Lbits.PID1Z24 // bit 4, shadows bit in PID1Z2Lbits
15717 #define Z24 PID1Z2Lbits.Z24 // bit 4, shadows bit in PID1Z2Lbits
15718 #define PID1Z25 PID1Z2Lbits.PID1Z25 // bit 5, shadows bit in PID1Z2Lbits
15719 #define Z25 PID1Z2Lbits.Z25 // bit 5, shadows bit in PID1Z2Lbits
15720 #define PID1Z26 PID1Z2Lbits.PID1Z26 // bit 6, shadows bit in PID1Z2Lbits
15721 #define Z26 PID1Z2Lbits.Z26 // bit 6, shadows bit in PID1Z2Lbits
15722 #define PID1Z27 PID1Z2Lbits.PID1Z27 // bit 7, shadows bit in PID1Z2Lbits
15723 #define Z27 PID1Z2Lbits.Z27 // bit 7, shadows bit in PID1Z2Lbits
15725 #define PID1Z216 PID1Z2Ubits.PID1Z216 // bit 0, shadows bit in PID1Z2Ubits
15726 #define Z216 PID1Z2Ubits.Z216 // bit 0, shadows bit in PID1Z2Ubits
15728 #define TMR1IE PIE1bits.TMR1IE // bit 0
15729 #define TMR2IE PIE1bits.TMR2IE // bit 1
15730 #define CCP1IE PIE1bits.CCP1IE // bit 2
15731 #define SSP1IE PIE1bits.SSP1IE // bit 3
15732 #define TXIE PIE1bits.TXIE // bit 4
15733 #define RCIE PIE1bits.RCIE // bit 5
15734 #define ADIE PIE1bits.ADIE // bit 6
15735 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
15737 #define CCP2IE PIE2bits.CCP2IE // bit 0
15738 #define TMR4IE PIE2bits.TMR4IE // bit 1
15739 #define TMR6IE PIE2bits.TMR6IE // bit 2
15740 #define BCL1IE PIE2bits.BCL1IE // bit 3
15741 #define C1IE PIE2bits.C1IE // bit 5
15742 #define C2IE PIE2bits.C2IE // bit 6
15744 #define CLC1IE PIE3bits.CLC1IE // bit 0
15745 #define CLC2IE PIE3bits.CLC2IE // bit 1
15746 #define ZCDIE PIE3bits.ZCDIE // bit 4
15747 #define CWGIE PIE3bits.CWGIE // bit 5
15749 #define SMT1IE PIE4bits.SMT1IE // bit 0
15750 #define SMT1PRAIE PIE4bits.SMT1PRAIE // bit 1
15751 #define SMT1PWAIE PIE4bits.SMT1PWAIE // bit 2
15752 #define SMT2IE PIE4bits.SMT2IE // bit 3
15753 #define SMT2PRAIE PIE4bits.SMT2PRAIE // bit 4
15754 #define SMT2PWAIE PIE4bits.SMT2PWAIE // bit 5
15755 #define CRCIE PIE4bits.CRCIE // bit 6
15756 #define SCANIE PIE4bits.SCANIE // bit 7
15758 #define PID1DIE PIE5bits.PID1DIE // bit 0
15759 #define PID1EIE PIE5bits.PID1EIE // bit 1
15760 #define AT1IE PIE5bits.AT1IE // bit 2
15761 #define TMR5IE PIE5bits.TMR5IE // bit 4
15762 #define TMR5GIE PIE5bits.TMR5GIE // bit 5
15763 #define TMR3IE PIE5bits.TMR3IE // bit 6
15764 #define TMR3GIE PIE5bits.TMR3GIE // bit 7
15766 #define TMR1IF PIR1bits.TMR1IF // bit 0
15767 #define TMR2IF PIR1bits.TMR2IF // bit 1
15768 #define CCP1IF PIR1bits.CCP1IF // bit 2
15769 #define SSP1IF PIR1bits.SSP1IF // bit 3
15770 #define TXIF PIR1bits.TXIF // bit 4
15771 #define RCIF PIR1bits.RCIF // bit 5
15772 #define ADIF PIR1bits.ADIF // bit 6
15773 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
15775 #define CCP2IF PIR2bits.CCP2IF // bit 0
15776 #define TMR4IF PIR2bits.TMR4IF // bit 1
15777 #define TMR6IF PIR2bits.TMR6IF // bit 2
15778 #define BCL1IF PIR2bits.BCL1IF // bit 3
15779 #define C1IF PIR2bits.C1IF // bit 5
15780 #define C2IF PIR2bits.C2IF // bit 6
15782 #define CLC1IF PIR3bits.CLC1IF // bit 0
15783 #define CLC2IF PIR3bits.CLC2IF // bit 1
15784 #define ZCDIF PIR3bits.ZCDIF // bit 4
15785 #define CWGIF PIR3bits.CWGIF // bit 5
15787 #define SMT1IF PIR4bits.SMT1IF // bit 0
15788 #define SMT1PRAIF PIR4bits.SMT1PRAIF // bit 1
15789 #define SMT1PWAIF PIR4bits.SMT1PWAIF // bit 2
15790 #define SMT2IF PIR4bits.SMT2IF // bit 3
15791 #define SMT2PRAIF PIR4bits.SMT2PRAIF // bit 4
15792 #define SMT2PWAIF PIR4bits.SMT2PWAIF // bit 5
15793 #define CRCIF PIR4bits.CRCIF // bit 6
15794 #define SCANIF PIR4bits.SCANIF // bit 7
15796 #define PID1DIF PIR5bits.PID1DIF // bit 0
15797 #define PID1EIF PIR5bits.PID1EIF // bit 1
15798 #define AT1IF PIR5bits.AT1IF // bit 2
15799 #define TMR5IF PIR5bits.TMR5IF // bit 4
15800 #define TMR5GIF PIR5bits.TMR5GIF // bit 5
15801 #define TMR3IF PIR5bits.TMR3IF // bit 6
15802 #define TMR3GIF PIR5bits.TMR3GIF // bit 7
15804 #define RD PMCON1bits.RD // bit 0
15805 #define WR PMCON1bits.WR // bit 1
15806 #define WREN PMCON1bits.WREN // bit 2
15807 #define WRERR PMCON1bits.WRERR // bit 3
15808 #define FREE PMCON1bits.FREE // bit 4
15809 #define LWLO PMCON1bits.LWLO // bit 5
15810 #define CFGS PMCON1bits.CFGS // bit 6
15812 #define RA0 PORTAbits.RA0 // bit 0
15813 #define RA1 PORTAbits.RA1 // bit 1
15814 #define RA2 PORTAbits.RA2 // bit 2
15815 #define RA3 PORTAbits.RA3 // bit 3
15816 #define RA4 PORTAbits.RA4 // bit 4
15817 #define RA5 PORTAbits.RA5 // bit 5
15819 #define RC0 PORTCbits.RC0 // bit 0
15820 #define RC1 PORTCbits.RC1 // bit 1
15821 #define RC2 PORTCbits.RC2 // bit 2
15822 #define RC3 PORTCbits.RC3 // bit 3
15823 #define RC4 PORTCbits.RC4 // bit 4
15824 #define RC5 PORTCbits.RC5 // bit 5
15826 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
15828 #define DC2 PWM3DCHbits.DC2 // bit 0, shadows bit in PWM3DCHbits
15829 #define PWM3DC2 PWM3DCHbits.PWM3DC2 // bit 0, shadows bit in PWM3DCHbits
15830 #define PWMPW2 PWM3DCHbits.PWMPW2 // bit 0, shadows bit in PWM3DCHbits
15831 #define DC3 PWM3DCHbits.DC3 // bit 1, shadows bit in PWM3DCHbits
15832 #define PWM3DC3 PWM3DCHbits.PWM3DC3 // bit 1, shadows bit in PWM3DCHbits
15833 #define PWMPW3 PWM3DCHbits.PWMPW3 // bit 1, shadows bit in PWM3DCHbits
15834 #define DC4 PWM3DCHbits.DC4 // bit 2, shadows bit in PWM3DCHbits
15835 #define PWM3DC4 PWM3DCHbits.PWM3DC4 // bit 2, shadows bit in PWM3DCHbits
15836 #define PWMPW4 PWM3DCHbits.PWMPW4 // bit 2, shadows bit in PWM3DCHbits
15837 #define DC5 PWM3DCHbits.DC5 // bit 3, shadows bit in PWM3DCHbits
15838 #define PWM3DC5 PWM3DCHbits.PWM3DC5 // bit 3, shadows bit in PWM3DCHbits
15839 #define PWMPW5 PWM3DCHbits.PWMPW5 // bit 3, shadows bit in PWM3DCHbits
15840 #define DC6 PWM3DCHbits.DC6 // bit 4, shadows bit in PWM3DCHbits
15841 #define PWM3DC6 PWM3DCHbits.PWM3DC6 // bit 4, shadows bit in PWM3DCHbits
15842 #define PWMPW6 PWM3DCHbits.PWMPW6 // bit 4, shadows bit in PWM3DCHbits
15843 #define DC7 PWM3DCHbits.DC7 // bit 5, shadows bit in PWM3DCHbits
15844 #define PWM3DC7 PWM3DCHbits.PWM3DC7 // bit 5, shadows bit in PWM3DCHbits
15845 #define PWMPW7 PWM3DCHbits.PWMPW7 // bit 5, shadows bit in PWM3DCHbits
15846 #define DC8 PWM3DCHbits.DC8 // bit 6, shadows bit in PWM3DCHbits
15847 #define PWM3DC8 PWM3DCHbits.PWM3DC8 // bit 6, shadows bit in PWM3DCHbits
15848 #define PWMPW8 PWM3DCHbits.PWMPW8 // bit 6, shadows bit in PWM3DCHbits
15849 #define DC9 PWM3DCHbits.DC9 // bit 7, shadows bit in PWM3DCHbits
15850 #define PWM3DC9 PWM3DCHbits.PWM3DC9 // bit 7, shadows bit in PWM3DCHbits
15851 #define PWMPW9 PWM3DCHbits.PWMPW9 // bit 7, shadows bit in PWM3DCHbits
15853 #define DC0 PWM3DCLbits.DC0 // bit 6, shadows bit in PWM3DCLbits
15854 #define PWM3DC0 PWM3DCLbits.PWM3DC0 // bit 6, shadows bit in PWM3DCLbits
15855 #define PWMPW0 PWM3DCLbits.PWMPW0 // bit 6, shadows bit in PWM3DCLbits
15856 #define DC1 PWM3DCLbits.DC1 // bit 7, shadows bit in PWM3DCLbits
15857 #define PWM3DC1 PWM3DCLbits.PWM3DC1 // bit 7, shadows bit in PWM3DCLbits
15858 #define PWMPW1 PWM3DCLbits.PWMPW1 // bit 7, shadows bit in PWM3DCLbits
15860 #define RA0PPS0 RA0PPSbits.RA0PPS0 // bit 0
15861 #define RA0PPS1 RA0PPSbits.RA0PPS1 // bit 1
15862 #define RA0PPS2 RA0PPSbits.RA0PPS2 // bit 2
15863 #define RA0PPS3 RA0PPSbits.RA0PPS3 // bit 3
15864 #define RA0PPS4 RA0PPSbits.RA0PPS4 // bit 4
15866 #define RA1PPS0 RA1PPSbits.RA1PPS0 // bit 0
15867 #define RA1PPS1 RA1PPSbits.RA1PPS1 // bit 1
15868 #define RA1PPS2 RA1PPSbits.RA1PPS2 // bit 2
15869 #define RA1PPS3 RA1PPSbits.RA1PPS3 // bit 3
15870 #define RA1PPS4 RA1PPSbits.RA1PPS4 // bit 4
15872 #define RA2PPS0 RA2PPSbits.RA2PPS0 // bit 0
15873 #define RA2PPS1 RA2PPSbits.RA2PPS1 // bit 1
15874 #define RA2PPS2 RA2PPSbits.RA2PPS2 // bit 2
15875 #define RA2PPS3 RA2PPSbits.RA2PPS3 // bit 3
15876 #define RA2PPS4 RA2PPSbits.RA2PPS4 // bit 4
15878 #define RA4PPS0 RA4PPSbits.RA4PPS0 // bit 0
15879 #define RA4PPS1 RA4PPSbits.RA4PPS1 // bit 1
15880 #define RA4PPS2 RA4PPSbits.RA4PPS2 // bit 2
15881 #define RA4PPS3 RA4PPSbits.RA4PPS3 // bit 3
15882 #define RA4PPS4 RA4PPSbits.RA4PPS4 // bit 4
15884 #define RA5PPS0 RA5PPSbits.RA5PPS0 // bit 0
15885 #define RA5PPS1 RA5PPSbits.RA5PPS1 // bit 1
15886 #define RA5PPS2 RA5PPSbits.RA5PPS2 // bit 2
15887 #define RA5PPS3 RA5PPSbits.RA5PPS3 // bit 3
15888 #define RA5PPS4 RA5PPSbits.RA5PPS4 // bit 4
15890 #define RC0PPS0 RC0PPSbits.RC0PPS0 // bit 0
15891 #define RC0PPS1 RC0PPSbits.RC0PPS1 // bit 1
15892 #define RC0PPS2 RC0PPSbits.RC0PPS2 // bit 2
15893 #define RC0PPS3 RC0PPSbits.RC0PPS3 // bit 3
15894 #define RC0PPS4 RC0PPSbits.RC0PPS4 // bit 4
15896 #define RC1PPS0 RC1PPSbits.RC1PPS0 // bit 0
15897 #define RC1PPS1 RC1PPSbits.RC1PPS1 // bit 1
15898 #define RC1PPS2 RC1PPSbits.RC1PPS2 // bit 2
15899 #define RC1PPS3 RC1PPSbits.RC1PPS3 // bit 3
15900 #define RC1PPS4 RC1PPSbits.RC1PPS4 // bit 4
15902 #define RX9D RC1STAbits.RX9D // bit 0
15903 #define OERR RC1STAbits.OERR // bit 1
15904 #define FERR RC1STAbits.FERR // bit 2
15905 #define ADDEN RC1STAbits.ADDEN // bit 3
15906 #define CREN RC1STAbits.CREN // bit 4
15907 #define SREN RC1STAbits.SREN // bit 5
15908 #define RX9 RC1STAbits.RX9 // bit 6
15909 #define SPEN RC1STAbits.SPEN // bit 7
15911 #define RC2PPS0 RC2PPSbits.RC2PPS0 // bit 0
15912 #define RC2PPS1 RC2PPSbits.RC2PPS1 // bit 1
15913 #define RC2PPS2 RC2PPSbits.RC2PPS2 // bit 2
15914 #define RC2PPS3 RC2PPSbits.RC2PPS3 // bit 3
15915 #define RC2PPS4 RC2PPSbits.RC2PPS4 // bit 4
15917 #define RC3PPS0 RC3PPSbits.RC3PPS0 // bit 0
15918 #define RC3PPS1 RC3PPSbits.RC3PPS1 // bit 1
15919 #define RC3PPS2 RC3PPSbits.RC3PPS2 // bit 2
15920 #define RC3PPS3 RC3PPSbits.RC3PPS3 // bit 3
15921 #define RC3PPS4 RC3PPSbits.RC3PPS4 // bit 4
15923 #define RC4PPS0 RC4PPSbits.RC4PPS0 // bit 0
15924 #define RC4PPS1 RC4PPSbits.RC4PPS1 // bit 1
15925 #define RC4PPS2 RC4PPSbits.RC4PPS2 // bit 2
15926 #define RC4PPS3 RC4PPSbits.RC4PPS3 // bit 3
15927 #define RC4PPS4 RC4PPSbits.RC4PPS4 // bit 4
15929 #define RC5PPS0 RC5PPSbits.RC5PPS0 // bit 0
15930 #define RC5PPS1 RC5PPSbits.RC5PPS1 // bit 1
15931 #define RC5PPS2 RC5PPSbits.RC5PPS2 // bit 2
15932 #define RC5PPS3 RC5PPSbits.RC5PPS3 // bit 3
15933 #define RC5PPS4 RC5PPSbits.RC5PPS4 // bit 4
15935 #define RXPPS0 RXPPSbits.RXPPS0 // bit 0
15936 #define RXPPS1 RXPPSbits.RXPPS1 // bit 1
15937 #define RXPPS2 RXPPSbits.RXPPS2 // bit 2
15938 #define RXPPS3 RXPPSbits.RXPPS3 // bit 3
15939 #define RXPPS4 RXPPSbits.RXPPS4 // bit 4
15941 #define HADR8 SCANHADRHbits.HADR8 // bit 0, shadows bit in SCANHADRHbits
15942 #define SCANHADR8 SCANHADRHbits.SCANHADR8 // bit 0, shadows bit in SCANHADRHbits
15943 #define HADR9 SCANHADRHbits.HADR9 // bit 1, shadows bit in SCANHADRHbits
15944 #define SCANHADR9 SCANHADRHbits.SCANHADR9 // bit 1, shadows bit in SCANHADRHbits
15945 #define HADR10 SCANHADRHbits.HADR10 // bit 2, shadows bit in SCANHADRHbits
15946 #define SCANHADR10 SCANHADRHbits.SCANHADR10 // bit 2, shadows bit in SCANHADRHbits
15947 #define HADR11 SCANHADRHbits.HADR11 // bit 3, shadows bit in SCANHADRHbits
15948 #define SCANHADR11 SCANHADRHbits.SCANHADR11 // bit 3, shadows bit in SCANHADRHbits
15949 #define HADR12 SCANHADRHbits.HADR12 // bit 4, shadows bit in SCANHADRHbits
15950 #define SCANHADR12 SCANHADRHbits.SCANHADR12 // bit 4, shadows bit in SCANHADRHbits
15951 #define HADR13 SCANHADRHbits.HADR13 // bit 5, shadows bit in SCANHADRHbits
15952 #define SCANHADR13 SCANHADRHbits.SCANHADR13 // bit 5, shadows bit in SCANHADRHbits
15953 #define HADR14 SCANHADRHbits.HADR14 // bit 6, shadows bit in SCANHADRHbits
15954 #define SCANHADR14 SCANHADRHbits.SCANHADR14 // bit 6, shadows bit in SCANHADRHbits
15955 #define HADR15 SCANHADRHbits.HADR15 // bit 7, shadows bit in SCANHADRHbits
15956 #define SCANHADR15 SCANHADRHbits.SCANHADR15 // bit 7, shadows bit in SCANHADRHbits
15958 #define HADR0 SCANHADRLbits.HADR0 // bit 0, shadows bit in SCANHADRLbits
15959 #define SCANHADR0 SCANHADRLbits.SCANHADR0 // bit 0, shadows bit in SCANHADRLbits
15960 #define HADR1 SCANHADRLbits.HADR1 // bit 1, shadows bit in SCANHADRLbits
15961 #define SCANHADR1 SCANHADRLbits.SCANHADR1 // bit 1, shadows bit in SCANHADRLbits
15962 #define HARD2 SCANHADRLbits.HARD2 // bit 2, shadows bit in SCANHADRLbits
15963 #define SCANHADR2 SCANHADRLbits.SCANHADR2 // bit 2, shadows bit in SCANHADRLbits
15964 #define HADR3 SCANHADRLbits.HADR3 // bit 3, shadows bit in SCANHADRLbits
15965 #define SCANHADR3 SCANHADRLbits.SCANHADR3 // bit 3, shadows bit in SCANHADRLbits
15966 #define HADR4 SCANHADRLbits.HADR4 // bit 4, shadows bit in SCANHADRLbits
15967 #define SCANHADR4 SCANHADRLbits.SCANHADR4 // bit 4, shadows bit in SCANHADRLbits
15968 #define HADR5 SCANHADRLbits.HADR5 // bit 5, shadows bit in SCANHADRLbits
15969 #define SCANHADR5 SCANHADRLbits.SCANHADR5 // bit 5, shadows bit in SCANHADRLbits
15970 #define HADR6 SCANHADRLbits.HADR6 // bit 6, shadows bit in SCANHADRLbits
15971 #define SCANHADR6 SCANHADRLbits.SCANHADR6 // bit 6, shadows bit in SCANHADRLbits
15972 #define HADR7 SCANHADRLbits.HADR7 // bit 7, shadows bit in SCANHADRLbits
15973 #define SCANHADR7 SCANHADRLbits.SCANHADR7 // bit 7, shadows bit in SCANHADRLbits
15975 #define LADR8 SCANLADRHbits.LADR8 // bit 0, shadows bit in SCANLADRHbits
15976 #define SCANLADR8 SCANLADRHbits.SCANLADR8 // bit 0, shadows bit in SCANLADRHbits
15977 #define LADR9 SCANLADRHbits.LADR9 // bit 1, shadows bit in SCANLADRHbits
15978 #define SCANLADR9 SCANLADRHbits.SCANLADR9 // bit 1, shadows bit in SCANLADRHbits
15979 #define LADR10 SCANLADRHbits.LADR10 // bit 2, shadows bit in SCANLADRHbits
15980 #define SCANLADR10 SCANLADRHbits.SCANLADR10 // bit 2, shadows bit in SCANLADRHbits
15981 #define LADR11 SCANLADRHbits.LADR11 // bit 3, shadows bit in SCANLADRHbits
15982 #define SCANLADR11 SCANLADRHbits.SCANLADR11 // bit 3, shadows bit in SCANLADRHbits
15983 #define LADR12 SCANLADRHbits.LADR12 // bit 4, shadows bit in SCANLADRHbits
15984 #define SCANLADR12 SCANLADRHbits.SCANLADR12 // bit 4, shadows bit in SCANLADRHbits
15985 #define LADR13 SCANLADRHbits.LADR13 // bit 5, shadows bit in SCANLADRHbits
15986 #define SCANLADR13 SCANLADRHbits.SCANLADR13 // bit 5, shadows bit in SCANLADRHbits
15987 #define LADR14 SCANLADRHbits.LADR14 // bit 6, shadows bit in SCANLADRHbits
15988 #define SCANLADR14 SCANLADRHbits.SCANLADR14 // bit 6, shadows bit in SCANLADRHbits
15989 #define LADR15 SCANLADRHbits.LADR15 // bit 7, shadows bit in SCANLADRHbits
15990 #define SCANLADR15 SCANLADRHbits.SCANLADR15 // bit 7, shadows bit in SCANLADRHbits
15992 #define LDAR0 SCANLADRLbits.LDAR0 // bit 0, shadows bit in SCANLADRLbits
15993 #define SCANLADR0 SCANLADRLbits.SCANLADR0 // bit 0, shadows bit in SCANLADRLbits
15994 #define LDAR1 SCANLADRLbits.LDAR1 // bit 1, shadows bit in SCANLADRLbits
15995 #define SCANLADR1 SCANLADRLbits.SCANLADR1 // bit 1, shadows bit in SCANLADRLbits
15996 #define LADR2 SCANLADRLbits.LADR2 // bit 2, shadows bit in SCANLADRLbits
15997 #define SCANLADR2 SCANLADRLbits.SCANLADR2 // bit 2, shadows bit in SCANLADRLbits
15998 #define LADR3 SCANLADRLbits.LADR3 // bit 3, shadows bit in SCANLADRLbits
15999 #define SCANLADR3 SCANLADRLbits.SCANLADR3 // bit 3, shadows bit in SCANLADRLbits
16000 #define LADR4 SCANLADRLbits.LADR4 // bit 4, shadows bit in SCANLADRLbits
16001 #define SCANLADR4 SCANLADRLbits.SCANLADR4 // bit 4, shadows bit in SCANLADRLbits
16002 #define LADR5 SCANLADRLbits.LADR5 // bit 5, shadows bit in SCANLADRLbits
16003 #define SCANLADR5 SCANLADRLbits.SCANLADR5 // bit 5, shadows bit in SCANLADRLbits
16004 #define LADR6 SCANLADRLbits.LADR6 // bit 6, shadows bit in SCANLADRLbits
16005 #define SCANLADR6 SCANLADRLbits.SCANLADR6 // bit 6, shadows bit in SCANLADRLbits
16006 #define LADR7 SCANLADRLbits.LADR7 // bit 7, shadows bit in SCANLADRLbits
16007 #define SCANLADR7 SCANLADRLbits.SCANLADR7 // bit 7, shadows bit in SCANLADRLbits
16009 #define TSEL0 SCANTRIGbits.TSEL0 // bit 0, shadows bit in SCANTRIGbits
16010 #define SCANTSEL0 SCANTRIGbits.SCANTSEL0 // bit 0, shadows bit in SCANTRIGbits
16011 #define TSEL1 SCANTRIGbits.TSEL1 // bit 1, shadows bit in SCANTRIGbits
16012 #define SCANTSEL1 SCANTRIGbits.SCANTSEL1 // bit 1, shadows bit in SCANTRIGbits
16013 #define TSEL2 SCANTRIGbits.TSEL2 // bit 2, shadows bit in SCANTRIGbits
16014 #define SCANTSEL2 SCANTRIGbits.SCANTSEL2 // bit 2, shadows bit in SCANTRIGbits
16015 #define TSEL3 SCANTRIGbits.TSEL3 // bit 3, shadows bit in SCANTRIGbits
16016 #define SCANTSEL3 SCANTRIGbits.SCANTSEL3 // bit 3, shadows bit in SCANTRIGbits
16018 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
16019 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
16020 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
16021 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
16022 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
16024 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
16025 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
16026 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
16027 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
16028 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
16029 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
16031 #define CSEL0 SMT1CLKbits.CSEL0 // bit 0, shadows bit in SMT1CLKbits
16032 #define SMT1CSEL0 SMT1CLKbits.SMT1CSEL0 // bit 0, shadows bit in SMT1CLKbits
16033 #define CSEL1 SMT1CLKbits.CSEL1 // bit 1, shadows bit in SMT1CLKbits
16034 #define SMT1CSEL1 SMT1CLKbits.SMT1CSEL1 // bit 1, shadows bit in SMT1CLKbits
16035 #define CSEL2 SMT1CLKbits.CSEL2 // bit 2, shadows bit in SMT1CLKbits
16036 #define SMT1CSEL2 SMT1CLKbits.SMT1CSEL2 // bit 2, shadows bit in SMT1CLKbits
16038 #define SMT1CPR8 SMT1CPRHbits.SMT1CPR8 // bit 0
16039 #define SMT1CPR9 SMT1CPRHbits.SMT1CPR9 // bit 1
16040 #define SMT1CPR10 SMT1CPRHbits.SMT1CPR10 // bit 2
16041 #define SMT1CPR11 SMT1CPRHbits.SMT1CPR11 // bit 3
16042 #define SMT1CPR12 SMT1CPRHbits.SMT1CPR12 // bit 4
16043 #define SMT1CPR13 SMT1CPRHbits.SMT1CPR13 // bit 5
16044 #define SMT1CPR14 SMT1CPRHbits.SMT1CPR14 // bit 6
16045 #define SMT1CPR15 SMT1CPRHbits.SMT1CPR15 // bit 7
16047 #define SMT1CPR0 SMT1CPRLbits.SMT1CPR0 // bit 0
16048 #define SMT1CPR1 SMT1CPRLbits.SMT1CPR1 // bit 1
16049 #define SMT1CPR2 SMT1CPRLbits.SMT1CPR2 // bit 2
16050 #define SMT1CPR3 SMT1CPRLbits.SMT1CPR3 // bit 3
16051 #define SMT1CPR4 SMT1CPRLbits.SMT1CPR4 // bit 4
16052 #define SMT1CPR5 SMT1CPRLbits.SMT1CPR5 // bit 5
16053 #define SMT1CPR6 SMT1CPRLbits.SMT1CPR6 // bit 6
16054 #define SMT1CPR7 SMT1CPRLbits.SMT1CPR7 // bit 7
16056 #define SMT1CPR16 SMT1CPRUbits.SMT1CPR16 // bit 0
16057 #define SMT1CPR17 SMT1CPRUbits.SMT1CPR17 // bit 1
16058 #define SMT1CPR18 SMT1CPRUbits.SMT1CPR18 // bit 2
16059 #define SMT1CPR19 SMT1CPRUbits.SMT1CPR19 // bit 3
16060 #define SMT1CPR20 SMT1CPRUbits.SMT1CPR20 // bit 4
16061 #define SMT1CPR21 SMT1CPRUbits.SMT1CPR21 // bit 5
16062 #define SMT1CPR22 SMT1CPRUbits.SMT1CPR22 // bit 6
16063 #define SMT1CPR23 SMT1CPRUbits.SMT1CPR23 // bit 7
16065 #define SMT1CPW8 SMT1CPWHbits.SMT1CPW8 // bit 0
16066 #define SMT1CPW9 SMT1CPWHbits.SMT1CPW9 // bit 1
16067 #define SMT1CPW10 SMT1CPWHbits.SMT1CPW10 // bit 2
16068 #define SMT1CPW11 SMT1CPWHbits.SMT1CPW11 // bit 3
16069 #define SMT1CPW12 SMT1CPWHbits.SMT1CPW12 // bit 4
16070 #define SMT1CPW13 SMT1CPWHbits.SMT1CPW13 // bit 5
16071 #define SMT1CPW14 SMT1CPWHbits.SMT1CPW14 // bit 6
16072 #define SMT1CPW15 SMT1CPWHbits.SMT1CPW15 // bit 7
16074 #define SMT1CPW0 SMT1CPWLbits.SMT1CPW0 // bit 0
16075 #define SMT1CPW1 SMT1CPWLbits.SMT1CPW1 // bit 1
16076 #define SMT1CPW2 SMT1CPWLbits.SMT1CPW2 // bit 2
16077 #define SMT1CPW3 SMT1CPWLbits.SMT1CPW3 // bit 3
16078 #define SMT1CPW4 SMT1CPWLbits.SMT1CPW4 // bit 4
16079 #define SMT1CPW5 SMT1CPWLbits.SMT1CPW5 // bit 5
16080 #define SMT1CPW6 SMT1CPWLbits.SMT1CPW6 // bit 6
16081 #define SMT1CPW7 SMT1CPWLbits.SMT1CPW7 // bit 7
16083 #define SMT1CPW16 SMT1CPWUbits.SMT1CPW16 // bit 0
16084 #define SMT1CPW17 SMT1CPWUbits.SMT1CPW17 // bit 1
16085 #define SMT1CPW18 SMT1CPWUbits.SMT1CPW18 // bit 2
16086 #define SMT1CPW19 SMT1CPWUbits.SMT1CPW19 // bit 3
16087 #define SMT1CPW20 SMT1CPWUbits.SMT1CPW20 // bit 4
16088 #define SMT1CPW21 SMT1CPWUbits.SMT1CPW21 // bit 5
16089 #define SMT1CPW22 SMT1CPWUbits.SMT1CPW22 // bit 6
16090 #define SMT1CPW23 SMT1CPWUbits.SMT1CPW23 // bit 7
16092 #define SMT1PR8 SMT1PRHbits.SMT1PR8 // bit 0
16093 #define SMT1PR9 SMT1PRHbits.SMT1PR9 // bit 1
16094 #define SMT1PR10 SMT1PRHbits.SMT1PR10 // bit 2
16095 #define SMT1PR11 SMT1PRHbits.SMT1PR11 // bit 3
16096 #define SMT1PR12 SMT1PRHbits.SMT1PR12 // bit 4
16097 #define SMT1PR13 SMT1PRHbits.SMT1PR13 // bit 5
16098 #define SMT1PR14 SMT1PRHbits.SMT1PR14 // bit 6
16099 #define SMT1PR15 SMT1PRHbits.SMT1PR15 // bit 7
16101 #define SMT1PR0 SMT1PRLbits.SMT1PR0 // bit 0
16102 #define SMT1PR1 SMT1PRLbits.SMT1PR1 // bit 1
16103 #define SMT1PR2 SMT1PRLbits.SMT1PR2 // bit 2
16104 #define SMT1PR3 SMT1PRLbits.SMT1PR3 // bit 3
16105 #define SMT1PR4 SMT1PRLbits.SMT1PR4 // bit 4
16106 #define SMT1PR5 SMT1PRLbits.SMT1PR5 // bit 5
16107 #define SMT1PR6 SMT1PRLbits.SMT1PR6 // bit 6
16108 #define SMT1PR7 SMT1PRLbits.SMT1PR7 // bit 7
16110 #define SMT1PR16 SMT1PRUbits.SMT1PR16 // bit 0
16111 #define SMT1PR17 SMT1PRUbits.SMT1PR17 // bit 1
16112 #define SMT1PR18 SMT1PRUbits.SMT1PR18 // bit 2
16113 #define SMT1PR19 SMT1PRUbits.SMT1PR19 // bit 3
16114 #define SMT1PR20 SMT1PRUbits.SMT1PR20 // bit 4
16115 #define SMT1PR21 SMT1PRUbits.SMT1PR21 // bit 5
16116 #define SMT1PR22 SMT1PRUbits.SMT1PR22 // bit 6
16117 #define SMT1PR23 SMT1PRUbits.SMT1PR23 // bit 7
16119 #define SMT1SIGPPS0 SMT1SIGPPSbits.SMT1SIGPPS0 // bit 0
16120 #define SMT1SIGPPS1 SMT1SIGPPSbits.SMT1SIGPPS1 // bit 1
16121 #define SMT1SIGPPS2 SMT1SIGPPSbits.SMT1SIGPPS2 // bit 2
16122 #define SMT1SIGPPS3 SMT1SIGPPSbits.SMT1SIGPPS3 // bit 3
16123 #define SMT1SIGPPS4 SMT1SIGPPSbits.SMT1SIGPPS4 // bit 4
16125 #define AS SMT1STATbits.AS // bit 0, shadows bit in SMT1STATbits
16126 #define SMT1AS SMT1STATbits.SMT1AS // bit 0, shadows bit in SMT1STATbits
16127 #define WS SMT1STATbits.WS // bit 1, shadows bit in SMT1STATbits
16128 #define SMT1WS SMT1STATbits.SMT1WS // bit 1, shadows bit in SMT1STATbits
16129 #define TS SMT1STATbits.TS // bit 2, shadows bit in SMT1STATbits
16130 #define SMT1TS SMT1STATbits.SMT1TS // bit 2, shadows bit in SMT1STATbits
16131 #define RST SMT1STATbits.RST // bit 5, shadows bit in SMT1STATbits
16132 #define SMT1RESET SMT1STATbits.SMT1RESET // bit 5, shadows bit in SMT1STATbits
16133 #define CPWUP SMT1STATbits.CPWUP // bit 6, shadows bit in SMT1STATbits
16134 #define SMT1CPWUP SMT1STATbits.SMT1CPWUP // bit 6, shadows bit in SMT1STATbits
16135 #define CPRUP SMT1STATbits.CPRUP // bit 7, shadows bit in SMT1STATbits
16136 #define SMT1CPRUP SMT1STATbits.SMT1CPRUP // bit 7, shadows bit in SMT1STATbits
16138 #define SMT1TMR8 SMT1TMRHbits.SMT1TMR8 // bit 0
16139 #define SMT1TMR9 SMT1TMRHbits.SMT1TMR9 // bit 1
16140 #define SMT1TMR10 SMT1TMRHbits.SMT1TMR10 // bit 2
16141 #define SMT1TMR11 SMT1TMRHbits.SMT1TMR11 // bit 3
16142 #define SMT1TMR12 SMT1TMRHbits.SMT1TMR12 // bit 4
16143 #define SMT1TMR13 SMT1TMRHbits.SMT1TMR13 // bit 5
16144 #define SMT1TMR14 SMT1TMRHbits.SMT1TMR14 // bit 6
16145 #define SMT1TMR15 SMT1TMRHbits.SMT1TMR15 // bit 7
16147 #define SMT1TMR0 SMT1TMRLbits.SMT1TMR0 // bit 0
16148 #define SMT1TMR1 SMT1TMRLbits.SMT1TMR1 // bit 1
16149 #define SMT1TMR2 SMT1TMRLbits.SMT1TMR2 // bit 2
16150 #define SMT1TMR3 SMT1TMRLbits.SMT1TMR3 // bit 3
16151 #define SMT1TMR4 SMT1TMRLbits.SMT1TMR4 // bit 4
16152 #define SMT1TMR5 SMT1TMRLbits.SMT1TMR5 // bit 5
16153 #define SMT1TMR6 SMT1TMRLbits.SMT1TMR6 // bit 6
16154 #define SMT1TMR7 SMT1TMRLbits.SMT1TMR7 // bit 7
16156 #define SMT1TMR16 SMT1TMRUbits.SMT1TMR16 // bit 0
16157 #define SMT1TMR17 SMT1TMRUbits.SMT1TMR17 // bit 1
16158 #define SMT1TMR18 SMT1TMRUbits.SMT1TMR18 // bit 2
16159 #define SMT1TMR19 SMT1TMRUbits.SMT1TMR19 // bit 3
16160 #define SMT1TMR20 SMT1TMRUbits.SMT1TMR20 // bit 4
16161 #define SMT1TMR21 SMT1TMRUbits.SMT1TMR21 // bit 5
16162 #define SMT1TMR22 SMT1TMRUbits.SMT1TMR22 // bit 6
16163 #define SMT1TMR23 SMT1TMRUbits.SMT1TMR23 // bit 7
16165 #define WSEL0 SMT1WINbits.WSEL0 // bit 0, shadows bit in SMT1WINbits
16166 #define SMT1WSEL0 SMT1WINbits.SMT1WSEL0 // bit 0, shadows bit in SMT1WINbits
16167 #define WSEL1 SMT1WINbits.WSEL1 // bit 1, shadows bit in SMT1WINbits
16168 #define SMT1WSEL1 SMT1WINbits.SMT1WSEL1 // bit 1, shadows bit in SMT1WINbits
16169 #define WSEL2 SMT1WINbits.WSEL2 // bit 2, shadows bit in SMT1WINbits
16170 #define SMT1WSEL2 SMT1WINbits.SMT1WSEL2 // bit 2, shadows bit in SMT1WINbits
16171 #define WSEL3 SMT1WINbits.WSEL3 // bit 3, shadows bit in SMT1WINbits
16172 #define SMT1WSEL3 SMT1WINbits.SMT1WSEL3 // bit 3, shadows bit in SMT1WINbits
16173 #define WSEL4 SMT1WINbits.WSEL4 // bit 4, shadows bit in SMT1WINbits
16174 #define SMT1WSEL4 SMT1WINbits.SMT1WSEL4 // bit 4, shadows bit in SMT1WINbits
16176 #define SMTWINPPS0 SMT1WINPPSbits.SMTWINPPS0 // bit 0
16177 #define SMTWINPPS1 SMT1WINPPSbits.SMTWINPPS1 // bit 1
16178 #define SMTWINPPS2 SMT1WINPPSbits.SMTWINPPS2 // bit 2
16179 #define SMTWINPPS3 SMT1WINPPSbits.SMTWINPPS3 // bit 3
16180 #define SMTWINPPS4 SMT1WINPPSbits.SMTWINPPS4 // bit 4
16182 #define SMT2CPR8 SMT2CPRHbits.SMT2CPR8 // bit 0
16183 #define SMT2CPR9 SMT2CPRHbits.SMT2CPR9 // bit 1
16184 #define SMT2CPR10 SMT2CPRHbits.SMT2CPR10 // bit 2
16185 #define SMT2CPR11 SMT2CPRHbits.SMT2CPR11 // bit 3
16186 #define SMT2CPR12 SMT2CPRHbits.SMT2CPR12 // bit 4
16187 #define SMT2CPR13 SMT2CPRHbits.SMT2CPR13 // bit 5
16188 #define SMT2CPR14 SMT2CPRHbits.SMT2CPR14 // bit 6
16189 #define SMT2CPR15 SMT2CPRHbits.SMT2CPR15 // bit 7
16191 #define SMT2CPR0 SMT2CPRLbits.SMT2CPR0 // bit 0
16192 #define SMT2CPR1 SMT2CPRLbits.SMT2CPR1 // bit 1
16193 #define SMT2CPR2 SMT2CPRLbits.SMT2CPR2 // bit 2
16194 #define SMT2CPR3 SMT2CPRLbits.SMT2CPR3 // bit 3
16195 #define SMT2CPR4 SMT2CPRLbits.SMT2CPR4 // bit 4
16196 #define SMT2CPR5 SMT2CPRLbits.SMT2CPR5 // bit 5
16197 #define SMT2CPR6 SMT2CPRLbits.SMT2CPR6 // bit 6
16198 #define SMT2CPR7 SMT2CPRLbits.SMT2CPR7 // bit 7
16200 #define SMT2CPR16 SMT2CPRUbits.SMT2CPR16 // bit 0
16201 #define SMT2CPR17 SMT2CPRUbits.SMT2CPR17 // bit 1
16202 #define SMT2CPR18 SMT2CPRUbits.SMT2CPR18 // bit 2
16203 #define SMT2CPR19 SMT2CPRUbits.SMT2CPR19 // bit 3
16204 #define SMT2CPR20 SMT2CPRUbits.SMT2CPR20 // bit 4
16205 #define SMT2CPR21 SMT2CPRUbits.SMT2CPR21 // bit 5
16206 #define SMT2CPR22 SMT2CPRUbits.SMT2CPR22 // bit 6
16207 #define SMT2CPR23 SMT2CPRUbits.SMT2CPR23 // bit 7
16209 #define SMT2CPW8 SMT2CPWHbits.SMT2CPW8 // bit 0
16210 #define SMT2CPW9 SMT2CPWHbits.SMT2CPW9 // bit 1
16211 #define SMT2CPW10 SMT2CPWHbits.SMT2CPW10 // bit 2
16212 #define SMT2CPW11 SMT2CPWHbits.SMT2CPW11 // bit 3
16213 #define SMT2CPW12 SMT2CPWHbits.SMT2CPW12 // bit 4
16214 #define SMT2CPW13 SMT2CPWHbits.SMT2CPW13 // bit 5
16215 #define SMT2CPW14 SMT2CPWHbits.SMT2CPW14 // bit 6
16216 #define SMT2CPW15 SMT2CPWHbits.SMT2CPW15 // bit 7
16218 #define SMT2CPW0 SMT2CPWLbits.SMT2CPW0 // bit 0
16219 #define SMT2CPW1 SMT2CPWLbits.SMT2CPW1 // bit 1
16220 #define SMT2CPW2 SMT2CPWLbits.SMT2CPW2 // bit 2
16221 #define SMT2CPW3 SMT2CPWLbits.SMT2CPW3 // bit 3
16222 #define SMT2CPW4 SMT2CPWLbits.SMT2CPW4 // bit 4
16223 #define SMT2CPW5 SMT2CPWLbits.SMT2CPW5 // bit 5
16224 #define SMT2CPW6 SMT2CPWLbits.SMT2CPW6 // bit 6
16225 #define SMT2CPW7 SMT2CPWLbits.SMT2CPW7 // bit 7
16227 #define SMT2CPW16 SMT2CPWUbits.SMT2CPW16 // bit 0
16228 #define SMT2CPW17 SMT2CPWUbits.SMT2CPW17 // bit 1
16229 #define SMT2CPW18 SMT2CPWUbits.SMT2CPW18 // bit 2
16230 #define SMT2CPW19 SMT2CPWUbits.SMT2CPW19 // bit 3
16231 #define SMT2CPW20 SMT2CPWUbits.SMT2CPW20 // bit 4
16232 #define SMT2CPW21 SMT2CPWUbits.SMT2CPW21 // bit 5
16233 #define SMT2CPW22 SMT2CPWUbits.SMT2CPW22 // bit 6
16234 #define SMT2CPW23 SMT2CPWUbits.SMT2CPW23 // bit 7
16236 #define SMT2PR8 SMT2PRHbits.SMT2PR8 // bit 0
16237 #define SMT2PR9 SMT2PRHbits.SMT2PR9 // bit 1
16238 #define SMT2PR10 SMT2PRHbits.SMT2PR10 // bit 2
16239 #define SMT2PR11 SMT2PRHbits.SMT2PR11 // bit 3
16240 #define SMT2PR12 SMT2PRHbits.SMT2PR12 // bit 4
16241 #define SMT2PR13 SMT2PRHbits.SMT2PR13 // bit 5
16242 #define SMT2PR14 SMT2PRHbits.SMT2PR14 // bit 6
16243 #define SMT2PR15 SMT2PRHbits.SMT2PR15 // bit 7
16245 #define SMT2PR0 SMT2PRLbits.SMT2PR0 // bit 0
16246 #define SMT2PR1 SMT2PRLbits.SMT2PR1 // bit 1
16247 #define SMT2PR2 SMT2PRLbits.SMT2PR2 // bit 2
16248 #define SMT2PR3 SMT2PRLbits.SMT2PR3 // bit 3
16249 #define SMT2PR4 SMT2PRLbits.SMT2PR4 // bit 4
16250 #define SMT2PR5 SMT2PRLbits.SMT2PR5 // bit 5
16251 #define SMT2PR6 SMT2PRLbits.SMT2PR6 // bit 6
16252 #define SMT2PR7 SMT2PRLbits.SMT2PR7 // bit 7
16254 #define SMT2PR16 SMT2PRUbits.SMT2PR16 // bit 0
16255 #define SMT2PR17 SMT2PRUbits.SMT2PR17 // bit 1
16256 #define SMT2PR18 SMT2PRUbits.SMT2PR18 // bit 2
16257 #define SMT2PR19 SMT2PRUbits.SMT2PR19 // bit 3
16258 #define SMT2PR20 SMT2PRUbits.SMT2PR20 // bit 4
16259 #define SMT2PR21 SMT2PRUbits.SMT2PR21 // bit 5
16260 #define SMT2PR22 SMT2PRUbits.SMT2PR22 // bit 6
16261 #define SMT2PR23 SMT2PRUbits.SMT2PR23 // bit 7
16263 #define SMT2SIGPPS0 SMT2SIGPPSbits.SMT2SIGPPS0 // bit 0
16264 #define SMT2SIGPPS1 SMT2SIGPPSbits.SMT2SIGPPS1 // bit 1
16265 #define SMT2SIGPPS2 SMT2SIGPPSbits.SMT2SIGPPS2 // bit 2
16266 #define SMT2SIGPPS3 SMT2SIGPPSbits.SMT2SIGPPS3 // bit 3
16267 #define SMT2SIGPPS4 SMT2SIGPPSbits.SMT2SIGPPS4 // bit 4
16269 #define SMT2TMR8 SMT2TMRHbits.SMT2TMR8 // bit 0
16270 #define SMT2TMR9 SMT2TMRHbits.SMT2TMR9 // bit 1
16271 #define SMT2TMR10 SMT2TMRHbits.SMT2TMR10 // bit 2
16272 #define SMT2TMR11 SMT2TMRHbits.SMT2TMR11 // bit 3
16273 #define SMT2TMR12 SMT2TMRHbits.SMT2TMR12 // bit 4
16274 #define SMT2TMR13 SMT2TMRHbits.SMT2TMR13 // bit 5
16275 #define SMT2TMR14 SMT2TMRHbits.SMT2TMR14 // bit 6
16276 #define SMT2TMR15 SMT2TMRHbits.SMT2TMR15 // bit 7
16278 #define SMT2TMR0 SMT2TMRLbits.SMT2TMR0 // bit 0
16279 #define SMT2TMR1 SMT2TMRLbits.SMT2TMR1 // bit 1
16280 #define SMT2TMR2 SMT2TMRLbits.SMT2TMR2 // bit 2
16281 #define SMT2TMR3 SMT2TMRLbits.SMT2TMR3 // bit 3
16282 #define SMT2TMR4 SMT2TMRLbits.SMT2TMR4 // bit 4
16283 #define SMT2TMR5 SMT2TMRLbits.SMT2TMR5 // bit 5
16284 #define SMT2TMR6 SMT2TMRLbits.SMT2TMR6 // bit 6
16285 #define SMT2TMR7 SMT2TMRLbits.SMT2TMR7 // bit 7
16287 #define SMT2TMR16 SMT2TMRUbits.SMT2TMR16 // bit 0
16288 #define SMT2TMR17 SMT2TMRUbits.SMT2TMR17 // bit 1
16289 #define SMT2TMR18 SMT2TMRUbits.SMT2TMR18 // bit 2
16290 #define SMT2TMR19 SMT2TMRUbits.SMT2TMR19 // bit 3
16291 #define SMT2TMR20 SMT2TMRUbits.SMT2TMR20 // bit 4
16292 #define SMT2TMR21 SMT2TMRUbits.SMT2TMR21 // bit 5
16293 #define SMT2TMR22 SMT2TMRUbits.SMT2TMR22 // bit 6
16294 #define SMT2TMR23 SMT2TMRUbits.SMT2TMR23 // bit 7
16296 #define SMT2WINPPS0 SMT2WINPPSbits.SMT2WINPPS0 // bit 0
16297 #define SMT2WINPPS1 SMT2WINPPSbits.SMT2WINPPS1 // bit 1
16298 #define SMT2WINPPS2 SMT2WINPPSbits.SMT2WINPPS2 // bit 2
16299 #define SMT2WINPPS3 SMT2WINPPSbits.SMT2WINPPS3 // bit 3
16300 #define SMT2WINPPS4 SMT2WINPPSbits.SMT2WINPPS4 // bit 4
16302 #define SSP1ADD0 SSP1ADDbits.SSP1ADD0 // bit 0, shadows bit in SSP1ADDbits
16303 #define ADD0 SSP1ADDbits.ADD0 // bit 0, shadows bit in SSP1ADDbits
16304 #define SSP1ADD1 SSP1ADDbits.SSP1ADD1 // bit 1, shadows bit in SSP1ADDbits
16305 #define ADD1 SSP1ADDbits.ADD1 // bit 1, shadows bit in SSP1ADDbits
16306 #define SSP1ADD2 SSP1ADDbits.SSP1ADD2 // bit 2, shadows bit in SSP1ADDbits
16307 #define ADD2 SSP1ADDbits.ADD2 // bit 2, shadows bit in SSP1ADDbits
16308 #define SSP1ADD3 SSP1ADDbits.SSP1ADD3 // bit 3, shadows bit in SSP1ADDbits
16309 #define ADD3 SSP1ADDbits.ADD3 // bit 3, shadows bit in SSP1ADDbits
16310 #define SSP1ADD4 SSP1ADDbits.SSP1ADD4 // bit 4, shadows bit in SSP1ADDbits
16311 #define ADD4 SSP1ADDbits.ADD4 // bit 4, shadows bit in SSP1ADDbits
16312 #define SSP1ADD5 SSP1ADDbits.SSP1ADD5 // bit 5, shadows bit in SSP1ADDbits
16313 #define ADD5 SSP1ADDbits.ADD5 // bit 5, shadows bit in SSP1ADDbits
16314 #define SSP1ADD6 SSP1ADDbits.SSP1ADD6 // bit 6, shadows bit in SSP1ADDbits
16315 #define ADD6 SSP1ADDbits.ADD6 // bit 6, shadows bit in SSP1ADDbits
16316 #define SSP1ADD7 SSP1ADDbits.SSP1ADD7 // bit 7, shadows bit in SSP1ADDbits
16317 #define ADD7 SSP1ADDbits.ADD7 // bit 7, shadows bit in SSP1ADDbits
16319 #define SSP1BUF0 SSP1BUFbits.SSP1BUF0 // bit 0, shadows bit in SSP1BUFbits
16320 #define BUF0 SSP1BUFbits.BUF0 // bit 0, shadows bit in SSP1BUFbits
16321 #define SSP1BUF1 SSP1BUFbits.SSP1BUF1 // bit 1, shadows bit in SSP1BUFbits
16322 #define BUF1 SSP1BUFbits.BUF1 // bit 1, shadows bit in SSP1BUFbits
16323 #define SSP1BUF2 SSP1BUFbits.SSP1BUF2 // bit 2, shadows bit in SSP1BUFbits
16324 #define BUF2 SSP1BUFbits.BUF2 // bit 2, shadows bit in SSP1BUFbits
16325 #define SSP1BUF3 SSP1BUFbits.SSP1BUF3 // bit 3, shadows bit in SSP1BUFbits
16326 #define BUF3 SSP1BUFbits.BUF3 // bit 3, shadows bit in SSP1BUFbits
16327 #define SSP1BUF4 SSP1BUFbits.SSP1BUF4 // bit 4, shadows bit in SSP1BUFbits
16328 #define BUF4 SSP1BUFbits.BUF4 // bit 4, shadows bit in SSP1BUFbits
16329 #define SSP1BUF5 SSP1BUFbits.SSP1BUF5 // bit 5, shadows bit in SSP1BUFbits
16330 #define BUF5 SSP1BUFbits.BUF5 // bit 5, shadows bit in SSP1BUFbits
16331 #define SSP1BUF6 SSP1BUFbits.SSP1BUF6 // bit 6, shadows bit in SSP1BUFbits
16332 #define BUF6 SSP1BUFbits.BUF6 // bit 6, shadows bit in SSP1BUFbits
16333 #define SSP1BUF7 SSP1BUFbits.SSP1BUF7 // bit 7, shadows bit in SSP1BUFbits
16334 #define BUF7 SSP1BUFbits.BUF7 // bit 7, shadows bit in SSP1BUFbits
16336 #define SSPM0 SSP1CONbits.SSPM0 // bit 0
16337 #define SSPM1 SSP1CONbits.SSPM1 // bit 1
16338 #define SSPM2 SSP1CONbits.SSPM2 // bit 2
16339 #define SSPM3 SSP1CONbits.SSPM3 // bit 3
16340 #define CKP SSP1CONbits.CKP // bit 4
16341 #define SSPEN SSP1CONbits.SSPEN // bit 5
16342 #define SSPOV SSP1CONbits.SSPOV // bit 6
16343 #define WCOL SSP1CONbits.WCOL // bit 7
16345 #define SEN SSP1CON2bits.SEN // bit 0
16346 #define RSEN SSP1CON2bits.RSEN // bit 1
16347 #define PEN SSP1CON2bits.PEN // bit 2
16348 #define RCEN SSP1CON2bits.RCEN // bit 3
16349 #define ACKEN SSP1CON2bits.ACKEN // bit 4
16350 #define ACKDT SSP1CON2bits.ACKDT // bit 5
16351 #define ACKSTAT SSP1CON2bits.ACKSTAT // bit 6
16352 #define GCEN SSP1CON2bits.GCEN // bit 7
16354 #define DHEN SSP1CON3bits.DHEN // bit 0
16355 #define AHEN SSP1CON3bits.AHEN // bit 1
16356 #define SBCDE SSP1CON3bits.SBCDE // bit 2
16357 #define SDAHT SSP1CON3bits.SDAHT // bit 3
16358 #define BOEN SSP1CON3bits.BOEN // bit 4
16359 #define SCIE SSP1CON3bits.SCIE // bit 5
16360 #define PCIE SSP1CON3bits.PCIE // bit 6
16361 #define ACKTIM SSP1CON3bits.ACKTIM // bit 7
16363 #define SSP1MSK0 SSP1MSKbits.SSP1MSK0 // bit 0, shadows bit in SSP1MSKbits
16364 #define MSK0 SSP1MSKbits.MSK0 // bit 0, shadows bit in SSP1MSKbits
16365 #define SSP1MSK1 SSP1MSKbits.SSP1MSK1 // bit 1, shadows bit in SSP1MSKbits
16366 #define MSK1 SSP1MSKbits.MSK1 // bit 1, shadows bit in SSP1MSKbits
16367 #define SSP1MSK2 SSP1MSKbits.SSP1MSK2 // bit 2, shadows bit in SSP1MSKbits
16368 #define MSK2 SSP1MSKbits.MSK2 // bit 2, shadows bit in SSP1MSKbits
16369 #define SSP1MSK3 SSP1MSKbits.SSP1MSK3 // bit 3, shadows bit in SSP1MSKbits
16370 #define MSK3 SSP1MSKbits.MSK3 // bit 3, shadows bit in SSP1MSKbits
16371 #define SSP1MSK4 SSP1MSKbits.SSP1MSK4 // bit 4, shadows bit in SSP1MSKbits
16372 #define MSK4 SSP1MSKbits.MSK4 // bit 4, shadows bit in SSP1MSKbits
16373 #define SSP1MSK5 SSP1MSKbits.SSP1MSK5 // bit 5, shadows bit in SSP1MSKbits
16374 #define MSK5 SSP1MSKbits.MSK5 // bit 5, shadows bit in SSP1MSKbits
16375 #define SSP1MSK6 SSP1MSKbits.SSP1MSK6 // bit 6, shadows bit in SSP1MSKbits
16376 #define MSK6 SSP1MSKbits.MSK6 // bit 6, shadows bit in SSP1MSKbits
16377 #define SSP1MSK7 SSP1MSKbits.SSP1MSK7 // bit 7, shadows bit in SSP1MSKbits
16378 #define MSK7 SSP1MSKbits.MSK7 // bit 7, shadows bit in SSP1MSKbits
16380 #define BF SSP1STATbits.BF // bit 0
16381 #define UA SSP1STATbits.UA // bit 1
16382 #define R_NOT_W SSP1STATbits.R_NOT_W // bit 2
16383 #define S SSP1STATbits.S // bit 3
16384 #define P SSP1STATbits.P // bit 4
16385 #define D_NOT_A SSP1STATbits.D_NOT_A // bit 5
16386 #define CKE SSP1STATbits.CKE // bit 6
16387 #define SMP SSP1STATbits.SMP // bit 7
16389 #define SSPCLKPPS0 SSPCLKPPSbits.SSPCLKPPS0 // bit 0
16390 #define SSPCLKPPS1 SSPCLKPPSbits.SSPCLKPPS1 // bit 1
16391 #define SSPCLKPPS2 SSPCLKPPSbits.SSPCLKPPS2 // bit 2
16392 #define SSPCLKPPS3 SSPCLKPPSbits.SSPCLKPPS3 // bit 3
16393 #define SSPCLKPPS4 SSPCLKPPSbits.SSPCLKPPS4 // bit 4
16395 #define SSPDATPPS0 SSPDATPPSbits.SSPDATPPS0 // bit 0
16396 #define SSPDATPPS1 SSPDATPPSbits.SSPDATPPS1 // bit 1
16397 #define SSPDATPPS2 SSPDATPPSbits.SSPDATPPS2 // bit 2
16398 #define SSPDATPPS3 SSPDATPPSbits.SSPDATPPS3 // bit 3
16399 #define SSPDATPPS4 SSPDATPPSbits.SSPDATPPS4 // bit 4
16401 #define SSPSSPPS0 SSPSSPPSbits.SSPSSPPS0 // bit 0
16402 #define SSPSSPPS1 SSPSSPPSbits.SSPSSPPS1 // bit 1
16403 #define SSPSSPPS2 SSPSSPPSbits.SSPSSPPS2 // bit 2
16404 #define SSPSSPPS3 SSPSSPPSbits.SSPSSPPS3 // bit 3
16405 #define SSPSSPPS4 SSPSSPPSbits.SSPSSPPS4 // bit 4
16407 #define C STATUSbits.C // bit 0
16408 #define DC STATUSbits.DC // bit 1
16409 #define Z STATUSbits.Z // bit 2
16410 #define NOT_PD STATUSbits.NOT_PD // bit 3
16411 #define NOT_TO STATUSbits.NOT_TO // bit 4
16413 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
16414 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
16415 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
16417 #define T0CKIPPS0 T0CKIPPSbits.T0CKIPPS0 // bit 0
16418 #define T0CKIPPS1 T0CKIPPSbits.T0CKIPPS1 // bit 1
16419 #define T0CKIPPS2 T0CKIPPSbits.T0CKIPPS2 // bit 2
16420 #define T0CKIPPS3 T0CKIPPSbits.T0CKIPPS3 // bit 3
16421 #define T0CKIPPS4 T0CKIPPSbits.T0CKIPPS4 // bit 4
16423 #define T1CKIPPS0 T1CKIPPSbits.T1CKIPPS0 // bit 0
16424 #define T1CKIPPS1 T1CKIPPSbits.T1CKIPPS1 // bit 1
16425 #define T1CKIPPS2 T1CKIPPSbits.T1CKIPPS2 // bit 2
16426 #define T1CKIPPS3 T1CKIPPSbits.T1CKIPPS3 // bit 3
16427 #define T1CKIPPS4 T1CKIPPSbits.T1CKIPPS4 // bit 4
16429 #define TMR1ON T1CONbits.TMR1ON // bit 0
16430 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
16431 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
16432 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
16433 #define TMR1CS0 T1CONbits.TMR1CS0 // bit 6
16434 #define TMR1CS1 T1CONbits.TMR1CS1 // bit 7
16436 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0
16437 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1
16438 #define T1GVAL T1GCONbits.T1GVAL // bit 2
16439 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3
16440 #define T1GSPM T1GCONbits.T1GSPM // bit 4
16441 #define T1GTM T1GCONbits.T1GTM // bit 5
16442 #define T1GPOL T1GCONbits.T1GPOL // bit 6
16443 #define TMR1GE T1GCONbits.TMR1GE // bit 7
16445 #define T1GPPS0 T1GPPSbits.T1GPPS0 // bit 0
16446 #define T1GPPS1 T1GPPSbits.T1GPPS1 // bit 1
16447 #define T1GPPS2 T1GPPSbits.T1GPPS2 // bit 2
16448 #define T1GPPS3 T1GPPSbits.T1GPPS3 // bit 3
16449 #define T1GPPS4 T1GPPSbits.T1GPPS4 // bit 4
16451 #define OUTPS0 T2CONbits.OUTPS0 // bit 0, shadows bit in T2CONbits
16452 #define T2OUTPS0 T2CONbits.T2OUTPS0 // bit 0, shadows bit in T2CONbits
16453 #define OUTPS1 T2CONbits.OUTPS1 // bit 1, shadows bit in T2CONbits
16454 #define T2OUTPS1 T2CONbits.T2OUTPS1 // bit 1, shadows bit in T2CONbits
16455 #define OUTPS2 T2CONbits.OUTPS2 // bit 2, shadows bit in T2CONbits
16456 #define T2OUTPS2 T2CONbits.T2OUTPS2 // bit 2, shadows bit in T2CONbits
16457 #define OUTPS3 T2CONbits.OUTPS3 // bit 3, shadows bit in T2CONbits
16458 #define T2OUTPS3 T2CONbits.T2OUTPS3 // bit 3, shadows bit in T2CONbits
16459 #define CKPS0 T2CONbits.CKPS0 // bit 4, shadows bit in T2CONbits
16460 #define T2CKPS0 T2CONbits.T2CKPS0 // bit 4, shadows bit in T2CONbits
16461 #define CKPS1 T2CONbits.CKPS1 // bit 5, shadows bit in T2CONbits
16462 #define T2CKPS1 T2CONbits.T2CKPS1 // bit 5, shadows bit in T2CONbits
16463 #define CKPS2 T2CONbits.CKPS2 // bit 6, shadows bit in T2CONbits
16464 #define T2CKPS2 T2CONbits.T2CKPS2 // bit 6, shadows bit in T2CONbits
16465 #define ON T2CONbits.ON // bit 7, shadows bit in T2CONbits
16466 #define T2ON T2CONbits.T2ON // bit 7, shadows bit in T2CONbits
16467 #define TMR2ON T2CONbits.TMR2ON // bit 7, shadows bit in T2CONbits
16469 #define T2PPS0 T2PPSbits.T2PPS0 // bit 0
16470 #define T2PPS1 T2PPSbits.T2PPS1 // bit 1
16471 #define T2PPS2 T2PPSbits.T2PPS2 // bit 2
16472 #define T2PPS3 T2PPSbits.T2PPS3 // bit 3
16473 #define T2PPS4 T2PPSbits.T2PPS4 // bit 4
16475 #define RSEL0 T2RSTbits.RSEL0 // bit 0, shadows bit in T2RSTbits
16476 #define T2RSEL0 T2RSTbits.T2RSEL0 // bit 0, shadows bit in T2RSTbits
16477 #define RSEL1 T2RSTbits.RSEL1 // bit 1, shadows bit in T2RSTbits
16478 #define T2RSEL1 T2RSTbits.T2RSEL1 // bit 1, shadows bit in T2RSTbits
16479 #define RSEL2 T2RSTbits.RSEL2 // bit 2, shadows bit in T2RSTbits
16480 #define T2RSEL2 T2RSTbits.T2RSEL2 // bit 2, shadows bit in T2RSTbits
16481 #define RSEL3 T2RSTbits.RSEL3 // bit 3, shadows bit in T2RSTbits
16482 #define T2RSEL3 T2RSTbits.T2RSEL3 // bit 3, shadows bit in T2RSTbits
16484 #define T3CKIPPS0 T3CKIPPSbits.T3CKIPPS0 // bit 0
16485 #define T3CKIPPS1 T3CKIPPSbits.T3CKIPPS1 // bit 1
16486 #define T3CKIPPS2 T3CKIPPSbits.T3CKIPPS2 // bit 2
16487 #define T3CKIPPS3 T3CKIPPSbits.T3CKIPPS3 // bit 3
16488 #define T3CKIPPS4 T3CKIPPSbits.T3CKIPPS4 // bit 4
16490 #define TMR3ON T3CONbits.TMR3ON // bit 0
16491 #define T3SYNC T3CONbits.T3SYNC // bit 2
16492 #define T3CKPS0 T3CONbits.T3CKPS0 // bit 4
16493 #define T3CKPS1 T3CONbits.T3CKPS1 // bit 5
16494 #define TMR3CS0 T3CONbits.TMR3CS0 // bit 6
16495 #define TMR3CS1 T3CONbits.TMR3CS1 // bit 7
16497 #define T3GSS0 T3GCONbits.T3GSS0 // bit 0
16498 #define T3GSS1 T3GCONbits.T3GSS1 // bit 1
16499 #define T3GVAL T3GCONbits.T3GVAL // bit 2
16500 #define T3GGO_NOT_DONE T3GCONbits.T3GGO_NOT_DONE // bit 3
16501 #define T3GSPM T3GCONbits.T3GSPM // bit 4
16502 #define T3GTM T3GCONbits.T3GTM // bit 5
16503 #define T3GPOL T3GCONbits.T3GPOL // bit 6
16504 #define TMR3GE T3GCONbits.TMR3GE // bit 7
16506 #define T3GPPS0 T3GPPSbits.T3GPPS0 // bit 0
16507 #define T3GPPS1 T3GPPSbits.T3GPPS1 // bit 1
16508 #define T3GPPS2 T3GPPSbits.T3GPPS2 // bit 2
16509 #define T3GPPS3 T3GPPSbits.T3GPPS3 // bit 3
16510 #define T3GPPS4 T3GPPSbits.T3GPPS4 // bit 4
16512 #define T4PPS0 T4PPSbits.T4PPS0 // bit 0
16513 #define T4PPS1 T4PPSbits.T4PPS1 // bit 1
16514 #define T4PPS2 T4PPSbits.T4PPS2 // bit 2
16515 #define T4PPS3 T4PPSbits.T4PPS3 // bit 3
16516 #define T4PPS4 T4PPSbits.T4PPS4 // bit 4
16518 #define T5CKIPPS0 T5CKIPPSbits.T5CKIPPS0 // bit 0
16519 #define T5CKIPPS1 T5CKIPPSbits.T5CKIPPS1 // bit 1
16520 #define T5CKIPPS2 T5CKIPPSbits.T5CKIPPS2 // bit 2
16521 #define T5CKIPPS3 T5CKIPPSbits.T5CKIPPS3 // bit 3
16522 #define T5CKIPPS4 T5CKIPPSbits.T5CKIPPS4 // bit 4
16524 #define TMR5ON T5CONbits.TMR5ON // bit 0
16525 #define T5SYNC T5CONbits.T5SYNC // bit 2
16526 #define T5CKPS0 T5CONbits.T5CKPS0 // bit 4
16527 #define T5CKPS1 T5CONbits.T5CKPS1 // bit 5
16528 #define TMR5CS0 T5CONbits.TMR5CS0 // bit 6
16529 #define TMR5CS1 T5CONbits.TMR5CS1 // bit 7
16531 #define T5GSS0 T5GCONbits.T5GSS0 // bit 0
16532 #define T5GSS1 T5GCONbits.T5GSS1 // bit 1
16533 #define T5GVAL T5GCONbits.T5GVAL // bit 2
16534 #define T5GGO_NOT_DONE T5GCONbits.T5GGO_NOT_DONE // bit 3
16535 #define T5GSPM T5GCONbits.T5GSPM // bit 4
16536 #define T5GTM T5GCONbits.T5GTM // bit 5
16537 #define T5GPOL T5GCONbits.T5GPOL // bit 6
16538 #define TMR5GE T5GCONbits.TMR5GE // bit 7
16540 #define T5GPPS0 T5GPPSbits.T5GPPS0 // bit 0
16541 #define T5GPPS1 T5GPPSbits.T5GPPS1 // bit 1
16542 #define T5GPPS2 T5GPPSbits.T5GPPS2 // bit 2
16543 #define T5GPPS3 T5GPPSbits.T5GPPS3 // bit 3
16544 #define T5GPPS4 T5GPPSbits.T5GPPS4 // bit 4
16546 #define T6PPS0 T6PPSbits.T6PPS0 // bit 0
16547 #define T6PPS1 T6PPSbits.T6PPS1 // bit 1
16548 #define T6PPS2 T6PPSbits.T6PPS2 // bit 2
16549 #define T6PPS3 T6PPSbits.T6PPS3 // bit 3
16550 #define T6PPS4 T6PPSbits.T6PPS4 // bit 4
16552 #define TRISA0 TRISAbits.TRISA0 // bit 0
16553 #define TRISA1 TRISAbits.TRISA1 // bit 1
16554 #define TRISA2 TRISAbits.TRISA2 // bit 2
16555 #define TRISA3 TRISAbits.TRISA3 // bit 3
16556 #define TRISA4 TRISAbits.TRISA4 // bit 4
16557 #define TRISA5 TRISAbits.TRISA5 // bit 5
16559 #define TRISC0 TRISCbits.TRISC0 // bit 0
16560 #define TRISC1 TRISCbits.TRISC1 // bit 1
16561 #define TRISC2 TRISCbits.TRISC2 // bit 2
16562 #define TRISC3 TRISCbits.TRISC3 // bit 3
16563 #define TRISC4 TRISCbits.TRISC4 // bit 4
16564 #define TRISC5 TRISCbits.TRISC5 // bit 5
16566 #define TX9D TX1STAbits.TX9D // bit 0
16567 #define TRMT TX1STAbits.TRMT // bit 1
16568 #define BRGH TX1STAbits.BRGH // bit 2
16569 #define SENDB TX1STAbits.SENDB // bit 3
16570 #define SYNC TX1STAbits.SYNC // bit 4
16571 #define TXEN TX1STAbits.TXEN // bit 5
16572 #define TX9 TX1STAbits.TX9 // bit 6
16573 #define CSRC TX1STAbits.CSRC // bit 7
16575 #define WINDOW0 WDTCON1bits.WINDOW0 // bit 0, shadows bit in WDTCON1bits
16576 #define WDTWINDOW0 WDTCON1bits.WDTWINDOW0 // bit 0, shadows bit in WDTCON1bits
16577 #define WINDOW1 WDTCON1bits.WINDOW1 // bit 1, shadows bit in WDTCON1bits
16578 #define WDTWINDOW1 WDTCON1bits.WDTWINDOW1 // bit 1, shadows bit in WDTCON1bits
16579 #define WINDOW2 WDTCON1bits.WINDOW2 // bit 2, shadows bit in WDTCON1bits
16580 #define WDTWINDOW2 WDTCON1bits.WDTWINDOW2 // bit 2, shadows bit in WDTCON1bits
16581 #define WDTCS0 WDTCON1bits.WDTCS0 // bit 4
16582 #define WDTCS1 WDTCON1bits.WDTCS1 // bit 5
16583 #define WDTCS2 WDTCON1bits.WDTCS2 // bit 6
16585 #define PSCNT8 WDTPSHbits.PSCNT8 // bit 0, shadows bit in WDTPSHbits
16586 #define WDTPSCNT8 WDTPSHbits.WDTPSCNT8 // bit 0, shadows bit in WDTPSHbits
16587 #define PSCNT9 WDTPSHbits.PSCNT9 // bit 1, shadows bit in WDTPSHbits
16588 #define WDTPSCNT9 WDTPSHbits.WDTPSCNT9 // bit 1, shadows bit in WDTPSHbits
16589 #define PSCNT10 WDTPSHbits.PSCNT10 // bit 2, shadows bit in WDTPSHbits
16590 #define WDTPSCNT10 WDTPSHbits.WDTPSCNT10 // bit 2, shadows bit in WDTPSHbits
16591 #define PSCNT11 WDTPSHbits.PSCNT11 // bit 3, shadows bit in WDTPSHbits
16592 #define WDTPSCNT11 WDTPSHbits.WDTPSCNT11 // bit 3, shadows bit in WDTPSHbits
16593 #define PSCNT12 WDTPSHbits.PSCNT12 // bit 4, shadows bit in WDTPSHbits
16594 #define WDTPSCNT12 WDTPSHbits.WDTPSCNT12 // bit 4, shadows bit in WDTPSHbits
16595 #define PSCNT13 WDTPSHbits.PSCNT13 // bit 5, shadows bit in WDTPSHbits
16596 #define WDTPSCNT13 WDTPSHbits.WDTPSCNT13 // bit 5, shadows bit in WDTPSHbits
16597 #define PSCNT14 WDTPSHbits.PSCNT14 // bit 6, shadows bit in WDTPSHbits
16598 #define WDTPSCNT14 WDTPSHbits.WDTPSCNT14 // bit 6, shadows bit in WDTPSHbits
16599 #define PSCNT15 WDTPSHbits.PSCNT15 // bit 7, shadows bit in WDTPSHbits
16600 #define WDTPSCNT15 WDTPSHbits.WDTPSCNT15 // bit 7, shadows bit in WDTPSHbits
16602 #define PSCNT0 WDTPSLbits.PSCNT0 // bit 0, shadows bit in WDTPSLbits
16603 #define WDTPSCNT0 WDTPSLbits.WDTPSCNT0 // bit 0, shadows bit in WDTPSLbits
16604 #define PSCNT1 WDTPSLbits.PSCNT1 // bit 1, shadows bit in WDTPSLbits
16605 #define WDTPSCNT1 WDTPSLbits.WDTPSCNT1 // bit 1, shadows bit in WDTPSLbits
16606 #define PSCNT2 WDTPSLbits.PSCNT2 // bit 2, shadows bit in WDTPSLbits
16607 #define WDTPSCNT2 WDTPSLbits.WDTPSCNT2 // bit 2, shadows bit in WDTPSLbits
16608 #define PSCNT3 WDTPSLbits.PSCNT3 // bit 3, shadows bit in WDTPSLbits
16609 #define WDTPSCNT3 WDTPSLbits.WDTPSCNT3 // bit 3, shadows bit in WDTPSLbits
16610 #define PSCNT4 WDTPSLbits.PSCNT4 // bit 4, shadows bit in WDTPSLbits
16611 #define WDTPSCNT4 WDTPSLbits.WDTPSCNT4 // bit 4, shadows bit in WDTPSLbits
16612 #define PSCNT5 WDTPSLbits.PSCNT5 // bit 5, shadows bit in WDTPSLbits
16613 #define WDTPSCNT5 WDTPSLbits.WDTPSCNT5 // bit 5, shadows bit in WDTPSLbits
16614 #define PSCNT6 WDTPSLbits.PSCNT6 // bit 6, shadows bit in WDTPSLbits
16615 #define WDTPSCNT6 WDTPSLbits.WDTPSCNT6 // bit 6, shadows bit in WDTPSLbits
16616 #define PSCNT7 WDTPSLbits.PSCNT7 // bit 7, shadows bit in WDTPSLbits
16617 #define WDTPSCNT7 WDTPSLbits.WDTPSCNT7 // bit 7, shadows bit in WDTPSLbits
16619 #define PSCNT16 WDTTMRbits.PSCNT16 // bit 0, shadows bit in WDTTMRbits
16620 #define WDTPSCNT16 WDTTMRbits.WDTPSCNT16 // bit 0, shadows bit in WDTTMRbits
16621 #define PSCNT17 WDTTMRbits.PSCNT17 // bit 1, shadows bit in WDTTMRbits
16622 #define WDTPSCNT17 WDTTMRbits.WDTPSCNT17 // bit 1, shadows bit in WDTTMRbits
16623 #define STATE WDTTMRbits.STATE // bit 2, shadows bit in WDTTMRbits
16624 #define WDTSTATE WDTTMRbits.WDTSTATE // bit 2, shadows bit in WDTTMRbits
16625 #define WDTTMR0 WDTTMRbits.WDTTMR0 // bit 3
16626 #define WDTTMR1 WDTTMRbits.WDTTMR1 // bit 4
16627 #define WDTTMR2 WDTTMRbits.WDTTMR2 // bit 5
16628 #define WDTTMR3 WDTTMRbits.WDTTMR3 // bit 6
16629 #define WDTTMR4 WDTTMRbits.WDTTMR4 // bit 7
16631 #define WPUA0 WPUAbits.WPUA0 // bit 0
16632 #define WPUA1 WPUAbits.WPUA1 // bit 1
16633 #define WPUA2 WPUAbits.WPUA2 // bit 2
16634 #define WPUA3 WPUAbits.WPUA3 // bit 3
16635 #define WPUA4 WPUAbits.WPUA4 // bit 4
16636 #define WPUA5 WPUAbits.WPUA5 // bit 5
16638 #define WPUC0 WPUCbits.WPUC0 // bit 0
16639 #define WPUC1 WPUCbits.WPUC1 // bit 1
16640 #define WPUC2 WPUCbits.WPUC2 // bit 2
16641 #define WPUC3 WPUCbits.WPUC3 // bit 3
16642 #define WPUC4 WPUCbits.WPUC4 // bit 4
16643 #define WPUC5 WPUCbits.WPUC5 // bit 5
16645 #define ZCD1INTN ZCD1CONbits.ZCD1INTN // bit 0
16646 #define ZCD1INTP ZCD1CONbits.ZCD1INTP // bit 1
16647 #define ZCD1POL ZCD1CONbits.ZCD1POL // bit 4
16648 #define ZCD1OUT ZCD1CONbits.ZCD1OUT // bit 5
16649 #define ZCD1EN ZCD1CONbits.ZCD1EN // bit 7
16651 #endif // #ifndef NO_BIT_DEFINES
16653 #endif // #ifndef __PIC16LF1614_H__