Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / device / non-free / include / pic14 / pic16f1614.h
blobceb8ab91a6fc9ff6c11aa11e164a4bdec394ba95
1 /*
2 * This declarations of the PIC16F1614 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 __PIC16F1614_H__
26 #define __PIC16F1614_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 VREGCON_ADDR 0x0197
112 #define RC1REG_ADDR 0x0199
113 #define RCREG_ADDR 0x0199
114 #define RCREG1_ADDR 0x0199
115 #define TX1REG_ADDR 0x019A
116 #define TXREG_ADDR 0x019A
117 #define TXREG1_ADDR 0x019A
118 #define SP1BRG_ADDR 0x019B
119 #define SP1BRGL_ADDR 0x019B
120 #define SPBRG_ADDR 0x019B
121 #define SPBRG1_ADDR 0x019B
122 #define SPBRGL_ADDR 0x019B
123 #define SP1BRGH_ADDR 0x019C
124 #define SPBRGH_ADDR 0x019C
125 #define SPBRGH1_ADDR 0x019C
126 #define RC1STA_ADDR 0x019D
127 #define RCSTA_ADDR 0x019D
128 #define RCSTA1_ADDR 0x019D
129 #define TX1STA_ADDR 0x019E
130 #define TXSTA_ADDR 0x019E
131 #define TXSTA1_ADDR 0x019E
132 #define BAUD1CON_ADDR 0x019F
133 #define BAUDCON_ADDR 0x019F
134 #define BAUDCON1_ADDR 0x019F
135 #define BAUDCTL_ADDR 0x019F
136 #define BAUDCTL1_ADDR 0x019F
137 #define WPUA_ADDR 0x020C
138 #define WPUC_ADDR 0x020E
139 #define SSP1BUF_ADDR 0x0211
140 #define SSPBUF_ADDR 0x0211
141 #define SSP1ADD_ADDR 0x0212
142 #define SSPADD_ADDR 0x0212
143 #define SSP1MSK_ADDR 0x0213
144 #define SSPMSK_ADDR 0x0213
145 #define SSP1STAT_ADDR 0x0214
146 #define SSPSTAT_ADDR 0x0214
147 #define SSP1CON_ADDR 0x0215
148 #define SSP1CON1_ADDR 0x0215
149 #define SSPCON_ADDR 0x0215
150 #define SSPCON1_ADDR 0x0215
151 #define SSP1CON2_ADDR 0x0216
152 #define SSPCON2_ADDR 0x0216
153 #define SSP1CON3_ADDR 0x0217
154 #define SSPCON3_ADDR 0x0217
155 #define ODCONA_ADDR 0x028C
156 #define ODCONC_ADDR 0x028E
157 #define CCPR1_ADDR 0x0291
158 #define CCPR1L_ADDR 0x0291
159 #define CCPR1H_ADDR 0x0292
160 #define CCP1CON_ADDR 0x0293
161 #define CCP1CAP_ADDR 0x0294
162 #define CCPR2_ADDR 0x0298
163 #define CCPR2L_ADDR 0x0298
164 #define CCPR2H_ADDR 0x0299
165 #define CCP2CON_ADDR 0x029A
166 #define CCP2CAP_ADDR 0x029B
167 #define CCPTMRS_ADDR 0x029E
168 #define SLRCONA_ADDR 0x030C
169 #define SLRCONC_ADDR 0x030E
170 #define INLVLA_ADDR 0x038C
171 #define INLVLC_ADDR 0x038E
172 #define IOCAP_ADDR 0x0391
173 #define IOCAN_ADDR 0x0392
174 #define IOCAF_ADDR 0x0393
175 #define IOCCP_ADDR 0x0397
176 #define IOCCN_ADDR 0x0398
177 #define IOCCF_ADDR 0x0399
178 #define HIDRVC_ADDR 0x040E
179 #define T4TMR_ADDR 0x0413
180 #define TMR4_ADDR 0x0413
181 #define PR4_ADDR 0x0414
182 #define T4PR_ADDR 0x0414
183 #define T4CON_ADDR 0x0415
184 #define T4HLT_ADDR 0x0416
185 #define T4CLKCON_ADDR 0x0417
186 #define T4RST_ADDR 0x0418
187 #define T6TMR_ADDR 0x041A
188 #define TMR6_ADDR 0x041A
189 #define PR6_ADDR 0x041B
190 #define T6PR_ADDR 0x041B
191 #define T6CON_ADDR 0x041C
192 #define T6HLT_ADDR 0x041D
193 #define T6CLKCON_ADDR 0x041E
194 #define T6RST_ADDR 0x041F
195 #define TMR3L_ADDR 0x0493
196 #define TMR3H_ADDR 0x0494
197 #define T3CON_ADDR 0x0495
198 #define T3GCON_ADDR 0x0496
199 #define TMR5L_ADDR 0x049A
200 #define TMR5H_ADDR 0x049B
201 #define T5CON_ADDR 0x049C
202 #define T5GCON_ADDR 0x049D
203 #define PID1SET_ADDR 0x058C
204 #define PID1SETL_ADDR 0x058C
205 #define PID1SETH_ADDR 0x058D
206 #define PID1IN_ADDR 0x058E
207 #define PID1INL_ADDR 0x058E
208 #define PID1INH_ADDR 0x058F
209 #define PID1K1_ADDR 0x0590
210 #define PID1K1L_ADDR 0x0590
211 #define PID1K1H_ADDR 0x0591
212 #define PID1K2_ADDR 0x0592
213 #define PID1K2L_ADDR 0x0592
214 #define PID1K2H_ADDR 0x0593
215 #define PID1K3_ADDR 0x0594
216 #define PID1K3L_ADDR 0x0594
217 #define PID1K3H_ADDR 0x0595
218 #define PID1OUT_ADDR 0x0596
219 #define PID1OUTLL_ADDR 0x0596
220 #define PID1OUTLH_ADDR 0x0597
221 #define PID1OUTHL_ADDR 0x0598
222 #define PID1OUTHH_ADDR 0x0599
223 #define PID1OUTU_ADDR 0x059A
224 #define PID1Z1_ADDR 0x059B
225 #define PID1Z1L_ADDR 0x059B
226 #define PID1Z1H_ADDR 0x059C
227 #define PID1Z1U_ADDR 0x059D
228 #define PID1Z2_ADDR 0x060C
229 #define PID1Z2L_ADDR 0x060C
230 #define PID1Z2H_ADDR 0x060D
231 #define PID1Z2U_ADDR 0x060E
232 #define PID1ACC_ADDR 0x060F
233 #define PID1ACCLL_ADDR 0x060F
234 #define PID1ACCLH_ADDR 0x0610
235 #define PID1ACCHL_ADDR 0x0611
236 #define PID1ACCHH_ADDR 0x0612
237 #define PID1ACCU_ADDR 0x0613
238 #define PID1CON_ADDR 0x0614
239 #define PWM3DCL_ADDR 0x0617
240 #define PWM3DCH_ADDR 0x0618
241 #define PWM3CON_ADDR 0x0619
242 #define PWM4DCL_ADDR 0x061A
243 #define PWM4DCH_ADDR 0x061B
244 #define PWM4CON_ADDR 0x061C
245 #define CWG1DBR_ADDR 0x0691
246 #define CWG1DBF_ADDR 0x0692
247 #define CWG1AS0_ADDR 0x0693
248 #define CWG1AS1_ADDR 0x0694
249 #define CWG1OCON0_ADDR 0x0695
250 #define CWG1CON0_ADDR 0x0696
251 #define CWG1CON1_ADDR 0x0697
252 #define CWG1CLKCON_ADDR 0x0699
253 #define CWG1ISM_ADDR 0x069A
254 #define WDTCON0_ADDR 0x0711
255 #define WDTCON1_ADDR 0x0712
256 #define WDTPSL_ADDR 0x0713
257 #define WDTPSH_ADDR 0x0714
258 #define WDTTMR_ADDR 0x0715
259 #define SCANLADR_ADDR 0x0718
260 #define SCANLADRL_ADDR 0x0718
261 #define SCANLADRH_ADDR 0x0719
262 #define SCANHADR_ADDR 0x071A
263 #define SCANHADRL_ADDR 0x071A
264 #define SCANHADRH_ADDR 0x071B
265 #define SCANCON0_ADDR 0x071C
266 #define SCANTRIG_ADDR 0x071D
267 #define CRCDAT_ADDR 0x0791
268 #define CRCDATL_ADDR 0x0791
269 #define CRCDATH_ADDR 0x0792
270 #define CRCACC_ADDR 0x0793
271 #define CRCACCL_ADDR 0x0793
272 #define CRCACCH_ADDR 0x0794
273 #define CRCSHIFT_ADDR 0x0795
274 #define CRCSHIFTL_ADDR 0x0795
275 #define CRCSHIFTH_ADDR 0x0796
276 #define CRCXOR_ADDR 0x0797
277 #define CRCXORL_ADDR 0x0797
278 #define CRCXORH_ADDR 0x0798
279 #define CRCCON0_ADDR 0x0799
280 #define CRCCON1_ADDR 0x079A
281 #define AT1RES_ADDR 0x080C
282 #define AT1RESL_ADDR 0x080C
283 #define AT1RESH_ADDR 0x080D
284 #define AT1MISS_ADDR 0x080E
285 #define AT1MISSL_ADDR 0x080E
286 #define AT1MISSH_ADDR 0x080F
287 #define AT1PER_ADDR 0x0810
288 #define AT1PERL_ADDR 0x0810
289 #define AT1PERH_ADDR 0x0811
290 #define AT1PHS_ADDR 0x0812
291 #define AT1PHSL_ADDR 0x0812
292 #define AT1PHSH_ADDR 0x0813
293 #define AT1CON0_ADDR 0x0814
294 #define AT1CON1_ADDR 0x0815
295 #define AT1IR0_ADDR 0x0816
296 #define AT1IE0_ADDR 0x0817
297 #define AT1IR1_ADDR 0x0818
298 #define AT1IE1_ADDR 0x0819
299 #define AT1STPT_ADDR 0x081A
300 #define AT1STPTL_ADDR 0x081A
301 #define AT1STPTH_ADDR 0x081B
302 #define AT1ERR_ADDR 0x081C
303 #define AT1ERRL_ADDR 0x081C
304 #define AT1ERRH_ADDR 0x081D
305 #define AT1CLK_ADDR 0x088C
306 #define AT1SIG_ADDR 0x088D
307 #define AT1CSEL1_ADDR 0x088E
308 #define AT1CC1_ADDR 0x088F
309 #define AT1CC1L_ADDR 0x088F
310 #define AT1CC1H_ADDR 0x0890
311 #define AT1CCON1_ADDR 0x0891
312 #define AT1CSEL2_ADDR 0x0892
313 #define AT1CC2_ADDR 0x0893
314 #define AT1CC2L_ADDR 0x0893
315 #define AT1CC2H_ADDR 0x0894
316 #define AT1CCON2_ADDR 0x0895
317 #define AT1CSEL3_ADDR 0x0896
318 #define AT1CC3_ADDR 0x0897
319 #define AT1CC3L_ADDR 0x0897
320 #define AT1CC3H_ADDR 0x0898
321 #define AT1CCON3_ADDR 0x0899
322 #define SMT1TMR_ADDR 0x0D8C
323 #define SMT1TMRL_ADDR 0x0D8C
324 #define SMT1TMRH_ADDR 0x0D8D
325 #define SMT1TMRU_ADDR 0x0D8E
326 #define SMT1CPR_ADDR 0x0D8F
327 #define SMT1CPRL_ADDR 0x0D8F
328 #define SMT1CPRH_ADDR 0x0D90
329 #define SMT1CPRU_ADDR 0x0D91
330 #define SMT1CPW_ADDR 0x0D92
331 #define SMT1CPWL_ADDR 0x0D92
332 #define SMT1CPWH_ADDR 0x0D93
333 #define SMT1CPWU_ADDR 0x0D94
334 #define SMT1PR_ADDR 0x0D95
335 #define SMT1PRL_ADDR 0x0D95
336 #define SMT1PRH_ADDR 0x0D96
337 #define SMT1PRU_ADDR 0x0D97
338 #define SMT1CON0_ADDR 0x0D98
339 #define SMT1CON1_ADDR 0x0D99
340 #define SMT1STAT_ADDR 0x0D9A
341 #define SMT1CLK_ADDR 0x0D9B
342 #define SMT1SIG_ADDR 0x0D9C
343 #define SMT1WIN_ADDR 0x0D9D
344 #define SMT2TMR_ADDR 0x0D9E
345 #define SMT2TMRL_ADDR 0x0D9E
346 #define SMT2TMRH_ADDR 0x0D9F
347 #define SMT2TMRU_ADDR 0x0DA0
348 #define SMT2CPR_ADDR 0x0DA1
349 #define SMT2CPRL_ADDR 0x0DA1
350 #define SMT2CPRH_ADDR 0x0DA2
351 #define SMT2CPRU_ADDR 0x0DA3
352 #define SMT2CPW_ADDR 0x0DA4
353 #define SMT2CPWL_ADDR 0x0DA4
354 #define SMT2CPWH_ADDR 0x0DA5
355 #define SMT2CPWU_ADDR 0x0DA6
356 #define SMT2PR_ADDR 0x0DA7
357 #define SMT2PRL_ADDR 0x0DA7
358 #define SMT2PRH_ADDR 0x0DA8
359 #define SMT2PRU_ADDR 0x0DA9
360 #define SMT2CON0_ADDR 0x0DAA
361 #define SMT2CON1_ADDR 0x0DAB
362 #define SMT2STAT_ADDR 0x0DAC
363 #define SMT2CLK_ADDR 0x0DAD
364 #define SMT2SIG_ADDR 0x0DAE
365 #define SMT2WIN_ADDR 0x0DAF
366 #define PPSLOCK_ADDR 0x0E0F
367 #define INTPPS_ADDR 0x0E10
368 #define T0CKIPPS_ADDR 0x0E11
369 #define T1CKIPPS_ADDR 0x0E12
370 #define T1GPPS_ADDR 0x0E13
371 #define CCP1PPS_ADDR 0x0E14
372 #define CCP2PPS_ADDR 0x0E15
373 #define ATINPPS_ADDR 0x0E16
374 #define CWGINPPS_ADDR 0x0E17
375 #define T2PPS_ADDR 0x0E18
376 #define T3CKIPPS_ADDR 0x0E19
377 #define T3GPPS_ADDR 0x0E1A
378 #define T4PPS_ADDR 0x0E1B
379 #define T5CKIPPS_ADDR 0x0E1C
380 #define T5GPPS_ADDR 0x0E1D
381 #define T6PPS_ADDR 0x0E1E
382 #define ATCC1PPS_ADDR 0x0E1F
383 #define SSPCLKPPS_ADDR 0x0E20
384 #define SSPDATPPS_ADDR 0x0E21
385 #define SSPSSPPS_ADDR 0x0E22
386 #define ATCC2PPS_ADDR 0x0E23
387 #define RXPPS_ADDR 0x0E24
388 #define CKPPS_ADDR 0x0E25
389 #define SMT1SIGPPS_ADDR 0x0E26
390 #define SMT1WINPPS_ADDR 0x0E27
391 #define CLCIN0PPS_ADDR 0x0E28
392 #define CLCIN1PPS_ADDR 0x0E29
393 #define CLCIN2PPS_ADDR 0x0E2A
394 #define CLCIN3PPS_ADDR 0x0E2B
395 #define SMT2SIGPPS_ADDR 0x0E2C
396 #define SMT2WINPPS_ADDR 0x0E2D
397 #define ATCC3PPS_ADDR 0x0E2E
398 #define RA0PPS_ADDR 0x0E90
399 #define RA1PPS_ADDR 0x0E91
400 #define RA2PPS_ADDR 0x0E92
401 #define RA4PPS_ADDR 0x0E94
402 #define RA5PPS_ADDR 0x0E95
403 #define RC0PPS_ADDR 0x0EA0
404 #define RC1PPS_ADDR 0x0EA1
405 #define RC2PPS_ADDR 0x0EA2
406 #define RC3PPS_ADDR 0x0EA3
407 #define RC4PPS_ADDR 0x0EA4
408 #define RC5PPS_ADDR 0x0EA5
409 #define CLCDATA_ADDR 0x0F0F
410 #define CLC1CON_ADDR 0x0F10
411 #define CLC1POL_ADDR 0x0F11
412 #define CLC1SEL0_ADDR 0x0F12
413 #define CLC1SEL1_ADDR 0x0F13
414 #define CLC1SEL2_ADDR 0x0F14
415 #define CLC1SEL3_ADDR 0x0F15
416 #define CLC1GLS0_ADDR 0x0F16
417 #define CLC1GLS1_ADDR 0x0F17
418 #define CLC1GLS2_ADDR 0x0F18
419 #define CLC1GLS3_ADDR 0x0F19
420 #define CLC2CON_ADDR 0x0F1A
421 #define CLC2POL_ADDR 0x0F1B
422 #define CLC2SEL0_ADDR 0x0F1C
423 #define CLC2SEL1_ADDR 0x0F1D
424 #define CLC2SEL2_ADDR 0x0F1E
425 #define CLC2SEL3_ADDR 0x0F1F
426 #define CLC2GLS0_ADDR 0x0F20
427 #define CLC2GLS1_ADDR 0x0F21
428 #define CLC2GLS2_ADDR 0x0F22
429 #define CLC2GLS3_ADDR 0x0F23
430 #define STATUS_SHAD_ADDR 0x0FE4
431 #define WREG_SHAD_ADDR 0x0FE5
432 #define BSR_SHAD_ADDR 0x0FE6
433 #define PCLATH_SHAD_ADDR 0x0FE7
434 #define FSR0L_SHAD_ADDR 0x0FE8
435 #define FSR0H_SHAD_ADDR 0x0FE9
436 #define FSR1L_SHAD_ADDR 0x0FEA
437 #define FSR1H_SHAD_ADDR 0x0FEB
438 #define STKPTR_ADDR 0x0FED
439 #define TOSL_ADDR 0x0FEE
440 #define TOSH_ADDR 0x0FEF
442 #endif // #ifndef NO_ADDR_DEFINES
444 //==============================================================================
446 // Register Definitions
448 //==============================================================================
450 extern __at(0x0000) __sfr INDF0;
451 extern __at(0x0001) __sfr INDF1;
452 extern __at(0x0002) __sfr PCL;
454 //==============================================================================
455 // STATUS Bits
457 extern __at(0x0003) __sfr STATUS;
459 typedef struct
461 unsigned C : 1;
462 unsigned DC : 1;
463 unsigned Z : 1;
464 unsigned NOT_PD : 1;
465 unsigned NOT_TO : 1;
466 unsigned : 1;
467 unsigned : 1;
468 unsigned : 1;
469 } __STATUSbits_t;
471 extern __at(0x0003) volatile __STATUSbits_t STATUSbits;
473 #define _C 0x01
474 #define _DC 0x02
475 #define _Z 0x04
476 #define _NOT_PD 0x08
477 #define _NOT_TO 0x10
479 //==============================================================================
481 extern __at(0x0004) __sfr FSR0;
482 extern __at(0x0004) __sfr FSR0L;
483 extern __at(0x0005) __sfr FSR0H;
484 extern __at(0x0006) __sfr FSR1;
485 extern __at(0x0006) __sfr FSR1L;
486 extern __at(0x0007) __sfr FSR1H;
488 //==============================================================================
489 // BSR Bits
491 extern __at(0x0008) __sfr BSR;
493 typedef union
495 struct
497 unsigned BSR0 : 1;
498 unsigned BSR1 : 1;
499 unsigned BSR2 : 1;
500 unsigned BSR3 : 1;
501 unsigned BSR4 : 1;
502 unsigned : 1;
503 unsigned : 1;
504 unsigned : 1;
507 struct
509 unsigned BSR : 5;
510 unsigned : 3;
512 } __BSRbits_t;
514 extern __at(0x0008) volatile __BSRbits_t BSRbits;
516 #define _BSR0 0x01
517 #define _BSR1 0x02
518 #define _BSR2 0x04
519 #define _BSR3 0x08
520 #define _BSR4 0x10
522 //==============================================================================
524 extern __at(0x0009) __sfr WREG;
525 extern __at(0x000A) __sfr PCLATH;
527 //==============================================================================
528 // INTCON Bits
530 extern __at(0x000B) __sfr INTCON;
532 typedef union
534 struct
536 unsigned IOCIF : 1;
537 unsigned INTF : 1;
538 unsigned TMR0IF : 1;
539 unsigned IOCIE : 1;
540 unsigned INTE : 1;
541 unsigned TMR0IE : 1;
542 unsigned PEIE : 1;
543 unsigned GIE : 1;
546 struct
548 unsigned : 1;
549 unsigned : 1;
550 unsigned T0IF : 1;
551 unsigned : 1;
552 unsigned : 1;
553 unsigned T0IE : 1;
554 unsigned : 1;
555 unsigned : 1;
557 } __INTCONbits_t;
559 extern __at(0x000B) volatile __INTCONbits_t INTCONbits;
561 #define _IOCIF 0x01
562 #define _INTF 0x02
563 #define _TMR0IF 0x04
564 #define _T0IF 0x04
565 #define _IOCIE 0x08
566 #define _INTE 0x10
567 #define _TMR0IE 0x20
568 #define _T0IE 0x20
569 #define _PEIE 0x40
570 #define _GIE 0x80
572 //==============================================================================
575 //==============================================================================
576 // PORTA Bits
578 extern __at(0x000C) __sfr PORTA;
580 typedef union
582 struct
584 unsigned RA0 : 1;
585 unsigned RA1 : 1;
586 unsigned RA2 : 1;
587 unsigned RA3 : 1;
588 unsigned RA4 : 1;
589 unsigned RA5 : 1;
590 unsigned : 1;
591 unsigned : 1;
594 struct
596 unsigned RA : 6;
597 unsigned : 2;
599 } __PORTAbits_t;
601 extern __at(0x000C) volatile __PORTAbits_t PORTAbits;
603 #define _RA0 0x01
604 #define _RA1 0x02
605 #define _RA2 0x04
606 #define _RA3 0x08
607 #define _RA4 0x10
608 #define _RA5 0x20
610 //==============================================================================
613 //==============================================================================
614 // PORTC Bits
616 extern __at(0x000E) __sfr PORTC;
618 typedef union
620 struct
622 unsigned RC0 : 1;
623 unsigned RC1 : 1;
624 unsigned RC2 : 1;
625 unsigned RC3 : 1;
626 unsigned RC4 : 1;
627 unsigned RC5 : 1;
628 unsigned : 1;
629 unsigned : 1;
632 struct
634 unsigned RC : 6;
635 unsigned : 2;
637 } __PORTCbits_t;
639 extern __at(0x000E) volatile __PORTCbits_t PORTCbits;
641 #define _RC0 0x01
642 #define _RC1 0x02
643 #define _RC2 0x04
644 #define _RC3 0x08
645 #define _RC4 0x10
646 #define _RC5 0x20
648 //==============================================================================
651 //==============================================================================
652 // PIR1 Bits
654 extern __at(0x0010) __sfr PIR1;
656 typedef struct
658 unsigned TMR1IF : 1;
659 unsigned TMR2IF : 1;
660 unsigned CCP1IF : 1;
661 unsigned SSP1IF : 1;
662 unsigned TXIF : 1;
663 unsigned RCIF : 1;
664 unsigned ADIF : 1;
665 unsigned TMR1GIF : 1;
666 } __PIR1bits_t;
668 extern __at(0x0010) volatile __PIR1bits_t PIR1bits;
670 #define _TMR1IF 0x01
671 #define _TMR2IF 0x02
672 #define _CCP1IF 0x04
673 #define _SSP1IF 0x08
674 #define _TXIF 0x10
675 #define _RCIF 0x20
676 #define _ADIF 0x40
677 #define _TMR1GIF 0x80
679 //==============================================================================
682 //==============================================================================
683 // PIR2 Bits
685 extern __at(0x0011) __sfr PIR2;
687 typedef struct
689 unsigned CCP2IF : 1;
690 unsigned TMR4IF : 1;
691 unsigned TMR6IF : 1;
692 unsigned BCL1IF : 1;
693 unsigned : 1;
694 unsigned C1IF : 1;
695 unsigned C2IF : 1;
696 unsigned : 1;
697 } __PIR2bits_t;
699 extern __at(0x0011) volatile __PIR2bits_t PIR2bits;
701 #define _CCP2IF 0x01
702 #define _TMR4IF 0x02
703 #define _TMR6IF 0x04
704 #define _BCL1IF 0x08
705 #define _C1IF 0x20
706 #define _C2IF 0x40
708 //==============================================================================
711 //==============================================================================
712 // PIR3 Bits
714 extern __at(0x0012) __sfr PIR3;
716 typedef struct
718 unsigned CLC1IF : 1;
719 unsigned CLC2IF : 1;
720 unsigned : 1;
721 unsigned : 1;
722 unsigned ZCDIF : 1;
723 unsigned CWGIF : 1;
724 unsigned : 1;
725 unsigned : 1;
726 } __PIR3bits_t;
728 extern __at(0x0012) volatile __PIR3bits_t PIR3bits;
730 #define _CLC1IF 0x01
731 #define _CLC2IF 0x02
732 #define _ZCDIF 0x10
733 #define _CWGIF 0x20
735 //==============================================================================
738 //==============================================================================
739 // PIR4 Bits
741 extern __at(0x0013) __sfr PIR4;
743 typedef struct
745 unsigned SMT1IF : 1;
746 unsigned SMT1PRAIF : 1;
747 unsigned SMT1PWAIF : 1;
748 unsigned SMT2IF : 1;
749 unsigned SMT2PRAIF : 1;
750 unsigned SMT2PWAIF : 1;
751 unsigned CRCIF : 1;
752 unsigned SCANIF : 1;
753 } __PIR4bits_t;
755 extern __at(0x0013) volatile __PIR4bits_t PIR4bits;
757 #define _SMT1IF 0x01
758 #define _SMT1PRAIF 0x02
759 #define _SMT1PWAIF 0x04
760 #define _SMT2IF 0x08
761 #define _SMT2PRAIF 0x10
762 #define _SMT2PWAIF 0x20
763 #define _CRCIF 0x40
764 #define _SCANIF 0x80
766 //==============================================================================
769 //==============================================================================
770 // PIR5 Bits
772 extern __at(0x0014) __sfr PIR5;
774 typedef struct
776 unsigned PID1DIF : 1;
777 unsigned PID1EIF : 1;
778 unsigned AT1IF : 1;
779 unsigned : 1;
780 unsigned TMR5IF : 1;
781 unsigned TMR5GIF : 1;
782 unsigned TMR3IF : 1;
783 unsigned TMR3GIF : 1;
784 } __PIR5bits_t;
786 extern __at(0x0014) volatile __PIR5bits_t PIR5bits;
788 #define _PID1DIF 0x01
789 #define _PID1EIF 0x02
790 #define _AT1IF 0x04
791 #define _TMR5IF 0x10
792 #define _TMR5GIF 0x20
793 #define _TMR3IF 0x40
794 #define _TMR3GIF 0x80
796 //==============================================================================
798 extern __at(0x0015) __sfr TMR0;
799 extern __at(0x0016) __sfr TMR1;
800 extern __at(0x0016) __sfr TMR1L;
801 extern __at(0x0017) __sfr TMR1H;
803 //==============================================================================
804 // T1CON Bits
806 extern __at(0x0018) __sfr T1CON;
808 typedef union
810 struct
812 unsigned TMR1ON : 1;
813 unsigned : 1;
814 unsigned NOT_T1SYNC : 1;
815 unsigned : 1;
816 unsigned T1CKPS0 : 1;
817 unsigned T1CKPS1 : 1;
818 unsigned TMR1CS0 : 1;
819 unsigned TMR1CS1 : 1;
822 struct
824 unsigned : 4;
825 unsigned T1CKPS : 2;
826 unsigned : 2;
829 struct
831 unsigned : 6;
832 unsigned TMR1CS : 2;
834 } __T1CONbits_t;
836 extern __at(0x0018) volatile __T1CONbits_t T1CONbits;
838 #define _TMR1ON 0x01
839 #define _NOT_T1SYNC 0x04
840 #define _T1CKPS0 0x10
841 #define _T1CKPS1 0x20
842 #define _TMR1CS0 0x40
843 #define _TMR1CS1 0x80
845 //==============================================================================
848 //==============================================================================
849 // T1GCON Bits
851 extern __at(0x0019) __sfr T1GCON;
853 typedef union
855 struct
857 unsigned T1GSS0 : 1;
858 unsigned T1GSS1 : 1;
859 unsigned T1GVAL : 1;
860 unsigned T1GGO_NOT_DONE : 1;
861 unsigned T1GSPM : 1;
862 unsigned T1GTM : 1;
863 unsigned T1GPOL : 1;
864 unsigned TMR1GE : 1;
867 struct
869 unsigned T1GSS : 2;
870 unsigned : 6;
872 } __T1GCONbits_t;
874 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits;
876 #define _T1GSS0 0x01
877 #define _T1GSS1 0x02
878 #define _T1GVAL 0x04
879 #define _T1GGO_NOT_DONE 0x08
880 #define _T1GSPM 0x10
881 #define _T1GTM 0x20
882 #define _T1GPOL 0x40
883 #define _TMR1GE 0x80
885 //==============================================================================
887 extern __at(0x001A) __sfr T2TMR;
888 extern __at(0x001A) __sfr TMR2;
889 extern __at(0x001B) __sfr PR2;
890 extern __at(0x001B) __sfr T2PR;
892 //==============================================================================
893 // T2CON Bits
895 extern __at(0x001C) __sfr T2CON;
897 typedef union
899 struct
901 unsigned OUTPS0 : 1;
902 unsigned OUTPS1 : 1;
903 unsigned OUTPS2 : 1;
904 unsigned OUTPS3 : 1;
905 unsigned CKPS0 : 1;
906 unsigned CKPS1 : 1;
907 unsigned CKPS2 : 1;
908 unsigned ON : 1;
911 struct
913 unsigned T2OUTPS0 : 1;
914 unsigned T2OUTPS1 : 1;
915 unsigned T2OUTPS2 : 1;
916 unsigned T2OUTPS3 : 1;
917 unsigned T2CKPS0 : 1;
918 unsigned T2CKPS1 : 1;
919 unsigned T2CKPS2 : 1;
920 unsigned T2ON : 1;
923 struct
925 unsigned : 1;
926 unsigned : 1;
927 unsigned : 1;
928 unsigned : 1;
929 unsigned : 1;
930 unsigned : 1;
931 unsigned : 1;
932 unsigned TMR2ON : 1;
935 struct
937 unsigned OUTPS : 4;
938 unsigned : 4;
941 struct
943 unsigned T2OUTPS : 4;
944 unsigned : 4;
947 struct
949 unsigned : 4;
950 unsigned T2CKPS : 3;
951 unsigned : 1;
954 struct
956 unsigned : 4;
957 unsigned CKPS : 3;
958 unsigned : 1;
960 } __T2CONbits_t;
962 extern __at(0x001C) volatile __T2CONbits_t T2CONbits;
964 #define _OUTPS0 0x01
965 #define _T2OUTPS0 0x01
966 #define _OUTPS1 0x02
967 #define _T2OUTPS1 0x02
968 #define _OUTPS2 0x04
969 #define _T2OUTPS2 0x04
970 #define _OUTPS3 0x08
971 #define _T2OUTPS3 0x08
972 #define _CKPS0 0x10
973 #define _T2CKPS0 0x10
974 #define _CKPS1 0x20
975 #define _T2CKPS1 0x20
976 #define _CKPS2 0x40
977 #define _T2CKPS2 0x40
978 #define _ON 0x80
979 #define _T2ON 0x80
980 #define _TMR2ON 0x80
982 //==============================================================================
985 //==============================================================================
986 // T2HLT Bits
988 extern __at(0x001D) __sfr T2HLT;
990 typedef union
992 struct
994 unsigned MODE0 : 1;
995 unsigned MODE1 : 1;
996 unsigned MODE2 : 1;
997 unsigned MODE3 : 1;
998 unsigned MODE4 : 1;
999 unsigned CKSYNC : 1;
1000 unsigned CKPOL : 1;
1001 unsigned PSYNC : 1;
1004 struct
1006 unsigned T2MODE0 : 1;
1007 unsigned T2MODE1 : 1;
1008 unsigned T2MODE2 : 1;
1009 unsigned T2MODE3 : 1;
1010 unsigned T2MODE4 : 1;
1011 unsigned T2CKSYNC : 1;
1012 unsigned T2CKPOL : 1;
1013 unsigned T2PSYNC : 1;
1016 struct
1018 unsigned MODE : 5;
1019 unsigned : 3;
1022 struct
1024 unsigned T2MODE : 5;
1025 unsigned : 3;
1027 } __T2HLTbits_t;
1029 extern __at(0x001D) volatile __T2HLTbits_t T2HLTbits;
1031 #define _T2HLT_MODE0 0x01
1032 #define _T2HLT_T2MODE0 0x01
1033 #define _T2HLT_MODE1 0x02
1034 #define _T2HLT_T2MODE1 0x02
1035 #define _T2HLT_MODE2 0x04
1036 #define _T2HLT_T2MODE2 0x04
1037 #define _T2HLT_MODE3 0x08
1038 #define _T2HLT_T2MODE3 0x08
1039 #define _T2HLT_MODE4 0x10
1040 #define _T2HLT_T2MODE4 0x10
1041 #define _T2HLT_CKSYNC 0x20
1042 #define _T2HLT_T2CKSYNC 0x20
1043 #define _T2HLT_CKPOL 0x40
1044 #define _T2HLT_T2CKPOL 0x40
1045 #define _T2HLT_PSYNC 0x80
1046 #define _T2HLT_T2PSYNC 0x80
1048 //==============================================================================
1051 //==============================================================================
1052 // T2CLKCON Bits
1054 extern __at(0x001E) __sfr T2CLKCON;
1056 typedef union
1058 struct
1060 unsigned CS0 : 1;
1061 unsigned CS1 : 1;
1062 unsigned CS2 : 1;
1063 unsigned CS3 : 1;
1064 unsigned : 1;
1065 unsigned : 1;
1066 unsigned : 1;
1067 unsigned : 1;
1070 struct
1072 unsigned T2CS0 : 1;
1073 unsigned T2CS1 : 1;
1074 unsigned T2CS2 : 1;
1075 unsigned T2CS3 : 1;
1076 unsigned : 1;
1077 unsigned : 1;
1078 unsigned : 1;
1079 unsigned : 1;
1082 struct
1084 unsigned T2CS : 4;
1085 unsigned : 4;
1088 struct
1090 unsigned CS : 4;
1091 unsigned : 4;
1093 } __T2CLKCONbits_t;
1095 extern __at(0x001E) volatile __T2CLKCONbits_t T2CLKCONbits;
1097 #define _T2CLKCON_CS0 0x01
1098 #define _T2CLKCON_T2CS0 0x01
1099 #define _T2CLKCON_CS1 0x02
1100 #define _T2CLKCON_T2CS1 0x02
1101 #define _T2CLKCON_CS2 0x04
1102 #define _T2CLKCON_T2CS2 0x04
1103 #define _T2CLKCON_CS3 0x08
1104 #define _T2CLKCON_T2CS3 0x08
1106 //==============================================================================
1109 //==============================================================================
1110 // T2RST Bits
1112 extern __at(0x001F) __sfr T2RST;
1114 typedef union
1116 struct
1118 unsigned RSEL0 : 1;
1119 unsigned RSEL1 : 1;
1120 unsigned RSEL2 : 1;
1121 unsigned RSEL3 : 1;
1122 unsigned : 1;
1123 unsigned : 1;
1124 unsigned : 1;
1125 unsigned : 1;
1128 struct
1130 unsigned T2RSEL0 : 1;
1131 unsigned T2RSEL1 : 1;
1132 unsigned T2RSEL2 : 1;
1133 unsigned T2RSEL3 : 1;
1134 unsigned : 1;
1135 unsigned : 1;
1136 unsigned : 1;
1137 unsigned : 1;
1140 struct
1142 unsigned T2RSEL : 4;
1143 unsigned : 4;
1146 struct
1148 unsigned RSEL : 4;
1149 unsigned : 4;
1151 } __T2RSTbits_t;
1153 extern __at(0x001F) volatile __T2RSTbits_t T2RSTbits;
1155 #define _RSEL0 0x01
1156 #define _T2RSEL0 0x01
1157 #define _RSEL1 0x02
1158 #define _T2RSEL1 0x02
1159 #define _RSEL2 0x04
1160 #define _T2RSEL2 0x04
1161 #define _RSEL3 0x08
1162 #define _T2RSEL3 0x08
1164 //==============================================================================
1167 //==============================================================================
1168 // TRISA Bits
1170 extern __at(0x008C) __sfr TRISA;
1172 typedef union
1174 struct
1176 unsigned TRISA0 : 1;
1177 unsigned TRISA1 : 1;
1178 unsigned TRISA2 : 1;
1179 unsigned TRISA3 : 1;
1180 unsigned TRISA4 : 1;
1181 unsigned TRISA5 : 1;
1182 unsigned : 1;
1183 unsigned : 1;
1186 struct
1188 unsigned TRISA : 6;
1189 unsigned : 2;
1191 } __TRISAbits_t;
1193 extern __at(0x008C) volatile __TRISAbits_t TRISAbits;
1195 #define _TRISA0 0x01
1196 #define _TRISA1 0x02
1197 #define _TRISA2 0x04
1198 #define _TRISA3 0x08
1199 #define _TRISA4 0x10
1200 #define _TRISA5 0x20
1202 //==============================================================================
1205 //==============================================================================
1206 // TRISC Bits
1208 extern __at(0x008E) __sfr TRISC;
1210 typedef union
1212 struct
1214 unsigned TRISC0 : 1;
1215 unsigned TRISC1 : 1;
1216 unsigned TRISC2 : 1;
1217 unsigned TRISC3 : 1;
1218 unsigned TRISC4 : 1;
1219 unsigned TRISC5 : 1;
1220 unsigned : 1;
1221 unsigned : 1;
1224 struct
1226 unsigned TRISC : 6;
1227 unsigned : 2;
1229 } __TRISCbits_t;
1231 extern __at(0x008E) volatile __TRISCbits_t TRISCbits;
1233 #define _TRISC0 0x01
1234 #define _TRISC1 0x02
1235 #define _TRISC2 0x04
1236 #define _TRISC3 0x08
1237 #define _TRISC4 0x10
1238 #define _TRISC5 0x20
1240 //==============================================================================
1243 //==============================================================================
1244 // PIE1 Bits
1246 extern __at(0x0090) __sfr PIE1;
1248 typedef struct
1250 unsigned TMR1IE : 1;
1251 unsigned TMR2IE : 1;
1252 unsigned CCP1IE : 1;
1253 unsigned SSP1IE : 1;
1254 unsigned TXIE : 1;
1255 unsigned RCIE : 1;
1256 unsigned ADIE : 1;
1257 unsigned TMR1GIE : 1;
1258 } __PIE1bits_t;
1260 extern __at(0x0090) volatile __PIE1bits_t PIE1bits;
1262 #define _TMR1IE 0x01
1263 #define _TMR2IE 0x02
1264 #define _CCP1IE 0x04
1265 #define _SSP1IE 0x08
1266 #define _TXIE 0x10
1267 #define _RCIE 0x20
1268 #define _ADIE 0x40
1269 #define _TMR1GIE 0x80
1271 //==============================================================================
1274 //==============================================================================
1275 // PIE2 Bits
1277 extern __at(0x0091) __sfr PIE2;
1279 typedef struct
1281 unsigned CCP2IE : 1;
1282 unsigned TMR4IE : 1;
1283 unsigned TMR6IE : 1;
1284 unsigned BCL1IE : 1;
1285 unsigned : 1;
1286 unsigned C1IE : 1;
1287 unsigned C2IE : 1;
1288 unsigned : 1;
1289 } __PIE2bits_t;
1291 extern __at(0x0091) volatile __PIE2bits_t PIE2bits;
1293 #define _CCP2IE 0x01
1294 #define _TMR4IE 0x02
1295 #define _TMR6IE 0x04
1296 #define _BCL1IE 0x08
1297 #define _C1IE 0x20
1298 #define _C2IE 0x40
1300 //==============================================================================
1303 //==============================================================================
1304 // PIE3 Bits
1306 extern __at(0x0092) __sfr PIE3;
1308 typedef struct
1310 unsigned CLC1IE : 1;
1311 unsigned CLC2IE : 1;
1312 unsigned : 1;
1313 unsigned : 1;
1314 unsigned ZCDIE : 1;
1315 unsigned CWGIE : 1;
1316 unsigned : 1;
1317 unsigned : 1;
1318 } __PIE3bits_t;
1320 extern __at(0x0092) volatile __PIE3bits_t PIE3bits;
1322 #define _CLC1IE 0x01
1323 #define _CLC2IE 0x02
1324 #define _ZCDIE 0x10
1325 #define _CWGIE 0x20
1327 //==============================================================================
1330 //==============================================================================
1331 // PIE4 Bits
1333 extern __at(0x0093) __sfr PIE4;
1335 typedef struct
1337 unsigned SMT1IE : 1;
1338 unsigned SMT1PRAIE : 1;
1339 unsigned SMT1PWAIE : 1;
1340 unsigned SMT2IE : 1;
1341 unsigned SMT2PRAIE : 1;
1342 unsigned SMT2PWAIE : 1;
1343 unsigned CRCIE : 1;
1344 unsigned SCANIE : 1;
1345 } __PIE4bits_t;
1347 extern __at(0x0093) volatile __PIE4bits_t PIE4bits;
1349 #define _SMT1IE 0x01
1350 #define _SMT1PRAIE 0x02
1351 #define _SMT1PWAIE 0x04
1352 #define _SMT2IE 0x08
1353 #define _SMT2PRAIE 0x10
1354 #define _SMT2PWAIE 0x20
1355 #define _CRCIE 0x40
1356 #define _SCANIE 0x80
1358 //==============================================================================
1361 //==============================================================================
1362 // PIE5 Bits
1364 extern __at(0x0094) __sfr PIE5;
1366 typedef struct
1368 unsigned PID1DIE : 1;
1369 unsigned PID1EIE : 1;
1370 unsigned AT1IE : 1;
1371 unsigned : 1;
1372 unsigned TMR5IE : 1;
1373 unsigned TMR5GIE : 1;
1374 unsigned TMR3IE : 1;
1375 unsigned TMR3GIE : 1;
1376 } __PIE5bits_t;
1378 extern __at(0x0094) volatile __PIE5bits_t PIE5bits;
1380 #define _PID1DIE 0x01
1381 #define _PID1EIE 0x02
1382 #define _AT1IE 0x04
1383 #define _TMR5IE 0x10
1384 #define _TMR5GIE 0x20
1385 #define _TMR3IE 0x40
1386 #define _TMR3GIE 0x80
1388 //==============================================================================
1391 //==============================================================================
1392 // OPTION_REG Bits
1394 extern __at(0x0095) __sfr OPTION_REG;
1396 typedef union
1398 struct
1400 unsigned PS0 : 1;
1401 unsigned PS1 : 1;
1402 unsigned PS2 : 1;
1403 unsigned PSA : 1;
1404 unsigned TMR0SE : 1;
1405 unsigned TMR0CS : 1;
1406 unsigned INTEDG : 1;
1407 unsigned NOT_WPUEN : 1;
1410 struct
1412 unsigned : 1;
1413 unsigned : 1;
1414 unsigned : 1;
1415 unsigned : 1;
1416 unsigned T0SE : 1;
1417 unsigned T0CS : 1;
1418 unsigned : 1;
1419 unsigned : 1;
1422 struct
1424 unsigned PS : 3;
1425 unsigned : 5;
1427 } __OPTION_REGbits_t;
1429 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits;
1431 #define _OPTION_REG_PS0 0x01
1432 #define _OPTION_REG_PS1 0x02
1433 #define _OPTION_REG_PS2 0x04
1434 #define _OPTION_REG_PSA 0x08
1435 #define _OPTION_REG_TMR0SE 0x10
1436 #define _OPTION_REG_T0SE 0x10
1437 #define _OPTION_REG_TMR0CS 0x20
1438 #define _OPTION_REG_T0CS 0x20
1439 #define _OPTION_REG_INTEDG 0x40
1440 #define _OPTION_REG_NOT_WPUEN 0x80
1442 //==============================================================================
1445 //==============================================================================
1446 // PCON Bits
1448 extern __at(0x0096) __sfr PCON;
1450 typedef struct
1452 unsigned NOT_BOR : 1;
1453 unsigned NOT_POR : 1;
1454 unsigned NOT_RI : 1;
1455 unsigned NOT_RMCLR : 1;
1456 unsigned NOT_RWDT : 1;
1457 unsigned NOT_WDTWV : 1;
1458 unsigned STKUNF : 1;
1459 unsigned STKOVF : 1;
1460 } __PCONbits_t;
1462 extern __at(0x0096) volatile __PCONbits_t PCONbits;
1464 #define _NOT_BOR 0x01
1465 #define _NOT_POR 0x02
1466 #define _NOT_RI 0x04
1467 #define _NOT_RMCLR 0x08
1468 #define _NOT_RWDT 0x10
1469 #define _NOT_WDTWV 0x20
1470 #define _STKUNF 0x40
1471 #define _STKOVF 0x80
1473 //==============================================================================
1476 //==============================================================================
1477 // OSCTUNE Bits
1479 extern __at(0x0098) __sfr OSCTUNE;
1481 typedef union
1483 struct
1485 unsigned TUN0 : 1;
1486 unsigned TUN1 : 1;
1487 unsigned TUN2 : 1;
1488 unsigned TUN3 : 1;
1489 unsigned TUN4 : 1;
1490 unsigned TUN5 : 1;
1491 unsigned : 1;
1492 unsigned : 1;
1495 struct
1497 unsigned TUN : 6;
1498 unsigned : 2;
1500 } __OSCTUNEbits_t;
1502 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits;
1504 #define _TUN0 0x01
1505 #define _TUN1 0x02
1506 #define _TUN2 0x04
1507 #define _TUN3 0x08
1508 #define _TUN4 0x10
1509 #define _TUN5 0x20
1511 //==============================================================================
1514 //==============================================================================
1515 // OSCCON Bits
1517 extern __at(0x0099) __sfr OSCCON;
1519 typedef union
1521 struct
1523 unsigned SCS0 : 1;
1524 unsigned SCS1 : 1;
1525 unsigned : 1;
1526 unsigned IRCF0 : 1;
1527 unsigned IRCF1 : 1;
1528 unsigned IRCF2 : 1;
1529 unsigned IRCF3 : 1;
1530 unsigned SPLLEN : 1;
1533 struct
1535 unsigned SCS : 2;
1536 unsigned : 6;
1539 struct
1541 unsigned : 3;
1542 unsigned IRCF : 4;
1543 unsigned : 1;
1545 } __OSCCONbits_t;
1547 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits;
1549 #define _SCS0 0x01
1550 #define _SCS1 0x02
1551 #define _IRCF0 0x08
1552 #define _IRCF1 0x10
1553 #define _IRCF2 0x20
1554 #define _IRCF3 0x40
1555 #define _SPLLEN 0x80
1557 //==============================================================================
1560 //==============================================================================
1561 // OSCSTAT Bits
1563 extern __at(0x009A) __sfr OSCSTAT;
1565 typedef struct
1567 unsigned HFIOFS : 1;
1568 unsigned LFIOFR : 1;
1569 unsigned MFIOFR : 1;
1570 unsigned HFIOFL : 1;
1571 unsigned HFIOFR : 1;
1572 unsigned : 1;
1573 unsigned PLLR : 1;
1574 unsigned : 1;
1575 } __OSCSTATbits_t;
1577 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits;
1579 #define _HFIOFS 0x01
1580 #define _LFIOFR 0x02
1581 #define _MFIOFR 0x04
1582 #define _HFIOFL 0x08
1583 #define _HFIOFR 0x10
1584 #define _PLLR 0x40
1586 //==============================================================================
1588 extern __at(0x009B) __sfr ADRES;
1589 extern __at(0x009B) __sfr ADRESL;
1590 extern __at(0x009C) __sfr ADRESH;
1592 //==============================================================================
1593 // ADCON0 Bits
1595 extern __at(0x009D) __sfr ADCON0;
1597 typedef union
1599 struct
1601 unsigned ADON : 1;
1602 unsigned GO_NOT_DONE : 1;
1603 unsigned CHS0 : 1;
1604 unsigned CHS1 : 1;
1605 unsigned CHS2 : 1;
1606 unsigned CHS3 : 1;
1607 unsigned CHS4 : 1;
1608 unsigned : 1;
1611 struct
1613 unsigned : 1;
1614 unsigned ADGO : 1;
1615 unsigned : 1;
1616 unsigned : 1;
1617 unsigned : 1;
1618 unsigned : 1;
1619 unsigned : 1;
1620 unsigned : 1;
1623 struct
1625 unsigned : 1;
1626 unsigned GO : 1;
1627 unsigned : 1;
1628 unsigned : 1;
1629 unsigned : 1;
1630 unsigned : 1;
1631 unsigned : 1;
1632 unsigned : 1;
1635 struct
1637 unsigned : 2;
1638 unsigned CHS : 5;
1639 unsigned : 1;
1641 } __ADCON0bits_t;
1643 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits;
1645 #define _ADON 0x01
1646 #define _GO_NOT_DONE 0x02
1647 #define _ADGO 0x02
1648 #define _GO 0x02
1649 #define _CHS0 0x04
1650 #define _CHS1 0x08
1651 #define _CHS2 0x10
1652 #define _CHS3 0x20
1653 #define _CHS4 0x40
1655 //==============================================================================
1658 //==============================================================================
1659 // ADCON1 Bits
1661 extern __at(0x009E) __sfr ADCON1;
1663 typedef union
1665 struct
1667 unsigned ADPREF0 : 1;
1668 unsigned ADPREF1 : 1;
1669 unsigned : 1;
1670 unsigned : 1;
1671 unsigned ADCS0 : 1;
1672 unsigned ADCS1 : 1;
1673 unsigned ADCS2 : 1;
1674 unsigned ADFM : 1;
1677 struct
1679 unsigned ADPREF : 2;
1680 unsigned : 6;
1683 struct
1685 unsigned : 4;
1686 unsigned ADCS : 3;
1687 unsigned : 1;
1689 } __ADCON1bits_t;
1691 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits;
1693 #define _ADPREF0 0x01
1694 #define _ADPREF1 0x02
1695 #define _ADCS0 0x10
1696 #define _ADCS1 0x20
1697 #define _ADCS2 0x40
1698 #define _ADFM 0x80
1700 //==============================================================================
1703 //==============================================================================
1704 // ADCON2 Bits
1706 extern __at(0x009F) __sfr ADCON2;
1708 typedef union
1710 struct
1712 unsigned : 1;
1713 unsigned : 1;
1714 unsigned : 1;
1715 unsigned : 1;
1716 unsigned TRIGSEL0 : 1;
1717 unsigned TRIGSEL1 : 1;
1718 unsigned TRIGSEL2 : 1;
1719 unsigned TRIGSEL3 : 1;
1722 struct
1724 unsigned : 4;
1725 unsigned TRIGSEL : 4;
1727 } __ADCON2bits_t;
1729 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits;
1731 #define _TRIGSEL0 0x10
1732 #define _TRIGSEL1 0x20
1733 #define _TRIGSEL2 0x40
1734 #define _TRIGSEL3 0x80
1736 //==============================================================================
1739 //==============================================================================
1740 // LATA Bits
1742 extern __at(0x010C) __sfr LATA;
1744 typedef union
1746 struct
1748 unsigned LATA0 : 1;
1749 unsigned LATA1 : 1;
1750 unsigned LATA2 : 1;
1751 unsigned LATA3 : 1;
1752 unsigned LATA4 : 1;
1753 unsigned LATA5 : 1;
1754 unsigned : 1;
1755 unsigned : 1;
1758 struct
1760 unsigned LATA : 6;
1761 unsigned : 2;
1763 } __LATAbits_t;
1765 extern __at(0x010C) volatile __LATAbits_t LATAbits;
1767 #define _LATA0 0x01
1768 #define _LATA1 0x02
1769 #define _LATA2 0x04
1770 #define _LATA3 0x08
1771 #define _LATA4 0x10
1772 #define _LATA5 0x20
1774 //==============================================================================
1777 //==============================================================================
1778 // LATC Bits
1780 extern __at(0x010E) __sfr LATC;
1782 typedef union
1784 struct
1786 unsigned LATC0 : 1;
1787 unsigned LATC1 : 1;
1788 unsigned LATC2 : 1;
1789 unsigned LATC3 : 1;
1790 unsigned LATC4 : 1;
1791 unsigned LATC5 : 1;
1792 unsigned : 1;
1793 unsigned : 1;
1796 struct
1798 unsigned LATC : 6;
1799 unsigned : 2;
1801 } __LATCbits_t;
1803 extern __at(0x010E) volatile __LATCbits_t LATCbits;
1805 #define _LATC0 0x01
1806 #define _LATC1 0x02
1807 #define _LATC2 0x04
1808 #define _LATC3 0x08
1809 #define _LATC4 0x10
1810 #define _LATC5 0x20
1812 //==============================================================================
1815 //==============================================================================
1816 // CM1CON0 Bits
1818 extern __at(0x0111) __sfr CM1CON0;
1820 typedef struct
1822 unsigned C1SYNC : 1;
1823 unsigned C1HYS : 1;
1824 unsigned C1SP : 1;
1825 unsigned : 1;
1826 unsigned C1POL : 1;
1827 unsigned : 1;
1828 unsigned C1OUT : 1;
1829 unsigned C1ON : 1;
1830 } __CM1CON0bits_t;
1832 extern __at(0x0111) volatile __CM1CON0bits_t CM1CON0bits;
1834 #define _C1SYNC 0x01
1835 #define _C1HYS 0x02
1836 #define _C1SP 0x04
1837 #define _C1POL 0x10
1838 #define _C1OUT 0x40
1839 #define _C1ON 0x80
1841 //==============================================================================
1844 //==============================================================================
1845 // CM1CON1 Bits
1847 extern __at(0x0112) __sfr CM1CON1;
1849 typedef union
1851 struct
1853 unsigned C1NCH0 : 1;
1854 unsigned C1NCH1 : 1;
1855 unsigned C1NCH2 : 1;
1856 unsigned : 1;
1857 unsigned C1PCH0 : 1;
1858 unsigned C1PCH1 : 1;
1859 unsigned C1INTN : 1;
1860 unsigned C1INTP : 1;
1863 struct
1865 unsigned C1NCH : 3;
1866 unsigned : 5;
1869 struct
1871 unsigned : 4;
1872 unsigned C1PCH : 2;
1873 unsigned : 2;
1875 } __CM1CON1bits_t;
1877 extern __at(0x0112) volatile __CM1CON1bits_t CM1CON1bits;
1879 #define _C1NCH0 0x01
1880 #define _C1NCH1 0x02
1881 #define _C1NCH2 0x04
1882 #define _C1PCH0 0x10
1883 #define _C1PCH1 0x20
1884 #define _C1INTN 0x40
1885 #define _C1INTP 0x80
1887 //==============================================================================
1890 //==============================================================================
1891 // CM2CON0 Bits
1893 extern __at(0x0113) __sfr CM2CON0;
1895 typedef struct
1897 unsigned C2SYNC : 1;
1898 unsigned C2HYS : 1;
1899 unsigned C2SP : 1;
1900 unsigned : 1;
1901 unsigned C2POL : 1;
1902 unsigned : 1;
1903 unsigned C2OUT : 1;
1904 unsigned C2ON : 1;
1905 } __CM2CON0bits_t;
1907 extern __at(0x0113) volatile __CM2CON0bits_t CM2CON0bits;
1909 #define _C2SYNC 0x01
1910 #define _C2HYS 0x02
1911 #define _C2SP 0x04
1912 #define _C2POL 0x10
1913 #define _C2OUT 0x40
1914 #define _C2ON 0x80
1916 //==============================================================================
1919 //==============================================================================
1920 // CM2CON1 Bits
1922 extern __at(0x0114) __sfr CM2CON1;
1924 typedef union
1926 struct
1928 unsigned C2NCH0 : 1;
1929 unsigned C2NCH1 : 1;
1930 unsigned C2NCH2 : 1;
1931 unsigned : 1;
1932 unsigned C2PCH0 : 1;
1933 unsigned C2PCH1 : 1;
1934 unsigned C2INTN : 1;
1935 unsigned C2INTP : 1;
1938 struct
1940 unsigned C2NCH : 3;
1941 unsigned : 5;
1944 struct
1946 unsigned : 4;
1947 unsigned C2PCH : 2;
1948 unsigned : 2;
1950 } __CM2CON1bits_t;
1952 extern __at(0x0114) volatile __CM2CON1bits_t CM2CON1bits;
1954 #define _C2NCH0 0x01
1955 #define _C2NCH1 0x02
1956 #define _C2NCH2 0x04
1957 #define _C2PCH0 0x10
1958 #define _C2PCH1 0x20
1959 #define _C2INTN 0x40
1960 #define _C2INTP 0x80
1962 //==============================================================================
1965 //==============================================================================
1966 // CMOUT Bits
1968 extern __at(0x0115) __sfr CMOUT;
1970 typedef struct
1972 unsigned MC1OUT : 1;
1973 unsigned MC2OUT : 1;
1974 unsigned : 1;
1975 unsigned : 1;
1976 unsigned : 1;
1977 unsigned : 1;
1978 unsigned : 1;
1979 unsigned : 1;
1980 } __CMOUTbits_t;
1982 extern __at(0x0115) volatile __CMOUTbits_t CMOUTbits;
1984 #define _MC1OUT 0x01
1985 #define _MC2OUT 0x02
1987 //==============================================================================
1990 //==============================================================================
1991 // BORCON Bits
1993 extern __at(0x0116) __sfr BORCON;
1995 typedef struct
1997 unsigned BORRDY : 1;
1998 unsigned : 1;
1999 unsigned : 1;
2000 unsigned : 1;
2001 unsigned : 1;
2002 unsigned : 1;
2003 unsigned BORFS : 1;
2004 unsigned SBOREN : 1;
2005 } __BORCONbits_t;
2007 extern __at(0x0116) volatile __BORCONbits_t BORCONbits;
2009 #define _BORRDY 0x01
2010 #define _BORFS 0x40
2011 #define _SBOREN 0x80
2013 //==============================================================================
2016 //==============================================================================
2017 // FVRCON Bits
2019 extern __at(0x0117) __sfr FVRCON;
2021 typedef union
2023 struct
2025 unsigned ADFVR0 : 1;
2026 unsigned ADFVR1 : 1;
2027 unsigned CDAFVR0 : 1;
2028 unsigned CDAFVR1 : 1;
2029 unsigned TSRNG : 1;
2030 unsigned TSEN : 1;
2031 unsigned FVRRDY : 1;
2032 unsigned FVREN : 1;
2035 struct
2037 unsigned ADFVR : 2;
2038 unsigned : 6;
2041 struct
2043 unsigned : 2;
2044 unsigned CDAFVR : 2;
2045 unsigned : 4;
2047 } __FVRCONbits_t;
2049 extern __at(0x0117) volatile __FVRCONbits_t FVRCONbits;
2051 #define _ADFVR0 0x01
2052 #define _ADFVR1 0x02
2053 #define _CDAFVR0 0x04
2054 #define _CDAFVR1 0x08
2055 #define _TSRNG 0x10
2056 #define _TSEN 0x20
2057 #define _FVRRDY 0x40
2058 #define _FVREN 0x80
2060 //==============================================================================
2063 //==============================================================================
2064 // DAC1CON0 Bits
2066 extern __at(0x0118) __sfr DAC1CON0;
2068 typedef union
2070 struct
2072 unsigned : 1;
2073 unsigned : 1;
2074 unsigned D1PSS0 : 1;
2075 unsigned D1PSS1 : 1;
2076 unsigned : 1;
2077 unsigned DAC1OE : 1;
2078 unsigned : 1;
2079 unsigned DAC1EN : 1;
2082 struct
2084 unsigned : 2;
2085 unsigned D1PSS : 2;
2086 unsigned : 4;
2088 } __DAC1CON0bits_t;
2090 extern __at(0x0118) volatile __DAC1CON0bits_t DAC1CON0bits;
2092 #define _D1PSS0 0x04
2093 #define _D1PSS1 0x08
2094 #define _DAC1OE 0x20
2095 #define _DAC1EN 0x80
2097 //==============================================================================
2100 //==============================================================================
2101 // DAC1CON1 Bits
2103 extern __at(0x0119) __sfr DAC1CON1;
2105 typedef struct
2107 unsigned DAC1R0 : 1;
2108 unsigned DAC1R1 : 1;
2109 unsigned DAC1R2 : 1;
2110 unsigned DAC1R3 : 1;
2111 unsigned DAC1R4 : 1;
2112 unsigned DAC1R5 : 1;
2113 unsigned DAC1R6 : 1;
2114 unsigned DAC1R7 : 1;
2115 } __DAC1CON1bits_t;
2117 extern __at(0x0119) volatile __DAC1CON1bits_t DAC1CON1bits;
2119 #define _DAC1R0 0x01
2120 #define _DAC1R1 0x02
2121 #define _DAC1R2 0x04
2122 #define _DAC1R3 0x08
2123 #define _DAC1R4 0x10
2124 #define _DAC1R5 0x20
2125 #define _DAC1R6 0x40
2126 #define _DAC1R7 0x80
2128 //==============================================================================
2131 //==============================================================================
2132 // ZCD1CON Bits
2134 extern __at(0x011C) __sfr ZCD1CON;
2136 typedef struct
2138 unsigned ZCD1INTN : 1;
2139 unsigned ZCD1INTP : 1;
2140 unsigned : 1;
2141 unsigned : 1;
2142 unsigned ZCD1POL : 1;
2143 unsigned ZCD1OUT : 1;
2144 unsigned : 1;
2145 unsigned ZCD1EN : 1;
2146 } __ZCD1CONbits_t;
2148 extern __at(0x011C) volatile __ZCD1CONbits_t ZCD1CONbits;
2150 #define _ZCD1INTN 0x01
2151 #define _ZCD1INTP 0x02
2152 #define _ZCD1POL 0x10
2153 #define _ZCD1OUT 0x20
2154 #define _ZCD1EN 0x80
2156 //==============================================================================
2159 //==============================================================================
2160 // ANSELA Bits
2162 extern __at(0x018C) __sfr ANSELA;
2164 typedef struct
2166 unsigned ANSA0 : 1;
2167 unsigned ANSA1 : 1;
2168 unsigned ANSA2 : 1;
2169 unsigned : 1;
2170 unsigned ANSA4 : 1;
2171 unsigned : 1;
2172 unsigned : 1;
2173 unsigned : 1;
2174 } __ANSELAbits_t;
2176 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits;
2178 #define _ANSA0 0x01
2179 #define _ANSA1 0x02
2180 #define _ANSA2 0x04
2181 #define _ANSA4 0x10
2183 //==============================================================================
2186 //==============================================================================
2187 // ANSELC Bits
2189 extern __at(0x018E) __sfr ANSELC;
2191 typedef union
2193 struct
2195 unsigned ANSC0 : 1;
2196 unsigned ANSC1 : 1;
2197 unsigned ANSC2 : 1;
2198 unsigned ANSC3 : 1;
2199 unsigned : 1;
2200 unsigned : 1;
2201 unsigned : 1;
2202 unsigned : 1;
2205 struct
2207 unsigned ANSC : 4;
2208 unsigned : 4;
2210 } __ANSELCbits_t;
2212 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits;
2214 #define _ANSC0 0x01
2215 #define _ANSC1 0x02
2216 #define _ANSC2 0x04
2217 #define _ANSC3 0x08
2219 //==============================================================================
2221 extern __at(0x0191) __sfr PMADR;
2222 extern __at(0x0191) __sfr PMADRL;
2223 extern __at(0x0192) __sfr PMADRH;
2224 extern __at(0x0193) __sfr PMDAT;
2225 extern __at(0x0193) __sfr PMDATL;
2226 extern __at(0x0194) __sfr PMDATH;
2228 //==============================================================================
2229 // PMCON1 Bits
2231 extern __at(0x0195) __sfr PMCON1;
2233 typedef struct
2235 unsigned RD : 1;
2236 unsigned WR : 1;
2237 unsigned WREN : 1;
2238 unsigned WRERR : 1;
2239 unsigned FREE : 1;
2240 unsigned LWLO : 1;
2241 unsigned CFGS : 1;
2242 unsigned : 1;
2243 } __PMCON1bits_t;
2245 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits;
2247 #define _RD 0x01
2248 #define _WR 0x02
2249 #define _WREN 0x04
2250 #define _WRERR 0x08
2251 #define _FREE 0x10
2252 #define _LWLO 0x20
2253 #define _CFGS 0x40
2255 //==============================================================================
2257 extern __at(0x0196) __sfr PMCON2;
2259 //==============================================================================
2260 // VREGCON Bits
2262 extern __at(0x0197) __sfr VREGCON;
2264 typedef union
2266 struct
2268 unsigned VREGPM0 : 1;
2269 unsigned VREGPM1 : 1;
2270 unsigned : 1;
2271 unsigned : 1;
2272 unsigned : 1;
2273 unsigned : 1;
2274 unsigned : 1;
2275 unsigned : 1;
2278 struct
2280 unsigned VREGPM : 2;
2281 unsigned : 6;
2283 } __VREGCONbits_t;
2285 extern __at(0x0197) volatile __VREGCONbits_t VREGCONbits;
2287 #define _VREGPM0 0x01
2288 #define _VREGPM1 0x02
2290 //==============================================================================
2292 extern __at(0x0199) __sfr RC1REG;
2293 extern __at(0x0199) __sfr RCREG;
2294 extern __at(0x0199) __sfr RCREG1;
2295 extern __at(0x019A) __sfr TX1REG;
2296 extern __at(0x019A) __sfr TXREG;
2297 extern __at(0x019A) __sfr TXREG1;
2298 extern __at(0x019B) __sfr SP1BRG;
2299 extern __at(0x019B) __sfr SP1BRGL;
2300 extern __at(0x019B) __sfr SPBRG;
2301 extern __at(0x019B) __sfr SPBRG1;
2302 extern __at(0x019B) __sfr SPBRGL;
2303 extern __at(0x019C) __sfr SP1BRGH;
2304 extern __at(0x019C) __sfr SPBRGH;
2305 extern __at(0x019C) __sfr SPBRGH1;
2307 //==============================================================================
2308 // RC1STA Bits
2310 extern __at(0x019D) __sfr RC1STA;
2312 typedef struct
2314 unsigned RX9D : 1;
2315 unsigned OERR : 1;
2316 unsigned FERR : 1;
2317 unsigned ADDEN : 1;
2318 unsigned CREN : 1;
2319 unsigned SREN : 1;
2320 unsigned RX9 : 1;
2321 unsigned SPEN : 1;
2322 } __RC1STAbits_t;
2324 extern __at(0x019D) volatile __RC1STAbits_t RC1STAbits;
2326 #define _RX9D 0x01
2327 #define _OERR 0x02
2328 #define _FERR 0x04
2329 #define _ADDEN 0x08
2330 #define _CREN 0x10
2331 #define _SREN 0x20
2332 #define _RX9 0x40
2333 #define _SPEN 0x80
2335 //==============================================================================
2338 //==============================================================================
2339 // RCSTA Bits
2341 extern __at(0x019D) __sfr RCSTA;
2343 typedef struct
2345 unsigned RX9D : 1;
2346 unsigned OERR : 1;
2347 unsigned FERR : 1;
2348 unsigned ADDEN : 1;
2349 unsigned CREN : 1;
2350 unsigned SREN : 1;
2351 unsigned RX9 : 1;
2352 unsigned SPEN : 1;
2353 } __RCSTAbits_t;
2355 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits;
2357 #define _RCSTA_RX9D 0x01
2358 #define _RCSTA_OERR 0x02
2359 #define _RCSTA_FERR 0x04
2360 #define _RCSTA_ADDEN 0x08
2361 #define _RCSTA_CREN 0x10
2362 #define _RCSTA_SREN 0x20
2363 #define _RCSTA_RX9 0x40
2364 #define _RCSTA_SPEN 0x80
2366 //==============================================================================
2369 //==============================================================================
2370 // RCSTA1 Bits
2372 extern __at(0x019D) __sfr RCSTA1;
2374 typedef struct
2376 unsigned RX9D : 1;
2377 unsigned OERR : 1;
2378 unsigned FERR : 1;
2379 unsigned ADDEN : 1;
2380 unsigned CREN : 1;
2381 unsigned SREN : 1;
2382 unsigned RX9 : 1;
2383 unsigned SPEN : 1;
2384 } __RCSTA1bits_t;
2386 extern __at(0x019D) volatile __RCSTA1bits_t RCSTA1bits;
2388 #define _RCSTA1_RX9D 0x01
2389 #define _RCSTA1_OERR 0x02
2390 #define _RCSTA1_FERR 0x04
2391 #define _RCSTA1_ADDEN 0x08
2392 #define _RCSTA1_CREN 0x10
2393 #define _RCSTA1_SREN 0x20
2394 #define _RCSTA1_RX9 0x40
2395 #define _RCSTA1_SPEN 0x80
2397 //==============================================================================
2400 //==============================================================================
2401 // TX1STA Bits
2403 extern __at(0x019E) __sfr TX1STA;
2405 typedef struct
2407 unsigned TX9D : 1;
2408 unsigned TRMT : 1;
2409 unsigned BRGH : 1;
2410 unsigned SENDB : 1;
2411 unsigned SYNC : 1;
2412 unsigned TXEN : 1;
2413 unsigned TX9 : 1;
2414 unsigned CSRC : 1;
2415 } __TX1STAbits_t;
2417 extern __at(0x019E) volatile __TX1STAbits_t TX1STAbits;
2419 #define _TX9D 0x01
2420 #define _TRMT 0x02
2421 #define _BRGH 0x04
2422 #define _SENDB 0x08
2423 #define _SYNC 0x10
2424 #define _TXEN 0x20
2425 #define _TX9 0x40
2426 #define _CSRC 0x80
2428 //==============================================================================
2431 //==============================================================================
2432 // TXSTA Bits
2434 extern __at(0x019E) __sfr TXSTA;
2436 typedef struct
2438 unsigned TX9D : 1;
2439 unsigned TRMT : 1;
2440 unsigned BRGH : 1;
2441 unsigned SENDB : 1;
2442 unsigned SYNC : 1;
2443 unsigned TXEN : 1;
2444 unsigned TX9 : 1;
2445 unsigned CSRC : 1;
2446 } __TXSTAbits_t;
2448 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits;
2450 #define _TXSTA_TX9D 0x01
2451 #define _TXSTA_TRMT 0x02
2452 #define _TXSTA_BRGH 0x04
2453 #define _TXSTA_SENDB 0x08
2454 #define _TXSTA_SYNC 0x10
2455 #define _TXSTA_TXEN 0x20
2456 #define _TXSTA_TX9 0x40
2457 #define _TXSTA_CSRC 0x80
2459 //==============================================================================
2462 //==============================================================================
2463 // TXSTA1 Bits
2465 extern __at(0x019E) __sfr TXSTA1;
2467 typedef struct
2469 unsigned TX9D : 1;
2470 unsigned TRMT : 1;
2471 unsigned BRGH : 1;
2472 unsigned SENDB : 1;
2473 unsigned SYNC : 1;
2474 unsigned TXEN : 1;
2475 unsigned TX9 : 1;
2476 unsigned CSRC : 1;
2477 } __TXSTA1bits_t;
2479 extern __at(0x019E) volatile __TXSTA1bits_t TXSTA1bits;
2481 #define _TXSTA1_TX9D 0x01
2482 #define _TXSTA1_TRMT 0x02
2483 #define _TXSTA1_BRGH 0x04
2484 #define _TXSTA1_SENDB 0x08
2485 #define _TXSTA1_SYNC 0x10
2486 #define _TXSTA1_TXEN 0x20
2487 #define _TXSTA1_TX9 0x40
2488 #define _TXSTA1_CSRC 0x80
2490 //==============================================================================
2493 //==============================================================================
2494 // BAUD1CON Bits
2496 extern __at(0x019F) __sfr BAUD1CON;
2498 typedef struct
2500 unsigned ABDEN : 1;
2501 unsigned WUE : 1;
2502 unsigned : 1;
2503 unsigned BRG16 : 1;
2504 unsigned SCKP : 1;
2505 unsigned : 1;
2506 unsigned RCIDL : 1;
2507 unsigned ABDOVF : 1;
2508 } __BAUD1CONbits_t;
2510 extern __at(0x019F) volatile __BAUD1CONbits_t BAUD1CONbits;
2512 #define _ABDEN 0x01
2513 #define _WUE 0x02
2514 #define _BRG16 0x08
2515 #define _SCKP 0x10
2516 #define _RCIDL 0x40
2517 #define _ABDOVF 0x80
2519 //==============================================================================
2522 //==============================================================================
2523 // BAUDCON Bits
2525 extern __at(0x019F) __sfr BAUDCON;
2527 typedef struct
2529 unsigned ABDEN : 1;
2530 unsigned WUE : 1;
2531 unsigned : 1;
2532 unsigned BRG16 : 1;
2533 unsigned SCKP : 1;
2534 unsigned : 1;
2535 unsigned RCIDL : 1;
2536 unsigned ABDOVF : 1;
2537 } __BAUDCONbits_t;
2539 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits;
2541 #define _BAUDCON_ABDEN 0x01
2542 #define _BAUDCON_WUE 0x02
2543 #define _BAUDCON_BRG16 0x08
2544 #define _BAUDCON_SCKP 0x10
2545 #define _BAUDCON_RCIDL 0x40
2546 #define _BAUDCON_ABDOVF 0x80
2548 //==============================================================================
2551 //==============================================================================
2552 // BAUDCON1 Bits
2554 extern __at(0x019F) __sfr BAUDCON1;
2556 typedef struct
2558 unsigned ABDEN : 1;
2559 unsigned WUE : 1;
2560 unsigned : 1;
2561 unsigned BRG16 : 1;
2562 unsigned SCKP : 1;
2563 unsigned : 1;
2564 unsigned RCIDL : 1;
2565 unsigned ABDOVF : 1;
2566 } __BAUDCON1bits_t;
2568 extern __at(0x019F) volatile __BAUDCON1bits_t BAUDCON1bits;
2570 #define _BAUDCON1_ABDEN 0x01
2571 #define _BAUDCON1_WUE 0x02
2572 #define _BAUDCON1_BRG16 0x08
2573 #define _BAUDCON1_SCKP 0x10
2574 #define _BAUDCON1_RCIDL 0x40
2575 #define _BAUDCON1_ABDOVF 0x80
2577 //==============================================================================
2580 //==============================================================================
2581 // BAUDCTL Bits
2583 extern __at(0x019F) __sfr BAUDCTL;
2585 typedef struct
2587 unsigned ABDEN : 1;
2588 unsigned WUE : 1;
2589 unsigned : 1;
2590 unsigned BRG16 : 1;
2591 unsigned SCKP : 1;
2592 unsigned : 1;
2593 unsigned RCIDL : 1;
2594 unsigned ABDOVF : 1;
2595 } __BAUDCTLbits_t;
2597 extern __at(0x019F) volatile __BAUDCTLbits_t BAUDCTLbits;
2599 #define _BAUDCTL_ABDEN 0x01
2600 #define _BAUDCTL_WUE 0x02
2601 #define _BAUDCTL_BRG16 0x08
2602 #define _BAUDCTL_SCKP 0x10
2603 #define _BAUDCTL_RCIDL 0x40
2604 #define _BAUDCTL_ABDOVF 0x80
2606 //==============================================================================
2609 //==============================================================================
2610 // BAUDCTL1 Bits
2612 extern __at(0x019F) __sfr BAUDCTL1;
2614 typedef struct
2616 unsigned ABDEN : 1;
2617 unsigned WUE : 1;
2618 unsigned : 1;
2619 unsigned BRG16 : 1;
2620 unsigned SCKP : 1;
2621 unsigned : 1;
2622 unsigned RCIDL : 1;
2623 unsigned ABDOVF : 1;
2624 } __BAUDCTL1bits_t;
2626 extern __at(0x019F) volatile __BAUDCTL1bits_t BAUDCTL1bits;
2628 #define _BAUDCTL1_ABDEN 0x01
2629 #define _BAUDCTL1_WUE 0x02
2630 #define _BAUDCTL1_BRG16 0x08
2631 #define _BAUDCTL1_SCKP 0x10
2632 #define _BAUDCTL1_RCIDL 0x40
2633 #define _BAUDCTL1_ABDOVF 0x80
2635 //==============================================================================
2638 //==============================================================================
2639 // WPUA Bits
2641 extern __at(0x020C) __sfr WPUA;
2643 typedef union
2645 struct
2647 unsigned WPUA0 : 1;
2648 unsigned WPUA1 : 1;
2649 unsigned WPUA2 : 1;
2650 unsigned WPUA3 : 1;
2651 unsigned WPUA4 : 1;
2652 unsigned WPUA5 : 1;
2653 unsigned : 1;
2654 unsigned : 1;
2657 struct
2659 unsigned WPUA : 6;
2660 unsigned : 2;
2662 } __WPUAbits_t;
2664 extern __at(0x020C) volatile __WPUAbits_t WPUAbits;
2666 #define _WPUA0 0x01
2667 #define _WPUA1 0x02
2668 #define _WPUA2 0x04
2669 #define _WPUA3 0x08
2670 #define _WPUA4 0x10
2671 #define _WPUA5 0x20
2673 //==============================================================================
2676 //==============================================================================
2677 // WPUC Bits
2679 extern __at(0x020E) __sfr WPUC;
2681 typedef union
2683 struct
2685 unsigned WPUC0 : 1;
2686 unsigned WPUC1 : 1;
2687 unsigned WPUC2 : 1;
2688 unsigned WPUC3 : 1;
2689 unsigned WPUC4 : 1;
2690 unsigned WPUC5 : 1;
2691 unsigned : 1;
2692 unsigned : 1;
2695 struct
2697 unsigned WPUC : 6;
2698 unsigned : 2;
2700 } __WPUCbits_t;
2702 extern __at(0x020E) volatile __WPUCbits_t WPUCbits;
2704 #define _WPUC0 0x01
2705 #define _WPUC1 0x02
2706 #define _WPUC2 0x04
2707 #define _WPUC3 0x08
2708 #define _WPUC4 0x10
2709 #define _WPUC5 0x20
2711 //==============================================================================
2714 //==============================================================================
2715 // SSP1BUF Bits
2717 extern __at(0x0211) __sfr SSP1BUF;
2719 typedef union
2721 struct
2723 unsigned SSP1BUF0 : 1;
2724 unsigned SSP1BUF1 : 1;
2725 unsigned SSP1BUF2 : 1;
2726 unsigned SSP1BUF3 : 1;
2727 unsigned SSP1BUF4 : 1;
2728 unsigned SSP1BUF5 : 1;
2729 unsigned SSP1BUF6 : 1;
2730 unsigned SSP1BUF7 : 1;
2733 struct
2735 unsigned BUF0 : 1;
2736 unsigned BUF1 : 1;
2737 unsigned BUF2 : 1;
2738 unsigned BUF3 : 1;
2739 unsigned BUF4 : 1;
2740 unsigned BUF5 : 1;
2741 unsigned BUF6 : 1;
2742 unsigned BUF7 : 1;
2744 } __SSP1BUFbits_t;
2746 extern __at(0x0211) volatile __SSP1BUFbits_t SSP1BUFbits;
2748 #define _SSP1BUF0 0x01
2749 #define _BUF0 0x01
2750 #define _SSP1BUF1 0x02
2751 #define _BUF1 0x02
2752 #define _SSP1BUF2 0x04
2753 #define _BUF2 0x04
2754 #define _SSP1BUF3 0x08
2755 #define _BUF3 0x08
2756 #define _SSP1BUF4 0x10
2757 #define _BUF4 0x10
2758 #define _SSP1BUF5 0x20
2759 #define _BUF5 0x20
2760 #define _SSP1BUF6 0x40
2761 #define _BUF6 0x40
2762 #define _SSP1BUF7 0x80
2763 #define _BUF7 0x80
2765 //==============================================================================
2768 //==============================================================================
2769 // SSPBUF Bits
2771 extern __at(0x0211) __sfr SSPBUF;
2773 typedef union
2775 struct
2777 unsigned SSP1BUF0 : 1;
2778 unsigned SSP1BUF1 : 1;
2779 unsigned SSP1BUF2 : 1;
2780 unsigned SSP1BUF3 : 1;
2781 unsigned SSP1BUF4 : 1;
2782 unsigned SSP1BUF5 : 1;
2783 unsigned SSP1BUF6 : 1;
2784 unsigned SSP1BUF7 : 1;
2787 struct
2789 unsigned BUF0 : 1;
2790 unsigned BUF1 : 1;
2791 unsigned BUF2 : 1;
2792 unsigned BUF3 : 1;
2793 unsigned BUF4 : 1;
2794 unsigned BUF5 : 1;
2795 unsigned BUF6 : 1;
2796 unsigned BUF7 : 1;
2798 } __SSPBUFbits_t;
2800 extern __at(0x0211) volatile __SSPBUFbits_t SSPBUFbits;
2802 #define _SSPBUF_SSP1BUF0 0x01
2803 #define _SSPBUF_BUF0 0x01
2804 #define _SSPBUF_SSP1BUF1 0x02
2805 #define _SSPBUF_BUF1 0x02
2806 #define _SSPBUF_SSP1BUF2 0x04
2807 #define _SSPBUF_BUF2 0x04
2808 #define _SSPBUF_SSP1BUF3 0x08
2809 #define _SSPBUF_BUF3 0x08
2810 #define _SSPBUF_SSP1BUF4 0x10
2811 #define _SSPBUF_BUF4 0x10
2812 #define _SSPBUF_SSP1BUF5 0x20
2813 #define _SSPBUF_BUF5 0x20
2814 #define _SSPBUF_SSP1BUF6 0x40
2815 #define _SSPBUF_BUF6 0x40
2816 #define _SSPBUF_SSP1BUF7 0x80
2817 #define _SSPBUF_BUF7 0x80
2819 //==============================================================================
2822 //==============================================================================
2823 // SSP1ADD Bits
2825 extern __at(0x0212) __sfr SSP1ADD;
2827 typedef union
2829 struct
2831 unsigned SSP1ADD0 : 1;
2832 unsigned SSP1ADD1 : 1;
2833 unsigned SSP1ADD2 : 1;
2834 unsigned SSP1ADD3 : 1;
2835 unsigned SSP1ADD4 : 1;
2836 unsigned SSP1ADD5 : 1;
2837 unsigned SSP1ADD6 : 1;
2838 unsigned SSP1ADD7 : 1;
2841 struct
2843 unsigned ADD0 : 1;
2844 unsigned ADD1 : 1;
2845 unsigned ADD2 : 1;
2846 unsigned ADD3 : 1;
2847 unsigned ADD4 : 1;
2848 unsigned ADD5 : 1;
2849 unsigned ADD6 : 1;
2850 unsigned ADD7 : 1;
2852 } __SSP1ADDbits_t;
2854 extern __at(0x0212) volatile __SSP1ADDbits_t SSP1ADDbits;
2856 #define _SSP1ADD0 0x01
2857 #define _ADD0 0x01
2858 #define _SSP1ADD1 0x02
2859 #define _ADD1 0x02
2860 #define _SSP1ADD2 0x04
2861 #define _ADD2 0x04
2862 #define _SSP1ADD3 0x08
2863 #define _ADD3 0x08
2864 #define _SSP1ADD4 0x10
2865 #define _ADD4 0x10
2866 #define _SSP1ADD5 0x20
2867 #define _ADD5 0x20
2868 #define _SSP1ADD6 0x40
2869 #define _ADD6 0x40
2870 #define _SSP1ADD7 0x80
2871 #define _ADD7 0x80
2873 //==============================================================================
2876 //==============================================================================
2877 // SSPADD Bits
2879 extern __at(0x0212) __sfr SSPADD;
2881 typedef union
2883 struct
2885 unsigned SSP1ADD0 : 1;
2886 unsigned SSP1ADD1 : 1;
2887 unsigned SSP1ADD2 : 1;
2888 unsigned SSP1ADD3 : 1;
2889 unsigned SSP1ADD4 : 1;
2890 unsigned SSP1ADD5 : 1;
2891 unsigned SSP1ADD6 : 1;
2892 unsigned SSP1ADD7 : 1;
2895 struct
2897 unsigned ADD0 : 1;
2898 unsigned ADD1 : 1;
2899 unsigned ADD2 : 1;
2900 unsigned ADD3 : 1;
2901 unsigned ADD4 : 1;
2902 unsigned ADD5 : 1;
2903 unsigned ADD6 : 1;
2904 unsigned ADD7 : 1;
2906 } __SSPADDbits_t;
2908 extern __at(0x0212) volatile __SSPADDbits_t SSPADDbits;
2910 #define _SSPADD_SSP1ADD0 0x01
2911 #define _SSPADD_ADD0 0x01
2912 #define _SSPADD_SSP1ADD1 0x02
2913 #define _SSPADD_ADD1 0x02
2914 #define _SSPADD_SSP1ADD2 0x04
2915 #define _SSPADD_ADD2 0x04
2916 #define _SSPADD_SSP1ADD3 0x08
2917 #define _SSPADD_ADD3 0x08
2918 #define _SSPADD_SSP1ADD4 0x10
2919 #define _SSPADD_ADD4 0x10
2920 #define _SSPADD_SSP1ADD5 0x20
2921 #define _SSPADD_ADD5 0x20
2922 #define _SSPADD_SSP1ADD6 0x40
2923 #define _SSPADD_ADD6 0x40
2924 #define _SSPADD_SSP1ADD7 0x80
2925 #define _SSPADD_ADD7 0x80
2927 //==============================================================================
2930 //==============================================================================
2931 // SSP1MSK Bits
2933 extern __at(0x0213) __sfr SSP1MSK;
2935 typedef union
2937 struct
2939 unsigned SSP1MSK0 : 1;
2940 unsigned SSP1MSK1 : 1;
2941 unsigned SSP1MSK2 : 1;
2942 unsigned SSP1MSK3 : 1;
2943 unsigned SSP1MSK4 : 1;
2944 unsigned SSP1MSK5 : 1;
2945 unsigned SSP1MSK6 : 1;
2946 unsigned SSP1MSK7 : 1;
2949 struct
2951 unsigned MSK0 : 1;
2952 unsigned MSK1 : 1;
2953 unsigned MSK2 : 1;
2954 unsigned MSK3 : 1;
2955 unsigned MSK4 : 1;
2956 unsigned MSK5 : 1;
2957 unsigned MSK6 : 1;
2958 unsigned MSK7 : 1;
2960 } __SSP1MSKbits_t;
2962 extern __at(0x0213) volatile __SSP1MSKbits_t SSP1MSKbits;
2964 #define _SSP1MSK0 0x01
2965 #define _MSK0 0x01
2966 #define _SSP1MSK1 0x02
2967 #define _MSK1 0x02
2968 #define _SSP1MSK2 0x04
2969 #define _MSK2 0x04
2970 #define _SSP1MSK3 0x08
2971 #define _MSK3 0x08
2972 #define _SSP1MSK4 0x10
2973 #define _MSK4 0x10
2974 #define _SSP1MSK5 0x20
2975 #define _MSK5 0x20
2976 #define _SSP1MSK6 0x40
2977 #define _MSK6 0x40
2978 #define _SSP1MSK7 0x80
2979 #define _MSK7 0x80
2981 //==============================================================================
2984 //==============================================================================
2985 // SSPMSK Bits
2987 extern __at(0x0213) __sfr SSPMSK;
2989 typedef union
2991 struct
2993 unsigned SSP1MSK0 : 1;
2994 unsigned SSP1MSK1 : 1;
2995 unsigned SSP1MSK2 : 1;
2996 unsigned SSP1MSK3 : 1;
2997 unsigned SSP1MSK4 : 1;
2998 unsigned SSP1MSK5 : 1;
2999 unsigned SSP1MSK6 : 1;
3000 unsigned SSP1MSK7 : 1;
3003 struct
3005 unsigned MSK0 : 1;
3006 unsigned MSK1 : 1;
3007 unsigned MSK2 : 1;
3008 unsigned MSK3 : 1;
3009 unsigned MSK4 : 1;
3010 unsigned MSK5 : 1;
3011 unsigned MSK6 : 1;
3012 unsigned MSK7 : 1;
3014 } __SSPMSKbits_t;
3016 extern __at(0x0213) volatile __SSPMSKbits_t SSPMSKbits;
3018 #define _SSPMSK_SSP1MSK0 0x01
3019 #define _SSPMSK_MSK0 0x01
3020 #define _SSPMSK_SSP1MSK1 0x02
3021 #define _SSPMSK_MSK1 0x02
3022 #define _SSPMSK_SSP1MSK2 0x04
3023 #define _SSPMSK_MSK2 0x04
3024 #define _SSPMSK_SSP1MSK3 0x08
3025 #define _SSPMSK_MSK3 0x08
3026 #define _SSPMSK_SSP1MSK4 0x10
3027 #define _SSPMSK_MSK4 0x10
3028 #define _SSPMSK_SSP1MSK5 0x20
3029 #define _SSPMSK_MSK5 0x20
3030 #define _SSPMSK_SSP1MSK6 0x40
3031 #define _SSPMSK_MSK6 0x40
3032 #define _SSPMSK_SSP1MSK7 0x80
3033 #define _SSPMSK_MSK7 0x80
3035 //==============================================================================
3038 //==============================================================================
3039 // SSP1STAT Bits
3041 extern __at(0x0214) __sfr SSP1STAT;
3043 typedef struct
3045 unsigned BF : 1;
3046 unsigned UA : 1;
3047 unsigned R_NOT_W : 1;
3048 unsigned S : 1;
3049 unsigned P : 1;
3050 unsigned D_NOT_A : 1;
3051 unsigned CKE : 1;
3052 unsigned SMP : 1;
3053 } __SSP1STATbits_t;
3055 extern __at(0x0214) volatile __SSP1STATbits_t SSP1STATbits;
3057 #define _BF 0x01
3058 #define _UA 0x02
3059 #define _R_NOT_W 0x04
3060 #define _S 0x08
3061 #define _P 0x10
3062 #define _D_NOT_A 0x20
3063 #define _CKE 0x40
3064 #define _SMP 0x80
3066 //==============================================================================
3069 //==============================================================================
3070 // SSPSTAT Bits
3072 extern __at(0x0214) __sfr SSPSTAT;
3074 typedef struct
3076 unsigned BF : 1;
3077 unsigned UA : 1;
3078 unsigned R_NOT_W : 1;
3079 unsigned S : 1;
3080 unsigned P : 1;
3081 unsigned D_NOT_A : 1;
3082 unsigned CKE : 1;
3083 unsigned SMP : 1;
3084 } __SSPSTATbits_t;
3086 extern __at(0x0214) volatile __SSPSTATbits_t SSPSTATbits;
3088 #define _SSPSTAT_BF 0x01
3089 #define _SSPSTAT_UA 0x02
3090 #define _SSPSTAT_R_NOT_W 0x04
3091 #define _SSPSTAT_S 0x08
3092 #define _SSPSTAT_P 0x10
3093 #define _SSPSTAT_D_NOT_A 0x20
3094 #define _SSPSTAT_CKE 0x40
3095 #define _SSPSTAT_SMP 0x80
3097 //==============================================================================
3100 //==============================================================================
3101 // SSP1CON Bits
3103 extern __at(0x0215) __sfr SSP1CON;
3105 typedef union
3107 struct
3109 unsigned SSPM0 : 1;
3110 unsigned SSPM1 : 1;
3111 unsigned SSPM2 : 1;
3112 unsigned SSPM3 : 1;
3113 unsigned CKP : 1;
3114 unsigned SSPEN : 1;
3115 unsigned SSPOV : 1;
3116 unsigned WCOL : 1;
3119 struct
3121 unsigned SSPM : 4;
3122 unsigned : 4;
3124 } __SSP1CONbits_t;
3126 extern __at(0x0215) volatile __SSP1CONbits_t SSP1CONbits;
3128 #define _SSPM0 0x01
3129 #define _SSPM1 0x02
3130 #define _SSPM2 0x04
3131 #define _SSPM3 0x08
3132 #define _CKP 0x10
3133 #define _SSPEN 0x20
3134 #define _SSPOV 0x40
3135 #define _WCOL 0x80
3137 //==============================================================================
3140 //==============================================================================
3141 // SSP1CON1 Bits
3143 extern __at(0x0215) __sfr SSP1CON1;
3145 typedef union
3147 struct
3149 unsigned SSPM0 : 1;
3150 unsigned SSPM1 : 1;
3151 unsigned SSPM2 : 1;
3152 unsigned SSPM3 : 1;
3153 unsigned CKP : 1;
3154 unsigned SSPEN : 1;
3155 unsigned SSPOV : 1;
3156 unsigned WCOL : 1;
3159 struct
3161 unsigned SSPM : 4;
3162 unsigned : 4;
3164 } __SSP1CON1bits_t;
3166 extern __at(0x0215) volatile __SSP1CON1bits_t SSP1CON1bits;
3168 #define _SSP1CON1_SSPM0 0x01
3169 #define _SSP1CON1_SSPM1 0x02
3170 #define _SSP1CON1_SSPM2 0x04
3171 #define _SSP1CON1_SSPM3 0x08
3172 #define _SSP1CON1_CKP 0x10
3173 #define _SSP1CON1_SSPEN 0x20
3174 #define _SSP1CON1_SSPOV 0x40
3175 #define _SSP1CON1_WCOL 0x80
3177 //==============================================================================
3180 //==============================================================================
3181 // SSPCON Bits
3183 extern __at(0x0215) __sfr SSPCON;
3185 typedef union
3187 struct
3189 unsigned SSPM0 : 1;
3190 unsigned SSPM1 : 1;
3191 unsigned SSPM2 : 1;
3192 unsigned SSPM3 : 1;
3193 unsigned CKP : 1;
3194 unsigned SSPEN : 1;
3195 unsigned SSPOV : 1;
3196 unsigned WCOL : 1;
3199 struct
3201 unsigned SSPM : 4;
3202 unsigned : 4;
3204 } __SSPCONbits_t;
3206 extern __at(0x0215) volatile __SSPCONbits_t SSPCONbits;
3208 #define _SSPCON_SSPM0 0x01
3209 #define _SSPCON_SSPM1 0x02
3210 #define _SSPCON_SSPM2 0x04
3211 #define _SSPCON_SSPM3 0x08
3212 #define _SSPCON_CKP 0x10
3213 #define _SSPCON_SSPEN 0x20
3214 #define _SSPCON_SSPOV 0x40
3215 #define _SSPCON_WCOL 0x80
3217 //==============================================================================
3220 //==============================================================================
3221 // SSPCON1 Bits
3223 extern __at(0x0215) __sfr SSPCON1;
3225 typedef union
3227 struct
3229 unsigned SSPM0 : 1;
3230 unsigned SSPM1 : 1;
3231 unsigned SSPM2 : 1;
3232 unsigned SSPM3 : 1;
3233 unsigned CKP : 1;
3234 unsigned SSPEN : 1;
3235 unsigned SSPOV : 1;
3236 unsigned WCOL : 1;
3239 struct
3241 unsigned SSPM : 4;
3242 unsigned : 4;
3244 } __SSPCON1bits_t;
3246 extern __at(0x0215) volatile __SSPCON1bits_t SSPCON1bits;
3248 #define _SSPCON1_SSPM0 0x01
3249 #define _SSPCON1_SSPM1 0x02
3250 #define _SSPCON1_SSPM2 0x04
3251 #define _SSPCON1_SSPM3 0x08
3252 #define _SSPCON1_CKP 0x10
3253 #define _SSPCON1_SSPEN 0x20
3254 #define _SSPCON1_SSPOV 0x40
3255 #define _SSPCON1_WCOL 0x80
3257 //==============================================================================
3260 //==============================================================================
3261 // SSP1CON2 Bits
3263 extern __at(0x0216) __sfr SSP1CON2;
3265 typedef struct
3267 unsigned SEN : 1;
3268 unsigned RSEN : 1;
3269 unsigned PEN : 1;
3270 unsigned RCEN : 1;
3271 unsigned ACKEN : 1;
3272 unsigned ACKDT : 1;
3273 unsigned ACKSTAT : 1;
3274 unsigned GCEN : 1;
3275 } __SSP1CON2bits_t;
3277 extern __at(0x0216) volatile __SSP1CON2bits_t SSP1CON2bits;
3279 #define _SEN 0x01
3280 #define _RSEN 0x02
3281 #define _PEN 0x04
3282 #define _RCEN 0x08
3283 #define _ACKEN 0x10
3284 #define _ACKDT 0x20
3285 #define _ACKSTAT 0x40
3286 #define _GCEN 0x80
3288 //==============================================================================
3291 //==============================================================================
3292 // SSPCON2 Bits
3294 extern __at(0x0216) __sfr SSPCON2;
3296 typedef struct
3298 unsigned SEN : 1;
3299 unsigned RSEN : 1;
3300 unsigned PEN : 1;
3301 unsigned RCEN : 1;
3302 unsigned ACKEN : 1;
3303 unsigned ACKDT : 1;
3304 unsigned ACKSTAT : 1;
3305 unsigned GCEN : 1;
3306 } __SSPCON2bits_t;
3308 extern __at(0x0216) volatile __SSPCON2bits_t SSPCON2bits;
3310 #define _SSPCON2_SEN 0x01
3311 #define _SSPCON2_RSEN 0x02
3312 #define _SSPCON2_PEN 0x04
3313 #define _SSPCON2_RCEN 0x08
3314 #define _SSPCON2_ACKEN 0x10
3315 #define _SSPCON2_ACKDT 0x20
3316 #define _SSPCON2_ACKSTAT 0x40
3317 #define _SSPCON2_GCEN 0x80
3319 //==============================================================================
3322 //==============================================================================
3323 // SSP1CON3 Bits
3325 extern __at(0x0217) __sfr SSP1CON3;
3327 typedef struct
3329 unsigned DHEN : 1;
3330 unsigned AHEN : 1;
3331 unsigned SBCDE : 1;
3332 unsigned SDAHT : 1;
3333 unsigned BOEN : 1;
3334 unsigned SCIE : 1;
3335 unsigned PCIE : 1;
3336 unsigned ACKTIM : 1;
3337 } __SSP1CON3bits_t;
3339 extern __at(0x0217) volatile __SSP1CON3bits_t SSP1CON3bits;
3341 #define _DHEN 0x01
3342 #define _AHEN 0x02
3343 #define _SBCDE 0x04
3344 #define _SDAHT 0x08
3345 #define _BOEN 0x10
3346 #define _SCIE 0x20
3347 #define _PCIE 0x40
3348 #define _ACKTIM 0x80
3350 //==============================================================================
3353 //==============================================================================
3354 // SSPCON3 Bits
3356 extern __at(0x0217) __sfr SSPCON3;
3358 typedef struct
3360 unsigned DHEN : 1;
3361 unsigned AHEN : 1;
3362 unsigned SBCDE : 1;
3363 unsigned SDAHT : 1;
3364 unsigned BOEN : 1;
3365 unsigned SCIE : 1;
3366 unsigned PCIE : 1;
3367 unsigned ACKTIM : 1;
3368 } __SSPCON3bits_t;
3370 extern __at(0x0217) volatile __SSPCON3bits_t SSPCON3bits;
3372 #define _SSPCON3_DHEN 0x01
3373 #define _SSPCON3_AHEN 0x02
3374 #define _SSPCON3_SBCDE 0x04
3375 #define _SSPCON3_SDAHT 0x08
3376 #define _SSPCON3_BOEN 0x10
3377 #define _SSPCON3_SCIE 0x20
3378 #define _SSPCON3_PCIE 0x40
3379 #define _SSPCON3_ACKTIM 0x80
3381 //==============================================================================
3384 //==============================================================================
3385 // ODCONA Bits
3387 extern __at(0x028C) __sfr ODCONA;
3389 typedef struct
3391 unsigned ODA0 : 1;
3392 unsigned ODA1 : 1;
3393 unsigned ODA2 : 1;
3394 unsigned : 1;
3395 unsigned ODA4 : 1;
3396 unsigned ODA5 : 1;
3397 unsigned : 1;
3398 unsigned : 1;
3399 } __ODCONAbits_t;
3401 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits;
3403 #define _ODA0 0x01
3404 #define _ODA1 0x02
3405 #define _ODA2 0x04
3406 #define _ODA4 0x10
3407 #define _ODA5 0x20
3409 //==============================================================================
3412 //==============================================================================
3413 // ODCONC Bits
3415 extern __at(0x028E) __sfr ODCONC;
3417 typedef union
3419 struct
3421 unsigned ODC0 : 1;
3422 unsigned ODC1 : 1;
3423 unsigned ODC2 : 1;
3424 unsigned ODC3 : 1;
3425 unsigned ODC4 : 1;
3426 unsigned ODC5 : 1;
3427 unsigned : 1;
3428 unsigned : 1;
3431 struct
3433 unsigned ODC : 6;
3434 unsigned : 2;
3436 } __ODCONCbits_t;
3438 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits;
3440 #define _ODC0 0x01
3441 #define _ODC1 0x02
3442 #define _ODC2 0x04
3443 #define _ODC3 0x08
3444 #define _ODC4 0x10
3445 #define _ODC5 0x20
3447 //==============================================================================
3449 extern __at(0x0291) __sfr CCPR1;
3450 extern __at(0x0291) __sfr CCPR1L;
3451 extern __at(0x0292) __sfr CCPR1H;
3453 //==============================================================================
3454 // CCP1CON Bits
3456 extern __at(0x0293) __sfr CCP1CON;
3458 typedef union
3460 struct
3462 unsigned MODE0 : 1;
3463 unsigned MODE1 : 1;
3464 unsigned MODE2 : 1;
3465 unsigned MODE3 : 1;
3466 unsigned FMT : 1;
3467 unsigned OUT : 1;
3468 unsigned : 1;
3469 unsigned EN : 1;
3472 struct
3474 unsigned CCP1MODE0 : 1;
3475 unsigned CCP1MODE1 : 1;
3476 unsigned CCP1MODE2 : 1;
3477 unsigned CCP1MODE3 : 1;
3478 unsigned CCP1FMT : 1;
3479 unsigned CCP1OUT : 1;
3480 unsigned : 1;
3481 unsigned CCP1EN : 1;
3484 struct
3486 unsigned CCP1MODE : 4;
3487 unsigned : 4;
3490 struct
3492 unsigned MODE : 4;
3493 unsigned : 4;
3495 } __CCP1CONbits_t;
3497 extern __at(0x0293) volatile __CCP1CONbits_t CCP1CONbits;
3499 #define _CCP1CON_MODE0 0x01
3500 #define _CCP1CON_CCP1MODE0 0x01
3501 #define _CCP1CON_MODE1 0x02
3502 #define _CCP1CON_CCP1MODE1 0x02
3503 #define _CCP1CON_MODE2 0x04
3504 #define _CCP1CON_CCP1MODE2 0x04
3505 #define _CCP1CON_MODE3 0x08
3506 #define _CCP1CON_CCP1MODE3 0x08
3507 #define _CCP1CON_FMT 0x10
3508 #define _CCP1CON_CCP1FMT 0x10
3509 #define _CCP1CON_OUT 0x20
3510 #define _CCP1CON_CCP1OUT 0x20
3511 #define _CCP1CON_EN 0x80
3512 #define _CCP1CON_CCP1EN 0x80
3514 //==============================================================================
3517 //==============================================================================
3518 // CCP1CAP Bits
3520 extern __at(0x0294) __sfr CCP1CAP;
3522 typedef union
3524 struct
3526 unsigned CTS0 : 1;
3527 unsigned CTS1 : 1;
3528 unsigned CTS2 : 1;
3529 unsigned : 1;
3530 unsigned : 1;
3531 unsigned : 1;
3532 unsigned : 1;
3533 unsigned : 1;
3536 struct
3538 unsigned CCP1CTS0 : 1;
3539 unsigned CCP1CTS1 : 1;
3540 unsigned CCP1CTS2 : 1;
3541 unsigned : 1;
3542 unsigned : 1;
3543 unsigned : 1;
3544 unsigned : 1;
3545 unsigned : 1;
3548 struct
3550 unsigned CCP1CTS : 3;
3551 unsigned : 5;
3554 struct
3556 unsigned CTS : 3;
3557 unsigned : 5;
3559 } __CCP1CAPbits_t;
3561 extern __at(0x0294) volatile __CCP1CAPbits_t CCP1CAPbits;
3563 #define _CTS0 0x01
3564 #define _CCP1CTS0 0x01
3565 #define _CTS1 0x02
3566 #define _CCP1CTS1 0x02
3567 #define _CTS2 0x04
3568 #define _CCP1CTS2 0x04
3570 //==============================================================================
3572 extern __at(0x0298) __sfr CCPR2;
3573 extern __at(0x0298) __sfr CCPR2L;
3574 extern __at(0x0299) __sfr CCPR2H;
3576 //==============================================================================
3577 // CCP2CON Bits
3579 extern __at(0x029A) __sfr CCP2CON;
3581 typedef union
3583 struct
3585 unsigned MODE0 : 1;
3586 unsigned MODE1 : 1;
3587 unsigned MODE2 : 1;
3588 unsigned MODE3 : 1;
3589 unsigned FMT : 1;
3590 unsigned OUT : 1;
3591 unsigned : 1;
3592 unsigned EN : 1;
3595 struct
3597 unsigned CCP2MODE0 : 1;
3598 unsigned CCP2MODE1 : 1;
3599 unsigned CCP2MODE2 : 1;
3600 unsigned CCP2MODE3 : 1;
3601 unsigned CCP2FMT : 1;
3602 unsigned CCP2OUT : 1;
3603 unsigned : 1;
3604 unsigned CCP2EN : 1;
3607 struct
3609 unsigned CCP2MODE : 4;
3610 unsigned : 4;
3613 struct
3615 unsigned MODE : 4;
3616 unsigned : 4;
3618 } __CCP2CONbits_t;
3620 extern __at(0x029A) volatile __CCP2CONbits_t CCP2CONbits;
3622 #define _CCP2CON_MODE0 0x01
3623 #define _CCP2CON_CCP2MODE0 0x01
3624 #define _CCP2CON_MODE1 0x02
3625 #define _CCP2CON_CCP2MODE1 0x02
3626 #define _CCP2CON_MODE2 0x04
3627 #define _CCP2CON_CCP2MODE2 0x04
3628 #define _CCP2CON_MODE3 0x08
3629 #define _CCP2CON_CCP2MODE3 0x08
3630 #define _CCP2CON_FMT 0x10
3631 #define _CCP2CON_CCP2FMT 0x10
3632 #define _CCP2CON_OUT 0x20
3633 #define _CCP2CON_CCP2OUT 0x20
3634 #define _CCP2CON_EN 0x80
3635 #define _CCP2CON_CCP2EN 0x80
3637 //==============================================================================
3640 //==============================================================================
3641 // CCP2CAP Bits
3643 extern __at(0x029B) __sfr CCP2CAP;
3645 typedef union
3647 struct
3649 unsigned CTS0 : 1;
3650 unsigned CTS1 : 1;
3651 unsigned CTS2 : 1;
3652 unsigned : 1;
3653 unsigned : 1;
3654 unsigned : 1;
3655 unsigned : 1;
3656 unsigned : 1;
3659 struct
3661 unsigned CCP2CTS0 : 1;
3662 unsigned CCP2CTS1 : 1;
3663 unsigned CCP2CTS2 : 1;
3664 unsigned : 1;
3665 unsigned : 1;
3666 unsigned : 1;
3667 unsigned : 1;
3668 unsigned : 1;
3671 struct
3673 unsigned CTS : 3;
3674 unsigned : 5;
3677 struct
3679 unsigned CCP2CTS : 3;
3680 unsigned : 5;
3682 } __CCP2CAPbits_t;
3684 extern __at(0x029B) volatile __CCP2CAPbits_t CCP2CAPbits;
3686 #define _CCP2CAP_CTS0 0x01
3687 #define _CCP2CAP_CCP2CTS0 0x01
3688 #define _CCP2CAP_CTS1 0x02
3689 #define _CCP2CAP_CCP2CTS1 0x02
3690 #define _CCP2CAP_CTS2 0x04
3691 #define _CCP2CAP_CCP2CTS2 0x04
3693 //==============================================================================
3696 //==============================================================================
3697 // CCPTMRS Bits
3699 extern __at(0x029E) __sfr CCPTMRS;
3701 typedef union
3703 struct
3705 unsigned CCP1TSEL0 : 1;
3706 unsigned CCP1TSEL1 : 1;
3707 unsigned CCP2TSEL0 : 1;
3708 unsigned CCP2TSEL1 : 1;
3709 unsigned P3TSEL0 : 1;
3710 unsigned P3TSEL1 : 1;
3711 unsigned P4TSEL0 : 1;
3712 unsigned P4TSEL1 : 1;
3715 struct
3717 unsigned CCP1TSEL : 2;
3718 unsigned : 6;
3721 struct
3723 unsigned : 2;
3724 unsigned CCP2TSEL : 2;
3725 unsigned : 4;
3728 struct
3730 unsigned : 4;
3731 unsigned P3TSEL : 2;
3732 unsigned : 2;
3735 struct
3737 unsigned : 6;
3738 unsigned P4TSEL : 2;
3740 } __CCPTMRSbits_t;
3742 extern __at(0x029E) volatile __CCPTMRSbits_t CCPTMRSbits;
3744 #define _CCP1TSEL0 0x01
3745 #define _CCP1TSEL1 0x02
3746 #define _CCP2TSEL0 0x04
3747 #define _CCP2TSEL1 0x08
3748 #define _P3TSEL0 0x10
3749 #define _P3TSEL1 0x20
3750 #define _P4TSEL0 0x40
3751 #define _P4TSEL1 0x80
3753 //==============================================================================
3756 //==============================================================================
3757 // SLRCONA Bits
3759 extern __at(0x030C) __sfr SLRCONA;
3761 typedef struct
3763 unsigned SLRA0 : 1;
3764 unsigned SLRA1 : 1;
3765 unsigned SLRA2 : 1;
3766 unsigned : 1;
3767 unsigned SLRA4 : 1;
3768 unsigned SLRA5 : 1;
3769 unsigned : 1;
3770 unsigned : 1;
3771 } __SLRCONAbits_t;
3773 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits;
3775 #define _SLRA0 0x01
3776 #define _SLRA1 0x02
3777 #define _SLRA2 0x04
3778 #define _SLRA4 0x10
3779 #define _SLRA5 0x20
3781 //==============================================================================
3784 //==============================================================================
3785 // SLRCONC Bits
3787 extern __at(0x030E) __sfr SLRCONC;
3789 typedef union
3791 struct
3793 unsigned SLRC0 : 1;
3794 unsigned SLRC1 : 1;
3795 unsigned SLRC2 : 1;
3796 unsigned SLRC3 : 1;
3797 unsigned SLRC4 : 1;
3798 unsigned SLRC5 : 1;
3799 unsigned : 1;
3800 unsigned : 1;
3803 struct
3805 unsigned SLRC : 6;
3806 unsigned : 2;
3808 } __SLRCONCbits_t;
3810 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits;
3812 #define _SLRC0 0x01
3813 #define _SLRC1 0x02
3814 #define _SLRC2 0x04
3815 #define _SLRC3 0x08
3816 #define _SLRC4 0x10
3817 #define _SLRC5 0x20
3819 //==============================================================================
3822 //==============================================================================
3823 // INLVLA Bits
3825 extern __at(0x038C) __sfr INLVLA;
3827 typedef union
3829 struct
3831 unsigned INLVLA0 : 1;
3832 unsigned INLVLA1 : 1;
3833 unsigned INLVLA2 : 1;
3834 unsigned INLVLA3 : 1;
3835 unsigned INLVLA4 : 1;
3836 unsigned INLVLA5 : 1;
3837 unsigned : 1;
3838 unsigned : 1;
3841 struct
3843 unsigned INLVLA : 6;
3844 unsigned : 2;
3846 } __INLVLAbits_t;
3848 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits;
3850 #define _INLVLA0 0x01
3851 #define _INLVLA1 0x02
3852 #define _INLVLA2 0x04
3853 #define _INLVLA3 0x08
3854 #define _INLVLA4 0x10
3855 #define _INLVLA5 0x20
3857 //==============================================================================
3860 //==============================================================================
3861 // INLVLC Bits
3863 extern __at(0x038E) __sfr INLVLC;
3865 typedef union
3867 struct
3869 unsigned INLVLC0 : 1;
3870 unsigned INLVLC1 : 1;
3871 unsigned INLVLC2 : 1;
3872 unsigned INLVLC3 : 1;
3873 unsigned INLVLC4 : 1;
3874 unsigned INLVLC5 : 1;
3875 unsigned : 1;
3876 unsigned : 1;
3879 struct
3881 unsigned INLVLC : 6;
3882 unsigned : 2;
3884 } __INLVLCbits_t;
3886 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits;
3888 #define _INLVLC0 0x01
3889 #define _INLVLC1 0x02
3890 #define _INLVLC2 0x04
3891 #define _INLVLC3 0x08
3892 #define _INLVLC4 0x10
3893 #define _INLVLC5 0x20
3895 //==============================================================================
3898 //==============================================================================
3899 // IOCAP Bits
3901 extern __at(0x0391) __sfr IOCAP;
3903 typedef union
3905 struct
3907 unsigned IOCAP0 : 1;
3908 unsigned IOCAP1 : 1;
3909 unsigned IOCAP2 : 1;
3910 unsigned IOCAP3 : 1;
3911 unsigned IOCAP4 : 1;
3912 unsigned IOCAP5 : 1;
3913 unsigned : 1;
3914 unsigned : 1;
3917 struct
3919 unsigned IOCAP : 6;
3920 unsigned : 2;
3922 } __IOCAPbits_t;
3924 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits;
3926 #define _IOCAP0 0x01
3927 #define _IOCAP1 0x02
3928 #define _IOCAP2 0x04
3929 #define _IOCAP3 0x08
3930 #define _IOCAP4 0x10
3931 #define _IOCAP5 0x20
3933 //==============================================================================
3936 //==============================================================================
3937 // IOCAN Bits
3939 extern __at(0x0392) __sfr IOCAN;
3941 typedef union
3943 struct
3945 unsigned IOCAN0 : 1;
3946 unsigned IOCAN1 : 1;
3947 unsigned IOCAN2 : 1;
3948 unsigned IOCAN3 : 1;
3949 unsigned IOCAN4 : 1;
3950 unsigned IOCAN5 : 1;
3951 unsigned : 1;
3952 unsigned : 1;
3955 struct
3957 unsigned IOCAN : 6;
3958 unsigned : 2;
3960 } __IOCANbits_t;
3962 extern __at(0x0392) volatile __IOCANbits_t IOCANbits;
3964 #define _IOCAN0 0x01
3965 #define _IOCAN1 0x02
3966 #define _IOCAN2 0x04
3967 #define _IOCAN3 0x08
3968 #define _IOCAN4 0x10
3969 #define _IOCAN5 0x20
3971 //==============================================================================
3974 //==============================================================================
3975 // IOCAF Bits
3977 extern __at(0x0393) __sfr IOCAF;
3979 typedef union
3981 struct
3983 unsigned IOCAF0 : 1;
3984 unsigned IOCAF1 : 1;
3985 unsigned IOCAF2 : 1;
3986 unsigned IOCAF3 : 1;
3987 unsigned IOCAF4 : 1;
3988 unsigned IOCAF5 : 1;
3989 unsigned : 1;
3990 unsigned : 1;
3993 struct
3995 unsigned IOCAF : 6;
3996 unsigned : 2;
3998 } __IOCAFbits_t;
4000 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits;
4002 #define _IOCAF0 0x01
4003 #define _IOCAF1 0x02
4004 #define _IOCAF2 0x04
4005 #define _IOCAF3 0x08
4006 #define _IOCAF4 0x10
4007 #define _IOCAF5 0x20
4009 //==============================================================================
4012 //==============================================================================
4013 // IOCCP Bits
4015 extern __at(0x0397) __sfr IOCCP;
4017 typedef union
4019 struct
4021 unsigned IOCCP0 : 1;
4022 unsigned IOCCP1 : 1;
4023 unsigned IOCCP2 : 1;
4024 unsigned IOCCP3 : 1;
4025 unsigned IOCCP4 : 1;
4026 unsigned IOCCP5 : 1;
4027 unsigned : 1;
4028 unsigned : 1;
4031 struct
4033 unsigned IOCCP : 6;
4034 unsigned : 2;
4036 } __IOCCPbits_t;
4038 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits;
4040 #define _IOCCP0 0x01
4041 #define _IOCCP1 0x02
4042 #define _IOCCP2 0x04
4043 #define _IOCCP3 0x08
4044 #define _IOCCP4 0x10
4045 #define _IOCCP5 0x20
4047 //==============================================================================
4050 //==============================================================================
4051 // IOCCN Bits
4053 extern __at(0x0398) __sfr IOCCN;
4055 typedef union
4057 struct
4059 unsigned IOCCN0 : 1;
4060 unsigned IOCCN1 : 1;
4061 unsigned IOCCN2 : 1;
4062 unsigned IOCCN3 : 1;
4063 unsigned IOCCN4 : 1;
4064 unsigned IOCCN5 : 1;
4065 unsigned : 1;
4066 unsigned : 1;
4069 struct
4071 unsigned IOCCN : 6;
4072 unsigned : 2;
4074 } __IOCCNbits_t;
4076 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits;
4078 #define _IOCCN0 0x01
4079 #define _IOCCN1 0x02
4080 #define _IOCCN2 0x04
4081 #define _IOCCN3 0x08
4082 #define _IOCCN4 0x10
4083 #define _IOCCN5 0x20
4085 //==============================================================================
4088 //==============================================================================
4089 // IOCCF Bits
4091 extern __at(0x0399) __sfr IOCCF;
4093 typedef union
4095 struct
4097 unsigned IOCCF0 : 1;
4098 unsigned IOCCF1 : 1;
4099 unsigned IOCCF2 : 1;
4100 unsigned IOCCF3 : 1;
4101 unsigned IOCCF4 : 1;
4102 unsigned IOCCF5 : 1;
4103 unsigned : 1;
4104 unsigned : 1;
4107 struct
4109 unsigned IOCCF : 6;
4110 unsigned : 2;
4112 } __IOCCFbits_t;
4114 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits;
4116 #define _IOCCF0 0x01
4117 #define _IOCCF1 0x02
4118 #define _IOCCF2 0x04
4119 #define _IOCCF3 0x08
4120 #define _IOCCF4 0x10
4121 #define _IOCCF5 0x20
4123 //==============================================================================
4126 //==============================================================================
4127 // HIDRVC Bits
4129 extern __at(0x040E) __sfr HIDRVC;
4131 typedef struct
4133 unsigned : 1;
4134 unsigned : 1;
4135 unsigned : 1;
4136 unsigned : 1;
4137 unsigned HIDC4 : 1;
4138 unsigned HIDC5 : 1;
4139 unsigned : 1;
4140 unsigned : 1;
4141 } __HIDRVCbits_t;
4143 extern __at(0x040E) volatile __HIDRVCbits_t HIDRVCbits;
4145 #define _HIDC4 0x10
4146 #define _HIDC5 0x20
4148 //==============================================================================
4150 extern __at(0x0413) __sfr T4TMR;
4151 extern __at(0x0413) __sfr TMR4;
4152 extern __at(0x0414) __sfr PR4;
4153 extern __at(0x0414) __sfr T4PR;
4155 //==============================================================================
4156 // T4CON Bits
4158 extern __at(0x0415) __sfr T4CON;
4160 typedef union
4162 struct
4164 unsigned OUTPS0 : 1;
4165 unsigned OUTPS1 : 1;
4166 unsigned OUTPS2 : 1;
4167 unsigned OUTPS3 : 1;
4168 unsigned CKPS0 : 1;
4169 unsigned CKPS1 : 1;
4170 unsigned CKPS2 : 1;
4171 unsigned ON : 1;
4174 struct
4176 unsigned T4OUTPS0 : 1;
4177 unsigned T4OUTPS1 : 1;
4178 unsigned T4OUTPS2 : 1;
4179 unsigned T4OUTPS3 : 1;
4180 unsigned T4CKPS0 : 1;
4181 unsigned T4CKPS1 : 1;
4182 unsigned T4CKPS2 : 1;
4183 unsigned T4ON : 1;
4186 struct
4188 unsigned : 1;
4189 unsigned : 1;
4190 unsigned : 1;
4191 unsigned : 1;
4192 unsigned : 1;
4193 unsigned : 1;
4194 unsigned : 1;
4195 unsigned TMR4ON : 1;
4198 struct
4200 unsigned T4OUTPS : 4;
4201 unsigned : 4;
4204 struct
4206 unsigned OUTPS : 4;
4207 unsigned : 4;
4210 struct
4212 unsigned : 4;
4213 unsigned T4CKPS : 3;
4214 unsigned : 1;
4217 struct
4219 unsigned : 4;
4220 unsigned CKPS : 3;
4221 unsigned : 1;
4223 } __T4CONbits_t;
4225 extern __at(0x0415) volatile __T4CONbits_t T4CONbits;
4227 #define _T4CON_OUTPS0 0x01
4228 #define _T4CON_T4OUTPS0 0x01
4229 #define _T4CON_OUTPS1 0x02
4230 #define _T4CON_T4OUTPS1 0x02
4231 #define _T4CON_OUTPS2 0x04
4232 #define _T4CON_T4OUTPS2 0x04
4233 #define _T4CON_OUTPS3 0x08
4234 #define _T4CON_T4OUTPS3 0x08
4235 #define _T4CON_CKPS0 0x10
4236 #define _T4CON_T4CKPS0 0x10
4237 #define _T4CON_CKPS1 0x20
4238 #define _T4CON_T4CKPS1 0x20
4239 #define _T4CON_CKPS2 0x40
4240 #define _T4CON_T4CKPS2 0x40
4241 #define _T4CON_ON 0x80
4242 #define _T4CON_T4ON 0x80
4243 #define _T4CON_TMR4ON 0x80
4245 //==============================================================================
4248 //==============================================================================
4249 // T4HLT Bits
4251 extern __at(0x0416) __sfr T4HLT;
4253 typedef union
4255 struct
4257 unsigned MODE0 : 1;
4258 unsigned MODE1 : 1;
4259 unsigned MODE2 : 1;
4260 unsigned MODE3 : 1;
4261 unsigned MODE4 : 1;
4262 unsigned CKSYNC : 1;
4263 unsigned CKPOL : 1;
4264 unsigned PSYNC : 1;
4267 struct
4269 unsigned T4MODE0 : 1;
4270 unsigned T4MODE1 : 1;
4271 unsigned T4MODE2 : 1;
4272 unsigned T4MODE3 : 1;
4273 unsigned T4MODE4 : 1;
4274 unsigned T4CKSYNC : 1;
4275 unsigned T4CKPOL : 1;
4276 unsigned T4PSYNC : 1;
4279 struct
4281 unsigned MODE : 5;
4282 unsigned : 3;
4285 struct
4287 unsigned T4MODE : 5;
4288 unsigned : 3;
4290 } __T4HLTbits_t;
4292 extern __at(0x0416) volatile __T4HLTbits_t T4HLTbits;
4294 #define _T4HLT_MODE0 0x01
4295 #define _T4HLT_T4MODE0 0x01
4296 #define _T4HLT_MODE1 0x02
4297 #define _T4HLT_T4MODE1 0x02
4298 #define _T4HLT_MODE2 0x04
4299 #define _T4HLT_T4MODE2 0x04
4300 #define _T4HLT_MODE3 0x08
4301 #define _T4HLT_T4MODE3 0x08
4302 #define _T4HLT_MODE4 0x10
4303 #define _T4HLT_T4MODE4 0x10
4304 #define _T4HLT_CKSYNC 0x20
4305 #define _T4HLT_T4CKSYNC 0x20
4306 #define _T4HLT_CKPOL 0x40
4307 #define _T4HLT_T4CKPOL 0x40
4308 #define _T4HLT_PSYNC 0x80
4309 #define _T4HLT_T4PSYNC 0x80
4311 //==============================================================================
4314 //==============================================================================
4315 // T4CLKCON Bits
4317 extern __at(0x0417) __sfr T4CLKCON;
4319 typedef union
4321 struct
4323 unsigned CS0 : 1;
4324 unsigned CS1 : 1;
4325 unsigned CS2 : 1;
4326 unsigned CS3 : 1;
4327 unsigned : 1;
4328 unsigned : 1;
4329 unsigned : 1;
4330 unsigned : 1;
4333 struct
4335 unsigned T4CS0 : 1;
4336 unsigned T4CS1 : 1;
4337 unsigned T4CS2 : 1;
4338 unsigned T4CS3 : 1;
4339 unsigned : 1;
4340 unsigned : 1;
4341 unsigned : 1;
4342 unsigned : 1;
4345 struct
4347 unsigned CS : 4;
4348 unsigned : 4;
4351 struct
4353 unsigned T4CS : 4;
4354 unsigned : 4;
4356 } __T4CLKCONbits_t;
4358 extern __at(0x0417) volatile __T4CLKCONbits_t T4CLKCONbits;
4360 #define _T4CLKCON_CS0 0x01
4361 #define _T4CLKCON_T4CS0 0x01
4362 #define _T4CLKCON_CS1 0x02
4363 #define _T4CLKCON_T4CS1 0x02
4364 #define _T4CLKCON_CS2 0x04
4365 #define _T4CLKCON_T4CS2 0x04
4366 #define _T4CLKCON_CS3 0x08
4367 #define _T4CLKCON_T4CS3 0x08
4369 //==============================================================================
4372 //==============================================================================
4373 // T4RST Bits
4375 extern __at(0x0418) __sfr T4RST;
4377 typedef union
4379 struct
4381 unsigned RSEL0 : 1;
4382 unsigned RSEL1 : 1;
4383 unsigned RSEL2 : 1;
4384 unsigned RSEL3 : 1;
4385 unsigned : 1;
4386 unsigned : 1;
4387 unsigned : 1;
4388 unsigned : 1;
4391 struct
4393 unsigned T4RSEL0 : 1;
4394 unsigned T4RSEL1 : 1;
4395 unsigned T4RSEL2 : 1;
4396 unsigned T4RSEL3 : 1;
4397 unsigned : 1;
4398 unsigned : 1;
4399 unsigned : 1;
4400 unsigned : 1;
4403 struct
4405 unsigned T4RSEL : 4;
4406 unsigned : 4;
4409 struct
4411 unsigned RSEL : 4;
4412 unsigned : 4;
4414 } __T4RSTbits_t;
4416 extern __at(0x0418) volatile __T4RSTbits_t T4RSTbits;
4418 #define _T4RST_RSEL0 0x01
4419 #define _T4RST_T4RSEL0 0x01
4420 #define _T4RST_RSEL1 0x02
4421 #define _T4RST_T4RSEL1 0x02
4422 #define _T4RST_RSEL2 0x04
4423 #define _T4RST_T4RSEL2 0x04
4424 #define _T4RST_RSEL3 0x08
4425 #define _T4RST_T4RSEL3 0x08
4427 //==============================================================================
4429 extern __at(0x041A) __sfr T6TMR;
4430 extern __at(0x041A) __sfr TMR6;
4431 extern __at(0x041B) __sfr PR6;
4432 extern __at(0x041B) __sfr T6PR;
4434 //==============================================================================
4435 // T6CON Bits
4437 extern __at(0x041C) __sfr T6CON;
4439 typedef union
4441 struct
4443 unsigned OUTPS0 : 1;
4444 unsigned OUTPS1 : 1;
4445 unsigned OUTPS2 : 1;
4446 unsigned OUTPS3 : 1;
4447 unsigned CKPS0 : 1;
4448 unsigned CKPS1 : 1;
4449 unsigned CKPS2 : 1;
4450 unsigned ON : 1;
4453 struct
4455 unsigned T6OUTPS0 : 1;
4456 unsigned T6OUTPS1 : 1;
4457 unsigned T6OUTPS2 : 1;
4458 unsigned T6OUTPS3 : 1;
4459 unsigned T6CKPS0 : 1;
4460 unsigned T6CKPS1 : 1;
4461 unsigned T6CKPS2 : 1;
4462 unsigned T6ON : 1;
4465 struct
4467 unsigned : 1;
4468 unsigned : 1;
4469 unsigned : 1;
4470 unsigned : 1;
4471 unsigned : 1;
4472 unsigned : 1;
4473 unsigned : 1;
4474 unsigned TMR6ON : 1;
4477 struct
4479 unsigned OUTPS : 4;
4480 unsigned : 4;
4483 struct
4485 unsigned T6OUTPS : 4;
4486 unsigned : 4;
4489 struct
4491 unsigned : 4;
4492 unsigned CKPS : 3;
4493 unsigned : 1;
4496 struct
4498 unsigned : 4;
4499 unsigned T6CKPS : 3;
4500 unsigned : 1;
4502 } __T6CONbits_t;
4504 extern __at(0x041C) volatile __T6CONbits_t T6CONbits;
4506 #define _T6CON_OUTPS0 0x01
4507 #define _T6CON_T6OUTPS0 0x01
4508 #define _T6CON_OUTPS1 0x02
4509 #define _T6CON_T6OUTPS1 0x02
4510 #define _T6CON_OUTPS2 0x04
4511 #define _T6CON_T6OUTPS2 0x04
4512 #define _T6CON_OUTPS3 0x08
4513 #define _T6CON_T6OUTPS3 0x08
4514 #define _T6CON_CKPS0 0x10
4515 #define _T6CON_T6CKPS0 0x10
4516 #define _T6CON_CKPS1 0x20
4517 #define _T6CON_T6CKPS1 0x20
4518 #define _T6CON_CKPS2 0x40
4519 #define _T6CON_T6CKPS2 0x40
4520 #define _T6CON_ON 0x80
4521 #define _T6CON_T6ON 0x80
4522 #define _T6CON_TMR6ON 0x80
4524 //==============================================================================
4527 //==============================================================================
4528 // T6HLT Bits
4530 extern __at(0x041D) __sfr T6HLT;
4532 typedef union
4534 struct
4536 unsigned MODE0 : 1;
4537 unsigned MODE1 : 1;
4538 unsigned MODE2 : 1;
4539 unsigned MODE3 : 1;
4540 unsigned MODE4 : 1;
4541 unsigned CKSYNC : 1;
4542 unsigned CKPOL : 1;
4543 unsigned PSYNC : 1;
4546 struct
4548 unsigned T6MODE0 : 1;
4549 unsigned T6MODE1 : 1;
4550 unsigned T6MODE2 : 1;
4551 unsigned T6MODE3 : 1;
4552 unsigned T6MODE4 : 1;
4553 unsigned T6CKSYNC : 1;
4554 unsigned T6CKPOL : 1;
4555 unsigned T6PSYNC : 1;
4558 struct
4560 unsigned MODE : 5;
4561 unsigned : 3;
4564 struct
4566 unsigned T6MODE : 5;
4567 unsigned : 3;
4569 } __T6HLTbits_t;
4571 extern __at(0x041D) volatile __T6HLTbits_t T6HLTbits;
4573 #define _T6HLT_MODE0 0x01
4574 #define _T6HLT_T6MODE0 0x01
4575 #define _T6HLT_MODE1 0x02
4576 #define _T6HLT_T6MODE1 0x02
4577 #define _T6HLT_MODE2 0x04
4578 #define _T6HLT_T6MODE2 0x04
4579 #define _T6HLT_MODE3 0x08
4580 #define _T6HLT_T6MODE3 0x08
4581 #define _T6HLT_MODE4 0x10
4582 #define _T6HLT_T6MODE4 0x10
4583 #define _T6HLT_CKSYNC 0x20
4584 #define _T6HLT_T6CKSYNC 0x20
4585 #define _T6HLT_CKPOL 0x40
4586 #define _T6HLT_T6CKPOL 0x40
4587 #define _T6HLT_PSYNC 0x80
4588 #define _T6HLT_T6PSYNC 0x80
4590 //==============================================================================
4593 //==============================================================================
4594 // T6CLKCON Bits
4596 extern __at(0x041E) __sfr T6CLKCON;
4598 typedef union
4600 struct
4602 unsigned CS0 : 1;
4603 unsigned CS1 : 1;
4604 unsigned CS2 : 1;
4605 unsigned CS3 : 1;
4606 unsigned : 1;
4607 unsigned : 1;
4608 unsigned : 1;
4609 unsigned : 1;
4612 struct
4614 unsigned T6CS0 : 1;
4615 unsigned T6CS1 : 1;
4616 unsigned T6CS2 : 1;
4617 unsigned T6CS3 : 1;
4618 unsigned : 1;
4619 unsigned : 1;
4620 unsigned : 1;
4621 unsigned : 1;
4624 struct
4626 unsigned T6CS : 4;
4627 unsigned : 4;
4630 struct
4632 unsigned CS : 4;
4633 unsigned : 4;
4635 } __T6CLKCONbits_t;
4637 extern __at(0x041E) volatile __T6CLKCONbits_t T6CLKCONbits;
4639 #define _T6CLKCON_CS0 0x01
4640 #define _T6CLKCON_T6CS0 0x01
4641 #define _T6CLKCON_CS1 0x02
4642 #define _T6CLKCON_T6CS1 0x02
4643 #define _T6CLKCON_CS2 0x04
4644 #define _T6CLKCON_T6CS2 0x04
4645 #define _T6CLKCON_CS3 0x08
4646 #define _T6CLKCON_T6CS3 0x08
4648 //==============================================================================
4651 //==============================================================================
4652 // T6RST Bits
4654 extern __at(0x041F) __sfr T6RST;
4656 typedef union
4658 struct
4660 unsigned RSEL0 : 1;
4661 unsigned RSEL1 : 1;
4662 unsigned RSEL2 : 1;
4663 unsigned RSEL3 : 1;
4664 unsigned : 1;
4665 unsigned : 1;
4666 unsigned : 1;
4667 unsigned : 1;
4670 struct
4672 unsigned T6RSEL0 : 1;
4673 unsigned T6RSEL1 : 1;
4674 unsigned T6RSEL2 : 1;
4675 unsigned T6RSEL3 : 1;
4676 unsigned : 1;
4677 unsigned : 1;
4678 unsigned : 1;
4679 unsigned : 1;
4682 struct
4684 unsigned T6RSEL : 4;
4685 unsigned : 4;
4688 struct
4690 unsigned RSEL : 4;
4691 unsigned : 4;
4693 } __T6RSTbits_t;
4695 extern __at(0x041F) volatile __T6RSTbits_t T6RSTbits;
4697 #define _T6RST_RSEL0 0x01
4698 #define _T6RST_T6RSEL0 0x01
4699 #define _T6RST_RSEL1 0x02
4700 #define _T6RST_T6RSEL1 0x02
4701 #define _T6RST_RSEL2 0x04
4702 #define _T6RST_T6RSEL2 0x04
4703 #define _T6RST_RSEL3 0x08
4704 #define _T6RST_T6RSEL3 0x08
4706 //==============================================================================
4708 extern __at(0x0493) __sfr TMR3L;
4709 extern __at(0x0494) __sfr TMR3H;
4711 //==============================================================================
4712 // T3CON Bits
4714 extern __at(0x0495) __sfr T3CON;
4716 typedef union
4718 struct
4720 unsigned TMR3ON : 1;
4721 unsigned : 1;
4722 unsigned T3SYNC : 1;
4723 unsigned : 1;
4724 unsigned T3CKPS0 : 1;
4725 unsigned T3CKPS1 : 1;
4726 unsigned TMR3CS0 : 1;
4727 unsigned TMR3CS1 : 1;
4730 struct
4732 unsigned : 4;
4733 unsigned T3CKPS : 2;
4734 unsigned : 2;
4737 struct
4739 unsigned : 6;
4740 unsigned TMR3CS : 2;
4742 } __T3CONbits_t;
4744 extern __at(0x0495) volatile __T3CONbits_t T3CONbits;
4746 #define _TMR3ON 0x01
4747 #define _T3SYNC 0x04
4748 #define _T3CKPS0 0x10
4749 #define _T3CKPS1 0x20
4750 #define _TMR3CS0 0x40
4751 #define _TMR3CS1 0x80
4753 //==============================================================================
4756 //==============================================================================
4757 // T3GCON Bits
4759 extern __at(0x0496) __sfr T3GCON;
4761 typedef union
4763 struct
4765 unsigned T3GSS0 : 1;
4766 unsigned T3GSS1 : 1;
4767 unsigned T3GVAL : 1;
4768 unsigned T3GGO_NOT_DONE : 1;
4769 unsigned T3GSPM : 1;
4770 unsigned T3GTM : 1;
4771 unsigned T3GPOL : 1;
4772 unsigned TMR3GE : 1;
4775 struct
4777 unsigned T3GSS : 2;
4778 unsigned : 6;
4780 } __T3GCONbits_t;
4782 extern __at(0x0496) volatile __T3GCONbits_t T3GCONbits;
4784 #define _T3GSS0 0x01
4785 #define _T3GSS1 0x02
4786 #define _T3GVAL 0x04
4787 #define _T3GGO_NOT_DONE 0x08
4788 #define _T3GSPM 0x10
4789 #define _T3GTM 0x20
4790 #define _T3GPOL 0x40
4791 #define _TMR3GE 0x80
4793 //==============================================================================
4795 extern __at(0x049A) __sfr TMR5L;
4796 extern __at(0x049B) __sfr TMR5H;
4798 //==============================================================================
4799 // T5CON Bits
4801 extern __at(0x049C) __sfr T5CON;
4803 typedef union
4805 struct
4807 unsigned TMR5ON : 1;
4808 unsigned : 1;
4809 unsigned T5SYNC : 1;
4810 unsigned : 1;
4811 unsigned T5CKPS0 : 1;
4812 unsigned T5CKPS1 : 1;
4813 unsigned TMR5CS0 : 1;
4814 unsigned TMR5CS1 : 1;
4817 struct
4819 unsigned : 4;
4820 unsigned T5CKPS : 2;
4821 unsigned : 2;
4824 struct
4826 unsigned : 6;
4827 unsigned TMR5CS : 2;
4829 } __T5CONbits_t;
4831 extern __at(0x049C) volatile __T5CONbits_t T5CONbits;
4833 #define _TMR5ON 0x01
4834 #define _T5SYNC 0x04
4835 #define _T5CKPS0 0x10
4836 #define _T5CKPS1 0x20
4837 #define _TMR5CS0 0x40
4838 #define _TMR5CS1 0x80
4840 //==============================================================================
4843 //==============================================================================
4844 // T5GCON Bits
4846 extern __at(0x049D) __sfr T5GCON;
4848 typedef union
4850 struct
4852 unsigned T5GSS0 : 1;
4853 unsigned T5GSS1 : 1;
4854 unsigned T5GVAL : 1;
4855 unsigned T5GGO_NOT_DONE : 1;
4856 unsigned T5GSPM : 1;
4857 unsigned T5GTM : 1;
4858 unsigned T5GPOL : 1;
4859 unsigned TMR5GE : 1;
4862 struct
4864 unsigned T5GSS : 2;
4865 unsigned : 6;
4867 } __T5GCONbits_t;
4869 extern __at(0x049D) volatile __T5GCONbits_t T5GCONbits;
4871 #define _T5GSS0 0x01
4872 #define _T5GSS1 0x02
4873 #define _T5GVAL 0x04
4874 #define _T5GGO_NOT_DONE 0x08
4875 #define _T5GSPM 0x10
4876 #define _T5GTM 0x20
4877 #define _T5GPOL 0x40
4878 #define _TMR5GE 0x80
4880 //==============================================================================
4882 extern __at(0x058C) __sfr PID1SET;
4884 //==============================================================================
4885 // PID1SETL Bits
4887 extern __at(0x058C) __sfr PID1SETL;
4889 typedef union
4891 struct
4893 unsigned PID1SET0 : 1;
4894 unsigned PID1SET1 : 1;
4895 unsigned PID1SET2 : 1;
4896 unsigned PID1SET3 : 1;
4897 unsigned PID1SET4 : 1;
4898 unsigned PID1SET5 : 1;
4899 unsigned PID1SET6 : 1;
4900 unsigned PID1SET7 : 1;
4903 struct
4905 unsigned SET0 : 1;
4906 unsigned SET1 : 1;
4907 unsigned SET2 : 1;
4908 unsigned SET3 : 1;
4909 unsigned SET4 : 1;
4910 unsigned SET5 : 1;
4911 unsigned SET6 : 1;
4912 unsigned SET7 : 1;
4914 } __PID1SETLbits_t;
4916 extern __at(0x058C) volatile __PID1SETLbits_t PID1SETLbits;
4918 #define _PID1SET0 0x01
4919 #define _SET0 0x01
4920 #define _PID1SET1 0x02
4921 #define _SET1 0x02
4922 #define _PID1SET2 0x04
4923 #define _SET2 0x04
4924 #define _PID1SET3 0x08
4925 #define _SET3 0x08
4926 #define _PID1SET4 0x10
4927 #define _SET4 0x10
4928 #define _PID1SET5 0x20
4929 #define _SET5 0x20
4930 #define _PID1SET6 0x40
4931 #define _SET6 0x40
4932 #define _PID1SET7 0x80
4933 #define _SET7 0x80
4935 //==============================================================================
4938 //==============================================================================
4939 // PID1SETH Bits
4941 extern __at(0x058D) __sfr PID1SETH;
4943 typedef union
4945 struct
4947 unsigned PID1SET8 : 1;
4948 unsigned PID1SET9 : 1;
4949 unsigned PID1SET10 : 1;
4950 unsigned PID1SET11 : 1;
4951 unsigned PID1SET12 : 1;
4952 unsigned PID1SET13 : 1;
4953 unsigned PID1SET14 : 1;
4954 unsigned PID1SET15 : 1;
4957 struct
4959 unsigned SET8 : 1;
4960 unsigned SET9 : 1;
4961 unsigned SET10 : 1;
4962 unsigned SET11 : 1;
4963 unsigned SET12 : 1;
4964 unsigned SET13 : 1;
4965 unsigned SET14 : 1;
4966 unsigned SET15 : 1;
4968 } __PID1SETHbits_t;
4970 extern __at(0x058D) volatile __PID1SETHbits_t PID1SETHbits;
4972 #define _PID1SET8 0x01
4973 #define _SET8 0x01
4974 #define _PID1SET9 0x02
4975 #define _SET9 0x02
4976 #define _PID1SET10 0x04
4977 #define _SET10 0x04
4978 #define _PID1SET11 0x08
4979 #define _SET11 0x08
4980 #define _PID1SET12 0x10
4981 #define _SET12 0x10
4982 #define _PID1SET13 0x20
4983 #define _SET13 0x20
4984 #define _PID1SET14 0x40
4985 #define _SET14 0x40
4986 #define _PID1SET15 0x80
4987 #define _SET15 0x80
4989 //==============================================================================
4991 extern __at(0x058E) __sfr PID1IN;
4993 //==============================================================================
4994 // PID1INL Bits
4996 extern __at(0x058E) __sfr PID1INL;
4998 typedef union
5000 struct
5002 unsigned PID1IN0 : 1;
5003 unsigned PID1IN1 : 1;
5004 unsigned PID1IN2 : 1;
5005 unsigned PID1IN3 : 1;
5006 unsigned PID1IN4 : 1;
5007 unsigned PID1IN5 : 1;
5008 unsigned PID1IN6 : 1;
5009 unsigned PID1IN7 : 1;
5012 struct
5014 unsigned IN0 : 1;
5015 unsigned IN1 : 1;
5016 unsigned IN2 : 1;
5017 unsigned IN3 : 1;
5018 unsigned IN4 : 1;
5019 unsigned IN5 : 1;
5020 unsigned IN6 : 1;
5021 unsigned IN7 : 1;
5023 } __PID1INLbits_t;
5025 extern __at(0x058E) volatile __PID1INLbits_t PID1INLbits;
5027 #define _PID1IN0 0x01
5028 #define _IN0 0x01
5029 #define _PID1IN1 0x02
5030 #define _IN1 0x02
5031 #define _PID1IN2 0x04
5032 #define _IN2 0x04
5033 #define _PID1IN3 0x08
5034 #define _IN3 0x08
5035 #define _PID1IN4 0x10
5036 #define _IN4 0x10
5037 #define _PID1IN5 0x20
5038 #define _IN5 0x20
5039 #define _PID1IN6 0x40
5040 #define _IN6 0x40
5041 #define _PID1IN7 0x80
5042 #define _IN7 0x80
5044 //==============================================================================
5047 //==============================================================================
5048 // PID1INH Bits
5050 extern __at(0x058F) __sfr PID1INH;
5052 typedef union
5054 struct
5056 unsigned PID1IN8 : 1;
5057 unsigned PID1IN9 : 1;
5058 unsigned PID1IN10 : 1;
5059 unsigned PID1IN11 : 1;
5060 unsigned PID1IN12 : 1;
5061 unsigned PID1IN13 : 1;
5062 unsigned PID1IN14 : 1;
5063 unsigned PID1IN15 : 1;
5066 struct
5068 unsigned IN8 : 1;
5069 unsigned IN9 : 1;
5070 unsigned IN10 : 1;
5071 unsigned IN11 : 1;
5072 unsigned IN12 : 1;
5073 unsigned IN13 : 1;
5074 unsigned IN14 : 1;
5075 unsigned IN15 : 1;
5077 } __PID1INHbits_t;
5079 extern __at(0x058F) volatile __PID1INHbits_t PID1INHbits;
5081 #define _PID1IN8 0x01
5082 #define _IN8 0x01
5083 #define _PID1IN9 0x02
5084 #define _IN9 0x02
5085 #define _PID1IN10 0x04
5086 #define _IN10 0x04
5087 #define _PID1IN11 0x08
5088 #define _IN11 0x08
5089 #define _PID1IN12 0x10
5090 #define _IN12 0x10
5091 #define _PID1IN13 0x20
5092 #define _IN13 0x20
5093 #define _PID1IN14 0x40
5094 #define _IN14 0x40
5095 #define _PID1IN15 0x80
5096 #define _IN15 0x80
5098 //==============================================================================
5100 extern __at(0x0590) __sfr PID1K1;
5102 //==============================================================================
5103 // PID1K1L Bits
5105 extern __at(0x0590) __sfr PID1K1L;
5107 typedef union
5109 struct
5111 unsigned PID1K10 : 1;
5112 unsigned PID1K11 : 1;
5113 unsigned PID1K12 : 1;
5114 unsigned PID1K13 : 1;
5115 unsigned PID1K14 : 1;
5116 unsigned PID1K15 : 1;
5117 unsigned PID1K16 : 1;
5118 unsigned PID1K17 : 1;
5121 struct
5123 unsigned K10 : 1;
5124 unsigned K11 : 1;
5125 unsigned K12 : 1;
5126 unsigned K13 : 1;
5127 unsigned K14 : 1;
5128 unsigned K15 : 1;
5129 unsigned K16 : 1;
5130 unsigned K17 : 1;
5132 } __PID1K1Lbits_t;
5134 extern __at(0x0590) volatile __PID1K1Lbits_t PID1K1Lbits;
5136 #define _PID1K10 0x01
5137 #define _K10 0x01
5138 #define _PID1K11 0x02
5139 #define _K11 0x02
5140 #define _PID1K12 0x04
5141 #define _K12 0x04
5142 #define _PID1K13 0x08
5143 #define _K13 0x08
5144 #define _PID1K14 0x10
5145 #define _K14 0x10
5146 #define _PID1K15 0x20
5147 #define _K15 0x20
5148 #define _PID1K16 0x40
5149 #define _K16 0x40
5150 #define _PID1K17 0x80
5151 #define _K17 0x80
5153 //==============================================================================
5156 //==============================================================================
5157 // PID1K1H Bits
5159 extern __at(0x0591) __sfr PID1K1H;
5161 typedef union
5163 struct
5165 unsigned PID1K18 : 1;
5166 unsigned PID1K19 : 1;
5167 unsigned PID1K110 : 1;
5168 unsigned PID1K111 : 1;
5169 unsigned PID1K112 : 1;
5170 unsigned PID1K113 : 1;
5171 unsigned PID1K114 : 1;
5172 unsigned PID1K115 : 1;
5175 struct
5177 unsigned K18 : 1;
5178 unsigned K19 : 1;
5179 unsigned K110 : 1;
5180 unsigned K111 : 1;
5181 unsigned K112 : 1;
5182 unsigned K113 : 1;
5183 unsigned K114 : 1;
5184 unsigned K115 : 1;
5186 } __PID1K1Hbits_t;
5188 extern __at(0x0591) volatile __PID1K1Hbits_t PID1K1Hbits;
5190 #define _PID1K18 0x01
5191 #define _K18 0x01
5192 #define _PID1K19 0x02
5193 #define _K19 0x02
5194 #define _PID1K110 0x04
5195 #define _K110 0x04
5196 #define _PID1K111 0x08
5197 #define _K111 0x08
5198 #define _PID1K112 0x10
5199 #define _K112 0x10
5200 #define _PID1K113 0x20
5201 #define _K113 0x20
5202 #define _PID1K114 0x40
5203 #define _K114 0x40
5204 #define _PID1K115 0x80
5205 #define _K115 0x80
5207 //==============================================================================
5209 extern __at(0x0592) __sfr PID1K2;
5211 //==============================================================================
5212 // PID1K2L Bits
5214 extern __at(0x0592) __sfr PID1K2L;
5216 typedef union
5218 struct
5220 unsigned PID1K20 : 1;
5221 unsigned PID1K21 : 1;
5222 unsigned PID1K22 : 1;
5223 unsigned PID1K23 : 1;
5224 unsigned PID1K24 : 1;
5225 unsigned PID1K25 : 1;
5226 unsigned PID1K26 : 1;
5227 unsigned PID1K27 : 1;
5230 struct
5232 unsigned K20 : 1;
5233 unsigned K21 : 1;
5234 unsigned K22 : 1;
5235 unsigned K23 : 1;
5236 unsigned K24 : 1;
5237 unsigned K25 : 1;
5238 unsigned K26 : 1;
5239 unsigned K27 : 1;
5241 } __PID1K2Lbits_t;
5243 extern __at(0x0592) volatile __PID1K2Lbits_t PID1K2Lbits;
5245 #define _PID1K20 0x01
5246 #define _K20 0x01
5247 #define _PID1K21 0x02
5248 #define _K21 0x02
5249 #define _PID1K22 0x04
5250 #define _K22 0x04
5251 #define _PID1K23 0x08
5252 #define _K23 0x08
5253 #define _PID1K24 0x10
5254 #define _K24 0x10
5255 #define _PID1K25 0x20
5256 #define _K25 0x20
5257 #define _PID1K26 0x40
5258 #define _K26 0x40
5259 #define _PID1K27 0x80
5260 #define _K27 0x80
5262 //==============================================================================
5265 //==============================================================================
5266 // PID1K2H Bits
5268 extern __at(0x0593) __sfr PID1K2H;
5270 typedef union
5272 struct
5274 unsigned PID1K28 : 1;
5275 unsigned PID1K29 : 1;
5276 unsigned PID1K210 : 1;
5277 unsigned PID1K211 : 1;
5278 unsigned PID1K212 : 1;
5279 unsigned PID1K213 : 1;
5280 unsigned PID1K214 : 1;
5281 unsigned PID1K215 : 1;
5284 struct
5286 unsigned K28 : 1;
5287 unsigned K29 : 1;
5288 unsigned K210 : 1;
5289 unsigned K211 : 1;
5290 unsigned K212 : 1;
5291 unsigned K213 : 1;
5292 unsigned K214 : 1;
5293 unsigned K215 : 1;
5295 } __PID1K2Hbits_t;
5297 extern __at(0x0593) volatile __PID1K2Hbits_t PID1K2Hbits;
5299 #define _PID1K28 0x01
5300 #define _K28 0x01
5301 #define _PID1K29 0x02
5302 #define _K29 0x02
5303 #define _PID1K210 0x04
5304 #define _K210 0x04
5305 #define _PID1K211 0x08
5306 #define _K211 0x08
5307 #define _PID1K212 0x10
5308 #define _K212 0x10
5309 #define _PID1K213 0x20
5310 #define _K213 0x20
5311 #define _PID1K214 0x40
5312 #define _K214 0x40
5313 #define _PID1K215 0x80
5314 #define _K215 0x80
5316 //==============================================================================
5318 extern __at(0x0594) __sfr PID1K3;
5320 //==============================================================================
5321 // PID1K3L Bits
5323 extern __at(0x0594) __sfr PID1K3L;
5325 typedef union
5327 struct
5329 unsigned PID1K30 : 1;
5330 unsigned PID1K31 : 1;
5331 unsigned PID1K32 : 1;
5332 unsigned PID1K33 : 1;
5333 unsigned PID1K34 : 1;
5334 unsigned PID1K35 : 1;
5335 unsigned PID1K36 : 1;
5336 unsigned PID1K37 : 1;
5339 struct
5341 unsigned K30 : 1;
5342 unsigned K31 : 1;
5343 unsigned K32 : 1;
5344 unsigned K33 : 1;
5345 unsigned K34 : 1;
5346 unsigned K35 : 1;
5347 unsigned K36 : 1;
5348 unsigned K37 : 1;
5350 } __PID1K3Lbits_t;
5352 extern __at(0x0594) volatile __PID1K3Lbits_t PID1K3Lbits;
5354 #define _PID1K30 0x01
5355 #define _K30 0x01
5356 #define _PID1K31 0x02
5357 #define _K31 0x02
5358 #define _PID1K32 0x04
5359 #define _K32 0x04
5360 #define _PID1K33 0x08
5361 #define _K33 0x08
5362 #define _PID1K34 0x10
5363 #define _K34 0x10
5364 #define _PID1K35 0x20
5365 #define _K35 0x20
5366 #define _PID1K36 0x40
5367 #define _K36 0x40
5368 #define _PID1K37 0x80
5369 #define _K37 0x80
5371 //==============================================================================
5374 //==============================================================================
5375 // PID1K3H Bits
5377 extern __at(0x0595) __sfr PID1K3H;
5379 typedef union
5381 struct
5383 unsigned PID1K38 : 1;
5384 unsigned PID1K39 : 1;
5385 unsigned PID1K310 : 1;
5386 unsigned PID1K311 : 1;
5387 unsigned PID1K312 : 1;
5388 unsigned PID1K313 : 1;
5389 unsigned PID1K314 : 1;
5390 unsigned PID1K315 : 1;
5393 struct
5395 unsigned K38 : 1;
5396 unsigned K39 : 1;
5397 unsigned K310 : 1;
5398 unsigned K311 : 1;
5399 unsigned K312 : 1;
5400 unsigned K313 : 1;
5401 unsigned K314 : 1;
5402 unsigned K315 : 1;
5404 } __PID1K3Hbits_t;
5406 extern __at(0x0595) volatile __PID1K3Hbits_t PID1K3Hbits;
5408 #define _PID1K38 0x01
5409 #define _K38 0x01
5410 #define _PID1K39 0x02
5411 #define _K39 0x02
5412 #define _PID1K310 0x04
5413 #define _K310 0x04
5414 #define _PID1K311 0x08
5415 #define _K311 0x08
5416 #define _PID1K312 0x10
5417 #define _K312 0x10
5418 #define _PID1K313 0x20
5419 #define _K313 0x20
5420 #define _PID1K314 0x40
5421 #define _K314 0x40
5422 #define _PID1K315 0x80
5423 #define _K315 0x80
5425 //==============================================================================
5427 extern __at(0x0596) __sfr PID1OUT;
5429 //==============================================================================
5430 // PID1OUTLL Bits
5432 extern __at(0x0596) __sfr PID1OUTLL;
5434 typedef union
5436 struct
5438 unsigned PID1OUT0 : 1;
5439 unsigned PID1OUT1 : 1;
5440 unsigned PID1OUT2 : 1;
5441 unsigned PID1OUT3 : 1;
5442 unsigned PID1OUT4 : 1;
5443 unsigned PID1OUT5 : 1;
5444 unsigned PID1OUT6 : 1;
5445 unsigned PID1OUT7 : 1;
5448 struct
5450 unsigned OUT0 : 1;
5451 unsigned OUT1 : 1;
5452 unsigned OUT2 : 1;
5453 unsigned OUT3 : 1;
5454 unsigned OUT4 : 1;
5455 unsigned OUT5 : 1;
5456 unsigned OUT6 : 1;
5457 unsigned OUT7 : 1;
5459 } __PID1OUTLLbits_t;
5461 extern __at(0x0596) volatile __PID1OUTLLbits_t PID1OUTLLbits;
5463 #define _PID1OUT0 0x01
5464 #define _OUT0 0x01
5465 #define _PID1OUT1 0x02
5466 #define _OUT1 0x02
5467 #define _PID1OUT2 0x04
5468 #define _OUT2 0x04
5469 #define _PID1OUT3 0x08
5470 #define _OUT3 0x08
5471 #define _PID1OUT4 0x10
5472 #define _OUT4 0x10
5473 #define _PID1OUT5 0x20
5474 #define _OUT5 0x20
5475 #define _PID1OUT6 0x40
5476 #define _OUT6 0x40
5477 #define _PID1OUT7 0x80
5478 #define _OUT7 0x80
5480 //==============================================================================
5483 //==============================================================================
5484 // PID1OUTLH Bits
5486 extern __at(0x0597) __sfr PID1OUTLH;
5488 typedef union
5490 struct
5492 unsigned PID1OUT8 : 1;
5493 unsigned PID1OUT9 : 1;
5494 unsigned PID1OUT10 : 1;
5495 unsigned PID1OUT11 : 1;
5496 unsigned PID1OUT12 : 1;
5497 unsigned PID1OUT13 : 1;
5498 unsigned PID1OUT14 : 1;
5499 unsigned PID1OUT15 : 1;
5502 struct
5504 unsigned OUT8 : 1;
5505 unsigned OUT9 : 1;
5506 unsigned OUT10 : 1;
5507 unsigned OUT11 : 1;
5508 unsigned OUT12 : 1;
5509 unsigned OUT13 : 1;
5510 unsigned OUT14 : 1;
5511 unsigned OUT15 : 1;
5513 } __PID1OUTLHbits_t;
5515 extern __at(0x0597) volatile __PID1OUTLHbits_t PID1OUTLHbits;
5517 #define _PID1OUT8 0x01
5518 #define _OUT8 0x01
5519 #define _PID1OUT9 0x02
5520 #define _OUT9 0x02
5521 #define _PID1OUT10 0x04
5522 #define _OUT10 0x04
5523 #define _PID1OUT11 0x08
5524 #define _OUT11 0x08
5525 #define _PID1OUT12 0x10
5526 #define _OUT12 0x10
5527 #define _PID1OUT13 0x20
5528 #define _OUT13 0x20
5529 #define _PID1OUT14 0x40
5530 #define _OUT14 0x40
5531 #define _PID1OUT15 0x80
5532 #define _OUT15 0x80
5534 //==============================================================================
5537 //==============================================================================
5538 // PID1OUTHL Bits
5540 extern __at(0x0598) __sfr PID1OUTHL;
5542 typedef union
5544 struct
5546 unsigned PID1OUT16 : 1;
5547 unsigned PID1OUT17 : 1;
5548 unsigned PID1OUT18 : 1;
5549 unsigned PID1OUT19 : 1;
5550 unsigned PID1OUT20 : 1;
5551 unsigned PID1OUT21 : 1;
5552 unsigned PID1OUT22 : 1;
5553 unsigned PID1OUT23 : 1;
5556 struct
5558 unsigned OUT16 : 1;
5559 unsigned OUT17 : 1;
5560 unsigned OUT18 : 1;
5561 unsigned OUT19 : 1;
5562 unsigned OUT20 : 1;
5563 unsigned OUT21 : 1;
5564 unsigned OUT22 : 1;
5565 unsigned OUT23 : 1;
5567 } __PID1OUTHLbits_t;
5569 extern __at(0x0598) volatile __PID1OUTHLbits_t PID1OUTHLbits;
5571 #define _PID1OUT16 0x01
5572 #define _OUT16 0x01
5573 #define _PID1OUT17 0x02
5574 #define _OUT17 0x02
5575 #define _PID1OUT18 0x04
5576 #define _OUT18 0x04
5577 #define _PID1OUT19 0x08
5578 #define _OUT19 0x08
5579 #define _PID1OUT20 0x10
5580 #define _OUT20 0x10
5581 #define _PID1OUT21 0x20
5582 #define _OUT21 0x20
5583 #define _PID1OUT22 0x40
5584 #define _OUT22 0x40
5585 #define _PID1OUT23 0x80
5586 #define _OUT23 0x80
5588 //==============================================================================
5591 //==============================================================================
5592 // PID1OUTHH Bits
5594 extern __at(0x0599) __sfr PID1OUTHH;
5596 typedef union
5598 struct
5600 unsigned PID1OUT24 : 1;
5601 unsigned PID1OUT25 : 1;
5602 unsigned PID1OUT26 : 1;
5603 unsigned PID1OUT27 : 1;
5604 unsigned PID1OUT28 : 1;
5605 unsigned PID1OUT29 : 1;
5606 unsigned PID1OUT30 : 1;
5607 unsigned PID1OUT31 : 1;
5610 struct
5612 unsigned OUT24 : 1;
5613 unsigned OUT25 : 1;
5614 unsigned OUT26 : 1;
5615 unsigned OUT27 : 1;
5616 unsigned OUT28 : 1;
5617 unsigned OUT29 : 1;
5618 unsigned OUT30 : 1;
5619 unsigned OUT31 : 1;
5621 } __PID1OUTHHbits_t;
5623 extern __at(0x0599) volatile __PID1OUTHHbits_t PID1OUTHHbits;
5625 #define _PID1OUT24 0x01
5626 #define _OUT24 0x01
5627 #define _PID1OUT25 0x02
5628 #define _OUT25 0x02
5629 #define _PID1OUT26 0x04
5630 #define _OUT26 0x04
5631 #define _PID1OUT27 0x08
5632 #define _OUT27 0x08
5633 #define _PID1OUT28 0x10
5634 #define _OUT28 0x10
5635 #define _PID1OUT29 0x20
5636 #define _OUT29 0x20
5637 #define _PID1OUT30 0x40
5638 #define _OUT30 0x40
5639 #define _PID1OUT31 0x80
5640 #define _OUT31 0x80
5642 //==============================================================================
5645 //==============================================================================
5646 // PID1OUTU Bits
5648 extern __at(0x059A) __sfr PID1OUTU;
5650 typedef union
5652 struct
5654 unsigned PID1OUT32 : 1;
5655 unsigned PID1OUT33 : 1;
5656 unsigned PID1OUT34 : 1;
5657 unsigned PID1OUT35 : 1;
5658 unsigned : 1;
5659 unsigned : 1;
5660 unsigned : 1;
5661 unsigned : 1;
5664 struct
5666 unsigned OUT32 : 1;
5667 unsigned OUT33 : 1;
5668 unsigned OUT34 : 1;
5669 unsigned OUT35 : 1;
5670 unsigned : 1;
5671 unsigned : 1;
5672 unsigned : 1;
5673 unsigned : 1;
5675 } __PID1OUTUbits_t;
5677 extern __at(0x059A) volatile __PID1OUTUbits_t PID1OUTUbits;
5679 #define _PID1OUT32 0x01
5680 #define _OUT32 0x01
5681 #define _PID1OUT33 0x02
5682 #define _OUT33 0x02
5683 #define _PID1OUT34 0x04
5684 #define _OUT34 0x04
5685 #define _PID1OUT35 0x08
5686 #define _OUT35 0x08
5688 //==============================================================================
5690 extern __at(0x059B) __sfr PID1Z1;
5692 //==============================================================================
5693 // PID1Z1L Bits
5695 extern __at(0x059B) __sfr PID1Z1L;
5697 typedef union
5699 struct
5701 unsigned PID1Z10 : 1;
5702 unsigned PID1Z11 : 1;
5703 unsigned PID1Z12 : 1;
5704 unsigned PID1Z13 : 1;
5705 unsigned PID1Z14 : 1;
5706 unsigned PID1Z15 : 1;
5707 unsigned PID1Z16 : 1;
5708 unsigned PID1Z17 : 1;
5711 struct
5713 unsigned Z10 : 1;
5714 unsigned Z11 : 1;
5715 unsigned Z12 : 1;
5716 unsigned Z13 : 1;
5717 unsigned Z14 : 1;
5718 unsigned Z15 : 1;
5719 unsigned Z16 : 1;
5720 unsigned Z17 : 1;
5722 } __PID1Z1Lbits_t;
5724 extern __at(0x059B) volatile __PID1Z1Lbits_t PID1Z1Lbits;
5726 #define _PID1Z10 0x01
5727 #define _Z10 0x01
5728 #define _PID1Z11 0x02
5729 #define _Z11 0x02
5730 #define _PID1Z12 0x04
5731 #define _Z12 0x04
5732 #define _PID1Z13 0x08
5733 #define _Z13 0x08
5734 #define _PID1Z14 0x10
5735 #define _Z14 0x10
5736 #define _PID1Z15 0x20
5737 #define _Z15 0x20
5738 #define _PID1Z16 0x40
5739 #define _Z16 0x40
5740 #define _PID1Z17 0x80
5741 #define _Z17 0x80
5743 //==============================================================================
5746 //==============================================================================
5747 // PID1Z1H Bits
5749 extern __at(0x059C) __sfr PID1Z1H;
5751 typedef union
5753 struct
5755 unsigned PID1Z18 : 1;
5756 unsigned PID1Z19 : 1;
5757 unsigned PID1Z110 : 1;
5758 unsigned PID1Z111 : 1;
5759 unsigned PID1Z112 : 1;
5760 unsigned PID1Z113 : 1;
5761 unsigned PID1Z114 : 1;
5762 unsigned PID1Z115 : 1;
5765 struct
5767 unsigned Z18 : 1;
5768 unsigned Z19 : 1;
5769 unsigned Z110 : 1;
5770 unsigned Z111 : 1;
5771 unsigned Z112 : 1;
5772 unsigned Z113 : 1;
5773 unsigned Z114 : 1;
5774 unsigned Z115 : 1;
5776 } __PID1Z1Hbits_t;
5778 extern __at(0x059C) volatile __PID1Z1Hbits_t PID1Z1Hbits;
5780 #define _PID1Z18 0x01
5781 #define _Z18 0x01
5782 #define _PID1Z19 0x02
5783 #define _Z19 0x02
5784 #define _PID1Z110 0x04
5785 #define _Z110 0x04
5786 #define _PID1Z111 0x08
5787 #define _Z111 0x08
5788 #define _PID1Z112 0x10
5789 #define _Z112 0x10
5790 #define _PID1Z113 0x20
5791 #define _Z113 0x20
5792 #define _PID1Z114 0x40
5793 #define _Z114 0x40
5794 #define _PID1Z115 0x80
5795 #define _Z115 0x80
5797 //==============================================================================
5800 //==============================================================================
5801 // PID1Z1U Bits
5803 extern __at(0x059D) __sfr PID1Z1U;
5805 typedef union
5807 struct
5809 unsigned PID1Z116 : 1;
5810 unsigned : 1;
5811 unsigned : 1;
5812 unsigned : 1;
5813 unsigned : 1;
5814 unsigned : 1;
5815 unsigned : 1;
5816 unsigned : 1;
5819 struct
5821 unsigned Z116 : 1;
5822 unsigned : 1;
5823 unsigned : 1;
5824 unsigned : 1;
5825 unsigned : 1;
5826 unsigned : 1;
5827 unsigned : 1;
5828 unsigned : 1;
5830 } __PID1Z1Ubits_t;
5832 extern __at(0x059D) volatile __PID1Z1Ubits_t PID1Z1Ubits;
5834 #define _PID1Z116 0x01
5835 #define _Z116 0x01
5837 //==============================================================================
5839 extern __at(0x060C) __sfr PID1Z2;
5841 //==============================================================================
5842 // PID1Z2L Bits
5844 extern __at(0x060C) __sfr PID1Z2L;
5846 typedef union
5848 struct
5850 unsigned PID1Z20 : 1;
5851 unsigned PID1Z21 : 1;
5852 unsigned PID1Z22 : 1;
5853 unsigned PID1Z23 : 1;
5854 unsigned PID1Z24 : 1;
5855 unsigned PID1Z25 : 1;
5856 unsigned PID1Z26 : 1;
5857 unsigned PID1Z27 : 1;
5860 struct
5862 unsigned Z20 : 1;
5863 unsigned Z21 : 1;
5864 unsigned Z22 : 1;
5865 unsigned Z23 : 1;
5866 unsigned Z24 : 1;
5867 unsigned Z25 : 1;
5868 unsigned Z26 : 1;
5869 unsigned Z27 : 1;
5871 } __PID1Z2Lbits_t;
5873 extern __at(0x060C) volatile __PID1Z2Lbits_t PID1Z2Lbits;
5875 #define _PID1Z20 0x01
5876 #define _Z20 0x01
5877 #define _PID1Z21 0x02
5878 #define _Z21 0x02
5879 #define _PID1Z22 0x04
5880 #define _Z22 0x04
5881 #define _PID1Z23 0x08
5882 #define _Z23 0x08
5883 #define _PID1Z24 0x10
5884 #define _Z24 0x10
5885 #define _PID1Z25 0x20
5886 #define _Z25 0x20
5887 #define _PID1Z26 0x40
5888 #define _Z26 0x40
5889 #define _PID1Z27 0x80
5890 #define _Z27 0x80
5892 //==============================================================================
5895 //==============================================================================
5896 // PID1Z2H Bits
5898 extern __at(0x060D) __sfr PID1Z2H;
5900 typedef union
5902 struct
5904 unsigned PID1Z28 : 1;
5905 unsigned PID1Z29 : 1;
5906 unsigned PID1Z210 : 1;
5907 unsigned PID1Z211 : 1;
5908 unsigned PID1Z212 : 1;
5909 unsigned PID1Z213 : 1;
5910 unsigned PID1Z214 : 1;
5911 unsigned PID1Z215 : 1;
5914 struct
5916 unsigned Z28 : 1;
5917 unsigned Z29 : 1;
5918 unsigned Z210 : 1;
5919 unsigned Z211 : 1;
5920 unsigned Z212 : 1;
5921 unsigned Z213 : 1;
5922 unsigned Z214 : 1;
5923 unsigned Z215 : 1;
5925 } __PID1Z2Hbits_t;
5927 extern __at(0x060D) volatile __PID1Z2Hbits_t PID1Z2Hbits;
5929 #define _PID1Z28 0x01
5930 #define _Z28 0x01
5931 #define _PID1Z29 0x02
5932 #define _Z29 0x02
5933 #define _PID1Z210 0x04
5934 #define _Z210 0x04
5935 #define _PID1Z211 0x08
5936 #define _Z211 0x08
5937 #define _PID1Z212 0x10
5938 #define _Z212 0x10
5939 #define _PID1Z213 0x20
5940 #define _Z213 0x20
5941 #define _PID1Z214 0x40
5942 #define _Z214 0x40
5943 #define _PID1Z215 0x80
5944 #define _Z215 0x80
5946 //==============================================================================
5949 //==============================================================================
5950 // PID1Z2U Bits
5952 extern __at(0x060E) __sfr PID1Z2U;
5954 typedef union
5956 struct
5958 unsigned PID1Z216 : 1;
5959 unsigned : 1;
5960 unsigned : 1;
5961 unsigned : 1;
5962 unsigned : 1;
5963 unsigned : 1;
5964 unsigned : 1;
5965 unsigned : 1;
5968 struct
5970 unsigned Z216 : 1;
5971 unsigned : 1;
5972 unsigned : 1;
5973 unsigned : 1;
5974 unsigned : 1;
5975 unsigned : 1;
5976 unsigned : 1;
5977 unsigned : 1;
5979 } __PID1Z2Ubits_t;
5981 extern __at(0x060E) volatile __PID1Z2Ubits_t PID1Z2Ubits;
5983 #define _PID1Z216 0x01
5984 #define _Z216 0x01
5986 //==============================================================================
5988 extern __at(0x060F) __sfr PID1ACC;
5990 //==============================================================================
5991 // PID1ACCLL Bits
5993 extern __at(0x060F) __sfr PID1ACCLL;
5995 typedef union
5997 struct
5999 unsigned PID1ACC0 : 1;
6000 unsigned PID1ACC1 : 1;
6001 unsigned PID1ACC2 : 1;
6002 unsigned PID1ACC3 : 1;
6003 unsigned PID1ACC4 : 1;
6004 unsigned PID1ACC5 : 1;
6005 unsigned PID1ACC6 : 1;
6006 unsigned PID1ACC7 : 1;
6009 struct
6011 unsigned ACC0 : 1;
6012 unsigned ACC1 : 1;
6013 unsigned ACC2 : 1;
6014 unsigned ACC3 : 1;
6015 unsigned ACC4 : 1;
6016 unsigned ACC5 : 1;
6017 unsigned ACC6 : 1;
6018 unsigned ACC7 : 1;
6020 } __PID1ACCLLbits_t;
6022 extern __at(0x060F) volatile __PID1ACCLLbits_t PID1ACCLLbits;
6024 #define _PID1ACCLL_PID1ACC0 0x01
6025 #define _PID1ACCLL_ACC0 0x01
6026 #define _PID1ACCLL_PID1ACC1 0x02
6027 #define _PID1ACCLL_ACC1 0x02
6028 #define _PID1ACCLL_PID1ACC2 0x04
6029 #define _PID1ACCLL_ACC2 0x04
6030 #define _PID1ACCLL_PID1ACC3 0x08
6031 #define _PID1ACCLL_ACC3 0x08
6032 #define _PID1ACCLL_PID1ACC4 0x10
6033 #define _PID1ACCLL_ACC4 0x10
6034 #define _PID1ACCLL_PID1ACC5 0x20
6035 #define _PID1ACCLL_ACC5 0x20
6036 #define _PID1ACCLL_PID1ACC6 0x40
6037 #define _PID1ACCLL_ACC6 0x40
6038 #define _PID1ACCLL_PID1ACC7 0x80
6039 #define _PID1ACCLL_ACC7 0x80
6041 //==============================================================================
6044 //==============================================================================
6045 // PID1ACCLH Bits
6047 extern __at(0x0610) __sfr PID1ACCLH;
6049 typedef union
6051 struct
6053 unsigned PID1ACC8 : 1;
6054 unsigned PID1ACC9 : 1;
6055 unsigned PID1ACC10 : 1;
6056 unsigned PID1ACC11 : 1;
6057 unsigned PID1ACC12 : 1;
6058 unsigned PID1ACC13 : 1;
6059 unsigned PID1ACC14 : 1;
6060 unsigned PID1ACC15 : 1;
6063 struct
6065 unsigned ACC8 : 1;
6066 unsigned ACC9 : 1;
6067 unsigned ACC10 : 1;
6068 unsigned ACC11 : 1;
6069 unsigned ACC12 : 1;
6070 unsigned ACC13 : 1;
6071 unsigned ACC14 : 1;
6072 unsigned ACC15 : 1;
6074 } __PID1ACCLHbits_t;
6076 extern __at(0x0610) volatile __PID1ACCLHbits_t PID1ACCLHbits;
6078 #define _PID1ACCLH_PID1ACC8 0x01
6079 #define _PID1ACCLH_ACC8 0x01
6080 #define _PID1ACCLH_PID1ACC9 0x02
6081 #define _PID1ACCLH_ACC9 0x02
6082 #define _PID1ACCLH_PID1ACC10 0x04
6083 #define _PID1ACCLH_ACC10 0x04
6084 #define _PID1ACCLH_PID1ACC11 0x08
6085 #define _PID1ACCLH_ACC11 0x08
6086 #define _PID1ACCLH_PID1ACC12 0x10
6087 #define _PID1ACCLH_ACC12 0x10
6088 #define _PID1ACCLH_PID1ACC13 0x20
6089 #define _PID1ACCLH_ACC13 0x20
6090 #define _PID1ACCLH_PID1ACC14 0x40
6091 #define _PID1ACCLH_ACC14 0x40
6092 #define _PID1ACCLH_PID1ACC15 0x80
6093 #define _PID1ACCLH_ACC15 0x80
6095 //==============================================================================
6098 //==============================================================================
6099 // PID1ACCHL Bits
6101 extern __at(0x0611) __sfr PID1ACCHL;
6103 typedef union
6105 struct
6107 unsigned PID1ACC16 : 1;
6108 unsigned PID1ACC17 : 1;
6109 unsigned PID1ACC18 : 1;
6110 unsigned PID1ACC19 : 1;
6111 unsigned PID1ACC20 : 1;
6112 unsigned PID1ACC21 : 1;
6113 unsigned PID1ACC22 : 1;
6114 unsigned PID1ACC23 : 1;
6117 struct
6119 unsigned ACC16 : 1;
6120 unsigned ACC17 : 1;
6121 unsigned ACC18 : 1;
6122 unsigned ACC19 : 1;
6123 unsigned ACC20 : 1;
6124 unsigned ACC21 : 1;
6125 unsigned ACC22 : 1;
6126 unsigned ACC23 : 1;
6128 } __PID1ACCHLbits_t;
6130 extern __at(0x0611) volatile __PID1ACCHLbits_t PID1ACCHLbits;
6132 #define _PID1ACC16 0x01
6133 #define _ACC16 0x01
6134 #define _PID1ACC17 0x02
6135 #define _ACC17 0x02
6136 #define _PID1ACC18 0x04
6137 #define _ACC18 0x04
6138 #define _PID1ACC19 0x08
6139 #define _ACC19 0x08
6140 #define _PID1ACC20 0x10
6141 #define _ACC20 0x10
6142 #define _PID1ACC21 0x20
6143 #define _ACC21 0x20
6144 #define _PID1ACC22 0x40
6145 #define _ACC22 0x40
6146 #define _PID1ACC23 0x80
6147 #define _ACC23 0x80
6149 //==============================================================================
6152 //==============================================================================
6153 // PID1ACCHH Bits
6155 extern __at(0x0612) __sfr PID1ACCHH;
6157 typedef union
6159 struct
6161 unsigned PID1ACC24 : 1;
6162 unsigned PID1ACC25 : 1;
6163 unsigned PID1ACC26 : 1;
6164 unsigned PID1ACC27 : 1;
6165 unsigned PID1ACC28 : 1;
6166 unsigned PID1ACC29 : 1;
6167 unsigned PID1ACC30 : 1;
6168 unsigned PID1ACC31 : 1;
6171 struct
6173 unsigned ACC24 : 1;
6174 unsigned ACC25 : 1;
6175 unsigned ACC26 : 1;
6176 unsigned ACC27 : 1;
6177 unsigned ACC28 : 1;
6178 unsigned ACC29 : 1;
6179 unsigned ACC30 : 1;
6180 unsigned ACC31 : 1;
6182 } __PID1ACCHHbits_t;
6184 extern __at(0x0612) volatile __PID1ACCHHbits_t PID1ACCHHbits;
6186 #define _PID1ACC24 0x01
6187 #define _ACC24 0x01
6188 #define _PID1ACC25 0x02
6189 #define _ACC25 0x02
6190 #define _PID1ACC26 0x04
6191 #define _ACC26 0x04
6192 #define _PID1ACC27 0x08
6193 #define _ACC27 0x08
6194 #define _PID1ACC28 0x10
6195 #define _ACC28 0x10
6196 #define _PID1ACC29 0x20
6197 #define _ACC29 0x20
6198 #define _PID1ACC30 0x40
6199 #define _ACC30 0x40
6200 #define _PID1ACC31 0x80
6201 #define _ACC31 0x80
6203 //==============================================================================
6206 //==============================================================================
6207 // PID1ACCU Bits
6209 extern __at(0x0613) __sfr PID1ACCU;
6211 typedef union
6213 struct
6215 unsigned PID1ACC32 : 1;
6216 unsigned PID1ACC33 : 1;
6217 unsigned PID1ACC34 : 1;
6218 unsigned : 1;
6219 unsigned : 1;
6220 unsigned : 1;
6221 unsigned : 1;
6222 unsigned : 1;
6225 struct
6227 unsigned ACC32 : 1;
6228 unsigned ACC33 : 1;
6229 unsigned ACC34 : 1;
6230 unsigned : 1;
6231 unsigned : 1;
6232 unsigned : 1;
6233 unsigned : 1;
6234 unsigned : 1;
6236 } __PID1ACCUbits_t;
6238 extern __at(0x0613) volatile __PID1ACCUbits_t PID1ACCUbits;
6240 #define _PID1ACC32 0x01
6241 #define _ACC32 0x01
6242 #define _PID1ACC33 0x02
6243 #define _ACC33 0x02
6244 #define _PID1ACC34 0x04
6245 #define _ACC34 0x04
6247 //==============================================================================
6250 //==============================================================================
6251 // PID1CON Bits
6253 extern __at(0x0614) __sfr PID1CON;
6255 typedef union
6257 struct
6259 unsigned MODE0 : 1;
6260 unsigned MODE1 : 1;
6261 unsigned MODE2 : 1;
6262 unsigned : 1;
6263 unsigned : 1;
6264 unsigned : 1;
6265 unsigned PID1BUSY : 1;
6266 unsigned PID1EN : 1;
6269 struct
6271 unsigned PID1MODE0 : 1;
6272 unsigned PID1MODE1 : 1;
6273 unsigned PID1MODE2 : 1;
6274 unsigned : 1;
6275 unsigned : 1;
6276 unsigned : 1;
6277 unsigned BUSY : 1;
6278 unsigned EN : 1;
6281 struct
6283 unsigned MODE : 3;
6284 unsigned : 5;
6287 struct
6289 unsigned PID1MODE : 3;
6290 unsigned : 5;
6292 } __PID1CONbits_t;
6294 extern __at(0x0614) volatile __PID1CONbits_t PID1CONbits;
6296 #define _PID1CON_MODE0 0x01
6297 #define _PID1CON_PID1MODE0 0x01
6298 #define _PID1CON_MODE1 0x02
6299 #define _PID1CON_PID1MODE1 0x02
6300 #define _PID1CON_MODE2 0x04
6301 #define _PID1CON_PID1MODE2 0x04
6302 #define _PID1CON_PID1BUSY 0x40
6303 #define _PID1CON_BUSY 0x40
6304 #define _PID1CON_PID1EN 0x80
6305 #define _PID1CON_EN 0x80
6307 //==============================================================================
6310 //==============================================================================
6311 // PWM3DCL Bits
6313 extern __at(0x0617) __sfr PWM3DCL;
6315 typedef union
6317 struct
6319 unsigned : 1;
6320 unsigned : 1;
6321 unsigned : 1;
6322 unsigned : 1;
6323 unsigned : 1;
6324 unsigned : 1;
6325 unsigned DC0 : 1;
6326 unsigned DC1 : 1;
6329 struct
6331 unsigned : 1;
6332 unsigned : 1;
6333 unsigned : 1;
6334 unsigned : 1;
6335 unsigned : 1;
6336 unsigned : 1;
6337 unsigned PWM3DC0 : 1;
6338 unsigned PWM3DC1 : 1;
6341 struct
6343 unsigned : 1;
6344 unsigned : 1;
6345 unsigned : 1;
6346 unsigned : 1;
6347 unsigned : 1;
6348 unsigned : 1;
6349 unsigned PWMPW0 : 1;
6350 unsigned PWMPW1 : 1;
6353 struct
6355 unsigned : 6;
6356 unsigned PWM3DC : 2;
6359 struct
6361 unsigned : 6;
6362 unsigned PWMPW : 2;
6365 struct
6367 unsigned : 6;
6368 unsigned DC : 2;
6370 } __PWM3DCLbits_t;
6372 extern __at(0x0617) volatile __PWM3DCLbits_t PWM3DCLbits;
6374 #define _DC0 0x40
6375 #define _PWM3DC0 0x40
6376 #define _PWMPW0 0x40
6377 #define _DC1 0x80
6378 #define _PWM3DC1 0x80
6379 #define _PWMPW1 0x80
6381 //==============================================================================
6384 //==============================================================================
6385 // PWM3DCH Bits
6387 extern __at(0x0618) __sfr PWM3DCH;
6389 typedef union
6391 struct
6393 unsigned DC2 : 1;
6394 unsigned DC3 : 1;
6395 unsigned DC4 : 1;
6396 unsigned DC5 : 1;
6397 unsigned DC6 : 1;
6398 unsigned DC7 : 1;
6399 unsigned DC8 : 1;
6400 unsigned DC9 : 1;
6403 struct
6405 unsigned PWM3DC2 : 1;
6406 unsigned PWM3DC3 : 1;
6407 unsigned PWM3DC4 : 1;
6408 unsigned PWM3DC5 : 1;
6409 unsigned PWM3DC6 : 1;
6410 unsigned PWM3DC7 : 1;
6411 unsigned PWM3DC8 : 1;
6412 unsigned PWM3DC9 : 1;
6415 struct
6417 unsigned PWMPW2 : 1;
6418 unsigned PWMPW3 : 1;
6419 unsigned PWMPW4 : 1;
6420 unsigned PWMPW5 : 1;
6421 unsigned PWMPW6 : 1;
6422 unsigned PWMPW7 : 1;
6423 unsigned PWMPW8 : 1;
6424 unsigned PWMPW9 : 1;
6426 } __PWM3DCHbits_t;
6428 extern __at(0x0618) volatile __PWM3DCHbits_t PWM3DCHbits;
6430 #define _DC2 0x01
6431 #define _PWM3DC2 0x01
6432 #define _PWMPW2 0x01
6433 #define _DC3 0x02
6434 #define _PWM3DC3 0x02
6435 #define _PWMPW3 0x02
6436 #define _DC4 0x04
6437 #define _PWM3DC4 0x04
6438 #define _PWMPW4 0x04
6439 #define _DC5 0x08
6440 #define _PWM3DC5 0x08
6441 #define _PWMPW5 0x08
6442 #define _DC6 0x10
6443 #define _PWM3DC6 0x10
6444 #define _PWMPW6 0x10
6445 #define _DC7 0x20
6446 #define _PWM3DC7 0x20
6447 #define _PWMPW7 0x20
6448 #define _DC8 0x40
6449 #define _PWM3DC8 0x40
6450 #define _PWMPW8 0x40
6451 #define _DC9 0x80
6452 #define _PWM3DC9 0x80
6453 #define _PWMPW9 0x80
6455 //==============================================================================
6458 //==============================================================================
6459 // PWM3CON Bits
6461 extern __at(0x0619) __sfr PWM3CON;
6463 typedef union
6465 struct
6467 unsigned : 1;
6468 unsigned : 1;
6469 unsigned : 1;
6470 unsigned : 1;
6471 unsigned POL : 1;
6472 unsigned OUT : 1;
6473 unsigned : 1;
6474 unsigned EN : 1;
6477 struct
6479 unsigned : 1;
6480 unsigned : 1;
6481 unsigned : 1;
6482 unsigned : 1;
6483 unsigned PWM3POL : 1;
6484 unsigned PWM3OUT : 1;
6485 unsigned : 1;
6486 unsigned PWM3EN : 1;
6488 } __PWM3CONbits_t;
6490 extern __at(0x0619) volatile __PWM3CONbits_t PWM3CONbits;
6492 #define _PWM3CON_POL 0x10
6493 #define _PWM3CON_PWM3POL 0x10
6494 #define _PWM3CON_OUT 0x20
6495 #define _PWM3CON_PWM3OUT 0x20
6496 #define _PWM3CON_EN 0x80
6497 #define _PWM3CON_PWM3EN 0x80
6499 //==============================================================================
6502 //==============================================================================
6503 // PWM4DCL Bits
6505 extern __at(0x061A) __sfr PWM4DCL;
6507 typedef union
6509 struct
6511 unsigned : 1;
6512 unsigned : 1;
6513 unsigned : 1;
6514 unsigned : 1;
6515 unsigned : 1;
6516 unsigned : 1;
6517 unsigned DC0 : 1;
6518 unsigned DC1 : 1;
6521 struct
6523 unsigned : 1;
6524 unsigned : 1;
6525 unsigned : 1;
6526 unsigned : 1;
6527 unsigned : 1;
6528 unsigned : 1;
6529 unsigned PWM4DC0 : 1;
6530 unsigned PWM4DC1 : 1;
6533 struct
6535 unsigned : 1;
6536 unsigned : 1;
6537 unsigned : 1;
6538 unsigned : 1;
6539 unsigned : 1;
6540 unsigned : 1;
6541 unsigned PWMPW0 : 1;
6542 unsigned PWMPW1 : 1;
6545 struct
6547 unsigned : 6;
6548 unsigned PWMPW : 2;
6551 struct
6553 unsigned : 6;
6554 unsigned DC : 2;
6557 struct
6559 unsigned : 6;
6560 unsigned PWM4DC : 2;
6562 } __PWM4DCLbits_t;
6564 extern __at(0x061A) volatile __PWM4DCLbits_t PWM4DCLbits;
6566 #define _PWM4DCL_DC0 0x40
6567 #define _PWM4DCL_PWM4DC0 0x40
6568 #define _PWM4DCL_PWMPW0 0x40
6569 #define _PWM4DCL_DC1 0x80
6570 #define _PWM4DCL_PWM4DC1 0x80
6571 #define _PWM4DCL_PWMPW1 0x80
6573 //==============================================================================
6576 //==============================================================================
6577 // PWM4DCH Bits
6579 extern __at(0x061B) __sfr PWM4DCH;
6581 typedef union
6583 struct
6585 unsigned DC2 : 1;
6586 unsigned DC3 : 1;
6587 unsigned DC4 : 1;
6588 unsigned DC5 : 1;
6589 unsigned DC6 : 1;
6590 unsigned DC7 : 1;
6591 unsigned DC8 : 1;
6592 unsigned DC9 : 1;
6595 struct
6597 unsigned PWM4DC2 : 1;
6598 unsigned PWM4DC3 : 1;
6599 unsigned PWM4DC4 : 1;
6600 unsigned PWM4DC5 : 1;
6601 unsigned PWM4DC6 : 1;
6602 unsigned PWM4DC7 : 1;
6603 unsigned PWM4DC8 : 1;
6604 unsigned PWM4DC9 : 1;
6607 struct
6609 unsigned PWMPW2 : 1;
6610 unsigned PWMPW3 : 1;
6611 unsigned PWMPW4 : 1;
6612 unsigned PWMPW5 : 1;
6613 unsigned PWMPW6 : 1;
6614 unsigned PWMPW7 : 1;
6615 unsigned PWMPW8 : 1;
6616 unsigned PWMPW9 : 1;
6618 } __PWM4DCHbits_t;
6620 extern __at(0x061B) volatile __PWM4DCHbits_t PWM4DCHbits;
6622 #define _PWM4DCH_DC2 0x01
6623 #define _PWM4DCH_PWM4DC2 0x01
6624 #define _PWM4DCH_PWMPW2 0x01
6625 #define _PWM4DCH_DC3 0x02
6626 #define _PWM4DCH_PWM4DC3 0x02
6627 #define _PWM4DCH_PWMPW3 0x02
6628 #define _PWM4DCH_DC4 0x04
6629 #define _PWM4DCH_PWM4DC4 0x04
6630 #define _PWM4DCH_PWMPW4 0x04
6631 #define _PWM4DCH_DC5 0x08
6632 #define _PWM4DCH_PWM4DC5 0x08
6633 #define _PWM4DCH_PWMPW5 0x08
6634 #define _PWM4DCH_DC6 0x10
6635 #define _PWM4DCH_PWM4DC6 0x10
6636 #define _PWM4DCH_PWMPW6 0x10
6637 #define _PWM4DCH_DC7 0x20
6638 #define _PWM4DCH_PWM4DC7 0x20
6639 #define _PWM4DCH_PWMPW7 0x20
6640 #define _PWM4DCH_DC8 0x40
6641 #define _PWM4DCH_PWM4DC8 0x40
6642 #define _PWM4DCH_PWMPW8 0x40
6643 #define _PWM4DCH_DC9 0x80
6644 #define _PWM4DCH_PWM4DC9 0x80
6645 #define _PWM4DCH_PWMPW9 0x80
6647 //==============================================================================
6650 //==============================================================================
6651 // PWM4CON Bits
6653 extern __at(0x061C) __sfr PWM4CON;
6655 typedef union
6657 struct
6659 unsigned : 1;
6660 unsigned : 1;
6661 unsigned : 1;
6662 unsigned : 1;
6663 unsigned POL : 1;
6664 unsigned OUT : 1;
6665 unsigned : 1;
6666 unsigned EN : 1;
6669 struct
6671 unsigned : 1;
6672 unsigned : 1;
6673 unsigned : 1;
6674 unsigned : 1;
6675 unsigned PWM4POL : 1;
6676 unsigned PWM4OUT : 1;
6677 unsigned : 1;
6678 unsigned PWM4EN : 1;
6680 } __PWM4CONbits_t;
6682 extern __at(0x061C) volatile __PWM4CONbits_t PWM4CONbits;
6684 #define _PWM4CON_POL 0x10
6685 #define _PWM4CON_PWM4POL 0x10
6686 #define _PWM4CON_OUT 0x20
6687 #define _PWM4CON_PWM4OUT 0x20
6688 #define _PWM4CON_EN 0x80
6689 #define _PWM4CON_PWM4EN 0x80
6691 //==============================================================================
6694 //==============================================================================
6695 // CWG1DBR Bits
6697 extern __at(0x0691) __sfr CWG1DBR;
6699 typedef union
6701 struct
6703 unsigned DBR0 : 1;
6704 unsigned DBR1 : 1;
6705 unsigned DBR2 : 1;
6706 unsigned DBR3 : 1;
6707 unsigned DBR4 : 1;
6708 unsigned DBR5 : 1;
6709 unsigned : 1;
6710 unsigned : 1;
6713 struct
6715 unsigned CWG1DBR0 : 1;
6716 unsigned CWG1DBR1 : 1;
6717 unsigned CWG1DBR2 : 1;
6718 unsigned CWG1DBR3 : 1;
6719 unsigned CWG1DBR4 : 1;
6720 unsigned CWG1DBR5 : 1;
6721 unsigned : 1;
6722 unsigned : 1;
6725 struct
6727 unsigned DBR : 6;
6728 unsigned : 2;
6731 struct
6733 unsigned CWG1DBR : 6;
6734 unsigned : 2;
6736 } __CWG1DBRbits_t;
6738 extern __at(0x0691) volatile __CWG1DBRbits_t CWG1DBRbits;
6740 #define _DBR0 0x01
6741 #define _CWG1DBR0 0x01
6742 #define _DBR1 0x02
6743 #define _CWG1DBR1 0x02
6744 #define _DBR2 0x04
6745 #define _CWG1DBR2 0x04
6746 #define _DBR3 0x08
6747 #define _CWG1DBR3 0x08
6748 #define _DBR4 0x10
6749 #define _CWG1DBR4 0x10
6750 #define _DBR5 0x20
6751 #define _CWG1DBR5 0x20
6753 //==============================================================================
6756 //==============================================================================
6757 // CWG1DBF Bits
6759 extern __at(0x0692) __sfr CWG1DBF;
6761 typedef union
6763 struct
6765 unsigned DBF0 : 1;
6766 unsigned DBF1 : 1;
6767 unsigned DBF2 : 1;
6768 unsigned DBF3 : 1;
6769 unsigned DBF4 : 1;
6770 unsigned DBF5 : 1;
6771 unsigned : 1;
6772 unsigned : 1;
6775 struct
6777 unsigned CWG1DBF0 : 1;
6778 unsigned CWG1DBF1 : 1;
6779 unsigned CWG1DBF2 : 1;
6780 unsigned CWG1DBF3 : 1;
6781 unsigned CWG1DBF4 : 1;
6782 unsigned CWG1DBF5 : 1;
6783 unsigned : 1;
6784 unsigned : 1;
6787 struct
6789 unsigned DBF : 6;
6790 unsigned : 2;
6793 struct
6795 unsigned CWG1DBF : 6;
6796 unsigned : 2;
6798 } __CWG1DBFbits_t;
6800 extern __at(0x0692) volatile __CWG1DBFbits_t CWG1DBFbits;
6802 #define _DBF0 0x01
6803 #define _CWG1DBF0 0x01
6804 #define _DBF1 0x02
6805 #define _CWG1DBF1 0x02
6806 #define _DBF2 0x04
6807 #define _CWG1DBF2 0x04
6808 #define _DBF3 0x08
6809 #define _CWG1DBF3 0x08
6810 #define _DBF4 0x10
6811 #define _CWG1DBF4 0x10
6812 #define _DBF5 0x20
6813 #define _CWG1DBF5 0x20
6815 //==============================================================================
6818 //==============================================================================
6819 // CWG1AS0 Bits
6821 extern __at(0x0693) __sfr CWG1AS0;
6823 typedef union
6825 struct
6827 unsigned : 1;
6828 unsigned : 1;
6829 unsigned LSAC0 : 1;
6830 unsigned LSAC1 : 1;
6831 unsigned LSBD0 : 1;
6832 unsigned LSBD1 : 1;
6833 unsigned REN : 1;
6834 unsigned SHUTDOWN : 1;
6837 struct
6839 unsigned : 1;
6840 unsigned : 1;
6841 unsigned CWG1LSAC0 : 1;
6842 unsigned CWG1LSAC1 : 1;
6843 unsigned CWG1LSBD0 : 1;
6844 unsigned CWG1LSBD1 : 1;
6845 unsigned CWG1REN : 1;
6846 unsigned CWG1SHUTDOWN : 1;
6849 struct
6851 unsigned : 2;
6852 unsigned CWG1LSAC : 2;
6853 unsigned : 4;
6856 struct
6858 unsigned : 2;
6859 unsigned LSAC : 2;
6860 unsigned : 4;
6863 struct
6865 unsigned : 4;
6866 unsigned LSBD : 2;
6867 unsigned : 2;
6870 struct
6872 unsigned : 4;
6873 unsigned CWG1LSBD : 2;
6874 unsigned : 2;
6876 } __CWG1AS0bits_t;
6878 extern __at(0x0693) volatile __CWG1AS0bits_t CWG1AS0bits;
6880 #define _LSAC0 0x04
6881 #define _CWG1LSAC0 0x04
6882 #define _LSAC1 0x08
6883 #define _CWG1LSAC1 0x08
6884 #define _LSBD0 0x10
6885 #define _CWG1LSBD0 0x10
6886 #define _LSBD1 0x20
6887 #define _CWG1LSBD1 0x20
6888 #define _REN 0x40
6889 #define _CWG1REN 0x40
6890 #define _SHUTDOWN 0x80
6891 #define _CWG1SHUTDOWN 0x80
6893 //==============================================================================
6896 //==============================================================================
6897 // CWG1AS1 Bits
6899 extern __at(0x0694) __sfr CWG1AS1;
6901 typedef union
6903 struct
6905 unsigned INAS : 1;
6906 unsigned C1AS : 1;
6907 unsigned C2AS : 1;
6908 unsigned : 1;
6909 unsigned TMR2AS : 1;
6910 unsigned TMR4AS : 1;
6911 unsigned TMR6AS : 1;
6912 unsigned : 1;
6915 struct
6917 unsigned CWG1INAS : 1;
6918 unsigned CWG1C1AS : 1;
6919 unsigned CWG1C2AS : 1;
6920 unsigned : 1;
6921 unsigned CWG1TMR2AS : 1;
6922 unsigned CWG1TMR4AS : 1;
6923 unsigned CWG1TMR6AS : 1;
6924 unsigned : 1;
6926 } __CWG1AS1bits_t;
6928 extern __at(0x0694) volatile __CWG1AS1bits_t CWG1AS1bits;
6930 #define _INAS 0x01
6931 #define _CWG1INAS 0x01
6932 #define _C1AS 0x02
6933 #define _CWG1C1AS 0x02
6934 #define _C2AS 0x04
6935 #define _CWG1C2AS 0x04
6936 #define _TMR2AS 0x10
6937 #define _CWG1TMR2AS 0x10
6938 #define _TMR4AS 0x20
6939 #define _CWG1TMR4AS 0x20
6940 #define _TMR6AS 0x40
6941 #define _CWG1TMR6AS 0x40
6943 //==============================================================================
6946 //==============================================================================
6947 // CWG1OCON0 Bits
6949 extern __at(0x0695) __sfr CWG1OCON0;
6951 typedef union
6953 struct
6955 unsigned STRA : 1;
6956 unsigned STRB : 1;
6957 unsigned STRC : 1;
6958 unsigned STRD : 1;
6959 unsigned OVRA : 1;
6960 unsigned OVRB : 1;
6961 unsigned OVRC : 1;
6962 unsigned OVRD : 1;
6965 struct
6967 unsigned CWG1STRA : 1;
6968 unsigned CWG1STRB : 1;
6969 unsigned CWG1STRC : 1;
6970 unsigned CWG1STRD : 1;
6971 unsigned CWG1OVRA : 1;
6972 unsigned CWG1OVRB : 1;
6973 unsigned CWG1OVRC : 1;
6974 unsigned CWG1OVRD : 1;
6976 } __CWG1OCON0bits_t;
6978 extern __at(0x0695) volatile __CWG1OCON0bits_t CWG1OCON0bits;
6980 #define _STRA 0x01
6981 #define _CWG1STRA 0x01
6982 #define _STRB 0x02
6983 #define _CWG1STRB 0x02
6984 #define _STRC 0x04
6985 #define _CWG1STRC 0x04
6986 #define _STRD 0x08
6987 #define _CWG1STRD 0x08
6988 #define _OVRA 0x10
6989 #define _CWG1OVRA 0x10
6990 #define _OVRB 0x20
6991 #define _CWG1OVRB 0x20
6992 #define _OVRC 0x40
6993 #define _CWG1OVRC 0x40
6994 #define _OVRD 0x80
6995 #define _CWG1OVRD 0x80
6997 //==============================================================================
7000 //==============================================================================
7001 // CWG1CON0 Bits
7003 extern __at(0x0696) __sfr CWG1CON0;
7005 typedef union
7007 struct
7009 unsigned MODE0 : 1;
7010 unsigned MODE1 : 1;
7011 unsigned MODE2 : 1;
7012 unsigned : 1;
7013 unsigned : 1;
7014 unsigned : 1;
7015 unsigned LD : 1;
7016 unsigned EN : 1;
7019 struct
7021 unsigned CWG1MODE0 : 1;
7022 unsigned CWG1MODE1 : 1;
7023 unsigned CWG1MODE2 : 1;
7024 unsigned : 1;
7025 unsigned : 1;
7026 unsigned : 1;
7027 unsigned CWG1LD : 1;
7028 unsigned G1EN : 1;
7031 struct
7033 unsigned : 1;
7034 unsigned : 1;
7035 unsigned : 1;
7036 unsigned : 1;
7037 unsigned : 1;
7038 unsigned : 1;
7039 unsigned : 1;
7040 unsigned CWG1EN : 1;
7043 struct
7045 unsigned CWG1MODE : 3;
7046 unsigned : 5;
7049 struct
7051 unsigned MODE : 3;
7052 unsigned : 5;
7054 } __CWG1CON0bits_t;
7056 extern __at(0x0696) volatile __CWG1CON0bits_t CWG1CON0bits;
7058 #define _CWG1CON0_MODE0 0x01
7059 #define _CWG1CON0_CWG1MODE0 0x01
7060 #define _CWG1CON0_MODE1 0x02
7061 #define _CWG1CON0_CWG1MODE1 0x02
7062 #define _CWG1CON0_MODE2 0x04
7063 #define _CWG1CON0_CWG1MODE2 0x04
7064 #define _CWG1CON0_LD 0x40
7065 #define _CWG1CON0_CWG1LD 0x40
7066 #define _CWG1CON0_EN 0x80
7067 #define _CWG1CON0_G1EN 0x80
7068 #define _CWG1CON0_CWG1EN 0x80
7070 //==============================================================================
7073 //==============================================================================
7074 // CWG1CON1 Bits
7076 extern __at(0x0697) __sfr CWG1CON1;
7078 typedef union
7080 struct
7082 unsigned POLA : 1;
7083 unsigned POLB : 1;
7084 unsigned POLC : 1;
7085 unsigned POLD : 1;
7086 unsigned : 1;
7087 unsigned IN : 1;
7088 unsigned : 1;
7089 unsigned : 1;
7092 struct
7094 unsigned CWG1POLA : 1;
7095 unsigned CWG1POLB : 1;
7096 unsigned CWG1POLC : 1;
7097 unsigned CWG1POLD : 1;
7098 unsigned : 1;
7099 unsigned CWG1IN : 1;
7100 unsigned : 1;
7101 unsigned : 1;
7103 } __CWG1CON1bits_t;
7105 extern __at(0x0697) volatile __CWG1CON1bits_t CWG1CON1bits;
7107 #define _POLA 0x01
7108 #define _CWG1POLA 0x01
7109 #define _POLB 0x02
7110 #define _CWG1POLB 0x02
7111 #define _POLC 0x04
7112 #define _CWG1POLC 0x04
7113 #define _POLD 0x08
7114 #define _CWG1POLD 0x08
7115 #define _IN 0x20
7116 #define _CWG1IN 0x20
7118 //==============================================================================
7121 //==============================================================================
7122 // CWG1CLKCON Bits
7124 extern __at(0x0699) __sfr CWG1CLKCON;
7126 typedef union
7128 struct
7130 unsigned CS : 1;
7131 unsigned : 1;
7132 unsigned : 1;
7133 unsigned : 1;
7134 unsigned : 1;
7135 unsigned : 1;
7136 unsigned : 1;
7137 unsigned : 1;
7140 struct
7142 unsigned CWG1CS : 1;
7143 unsigned : 1;
7144 unsigned : 1;
7145 unsigned : 1;
7146 unsigned : 1;
7147 unsigned : 1;
7148 unsigned : 1;
7149 unsigned : 1;
7151 } __CWG1CLKCONbits_t;
7153 extern __at(0x0699) volatile __CWG1CLKCONbits_t CWG1CLKCONbits;
7155 #define _CWG1CLKCON_CS 0x01
7156 #define _CWG1CLKCON_CWG1CS 0x01
7158 //==============================================================================
7161 //==============================================================================
7162 // CWG1ISM Bits
7164 extern __at(0x069A) __sfr CWG1ISM;
7166 typedef union
7168 struct
7170 unsigned IS0 : 1;
7171 unsigned IS1 : 1;
7172 unsigned IS2 : 1;
7173 unsigned IS3 : 1;
7174 unsigned : 1;
7175 unsigned : 1;
7176 unsigned : 1;
7177 unsigned : 1;
7180 struct
7182 unsigned CWG1IS0 : 1;
7183 unsigned CWG1IS1 : 1;
7184 unsigned CWG1IS2 : 1;
7185 unsigned CWG1IS3 : 1;
7186 unsigned : 1;
7187 unsigned : 1;
7188 unsigned : 1;
7189 unsigned : 1;
7192 struct
7194 unsigned CWG1IS : 4;
7195 unsigned : 4;
7198 struct
7200 unsigned IS : 4;
7201 unsigned : 4;
7203 } __CWG1ISMbits_t;
7205 extern __at(0x069A) volatile __CWG1ISMbits_t CWG1ISMbits;
7207 #define _IS0 0x01
7208 #define _CWG1IS0 0x01
7209 #define _IS1 0x02
7210 #define _CWG1IS1 0x02
7211 #define _IS2 0x04
7212 #define _CWG1IS2 0x04
7213 #define _IS3 0x08
7214 #define _CWG1IS3 0x08
7216 //==============================================================================
7219 //==============================================================================
7220 // WDTCON0 Bits
7222 extern __at(0x0711) __sfr WDTCON0;
7224 typedef union
7226 struct
7228 unsigned SEN : 1;
7229 unsigned WDTPS0 : 1;
7230 unsigned WDTPS1 : 1;
7231 unsigned WDTPS2 : 1;
7232 unsigned WDTPS3 : 1;
7233 unsigned WDTPS4 : 1;
7234 unsigned : 1;
7235 unsigned : 1;
7238 struct
7240 unsigned SWDTEN : 1;
7241 unsigned : 1;
7242 unsigned : 1;
7243 unsigned : 1;
7244 unsigned : 1;
7245 unsigned : 1;
7246 unsigned : 1;
7247 unsigned : 1;
7250 struct
7252 unsigned WDTSEN : 1;
7253 unsigned : 1;
7254 unsigned : 1;
7255 unsigned : 1;
7256 unsigned : 1;
7257 unsigned : 1;
7258 unsigned : 1;
7259 unsigned : 1;
7262 struct
7264 unsigned : 1;
7265 unsigned WDTPS : 5;
7266 unsigned : 2;
7268 } __WDTCON0bits_t;
7270 extern __at(0x0711) volatile __WDTCON0bits_t WDTCON0bits;
7272 #define _WDTCON0_SEN 0x01
7273 #define _WDTCON0_SWDTEN 0x01
7274 #define _WDTCON0_WDTSEN 0x01
7275 #define _WDTCON0_WDTPS0 0x02
7276 #define _WDTCON0_WDTPS1 0x04
7277 #define _WDTCON0_WDTPS2 0x08
7278 #define _WDTCON0_WDTPS3 0x10
7279 #define _WDTCON0_WDTPS4 0x20
7281 //==============================================================================
7284 //==============================================================================
7285 // WDTCON1 Bits
7287 extern __at(0x0712) __sfr WDTCON1;
7289 typedef union
7291 struct
7293 unsigned WINDOW0 : 1;
7294 unsigned WINDOW1 : 1;
7295 unsigned WINDOW2 : 1;
7296 unsigned : 1;
7297 unsigned WDTCS0 : 1;
7298 unsigned WDTCS1 : 1;
7299 unsigned WDTCS2 : 1;
7300 unsigned : 1;
7303 struct
7305 unsigned WDTWINDOW0 : 1;
7306 unsigned WDTWINDOW1 : 1;
7307 unsigned WDTWINDOW2 : 1;
7308 unsigned : 1;
7309 unsigned : 1;
7310 unsigned : 1;
7311 unsigned : 1;
7312 unsigned : 1;
7315 struct
7317 unsigned WDTWINDOW : 3;
7318 unsigned : 5;
7321 struct
7323 unsigned WINDOW : 3;
7324 unsigned : 5;
7327 struct
7329 unsigned : 4;
7330 unsigned WDTCS : 3;
7331 unsigned : 1;
7333 } __WDTCON1bits_t;
7335 extern __at(0x0712) volatile __WDTCON1bits_t WDTCON1bits;
7337 #define _WINDOW0 0x01
7338 #define _WDTWINDOW0 0x01
7339 #define _WINDOW1 0x02
7340 #define _WDTWINDOW1 0x02
7341 #define _WINDOW2 0x04
7342 #define _WDTWINDOW2 0x04
7343 #define _WDTCS0 0x10
7344 #define _WDTCS1 0x20
7345 #define _WDTCS2 0x40
7347 //==============================================================================
7350 //==============================================================================
7351 // WDTPSL Bits
7353 extern __at(0x0713) __sfr WDTPSL;
7355 typedef union
7357 struct
7359 unsigned PSCNT0 : 1;
7360 unsigned PSCNT1 : 1;
7361 unsigned PSCNT2 : 1;
7362 unsigned PSCNT3 : 1;
7363 unsigned PSCNT4 : 1;
7364 unsigned PSCNT5 : 1;
7365 unsigned PSCNT6 : 1;
7366 unsigned PSCNT7 : 1;
7369 struct
7371 unsigned WDTPSCNT0 : 1;
7372 unsigned WDTPSCNT1 : 1;
7373 unsigned WDTPSCNT2 : 1;
7374 unsigned WDTPSCNT3 : 1;
7375 unsigned WDTPSCNT4 : 1;
7376 unsigned WDTPSCNT5 : 1;
7377 unsigned WDTPSCNT6 : 1;
7378 unsigned WDTPSCNT7 : 1;
7380 } __WDTPSLbits_t;
7382 extern __at(0x0713) volatile __WDTPSLbits_t WDTPSLbits;
7384 #define _PSCNT0 0x01
7385 #define _WDTPSCNT0 0x01
7386 #define _PSCNT1 0x02
7387 #define _WDTPSCNT1 0x02
7388 #define _PSCNT2 0x04
7389 #define _WDTPSCNT2 0x04
7390 #define _PSCNT3 0x08
7391 #define _WDTPSCNT3 0x08
7392 #define _PSCNT4 0x10
7393 #define _WDTPSCNT4 0x10
7394 #define _PSCNT5 0x20
7395 #define _WDTPSCNT5 0x20
7396 #define _PSCNT6 0x40
7397 #define _WDTPSCNT6 0x40
7398 #define _PSCNT7 0x80
7399 #define _WDTPSCNT7 0x80
7401 //==============================================================================
7404 //==============================================================================
7405 // WDTPSH Bits
7407 extern __at(0x0714) __sfr WDTPSH;
7409 typedef union
7411 struct
7413 unsigned PSCNT8 : 1;
7414 unsigned PSCNT9 : 1;
7415 unsigned PSCNT10 : 1;
7416 unsigned PSCNT11 : 1;
7417 unsigned PSCNT12 : 1;
7418 unsigned PSCNT13 : 1;
7419 unsigned PSCNT14 : 1;
7420 unsigned PSCNT15 : 1;
7423 struct
7425 unsigned WDTPSCNT8 : 1;
7426 unsigned WDTPSCNT9 : 1;
7427 unsigned WDTPSCNT10 : 1;
7428 unsigned WDTPSCNT11 : 1;
7429 unsigned WDTPSCNT12 : 1;
7430 unsigned WDTPSCNT13 : 1;
7431 unsigned WDTPSCNT14 : 1;
7432 unsigned WDTPSCNT15 : 1;
7434 } __WDTPSHbits_t;
7436 extern __at(0x0714) volatile __WDTPSHbits_t WDTPSHbits;
7438 #define _PSCNT8 0x01
7439 #define _WDTPSCNT8 0x01
7440 #define _PSCNT9 0x02
7441 #define _WDTPSCNT9 0x02
7442 #define _PSCNT10 0x04
7443 #define _WDTPSCNT10 0x04
7444 #define _PSCNT11 0x08
7445 #define _WDTPSCNT11 0x08
7446 #define _PSCNT12 0x10
7447 #define _WDTPSCNT12 0x10
7448 #define _PSCNT13 0x20
7449 #define _WDTPSCNT13 0x20
7450 #define _PSCNT14 0x40
7451 #define _WDTPSCNT14 0x40
7452 #define _PSCNT15 0x80
7453 #define _WDTPSCNT15 0x80
7455 //==============================================================================
7458 //==============================================================================
7459 // WDTTMR Bits
7461 extern __at(0x0715) __sfr WDTTMR;
7463 typedef union
7465 struct
7467 unsigned PSCNT16 : 1;
7468 unsigned PSCNT17 : 1;
7469 unsigned STATE : 1;
7470 unsigned WDTTMR0 : 1;
7471 unsigned WDTTMR1 : 1;
7472 unsigned WDTTMR2 : 1;
7473 unsigned WDTTMR3 : 1;
7474 unsigned WDTTMR4 : 1;
7477 struct
7479 unsigned WDTPSCNT16 : 1;
7480 unsigned WDTPSCNT17 : 1;
7481 unsigned WDTSTATE : 1;
7482 unsigned : 1;
7483 unsigned : 1;
7484 unsigned : 1;
7485 unsigned : 1;
7486 unsigned : 1;
7489 struct
7491 unsigned : 3;
7492 unsigned WDTTMR : 5;
7494 } __WDTTMRbits_t;
7496 extern __at(0x0715) volatile __WDTTMRbits_t WDTTMRbits;
7498 #define _PSCNT16 0x01
7499 #define _WDTPSCNT16 0x01
7500 #define _PSCNT17 0x02
7501 #define _WDTPSCNT17 0x02
7502 #define _STATE 0x04
7503 #define _WDTSTATE 0x04
7504 #define _WDTTMR0 0x08
7505 #define _WDTTMR1 0x10
7506 #define _WDTTMR2 0x20
7507 #define _WDTTMR3 0x40
7508 #define _WDTTMR4 0x80
7510 //==============================================================================
7512 extern __at(0x0718) __sfr SCANLADR;
7514 //==============================================================================
7515 // SCANLADRL Bits
7517 extern __at(0x0718) __sfr SCANLADRL;
7519 typedef union
7521 struct
7523 unsigned LDAR0 : 1;
7524 unsigned LDAR1 : 1;
7525 unsigned LADR2 : 1;
7526 unsigned LADR3 : 1;
7527 unsigned LADR4 : 1;
7528 unsigned LADR5 : 1;
7529 unsigned LADR6 : 1;
7530 unsigned LADR7 : 1;
7533 struct
7535 unsigned SCANLADR0 : 1;
7536 unsigned SCANLADR1 : 1;
7537 unsigned SCANLADR2 : 1;
7538 unsigned SCANLADR3 : 1;
7539 unsigned SCANLADR4 : 1;
7540 unsigned SCANLADR5 : 1;
7541 unsigned SCANLADR6 : 1;
7542 unsigned SCANLADR7 : 1;
7545 struct
7547 unsigned LDAR : 2;
7548 unsigned : 6;
7550 } __SCANLADRLbits_t;
7552 extern __at(0x0718) volatile __SCANLADRLbits_t SCANLADRLbits;
7554 #define _LDAR0 0x01
7555 #define _SCANLADR0 0x01
7556 #define _LDAR1 0x02
7557 #define _SCANLADR1 0x02
7558 #define _LADR2 0x04
7559 #define _SCANLADR2 0x04
7560 #define _LADR3 0x08
7561 #define _SCANLADR3 0x08
7562 #define _LADR4 0x10
7563 #define _SCANLADR4 0x10
7564 #define _LADR5 0x20
7565 #define _SCANLADR5 0x20
7566 #define _LADR6 0x40
7567 #define _SCANLADR6 0x40
7568 #define _LADR7 0x80
7569 #define _SCANLADR7 0x80
7571 //==============================================================================
7574 //==============================================================================
7575 // SCANLADRH Bits
7577 extern __at(0x0719) __sfr SCANLADRH;
7579 typedef union
7581 struct
7583 unsigned LADR8 : 1;
7584 unsigned LADR9 : 1;
7585 unsigned LADR10 : 1;
7586 unsigned LADR11 : 1;
7587 unsigned LADR12 : 1;
7588 unsigned LADR13 : 1;
7589 unsigned LADR14 : 1;
7590 unsigned LADR15 : 1;
7593 struct
7595 unsigned SCANLADR8 : 1;
7596 unsigned SCANLADR9 : 1;
7597 unsigned SCANLADR10 : 1;
7598 unsigned SCANLADR11 : 1;
7599 unsigned SCANLADR12 : 1;
7600 unsigned SCANLADR13 : 1;
7601 unsigned SCANLADR14 : 1;
7602 unsigned SCANLADR15 : 1;
7604 } __SCANLADRHbits_t;
7606 extern __at(0x0719) volatile __SCANLADRHbits_t SCANLADRHbits;
7608 #define _LADR8 0x01
7609 #define _SCANLADR8 0x01
7610 #define _LADR9 0x02
7611 #define _SCANLADR9 0x02
7612 #define _LADR10 0x04
7613 #define _SCANLADR10 0x04
7614 #define _LADR11 0x08
7615 #define _SCANLADR11 0x08
7616 #define _LADR12 0x10
7617 #define _SCANLADR12 0x10
7618 #define _LADR13 0x20
7619 #define _SCANLADR13 0x20
7620 #define _LADR14 0x40
7621 #define _SCANLADR14 0x40
7622 #define _LADR15 0x80
7623 #define _SCANLADR15 0x80
7625 //==============================================================================
7627 extern __at(0x071A) __sfr SCANHADR;
7629 //==============================================================================
7630 // SCANHADRL Bits
7632 extern __at(0x071A) __sfr SCANHADRL;
7634 typedef union
7636 struct
7638 unsigned HADR0 : 1;
7639 unsigned HADR1 : 1;
7640 unsigned HARD2 : 1;
7641 unsigned HADR3 : 1;
7642 unsigned HADR4 : 1;
7643 unsigned HADR5 : 1;
7644 unsigned HADR6 : 1;
7645 unsigned HADR7 : 1;
7648 struct
7650 unsigned SCANHADR0 : 1;
7651 unsigned SCANHADR1 : 1;
7652 unsigned SCANHADR2 : 1;
7653 unsigned SCANHADR3 : 1;
7654 unsigned SCANHADR4 : 1;
7655 unsigned SCANHADR5 : 1;
7656 unsigned SCANHADR6 : 1;
7657 unsigned SCANHADR7 : 1;
7659 } __SCANHADRLbits_t;
7661 extern __at(0x071A) volatile __SCANHADRLbits_t SCANHADRLbits;
7663 #define _HADR0 0x01
7664 #define _SCANHADR0 0x01
7665 #define _HADR1 0x02
7666 #define _SCANHADR1 0x02
7667 #define _HARD2 0x04
7668 #define _SCANHADR2 0x04
7669 #define _HADR3 0x08
7670 #define _SCANHADR3 0x08
7671 #define _HADR4 0x10
7672 #define _SCANHADR4 0x10
7673 #define _HADR5 0x20
7674 #define _SCANHADR5 0x20
7675 #define _HADR6 0x40
7676 #define _SCANHADR6 0x40
7677 #define _HADR7 0x80
7678 #define _SCANHADR7 0x80
7680 //==============================================================================
7683 //==============================================================================
7684 // SCANHADRH Bits
7686 extern __at(0x071B) __sfr SCANHADRH;
7688 typedef union
7690 struct
7692 unsigned HADR8 : 1;
7693 unsigned HADR9 : 1;
7694 unsigned HADR10 : 1;
7695 unsigned HADR11 : 1;
7696 unsigned HADR12 : 1;
7697 unsigned HADR13 : 1;
7698 unsigned HADR14 : 1;
7699 unsigned HADR15 : 1;
7702 struct
7704 unsigned SCANHADR8 : 1;
7705 unsigned SCANHADR9 : 1;
7706 unsigned SCANHADR10 : 1;
7707 unsigned SCANHADR11 : 1;
7708 unsigned SCANHADR12 : 1;
7709 unsigned SCANHADR13 : 1;
7710 unsigned SCANHADR14 : 1;
7711 unsigned SCANHADR15 : 1;
7713 } __SCANHADRHbits_t;
7715 extern __at(0x071B) volatile __SCANHADRHbits_t SCANHADRHbits;
7717 #define _HADR8 0x01
7718 #define _SCANHADR8 0x01
7719 #define _HADR9 0x02
7720 #define _SCANHADR9 0x02
7721 #define _HADR10 0x04
7722 #define _SCANHADR10 0x04
7723 #define _HADR11 0x08
7724 #define _SCANHADR11 0x08
7725 #define _HADR12 0x10
7726 #define _SCANHADR12 0x10
7727 #define _HADR13 0x20
7728 #define _SCANHADR13 0x20
7729 #define _HADR14 0x40
7730 #define _SCANHADR14 0x40
7731 #define _HADR15 0x80
7732 #define _SCANHADR15 0x80
7734 //==============================================================================
7737 //==============================================================================
7738 // SCANCON0 Bits
7740 extern __at(0x071C) __sfr SCANCON0;
7742 typedef union
7744 struct
7746 unsigned MODE0 : 1;
7747 unsigned MODE1 : 1;
7748 unsigned : 1;
7749 unsigned INTM : 1;
7750 unsigned INVALID : 1;
7751 unsigned BUSY : 1;
7752 unsigned SCANGO : 1;
7753 unsigned EN : 1;
7756 struct
7758 unsigned SCANMODE0 : 1;
7759 unsigned SCANMODE1 : 1;
7760 unsigned : 1;
7761 unsigned SCANINTM : 1;
7762 unsigned SCANINVALID : 1;
7763 unsigned SCANBUSY : 1;
7764 unsigned : 1;
7765 unsigned SCANEN : 1;
7768 struct
7770 unsigned SCANMODE : 2;
7771 unsigned : 6;
7774 struct
7776 unsigned MODE : 2;
7777 unsigned : 6;
7779 } __SCANCON0bits_t;
7781 extern __at(0x071C) volatile __SCANCON0bits_t SCANCON0bits;
7783 #define _SCANCON0_MODE0 0x01
7784 #define _SCANCON0_SCANMODE0 0x01
7785 #define _SCANCON0_MODE1 0x02
7786 #define _SCANCON0_SCANMODE1 0x02
7787 #define _SCANCON0_INTM 0x08
7788 #define _SCANCON0_SCANINTM 0x08
7789 #define _SCANCON0_INVALID 0x10
7790 #define _SCANCON0_SCANINVALID 0x10
7791 #define _SCANCON0_BUSY 0x20
7792 #define _SCANCON0_SCANBUSY 0x20
7793 #define _SCANCON0_SCANGO 0x40
7794 #define _SCANCON0_EN 0x80
7795 #define _SCANCON0_SCANEN 0x80
7797 //==============================================================================
7800 //==============================================================================
7801 // SCANTRIG Bits
7803 extern __at(0x071D) __sfr SCANTRIG;
7805 typedef union
7807 struct
7809 unsigned TSEL0 : 1;
7810 unsigned TSEL1 : 1;
7811 unsigned TSEL2 : 1;
7812 unsigned TSEL3 : 1;
7813 unsigned : 1;
7814 unsigned : 1;
7815 unsigned : 1;
7816 unsigned : 1;
7819 struct
7821 unsigned SCANTSEL0 : 1;
7822 unsigned SCANTSEL1 : 1;
7823 unsigned SCANTSEL2 : 1;
7824 unsigned SCANTSEL3 : 1;
7825 unsigned : 1;
7826 unsigned : 1;
7827 unsigned : 1;
7828 unsigned : 1;
7831 struct
7833 unsigned TSEL : 4;
7834 unsigned : 4;
7837 struct
7839 unsigned SCANTSEL : 4;
7840 unsigned : 4;
7842 } __SCANTRIGbits_t;
7844 extern __at(0x071D) volatile __SCANTRIGbits_t SCANTRIGbits;
7846 #define _TSEL0 0x01
7847 #define _SCANTSEL0 0x01
7848 #define _TSEL1 0x02
7849 #define _SCANTSEL1 0x02
7850 #define _TSEL2 0x04
7851 #define _SCANTSEL2 0x04
7852 #define _TSEL3 0x08
7853 #define _SCANTSEL3 0x08
7855 //==============================================================================
7857 extern __at(0x0791) __sfr CRCDAT;
7859 //==============================================================================
7860 // CRCDATL Bits
7862 extern __at(0x0791) __sfr CRCDATL;
7864 typedef union
7866 struct
7868 unsigned DAT0 : 1;
7869 unsigned DAT1 : 1;
7870 unsigned DAT2 : 1;
7871 unsigned DAT3 : 1;
7872 unsigned DAT4 : 1;
7873 unsigned DAT5 : 1;
7874 unsigned DAT6 : 1;
7875 unsigned DAT7 : 1;
7878 struct
7880 unsigned CRCDAT0 : 1;
7881 unsigned CRCDAT1 : 1;
7882 unsigned CRCDAT2 : 1;
7883 unsigned CRCDAT3 : 1;
7884 unsigned CRCDAT4 : 1;
7885 unsigned CRCDAT5 : 1;
7886 unsigned CRCDAT6 : 1;
7887 unsigned CRDCDAT7 : 1;
7890 struct
7892 unsigned CRCDAT : 7;
7893 unsigned : 1;
7895 } __CRCDATLbits_t;
7897 extern __at(0x0791) volatile __CRCDATLbits_t CRCDATLbits;
7899 #define _DAT0 0x01
7900 #define _CRCDAT0 0x01
7901 #define _DAT1 0x02
7902 #define _CRCDAT1 0x02
7903 #define _DAT2 0x04
7904 #define _CRCDAT2 0x04
7905 #define _DAT3 0x08
7906 #define _CRCDAT3 0x08
7907 #define _DAT4 0x10
7908 #define _CRCDAT4 0x10
7909 #define _DAT5 0x20
7910 #define _CRCDAT5 0x20
7911 #define _DAT6 0x40
7912 #define _CRCDAT6 0x40
7913 #define _DAT7 0x80
7914 #define _CRDCDAT7 0x80
7916 //==============================================================================
7919 //==============================================================================
7920 // CRCDATH Bits
7922 extern __at(0x0792) __sfr CRCDATH;
7924 typedef union
7926 struct
7928 unsigned DAT8 : 1;
7929 unsigned DAT9 : 1;
7930 unsigned DAT10 : 1;
7931 unsigned DAT11 : 1;
7932 unsigned DAT12 : 1;
7933 unsigned DAT13 : 1;
7934 unsigned DAT14 : 1;
7935 unsigned DAT15 : 1;
7938 struct
7940 unsigned CRCDAT8 : 1;
7941 unsigned CRCDAT9 : 1;
7942 unsigned CRCDAT10 : 1;
7943 unsigned CRCDAT11 : 1;
7944 unsigned CRCDAT12 : 1;
7945 unsigned CRCDAT13 : 1;
7946 unsigned CRCDAT14 : 1;
7947 unsigned CRCDAT15 : 1;
7949 } __CRCDATHbits_t;
7951 extern __at(0x0792) volatile __CRCDATHbits_t CRCDATHbits;
7953 #define _DAT8 0x01
7954 #define _CRCDAT8 0x01
7955 #define _DAT9 0x02
7956 #define _CRCDAT9 0x02
7957 #define _DAT10 0x04
7958 #define _CRCDAT10 0x04
7959 #define _DAT11 0x08
7960 #define _CRCDAT11 0x08
7961 #define _DAT12 0x10
7962 #define _CRCDAT12 0x10
7963 #define _DAT13 0x20
7964 #define _CRCDAT13 0x20
7965 #define _DAT14 0x40
7966 #define _CRCDAT14 0x40
7967 #define _DAT15 0x80
7968 #define _CRCDAT15 0x80
7970 //==============================================================================
7972 extern __at(0x0793) __sfr CRCACC;
7974 //==============================================================================
7975 // CRCACCL Bits
7977 extern __at(0x0793) __sfr CRCACCL;
7979 typedef union
7981 struct
7983 unsigned ACC0 : 1;
7984 unsigned ACC1 : 1;
7985 unsigned ACC2 : 1;
7986 unsigned ACC3 : 1;
7987 unsigned ACC4 : 1;
7988 unsigned ACC5 : 1;
7989 unsigned ACC6 : 1;
7990 unsigned ACC7 : 1;
7993 struct
7995 unsigned CRCACC0 : 1;
7996 unsigned CRCACC1 : 1;
7997 unsigned CRCACC2 : 1;
7998 unsigned CRCACC3 : 1;
7999 unsigned CRCACC4 : 1;
8000 unsigned CRCACC5 : 1;
8001 unsigned CRCACC6 : 1;
8002 unsigned CRCACC7 : 1;
8004 } __CRCACCLbits_t;
8006 extern __at(0x0793) volatile __CRCACCLbits_t CRCACCLbits;
8008 #define _ACC0 0x01
8009 #define _CRCACC0 0x01
8010 #define _ACC1 0x02
8011 #define _CRCACC1 0x02
8012 #define _ACC2 0x04
8013 #define _CRCACC2 0x04
8014 #define _ACC3 0x08
8015 #define _CRCACC3 0x08
8016 #define _ACC4 0x10
8017 #define _CRCACC4 0x10
8018 #define _ACC5 0x20
8019 #define _CRCACC5 0x20
8020 #define _ACC6 0x40
8021 #define _CRCACC6 0x40
8022 #define _ACC7 0x80
8023 #define _CRCACC7 0x80
8025 //==============================================================================
8028 //==============================================================================
8029 // CRCACCH Bits
8031 extern __at(0x0794) __sfr CRCACCH;
8033 typedef union
8035 struct
8037 unsigned ACC8 : 1;
8038 unsigned ACC9 : 1;
8039 unsigned ACC10 : 1;
8040 unsigned ACC11 : 1;
8041 unsigned ACC12 : 1;
8042 unsigned ACC13 : 1;
8043 unsigned ACC14 : 1;
8044 unsigned ACC15 : 1;
8047 struct
8049 unsigned CRCACC8 : 1;
8050 unsigned CRCACC9 : 1;
8051 unsigned CRCACC10 : 1;
8052 unsigned CRCACC11 : 1;
8053 unsigned CRCACC12 : 1;
8054 unsigned CRCACC13 : 1;
8055 unsigned CRCACC14 : 1;
8056 unsigned CRCACC15 : 1;
8058 } __CRCACCHbits_t;
8060 extern __at(0x0794) volatile __CRCACCHbits_t CRCACCHbits;
8062 #define _ACC8 0x01
8063 #define _CRCACC8 0x01
8064 #define _ACC9 0x02
8065 #define _CRCACC9 0x02
8066 #define _ACC10 0x04
8067 #define _CRCACC10 0x04
8068 #define _ACC11 0x08
8069 #define _CRCACC11 0x08
8070 #define _ACC12 0x10
8071 #define _CRCACC12 0x10
8072 #define _ACC13 0x20
8073 #define _CRCACC13 0x20
8074 #define _ACC14 0x40
8075 #define _CRCACC14 0x40
8076 #define _ACC15 0x80
8077 #define _CRCACC15 0x80
8079 //==============================================================================
8081 extern __at(0x0795) __sfr CRCSHIFT;
8083 //==============================================================================
8084 // CRCSHIFTL Bits
8086 extern __at(0x0795) __sfr CRCSHIFTL;
8088 typedef union
8090 struct
8092 unsigned SHIFT0 : 1;
8093 unsigned SHIFT1 : 1;
8094 unsigned SHIFT2 : 1;
8095 unsigned SHIFT3 : 1;
8096 unsigned SHIFT4 : 1;
8097 unsigned SHIFT5 : 1;
8098 unsigned SHIFT6 : 1;
8099 unsigned SHIFT7 : 1;
8102 struct
8104 unsigned CRCSHIFT0 : 1;
8105 unsigned CRCSHIFT1 : 1;
8106 unsigned CRCSHIFT2 : 1;
8107 unsigned CRCSHIFT3 : 1;
8108 unsigned CRCSHIFT4 : 1;
8109 unsigned CRCSHIFT5 : 1;
8110 unsigned CRCSHIFT6 : 1;
8111 unsigned CRCSHIFT7 : 1;
8113 } __CRCSHIFTLbits_t;
8115 extern __at(0x0795) volatile __CRCSHIFTLbits_t CRCSHIFTLbits;
8117 #define _SHIFT0 0x01
8118 #define _CRCSHIFT0 0x01
8119 #define _SHIFT1 0x02
8120 #define _CRCSHIFT1 0x02
8121 #define _SHIFT2 0x04
8122 #define _CRCSHIFT2 0x04
8123 #define _SHIFT3 0x08
8124 #define _CRCSHIFT3 0x08
8125 #define _SHIFT4 0x10
8126 #define _CRCSHIFT4 0x10
8127 #define _SHIFT5 0x20
8128 #define _CRCSHIFT5 0x20
8129 #define _SHIFT6 0x40
8130 #define _CRCSHIFT6 0x40
8131 #define _SHIFT7 0x80
8132 #define _CRCSHIFT7 0x80
8134 //==============================================================================
8137 //==============================================================================
8138 // CRCSHIFTH Bits
8140 extern __at(0x0796) __sfr CRCSHIFTH;
8142 typedef union
8144 struct
8146 unsigned SHIFT8 : 1;
8147 unsigned SHIFT9 : 1;
8148 unsigned SHIFT10 : 1;
8149 unsigned SHIFT11 : 1;
8150 unsigned SHIFT12 : 1;
8151 unsigned SHIFT13 : 1;
8152 unsigned SHIFT14 : 1;
8153 unsigned SHIFT15 : 1;
8156 struct
8158 unsigned CRCSHIFT8 : 1;
8159 unsigned CRCSHIFT9 : 1;
8160 unsigned CRCSHIFT10 : 1;
8161 unsigned CRCSHIFT11 : 1;
8162 unsigned CRCSHIFT12 : 1;
8163 unsigned CRCSHIFT13 : 1;
8164 unsigned CRCSHIFT14 : 1;
8165 unsigned CRCSHIFT15 : 1;
8167 } __CRCSHIFTHbits_t;
8169 extern __at(0x0796) volatile __CRCSHIFTHbits_t CRCSHIFTHbits;
8171 #define _SHIFT8 0x01
8172 #define _CRCSHIFT8 0x01
8173 #define _SHIFT9 0x02
8174 #define _CRCSHIFT9 0x02
8175 #define _SHIFT10 0x04
8176 #define _CRCSHIFT10 0x04
8177 #define _SHIFT11 0x08
8178 #define _CRCSHIFT11 0x08
8179 #define _SHIFT12 0x10
8180 #define _CRCSHIFT12 0x10
8181 #define _SHIFT13 0x20
8182 #define _CRCSHIFT13 0x20
8183 #define _SHIFT14 0x40
8184 #define _CRCSHIFT14 0x40
8185 #define _SHIFT15 0x80
8186 #define _CRCSHIFT15 0x80
8188 //==============================================================================
8190 extern __at(0x0797) __sfr CRCXOR;
8192 //==============================================================================
8193 // CRCXORL Bits
8195 extern __at(0x0797) __sfr CRCXORL;
8197 typedef union
8199 struct
8201 unsigned : 1;
8202 unsigned XOR1 : 1;
8203 unsigned XOR2 : 1;
8204 unsigned XOR3 : 1;
8205 unsigned XOR4 : 1;
8206 unsigned XOR5 : 1;
8207 unsigned XOR6 : 1;
8208 unsigned XOR7 : 1;
8211 struct
8213 unsigned : 1;
8214 unsigned CRCXOR1 : 1;
8215 unsigned CRCXOR2 : 1;
8216 unsigned CRCXOR3 : 1;
8217 unsigned CRCXOR4 : 1;
8218 unsigned CRCXOR5 : 1;
8219 unsigned CRCXOR6 : 1;
8220 unsigned CRCXOR7 : 1;
8222 } __CRCXORLbits_t;
8224 extern __at(0x0797) volatile __CRCXORLbits_t CRCXORLbits;
8226 #define _XOR1 0x02
8227 #define _CRCXOR1 0x02
8228 #define _XOR2 0x04
8229 #define _CRCXOR2 0x04
8230 #define _XOR3 0x08
8231 #define _CRCXOR3 0x08
8232 #define _XOR4 0x10
8233 #define _CRCXOR4 0x10
8234 #define _XOR5 0x20
8235 #define _CRCXOR5 0x20
8236 #define _XOR6 0x40
8237 #define _CRCXOR6 0x40
8238 #define _XOR7 0x80
8239 #define _CRCXOR7 0x80
8241 //==============================================================================
8244 //==============================================================================
8245 // CRCXORH Bits
8247 extern __at(0x0798) __sfr CRCXORH;
8249 typedef union
8251 struct
8253 unsigned XOR8 : 1;
8254 unsigned XOR9 : 1;
8255 unsigned XOR10 : 1;
8256 unsigned XOR11 : 1;
8257 unsigned XOR12 : 1;
8258 unsigned XOR13 : 1;
8259 unsigned XOR14 : 1;
8260 unsigned XOR15 : 1;
8263 struct
8265 unsigned CRCXOR8 : 1;
8266 unsigned CRCXOR9 : 1;
8267 unsigned CRCXOR10 : 1;
8268 unsigned CRCXOR11 : 1;
8269 unsigned CRCXOR12 : 1;
8270 unsigned CRCXOR13 : 1;
8271 unsigned CRCXOR14 : 1;
8272 unsigned CRCXOR15 : 1;
8274 } __CRCXORHbits_t;
8276 extern __at(0x0798) volatile __CRCXORHbits_t CRCXORHbits;
8278 #define _XOR8 0x01
8279 #define _CRCXOR8 0x01
8280 #define _XOR9 0x02
8281 #define _CRCXOR9 0x02
8282 #define _XOR10 0x04
8283 #define _CRCXOR10 0x04
8284 #define _XOR11 0x08
8285 #define _CRCXOR11 0x08
8286 #define _XOR12 0x10
8287 #define _CRCXOR12 0x10
8288 #define _XOR13 0x20
8289 #define _CRCXOR13 0x20
8290 #define _XOR14 0x40
8291 #define _CRCXOR14 0x40
8292 #define _XOR15 0x80
8293 #define _CRCXOR15 0x80
8295 //==============================================================================
8298 //==============================================================================
8299 // CRCCON0 Bits
8301 extern __at(0x0799) __sfr CRCCON0;
8303 typedef union
8305 struct
8307 unsigned FULL : 1;
8308 unsigned SHIFTM : 1;
8309 unsigned : 1;
8310 unsigned : 1;
8311 unsigned ACCM : 1;
8312 unsigned BUSY : 1;
8313 unsigned CRCGO : 1;
8314 unsigned EN : 1;
8317 struct
8319 unsigned CRCFULL : 1;
8320 unsigned CRCSHIFTM : 1;
8321 unsigned : 1;
8322 unsigned : 1;
8323 unsigned CRCACCM : 1;
8324 unsigned CRCBUSY : 1;
8325 unsigned : 1;
8326 unsigned CRCEN : 1;
8328 } __CRCCON0bits_t;
8330 extern __at(0x0799) volatile __CRCCON0bits_t CRCCON0bits;
8332 #define _CRCCON0_FULL 0x01
8333 #define _CRCCON0_CRCFULL 0x01
8334 #define _CRCCON0_SHIFTM 0x02
8335 #define _CRCCON0_CRCSHIFTM 0x02
8336 #define _CRCCON0_ACCM 0x10
8337 #define _CRCCON0_CRCACCM 0x10
8338 #define _CRCCON0_BUSY 0x20
8339 #define _CRCCON0_CRCBUSY 0x20
8340 #define _CRCCON0_CRCGO 0x40
8341 #define _CRCCON0_EN 0x80
8342 #define _CRCCON0_CRCEN 0x80
8344 //==============================================================================
8347 //==============================================================================
8348 // CRCCON1 Bits
8350 extern __at(0x079A) __sfr CRCCON1;
8352 typedef union
8354 struct
8356 unsigned PLEN0 : 1;
8357 unsigned PLEN1 : 1;
8358 unsigned PLEN2 : 1;
8359 unsigned PLEN3 : 1;
8360 unsigned DLEN0 : 1;
8361 unsigned DLEN1 : 1;
8362 unsigned DLEN2 : 1;
8363 unsigned DLEN3 : 1;
8366 struct
8368 unsigned CRCPLEN0 : 1;
8369 unsigned CRCPLEN1 : 1;
8370 unsigned CRCPLEN2 : 1;
8371 unsigned CRCPLEN3 : 1;
8372 unsigned CRCDLEN0 : 1;
8373 unsigned CRCDLEN1 : 1;
8374 unsigned CRCDLEN2 : 1;
8375 unsigned CRCDLEN3 : 1;
8378 struct
8380 unsigned CRCPLEN : 4;
8381 unsigned : 4;
8384 struct
8386 unsigned PLEN : 4;
8387 unsigned : 4;
8390 struct
8392 unsigned : 4;
8393 unsigned DLEN : 4;
8396 struct
8398 unsigned : 4;
8399 unsigned CRCDLEN : 4;
8401 } __CRCCON1bits_t;
8403 extern __at(0x079A) volatile __CRCCON1bits_t CRCCON1bits;
8405 #define _PLEN0 0x01
8406 #define _CRCPLEN0 0x01
8407 #define _PLEN1 0x02
8408 #define _CRCPLEN1 0x02
8409 #define _PLEN2 0x04
8410 #define _CRCPLEN2 0x04
8411 #define _PLEN3 0x08
8412 #define _CRCPLEN3 0x08
8413 #define _DLEN0 0x10
8414 #define _CRCDLEN0 0x10
8415 #define _DLEN1 0x20
8416 #define _CRCDLEN1 0x20
8417 #define _DLEN2 0x40
8418 #define _CRCDLEN2 0x40
8419 #define _DLEN3 0x80
8420 #define _CRCDLEN3 0x80
8422 //==============================================================================
8424 extern __at(0x080C) __sfr AT1RES;
8426 //==============================================================================
8427 // AT1RESL Bits
8429 extern __at(0x080C) __sfr AT1RESL;
8431 typedef union
8433 struct
8435 unsigned AT1RES0 : 1;
8436 unsigned AT1RES1 : 1;
8437 unsigned AT1RES2 : 1;
8438 unsigned AT1RES3 : 1;
8439 unsigned AT1RES4 : 1;
8440 unsigned AT1RES5 : 1;
8441 unsigned AT1RES6 : 1;
8442 unsigned AT1RES7 : 1;
8445 struct
8447 unsigned RES0 : 1;
8448 unsigned RES1 : 1;
8449 unsigned RES2 : 1;
8450 unsigned RES3 : 1;
8451 unsigned RES4 : 1;
8452 unsigned RES5 : 1;
8453 unsigned RES6 : 1;
8454 unsigned RES7 : 1;
8456 } __AT1RESLbits_t;
8458 extern __at(0x080C) volatile __AT1RESLbits_t AT1RESLbits;
8460 #define _AT1RES0 0x01
8461 #define _RES0 0x01
8462 #define _AT1RES1 0x02
8463 #define _RES1 0x02
8464 #define _AT1RES2 0x04
8465 #define _RES2 0x04
8466 #define _AT1RES3 0x08
8467 #define _RES3 0x08
8468 #define _AT1RES4 0x10
8469 #define _RES4 0x10
8470 #define _AT1RES5 0x20
8471 #define _RES5 0x20
8472 #define _AT1RES6 0x40
8473 #define _RES6 0x40
8474 #define _AT1RES7 0x80
8475 #define _RES7 0x80
8477 //==============================================================================
8480 //==============================================================================
8481 // AT1RESH Bits
8483 extern __at(0x080D) __sfr AT1RESH;
8485 typedef union
8487 struct
8489 unsigned AT1RES8 : 1;
8490 unsigned AT1RES9 : 1;
8491 unsigned : 1;
8492 unsigned : 1;
8493 unsigned : 1;
8494 unsigned : 1;
8495 unsigned : 1;
8496 unsigned : 1;
8499 struct
8501 unsigned RES8 : 1;
8502 unsigned RES9 : 1;
8503 unsigned : 1;
8504 unsigned : 1;
8505 unsigned : 1;
8506 unsigned : 1;
8507 unsigned : 1;
8508 unsigned : 1;
8510 } __AT1RESHbits_t;
8512 extern __at(0x080D) volatile __AT1RESHbits_t AT1RESHbits;
8514 #define _AT1RES8 0x01
8515 #define _RES8 0x01
8516 #define _AT1RES9 0x02
8517 #define _RES9 0x02
8519 //==============================================================================
8521 extern __at(0x080E) __sfr AT1MISS;
8523 //==============================================================================
8524 // AT1MISSL Bits
8526 extern __at(0x080E) __sfr AT1MISSL;
8528 typedef union
8530 struct
8532 unsigned AT1MISS0 : 1;
8533 unsigned AT1MISS1 : 1;
8534 unsigned AT1MISS2 : 1;
8535 unsigned AT1MISS3 : 1;
8536 unsigned AT1MISS4 : 1;
8537 unsigned AT1MISS5 : 1;
8538 unsigned AT1MISS6 : 1;
8539 unsigned AT1MISS7 : 1;
8542 struct
8544 unsigned MISS0 : 1;
8545 unsigned MISS1 : 1;
8546 unsigned MISS2 : 1;
8547 unsigned MISS3 : 1;
8548 unsigned MISS4 : 1;
8549 unsigned MISS5 : 1;
8550 unsigned MISS6 : 1;
8551 unsigned MISS7 : 1;
8553 } __AT1MISSLbits_t;
8555 extern __at(0x080E) volatile __AT1MISSLbits_t AT1MISSLbits;
8557 #define _AT1MISS0 0x01
8558 #define _MISS0 0x01
8559 #define _AT1MISS1 0x02
8560 #define _MISS1 0x02
8561 #define _AT1MISS2 0x04
8562 #define _MISS2 0x04
8563 #define _AT1MISS3 0x08
8564 #define _MISS3 0x08
8565 #define _AT1MISS4 0x10
8566 #define _MISS4 0x10
8567 #define _AT1MISS5 0x20
8568 #define _MISS5 0x20
8569 #define _AT1MISS6 0x40
8570 #define _MISS6 0x40
8571 #define _AT1MISS7 0x80
8572 #define _MISS7 0x80
8574 //==============================================================================
8577 //==============================================================================
8578 // AT1MISSH Bits
8580 extern __at(0x080F) __sfr AT1MISSH;
8582 typedef union
8584 struct
8586 unsigned AT1MISS8 : 1;
8587 unsigned AT1MISS9 : 1;
8588 unsigned AT1MISS10 : 1;
8589 unsigned AT1MISS11 : 1;
8590 unsigned AT1MISS12 : 1;
8591 unsigned AT1MISS13 : 1;
8592 unsigned AT1MISS14 : 1;
8593 unsigned AT1MISS15 : 1;
8596 struct
8598 unsigned MISS8 : 1;
8599 unsigned MISS9 : 1;
8600 unsigned MISS10 : 1;
8601 unsigned MISS11 : 1;
8602 unsigned MISS12 : 1;
8603 unsigned MISS13 : 1;
8604 unsigned MISS14 : 1;
8605 unsigned MISS15 : 1;
8607 } __AT1MISSHbits_t;
8609 extern __at(0x080F) volatile __AT1MISSHbits_t AT1MISSHbits;
8611 #define _AT1MISS8 0x01
8612 #define _MISS8 0x01
8613 #define _AT1MISS9 0x02
8614 #define _MISS9 0x02
8615 #define _AT1MISS10 0x04
8616 #define _MISS10 0x04
8617 #define _AT1MISS11 0x08
8618 #define _MISS11 0x08
8619 #define _AT1MISS12 0x10
8620 #define _MISS12 0x10
8621 #define _AT1MISS13 0x20
8622 #define _MISS13 0x20
8623 #define _AT1MISS14 0x40
8624 #define _MISS14 0x40
8625 #define _AT1MISS15 0x80
8626 #define _MISS15 0x80
8628 //==============================================================================
8630 extern __at(0x0810) __sfr AT1PER;
8632 //==============================================================================
8633 // AT1PERL Bits
8635 extern __at(0x0810) __sfr AT1PERL;
8637 typedef union
8639 struct
8641 unsigned AT1PER0 : 1;
8642 unsigned AT1PER1 : 1;
8643 unsigned AT1PER2 : 1;
8644 unsigned AT1PER3 : 1;
8645 unsigned AT1PER4 : 1;
8646 unsigned AT1PER5 : 1;
8647 unsigned AT1PER6 : 1;
8648 unsigned AT1PER7 : 1;
8651 struct
8653 unsigned PER0 : 1;
8654 unsigned PER1 : 1;
8655 unsigned PER2 : 1;
8656 unsigned PER3 : 1;
8657 unsigned PER4 : 1;
8658 unsigned PER5 : 1;
8659 unsigned PER6 : 1;
8660 unsigned PER7 : 1;
8663 struct
8665 unsigned PERL0 : 1;
8666 unsigned PERL1 : 1;
8667 unsigned PERL2 : 1;
8668 unsigned PERL3 : 1;
8669 unsigned PERL4 : 1;
8670 unsigned PERL5 : 1;
8671 unsigned PERL6 : 1;
8672 unsigned PERL7 : 1;
8674 } __AT1PERLbits_t;
8676 extern __at(0x0810) volatile __AT1PERLbits_t AT1PERLbits;
8678 #define _AT1PER0 0x01
8679 #define _PER0 0x01
8680 #define _PERL0 0x01
8681 #define _AT1PER1 0x02
8682 #define _PER1 0x02
8683 #define _PERL1 0x02
8684 #define _AT1PER2 0x04
8685 #define _PER2 0x04
8686 #define _PERL2 0x04
8687 #define _AT1PER3 0x08
8688 #define _PER3 0x08
8689 #define _PERL3 0x08
8690 #define _AT1PER4 0x10
8691 #define _PER4 0x10
8692 #define _PERL4 0x10
8693 #define _AT1PER5 0x20
8694 #define _PER5 0x20
8695 #define _PERL5 0x20
8696 #define _AT1PER6 0x40
8697 #define _PER6 0x40
8698 #define _PERL6 0x40
8699 #define _AT1PER7 0x80
8700 #define _PER7 0x80
8701 #define _PERL7 0x80
8703 //==============================================================================
8706 //==============================================================================
8707 // AT1PERH Bits
8709 extern __at(0x0811) __sfr AT1PERH;
8711 typedef union
8713 struct
8715 unsigned AT1PER8 : 1;
8716 unsigned AT1PER9 : 1;
8717 unsigned AT1PER10 : 1;
8718 unsigned AT1PER11 : 1;
8719 unsigned AT1PER12 : 1;
8720 unsigned AT1PER13 : 1;
8721 unsigned AT1PER14 : 1;
8722 unsigned AT1POV : 1;
8725 struct
8727 unsigned PER8 : 1;
8728 unsigned PER9 : 1;
8729 unsigned PER10 : 1;
8730 unsigned PER11 : 1;
8731 unsigned PER12 : 1;
8732 unsigned PER13 : 1;
8733 unsigned PER14 : 1;
8734 unsigned PER15 : 1;
8737 struct
8739 unsigned PERH0 : 1;
8740 unsigned PERH1 : 1;
8741 unsigned PERH2 : 1;
8742 unsigned PERH3 : 1;
8743 unsigned PERH4 : 1;
8744 unsigned PERH5 : 1;
8745 unsigned PERH6 : 1;
8746 unsigned PERH7 : 1;
8748 } __AT1PERHbits_t;
8750 extern __at(0x0811) volatile __AT1PERHbits_t AT1PERHbits;
8752 #define _AT1PER8 0x01
8753 #define _PER8 0x01
8754 #define _PERH0 0x01
8755 #define _AT1PER9 0x02
8756 #define _PER9 0x02
8757 #define _PERH1 0x02
8758 #define _AT1PER10 0x04
8759 #define _PER10 0x04
8760 #define _PERH2 0x04
8761 #define _AT1PER11 0x08
8762 #define _PER11 0x08
8763 #define _PERH3 0x08
8764 #define _AT1PER12 0x10
8765 #define _PER12 0x10
8766 #define _PERH4 0x10
8767 #define _AT1PER13 0x20
8768 #define _PER13 0x20
8769 #define _PERH5 0x20
8770 #define _AT1PER14 0x40
8771 #define _PER14 0x40
8772 #define _PERH6 0x40
8773 #define _AT1POV 0x80
8774 #define _PER15 0x80
8775 #define _PERH7 0x80
8777 //==============================================================================
8779 extern __at(0x0812) __sfr AT1PHS;
8781 //==============================================================================
8782 // AT1PHSL Bits
8784 extern __at(0x0812) __sfr AT1PHSL;
8786 typedef union
8788 struct
8790 unsigned AT1PHS0 : 1;
8791 unsigned AT1PHS1 : 1;
8792 unsigned AT1PHS2 : 1;
8793 unsigned AT1PHS3 : 1;
8794 unsigned AT1PHS4 : 1;
8795 unsigned AT1PHS5 : 1;
8796 unsigned AT1PHS6 : 1;
8797 unsigned AT1PHS7 : 1;
8800 struct
8802 unsigned PHS0 : 1;
8803 unsigned PHS1 : 1;
8804 unsigned PHS2 : 1;
8805 unsigned PHS3 : 1;
8806 unsigned PHS4 : 1;
8807 unsigned PHS5 : 1;
8808 unsigned PHS6 : 1;
8809 unsigned PHS7 : 1;
8811 } __AT1PHSLbits_t;
8813 extern __at(0x0812) volatile __AT1PHSLbits_t AT1PHSLbits;
8815 #define _AT1PHS0 0x01
8816 #define _PHS0 0x01
8817 #define _AT1PHS1 0x02
8818 #define _PHS1 0x02
8819 #define _AT1PHS2 0x04
8820 #define _PHS2 0x04
8821 #define _AT1PHS3 0x08
8822 #define _PHS3 0x08
8823 #define _AT1PHS4 0x10
8824 #define _PHS4 0x10
8825 #define _AT1PHS5 0x20
8826 #define _PHS5 0x20
8827 #define _AT1PHS6 0x40
8828 #define _PHS6 0x40
8829 #define _AT1PHS7 0x80
8830 #define _PHS7 0x80
8832 //==============================================================================
8835 //==============================================================================
8836 // AT1PHSH Bits
8838 extern __at(0x0813) __sfr AT1PHSH;
8840 typedef union
8842 struct
8844 unsigned AT1PHS8 : 1;
8845 unsigned AT1PHS9 : 1;
8846 unsigned : 1;
8847 unsigned : 1;
8848 unsigned : 1;
8849 unsigned : 1;
8850 unsigned : 1;
8851 unsigned : 1;
8854 struct
8856 unsigned PHS8 : 1;
8857 unsigned PHS9 : 1;
8858 unsigned : 1;
8859 unsigned : 1;
8860 unsigned : 1;
8861 unsigned : 1;
8862 unsigned : 1;
8863 unsigned : 1;
8866 struct
8868 unsigned PHSL8 : 1;
8869 unsigned PHSL9 : 1;
8870 unsigned : 1;
8871 unsigned : 1;
8872 unsigned : 1;
8873 unsigned : 1;
8874 unsigned : 1;
8875 unsigned : 1;
8877 } __AT1PHSHbits_t;
8879 extern __at(0x0813) volatile __AT1PHSHbits_t AT1PHSHbits;
8881 #define _AT1PHS8 0x01
8882 #define _PHS8 0x01
8883 #define _PHSL8 0x01
8884 #define _AT1PHS9 0x02
8885 #define _PHS9 0x02
8886 #define _PHSL9 0x02
8888 //==============================================================================
8891 //==============================================================================
8892 // AT1CON0 Bits
8894 extern __at(0x0814) __sfr AT1CON0;
8896 typedef union
8898 struct
8900 unsigned MODE : 1;
8901 unsigned APMOD : 1;
8902 unsigned : 1;
8903 unsigned POL : 1;
8904 unsigned PS0 : 1;
8905 unsigned PS1 : 1;
8906 unsigned PREC : 1;
8907 unsigned EN : 1;
8910 struct
8912 unsigned AT1MODE : 1;
8913 unsigned AT1APMOD : 1;
8914 unsigned : 1;
8915 unsigned AT1POL : 1;
8916 unsigned AT1PS0 : 1;
8917 unsigned AT1PS1 : 1;
8918 unsigned AT1PREC : 1;
8919 unsigned AT1EN : 1;
8922 struct
8924 unsigned : 4;
8925 unsigned PS : 2;
8926 unsigned : 2;
8929 struct
8931 unsigned : 4;
8932 unsigned AT1PS : 2;
8933 unsigned : 2;
8935 } __AT1CON0bits_t;
8937 extern __at(0x0814) volatile __AT1CON0bits_t AT1CON0bits;
8939 #define _MODE 0x01
8940 #define _AT1MODE 0x01
8941 #define _APMOD 0x02
8942 #define _AT1APMOD 0x02
8943 #define _POL 0x08
8944 #define _AT1POL 0x08
8945 #define _PS0 0x10
8946 #define _AT1PS0 0x10
8947 #define _PS1 0x20
8948 #define _AT1PS1 0x20
8949 #define _PREC 0x40
8950 #define _AT1PREC 0x40
8951 #define _EN 0x80
8952 #define _AT1EN 0x80
8954 //==============================================================================
8957 //==============================================================================
8958 // AT1CON1 Bits
8960 extern __at(0x0815) __sfr AT1CON1;
8962 typedef union
8964 struct
8966 unsigned VALID : 1;
8967 unsigned ACCS : 1;
8968 unsigned MPP : 1;
8969 unsigned : 1;
8970 unsigned PRP : 1;
8971 unsigned : 1;
8972 unsigned PHP : 1;
8973 unsigned : 1;
8976 struct
8978 unsigned AT1VALID : 1;
8979 unsigned AT1ACCS : 1;
8980 unsigned AT1MPP : 1;
8981 unsigned : 1;
8982 unsigned AT1PRP : 1;
8983 unsigned : 1;
8984 unsigned AT1PHP : 1;
8985 unsigned : 1;
8987 } __AT1CON1bits_t;
8989 extern __at(0x0815) volatile __AT1CON1bits_t AT1CON1bits;
8991 #define _VALID 0x01
8992 #define _AT1VALID 0x01
8993 #define _ACCS 0x02
8994 #define _AT1ACCS 0x02
8995 #define _MPP 0x04
8996 #define _AT1MPP 0x04
8997 #define _PRP 0x10
8998 #define _AT1PRP 0x10
8999 #define _PHP 0x40
9000 #define _AT1PHP 0x40
9002 //==============================================================================
9005 //==============================================================================
9006 // AT1IR0 Bits
9008 extern __at(0x0816) __sfr AT1IR0;
9010 typedef struct
9012 unsigned AT1PERIF : 1;
9013 unsigned AT1MISSIF : 1;
9014 unsigned AT1PHSIF : 1;
9015 unsigned : 1;
9016 unsigned : 1;
9017 unsigned : 1;
9018 unsigned : 1;
9019 unsigned : 1;
9020 } __AT1IR0bits_t;
9022 extern __at(0x0816) volatile __AT1IR0bits_t AT1IR0bits;
9024 #define _AT1PERIF 0x01
9025 #define _AT1MISSIF 0x02
9026 #define _AT1PHSIF 0x04
9028 //==============================================================================
9031 //==============================================================================
9032 // AT1IE0 Bits
9034 extern __at(0x0817) __sfr AT1IE0;
9036 typedef struct
9038 unsigned AT1PERIE : 1;
9039 unsigned AT1MISSIE : 1;
9040 unsigned AT1PHSIE : 1;
9041 unsigned : 1;
9042 unsigned : 1;
9043 unsigned : 1;
9044 unsigned : 1;
9045 unsigned : 1;
9046 } __AT1IE0bits_t;
9048 extern __at(0x0817) volatile __AT1IE0bits_t AT1IE0bits;
9050 #define _AT1PERIE 0x01
9051 #define _AT1MISSIE 0x02
9052 #define _AT1PHSIE 0x04
9054 //==============================================================================
9057 //==============================================================================
9058 // AT1IR1 Bits
9060 extern __at(0x0818) __sfr AT1IR1;
9062 typedef struct
9064 unsigned AT1CC1IF : 1;
9065 unsigned AT1CC2IF : 1;
9066 unsigned AT1CC3IF : 1;
9067 unsigned : 1;
9068 unsigned : 1;
9069 unsigned : 1;
9070 unsigned : 1;
9071 unsigned : 1;
9072 } __AT1IR1bits_t;
9074 extern __at(0x0818) volatile __AT1IR1bits_t AT1IR1bits;
9076 #define _AT1CC1IF 0x01
9077 #define _AT1CC2IF 0x02
9078 #define _AT1CC3IF 0x04
9080 //==============================================================================
9083 //==============================================================================
9084 // AT1IE1 Bits
9086 extern __at(0x0819) __sfr AT1IE1;
9088 typedef struct
9090 unsigned AT1CC1IE : 1;
9091 unsigned AT1CC2IE : 1;
9092 unsigned AT1CC3IE : 1;
9093 unsigned : 1;
9094 unsigned : 1;
9095 unsigned : 1;
9096 unsigned : 1;
9097 unsigned : 1;
9098 } __AT1IE1bits_t;
9100 extern __at(0x0819) volatile __AT1IE1bits_t AT1IE1bits;
9102 #define _AT1CC1IE 0x01
9103 #define _AT1CC2IE 0x02
9104 #define _AT1CC3IE 0x04
9106 //==============================================================================
9108 extern __at(0x081A) __sfr AT1STPT;
9110 //==============================================================================
9111 // AT1STPTL Bits
9113 extern __at(0x081A) __sfr AT1STPTL;
9115 typedef union
9117 struct
9119 unsigned AT1STPT0 : 1;
9120 unsigned AT1STPT1 : 1;
9121 unsigned AT1STPT2 : 1;
9122 unsigned AT1STPT3 : 1;
9123 unsigned AT1STPT4 : 1;
9124 unsigned AT1STPT5 : 1;
9125 unsigned AT1STPT6 : 1;
9126 unsigned AT1STPT7 : 1;
9129 struct
9131 unsigned STPT0 : 1;
9132 unsigned STPT1 : 1;
9133 unsigned STPT2 : 1;
9134 unsigned STPT3 : 1;
9135 unsigned STPT4 : 1;
9136 unsigned STPT5 : 1;
9137 unsigned STPT6 : 1;
9138 unsigned STPT7 : 1;
9140 } __AT1STPTLbits_t;
9142 extern __at(0x081A) volatile __AT1STPTLbits_t AT1STPTLbits;
9144 #define _AT1STPT0 0x01
9145 #define _STPT0 0x01
9146 #define _AT1STPT1 0x02
9147 #define _STPT1 0x02
9148 #define _AT1STPT2 0x04
9149 #define _STPT2 0x04
9150 #define _AT1STPT3 0x08
9151 #define _STPT3 0x08
9152 #define _AT1STPT4 0x10
9153 #define _STPT4 0x10
9154 #define _AT1STPT5 0x20
9155 #define _STPT5 0x20
9156 #define _AT1STPT6 0x40
9157 #define _STPT6 0x40
9158 #define _AT1STPT7 0x80
9159 #define _STPT7 0x80
9161 //==============================================================================
9164 //==============================================================================
9165 // AT1STPTH Bits
9167 extern __at(0x081B) __sfr AT1STPTH;
9169 typedef union
9171 struct
9173 unsigned AT1STPT8 : 1;
9174 unsigned AT1STPT9 : 1;
9175 unsigned AT1STPT10 : 1;
9176 unsigned AT1STPT11 : 1;
9177 unsigned AT1STPT12 : 1;
9178 unsigned AT1STPT13 : 1;
9179 unsigned AT1STPT14 : 1;
9180 unsigned : 1;
9183 struct
9185 unsigned STPT8 : 1;
9186 unsigned STPT9 : 1;
9187 unsigned STPT10 : 1;
9188 unsigned STPT11 : 1;
9189 unsigned STPT12 : 1;
9190 unsigned STPT13 : 1;
9191 unsigned STPT14 : 1;
9192 unsigned : 1;
9194 } __AT1STPTHbits_t;
9196 extern __at(0x081B) volatile __AT1STPTHbits_t AT1STPTHbits;
9198 #define _AT1STPT8 0x01
9199 #define _STPT8 0x01
9200 #define _AT1STPT9 0x02
9201 #define _STPT9 0x02
9202 #define _AT1STPT10 0x04
9203 #define _STPT10 0x04
9204 #define _AT1STPT11 0x08
9205 #define _STPT11 0x08
9206 #define _AT1STPT12 0x10
9207 #define _STPT12 0x10
9208 #define _AT1STPT13 0x20
9209 #define _STPT13 0x20
9210 #define _AT1STPT14 0x40
9211 #define _STPT14 0x40
9213 //==============================================================================
9215 extern __at(0x081C) __sfr AT1ERR;
9217 //==============================================================================
9218 // AT1ERRL Bits
9220 extern __at(0x081C) __sfr AT1ERRL;
9222 typedef union
9224 struct
9226 unsigned AT1ERR0 : 1;
9227 unsigned AT1ERR1 : 1;
9228 unsigned AT1ERR2 : 1;
9229 unsigned AT1ERR3 : 1;
9230 unsigned AT1ERR4 : 1;
9231 unsigned AT1ERR5 : 1;
9232 unsigned AT1ERR6 : 1;
9233 unsigned AT1ERR7 : 1;
9236 struct
9238 unsigned ERR0 : 1;
9239 unsigned ERR1 : 1;
9240 unsigned ERR2 : 1;
9241 unsigned ERR3 : 1;
9242 unsigned ERR4 : 1;
9243 unsigned ERR5 : 1;
9244 unsigned ERR6 : 1;
9245 unsigned ERR7 : 1;
9248 struct
9250 unsigned ERRL0 : 1;
9251 unsigned ERRL1 : 1;
9252 unsigned ERRL2 : 1;
9253 unsigned ERRL3 : 1;
9254 unsigned ERRL4 : 1;
9255 unsigned ERRL5 : 1;
9256 unsigned ERRL6 : 1;
9257 unsigned ERRL7 : 1;
9259 } __AT1ERRLbits_t;
9261 extern __at(0x081C) volatile __AT1ERRLbits_t AT1ERRLbits;
9263 #define _AT1ERR0 0x01
9264 #define _ERR0 0x01
9265 #define _ERRL0 0x01
9266 #define _AT1ERR1 0x02
9267 #define _ERR1 0x02
9268 #define _ERRL1 0x02
9269 #define _AT1ERR2 0x04
9270 #define _ERR2 0x04
9271 #define _ERRL2 0x04
9272 #define _AT1ERR3 0x08
9273 #define _ERR3 0x08
9274 #define _ERRL3 0x08
9275 #define _AT1ERR4 0x10
9276 #define _ERR4 0x10
9277 #define _ERRL4 0x10
9278 #define _AT1ERR5 0x20
9279 #define _ERR5 0x20
9280 #define _ERRL5 0x20
9281 #define _AT1ERR6 0x40
9282 #define _ERR6 0x40
9283 #define _ERRL6 0x40
9284 #define _AT1ERR7 0x80
9285 #define _ERR7 0x80
9286 #define _ERRL7 0x80
9288 //==============================================================================
9291 //==============================================================================
9292 // AT1ERRH Bits
9294 extern __at(0x081D) __sfr AT1ERRH;
9296 typedef union
9298 struct
9300 unsigned AT1ERR8 : 1;
9301 unsigned AT1ERR9 : 1;
9302 unsigned AT1ERR10 : 1;
9303 unsigned AT1ERR11 : 1;
9304 unsigned AT1ERR12 : 1;
9305 unsigned AT1ERR13 : 1;
9306 unsigned AT1ERR14 : 1;
9307 unsigned AT1ERR15 : 1;
9310 struct
9312 unsigned ERR8 : 1;
9313 unsigned ERR9 : 1;
9314 unsigned ERR10 : 1;
9315 unsigned ERR11 : 1;
9316 unsigned ERR12 : 1;
9317 unsigned ERR13 : 1;
9318 unsigned ERR14 : 1;
9319 unsigned ERR15 : 1;
9322 struct
9324 unsigned ERRH0 : 1;
9325 unsigned ERRH1 : 1;
9326 unsigned ERRH2 : 1;
9327 unsigned ERRH3 : 1;
9328 unsigned ERRH4 : 1;
9329 unsigned ERRH5 : 1;
9330 unsigned ERRH6 : 1;
9331 unsigned ERRH7 : 1;
9333 } __AT1ERRHbits_t;
9335 extern __at(0x081D) volatile __AT1ERRHbits_t AT1ERRHbits;
9337 #define _AT1ERR8 0x01
9338 #define _ERR8 0x01
9339 #define _ERRH0 0x01
9340 #define _AT1ERR9 0x02
9341 #define _ERR9 0x02
9342 #define _ERRH1 0x02
9343 #define _AT1ERR10 0x04
9344 #define _ERR10 0x04
9345 #define _ERRH2 0x04
9346 #define _AT1ERR11 0x08
9347 #define _ERR11 0x08
9348 #define _ERRH3 0x08
9349 #define _AT1ERR12 0x10
9350 #define _ERR12 0x10
9351 #define _ERRH4 0x10
9352 #define _AT1ERR13 0x20
9353 #define _ERR13 0x20
9354 #define _ERRH5 0x20
9355 #define _AT1ERR14 0x40
9356 #define _ERR14 0x40
9357 #define _ERRH6 0x40
9358 #define _AT1ERR15 0x80
9359 #define _ERR15 0x80
9360 #define _ERRH7 0x80
9362 //==============================================================================
9365 //==============================================================================
9366 // AT1CLK Bits
9368 extern __at(0x088C) __sfr AT1CLK;
9370 typedef union
9372 struct
9374 unsigned CS : 1;
9375 unsigned : 1;
9376 unsigned : 1;
9377 unsigned : 1;
9378 unsigned : 1;
9379 unsigned : 1;
9380 unsigned : 1;
9381 unsigned : 1;
9384 struct
9386 unsigned AT1CS : 1;
9387 unsigned : 1;
9388 unsigned : 1;
9389 unsigned : 1;
9390 unsigned : 1;
9391 unsigned : 1;
9392 unsigned : 1;
9393 unsigned : 1;
9396 struct
9398 unsigned CS0 : 1;
9399 unsigned : 1;
9400 unsigned : 1;
9401 unsigned : 1;
9402 unsigned : 1;
9403 unsigned : 1;
9404 unsigned : 1;
9405 unsigned : 1;
9408 struct
9410 unsigned AT1CS0 : 1;
9411 unsigned : 1;
9412 unsigned : 1;
9413 unsigned : 1;
9414 unsigned : 1;
9415 unsigned : 1;
9416 unsigned : 1;
9417 unsigned : 1;
9419 } __AT1CLKbits_t;
9421 extern __at(0x088C) volatile __AT1CLKbits_t AT1CLKbits;
9423 #define _CS 0x01
9424 #define _AT1CS 0x01
9425 #define _CS0 0x01
9426 #define _AT1CS0 0x01
9428 //==============================================================================
9431 //==============================================================================
9432 // AT1SIG Bits
9434 extern __at(0x088D) __sfr AT1SIG;
9436 typedef union
9438 struct
9440 unsigned AT1SSEL0 : 1;
9441 unsigned AT1SSEL1 : 1;
9442 unsigned AT1SSEL2 : 1;
9443 unsigned : 1;
9444 unsigned : 1;
9445 unsigned : 1;
9446 unsigned : 1;
9447 unsigned : 1;
9450 struct
9452 unsigned SSEL0 : 1;
9453 unsigned SSEL1 : 1;
9454 unsigned SSEL2 : 1;
9455 unsigned : 1;
9456 unsigned : 1;
9457 unsigned : 1;
9458 unsigned : 1;
9459 unsigned : 1;
9462 struct
9464 unsigned AT1SSEL : 3;
9465 unsigned : 5;
9468 struct
9470 unsigned SSEL : 3;
9471 unsigned : 5;
9473 } __AT1SIGbits_t;
9475 extern __at(0x088D) volatile __AT1SIGbits_t AT1SIGbits;
9477 #define _AT1SSEL0 0x01
9478 #define _SSEL0 0x01
9479 #define _AT1SSEL1 0x02
9480 #define _SSEL1 0x02
9481 #define _AT1SSEL2 0x04
9482 #define _SSEL2 0x04
9484 //==============================================================================
9487 //==============================================================================
9488 // AT1CSEL1 Bits
9490 extern __at(0x088E) __sfr AT1CSEL1;
9492 typedef union
9494 struct
9496 unsigned AT1CP1S0 : 1;
9497 unsigned AT1CP1S1 : 1;
9498 unsigned AT1CP1S2 : 1;
9499 unsigned : 1;
9500 unsigned : 1;
9501 unsigned : 1;
9502 unsigned : 1;
9503 unsigned : 1;
9506 struct
9508 unsigned CP1S0 : 1;
9509 unsigned CP1S1 : 1;
9510 unsigned CP1S2 : 1;
9511 unsigned : 1;
9512 unsigned : 1;
9513 unsigned : 1;
9514 unsigned : 1;
9515 unsigned : 1;
9518 struct
9520 unsigned AT1CP1S : 3;
9521 unsigned : 5;
9524 struct
9526 unsigned CP1S : 3;
9527 unsigned : 5;
9529 } __AT1CSEL1bits_t;
9531 extern __at(0x088E) volatile __AT1CSEL1bits_t AT1CSEL1bits;
9533 #define _AT1CP1S0 0x01
9534 #define _CP1S0 0x01
9535 #define _AT1CP1S1 0x02
9536 #define _CP1S1 0x02
9537 #define _AT1CP1S2 0x04
9538 #define _CP1S2 0x04
9540 //==============================================================================
9542 extern __at(0x088F) __sfr AT1CC1;
9544 //==============================================================================
9545 // AT1CC1L Bits
9547 extern __at(0x088F) __sfr AT1CC1L;
9549 typedef union
9551 struct
9553 unsigned AT1CC10 : 1;
9554 unsigned AT1CC11 : 1;
9555 unsigned AT1CC12 : 1;
9556 unsigned AT1CC13 : 1;
9557 unsigned AT1CC14 : 1;
9558 unsigned AT1CC15 : 1;
9559 unsigned AT1CC16 : 1;
9560 unsigned AT1CC17 : 1;
9563 struct
9565 unsigned CC10 : 1;
9566 unsigned CC11 : 1;
9567 unsigned CC12 : 1;
9568 unsigned CC13 : 1;
9569 unsigned CC14 : 1;
9570 unsigned CC15 : 1;
9571 unsigned CC16 : 1;
9572 unsigned CC17 : 1;
9574 } __AT1CC1Lbits_t;
9576 extern __at(0x088F) volatile __AT1CC1Lbits_t AT1CC1Lbits;
9578 #define _AT1CC10 0x01
9579 #define _CC10 0x01
9580 #define _AT1CC11 0x02
9581 #define _CC11 0x02
9582 #define _AT1CC12 0x04
9583 #define _CC12 0x04
9584 #define _AT1CC13 0x08
9585 #define _CC13 0x08
9586 #define _AT1CC14 0x10
9587 #define _CC14 0x10
9588 #define _AT1CC15 0x20
9589 #define _CC15 0x20
9590 #define _AT1CC16 0x40
9591 #define _CC16 0x40
9592 #define _AT1CC17 0x80
9593 #define _CC17 0x80
9595 //==============================================================================
9598 //==============================================================================
9599 // AT1CC1H Bits
9601 extern __at(0x0890) __sfr AT1CC1H;
9603 typedef union
9605 struct
9607 unsigned AT1CC18 : 1;
9608 unsigned AT1CC19 : 1;
9609 unsigned : 1;
9610 unsigned : 1;
9611 unsigned : 1;
9612 unsigned : 1;
9613 unsigned : 1;
9614 unsigned : 1;
9617 struct
9619 unsigned CC18 : 1;
9620 unsigned CC19 : 1;
9621 unsigned : 1;
9622 unsigned : 1;
9623 unsigned : 1;
9624 unsigned : 1;
9625 unsigned : 1;
9626 unsigned : 1;
9628 } __AT1CC1Hbits_t;
9630 extern __at(0x0890) volatile __AT1CC1Hbits_t AT1CC1Hbits;
9632 #define _AT1CC18 0x01
9633 #define _CC18 0x01
9634 #define _AT1CC19 0x02
9635 #define _CC19 0x02
9637 //==============================================================================
9640 //==============================================================================
9641 // AT1CCON1 Bits
9643 extern __at(0x0891) __sfr AT1CCON1;
9645 typedef union
9647 struct
9649 unsigned AT1CC1MODE : 1;
9650 unsigned : 1;
9651 unsigned : 1;
9652 unsigned AT1CAP1P : 1;
9653 unsigned AT1CC1POL : 1;
9654 unsigned : 1;
9655 unsigned : 1;
9656 unsigned AT1CC1EN : 1;
9659 struct
9661 unsigned CC1MODE : 1;
9662 unsigned : 1;
9663 unsigned : 1;
9664 unsigned CAP1P : 1;
9665 unsigned CC1POL : 1;
9666 unsigned : 1;
9667 unsigned : 1;
9668 unsigned CC1EN : 1;
9670 } __AT1CCON1bits_t;
9672 extern __at(0x0891) volatile __AT1CCON1bits_t AT1CCON1bits;
9674 #define _AT1CC1MODE 0x01
9675 #define _CC1MODE 0x01
9676 #define _AT1CAP1P 0x08
9677 #define _CAP1P 0x08
9678 #define _AT1CC1POL 0x10
9679 #define _CC1POL 0x10
9680 #define _AT1CC1EN 0x80
9681 #define _CC1EN 0x80
9683 //==============================================================================
9686 //==============================================================================
9687 // AT1CSEL2 Bits
9689 extern __at(0x0892) __sfr AT1CSEL2;
9691 typedef union
9693 struct
9695 unsigned AT1CP2S0 : 1;
9696 unsigned AT1CP2S1 : 1;
9697 unsigned AT1CP2S2 : 1;
9698 unsigned : 1;
9699 unsigned : 1;
9700 unsigned : 1;
9701 unsigned : 1;
9702 unsigned : 1;
9705 struct
9707 unsigned CP2S0 : 1;
9708 unsigned CP2S1 : 1;
9709 unsigned CP2S2 : 1;
9710 unsigned : 1;
9711 unsigned : 1;
9712 unsigned : 1;
9713 unsigned : 1;
9714 unsigned : 1;
9717 struct
9719 unsigned CP2S : 3;
9720 unsigned : 5;
9723 struct
9725 unsigned AT1CP2S : 3;
9726 unsigned : 5;
9728 } __AT1CSEL2bits_t;
9730 extern __at(0x0892) volatile __AT1CSEL2bits_t AT1CSEL2bits;
9732 #define _AT1CP2S0 0x01
9733 #define _CP2S0 0x01
9734 #define _AT1CP2S1 0x02
9735 #define _CP2S1 0x02
9736 #define _AT1CP2S2 0x04
9737 #define _CP2S2 0x04
9739 //==============================================================================
9741 extern __at(0x0893) __sfr AT1CC2;
9743 //==============================================================================
9744 // AT1CC2L Bits
9746 extern __at(0x0893) __sfr AT1CC2L;
9748 typedef union
9750 struct
9752 unsigned AT1CC20 : 1;
9753 unsigned AT1CC21 : 1;
9754 unsigned AT1CC22 : 1;
9755 unsigned AT1CC23 : 1;
9756 unsigned AT1CC24 : 1;
9757 unsigned AT1CC25 : 1;
9758 unsigned AT1CC26 : 1;
9759 unsigned AT1CC27 : 1;
9762 struct
9764 unsigned CC20 : 1;
9765 unsigned CC21 : 1;
9766 unsigned CC22 : 1;
9767 unsigned CC13 : 1;
9768 unsigned CC24 : 1;
9769 unsigned CCW5 : 1;
9770 unsigned CC26 : 1;
9771 unsigned CC27 : 1;
9773 } __AT1CC2Lbits_t;
9775 extern __at(0x0893) volatile __AT1CC2Lbits_t AT1CC2Lbits;
9777 #define _AT1CC2L_AT1CC20 0x01
9778 #define _AT1CC2L_CC20 0x01
9779 #define _AT1CC2L_AT1CC21 0x02
9780 #define _AT1CC2L_CC21 0x02
9781 #define _AT1CC2L_AT1CC22 0x04
9782 #define _AT1CC2L_CC22 0x04
9783 #define _AT1CC2L_AT1CC23 0x08
9784 #define _AT1CC2L_CC13 0x08
9785 #define _AT1CC2L_AT1CC24 0x10
9786 #define _AT1CC2L_CC24 0x10
9787 #define _AT1CC2L_AT1CC25 0x20
9788 #define _AT1CC2L_CCW5 0x20
9789 #define _AT1CC2L_AT1CC26 0x40
9790 #define _AT1CC2L_CC26 0x40
9791 #define _AT1CC2L_AT1CC27 0x80
9792 #define _AT1CC2L_CC27 0x80
9794 //==============================================================================
9797 //==============================================================================
9798 // AT1CC2H Bits
9800 extern __at(0x0894) __sfr AT1CC2H;
9802 typedef union
9804 struct
9806 unsigned AT1CC28 : 1;
9807 unsigned AT1CC29 : 1;
9808 unsigned : 1;
9809 unsigned : 1;
9810 unsigned : 1;
9811 unsigned : 1;
9812 unsigned : 1;
9813 unsigned : 1;
9816 struct
9818 unsigned CC28 : 1;
9819 unsigned CC29 : 1;
9820 unsigned : 1;
9821 unsigned : 1;
9822 unsigned : 1;
9823 unsigned : 1;
9824 unsigned : 1;
9825 unsigned : 1;
9827 } __AT1CC2Hbits_t;
9829 extern __at(0x0894) volatile __AT1CC2Hbits_t AT1CC2Hbits;
9831 #define _AT1CC28 0x01
9832 #define _CC28 0x01
9833 #define _AT1CC29 0x02
9834 #define _CC29 0x02
9836 //==============================================================================
9839 //==============================================================================
9840 // AT1CCON2 Bits
9842 extern __at(0x0895) __sfr AT1CCON2;
9844 typedef union
9846 struct
9848 unsigned AT1CC2MODE : 1;
9849 unsigned : 1;
9850 unsigned : 1;
9851 unsigned AT1CAP2P : 1;
9852 unsigned AT1CC2POL : 1;
9853 unsigned : 1;
9854 unsigned : 1;
9855 unsigned AT1CC2EN : 1;
9858 struct
9860 unsigned CC2MODE : 1;
9861 unsigned : 1;
9862 unsigned : 1;
9863 unsigned CAP2P : 1;
9864 unsigned CC2POL : 1;
9865 unsigned : 1;
9866 unsigned : 1;
9867 unsigned CC2EN : 1;
9869 } __AT1CCON2bits_t;
9871 extern __at(0x0895) volatile __AT1CCON2bits_t AT1CCON2bits;
9873 #define _AT1CC2MODE 0x01
9874 #define _CC2MODE 0x01
9875 #define _AT1CAP2P 0x08
9876 #define _CAP2P 0x08
9877 #define _AT1CC2POL 0x10
9878 #define _CC2POL 0x10
9879 #define _AT1CC2EN 0x80
9880 #define _CC2EN 0x80
9882 //==============================================================================
9885 //==============================================================================
9886 // AT1CSEL3 Bits
9888 extern __at(0x0896) __sfr AT1CSEL3;
9890 typedef union
9892 struct
9894 unsigned AT1CP3S0 : 1;
9895 unsigned AT1CP3S1 : 1;
9896 unsigned AT1CP3S2 : 1;
9897 unsigned : 1;
9898 unsigned : 1;
9899 unsigned : 1;
9900 unsigned : 1;
9901 unsigned : 1;
9904 struct
9906 unsigned CP3S0 : 1;
9907 unsigned CP3S1 : 1;
9908 unsigned CP3S2 : 1;
9909 unsigned : 1;
9910 unsigned : 1;
9911 unsigned : 1;
9912 unsigned : 1;
9913 unsigned : 1;
9916 struct
9918 unsigned CP3S : 3;
9919 unsigned : 5;
9922 struct
9924 unsigned AT1CP3S : 3;
9925 unsigned : 5;
9927 } __AT1CSEL3bits_t;
9929 extern __at(0x0896) volatile __AT1CSEL3bits_t AT1CSEL3bits;
9931 #define _AT1CP3S0 0x01
9932 #define _CP3S0 0x01
9933 #define _AT1CP3S1 0x02
9934 #define _CP3S1 0x02
9935 #define _AT1CP3S2 0x04
9936 #define _CP3S2 0x04
9938 //==============================================================================
9940 extern __at(0x0897) __sfr AT1CC3;
9942 //==============================================================================
9943 // AT1CC3L Bits
9945 extern __at(0x0897) __sfr AT1CC3L;
9947 typedef union
9949 struct
9951 unsigned AT1CC30 : 1;
9952 unsigned AT1CC31 : 1;
9953 unsigned AT1CC32 : 1;
9954 unsigned AT1CC33 : 1;
9955 unsigned AT1CC34 : 1;
9956 unsigned AT1CC35 : 1;
9957 unsigned AT1CC36 : 1;
9958 unsigned AT1CC37 : 1;
9961 struct
9963 unsigned CC30 : 1;
9964 unsigned CC31 : 1;
9965 unsigned CC32 : 1;
9966 unsigned CC33 : 1;
9967 unsigned CC34 : 1;
9968 unsigned CC35 : 1;
9969 unsigned CC36 : 1;
9970 unsigned CC37 : 1;
9972 } __AT1CC3Lbits_t;
9974 extern __at(0x0897) volatile __AT1CC3Lbits_t AT1CC3Lbits;
9976 #define _AT1CC30 0x01
9977 #define _CC30 0x01
9978 #define _AT1CC31 0x02
9979 #define _CC31 0x02
9980 #define _AT1CC32 0x04
9981 #define _CC32 0x04
9982 #define _AT1CC33 0x08
9983 #define _CC33 0x08
9984 #define _AT1CC34 0x10
9985 #define _CC34 0x10
9986 #define _AT1CC35 0x20
9987 #define _CC35 0x20
9988 #define _AT1CC36 0x40
9989 #define _CC36 0x40
9990 #define _AT1CC37 0x80
9991 #define _CC37 0x80
9993 //==============================================================================
9996 //==============================================================================
9997 // AT1CC3H Bits
9999 extern __at(0x0898) __sfr AT1CC3H;
10001 typedef union
10003 struct
10005 unsigned AT1CC38 : 1;
10006 unsigned AT1CC39 : 1;
10007 unsigned : 1;
10008 unsigned : 1;
10009 unsigned : 1;
10010 unsigned : 1;
10011 unsigned : 1;
10012 unsigned : 1;
10015 struct
10017 unsigned CC38 : 1;
10018 unsigned CC39 : 1;
10019 unsigned : 1;
10020 unsigned : 1;
10021 unsigned : 1;
10022 unsigned : 1;
10023 unsigned : 1;
10024 unsigned : 1;
10026 } __AT1CC3Hbits_t;
10028 extern __at(0x0898) volatile __AT1CC3Hbits_t AT1CC3Hbits;
10030 #define _AT1CC38 0x01
10031 #define _CC38 0x01
10032 #define _AT1CC39 0x02
10033 #define _CC39 0x02
10035 //==============================================================================
10038 //==============================================================================
10039 // AT1CCON3 Bits
10041 extern __at(0x0899) __sfr AT1CCON3;
10043 typedef union
10045 struct
10047 unsigned AT1CC3MODE : 1;
10048 unsigned : 1;
10049 unsigned : 1;
10050 unsigned AT1CAP3P : 1;
10051 unsigned AT1CC3POL : 1;
10052 unsigned : 1;
10053 unsigned : 1;
10054 unsigned AT1CC3EN : 1;
10057 struct
10059 unsigned CC3MODE : 1;
10060 unsigned : 1;
10061 unsigned : 1;
10062 unsigned CAP3P : 1;
10063 unsigned CC3POL : 1;
10064 unsigned : 1;
10065 unsigned : 1;
10066 unsigned CC3EN : 1;
10068 } __AT1CCON3bits_t;
10070 extern __at(0x0899) volatile __AT1CCON3bits_t AT1CCON3bits;
10072 #define _AT1CC3MODE 0x01
10073 #define _CC3MODE 0x01
10074 #define _AT1CAP3P 0x08
10075 #define _CAP3P 0x08
10076 #define _AT1CC3POL 0x10
10077 #define _CC3POL 0x10
10078 #define _AT1CC3EN 0x80
10079 #define _CC3EN 0x80
10081 //==============================================================================
10083 extern __at(0x0D8C) __sfr SMT1TMR;
10085 //==============================================================================
10086 // SMT1TMRL Bits
10088 extern __at(0x0D8C) __sfr SMT1TMRL;
10090 typedef struct
10092 unsigned SMT1TMR0 : 1;
10093 unsigned SMT1TMR1 : 1;
10094 unsigned SMT1TMR2 : 1;
10095 unsigned SMT1TMR3 : 1;
10096 unsigned SMT1TMR4 : 1;
10097 unsigned SMT1TMR5 : 1;
10098 unsigned SMT1TMR6 : 1;
10099 unsigned SMT1TMR7 : 1;
10100 } __SMT1TMRLbits_t;
10102 extern __at(0x0D8C) volatile __SMT1TMRLbits_t SMT1TMRLbits;
10104 #define _SMT1TMR0 0x01
10105 #define _SMT1TMR1 0x02
10106 #define _SMT1TMR2 0x04
10107 #define _SMT1TMR3 0x08
10108 #define _SMT1TMR4 0x10
10109 #define _SMT1TMR5 0x20
10110 #define _SMT1TMR6 0x40
10111 #define _SMT1TMR7 0x80
10113 //==============================================================================
10116 //==============================================================================
10117 // SMT1TMRH Bits
10119 extern __at(0x0D8D) __sfr SMT1TMRH;
10121 typedef struct
10123 unsigned SMT1TMR8 : 1;
10124 unsigned SMT1TMR9 : 1;
10125 unsigned SMT1TMR10 : 1;
10126 unsigned SMT1TMR11 : 1;
10127 unsigned SMT1TMR12 : 1;
10128 unsigned SMT1TMR13 : 1;
10129 unsigned SMT1TMR14 : 1;
10130 unsigned SMT1TMR15 : 1;
10131 } __SMT1TMRHbits_t;
10133 extern __at(0x0D8D) volatile __SMT1TMRHbits_t SMT1TMRHbits;
10135 #define _SMT1TMR8 0x01
10136 #define _SMT1TMR9 0x02
10137 #define _SMT1TMR10 0x04
10138 #define _SMT1TMR11 0x08
10139 #define _SMT1TMR12 0x10
10140 #define _SMT1TMR13 0x20
10141 #define _SMT1TMR14 0x40
10142 #define _SMT1TMR15 0x80
10144 //==============================================================================
10147 //==============================================================================
10148 // SMT1TMRU Bits
10150 extern __at(0x0D8E) __sfr SMT1TMRU;
10152 typedef struct
10154 unsigned SMT1TMR16 : 1;
10155 unsigned SMT1TMR17 : 1;
10156 unsigned SMT1TMR18 : 1;
10157 unsigned SMT1TMR19 : 1;
10158 unsigned SMT1TMR20 : 1;
10159 unsigned SMT1TMR21 : 1;
10160 unsigned SMT1TMR22 : 1;
10161 unsigned SMT1TMR23 : 1;
10162 } __SMT1TMRUbits_t;
10164 extern __at(0x0D8E) volatile __SMT1TMRUbits_t SMT1TMRUbits;
10166 #define _SMT1TMR16 0x01
10167 #define _SMT1TMR17 0x02
10168 #define _SMT1TMR18 0x04
10169 #define _SMT1TMR19 0x08
10170 #define _SMT1TMR20 0x10
10171 #define _SMT1TMR21 0x20
10172 #define _SMT1TMR22 0x40
10173 #define _SMT1TMR23 0x80
10175 //==============================================================================
10177 extern __at(0x0D8F) __sfr SMT1CPR;
10179 //==============================================================================
10180 // SMT1CPRL Bits
10182 extern __at(0x0D8F) __sfr SMT1CPRL;
10184 typedef struct
10186 unsigned SMT1CPR0 : 1;
10187 unsigned SMT1CPR1 : 1;
10188 unsigned SMT1CPR2 : 1;
10189 unsigned SMT1CPR3 : 1;
10190 unsigned SMT1CPR4 : 1;
10191 unsigned SMT1CPR5 : 1;
10192 unsigned SMT1CPR6 : 1;
10193 unsigned SMT1CPR7 : 1;
10194 } __SMT1CPRLbits_t;
10196 extern __at(0x0D8F) volatile __SMT1CPRLbits_t SMT1CPRLbits;
10198 #define _SMT1CPR0 0x01
10199 #define _SMT1CPR1 0x02
10200 #define _SMT1CPR2 0x04
10201 #define _SMT1CPR3 0x08
10202 #define _SMT1CPR4 0x10
10203 #define _SMT1CPR5 0x20
10204 #define _SMT1CPR6 0x40
10205 #define _SMT1CPR7 0x80
10207 //==============================================================================
10210 //==============================================================================
10211 // SMT1CPRH Bits
10213 extern __at(0x0D90) __sfr SMT1CPRH;
10215 typedef struct
10217 unsigned SMT1CPR8 : 1;
10218 unsigned SMT1CPR9 : 1;
10219 unsigned SMT1CPR10 : 1;
10220 unsigned SMT1CPR11 : 1;
10221 unsigned SMT1CPR12 : 1;
10222 unsigned SMT1CPR13 : 1;
10223 unsigned SMT1CPR14 : 1;
10224 unsigned SMT1CPR15 : 1;
10225 } __SMT1CPRHbits_t;
10227 extern __at(0x0D90) volatile __SMT1CPRHbits_t SMT1CPRHbits;
10229 #define _SMT1CPR8 0x01
10230 #define _SMT1CPR9 0x02
10231 #define _SMT1CPR10 0x04
10232 #define _SMT1CPR11 0x08
10233 #define _SMT1CPR12 0x10
10234 #define _SMT1CPR13 0x20
10235 #define _SMT1CPR14 0x40
10236 #define _SMT1CPR15 0x80
10238 //==============================================================================
10241 //==============================================================================
10242 // SMT1CPRU Bits
10244 extern __at(0x0D91) __sfr SMT1CPRU;
10246 typedef struct
10248 unsigned SMT1CPR16 : 1;
10249 unsigned SMT1CPR17 : 1;
10250 unsigned SMT1CPR18 : 1;
10251 unsigned SMT1CPR19 : 1;
10252 unsigned SMT1CPR20 : 1;
10253 unsigned SMT1CPR21 : 1;
10254 unsigned SMT1CPR22 : 1;
10255 unsigned SMT1CPR23 : 1;
10256 } __SMT1CPRUbits_t;
10258 extern __at(0x0D91) volatile __SMT1CPRUbits_t SMT1CPRUbits;
10260 #define _SMT1CPR16 0x01
10261 #define _SMT1CPR17 0x02
10262 #define _SMT1CPR18 0x04
10263 #define _SMT1CPR19 0x08
10264 #define _SMT1CPR20 0x10
10265 #define _SMT1CPR21 0x20
10266 #define _SMT1CPR22 0x40
10267 #define _SMT1CPR23 0x80
10269 //==============================================================================
10271 extern __at(0x0D92) __sfr SMT1CPW;
10273 //==============================================================================
10274 // SMT1CPWL Bits
10276 extern __at(0x0D92) __sfr SMT1CPWL;
10278 typedef struct
10280 unsigned SMT1CPW0 : 1;
10281 unsigned SMT1CPW1 : 1;
10282 unsigned SMT1CPW2 : 1;
10283 unsigned SMT1CPW3 : 1;
10284 unsigned SMT1CPW4 : 1;
10285 unsigned SMT1CPW5 : 1;
10286 unsigned SMT1CPW6 : 1;
10287 unsigned SMT1CPW7 : 1;
10288 } __SMT1CPWLbits_t;
10290 extern __at(0x0D92) volatile __SMT1CPWLbits_t SMT1CPWLbits;
10292 #define _SMT1CPW0 0x01
10293 #define _SMT1CPW1 0x02
10294 #define _SMT1CPW2 0x04
10295 #define _SMT1CPW3 0x08
10296 #define _SMT1CPW4 0x10
10297 #define _SMT1CPW5 0x20
10298 #define _SMT1CPW6 0x40
10299 #define _SMT1CPW7 0x80
10301 //==============================================================================
10304 //==============================================================================
10305 // SMT1CPWH Bits
10307 extern __at(0x0D93) __sfr SMT1CPWH;
10309 typedef struct
10311 unsigned SMT1CPW8 : 1;
10312 unsigned SMT1CPW9 : 1;
10313 unsigned SMT1CPW10 : 1;
10314 unsigned SMT1CPW11 : 1;
10315 unsigned SMT1CPW12 : 1;
10316 unsigned SMT1CPW13 : 1;
10317 unsigned SMT1CPW14 : 1;
10318 unsigned SMT1CPW15 : 1;
10319 } __SMT1CPWHbits_t;
10321 extern __at(0x0D93) volatile __SMT1CPWHbits_t SMT1CPWHbits;
10323 #define _SMT1CPW8 0x01
10324 #define _SMT1CPW9 0x02
10325 #define _SMT1CPW10 0x04
10326 #define _SMT1CPW11 0x08
10327 #define _SMT1CPW12 0x10
10328 #define _SMT1CPW13 0x20
10329 #define _SMT1CPW14 0x40
10330 #define _SMT1CPW15 0x80
10332 //==============================================================================
10335 //==============================================================================
10336 // SMT1CPWU Bits
10338 extern __at(0x0D94) __sfr SMT1CPWU;
10340 typedef struct
10342 unsigned SMT1CPW16 : 1;
10343 unsigned SMT1CPW17 : 1;
10344 unsigned SMT1CPW18 : 1;
10345 unsigned SMT1CPW19 : 1;
10346 unsigned SMT1CPW20 : 1;
10347 unsigned SMT1CPW21 : 1;
10348 unsigned SMT1CPW22 : 1;
10349 unsigned SMT1CPW23 : 1;
10350 } __SMT1CPWUbits_t;
10352 extern __at(0x0D94) volatile __SMT1CPWUbits_t SMT1CPWUbits;
10354 #define _SMT1CPW16 0x01
10355 #define _SMT1CPW17 0x02
10356 #define _SMT1CPW18 0x04
10357 #define _SMT1CPW19 0x08
10358 #define _SMT1CPW20 0x10
10359 #define _SMT1CPW21 0x20
10360 #define _SMT1CPW22 0x40
10361 #define _SMT1CPW23 0x80
10363 //==============================================================================
10365 extern __at(0x0D95) __sfr SMT1PR;
10367 //==============================================================================
10368 // SMT1PRL Bits
10370 extern __at(0x0D95) __sfr SMT1PRL;
10372 typedef struct
10374 unsigned SMT1PR0 : 1;
10375 unsigned SMT1PR1 : 1;
10376 unsigned SMT1PR2 : 1;
10377 unsigned SMT1PR3 : 1;
10378 unsigned SMT1PR4 : 1;
10379 unsigned SMT1PR5 : 1;
10380 unsigned SMT1PR6 : 1;
10381 unsigned SMT1PR7 : 1;
10382 } __SMT1PRLbits_t;
10384 extern __at(0x0D95) volatile __SMT1PRLbits_t SMT1PRLbits;
10386 #define _SMT1PR0 0x01
10387 #define _SMT1PR1 0x02
10388 #define _SMT1PR2 0x04
10389 #define _SMT1PR3 0x08
10390 #define _SMT1PR4 0x10
10391 #define _SMT1PR5 0x20
10392 #define _SMT1PR6 0x40
10393 #define _SMT1PR7 0x80
10395 //==============================================================================
10398 //==============================================================================
10399 // SMT1PRH Bits
10401 extern __at(0x0D96) __sfr SMT1PRH;
10403 typedef struct
10405 unsigned SMT1PR8 : 1;
10406 unsigned SMT1PR9 : 1;
10407 unsigned SMT1PR10 : 1;
10408 unsigned SMT1PR11 : 1;
10409 unsigned SMT1PR12 : 1;
10410 unsigned SMT1PR13 : 1;
10411 unsigned SMT1PR14 : 1;
10412 unsigned SMT1PR15 : 1;
10413 } __SMT1PRHbits_t;
10415 extern __at(0x0D96) volatile __SMT1PRHbits_t SMT1PRHbits;
10417 #define _SMT1PR8 0x01
10418 #define _SMT1PR9 0x02
10419 #define _SMT1PR10 0x04
10420 #define _SMT1PR11 0x08
10421 #define _SMT1PR12 0x10
10422 #define _SMT1PR13 0x20
10423 #define _SMT1PR14 0x40
10424 #define _SMT1PR15 0x80
10426 //==============================================================================
10429 //==============================================================================
10430 // SMT1PRU Bits
10432 extern __at(0x0D97) __sfr SMT1PRU;
10434 typedef struct
10436 unsigned SMT1PR16 : 1;
10437 unsigned SMT1PR17 : 1;
10438 unsigned SMT1PR18 : 1;
10439 unsigned SMT1PR19 : 1;
10440 unsigned SMT1PR20 : 1;
10441 unsigned SMT1PR21 : 1;
10442 unsigned SMT1PR22 : 1;
10443 unsigned SMT1PR23 : 1;
10444 } __SMT1PRUbits_t;
10446 extern __at(0x0D97) volatile __SMT1PRUbits_t SMT1PRUbits;
10448 #define _SMT1PR16 0x01
10449 #define _SMT1PR17 0x02
10450 #define _SMT1PR18 0x04
10451 #define _SMT1PR19 0x08
10452 #define _SMT1PR20 0x10
10453 #define _SMT1PR21 0x20
10454 #define _SMT1PR22 0x40
10455 #define _SMT1PR23 0x80
10457 //==============================================================================
10460 //==============================================================================
10461 // SMT1CON0 Bits
10463 extern __at(0x0D98) __sfr SMT1CON0;
10465 typedef union
10467 struct
10469 unsigned SMT1PS0 : 1;
10470 unsigned SMT1PS1 : 1;
10471 unsigned CPOL : 1;
10472 unsigned SPOL : 1;
10473 unsigned WPOL : 1;
10474 unsigned STP : 1;
10475 unsigned : 1;
10476 unsigned EN : 1;
10479 struct
10481 unsigned SMT1PS : 2;
10482 unsigned : 6;
10484 } __SMT1CON0bits_t;
10486 extern __at(0x0D98) volatile __SMT1CON0bits_t SMT1CON0bits;
10488 #define _SMT1CON0_SMT1PS0 0x01
10489 #define _SMT1CON0_SMT1PS1 0x02
10490 #define _SMT1CON0_CPOL 0x04
10491 #define _SMT1CON0_SPOL 0x08
10492 #define _SMT1CON0_WPOL 0x10
10493 #define _SMT1CON0_STP 0x20
10494 #define _SMT1CON0_EN 0x80
10496 //==============================================================================
10499 //==============================================================================
10500 // SMT1CON1 Bits
10502 extern __at(0x0D99) __sfr SMT1CON1;
10504 typedef union
10506 struct
10508 unsigned MODE0 : 1;
10509 unsigned MODE1 : 1;
10510 unsigned MODE2 : 1;
10511 unsigned MODE3 : 1;
10512 unsigned : 1;
10513 unsigned : 1;
10514 unsigned REPEAT : 1;
10515 unsigned SMT1GO : 1;
10518 struct
10520 unsigned SMT1MODE0 : 1;
10521 unsigned SMT1MODE1 : 1;
10522 unsigned SMT1MODE2 : 1;
10523 unsigned SMT1MODE3 : 1;
10524 unsigned : 1;
10525 unsigned : 1;
10526 unsigned SMT1REPEAT : 1;
10527 unsigned : 1;
10530 struct
10532 unsigned MODE : 4;
10533 unsigned : 4;
10536 struct
10538 unsigned SMT1MODE : 4;
10539 unsigned : 4;
10541 } __SMT1CON1bits_t;
10543 extern __at(0x0D99) volatile __SMT1CON1bits_t SMT1CON1bits;
10545 #define _SMT1CON1_MODE0 0x01
10546 #define _SMT1CON1_SMT1MODE0 0x01
10547 #define _SMT1CON1_MODE1 0x02
10548 #define _SMT1CON1_SMT1MODE1 0x02
10549 #define _SMT1CON1_MODE2 0x04
10550 #define _SMT1CON1_SMT1MODE2 0x04
10551 #define _SMT1CON1_MODE3 0x08
10552 #define _SMT1CON1_SMT1MODE3 0x08
10553 #define _SMT1CON1_REPEAT 0x40
10554 #define _SMT1CON1_SMT1REPEAT 0x40
10555 #define _SMT1CON1_SMT1GO 0x80
10557 //==============================================================================
10560 //==============================================================================
10561 // SMT1STAT Bits
10563 extern __at(0x0D9A) __sfr SMT1STAT;
10565 typedef union
10567 struct
10569 unsigned AS : 1;
10570 unsigned WS : 1;
10571 unsigned TS : 1;
10572 unsigned : 1;
10573 unsigned : 1;
10574 unsigned RST : 1;
10575 unsigned CPWUP : 1;
10576 unsigned CPRUP : 1;
10579 struct
10581 unsigned SMT1AS : 1;
10582 unsigned SMT1WS : 1;
10583 unsigned SMT1TS : 1;
10584 unsigned : 1;
10585 unsigned : 1;
10586 unsigned SMT1RESET : 1;
10587 unsigned SMT1CPWUP : 1;
10588 unsigned SMT1CPRUP : 1;
10590 } __SMT1STATbits_t;
10592 extern __at(0x0D9A) volatile __SMT1STATbits_t SMT1STATbits;
10594 #define _AS 0x01
10595 #define _SMT1AS 0x01
10596 #define _WS 0x02
10597 #define _SMT1WS 0x02
10598 #define _TS 0x04
10599 #define _SMT1TS 0x04
10600 #define _RST 0x20
10601 #define _SMT1RESET 0x20
10602 #define _CPWUP 0x40
10603 #define _SMT1CPWUP 0x40
10604 #define _CPRUP 0x80
10605 #define _SMT1CPRUP 0x80
10607 //==============================================================================
10610 //==============================================================================
10611 // SMT1CLK Bits
10613 extern __at(0x0D9B) __sfr SMT1CLK;
10615 typedef union
10617 struct
10619 unsigned CSEL0 : 1;
10620 unsigned CSEL1 : 1;
10621 unsigned CSEL2 : 1;
10622 unsigned : 1;
10623 unsigned : 1;
10624 unsigned : 1;
10625 unsigned : 1;
10626 unsigned : 1;
10629 struct
10631 unsigned SMT1CSEL0 : 1;
10632 unsigned SMT1CSEL1 : 1;
10633 unsigned SMT1CSEL2 : 1;
10634 unsigned : 1;
10635 unsigned : 1;
10636 unsigned : 1;
10637 unsigned : 1;
10638 unsigned : 1;
10641 struct
10643 unsigned CSEL : 3;
10644 unsigned : 5;
10647 struct
10649 unsigned SMT1CSEL : 3;
10650 unsigned : 5;
10652 } __SMT1CLKbits_t;
10654 extern __at(0x0D9B) volatile __SMT1CLKbits_t SMT1CLKbits;
10656 #define _CSEL0 0x01
10657 #define _SMT1CSEL0 0x01
10658 #define _CSEL1 0x02
10659 #define _SMT1CSEL1 0x02
10660 #define _CSEL2 0x04
10661 #define _SMT1CSEL2 0x04
10663 //==============================================================================
10666 //==============================================================================
10667 // SMT1SIG Bits
10669 extern __at(0x0D9C) __sfr SMT1SIG;
10671 typedef union
10673 struct
10675 unsigned SSEL0 : 1;
10676 unsigned SSEL1 : 1;
10677 unsigned SSEL2 : 1;
10678 unsigned SSEL3 : 1;
10679 unsigned SSEL4 : 1;
10680 unsigned : 1;
10681 unsigned : 1;
10682 unsigned : 1;
10685 struct
10687 unsigned SMT1SSEL0 : 1;
10688 unsigned SMT1SSEL1 : 1;
10689 unsigned SMT1SSEL2 : 1;
10690 unsigned SMT1SSEL3 : 1;
10691 unsigned SMT1SSEL4 : 1;
10692 unsigned : 1;
10693 unsigned : 1;
10694 unsigned : 1;
10697 struct
10699 unsigned SSEL : 5;
10700 unsigned : 3;
10703 struct
10705 unsigned SMT1SSEL : 5;
10706 unsigned : 3;
10708 } __SMT1SIGbits_t;
10710 extern __at(0x0D9C) volatile __SMT1SIGbits_t SMT1SIGbits;
10712 #define _SMT1SIG_SSEL0 0x01
10713 #define _SMT1SIG_SMT1SSEL0 0x01
10714 #define _SMT1SIG_SSEL1 0x02
10715 #define _SMT1SIG_SMT1SSEL1 0x02
10716 #define _SMT1SIG_SSEL2 0x04
10717 #define _SMT1SIG_SMT1SSEL2 0x04
10718 #define _SMT1SIG_SSEL3 0x08
10719 #define _SMT1SIG_SMT1SSEL3 0x08
10720 #define _SMT1SIG_SSEL4 0x10
10721 #define _SMT1SIG_SMT1SSEL4 0x10
10723 //==============================================================================
10726 //==============================================================================
10727 // SMT1WIN Bits
10729 extern __at(0x0D9D) __sfr SMT1WIN;
10731 typedef union
10733 struct
10735 unsigned WSEL0 : 1;
10736 unsigned WSEL1 : 1;
10737 unsigned WSEL2 : 1;
10738 unsigned WSEL3 : 1;
10739 unsigned WSEL4 : 1;
10740 unsigned : 1;
10741 unsigned : 1;
10742 unsigned : 1;
10745 struct
10747 unsigned SMT1WSEL0 : 1;
10748 unsigned SMT1WSEL1 : 1;
10749 unsigned SMT1WSEL2 : 1;
10750 unsigned SMT1WSEL3 : 1;
10751 unsigned SMT1WSEL4 : 1;
10752 unsigned : 1;
10753 unsigned : 1;
10754 unsigned : 1;
10757 struct
10759 unsigned SMT1WSEL : 5;
10760 unsigned : 3;
10763 struct
10765 unsigned WSEL : 5;
10766 unsigned : 3;
10768 } __SMT1WINbits_t;
10770 extern __at(0x0D9D) volatile __SMT1WINbits_t SMT1WINbits;
10772 #define _WSEL0 0x01
10773 #define _SMT1WSEL0 0x01
10774 #define _WSEL1 0x02
10775 #define _SMT1WSEL1 0x02
10776 #define _WSEL2 0x04
10777 #define _SMT1WSEL2 0x04
10778 #define _WSEL3 0x08
10779 #define _SMT1WSEL3 0x08
10780 #define _WSEL4 0x10
10781 #define _SMT1WSEL4 0x10
10783 //==============================================================================
10785 extern __at(0x0D9E) __sfr SMT2TMR;
10787 //==============================================================================
10788 // SMT2TMRL Bits
10790 extern __at(0x0D9E) __sfr SMT2TMRL;
10792 typedef struct
10794 unsigned SMT2TMR0 : 1;
10795 unsigned SMT2TMR1 : 1;
10796 unsigned SMT2TMR2 : 1;
10797 unsigned SMT2TMR3 : 1;
10798 unsigned SMT2TMR4 : 1;
10799 unsigned SMT2TMR5 : 1;
10800 unsigned SMT2TMR6 : 1;
10801 unsigned SMT2TMR7 : 1;
10802 } __SMT2TMRLbits_t;
10804 extern __at(0x0D9E) volatile __SMT2TMRLbits_t SMT2TMRLbits;
10806 #define _SMT2TMR0 0x01
10807 #define _SMT2TMR1 0x02
10808 #define _SMT2TMR2 0x04
10809 #define _SMT2TMR3 0x08
10810 #define _SMT2TMR4 0x10
10811 #define _SMT2TMR5 0x20
10812 #define _SMT2TMR6 0x40
10813 #define _SMT2TMR7 0x80
10815 //==============================================================================
10818 //==============================================================================
10819 // SMT2TMRH Bits
10821 extern __at(0x0D9F) __sfr SMT2TMRH;
10823 typedef struct
10825 unsigned SMT2TMR8 : 1;
10826 unsigned SMT2TMR9 : 1;
10827 unsigned SMT2TMR10 : 1;
10828 unsigned SMT2TMR11 : 1;
10829 unsigned SMT2TMR12 : 1;
10830 unsigned SMT2TMR13 : 1;
10831 unsigned SMT2TMR14 : 1;
10832 unsigned SMT2TMR15 : 1;
10833 } __SMT2TMRHbits_t;
10835 extern __at(0x0D9F) volatile __SMT2TMRHbits_t SMT2TMRHbits;
10837 #define _SMT2TMR8 0x01
10838 #define _SMT2TMR9 0x02
10839 #define _SMT2TMR10 0x04
10840 #define _SMT2TMR11 0x08
10841 #define _SMT2TMR12 0x10
10842 #define _SMT2TMR13 0x20
10843 #define _SMT2TMR14 0x40
10844 #define _SMT2TMR15 0x80
10846 //==============================================================================
10849 //==============================================================================
10850 // SMT2TMRU Bits
10852 extern __at(0x0DA0) __sfr SMT2TMRU;
10854 typedef struct
10856 unsigned SMT2TMR16 : 1;
10857 unsigned SMT2TMR17 : 1;
10858 unsigned SMT2TMR18 : 1;
10859 unsigned SMT2TMR19 : 1;
10860 unsigned SMT2TMR20 : 1;
10861 unsigned SMT2TMR21 : 1;
10862 unsigned SMT2TMR22 : 1;
10863 unsigned SMT2TMR23 : 1;
10864 } __SMT2TMRUbits_t;
10866 extern __at(0x0DA0) volatile __SMT2TMRUbits_t SMT2TMRUbits;
10868 #define _SMT2TMR16 0x01
10869 #define _SMT2TMR17 0x02
10870 #define _SMT2TMR18 0x04
10871 #define _SMT2TMR19 0x08
10872 #define _SMT2TMR20 0x10
10873 #define _SMT2TMR21 0x20
10874 #define _SMT2TMR22 0x40
10875 #define _SMT2TMR23 0x80
10877 //==============================================================================
10879 extern __at(0x0DA1) __sfr SMT2CPR;
10881 //==============================================================================
10882 // SMT2CPRL Bits
10884 extern __at(0x0DA1) __sfr SMT2CPRL;
10886 typedef struct
10888 unsigned SMT2CPR0 : 1;
10889 unsigned SMT2CPR1 : 1;
10890 unsigned SMT2CPR2 : 1;
10891 unsigned SMT2CPR3 : 1;
10892 unsigned SMT2CPR4 : 1;
10893 unsigned SMT2CPR5 : 1;
10894 unsigned SMT2CPR6 : 1;
10895 unsigned SMT2CPR7 : 1;
10896 } __SMT2CPRLbits_t;
10898 extern __at(0x0DA1) volatile __SMT2CPRLbits_t SMT2CPRLbits;
10900 #define _SMT2CPR0 0x01
10901 #define _SMT2CPR1 0x02
10902 #define _SMT2CPR2 0x04
10903 #define _SMT2CPR3 0x08
10904 #define _SMT2CPR4 0x10
10905 #define _SMT2CPR5 0x20
10906 #define _SMT2CPR6 0x40
10907 #define _SMT2CPR7 0x80
10909 //==============================================================================
10912 //==============================================================================
10913 // SMT2CPRH Bits
10915 extern __at(0x0DA2) __sfr SMT2CPRH;
10917 typedef struct
10919 unsigned SMT2CPR8 : 1;
10920 unsigned SMT2CPR9 : 1;
10921 unsigned SMT2CPR10 : 1;
10922 unsigned SMT2CPR11 : 1;
10923 unsigned SMT2CPR12 : 1;
10924 unsigned SMT2CPR13 : 1;
10925 unsigned SMT2CPR14 : 1;
10926 unsigned SMT2CPR15 : 1;
10927 } __SMT2CPRHbits_t;
10929 extern __at(0x0DA2) volatile __SMT2CPRHbits_t SMT2CPRHbits;
10931 #define _SMT2CPR8 0x01
10932 #define _SMT2CPR9 0x02
10933 #define _SMT2CPR10 0x04
10934 #define _SMT2CPR11 0x08
10935 #define _SMT2CPR12 0x10
10936 #define _SMT2CPR13 0x20
10937 #define _SMT2CPR14 0x40
10938 #define _SMT2CPR15 0x80
10940 //==============================================================================
10943 //==============================================================================
10944 // SMT2CPRU Bits
10946 extern __at(0x0DA3) __sfr SMT2CPRU;
10948 typedef struct
10950 unsigned SMT2CPR16 : 1;
10951 unsigned SMT2CPR17 : 1;
10952 unsigned SMT2CPR18 : 1;
10953 unsigned SMT2CPR19 : 1;
10954 unsigned SMT2CPR20 : 1;
10955 unsigned SMT2CPR21 : 1;
10956 unsigned SMT2CPR22 : 1;
10957 unsigned SMT2CPR23 : 1;
10958 } __SMT2CPRUbits_t;
10960 extern __at(0x0DA3) volatile __SMT2CPRUbits_t SMT2CPRUbits;
10962 #define _SMT2CPR16 0x01
10963 #define _SMT2CPR17 0x02
10964 #define _SMT2CPR18 0x04
10965 #define _SMT2CPR19 0x08
10966 #define _SMT2CPR20 0x10
10967 #define _SMT2CPR21 0x20
10968 #define _SMT2CPR22 0x40
10969 #define _SMT2CPR23 0x80
10971 //==============================================================================
10973 extern __at(0x0DA4) __sfr SMT2CPW;
10975 //==============================================================================
10976 // SMT2CPWL Bits
10978 extern __at(0x0DA4) __sfr SMT2CPWL;
10980 typedef struct
10982 unsigned SMT2CPW0 : 1;
10983 unsigned SMT2CPW1 : 1;
10984 unsigned SMT2CPW2 : 1;
10985 unsigned SMT2CPW3 : 1;
10986 unsigned SMT2CPW4 : 1;
10987 unsigned SMT2CPW5 : 1;
10988 unsigned SMT2CPW6 : 1;
10989 unsigned SMT2CPW7 : 1;
10990 } __SMT2CPWLbits_t;
10992 extern __at(0x0DA4) volatile __SMT2CPWLbits_t SMT2CPWLbits;
10994 #define _SMT2CPW0 0x01
10995 #define _SMT2CPW1 0x02
10996 #define _SMT2CPW2 0x04
10997 #define _SMT2CPW3 0x08
10998 #define _SMT2CPW4 0x10
10999 #define _SMT2CPW5 0x20
11000 #define _SMT2CPW6 0x40
11001 #define _SMT2CPW7 0x80
11003 //==============================================================================
11006 //==============================================================================
11007 // SMT2CPWH Bits
11009 extern __at(0x0DA5) __sfr SMT2CPWH;
11011 typedef struct
11013 unsigned SMT2CPW8 : 1;
11014 unsigned SMT2CPW9 : 1;
11015 unsigned SMT2CPW10 : 1;
11016 unsigned SMT2CPW11 : 1;
11017 unsigned SMT2CPW12 : 1;
11018 unsigned SMT2CPW13 : 1;
11019 unsigned SMT2CPW14 : 1;
11020 unsigned SMT2CPW15 : 1;
11021 } __SMT2CPWHbits_t;
11023 extern __at(0x0DA5) volatile __SMT2CPWHbits_t SMT2CPWHbits;
11025 #define _SMT2CPW8 0x01
11026 #define _SMT2CPW9 0x02
11027 #define _SMT2CPW10 0x04
11028 #define _SMT2CPW11 0x08
11029 #define _SMT2CPW12 0x10
11030 #define _SMT2CPW13 0x20
11031 #define _SMT2CPW14 0x40
11032 #define _SMT2CPW15 0x80
11034 //==============================================================================
11037 //==============================================================================
11038 // SMT2CPWU Bits
11040 extern __at(0x0DA6) __sfr SMT2CPWU;
11042 typedef struct
11044 unsigned SMT2CPW16 : 1;
11045 unsigned SMT2CPW17 : 1;
11046 unsigned SMT2CPW18 : 1;
11047 unsigned SMT2CPW19 : 1;
11048 unsigned SMT2CPW20 : 1;
11049 unsigned SMT2CPW21 : 1;
11050 unsigned SMT2CPW22 : 1;
11051 unsigned SMT2CPW23 : 1;
11052 } __SMT2CPWUbits_t;
11054 extern __at(0x0DA6) volatile __SMT2CPWUbits_t SMT2CPWUbits;
11056 #define _SMT2CPW16 0x01
11057 #define _SMT2CPW17 0x02
11058 #define _SMT2CPW18 0x04
11059 #define _SMT2CPW19 0x08
11060 #define _SMT2CPW20 0x10
11061 #define _SMT2CPW21 0x20
11062 #define _SMT2CPW22 0x40
11063 #define _SMT2CPW23 0x80
11065 //==============================================================================
11067 extern __at(0x0DA7) __sfr SMT2PR;
11069 //==============================================================================
11070 // SMT2PRL Bits
11072 extern __at(0x0DA7) __sfr SMT2PRL;
11074 typedef struct
11076 unsigned SMT2PR0 : 1;
11077 unsigned SMT2PR1 : 1;
11078 unsigned SMT2PR2 : 1;
11079 unsigned SMT2PR3 : 1;
11080 unsigned SMT2PR4 : 1;
11081 unsigned SMT2PR5 : 1;
11082 unsigned SMT2PR6 : 1;
11083 unsigned SMT2PR7 : 1;
11084 } __SMT2PRLbits_t;
11086 extern __at(0x0DA7) volatile __SMT2PRLbits_t SMT2PRLbits;
11088 #define _SMT2PR0 0x01
11089 #define _SMT2PR1 0x02
11090 #define _SMT2PR2 0x04
11091 #define _SMT2PR3 0x08
11092 #define _SMT2PR4 0x10
11093 #define _SMT2PR5 0x20
11094 #define _SMT2PR6 0x40
11095 #define _SMT2PR7 0x80
11097 //==============================================================================
11100 //==============================================================================
11101 // SMT2PRH Bits
11103 extern __at(0x0DA8) __sfr SMT2PRH;
11105 typedef struct
11107 unsigned SMT2PR8 : 1;
11108 unsigned SMT2PR9 : 1;
11109 unsigned SMT2PR10 : 1;
11110 unsigned SMT2PR11 : 1;
11111 unsigned SMT2PR12 : 1;
11112 unsigned SMT2PR13 : 1;
11113 unsigned SMT2PR14 : 1;
11114 unsigned SMT2PR15 : 1;
11115 } __SMT2PRHbits_t;
11117 extern __at(0x0DA8) volatile __SMT2PRHbits_t SMT2PRHbits;
11119 #define _SMT2PR8 0x01
11120 #define _SMT2PR9 0x02
11121 #define _SMT2PR10 0x04
11122 #define _SMT2PR11 0x08
11123 #define _SMT2PR12 0x10
11124 #define _SMT2PR13 0x20
11125 #define _SMT2PR14 0x40
11126 #define _SMT2PR15 0x80
11128 //==============================================================================
11131 //==============================================================================
11132 // SMT2PRU Bits
11134 extern __at(0x0DA9) __sfr SMT2PRU;
11136 typedef struct
11138 unsigned SMT2PR16 : 1;
11139 unsigned SMT2PR17 : 1;
11140 unsigned SMT2PR18 : 1;
11141 unsigned SMT2PR19 : 1;
11142 unsigned SMT2PR20 : 1;
11143 unsigned SMT2PR21 : 1;
11144 unsigned SMT2PR22 : 1;
11145 unsigned SMT2PR23 : 1;
11146 } __SMT2PRUbits_t;
11148 extern __at(0x0DA9) volatile __SMT2PRUbits_t SMT2PRUbits;
11150 #define _SMT2PR16 0x01
11151 #define _SMT2PR17 0x02
11152 #define _SMT2PR18 0x04
11153 #define _SMT2PR19 0x08
11154 #define _SMT2PR20 0x10
11155 #define _SMT2PR21 0x20
11156 #define _SMT2PR22 0x40
11157 #define _SMT2PR23 0x80
11159 //==============================================================================
11162 //==============================================================================
11163 // SMT2CON0 Bits
11165 extern __at(0x0DAA) __sfr SMT2CON0;
11167 typedef union
11169 struct
11171 unsigned SMT2PS0 : 1;
11172 unsigned SMT2PS1 : 1;
11173 unsigned CPOL : 1;
11174 unsigned SPOL : 1;
11175 unsigned WPOL : 1;
11176 unsigned STP : 1;
11177 unsigned : 1;
11178 unsigned EN : 1;
11181 struct
11183 unsigned SMT2PS : 2;
11184 unsigned : 6;
11186 } __SMT2CON0bits_t;
11188 extern __at(0x0DAA) volatile __SMT2CON0bits_t SMT2CON0bits;
11190 #define _SMT2CON0_SMT2PS0 0x01
11191 #define _SMT2CON0_SMT2PS1 0x02
11192 #define _SMT2CON0_CPOL 0x04
11193 #define _SMT2CON0_SPOL 0x08
11194 #define _SMT2CON0_WPOL 0x10
11195 #define _SMT2CON0_STP 0x20
11196 #define _SMT2CON0_EN 0x80
11198 //==============================================================================
11201 //==============================================================================
11202 // SMT2CON1 Bits
11204 extern __at(0x0DAB) __sfr SMT2CON1;
11206 typedef union
11208 struct
11210 unsigned MODE0 : 1;
11211 unsigned MODE1 : 1;
11212 unsigned MODE2 : 1;
11213 unsigned MODE3 : 1;
11214 unsigned : 1;
11215 unsigned : 1;
11216 unsigned REPEAT : 1;
11217 unsigned SMT2GO : 1;
11220 struct
11222 unsigned SMT2MODE0 : 1;
11223 unsigned SMT2MODE1 : 1;
11224 unsigned SMT2MODE2 : 1;
11225 unsigned SMT2MODE3 : 1;
11226 unsigned : 1;
11227 unsigned : 1;
11228 unsigned SMT2REPEAT : 1;
11229 unsigned : 1;
11232 struct
11234 unsigned MODE : 4;
11235 unsigned : 4;
11238 struct
11240 unsigned SMT2MODE : 4;
11241 unsigned : 4;
11243 } __SMT2CON1bits_t;
11245 extern __at(0x0DAB) volatile __SMT2CON1bits_t SMT2CON1bits;
11247 #define _SMT2CON1_MODE0 0x01
11248 #define _SMT2CON1_SMT2MODE0 0x01
11249 #define _SMT2CON1_MODE1 0x02
11250 #define _SMT2CON1_SMT2MODE1 0x02
11251 #define _SMT2CON1_MODE2 0x04
11252 #define _SMT2CON1_SMT2MODE2 0x04
11253 #define _SMT2CON1_MODE3 0x08
11254 #define _SMT2CON1_SMT2MODE3 0x08
11255 #define _SMT2CON1_REPEAT 0x40
11256 #define _SMT2CON1_SMT2REPEAT 0x40
11257 #define _SMT2CON1_SMT2GO 0x80
11259 //==============================================================================
11262 //==============================================================================
11263 // SMT2STAT Bits
11265 extern __at(0x0DAC) __sfr SMT2STAT;
11267 typedef union
11269 struct
11271 unsigned AS : 1;
11272 unsigned WS : 1;
11273 unsigned TS : 1;
11274 unsigned : 1;
11275 unsigned : 1;
11276 unsigned RST : 1;
11277 unsigned CPWUP : 1;
11278 unsigned CPRUP : 1;
11281 struct
11283 unsigned SMT2AS : 1;
11284 unsigned SMT2WS : 1;
11285 unsigned SMT2TS : 1;
11286 unsigned : 1;
11287 unsigned : 1;
11288 unsigned SMT2RESET : 1;
11289 unsigned SMT2CPWUP : 1;
11290 unsigned SMT2CPRUP : 1;
11292 } __SMT2STATbits_t;
11294 extern __at(0x0DAC) volatile __SMT2STATbits_t SMT2STATbits;
11296 #define _SMT2STAT_AS 0x01
11297 #define _SMT2STAT_SMT2AS 0x01
11298 #define _SMT2STAT_WS 0x02
11299 #define _SMT2STAT_SMT2WS 0x02
11300 #define _SMT2STAT_TS 0x04
11301 #define _SMT2STAT_SMT2TS 0x04
11302 #define _SMT2STAT_RST 0x20
11303 #define _SMT2STAT_SMT2RESET 0x20
11304 #define _SMT2STAT_CPWUP 0x40
11305 #define _SMT2STAT_SMT2CPWUP 0x40
11306 #define _SMT2STAT_CPRUP 0x80
11307 #define _SMT2STAT_SMT2CPRUP 0x80
11309 //==============================================================================
11312 //==============================================================================
11313 // SMT2CLK Bits
11315 extern __at(0x0DAD) __sfr SMT2CLK;
11317 typedef union
11319 struct
11321 unsigned CSEL0 : 1;
11322 unsigned CSEL1 : 1;
11323 unsigned CSEL2 : 1;
11324 unsigned : 1;
11325 unsigned : 1;
11326 unsigned : 1;
11327 unsigned : 1;
11328 unsigned : 1;
11331 struct
11333 unsigned SMT2CSEL0 : 1;
11334 unsigned SMT2CSEL1 : 1;
11335 unsigned SMT2CSEL2 : 1;
11336 unsigned : 1;
11337 unsigned : 1;
11338 unsigned : 1;
11339 unsigned : 1;
11340 unsigned : 1;
11343 struct
11345 unsigned SMT2CSEL : 3;
11346 unsigned : 5;
11349 struct
11351 unsigned CSEL : 3;
11352 unsigned : 5;
11354 } __SMT2CLKbits_t;
11356 extern __at(0x0DAD) volatile __SMT2CLKbits_t SMT2CLKbits;
11358 #define _SMT2CLK_CSEL0 0x01
11359 #define _SMT2CLK_SMT2CSEL0 0x01
11360 #define _SMT2CLK_CSEL1 0x02
11361 #define _SMT2CLK_SMT2CSEL1 0x02
11362 #define _SMT2CLK_CSEL2 0x04
11363 #define _SMT2CLK_SMT2CSEL2 0x04
11365 //==============================================================================
11368 //==============================================================================
11369 // SMT2SIG Bits
11371 extern __at(0x0DAE) __sfr SMT2SIG;
11373 typedef union
11375 struct
11377 unsigned SSEL0 : 1;
11378 unsigned SSEL1 : 1;
11379 unsigned SSEL2 : 1;
11380 unsigned SSEL3 : 1;
11381 unsigned SSEL4 : 1;
11382 unsigned : 1;
11383 unsigned : 1;
11384 unsigned : 1;
11387 struct
11389 unsigned SMT2SSEL0 : 1;
11390 unsigned SMT2SSEL1 : 1;
11391 unsigned SMT2SSEL2 : 1;
11392 unsigned SMT2SSEL3 : 1;
11393 unsigned SMT2SSEL4 : 1;
11394 unsigned : 1;
11395 unsigned : 1;
11396 unsigned : 1;
11399 struct
11401 unsigned SMT2SSEL : 5;
11402 unsigned : 3;
11405 struct
11407 unsigned SSEL : 5;
11408 unsigned : 3;
11410 } __SMT2SIGbits_t;
11412 extern __at(0x0DAE) volatile __SMT2SIGbits_t SMT2SIGbits;
11414 #define _SMT2SIG_SSEL0 0x01
11415 #define _SMT2SIG_SMT2SSEL0 0x01
11416 #define _SMT2SIG_SSEL1 0x02
11417 #define _SMT2SIG_SMT2SSEL1 0x02
11418 #define _SMT2SIG_SSEL2 0x04
11419 #define _SMT2SIG_SMT2SSEL2 0x04
11420 #define _SMT2SIG_SSEL3 0x08
11421 #define _SMT2SIG_SMT2SSEL3 0x08
11422 #define _SMT2SIG_SSEL4 0x10
11423 #define _SMT2SIG_SMT2SSEL4 0x10
11425 //==============================================================================
11428 //==============================================================================
11429 // SMT2WIN Bits
11431 extern __at(0x0DAF) __sfr SMT2WIN;
11433 typedef union
11435 struct
11437 unsigned WSEL0 : 1;
11438 unsigned WSEL1 : 1;
11439 unsigned WSEL2 : 1;
11440 unsigned WSEL3 : 1;
11441 unsigned WSEL4 : 1;
11442 unsigned : 1;
11443 unsigned : 1;
11444 unsigned : 1;
11447 struct
11449 unsigned SMT2WSEL0 : 1;
11450 unsigned SMT2WSEL1 : 1;
11451 unsigned SMT2WSEL2 : 1;
11452 unsigned SMT2WSEL3 : 1;
11453 unsigned SMT2WSEL4 : 1;
11454 unsigned : 1;
11455 unsigned : 1;
11456 unsigned : 1;
11459 struct
11461 unsigned SMT2WSEL : 5;
11462 unsigned : 3;
11465 struct
11467 unsigned WSEL : 5;
11468 unsigned : 3;
11470 } __SMT2WINbits_t;
11472 extern __at(0x0DAF) volatile __SMT2WINbits_t SMT2WINbits;
11474 #define _SMT2WIN_WSEL0 0x01
11475 #define _SMT2WIN_SMT2WSEL0 0x01
11476 #define _SMT2WIN_WSEL1 0x02
11477 #define _SMT2WIN_SMT2WSEL1 0x02
11478 #define _SMT2WIN_WSEL2 0x04
11479 #define _SMT2WIN_SMT2WSEL2 0x04
11480 #define _SMT2WIN_WSEL3 0x08
11481 #define _SMT2WIN_SMT2WSEL3 0x08
11482 #define _SMT2WIN_WSEL4 0x10
11483 #define _SMT2WIN_SMT2WSEL4 0x10
11485 //==============================================================================
11488 //==============================================================================
11489 // PPSLOCK Bits
11491 extern __at(0x0E0F) __sfr PPSLOCK;
11493 typedef struct
11495 unsigned PPSLOCKED : 1;
11496 unsigned : 1;
11497 unsigned : 1;
11498 unsigned : 1;
11499 unsigned : 1;
11500 unsigned : 1;
11501 unsigned : 1;
11502 unsigned : 1;
11503 } __PPSLOCKbits_t;
11505 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits;
11507 #define _PPSLOCKED 0x01
11509 //==============================================================================
11512 //==============================================================================
11513 // INTPPS Bits
11515 extern __at(0x0E10) __sfr INTPPS;
11517 typedef union
11519 struct
11521 unsigned INTPPS0 : 1;
11522 unsigned INTPPS1 : 1;
11523 unsigned INTPPS2 : 1;
11524 unsigned INTPPS3 : 1;
11525 unsigned INTPPS4 : 1;
11526 unsigned : 1;
11527 unsigned : 1;
11528 unsigned : 1;
11531 struct
11533 unsigned INTPPS : 5;
11534 unsigned : 3;
11536 } __INTPPSbits_t;
11538 extern __at(0x0E10) volatile __INTPPSbits_t INTPPSbits;
11540 #define _INTPPS0 0x01
11541 #define _INTPPS1 0x02
11542 #define _INTPPS2 0x04
11543 #define _INTPPS3 0x08
11544 #define _INTPPS4 0x10
11546 //==============================================================================
11549 //==============================================================================
11550 // T0CKIPPS Bits
11552 extern __at(0x0E11) __sfr T0CKIPPS;
11554 typedef union
11556 struct
11558 unsigned T0CKIPPS0 : 1;
11559 unsigned T0CKIPPS1 : 1;
11560 unsigned T0CKIPPS2 : 1;
11561 unsigned T0CKIPPS3 : 1;
11562 unsigned T0CKIPPS4 : 1;
11563 unsigned : 1;
11564 unsigned : 1;
11565 unsigned : 1;
11568 struct
11570 unsigned T0CKIPPS : 5;
11571 unsigned : 3;
11573 } __T0CKIPPSbits_t;
11575 extern __at(0x0E11) volatile __T0CKIPPSbits_t T0CKIPPSbits;
11577 #define _T0CKIPPS0 0x01
11578 #define _T0CKIPPS1 0x02
11579 #define _T0CKIPPS2 0x04
11580 #define _T0CKIPPS3 0x08
11581 #define _T0CKIPPS4 0x10
11583 //==============================================================================
11586 //==============================================================================
11587 // T1CKIPPS Bits
11589 extern __at(0x0E12) __sfr T1CKIPPS;
11591 typedef union
11593 struct
11595 unsigned T1CKIPPS0 : 1;
11596 unsigned T1CKIPPS1 : 1;
11597 unsigned T1CKIPPS2 : 1;
11598 unsigned T1CKIPPS3 : 1;
11599 unsigned T1CKIPPS4 : 1;
11600 unsigned : 1;
11601 unsigned : 1;
11602 unsigned : 1;
11605 struct
11607 unsigned T1CKIPPS : 5;
11608 unsigned : 3;
11610 } __T1CKIPPSbits_t;
11612 extern __at(0x0E12) volatile __T1CKIPPSbits_t T1CKIPPSbits;
11614 #define _T1CKIPPS0 0x01
11615 #define _T1CKIPPS1 0x02
11616 #define _T1CKIPPS2 0x04
11617 #define _T1CKIPPS3 0x08
11618 #define _T1CKIPPS4 0x10
11620 //==============================================================================
11623 //==============================================================================
11624 // T1GPPS Bits
11626 extern __at(0x0E13) __sfr T1GPPS;
11628 typedef union
11630 struct
11632 unsigned T1GPPS0 : 1;
11633 unsigned T1GPPS1 : 1;
11634 unsigned T1GPPS2 : 1;
11635 unsigned T1GPPS3 : 1;
11636 unsigned T1GPPS4 : 1;
11637 unsigned : 1;
11638 unsigned : 1;
11639 unsigned : 1;
11642 struct
11644 unsigned T1GPPS : 5;
11645 unsigned : 3;
11647 } __T1GPPSbits_t;
11649 extern __at(0x0E13) volatile __T1GPPSbits_t T1GPPSbits;
11651 #define _T1GPPS0 0x01
11652 #define _T1GPPS1 0x02
11653 #define _T1GPPS2 0x04
11654 #define _T1GPPS3 0x08
11655 #define _T1GPPS4 0x10
11657 //==============================================================================
11660 //==============================================================================
11661 // CCP1PPS Bits
11663 extern __at(0x0E14) __sfr CCP1PPS;
11665 typedef union
11667 struct
11669 unsigned CCP1PPS0 : 1;
11670 unsigned CCP1PPS1 : 1;
11671 unsigned CCP1PPS2 : 1;
11672 unsigned CCP1PPS3 : 1;
11673 unsigned CCP1PPS4 : 1;
11674 unsigned : 1;
11675 unsigned : 1;
11676 unsigned : 1;
11679 struct
11681 unsigned CCP1PPS : 5;
11682 unsigned : 3;
11684 } __CCP1PPSbits_t;
11686 extern __at(0x0E14) volatile __CCP1PPSbits_t CCP1PPSbits;
11688 #define _CCP1PPS0 0x01
11689 #define _CCP1PPS1 0x02
11690 #define _CCP1PPS2 0x04
11691 #define _CCP1PPS3 0x08
11692 #define _CCP1PPS4 0x10
11694 //==============================================================================
11697 //==============================================================================
11698 // CCP2PPS Bits
11700 extern __at(0x0E15) __sfr CCP2PPS;
11702 typedef union
11704 struct
11706 unsigned CCP2PPS0 : 1;
11707 unsigned CCP2PPS1 : 1;
11708 unsigned CCP2PPS2 : 1;
11709 unsigned CCP2PPS3 : 1;
11710 unsigned CCP2PPS4 : 1;
11711 unsigned : 1;
11712 unsigned : 1;
11713 unsigned : 1;
11716 struct
11718 unsigned CCP2PPS : 5;
11719 unsigned : 3;
11721 } __CCP2PPSbits_t;
11723 extern __at(0x0E15) volatile __CCP2PPSbits_t CCP2PPSbits;
11725 #define _CCP2PPS0 0x01
11726 #define _CCP2PPS1 0x02
11727 #define _CCP2PPS2 0x04
11728 #define _CCP2PPS3 0x08
11729 #define _CCP2PPS4 0x10
11731 //==============================================================================
11734 //==============================================================================
11735 // ATINPPS Bits
11737 extern __at(0x0E16) __sfr ATINPPS;
11739 typedef union
11741 struct
11743 unsigned ATINPPS0 : 1;
11744 unsigned ATINPPS1 : 1;
11745 unsigned ATINPPS2 : 1;
11746 unsigned ATINPPS3 : 1;
11747 unsigned ATINPPS4 : 1;
11748 unsigned : 1;
11749 unsigned : 1;
11750 unsigned : 1;
11753 struct
11755 unsigned ATINPPS : 5;
11756 unsigned : 3;
11758 } __ATINPPSbits_t;
11760 extern __at(0x0E16) volatile __ATINPPSbits_t ATINPPSbits;
11762 #define _ATINPPS0 0x01
11763 #define _ATINPPS1 0x02
11764 #define _ATINPPS2 0x04
11765 #define _ATINPPS3 0x08
11766 #define _ATINPPS4 0x10
11768 //==============================================================================
11771 //==============================================================================
11772 // CWGINPPS Bits
11774 extern __at(0x0E17) __sfr CWGINPPS;
11776 typedef union
11778 struct
11780 unsigned CWGINPPS0 : 1;
11781 unsigned CWGINPPS1 : 1;
11782 unsigned CWGINPPS2 : 1;
11783 unsigned CWGINPPS3 : 1;
11784 unsigned CWGINPPS4 : 1;
11785 unsigned : 1;
11786 unsigned : 1;
11787 unsigned : 1;
11790 struct
11792 unsigned CWGINPPS : 5;
11793 unsigned : 3;
11795 } __CWGINPPSbits_t;
11797 extern __at(0x0E17) volatile __CWGINPPSbits_t CWGINPPSbits;
11799 #define _CWGINPPS0 0x01
11800 #define _CWGINPPS1 0x02
11801 #define _CWGINPPS2 0x04
11802 #define _CWGINPPS3 0x08
11803 #define _CWGINPPS4 0x10
11805 //==============================================================================
11808 //==============================================================================
11809 // T2PPS Bits
11811 extern __at(0x0E18) __sfr T2PPS;
11813 typedef union
11815 struct
11817 unsigned T2PPS0 : 1;
11818 unsigned T2PPS1 : 1;
11819 unsigned T2PPS2 : 1;
11820 unsigned T2PPS3 : 1;
11821 unsigned T2PPS4 : 1;
11822 unsigned : 1;
11823 unsigned : 1;
11824 unsigned : 1;
11827 struct
11829 unsigned T2PPS : 5;
11830 unsigned : 3;
11832 } __T2PPSbits_t;
11834 extern __at(0x0E18) volatile __T2PPSbits_t T2PPSbits;
11836 #define _T2PPS0 0x01
11837 #define _T2PPS1 0x02
11838 #define _T2PPS2 0x04
11839 #define _T2PPS3 0x08
11840 #define _T2PPS4 0x10
11842 //==============================================================================
11845 //==============================================================================
11846 // T3CKIPPS Bits
11848 extern __at(0x0E19) __sfr T3CKIPPS;
11850 typedef union
11852 struct
11854 unsigned T3CKIPPS0 : 1;
11855 unsigned T3CKIPPS1 : 1;
11856 unsigned T3CKIPPS2 : 1;
11857 unsigned T3CKIPPS3 : 1;
11858 unsigned T3CKIPPS4 : 1;
11859 unsigned : 1;
11860 unsigned : 1;
11861 unsigned : 1;
11864 struct
11866 unsigned T3CKIPPS : 5;
11867 unsigned : 3;
11869 } __T3CKIPPSbits_t;
11871 extern __at(0x0E19) volatile __T3CKIPPSbits_t T3CKIPPSbits;
11873 #define _T3CKIPPS0 0x01
11874 #define _T3CKIPPS1 0x02
11875 #define _T3CKIPPS2 0x04
11876 #define _T3CKIPPS3 0x08
11877 #define _T3CKIPPS4 0x10
11879 //==============================================================================
11882 //==============================================================================
11883 // T3GPPS Bits
11885 extern __at(0x0E1A) __sfr T3GPPS;
11887 typedef union
11889 struct
11891 unsigned T3GPPS0 : 1;
11892 unsigned T3GPPS1 : 1;
11893 unsigned T3GPPS2 : 1;
11894 unsigned T3GPPS3 : 1;
11895 unsigned T3GPPS4 : 1;
11896 unsigned : 1;
11897 unsigned : 1;
11898 unsigned : 1;
11901 struct
11903 unsigned T3GPPS : 5;
11904 unsigned : 3;
11906 } __T3GPPSbits_t;
11908 extern __at(0x0E1A) volatile __T3GPPSbits_t T3GPPSbits;
11910 #define _T3GPPS0 0x01
11911 #define _T3GPPS1 0x02
11912 #define _T3GPPS2 0x04
11913 #define _T3GPPS3 0x08
11914 #define _T3GPPS4 0x10
11916 //==============================================================================
11919 //==============================================================================
11920 // T4PPS Bits
11922 extern __at(0x0E1B) __sfr T4PPS;
11924 typedef union
11926 struct
11928 unsigned T4PPS0 : 1;
11929 unsigned T4PPS1 : 1;
11930 unsigned T4PPS2 : 1;
11931 unsigned T4PPS3 : 1;
11932 unsigned T4PPS4 : 1;
11933 unsigned : 1;
11934 unsigned : 1;
11935 unsigned : 1;
11938 struct
11940 unsigned T4PPS : 5;
11941 unsigned : 3;
11943 } __T4PPSbits_t;
11945 extern __at(0x0E1B) volatile __T4PPSbits_t T4PPSbits;
11947 #define _T4PPS0 0x01
11948 #define _T4PPS1 0x02
11949 #define _T4PPS2 0x04
11950 #define _T4PPS3 0x08
11951 #define _T4PPS4 0x10
11953 //==============================================================================
11956 //==============================================================================
11957 // T5CKIPPS Bits
11959 extern __at(0x0E1C) __sfr T5CKIPPS;
11961 typedef union
11963 struct
11965 unsigned T5CKIPPS0 : 1;
11966 unsigned T5CKIPPS1 : 1;
11967 unsigned T5CKIPPS2 : 1;
11968 unsigned T5CKIPPS3 : 1;
11969 unsigned T5CKIPPS4 : 1;
11970 unsigned : 1;
11971 unsigned : 1;
11972 unsigned : 1;
11975 struct
11977 unsigned T5CKIPPS : 5;
11978 unsigned : 3;
11980 } __T5CKIPPSbits_t;
11982 extern __at(0x0E1C) volatile __T5CKIPPSbits_t T5CKIPPSbits;
11984 #define _T5CKIPPS0 0x01
11985 #define _T5CKIPPS1 0x02
11986 #define _T5CKIPPS2 0x04
11987 #define _T5CKIPPS3 0x08
11988 #define _T5CKIPPS4 0x10
11990 //==============================================================================
11993 //==============================================================================
11994 // T5GPPS Bits
11996 extern __at(0x0E1D) __sfr T5GPPS;
11998 typedef union
12000 struct
12002 unsigned T5GPPS0 : 1;
12003 unsigned T5GPPS1 : 1;
12004 unsigned T5GPPS2 : 1;
12005 unsigned T5GPPS3 : 1;
12006 unsigned T5GPPS4 : 1;
12007 unsigned : 1;
12008 unsigned : 1;
12009 unsigned : 1;
12012 struct
12014 unsigned T5GPPS : 5;
12015 unsigned : 3;
12017 } __T5GPPSbits_t;
12019 extern __at(0x0E1D) volatile __T5GPPSbits_t T5GPPSbits;
12021 #define _T5GPPS0 0x01
12022 #define _T5GPPS1 0x02
12023 #define _T5GPPS2 0x04
12024 #define _T5GPPS3 0x08
12025 #define _T5GPPS4 0x10
12027 //==============================================================================
12030 //==============================================================================
12031 // T6PPS Bits
12033 extern __at(0x0E1E) __sfr T6PPS;
12035 typedef union
12037 struct
12039 unsigned T6PPS0 : 1;
12040 unsigned T6PPS1 : 1;
12041 unsigned T6PPS2 : 1;
12042 unsigned T6PPS3 : 1;
12043 unsigned T6PPS4 : 1;
12044 unsigned : 1;
12045 unsigned : 1;
12046 unsigned : 1;
12049 struct
12051 unsigned T6PPS : 5;
12052 unsigned : 3;
12054 } __T6PPSbits_t;
12056 extern __at(0x0E1E) volatile __T6PPSbits_t T6PPSbits;
12058 #define _T6PPS0 0x01
12059 #define _T6PPS1 0x02
12060 #define _T6PPS2 0x04
12061 #define _T6PPS3 0x08
12062 #define _T6PPS4 0x10
12064 //==============================================================================
12067 //==============================================================================
12068 // ATCC1PPS Bits
12070 extern __at(0x0E1F) __sfr ATCC1PPS;
12072 typedef union
12074 struct
12076 unsigned ATCC1PPS0 : 1;
12077 unsigned ATCC1PPS1 : 1;
12078 unsigned ATCC1PPS2 : 1;
12079 unsigned ATCC1PPS3 : 1;
12080 unsigned ATCC1PPS4 : 1;
12081 unsigned : 1;
12082 unsigned : 1;
12083 unsigned : 1;
12086 struct
12088 unsigned ATCC1PPS : 5;
12089 unsigned : 3;
12091 } __ATCC1PPSbits_t;
12093 extern __at(0x0E1F) volatile __ATCC1PPSbits_t ATCC1PPSbits;
12095 #define _ATCC1PPS0 0x01
12096 #define _ATCC1PPS1 0x02
12097 #define _ATCC1PPS2 0x04
12098 #define _ATCC1PPS3 0x08
12099 #define _ATCC1PPS4 0x10
12101 //==============================================================================
12104 //==============================================================================
12105 // SSPCLKPPS Bits
12107 extern __at(0x0E20) __sfr SSPCLKPPS;
12109 typedef union
12111 struct
12113 unsigned SSPCLKPPS0 : 1;
12114 unsigned SSPCLKPPS1 : 1;
12115 unsigned SSPCLKPPS2 : 1;
12116 unsigned SSPCLKPPS3 : 1;
12117 unsigned SSPCLKPPS4 : 1;
12118 unsigned : 1;
12119 unsigned : 1;
12120 unsigned : 1;
12123 struct
12125 unsigned SSPCLKPPS : 5;
12126 unsigned : 3;
12128 } __SSPCLKPPSbits_t;
12130 extern __at(0x0E20) volatile __SSPCLKPPSbits_t SSPCLKPPSbits;
12132 #define _SSPCLKPPS0 0x01
12133 #define _SSPCLKPPS1 0x02
12134 #define _SSPCLKPPS2 0x04
12135 #define _SSPCLKPPS3 0x08
12136 #define _SSPCLKPPS4 0x10
12138 //==============================================================================
12141 //==============================================================================
12142 // SSPDATPPS Bits
12144 extern __at(0x0E21) __sfr SSPDATPPS;
12146 typedef union
12148 struct
12150 unsigned SSPDATPPS0 : 1;
12151 unsigned SSPDATPPS1 : 1;
12152 unsigned SSPDATPPS2 : 1;
12153 unsigned SSPDATPPS3 : 1;
12154 unsigned SSPDATPPS4 : 1;
12155 unsigned : 1;
12156 unsigned : 1;
12157 unsigned : 1;
12160 struct
12162 unsigned SSPDATPPS : 5;
12163 unsigned : 3;
12165 } __SSPDATPPSbits_t;
12167 extern __at(0x0E21) volatile __SSPDATPPSbits_t SSPDATPPSbits;
12169 #define _SSPDATPPS0 0x01
12170 #define _SSPDATPPS1 0x02
12171 #define _SSPDATPPS2 0x04
12172 #define _SSPDATPPS3 0x08
12173 #define _SSPDATPPS4 0x10
12175 //==============================================================================
12178 //==============================================================================
12179 // SSPSSPPS Bits
12181 extern __at(0x0E22) __sfr SSPSSPPS;
12183 typedef union
12185 struct
12187 unsigned SSPSSPPS0 : 1;
12188 unsigned SSPSSPPS1 : 1;
12189 unsigned SSPSSPPS2 : 1;
12190 unsigned SSPSSPPS3 : 1;
12191 unsigned SSPSSPPS4 : 1;
12192 unsigned : 1;
12193 unsigned : 1;
12194 unsigned : 1;
12197 struct
12199 unsigned SSPSSPPS : 5;
12200 unsigned : 3;
12202 } __SSPSSPPSbits_t;
12204 extern __at(0x0E22) volatile __SSPSSPPSbits_t SSPSSPPSbits;
12206 #define _SSPSSPPS0 0x01
12207 #define _SSPSSPPS1 0x02
12208 #define _SSPSSPPS2 0x04
12209 #define _SSPSSPPS3 0x08
12210 #define _SSPSSPPS4 0x10
12212 //==============================================================================
12215 //==============================================================================
12216 // ATCC2PPS Bits
12218 extern __at(0x0E23) __sfr ATCC2PPS;
12220 typedef union
12222 struct
12224 unsigned ATCC2PPS0 : 1;
12225 unsigned ATCC2PPS1 : 1;
12226 unsigned ATCC2PPS2 : 1;
12227 unsigned ATCC2PPS3 : 1;
12228 unsigned ATCC2PPS4 : 1;
12229 unsigned : 1;
12230 unsigned : 1;
12231 unsigned : 1;
12234 struct
12236 unsigned ATCC2PPS : 5;
12237 unsigned : 3;
12239 } __ATCC2PPSbits_t;
12241 extern __at(0x0E23) volatile __ATCC2PPSbits_t ATCC2PPSbits;
12243 #define _ATCC2PPS0 0x01
12244 #define _ATCC2PPS1 0x02
12245 #define _ATCC2PPS2 0x04
12246 #define _ATCC2PPS3 0x08
12247 #define _ATCC2PPS4 0x10
12249 //==============================================================================
12252 //==============================================================================
12253 // RXPPS Bits
12255 extern __at(0x0E24) __sfr RXPPS;
12257 typedef union
12259 struct
12261 unsigned RXPPS0 : 1;
12262 unsigned RXPPS1 : 1;
12263 unsigned RXPPS2 : 1;
12264 unsigned RXPPS3 : 1;
12265 unsigned RXPPS4 : 1;
12266 unsigned : 1;
12267 unsigned : 1;
12268 unsigned : 1;
12271 struct
12273 unsigned RXPPS : 5;
12274 unsigned : 3;
12276 } __RXPPSbits_t;
12278 extern __at(0x0E24) volatile __RXPPSbits_t RXPPSbits;
12280 #define _RXPPS0 0x01
12281 #define _RXPPS1 0x02
12282 #define _RXPPS2 0x04
12283 #define _RXPPS3 0x08
12284 #define _RXPPS4 0x10
12286 //==============================================================================
12289 //==============================================================================
12290 // CKPPS Bits
12292 extern __at(0x0E25) __sfr CKPPS;
12294 typedef union
12296 struct
12298 unsigned CKPPS0 : 1;
12299 unsigned CKPPS1 : 1;
12300 unsigned CKPPS2 : 1;
12301 unsigned CKPPS3 : 1;
12302 unsigned CKPPS4 : 1;
12303 unsigned : 1;
12304 unsigned : 1;
12305 unsigned : 1;
12308 struct
12310 unsigned CKPPS : 5;
12311 unsigned : 3;
12313 } __CKPPSbits_t;
12315 extern __at(0x0E25) volatile __CKPPSbits_t CKPPSbits;
12317 #define _CKPPS0 0x01
12318 #define _CKPPS1 0x02
12319 #define _CKPPS2 0x04
12320 #define _CKPPS3 0x08
12321 #define _CKPPS4 0x10
12323 //==============================================================================
12326 //==============================================================================
12327 // SMT1SIGPPS Bits
12329 extern __at(0x0E26) __sfr SMT1SIGPPS;
12331 typedef union
12333 struct
12335 unsigned SMT1SIGPPS0 : 1;
12336 unsigned SMT1SIGPPS1 : 1;
12337 unsigned SMT1SIGPPS2 : 1;
12338 unsigned SMT1SIGPPS3 : 1;
12339 unsigned SMT1SIGPPS4 : 1;
12340 unsigned : 1;
12341 unsigned : 1;
12342 unsigned : 1;
12345 struct
12347 unsigned SMT1SIGPPS : 5;
12348 unsigned : 3;
12350 } __SMT1SIGPPSbits_t;
12352 extern __at(0x0E26) volatile __SMT1SIGPPSbits_t SMT1SIGPPSbits;
12354 #define _SMT1SIGPPS0 0x01
12355 #define _SMT1SIGPPS1 0x02
12356 #define _SMT1SIGPPS2 0x04
12357 #define _SMT1SIGPPS3 0x08
12358 #define _SMT1SIGPPS4 0x10
12360 //==============================================================================
12363 //==============================================================================
12364 // SMT1WINPPS Bits
12366 extern __at(0x0E27) __sfr SMT1WINPPS;
12368 typedef union
12370 struct
12372 unsigned SMTWINPPS0 : 1;
12373 unsigned SMTWINPPS1 : 1;
12374 unsigned SMTWINPPS2 : 1;
12375 unsigned SMTWINPPS3 : 1;
12376 unsigned SMTWINPPS4 : 1;
12377 unsigned : 1;
12378 unsigned : 1;
12379 unsigned : 1;
12382 struct
12384 unsigned SMTWINPPS : 5;
12385 unsigned : 3;
12387 } __SMT1WINPPSbits_t;
12389 extern __at(0x0E27) volatile __SMT1WINPPSbits_t SMT1WINPPSbits;
12391 #define _SMTWINPPS0 0x01
12392 #define _SMTWINPPS1 0x02
12393 #define _SMTWINPPS2 0x04
12394 #define _SMTWINPPS3 0x08
12395 #define _SMTWINPPS4 0x10
12397 //==============================================================================
12400 //==============================================================================
12401 // CLCIN0PPS Bits
12403 extern __at(0x0E28) __sfr CLCIN0PPS;
12405 typedef union
12407 struct
12409 unsigned CLCIN0PPS0 : 1;
12410 unsigned CLCIN0PPS1 : 1;
12411 unsigned CLCIN0PPS2 : 1;
12412 unsigned CLCIN0PPS3 : 1;
12413 unsigned CLCIN0PPS4 : 1;
12414 unsigned : 1;
12415 unsigned : 1;
12416 unsigned : 1;
12419 struct
12421 unsigned CLCIN0PPS : 5;
12422 unsigned : 3;
12424 } __CLCIN0PPSbits_t;
12426 extern __at(0x0E28) volatile __CLCIN0PPSbits_t CLCIN0PPSbits;
12428 #define _CLCIN0PPS0 0x01
12429 #define _CLCIN0PPS1 0x02
12430 #define _CLCIN0PPS2 0x04
12431 #define _CLCIN0PPS3 0x08
12432 #define _CLCIN0PPS4 0x10
12434 //==============================================================================
12437 //==============================================================================
12438 // CLCIN1PPS Bits
12440 extern __at(0x0E29) __sfr CLCIN1PPS;
12442 typedef union
12444 struct
12446 unsigned CLCIN1PPS0 : 1;
12447 unsigned CLCIN1PPS1 : 1;
12448 unsigned CLCIN1PPS2 : 1;
12449 unsigned CLCIN1PPS3 : 1;
12450 unsigned CLCIN1PPS4 : 1;
12451 unsigned : 1;
12452 unsigned : 1;
12453 unsigned : 1;
12456 struct
12458 unsigned CLCIN1PPS : 5;
12459 unsigned : 3;
12461 } __CLCIN1PPSbits_t;
12463 extern __at(0x0E29) volatile __CLCIN1PPSbits_t CLCIN1PPSbits;
12465 #define _CLCIN1PPS0 0x01
12466 #define _CLCIN1PPS1 0x02
12467 #define _CLCIN1PPS2 0x04
12468 #define _CLCIN1PPS3 0x08
12469 #define _CLCIN1PPS4 0x10
12471 //==============================================================================
12474 //==============================================================================
12475 // CLCIN2PPS Bits
12477 extern __at(0x0E2A) __sfr CLCIN2PPS;
12479 typedef union
12481 struct
12483 unsigned CLCIN2PPS0 : 1;
12484 unsigned CLCIN2PPS1 : 1;
12485 unsigned CLCIN2PPS2 : 1;
12486 unsigned CLCIN2PPS3 : 1;
12487 unsigned CLCIN2PPS4 : 1;
12488 unsigned : 1;
12489 unsigned : 1;
12490 unsigned : 1;
12493 struct
12495 unsigned CLCIN2PPS : 5;
12496 unsigned : 3;
12498 } __CLCIN2PPSbits_t;
12500 extern __at(0x0E2A) volatile __CLCIN2PPSbits_t CLCIN2PPSbits;
12502 #define _CLCIN2PPS0 0x01
12503 #define _CLCIN2PPS1 0x02
12504 #define _CLCIN2PPS2 0x04
12505 #define _CLCIN2PPS3 0x08
12506 #define _CLCIN2PPS4 0x10
12508 //==============================================================================
12511 //==============================================================================
12512 // CLCIN3PPS Bits
12514 extern __at(0x0E2B) __sfr CLCIN3PPS;
12516 typedef union
12518 struct
12520 unsigned CLCIN3PPS0 : 1;
12521 unsigned CLCIN3PPS1 : 1;
12522 unsigned CLCIN3PPS2 : 1;
12523 unsigned CLCIN3PPS3 : 1;
12524 unsigned CLCIN3PPS4 : 1;
12525 unsigned : 1;
12526 unsigned : 1;
12527 unsigned : 1;
12530 struct
12532 unsigned CLCIN3PPS : 5;
12533 unsigned : 3;
12535 } __CLCIN3PPSbits_t;
12537 extern __at(0x0E2B) volatile __CLCIN3PPSbits_t CLCIN3PPSbits;
12539 #define _CLCIN3PPS0 0x01
12540 #define _CLCIN3PPS1 0x02
12541 #define _CLCIN3PPS2 0x04
12542 #define _CLCIN3PPS3 0x08
12543 #define _CLCIN3PPS4 0x10
12545 //==============================================================================
12548 //==============================================================================
12549 // SMT2SIGPPS Bits
12551 extern __at(0x0E2C) __sfr SMT2SIGPPS;
12553 typedef union
12555 struct
12557 unsigned SMT2SIGPPS0 : 1;
12558 unsigned SMT2SIGPPS1 : 1;
12559 unsigned SMT2SIGPPS2 : 1;
12560 unsigned SMT2SIGPPS3 : 1;
12561 unsigned SMT2SIGPPS4 : 1;
12562 unsigned : 1;
12563 unsigned : 1;
12564 unsigned : 1;
12567 struct
12569 unsigned SMT2SIGPPS : 5;
12570 unsigned : 3;
12572 } __SMT2SIGPPSbits_t;
12574 extern __at(0x0E2C) volatile __SMT2SIGPPSbits_t SMT2SIGPPSbits;
12576 #define _SMT2SIGPPS0 0x01
12577 #define _SMT2SIGPPS1 0x02
12578 #define _SMT2SIGPPS2 0x04
12579 #define _SMT2SIGPPS3 0x08
12580 #define _SMT2SIGPPS4 0x10
12582 //==============================================================================
12585 //==============================================================================
12586 // SMT2WINPPS Bits
12588 extern __at(0x0E2D) __sfr SMT2WINPPS;
12590 typedef union
12592 struct
12594 unsigned SMT2WINPPS0 : 1;
12595 unsigned SMT2WINPPS1 : 1;
12596 unsigned SMT2WINPPS2 : 1;
12597 unsigned SMT2WINPPS3 : 1;
12598 unsigned SMT2WINPPS4 : 1;
12599 unsigned : 1;
12600 unsigned : 1;
12601 unsigned : 1;
12604 struct
12606 unsigned SMT2WINPPS : 5;
12607 unsigned : 3;
12609 } __SMT2WINPPSbits_t;
12611 extern __at(0x0E2D) volatile __SMT2WINPPSbits_t SMT2WINPPSbits;
12613 #define _SMT2WINPPS0 0x01
12614 #define _SMT2WINPPS1 0x02
12615 #define _SMT2WINPPS2 0x04
12616 #define _SMT2WINPPS3 0x08
12617 #define _SMT2WINPPS4 0x10
12619 //==============================================================================
12622 //==============================================================================
12623 // ATCC3PPS Bits
12625 extern __at(0x0E2E) __sfr ATCC3PPS;
12627 typedef union
12629 struct
12631 unsigned ATCC3PPS0 : 1;
12632 unsigned ATCC3PPS1 : 1;
12633 unsigned ATCC3PPS2 : 1;
12634 unsigned ATCC3PPS3 : 1;
12635 unsigned ATCC3PPS4 : 1;
12636 unsigned : 1;
12637 unsigned : 1;
12638 unsigned : 1;
12641 struct
12643 unsigned ATCC3PPS : 5;
12644 unsigned : 3;
12646 } __ATCC3PPSbits_t;
12648 extern __at(0x0E2E) volatile __ATCC3PPSbits_t ATCC3PPSbits;
12650 #define _ATCC3PPS0 0x01
12651 #define _ATCC3PPS1 0x02
12652 #define _ATCC3PPS2 0x04
12653 #define _ATCC3PPS3 0x08
12654 #define _ATCC3PPS4 0x10
12656 //==============================================================================
12659 //==============================================================================
12660 // RA0PPS Bits
12662 extern __at(0x0E90) __sfr RA0PPS;
12664 typedef union
12666 struct
12668 unsigned RA0PPS0 : 1;
12669 unsigned RA0PPS1 : 1;
12670 unsigned RA0PPS2 : 1;
12671 unsigned RA0PPS3 : 1;
12672 unsigned RA0PPS4 : 1;
12673 unsigned : 1;
12674 unsigned : 1;
12675 unsigned : 1;
12678 struct
12680 unsigned RA0PPS : 5;
12681 unsigned : 3;
12683 } __RA0PPSbits_t;
12685 extern __at(0x0E90) volatile __RA0PPSbits_t RA0PPSbits;
12687 #define _RA0PPS0 0x01
12688 #define _RA0PPS1 0x02
12689 #define _RA0PPS2 0x04
12690 #define _RA0PPS3 0x08
12691 #define _RA0PPS4 0x10
12693 //==============================================================================
12696 //==============================================================================
12697 // RA1PPS Bits
12699 extern __at(0x0E91) __sfr RA1PPS;
12701 typedef union
12703 struct
12705 unsigned RA1PPS0 : 1;
12706 unsigned RA1PPS1 : 1;
12707 unsigned RA1PPS2 : 1;
12708 unsigned RA1PPS3 : 1;
12709 unsigned RA1PPS4 : 1;
12710 unsigned : 1;
12711 unsigned : 1;
12712 unsigned : 1;
12715 struct
12717 unsigned RA1PPS : 5;
12718 unsigned : 3;
12720 } __RA1PPSbits_t;
12722 extern __at(0x0E91) volatile __RA1PPSbits_t RA1PPSbits;
12724 #define _RA1PPS0 0x01
12725 #define _RA1PPS1 0x02
12726 #define _RA1PPS2 0x04
12727 #define _RA1PPS3 0x08
12728 #define _RA1PPS4 0x10
12730 //==============================================================================
12733 //==============================================================================
12734 // RA2PPS Bits
12736 extern __at(0x0E92) __sfr RA2PPS;
12738 typedef union
12740 struct
12742 unsigned RA2PPS0 : 1;
12743 unsigned RA2PPS1 : 1;
12744 unsigned RA2PPS2 : 1;
12745 unsigned RA2PPS3 : 1;
12746 unsigned RA2PPS4 : 1;
12747 unsigned : 1;
12748 unsigned : 1;
12749 unsigned : 1;
12752 struct
12754 unsigned RA2PPS : 5;
12755 unsigned : 3;
12757 } __RA2PPSbits_t;
12759 extern __at(0x0E92) volatile __RA2PPSbits_t RA2PPSbits;
12761 #define _RA2PPS0 0x01
12762 #define _RA2PPS1 0x02
12763 #define _RA2PPS2 0x04
12764 #define _RA2PPS3 0x08
12765 #define _RA2PPS4 0x10
12767 //==============================================================================
12770 //==============================================================================
12771 // RA4PPS Bits
12773 extern __at(0x0E94) __sfr RA4PPS;
12775 typedef union
12777 struct
12779 unsigned RA4PPS0 : 1;
12780 unsigned RA4PPS1 : 1;
12781 unsigned RA4PPS2 : 1;
12782 unsigned RA4PPS3 : 1;
12783 unsigned RA4PPS4 : 1;
12784 unsigned : 1;
12785 unsigned : 1;
12786 unsigned : 1;
12789 struct
12791 unsigned RA4PPS : 5;
12792 unsigned : 3;
12794 } __RA4PPSbits_t;
12796 extern __at(0x0E94) volatile __RA4PPSbits_t RA4PPSbits;
12798 #define _RA4PPS0 0x01
12799 #define _RA4PPS1 0x02
12800 #define _RA4PPS2 0x04
12801 #define _RA4PPS3 0x08
12802 #define _RA4PPS4 0x10
12804 //==============================================================================
12807 //==============================================================================
12808 // RA5PPS Bits
12810 extern __at(0x0E95) __sfr RA5PPS;
12812 typedef union
12814 struct
12816 unsigned RA5PPS0 : 1;
12817 unsigned RA5PPS1 : 1;
12818 unsigned RA5PPS2 : 1;
12819 unsigned RA5PPS3 : 1;
12820 unsigned RA5PPS4 : 1;
12821 unsigned : 1;
12822 unsigned : 1;
12823 unsigned : 1;
12826 struct
12828 unsigned RA5PPS : 5;
12829 unsigned : 3;
12831 } __RA5PPSbits_t;
12833 extern __at(0x0E95) volatile __RA5PPSbits_t RA5PPSbits;
12835 #define _RA5PPS0 0x01
12836 #define _RA5PPS1 0x02
12837 #define _RA5PPS2 0x04
12838 #define _RA5PPS3 0x08
12839 #define _RA5PPS4 0x10
12841 //==============================================================================
12844 //==============================================================================
12845 // RC0PPS Bits
12847 extern __at(0x0EA0) __sfr RC0PPS;
12849 typedef union
12851 struct
12853 unsigned RC0PPS0 : 1;
12854 unsigned RC0PPS1 : 1;
12855 unsigned RC0PPS2 : 1;
12856 unsigned RC0PPS3 : 1;
12857 unsigned RC0PPS4 : 1;
12858 unsigned : 1;
12859 unsigned : 1;
12860 unsigned : 1;
12863 struct
12865 unsigned RC0PPS : 5;
12866 unsigned : 3;
12868 } __RC0PPSbits_t;
12870 extern __at(0x0EA0) volatile __RC0PPSbits_t RC0PPSbits;
12872 #define _RC0PPS0 0x01
12873 #define _RC0PPS1 0x02
12874 #define _RC0PPS2 0x04
12875 #define _RC0PPS3 0x08
12876 #define _RC0PPS4 0x10
12878 //==============================================================================
12881 //==============================================================================
12882 // RC1PPS Bits
12884 extern __at(0x0EA1) __sfr RC1PPS;
12886 typedef union
12888 struct
12890 unsigned RC1PPS0 : 1;
12891 unsigned RC1PPS1 : 1;
12892 unsigned RC1PPS2 : 1;
12893 unsigned RC1PPS3 : 1;
12894 unsigned RC1PPS4 : 1;
12895 unsigned : 1;
12896 unsigned : 1;
12897 unsigned : 1;
12900 struct
12902 unsigned RC1PPS : 5;
12903 unsigned : 3;
12905 } __RC1PPSbits_t;
12907 extern __at(0x0EA1) volatile __RC1PPSbits_t RC1PPSbits;
12909 #define _RC1PPS0 0x01
12910 #define _RC1PPS1 0x02
12911 #define _RC1PPS2 0x04
12912 #define _RC1PPS3 0x08
12913 #define _RC1PPS4 0x10
12915 //==============================================================================
12918 //==============================================================================
12919 // RC2PPS Bits
12921 extern __at(0x0EA2) __sfr RC2PPS;
12923 typedef union
12925 struct
12927 unsigned RC2PPS0 : 1;
12928 unsigned RC2PPS1 : 1;
12929 unsigned RC2PPS2 : 1;
12930 unsigned RC2PPS3 : 1;
12931 unsigned RC2PPS4 : 1;
12932 unsigned : 1;
12933 unsigned : 1;
12934 unsigned : 1;
12937 struct
12939 unsigned RC2PPS : 5;
12940 unsigned : 3;
12942 } __RC2PPSbits_t;
12944 extern __at(0x0EA2) volatile __RC2PPSbits_t RC2PPSbits;
12946 #define _RC2PPS0 0x01
12947 #define _RC2PPS1 0x02
12948 #define _RC2PPS2 0x04
12949 #define _RC2PPS3 0x08
12950 #define _RC2PPS4 0x10
12952 //==============================================================================
12955 //==============================================================================
12956 // RC3PPS Bits
12958 extern __at(0x0EA3) __sfr RC3PPS;
12960 typedef union
12962 struct
12964 unsigned RC3PPS0 : 1;
12965 unsigned RC3PPS1 : 1;
12966 unsigned RC3PPS2 : 1;
12967 unsigned RC3PPS3 : 1;
12968 unsigned RC3PPS4 : 1;
12969 unsigned : 1;
12970 unsigned : 1;
12971 unsigned : 1;
12974 struct
12976 unsigned RC3PPS : 5;
12977 unsigned : 3;
12979 } __RC3PPSbits_t;
12981 extern __at(0x0EA3) volatile __RC3PPSbits_t RC3PPSbits;
12983 #define _RC3PPS0 0x01
12984 #define _RC3PPS1 0x02
12985 #define _RC3PPS2 0x04
12986 #define _RC3PPS3 0x08
12987 #define _RC3PPS4 0x10
12989 //==============================================================================
12992 //==============================================================================
12993 // RC4PPS Bits
12995 extern __at(0x0EA4) __sfr RC4PPS;
12997 typedef union
12999 struct
13001 unsigned RC4PPS0 : 1;
13002 unsigned RC4PPS1 : 1;
13003 unsigned RC4PPS2 : 1;
13004 unsigned RC4PPS3 : 1;
13005 unsigned RC4PPS4 : 1;
13006 unsigned : 1;
13007 unsigned : 1;
13008 unsigned : 1;
13011 struct
13013 unsigned RC4PPS : 5;
13014 unsigned : 3;
13016 } __RC4PPSbits_t;
13018 extern __at(0x0EA4) volatile __RC4PPSbits_t RC4PPSbits;
13020 #define _RC4PPS0 0x01
13021 #define _RC4PPS1 0x02
13022 #define _RC4PPS2 0x04
13023 #define _RC4PPS3 0x08
13024 #define _RC4PPS4 0x10
13026 //==============================================================================
13029 //==============================================================================
13030 // RC5PPS Bits
13032 extern __at(0x0EA5) __sfr RC5PPS;
13034 typedef union
13036 struct
13038 unsigned RC5PPS0 : 1;
13039 unsigned RC5PPS1 : 1;
13040 unsigned RC5PPS2 : 1;
13041 unsigned RC5PPS3 : 1;
13042 unsigned RC5PPS4 : 1;
13043 unsigned : 1;
13044 unsigned : 1;
13045 unsigned : 1;
13048 struct
13050 unsigned RC5PPS : 5;
13051 unsigned : 3;
13053 } __RC5PPSbits_t;
13055 extern __at(0x0EA5) volatile __RC5PPSbits_t RC5PPSbits;
13057 #define _RC5PPS0 0x01
13058 #define _RC5PPS1 0x02
13059 #define _RC5PPS2 0x04
13060 #define _RC5PPS3 0x08
13061 #define _RC5PPS4 0x10
13063 //==============================================================================
13066 //==============================================================================
13067 // CLCDATA Bits
13069 extern __at(0x0F0F) __sfr CLCDATA;
13071 typedef struct
13073 unsigned MLC1OUT : 1;
13074 unsigned MLC2OUT : 1;
13075 unsigned : 1;
13076 unsigned : 1;
13077 unsigned : 1;
13078 unsigned : 1;
13079 unsigned : 1;
13080 unsigned : 1;
13081 } __CLCDATAbits_t;
13083 extern __at(0x0F0F) volatile __CLCDATAbits_t CLCDATAbits;
13085 #define _MLC1OUT 0x01
13086 #define _MLC2OUT 0x02
13088 //==============================================================================
13091 //==============================================================================
13092 // CLC1CON Bits
13094 extern __at(0x0F10) __sfr CLC1CON;
13096 typedef union
13098 struct
13100 unsigned LC1MODE0 : 1;
13101 unsigned LC1MODE1 : 1;
13102 unsigned LC1MODE2 : 1;
13103 unsigned LC1INTN : 1;
13104 unsigned LC1INTP : 1;
13105 unsigned LC1OUT : 1;
13106 unsigned : 1;
13107 unsigned LC1EN : 1;
13110 struct
13112 unsigned MODE0 : 1;
13113 unsigned MODE1 : 1;
13114 unsigned MODE2 : 1;
13115 unsigned INTN : 1;
13116 unsigned INTP : 1;
13117 unsigned OUT : 1;
13118 unsigned : 1;
13119 unsigned EN : 1;
13122 struct
13124 unsigned LC1MODE : 3;
13125 unsigned : 5;
13128 struct
13130 unsigned MODE : 3;
13131 unsigned : 5;
13133 } __CLC1CONbits_t;
13135 extern __at(0x0F10) volatile __CLC1CONbits_t CLC1CONbits;
13137 #define _CLC1CON_LC1MODE0 0x01
13138 #define _CLC1CON_MODE0 0x01
13139 #define _CLC1CON_LC1MODE1 0x02
13140 #define _CLC1CON_MODE1 0x02
13141 #define _CLC1CON_LC1MODE2 0x04
13142 #define _CLC1CON_MODE2 0x04
13143 #define _CLC1CON_LC1INTN 0x08
13144 #define _CLC1CON_INTN 0x08
13145 #define _CLC1CON_LC1INTP 0x10
13146 #define _CLC1CON_INTP 0x10
13147 #define _CLC1CON_LC1OUT 0x20
13148 #define _CLC1CON_OUT 0x20
13149 #define _CLC1CON_LC1EN 0x80
13150 #define _CLC1CON_EN 0x80
13152 //==============================================================================
13155 //==============================================================================
13156 // CLC1POL Bits
13158 extern __at(0x0F11) __sfr CLC1POL;
13160 typedef union
13162 struct
13164 unsigned LC1G1POL : 1;
13165 unsigned LC1G2POL : 1;
13166 unsigned LC1G3POL : 1;
13167 unsigned LC1G4POL : 1;
13168 unsigned : 1;
13169 unsigned : 1;
13170 unsigned : 1;
13171 unsigned LC1POL : 1;
13174 struct
13176 unsigned G1POL : 1;
13177 unsigned G2POL : 1;
13178 unsigned G3POL : 1;
13179 unsigned G4POL : 1;
13180 unsigned : 1;
13181 unsigned : 1;
13182 unsigned : 1;
13183 unsigned POL : 1;
13185 } __CLC1POLbits_t;
13187 extern __at(0x0F11) volatile __CLC1POLbits_t CLC1POLbits;
13189 #define _CLC1POL_LC1G1POL 0x01
13190 #define _CLC1POL_G1POL 0x01
13191 #define _CLC1POL_LC1G2POL 0x02
13192 #define _CLC1POL_G2POL 0x02
13193 #define _CLC1POL_LC1G3POL 0x04
13194 #define _CLC1POL_G3POL 0x04
13195 #define _CLC1POL_LC1G4POL 0x08
13196 #define _CLC1POL_G4POL 0x08
13197 #define _CLC1POL_LC1POL 0x80
13198 #define _CLC1POL_POL 0x80
13200 //==============================================================================
13203 //==============================================================================
13204 // CLC1SEL0 Bits
13206 extern __at(0x0F12) __sfr CLC1SEL0;
13208 typedef union
13210 struct
13212 unsigned LC1D1S0 : 1;
13213 unsigned LC1D1S1 : 1;
13214 unsigned LC1D1S2 : 1;
13215 unsigned LC1D1S3 : 1;
13216 unsigned LC1D1S4 : 1;
13217 unsigned LC1D1S5 : 1;
13218 unsigned : 1;
13219 unsigned : 1;
13222 struct
13224 unsigned D1S0 : 1;
13225 unsigned D1S1 : 1;
13226 unsigned D1S2 : 1;
13227 unsigned D1S3 : 1;
13228 unsigned D1S4 : 1;
13229 unsigned D1S5 : 1;
13230 unsigned : 1;
13231 unsigned : 1;
13234 struct
13236 unsigned LC1D1S : 6;
13237 unsigned : 2;
13240 struct
13242 unsigned D1S : 6;
13243 unsigned : 2;
13245 } __CLC1SEL0bits_t;
13247 extern __at(0x0F12) volatile __CLC1SEL0bits_t CLC1SEL0bits;
13249 #define _LC1D1S0 0x01
13250 #define _D1S0 0x01
13251 #define _LC1D1S1 0x02
13252 #define _D1S1 0x02
13253 #define _LC1D1S2 0x04
13254 #define _D1S2 0x04
13255 #define _LC1D1S3 0x08
13256 #define _D1S3 0x08
13257 #define _LC1D1S4 0x10
13258 #define _D1S4 0x10
13259 #define _LC1D1S5 0x20
13260 #define _D1S5 0x20
13262 //==============================================================================
13265 //==============================================================================
13266 // CLC1SEL1 Bits
13268 extern __at(0x0F13) __sfr CLC1SEL1;
13270 typedef union
13272 struct
13274 unsigned LC1D2S0 : 1;
13275 unsigned LC1D2S1 : 1;
13276 unsigned LC1D2S2 : 1;
13277 unsigned LC1D2S3 : 1;
13278 unsigned LC1D2S4 : 1;
13279 unsigned LC1D2S5 : 1;
13280 unsigned : 1;
13281 unsigned : 1;
13284 struct
13286 unsigned D2S0 : 1;
13287 unsigned D2S1 : 1;
13288 unsigned D2S2 : 1;
13289 unsigned D2S3 : 1;
13290 unsigned D2S4 : 1;
13291 unsigned D2S5 : 1;
13292 unsigned : 1;
13293 unsigned : 1;
13296 struct
13298 unsigned D2S : 6;
13299 unsigned : 2;
13302 struct
13304 unsigned LC1D2S : 6;
13305 unsigned : 2;
13307 } __CLC1SEL1bits_t;
13309 extern __at(0x0F13) volatile __CLC1SEL1bits_t CLC1SEL1bits;
13311 #define _LC1D2S0 0x01
13312 #define _D2S0 0x01
13313 #define _LC1D2S1 0x02
13314 #define _D2S1 0x02
13315 #define _LC1D2S2 0x04
13316 #define _D2S2 0x04
13317 #define _LC1D2S3 0x08
13318 #define _D2S3 0x08
13319 #define _LC1D2S4 0x10
13320 #define _D2S4 0x10
13321 #define _LC1D2S5 0x20
13322 #define _D2S5 0x20
13324 //==============================================================================
13327 //==============================================================================
13328 // CLC1SEL2 Bits
13330 extern __at(0x0F14) __sfr CLC1SEL2;
13332 typedef union
13334 struct
13336 unsigned LC1D3S0 : 1;
13337 unsigned LC1D3S1 : 1;
13338 unsigned LC1D3S2 : 1;
13339 unsigned LC1D3S3 : 1;
13340 unsigned LC1D3S4 : 1;
13341 unsigned LC1D3S5 : 1;
13342 unsigned : 1;
13343 unsigned : 1;
13346 struct
13348 unsigned D3S0 : 1;
13349 unsigned D3S1 : 1;
13350 unsigned D3S2 : 1;
13351 unsigned D3S3 : 1;
13352 unsigned D3S4 : 1;
13353 unsigned D3S5 : 1;
13354 unsigned : 1;
13355 unsigned : 1;
13358 struct
13360 unsigned D3S : 6;
13361 unsigned : 2;
13364 struct
13366 unsigned LC1D3S : 6;
13367 unsigned : 2;
13369 } __CLC1SEL2bits_t;
13371 extern __at(0x0F14) volatile __CLC1SEL2bits_t CLC1SEL2bits;
13373 #define _LC1D3S0 0x01
13374 #define _D3S0 0x01
13375 #define _LC1D3S1 0x02
13376 #define _D3S1 0x02
13377 #define _LC1D3S2 0x04
13378 #define _D3S2 0x04
13379 #define _LC1D3S3 0x08
13380 #define _D3S3 0x08
13381 #define _LC1D3S4 0x10
13382 #define _D3S4 0x10
13383 #define _LC1D3S5 0x20
13384 #define _D3S5 0x20
13386 //==============================================================================
13389 //==============================================================================
13390 // CLC1SEL3 Bits
13392 extern __at(0x0F15) __sfr CLC1SEL3;
13394 typedef union
13396 struct
13398 unsigned LC1D4S0 : 1;
13399 unsigned LC1D4S1 : 1;
13400 unsigned LC1D4S2 : 1;
13401 unsigned LC1D4S3 : 1;
13402 unsigned LC1D4S4 : 1;
13403 unsigned LC1D4S5 : 1;
13404 unsigned : 1;
13405 unsigned : 1;
13408 struct
13410 unsigned D4S0 : 1;
13411 unsigned D4S1 : 1;
13412 unsigned D4S2 : 1;
13413 unsigned D4S3 : 1;
13414 unsigned D4S4 : 1;
13415 unsigned D4S5 : 1;
13416 unsigned : 1;
13417 unsigned : 1;
13420 struct
13422 unsigned LC1D4S : 6;
13423 unsigned : 2;
13426 struct
13428 unsigned D4S : 6;
13429 unsigned : 2;
13431 } __CLC1SEL3bits_t;
13433 extern __at(0x0F15) volatile __CLC1SEL3bits_t CLC1SEL3bits;
13435 #define _LC1D4S0 0x01
13436 #define _D4S0 0x01
13437 #define _LC1D4S1 0x02
13438 #define _D4S1 0x02
13439 #define _LC1D4S2 0x04
13440 #define _D4S2 0x04
13441 #define _LC1D4S3 0x08
13442 #define _D4S3 0x08
13443 #define _LC1D4S4 0x10
13444 #define _D4S4 0x10
13445 #define _LC1D4S5 0x20
13446 #define _D4S5 0x20
13448 //==============================================================================
13451 //==============================================================================
13452 // CLC1GLS0 Bits
13454 extern __at(0x0F16) __sfr CLC1GLS0;
13456 typedef union
13458 struct
13460 unsigned LC1G1D1N : 1;
13461 unsigned LC1G1D1T : 1;
13462 unsigned LC1G1D2N : 1;
13463 unsigned LC1G1D2T : 1;
13464 unsigned LC1G1D3N : 1;
13465 unsigned LC1G1D3T : 1;
13466 unsigned LC1G1D4N : 1;
13467 unsigned LC1G1D4T : 1;
13470 struct
13472 unsigned D1N : 1;
13473 unsigned D1T : 1;
13474 unsigned D2N : 1;
13475 unsigned D2T : 1;
13476 unsigned D3N : 1;
13477 unsigned D3T : 1;
13478 unsigned D4N : 1;
13479 unsigned D4T : 1;
13481 } __CLC1GLS0bits_t;
13483 extern __at(0x0F16) volatile __CLC1GLS0bits_t CLC1GLS0bits;
13485 #define _LC1G1D1N 0x01
13486 #define _D1N 0x01
13487 #define _LC1G1D1T 0x02
13488 #define _D1T 0x02
13489 #define _LC1G1D2N 0x04
13490 #define _D2N 0x04
13491 #define _LC1G1D2T 0x08
13492 #define _D2T 0x08
13493 #define _LC1G1D3N 0x10
13494 #define _D3N 0x10
13495 #define _LC1G1D3T 0x20
13496 #define _D3T 0x20
13497 #define _LC1G1D4N 0x40
13498 #define _D4N 0x40
13499 #define _LC1G1D4T 0x80
13500 #define _D4T 0x80
13502 //==============================================================================
13505 //==============================================================================
13506 // CLC1GLS1 Bits
13508 extern __at(0x0F17) __sfr CLC1GLS1;
13510 typedef union
13512 struct
13514 unsigned LC1G2D1N : 1;
13515 unsigned LC1G2D1T : 1;
13516 unsigned LC1G2D2N : 1;
13517 unsigned LC1G2D2T : 1;
13518 unsigned LC1G2D3N : 1;
13519 unsigned LC1G2D3T : 1;
13520 unsigned LC1G2D4N : 1;
13521 unsigned LC1G2D4T : 1;
13524 struct
13526 unsigned D1N : 1;
13527 unsigned D1T : 1;
13528 unsigned D2N : 1;
13529 unsigned D2T : 1;
13530 unsigned D3N : 1;
13531 unsigned D3T : 1;
13532 unsigned D4N : 1;
13533 unsigned D4T : 1;
13535 } __CLC1GLS1bits_t;
13537 extern __at(0x0F17) volatile __CLC1GLS1bits_t CLC1GLS1bits;
13539 #define _CLC1GLS1_LC1G2D1N 0x01
13540 #define _CLC1GLS1_D1N 0x01
13541 #define _CLC1GLS1_LC1G2D1T 0x02
13542 #define _CLC1GLS1_D1T 0x02
13543 #define _CLC1GLS1_LC1G2D2N 0x04
13544 #define _CLC1GLS1_D2N 0x04
13545 #define _CLC1GLS1_LC1G2D2T 0x08
13546 #define _CLC1GLS1_D2T 0x08
13547 #define _CLC1GLS1_LC1G2D3N 0x10
13548 #define _CLC1GLS1_D3N 0x10
13549 #define _CLC1GLS1_LC1G2D3T 0x20
13550 #define _CLC1GLS1_D3T 0x20
13551 #define _CLC1GLS1_LC1G2D4N 0x40
13552 #define _CLC1GLS1_D4N 0x40
13553 #define _CLC1GLS1_LC1G2D4T 0x80
13554 #define _CLC1GLS1_D4T 0x80
13556 //==============================================================================
13559 //==============================================================================
13560 // CLC1GLS2 Bits
13562 extern __at(0x0F18) __sfr CLC1GLS2;
13564 typedef union
13566 struct
13568 unsigned LC1G3D1N : 1;
13569 unsigned LC1G3D1T : 1;
13570 unsigned LC1G3D2N : 1;
13571 unsigned LC1G3D2T : 1;
13572 unsigned LC1G3D3N : 1;
13573 unsigned LC1G3D3T : 1;
13574 unsigned LC1G3D4N : 1;
13575 unsigned LC1G3D4T : 1;
13578 struct
13580 unsigned D1N : 1;
13581 unsigned D1T : 1;
13582 unsigned D2N : 1;
13583 unsigned D2T : 1;
13584 unsigned D3N : 1;
13585 unsigned D3T : 1;
13586 unsigned D4N : 1;
13587 unsigned D4T : 1;
13589 } __CLC1GLS2bits_t;
13591 extern __at(0x0F18) volatile __CLC1GLS2bits_t CLC1GLS2bits;
13593 #define _CLC1GLS2_LC1G3D1N 0x01
13594 #define _CLC1GLS2_D1N 0x01
13595 #define _CLC1GLS2_LC1G3D1T 0x02
13596 #define _CLC1GLS2_D1T 0x02
13597 #define _CLC1GLS2_LC1G3D2N 0x04
13598 #define _CLC1GLS2_D2N 0x04
13599 #define _CLC1GLS2_LC1G3D2T 0x08
13600 #define _CLC1GLS2_D2T 0x08
13601 #define _CLC1GLS2_LC1G3D3N 0x10
13602 #define _CLC1GLS2_D3N 0x10
13603 #define _CLC1GLS2_LC1G3D3T 0x20
13604 #define _CLC1GLS2_D3T 0x20
13605 #define _CLC1GLS2_LC1G3D4N 0x40
13606 #define _CLC1GLS2_D4N 0x40
13607 #define _CLC1GLS2_LC1G3D4T 0x80
13608 #define _CLC1GLS2_D4T 0x80
13610 //==============================================================================
13613 //==============================================================================
13614 // CLC1GLS3 Bits
13616 extern __at(0x0F19) __sfr CLC1GLS3;
13618 typedef union
13620 struct
13622 unsigned LC1G4D1N : 1;
13623 unsigned LC1G4D1T : 1;
13624 unsigned LC1G4D2N : 1;
13625 unsigned LC1G4D2T : 1;
13626 unsigned LC1G4D3N : 1;
13627 unsigned LC1G4D3T : 1;
13628 unsigned LC1G4D4N : 1;
13629 unsigned LC1G4D4T : 1;
13632 struct
13634 unsigned G4D1N : 1;
13635 unsigned G4D1T : 1;
13636 unsigned G4D2N : 1;
13637 unsigned G4D2T : 1;
13638 unsigned G4D3N : 1;
13639 unsigned G4D3T : 1;
13640 unsigned G4D4N : 1;
13641 unsigned G4D4T : 1;
13643 } __CLC1GLS3bits_t;
13645 extern __at(0x0F19) volatile __CLC1GLS3bits_t CLC1GLS3bits;
13647 #define _LC1G4D1N 0x01
13648 #define _G4D1N 0x01
13649 #define _LC1G4D1T 0x02
13650 #define _G4D1T 0x02
13651 #define _LC1G4D2N 0x04
13652 #define _G4D2N 0x04
13653 #define _LC1G4D2T 0x08
13654 #define _G4D2T 0x08
13655 #define _LC1G4D3N 0x10
13656 #define _G4D3N 0x10
13657 #define _LC1G4D3T 0x20
13658 #define _G4D3T 0x20
13659 #define _LC1G4D4N 0x40
13660 #define _G4D4N 0x40
13661 #define _LC1G4D4T 0x80
13662 #define _G4D4T 0x80
13664 //==============================================================================
13667 //==============================================================================
13668 // CLC2CON Bits
13670 extern __at(0x0F1A) __sfr CLC2CON;
13672 typedef union
13674 struct
13676 unsigned LC2MODE0 : 1;
13677 unsigned LC2MODE1 : 1;
13678 unsigned LC2MODE2 : 1;
13679 unsigned LC2INTN : 1;
13680 unsigned LC2INTP : 1;
13681 unsigned LC2OUT : 1;
13682 unsigned : 1;
13683 unsigned LC2EN : 1;
13686 struct
13688 unsigned MODE0 : 1;
13689 unsigned MODE1 : 1;
13690 unsigned MODE2 : 1;
13691 unsigned INTN : 1;
13692 unsigned INTP : 1;
13693 unsigned OUT : 1;
13694 unsigned : 1;
13695 unsigned EN : 1;
13698 struct
13700 unsigned MODE : 3;
13701 unsigned : 5;
13704 struct
13706 unsigned LC2MODE : 3;
13707 unsigned : 5;
13709 } __CLC2CONbits_t;
13711 extern __at(0x0F1A) volatile __CLC2CONbits_t CLC2CONbits;
13713 #define _CLC2CON_LC2MODE0 0x01
13714 #define _CLC2CON_MODE0 0x01
13715 #define _CLC2CON_LC2MODE1 0x02
13716 #define _CLC2CON_MODE1 0x02
13717 #define _CLC2CON_LC2MODE2 0x04
13718 #define _CLC2CON_MODE2 0x04
13719 #define _CLC2CON_LC2INTN 0x08
13720 #define _CLC2CON_INTN 0x08
13721 #define _CLC2CON_LC2INTP 0x10
13722 #define _CLC2CON_INTP 0x10
13723 #define _CLC2CON_LC2OUT 0x20
13724 #define _CLC2CON_OUT 0x20
13725 #define _CLC2CON_LC2EN 0x80
13726 #define _CLC2CON_EN 0x80
13728 //==============================================================================
13731 //==============================================================================
13732 // CLC2POL Bits
13734 extern __at(0x0F1B) __sfr CLC2POL;
13736 typedef union
13738 struct
13740 unsigned LC2G1POL : 1;
13741 unsigned LC2G2POL : 1;
13742 unsigned LC2G3POL : 1;
13743 unsigned LC2G4POL : 1;
13744 unsigned : 1;
13745 unsigned : 1;
13746 unsigned : 1;
13747 unsigned LC2POL : 1;
13750 struct
13752 unsigned G1POL : 1;
13753 unsigned G2POL : 1;
13754 unsigned G3POL : 1;
13755 unsigned G4POL : 1;
13756 unsigned : 1;
13757 unsigned : 1;
13758 unsigned : 1;
13759 unsigned POL : 1;
13761 } __CLC2POLbits_t;
13763 extern __at(0x0F1B) volatile __CLC2POLbits_t CLC2POLbits;
13765 #define _CLC2POL_LC2G1POL 0x01
13766 #define _CLC2POL_G1POL 0x01
13767 #define _CLC2POL_LC2G2POL 0x02
13768 #define _CLC2POL_G2POL 0x02
13769 #define _CLC2POL_LC2G3POL 0x04
13770 #define _CLC2POL_G3POL 0x04
13771 #define _CLC2POL_LC2G4POL 0x08
13772 #define _CLC2POL_G4POL 0x08
13773 #define _CLC2POL_LC2POL 0x80
13774 #define _CLC2POL_POL 0x80
13776 //==============================================================================
13779 //==============================================================================
13780 // CLC2SEL0 Bits
13782 extern __at(0x0F1C) __sfr CLC2SEL0;
13784 typedef union
13786 struct
13788 unsigned LC2D1S0 : 1;
13789 unsigned LC2D1S1 : 1;
13790 unsigned LC2D1S2 : 1;
13791 unsigned LC2D1S3 : 1;
13792 unsigned LC2D1S4 : 1;
13793 unsigned LC2D1S5 : 1;
13794 unsigned : 1;
13795 unsigned : 1;
13798 struct
13800 unsigned D1S0 : 1;
13801 unsigned D1S1 : 1;
13802 unsigned D1S2 : 1;
13803 unsigned D1S3 : 1;
13804 unsigned D1S4 : 1;
13805 unsigned D1S5 : 1;
13806 unsigned : 1;
13807 unsigned : 1;
13810 struct
13812 unsigned LC2D1S : 6;
13813 unsigned : 2;
13816 struct
13818 unsigned D1S : 6;
13819 unsigned : 2;
13821 } __CLC2SEL0bits_t;
13823 extern __at(0x0F1C) volatile __CLC2SEL0bits_t CLC2SEL0bits;
13825 #define _CLC2SEL0_LC2D1S0 0x01
13826 #define _CLC2SEL0_D1S0 0x01
13827 #define _CLC2SEL0_LC2D1S1 0x02
13828 #define _CLC2SEL0_D1S1 0x02
13829 #define _CLC2SEL0_LC2D1S2 0x04
13830 #define _CLC2SEL0_D1S2 0x04
13831 #define _CLC2SEL0_LC2D1S3 0x08
13832 #define _CLC2SEL0_D1S3 0x08
13833 #define _CLC2SEL0_LC2D1S4 0x10
13834 #define _CLC2SEL0_D1S4 0x10
13835 #define _CLC2SEL0_LC2D1S5 0x20
13836 #define _CLC2SEL0_D1S5 0x20
13838 //==============================================================================
13841 //==============================================================================
13842 // CLC2SEL1 Bits
13844 extern __at(0x0F1D) __sfr CLC2SEL1;
13846 typedef union
13848 struct
13850 unsigned LC2D2S0 : 1;
13851 unsigned LC2D2S1 : 1;
13852 unsigned LC2D2S2 : 1;
13853 unsigned LC2D2S3 : 1;
13854 unsigned LC2D2S4 : 1;
13855 unsigned LC2D2S5 : 1;
13856 unsigned : 1;
13857 unsigned : 1;
13860 struct
13862 unsigned D2S0 : 1;
13863 unsigned D2S1 : 1;
13864 unsigned D2S2 : 1;
13865 unsigned D2S3 : 1;
13866 unsigned D2S4 : 1;
13867 unsigned D2S5 : 1;
13868 unsigned : 1;
13869 unsigned : 1;
13872 struct
13874 unsigned D2S : 6;
13875 unsigned : 2;
13878 struct
13880 unsigned LC2D2S : 6;
13881 unsigned : 2;
13883 } __CLC2SEL1bits_t;
13885 extern __at(0x0F1D) volatile __CLC2SEL1bits_t CLC2SEL1bits;
13887 #define _CLC2SEL1_LC2D2S0 0x01
13888 #define _CLC2SEL1_D2S0 0x01
13889 #define _CLC2SEL1_LC2D2S1 0x02
13890 #define _CLC2SEL1_D2S1 0x02
13891 #define _CLC2SEL1_LC2D2S2 0x04
13892 #define _CLC2SEL1_D2S2 0x04
13893 #define _CLC2SEL1_LC2D2S3 0x08
13894 #define _CLC2SEL1_D2S3 0x08
13895 #define _CLC2SEL1_LC2D2S4 0x10
13896 #define _CLC2SEL1_D2S4 0x10
13897 #define _CLC2SEL1_LC2D2S5 0x20
13898 #define _CLC2SEL1_D2S5 0x20
13900 //==============================================================================
13903 //==============================================================================
13904 // CLC2SEL2 Bits
13906 extern __at(0x0F1E) __sfr CLC2SEL2;
13908 typedef union
13910 struct
13912 unsigned LC2D3S0 : 1;
13913 unsigned LC2D3S1 : 1;
13914 unsigned LC2D3S2 : 1;
13915 unsigned LC2D3S3 : 1;
13916 unsigned LC2D3S4 : 1;
13917 unsigned LC2D3S5 : 1;
13918 unsigned : 1;
13919 unsigned : 1;
13922 struct
13924 unsigned D3S0 : 1;
13925 unsigned D3S1 : 1;
13926 unsigned D3S2 : 1;
13927 unsigned D3S3 : 1;
13928 unsigned D3S4 : 1;
13929 unsigned D3S5 : 1;
13930 unsigned : 1;
13931 unsigned : 1;
13934 struct
13936 unsigned D3S : 6;
13937 unsigned : 2;
13940 struct
13942 unsigned LC2D3S : 6;
13943 unsigned : 2;
13945 } __CLC2SEL2bits_t;
13947 extern __at(0x0F1E) volatile __CLC2SEL2bits_t CLC2SEL2bits;
13949 #define _CLC2SEL2_LC2D3S0 0x01
13950 #define _CLC2SEL2_D3S0 0x01
13951 #define _CLC2SEL2_LC2D3S1 0x02
13952 #define _CLC2SEL2_D3S1 0x02
13953 #define _CLC2SEL2_LC2D3S2 0x04
13954 #define _CLC2SEL2_D3S2 0x04
13955 #define _CLC2SEL2_LC2D3S3 0x08
13956 #define _CLC2SEL2_D3S3 0x08
13957 #define _CLC2SEL2_LC2D3S4 0x10
13958 #define _CLC2SEL2_D3S4 0x10
13959 #define _CLC2SEL2_LC2D3S5 0x20
13960 #define _CLC2SEL2_D3S5 0x20
13962 //==============================================================================
13965 //==============================================================================
13966 // CLC2SEL3 Bits
13968 extern __at(0x0F1F) __sfr CLC2SEL3;
13970 typedef union
13972 struct
13974 unsigned LC2D4S0 : 1;
13975 unsigned LC2D4S1 : 1;
13976 unsigned LC2D4S2 : 1;
13977 unsigned LC2D4S3 : 1;
13978 unsigned LC2D4S4 : 1;
13979 unsigned LC2D4S5 : 1;
13980 unsigned : 1;
13981 unsigned : 1;
13984 struct
13986 unsigned D4S0 : 1;
13987 unsigned D4S1 : 1;
13988 unsigned D4S2 : 1;
13989 unsigned D4S3 : 1;
13990 unsigned D4S4 : 1;
13991 unsigned D4S5 : 1;
13992 unsigned : 1;
13993 unsigned : 1;
13996 struct
13998 unsigned LC2D4S : 6;
13999 unsigned : 2;
14002 struct
14004 unsigned D4S : 6;
14005 unsigned : 2;
14007 } __CLC2SEL3bits_t;
14009 extern __at(0x0F1F) volatile __CLC2SEL3bits_t CLC2SEL3bits;
14011 #define _CLC2SEL3_LC2D4S0 0x01
14012 #define _CLC2SEL3_D4S0 0x01
14013 #define _CLC2SEL3_LC2D4S1 0x02
14014 #define _CLC2SEL3_D4S1 0x02
14015 #define _CLC2SEL3_LC2D4S2 0x04
14016 #define _CLC2SEL3_D4S2 0x04
14017 #define _CLC2SEL3_LC2D4S3 0x08
14018 #define _CLC2SEL3_D4S3 0x08
14019 #define _CLC2SEL3_LC2D4S4 0x10
14020 #define _CLC2SEL3_D4S4 0x10
14021 #define _CLC2SEL3_LC2D4S5 0x20
14022 #define _CLC2SEL3_D4S5 0x20
14024 //==============================================================================
14027 //==============================================================================
14028 // CLC2GLS0 Bits
14030 extern __at(0x0F20) __sfr CLC2GLS0;
14032 typedef union
14034 struct
14036 unsigned LC2G1D1N : 1;
14037 unsigned LC2G1D1T : 1;
14038 unsigned LC2G1D2N : 1;
14039 unsigned LC2G1D2T : 1;
14040 unsigned LC2G1D3N : 1;
14041 unsigned LC2G1D3T : 1;
14042 unsigned LC2G1D4N : 1;
14043 unsigned LC2G1D4T : 1;
14046 struct
14048 unsigned D1N : 1;
14049 unsigned D1T : 1;
14050 unsigned D2N : 1;
14051 unsigned D2T : 1;
14052 unsigned D3N : 1;
14053 unsigned D3T : 1;
14054 unsigned D4N : 1;
14055 unsigned D4T : 1;
14057 } __CLC2GLS0bits_t;
14059 extern __at(0x0F20) volatile __CLC2GLS0bits_t CLC2GLS0bits;
14061 #define _CLC2GLS0_LC2G1D1N 0x01
14062 #define _CLC2GLS0_D1N 0x01
14063 #define _CLC2GLS0_LC2G1D1T 0x02
14064 #define _CLC2GLS0_D1T 0x02
14065 #define _CLC2GLS0_LC2G1D2N 0x04
14066 #define _CLC2GLS0_D2N 0x04
14067 #define _CLC2GLS0_LC2G1D2T 0x08
14068 #define _CLC2GLS0_D2T 0x08
14069 #define _CLC2GLS0_LC2G1D3N 0x10
14070 #define _CLC2GLS0_D3N 0x10
14071 #define _CLC2GLS0_LC2G1D3T 0x20
14072 #define _CLC2GLS0_D3T 0x20
14073 #define _CLC2GLS0_LC2G1D4N 0x40
14074 #define _CLC2GLS0_D4N 0x40
14075 #define _CLC2GLS0_LC2G1D4T 0x80
14076 #define _CLC2GLS0_D4T 0x80
14078 //==============================================================================
14081 //==============================================================================
14082 // CLC2GLS1 Bits
14084 extern __at(0x0F21) __sfr CLC2GLS1;
14086 typedef union
14088 struct
14090 unsigned LC2G2D1N : 1;
14091 unsigned LC2G2D1T : 1;
14092 unsigned LC2G2D2N : 1;
14093 unsigned LC2G2D2T : 1;
14094 unsigned LC2G2D3N : 1;
14095 unsigned LC2G2D3T : 1;
14096 unsigned LC2G2D4N : 1;
14097 unsigned LC2G2D4T : 1;
14100 struct
14102 unsigned D1N : 1;
14103 unsigned D1T : 1;
14104 unsigned D2N : 1;
14105 unsigned D2T : 1;
14106 unsigned D3N : 1;
14107 unsigned D3T : 1;
14108 unsigned D4N : 1;
14109 unsigned D4T : 1;
14111 } __CLC2GLS1bits_t;
14113 extern __at(0x0F21) volatile __CLC2GLS1bits_t CLC2GLS1bits;
14115 #define _CLC2GLS1_LC2G2D1N 0x01
14116 #define _CLC2GLS1_D1N 0x01
14117 #define _CLC2GLS1_LC2G2D1T 0x02
14118 #define _CLC2GLS1_D1T 0x02
14119 #define _CLC2GLS1_LC2G2D2N 0x04
14120 #define _CLC2GLS1_D2N 0x04
14121 #define _CLC2GLS1_LC2G2D2T 0x08
14122 #define _CLC2GLS1_D2T 0x08
14123 #define _CLC2GLS1_LC2G2D3N 0x10
14124 #define _CLC2GLS1_D3N 0x10
14125 #define _CLC2GLS1_LC2G2D3T 0x20
14126 #define _CLC2GLS1_D3T 0x20
14127 #define _CLC2GLS1_LC2G2D4N 0x40
14128 #define _CLC2GLS1_D4N 0x40
14129 #define _CLC2GLS1_LC2G2D4T 0x80
14130 #define _CLC2GLS1_D4T 0x80
14132 //==============================================================================
14135 //==============================================================================
14136 // CLC2GLS2 Bits
14138 extern __at(0x0F22) __sfr CLC2GLS2;
14140 typedef union
14142 struct
14144 unsigned LC2G3D1N : 1;
14145 unsigned LC2G3D1T : 1;
14146 unsigned LC2G3D2N : 1;
14147 unsigned LC2G3D2T : 1;
14148 unsigned LC2G3D3N : 1;
14149 unsigned LC2G3D3T : 1;
14150 unsigned LC2G3D4N : 1;
14151 unsigned LC2G3D4T : 1;
14154 struct
14156 unsigned D1N : 1;
14157 unsigned D1T : 1;
14158 unsigned D2N : 1;
14159 unsigned D2T : 1;
14160 unsigned D3N : 1;
14161 unsigned D3T : 1;
14162 unsigned D4N : 1;
14163 unsigned D4T : 1;
14165 } __CLC2GLS2bits_t;
14167 extern __at(0x0F22) volatile __CLC2GLS2bits_t CLC2GLS2bits;
14169 #define _CLC2GLS2_LC2G3D1N 0x01
14170 #define _CLC2GLS2_D1N 0x01
14171 #define _CLC2GLS2_LC2G3D1T 0x02
14172 #define _CLC2GLS2_D1T 0x02
14173 #define _CLC2GLS2_LC2G3D2N 0x04
14174 #define _CLC2GLS2_D2N 0x04
14175 #define _CLC2GLS2_LC2G3D2T 0x08
14176 #define _CLC2GLS2_D2T 0x08
14177 #define _CLC2GLS2_LC2G3D3N 0x10
14178 #define _CLC2GLS2_D3N 0x10
14179 #define _CLC2GLS2_LC2G3D3T 0x20
14180 #define _CLC2GLS2_D3T 0x20
14181 #define _CLC2GLS2_LC2G3D4N 0x40
14182 #define _CLC2GLS2_D4N 0x40
14183 #define _CLC2GLS2_LC2G3D4T 0x80
14184 #define _CLC2GLS2_D4T 0x80
14186 //==============================================================================
14189 //==============================================================================
14190 // CLC2GLS3 Bits
14192 extern __at(0x0F23) __sfr CLC2GLS3;
14194 typedef union
14196 struct
14198 unsigned LC2G4D1N : 1;
14199 unsigned LC2G4D1T : 1;
14200 unsigned LC2G4D2N : 1;
14201 unsigned LC2G4D2T : 1;
14202 unsigned LC2G4D3N : 1;
14203 unsigned LC2G4D3T : 1;
14204 unsigned LC2G4D4N : 1;
14205 unsigned LC2G4D4T : 1;
14208 struct
14210 unsigned G4D1N : 1;
14211 unsigned G4D1T : 1;
14212 unsigned G4D2N : 1;
14213 unsigned G4D2T : 1;
14214 unsigned G4D3N : 1;
14215 unsigned G4D3T : 1;
14216 unsigned G4D4N : 1;
14217 unsigned G4D4T : 1;
14219 } __CLC2GLS3bits_t;
14221 extern __at(0x0F23) volatile __CLC2GLS3bits_t CLC2GLS3bits;
14223 #define _CLC2GLS3_LC2G4D1N 0x01
14224 #define _CLC2GLS3_G4D1N 0x01
14225 #define _CLC2GLS3_LC2G4D1T 0x02
14226 #define _CLC2GLS3_G4D1T 0x02
14227 #define _CLC2GLS3_LC2G4D2N 0x04
14228 #define _CLC2GLS3_G4D2N 0x04
14229 #define _CLC2GLS3_LC2G4D2T 0x08
14230 #define _CLC2GLS3_G4D2T 0x08
14231 #define _CLC2GLS3_LC2G4D3N 0x10
14232 #define _CLC2GLS3_G4D3N 0x10
14233 #define _CLC2GLS3_LC2G4D3T 0x20
14234 #define _CLC2GLS3_G4D3T 0x20
14235 #define _CLC2GLS3_LC2G4D4N 0x40
14236 #define _CLC2GLS3_G4D4N 0x40
14237 #define _CLC2GLS3_LC2G4D4T 0x80
14238 #define _CLC2GLS3_G4D4T 0x80
14240 //==============================================================================
14243 //==============================================================================
14244 // STATUS_SHAD Bits
14246 extern __at(0x0FE4) __sfr STATUS_SHAD;
14248 typedef struct
14250 unsigned C_SHAD : 1;
14251 unsigned DC_SHAD : 1;
14252 unsigned Z_SHAD : 1;
14253 unsigned : 1;
14254 unsigned : 1;
14255 unsigned : 1;
14256 unsigned : 1;
14257 unsigned : 1;
14258 } __STATUS_SHADbits_t;
14260 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits;
14262 #define _C_SHAD 0x01
14263 #define _DC_SHAD 0x02
14264 #define _Z_SHAD 0x04
14266 //==============================================================================
14268 extern __at(0x0FE5) __sfr WREG_SHAD;
14269 extern __at(0x0FE6) __sfr BSR_SHAD;
14270 extern __at(0x0FE7) __sfr PCLATH_SHAD;
14271 extern __at(0x0FE8) __sfr FSR0L_SHAD;
14272 extern __at(0x0FE9) __sfr FSR0H_SHAD;
14273 extern __at(0x0FEA) __sfr FSR1L_SHAD;
14274 extern __at(0x0FEB) __sfr FSR1H_SHAD;
14275 extern __at(0x0FED) __sfr STKPTR;
14276 extern __at(0x0FEE) __sfr TOSL;
14277 extern __at(0x0FEF) __sfr TOSH;
14279 //==============================================================================
14281 // Configuration Bits
14283 //==============================================================================
14285 #define _CONFIG1 0x8007
14286 #define _CONFIG2 0x8008
14287 #define _CONFIG3 0x8009
14289 //----------------------------- CONFIG1 Options -------------------------------
14291 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator: I/O function on CLKIN pin.
14292 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins.
14293 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins.
14294 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins.
14295 #define _PWRTE_ON 0x3FDF // PWRT enabled.
14296 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
14297 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
14298 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
14299 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
14300 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
14301 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
14302 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
14303 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
14304 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
14305 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
14306 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
14308 //----------------------------- CONFIG2 Options -------------------------------
14310 #define _WRT_ALL 0x3FFC // 000h to 1FFFh write protected, no addresses may be modified by PMCON control.
14311 #define _WRT_HALF 0x3FFD // 000h to FFFh write protected, 1000h to 1FFFh may be modified by PMCON control.
14312 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to 1FFFh may be modified by PMCON control.
14313 #define _WRT_OFF 0x3FFF // Write protection off.
14314 #define _PPS1WAY_OFF 0x3FFB // The PPSLOCK bit can be set and cleared repeatedly by software.
14315 #define _PPS1WAY_ON 0x3FFF // The PPSLOCK bit cannot be cleared once it is set by software.
14316 #define _ZCD_ON 0x3F7F // ZCD always enabled.
14317 #define _ZCD_OFF 0x3FFF // ZCD disable. ZCD can be enabled by setting the ZCDSEN bit of ZCDCON.
14318 #define _PLLEN_OFF 0x3EFF // 4x PLL is enabled when software sets the SPLLEN bit.
14319 #define _PLLEN_ON 0x3FFF // 4x PLL is always enabled.
14320 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
14321 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
14322 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
14323 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
14324 #define _LPBOR_ON 0x37FF // Low-Power BOR is enabled.
14325 #define _LPBOR_OFF 0x3FFF // Low-Power BOR is disabled.
14326 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
14327 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
14328 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
14329 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
14331 //----------------------------- CONFIG3 Options -------------------------------
14333 #define _WDTCPS_WDTCPS0 0x3FE0 // 1:32 (1 ms period).
14334 #define _WDTCPS_WDTCPS1 0x3FE1 // 1:64 (2 ms period).
14335 #define _WDTCPS_WDTCPS2 0x3FE2 // 1:128 (4 ms period).
14336 #define _WDTCPS_WDTCPS3 0x3FE3 // 1:256 (8 ms period).
14337 #define _WDTCPS_WDTCPS4 0x3FE4 // 1:512 (16 ms period).
14338 #define _WDTCPS_WDTCPS5 0x3FE5 // 1:1024 (32 ms period).
14339 #define _WDTCPS_WDTCPS6 0x3FE6 // 1:2048 (64 ms period).
14340 #define _WDTCPS_WDTCPS7 0x3FE7 // 1:4096 (128 ms period).
14341 #define _WDTCPS_WDTCPS8 0x3FE8 // 1:8192 (256 ms period).
14342 #define _WDTCPS_WDTCPS9 0x3FE9 // 1:16384 (512 ms period).
14343 #define _WDTCPS_WDTCPSA 0x3FEA // 1:32768 (1 s period).
14344 #define _WDTCPS_WDTCPSB 0x3FEB // 1:65536 (2 s period).
14345 #define _WDTCPS_WDTCPSC 0x3FEC // 1:131072 (4 s period).
14346 #define _WDTCPS_WDTCPSD 0x3FED // 1:262144 (8 s period).
14347 #define _WDTCPS_WDTCPSE 0x3FEE // 1:524299 (16 s period).
14348 #define _WDTCPS_WDTCPSF 0x3FEF // 1:1048576 (32 s period).
14349 #define _WDTCPS_WDTCPS10 0x3FF0 // 1:2097152 (64 s period).
14350 #define _WDTCPS_WDTCPS11 0x3FF1 // 1:4194304 (128 s period).
14351 #define _WDTCPS_WDTCPS12 0x3FF2 // 1:8388608 (256 s period).
14352 #define _WDTCPS_WDTCPS1F 0x3FFF // Software Control (WDTPS).
14353 #define _WDTE_OFF 0x3F9F // WDT disabled.
14354 #define _WDTE_SWDTEN 0x3FBF // WDT controlled by the SWDTEN bit in the WDTCON register.
14355 #define _WDTE_NSLEEP 0x3FDF // WDT enabled while running and disabled in Sleep.
14356 #define _WDTE_ON 0x3FFF // WDT enabled.
14357 #define _WDTCWS_WDTCWS125 0x38FF // 12.5 percent window open time.
14358 #define _WDTCWS_WDTCWS25 0x39FF // 25 percent window open time.
14359 #define _WDTCWS_WDTCWS375 0x3AFF // 37.5 percent window open time.
14360 #define _WDTCWS_WDTCWS50 0x3BFF // 50 percent window open time.
14361 #define _WDTCWS_WDTCWS625 0x3CFF // 62.5 percent window open time.
14362 #define _WDTCWS_WDTCWS75 0x3DFF // 75 percent window open time.
14363 #define _WDTCWS_WDTCWS100 0x3EFF // 100 percent window open time (Legacy WDT).
14364 #define _WDTCWS_WDTCWSSW 0x3FFF // Software WDT window size control (WDTWS bits).
14365 #define _WDTCCS_LFINTOSC 0x07FF // 31.0kHz LFINTOSC.
14366 #define _WDTCCS_MFINTOSC 0x0FFF // 31.25 kHz HFINTOSC (MFINTOSC).
14367 #define _WDTCCS_SWC 0x3FFF // Software control, controlled by WDTCS bits.
14369 //==============================================================================
14371 #define _DEVID1 0x8006
14373 #define _IDLOC0 0x8000
14374 #define _IDLOC1 0x8001
14375 #define _IDLOC2 0x8002
14376 #define _IDLOC3 0x8003
14378 //==============================================================================
14380 #ifndef NO_BIT_DEFINES
14382 #define ADON ADCON0bits.ADON // bit 0
14383 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
14384 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
14385 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
14386 #define CHS0 ADCON0bits.CHS0 // bit 2
14387 #define CHS1 ADCON0bits.CHS1 // bit 3
14388 #define CHS2 ADCON0bits.CHS2 // bit 4
14389 #define CHS3 ADCON0bits.CHS3 // bit 5
14390 #define CHS4 ADCON0bits.CHS4 // bit 6
14392 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
14393 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
14394 #define ADCS0 ADCON1bits.ADCS0 // bit 4
14395 #define ADCS1 ADCON1bits.ADCS1 // bit 5
14396 #define ADCS2 ADCON1bits.ADCS2 // bit 6
14397 #define ADFM ADCON1bits.ADFM // bit 7
14399 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 4
14400 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 5
14401 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 6
14402 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 7
14404 #define ANSA0 ANSELAbits.ANSA0 // bit 0
14405 #define ANSA1 ANSELAbits.ANSA1 // bit 1
14406 #define ANSA2 ANSELAbits.ANSA2 // bit 2
14407 #define ANSA4 ANSELAbits.ANSA4 // bit 4
14409 #define ANSC0 ANSELCbits.ANSC0 // bit 0
14410 #define ANSC1 ANSELCbits.ANSC1 // bit 1
14411 #define ANSC2 ANSELCbits.ANSC2 // bit 2
14412 #define ANSC3 ANSELCbits.ANSC3 // bit 3
14414 #define AT1CC18 AT1CC1Hbits.AT1CC18 // bit 0, shadows bit in AT1CC1Hbits
14415 #define CC18 AT1CC1Hbits.CC18 // bit 0, shadows bit in AT1CC1Hbits
14416 #define AT1CC19 AT1CC1Hbits.AT1CC19 // bit 1, shadows bit in AT1CC1Hbits
14417 #define CC19 AT1CC1Hbits.CC19 // bit 1, shadows bit in AT1CC1Hbits
14419 #define AT1CC10 AT1CC1Lbits.AT1CC10 // bit 0, shadows bit in AT1CC1Lbits
14420 #define CC10 AT1CC1Lbits.CC10 // bit 0, shadows bit in AT1CC1Lbits
14421 #define AT1CC11 AT1CC1Lbits.AT1CC11 // bit 1, shadows bit in AT1CC1Lbits
14422 #define CC11 AT1CC1Lbits.CC11 // bit 1, shadows bit in AT1CC1Lbits
14423 #define AT1CC12 AT1CC1Lbits.AT1CC12 // bit 2, shadows bit in AT1CC1Lbits
14424 #define CC12 AT1CC1Lbits.CC12 // bit 2, shadows bit in AT1CC1Lbits
14425 #define AT1CC13 AT1CC1Lbits.AT1CC13 // bit 3, shadows bit in AT1CC1Lbits
14426 #define CC13 AT1CC1Lbits.CC13 // bit 3, shadows bit in AT1CC1Lbits
14427 #define AT1CC14 AT1CC1Lbits.AT1CC14 // bit 4, shadows bit in AT1CC1Lbits
14428 #define CC14 AT1CC1Lbits.CC14 // bit 4, shadows bit in AT1CC1Lbits
14429 #define AT1CC15 AT1CC1Lbits.AT1CC15 // bit 5, shadows bit in AT1CC1Lbits
14430 #define CC15 AT1CC1Lbits.CC15 // bit 5, shadows bit in AT1CC1Lbits
14431 #define AT1CC16 AT1CC1Lbits.AT1CC16 // bit 6, shadows bit in AT1CC1Lbits
14432 #define CC16 AT1CC1Lbits.CC16 // bit 6, shadows bit in AT1CC1Lbits
14433 #define AT1CC17 AT1CC1Lbits.AT1CC17 // bit 7, shadows bit in AT1CC1Lbits
14434 #define CC17 AT1CC1Lbits.CC17 // bit 7, shadows bit in AT1CC1Lbits
14436 #define AT1CC28 AT1CC2Hbits.AT1CC28 // bit 0, shadows bit in AT1CC2Hbits
14437 #define CC28 AT1CC2Hbits.CC28 // bit 0, shadows bit in AT1CC2Hbits
14438 #define AT1CC29 AT1CC2Hbits.AT1CC29 // bit 1, shadows bit in AT1CC2Hbits
14439 #define CC29 AT1CC2Hbits.CC29 // bit 1, shadows bit in AT1CC2Hbits
14441 #define AT1CC38 AT1CC3Hbits.AT1CC38 // bit 0, shadows bit in AT1CC3Hbits
14442 #define CC38 AT1CC3Hbits.CC38 // bit 0, shadows bit in AT1CC3Hbits
14443 #define AT1CC39 AT1CC3Hbits.AT1CC39 // bit 1, shadows bit in AT1CC3Hbits
14444 #define CC39 AT1CC3Hbits.CC39 // bit 1, shadows bit in AT1CC3Hbits
14446 #define AT1CC30 AT1CC3Lbits.AT1CC30 // bit 0, shadows bit in AT1CC3Lbits
14447 #define CC30 AT1CC3Lbits.CC30 // bit 0, shadows bit in AT1CC3Lbits
14448 #define AT1CC31 AT1CC3Lbits.AT1CC31 // bit 1, shadows bit in AT1CC3Lbits
14449 #define CC31 AT1CC3Lbits.CC31 // bit 1, shadows bit in AT1CC3Lbits
14450 #define AT1CC32 AT1CC3Lbits.AT1CC32 // bit 2, shadows bit in AT1CC3Lbits
14451 #define CC32 AT1CC3Lbits.CC32 // bit 2, shadows bit in AT1CC3Lbits
14452 #define AT1CC33 AT1CC3Lbits.AT1CC33 // bit 3, shadows bit in AT1CC3Lbits
14453 #define CC33 AT1CC3Lbits.CC33 // bit 3, shadows bit in AT1CC3Lbits
14454 #define AT1CC34 AT1CC3Lbits.AT1CC34 // bit 4, shadows bit in AT1CC3Lbits
14455 #define CC34 AT1CC3Lbits.CC34 // bit 4, shadows bit in AT1CC3Lbits
14456 #define AT1CC35 AT1CC3Lbits.AT1CC35 // bit 5, shadows bit in AT1CC3Lbits
14457 #define CC35 AT1CC3Lbits.CC35 // bit 5, shadows bit in AT1CC3Lbits
14458 #define AT1CC36 AT1CC3Lbits.AT1CC36 // bit 6, shadows bit in AT1CC3Lbits
14459 #define CC36 AT1CC3Lbits.CC36 // bit 6, shadows bit in AT1CC3Lbits
14460 #define AT1CC37 AT1CC3Lbits.AT1CC37 // bit 7, shadows bit in AT1CC3Lbits
14461 #define CC37 AT1CC3Lbits.CC37 // bit 7, shadows bit in AT1CC3Lbits
14463 #define AT1CC1MODE AT1CCON1bits.AT1CC1MODE // bit 0, shadows bit in AT1CCON1bits
14464 #define CC1MODE AT1CCON1bits.CC1MODE // bit 0, shadows bit in AT1CCON1bits
14465 #define AT1CAP1P AT1CCON1bits.AT1CAP1P // bit 3, shadows bit in AT1CCON1bits
14466 #define CAP1P AT1CCON1bits.CAP1P // bit 3, shadows bit in AT1CCON1bits
14467 #define AT1CC1POL AT1CCON1bits.AT1CC1POL // bit 4, shadows bit in AT1CCON1bits
14468 #define CC1POL AT1CCON1bits.CC1POL // bit 4, shadows bit in AT1CCON1bits
14469 #define AT1CC1EN AT1CCON1bits.AT1CC1EN // bit 7, shadows bit in AT1CCON1bits
14470 #define CC1EN AT1CCON1bits.CC1EN // bit 7, shadows bit in AT1CCON1bits
14472 #define AT1CC2MODE AT1CCON2bits.AT1CC2MODE // bit 0, shadows bit in AT1CCON2bits
14473 #define CC2MODE AT1CCON2bits.CC2MODE // bit 0, shadows bit in AT1CCON2bits
14474 #define AT1CAP2P AT1CCON2bits.AT1CAP2P // bit 3, shadows bit in AT1CCON2bits
14475 #define CAP2P AT1CCON2bits.CAP2P // bit 3, shadows bit in AT1CCON2bits
14476 #define AT1CC2POL AT1CCON2bits.AT1CC2POL // bit 4, shadows bit in AT1CCON2bits
14477 #define CC2POL AT1CCON2bits.CC2POL // bit 4, shadows bit in AT1CCON2bits
14478 #define AT1CC2EN AT1CCON2bits.AT1CC2EN // bit 7, shadows bit in AT1CCON2bits
14479 #define CC2EN AT1CCON2bits.CC2EN // bit 7, shadows bit in AT1CCON2bits
14481 #define AT1CC3MODE AT1CCON3bits.AT1CC3MODE // bit 0, shadows bit in AT1CCON3bits
14482 #define CC3MODE AT1CCON3bits.CC3MODE // bit 0, shadows bit in AT1CCON3bits
14483 #define AT1CAP3P AT1CCON3bits.AT1CAP3P // bit 3, shadows bit in AT1CCON3bits
14484 #define CAP3P AT1CCON3bits.CAP3P // bit 3, shadows bit in AT1CCON3bits
14485 #define AT1CC3POL AT1CCON3bits.AT1CC3POL // bit 4, shadows bit in AT1CCON3bits
14486 #define CC3POL AT1CCON3bits.CC3POL // bit 4, shadows bit in AT1CCON3bits
14487 #define AT1CC3EN AT1CCON3bits.AT1CC3EN // bit 7, shadows bit in AT1CCON3bits
14488 #define CC3EN AT1CCON3bits.CC3EN // bit 7, shadows bit in AT1CCON3bits
14490 #define CS AT1CLKbits.CS // bit 0, shadows bit in AT1CLKbits
14491 #define AT1CS AT1CLKbits.AT1CS // bit 0, shadows bit in AT1CLKbits
14492 #define CS0 AT1CLKbits.CS0 // bit 0, shadows bit in AT1CLKbits
14493 #define AT1CS0 AT1CLKbits.AT1CS0 // bit 0, shadows bit in AT1CLKbits
14495 #define MODE AT1CON0bits.MODE // bit 0, shadows bit in AT1CON0bits
14496 #define AT1MODE AT1CON0bits.AT1MODE // bit 0, shadows bit in AT1CON0bits
14497 #define APMOD AT1CON0bits.APMOD // bit 1, shadows bit in AT1CON0bits
14498 #define AT1APMOD AT1CON0bits.AT1APMOD // bit 1, shadows bit in AT1CON0bits
14499 #define POL AT1CON0bits.POL // bit 3, shadows bit in AT1CON0bits
14500 #define AT1POL AT1CON0bits.AT1POL // bit 3, shadows bit in AT1CON0bits
14501 #define PS0 AT1CON0bits.PS0 // bit 4, shadows bit in AT1CON0bits
14502 #define AT1PS0 AT1CON0bits.AT1PS0 // bit 4, shadows bit in AT1CON0bits
14503 #define PS1 AT1CON0bits.PS1 // bit 5, shadows bit in AT1CON0bits
14504 #define AT1PS1 AT1CON0bits.AT1PS1 // bit 5, shadows bit in AT1CON0bits
14505 #define PREC AT1CON0bits.PREC // bit 6, shadows bit in AT1CON0bits
14506 #define AT1PREC AT1CON0bits.AT1PREC // bit 6, shadows bit in AT1CON0bits
14507 #define EN AT1CON0bits.EN // bit 7, shadows bit in AT1CON0bits
14508 #define AT1EN AT1CON0bits.AT1EN // bit 7, shadows bit in AT1CON0bits
14510 #define VALID AT1CON1bits.VALID // bit 0, shadows bit in AT1CON1bits
14511 #define AT1VALID AT1CON1bits.AT1VALID // bit 0, shadows bit in AT1CON1bits
14512 #define ACCS AT1CON1bits.ACCS // bit 1, shadows bit in AT1CON1bits
14513 #define AT1ACCS AT1CON1bits.AT1ACCS // bit 1, shadows bit in AT1CON1bits
14514 #define MPP AT1CON1bits.MPP // bit 2, shadows bit in AT1CON1bits
14515 #define AT1MPP AT1CON1bits.AT1MPP // bit 2, shadows bit in AT1CON1bits
14516 #define PRP AT1CON1bits.PRP // bit 4, shadows bit in AT1CON1bits
14517 #define AT1PRP AT1CON1bits.AT1PRP // bit 4, shadows bit in AT1CON1bits
14518 #define PHP AT1CON1bits.PHP // bit 6, shadows bit in AT1CON1bits
14519 #define AT1PHP AT1CON1bits.AT1PHP // bit 6, shadows bit in AT1CON1bits
14521 #define AT1CP1S0 AT1CSEL1bits.AT1CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14522 #define CP1S0 AT1CSEL1bits.CP1S0 // bit 0, shadows bit in AT1CSEL1bits
14523 #define AT1CP1S1 AT1CSEL1bits.AT1CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14524 #define CP1S1 AT1CSEL1bits.CP1S1 // bit 1, shadows bit in AT1CSEL1bits
14525 #define AT1CP1S2 AT1CSEL1bits.AT1CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14526 #define CP1S2 AT1CSEL1bits.CP1S2 // bit 2, shadows bit in AT1CSEL1bits
14528 #define AT1CP2S0 AT1CSEL2bits.AT1CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14529 #define CP2S0 AT1CSEL2bits.CP2S0 // bit 0, shadows bit in AT1CSEL2bits
14530 #define AT1CP2S1 AT1CSEL2bits.AT1CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14531 #define CP2S1 AT1CSEL2bits.CP2S1 // bit 1, shadows bit in AT1CSEL2bits
14532 #define AT1CP2S2 AT1CSEL2bits.AT1CP2S2 // bit 2, shadows bit in AT1CSEL2bits
14533 #define CP2S2 AT1CSEL2bits.CP2S2 // bit 2, shadows bit in AT1CSEL2bits
14535 #define AT1CP3S0 AT1CSEL3bits.AT1CP3S0 // bit 0, shadows bit in AT1CSEL3bits
14536 #define CP3S0 AT1CSEL3bits.CP3S0 // bit 0, shadows bit in AT1CSEL3bits
14537 #define AT1CP3S1 AT1CSEL3bits.AT1CP3S1 // bit 1, shadows bit in AT1CSEL3bits
14538 #define CP3S1 AT1CSEL3bits.CP3S1 // bit 1, shadows bit in AT1CSEL3bits
14539 #define AT1CP3S2 AT1CSEL3bits.AT1CP3S2 // bit 2, shadows bit in AT1CSEL3bits
14540 #define CP3S2 AT1CSEL3bits.CP3S2 // bit 2, shadows bit in AT1CSEL3bits
14542 #define AT1ERR8 AT1ERRHbits.AT1ERR8 // bit 0, shadows bit in AT1ERRHbits
14543 #define ERR8 AT1ERRHbits.ERR8 // bit 0, shadows bit in AT1ERRHbits
14544 #define ERRH0 AT1ERRHbits.ERRH0 // bit 0, shadows bit in AT1ERRHbits
14545 #define AT1ERR9 AT1ERRHbits.AT1ERR9 // bit 1, shadows bit in AT1ERRHbits
14546 #define ERR9 AT1ERRHbits.ERR9 // bit 1, shadows bit in AT1ERRHbits
14547 #define ERRH1 AT1ERRHbits.ERRH1 // bit 1, shadows bit in AT1ERRHbits
14548 #define AT1ERR10 AT1ERRHbits.AT1ERR10 // bit 2, shadows bit in AT1ERRHbits
14549 #define ERR10 AT1ERRHbits.ERR10 // bit 2, shadows bit in AT1ERRHbits
14550 #define ERRH2 AT1ERRHbits.ERRH2 // bit 2, shadows bit in AT1ERRHbits
14551 #define AT1ERR11 AT1ERRHbits.AT1ERR11 // bit 3, shadows bit in AT1ERRHbits
14552 #define ERR11 AT1ERRHbits.ERR11 // bit 3, shadows bit in AT1ERRHbits
14553 #define ERRH3 AT1ERRHbits.ERRH3 // bit 3, shadows bit in AT1ERRHbits
14554 #define AT1ERR12 AT1ERRHbits.AT1ERR12 // bit 4, shadows bit in AT1ERRHbits
14555 #define ERR12 AT1ERRHbits.ERR12 // bit 4, shadows bit in AT1ERRHbits
14556 #define ERRH4 AT1ERRHbits.ERRH4 // bit 4, shadows bit in AT1ERRHbits
14557 #define AT1ERR13 AT1ERRHbits.AT1ERR13 // bit 5, shadows bit in AT1ERRHbits
14558 #define ERR13 AT1ERRHbits.ERR13 // bit 5, shadows bit in AT1ERRHbits
14559 #define ERRH5 AT1ERRHbits.ERRH5 // bit 5, shadows bit in AT1ERRHbits
14560 #define AT1ERR14 AT1ERRHbits.AT1ERR14 // bit 6, shadows bit in AT1ERRHbits
14561 #define ERR14 AT1ERRHbits.ERR14 // bit 6, shadows bit in AT1ERRHbits
14562 #define ERRH6 AT1ERRHbits.ERRH6 // bit 6, shadows bit in AT1ERRHbits
14563 #define AT1ERR15 AT1ERRHbits.AT1ERR15 // bit 7, shadows bit in AT1ERRHbits
14564 #define ERR15 AT1ERRHbits.ERR15 // bit 7, shadows bit in AT1ERRHbits
14565 #define ERRH7 AT1ERRHbits.ERRH7 // bit 7, shadows bit in AT1ERRHbits
14567 #define AT1ERR0 AT1ERRLbits.AT1ERR0 // bit 0, shadows bit in AT1ERRLbits
14568 #define ERR0 AT1ERRLbits.ERR0 // bit 0, shadows bit in AT1ERRLbits
14569 #define ERRL0 AT1ERRLbits.ERRL0 // bit 0, shadows bit in AT1ERRLbits
14570 #define AT1ERR1 AT1ERRLbits.AT1ERR1 // bit 1, shadows bit in AT1ERRLbits
14571 #define ERR1 AT1ERRLbits.ERR1 // bit 1, shadows bit in AT1ERRLbits
14572 #define ERRL1 AT1ERRLbits.ERRL1 // bit 1, shadows bit in AT1ERRLbits
14573 #define AT1ERR2 AT1ERRLbits.AT1ERR2 // bit 2, shadows bit in AT1ERRLbits
14574 #define ERR2 AT1ERRLbits.ERR2 // bit 2, shadows bit in AT1ERRLbits
14575 #define ERRL2 AT1ERRLbits.ERRL2 // bit 2, shadows bit in AT1ERRLbits
14576 #define AT1ERR3 AT1ERRLbits.AT1ERR3 // bit 3, shadows bit in AT1ERRLbits
14577 #define ERR3 AT1ERRLbits.ERR3 // bit 3, shadows bit in AT1ERRLbits
14578 #define ERRL3 AT1ERRLbits.ERRL3 // bit 3, shadows bit in AT1ERRLbits
14579 #define AT1ERR4 AT1ERRLbits.AT1ERR4 // bit 4, shadows bit in AT1ERRLbits
14580 #define ERR4 AT1ERRLbits.ERR4 // bit 4, shadows bit in AT1ERRLbits
14581 #define ERRL4 AT1ERRLbits.ERRL4 // bit 4, shadows bit in AT1ERRLbits
14582 #define AT1ERR5 AT1ERRLbits.AT1ERR5 // bit 5, shadows bit in AT1ERRLbits
14583 #define ERR5 AT1ERRLbits.ERR5 // bit 5, shadows bit in AT1ERRLbits
14584 #define ERRL5 AT1ERRLbits.ERRL5 // bit 5, shadows bit in AT1ERRLbits
14585 #define AT1ERR6 AT1ERRLbits.AT1ERR6 // bit 6, shadows bit in AT1ERRLbits
14586 #define ERR6 AT1ERRLbits.ERR6 // bit 6, shadows bit in AT1ERRLbits
14587 #define ERRL6 AT1ERRLbits.ERRL6 // bit 6, shadows bit in AT1ERRLbits
14588 #define AT1ERR7 AT1ERRLbits.AT1ERR7 // bit 7, shadows bit in AT1ERRLbits
14589 #define ERR7 AT1ERRLbits.ERR7 // bit 7, shadows bit in AT1ERRLbits
14590 #define ERRL7 AT1ERRLbits.ERRL7 // bit 7, shadows bit in AT1ERRLbits
14592 #define AT1PERIE AT1IE0bits.AT1PERIE // bit 0
14593 #define AT1MISSIE AT1IE0bits.AT1MISSIE // bit 1
14594 #define AT1PHSIE AT1IE0bits.AT1PHSIE // bit 2
14596 #define AT1CC1IE AT1IE1bits.AT1CC1IE // bit 0
14597 #define AT1CC2IE AT1IE1bits.AT1CC2IE // bit 1
14598 #define AT1CC3IE AT1IE1bits.AT1CC3IE // bit 2
14600 #define AT1PERIF AT1IR0bits.AT1PERIF // bit 0
14601 #define AT1MISSIF AT1IR0bits.AT1MISSIF // bit 1
14602 #define AT1PHSIF AT1IR0bits.AT1PHSIF // bit 2
14604 #define AT1CC1IF AT1IR1bits.AT1CC1IF // bit 0
14605 #define AT1CC2IF AT1IR1bits.AT1CC2IF // bit 1
14606 #define AT1CC3IF AT1IR1bits.AT1CC3IF // bit 2
14608 #define AT1MISS8 AT1MISSHbits.AT1MISS8 // bit 0, shadows bit in AT1MISSHbits
14609 #define MISS8 AT1MISSHbits.MISS8 // bit 0, shadows bit in AT1MISSHbits
14610 #define AT1MISS9 AT1MISSHbits.AT1MISS9 // bit 1, shadows bit in AT1MISSHbits
14611 #define MISS9 AT1MISSHbits.MISS9 // bit 1, shadows bit in AT1MISSHbits
14612 #define AT1MISS10 AT1MISSHbits.AT1MISS10 // bit 2, shadows bit in AT1MISSHbits
14613 #define MISS10 AT1MISSHbits.MISS10 // bit 2, shadows bit in AT1MISSHbits
14614 #define AT1MISS11 AT1MISSHbits.AT1MISS11 // bit 3, shadows bit in AT1MISSHbits
14615 #define MISS11 AT1MISSHbits.MISS11 // bit 3, shadows bit in AT1MISSHbits
14616 #define AT1MISS12 AT1MISSHbits.AT1MISS12 // bit 4, shadows bit in AT1MISSHbits
14617 #define MISS12 AT1MISSHbits.MISS12 // bit 4, shadows bit in AT1MISSHbits
14618 #define AT1MISS13 AT1MISSHbits.AT1MISS13 // bit 5, shadows bit in AT1MISSHbits
14619 #define MISS13 AT1MISSHbits.MISS13 // bit 5, shadows bit in AT1MISSHbits
14620 #define AT1MISS14 AT1MISSHbits.AT1MISS14 // bit 6, shadows bit in AT1MISSHbits
14621 #define MISS14 AT1MISSHbits.MISS14 // bit 6, shadows bit in AT1MISSHbits
14622 #define AT1MISS15 AT1MISSHbits.AT1MISS15 // bit 7, shadows bit in AT1MISSHbits
14623 #define MISS15 AT1MISSHbits.MISS15 // bit 7, shadows bit in AT1MISSHbits
14625 #define AT1MISS0 AT1MISSLbits.AT1MISS0 // bit 0, shadows bit in AT1MISSLbits
14626 #define MISS0 AT1MISSLbits.MISS0 // bit 0, shadows bit in AT1MISSLbits
14627 #define AT1MISS1 AT1MISSLbits.AT1MISS1 // bit 1, shadows bit in AT1MISSLbits
14628 #define MISS1 AT1MISSLbits.MISS1 // bit 1, shadows bit in AT1MISSLbits
14629 #define AT1MISS2 AT1MISSLbits.AT1MISS2 // bit 2, shadows bit in AT1MISSLbits
14630 #define MISS2 AT1MISSLbits.MISS2 // bit 2, shadows bit in AT1MISSLbits
14631 #define AT1MISS3 AT1MISSLbits.AT1MISS3 // bit 3, shadows bit in AT1MISSLbits
14632 #define MISS3 AT1MISSLbits.MISS3 // bit 3, shadows bit in AT1MISSLbits
14633 #define AT1MISS4 AT1MISSLbits.AT1MISS4 // bit 4, shadows bit in AT1MISSLbits
14634 #define MISS4 AT1MISSLbits.MISS4 // bit 4, shadows bit in AT1MISSLbits
14635 #define AT1MISS5 AT1MISSLbits.AT1MISS5 // bit 5, shadows bit in AT1MISSLbits
14636 #define MISS5 AT1MISSLbits.MISS5 // bit 5, shadows bit in AT1MISSLbits
14637 #define AT1MISS6 AT1MISSLbits.AT1MISS6 // bit 6, shadows bit in AT1MISSLbits
14638 #define MISS6 AT1MISSLbits.MISS6 // bit 6, shadows bit in AT1MISSLbits
14639 #define AT1MISS7 AT1MISSLbits.AT1MISS7 // bit 7, shadows bit in AT1MISSLbits
14640 #define MISS7 AT1MISSLbits.MISS7 // bit 7, shadows bit in AT1MISSLbits
14642 #define AT1PER8 AT1PERHbits.AT1PER8 // bit 0, shadows bit in AT1PERHbits
14643 #define PER8 AT1PERHbits.PER8 // bit 0, shadows bit in AT1PERHbits
14644 #define PERH0 AT1PERHbits.PERH0 // bit 0, shadows bit in AT1PERHbits
14645 #define AT1PER9 AT1PERHbits.AT1PER9 // bit 1, shadows bit in AT1PERHbits
14646 #define PER9 AT1PERHbits.PER9 // bit 1, shadows bit in AT1PERHbits
14647 #define PERH1 AT1PERHbits.PERH1 // bit 1, shadows bit in AT1PERHbits
14648 #define AT1PER10 AT1PERHbits.AT1PER10 // bit 2, shadows bit in AT1PERHbits
14649 #define PER10 AT1PERHbits.PER10 // bit 2, shadows bit in AT1PERHbits
14650 #define PERH2 AT1PERHbits.PERH2 // bit 2, shadows bit in AT1PERHbits
14651 #define AT1PER11 AT1PERHbits.AT1PER11 // bit 3, shadows bit in AT1PERHbits
14652 #define PER11 AT1PERHbits.PER11 // bit 3, shadows bit in AT1PERHbits
14653 #define PERH3 AT1PERHbits.PERH3 // bit 3, shadows bit in AT1PERHbits
14654 #define AT1PER12 AT1PERHbits.AT1PER12 // bit 4, shadows bit in AT1PERHbits
14655 #define PER12 AT1PERHbits.PER12 // bit 4, shadows bit in AT1PERHbits
14656 #define PERH4 AT1PERHbits.PERH4 // bit 4, shadows bit in AT1PERHbits
14657 #define AT1PER13 AT1PERHbits.AT1PER13 // bit 5, shadows bit in AT1PERHbits
14658 #define PER13 AT1PERHbits.PER13 // bit 5, shadows bit in AT1PERHbits
14659 #define PERH5 AT1PERHbits.PERH5 // bit 5, shadows bit in AT1PERHbits
14660 #define AT1PER14 AT1PERHbits.AT1PER14 // bit 6, shadows bit in AT1PERHbits
14661 #define PER14 AT1PERHbits.PER14 // bit 6, shadows bit in AT1PERHbits
14662 #define PERH6 AT1PERHbits.PERH6 // bit 6, shadows bit in AT1PERHbits
14663 #define AT1POV AT1PERHbits.AT1POV // bit 7, shadows bit in AT1PERHbits
14664 #define PER15 AT1PERHbits.PER15 // bit 7, shadows bit in AT1PERHbits
14665 #define PERH7 AT1PERHbits.PERH7 // bit 7, shadows bit in AT1PERHbits
14667 #define AT1PER0 AT1PERLbits.AT1PER0 // bit 0, shadows bit in AT1PERLbits
14668 #define PER0 AT1PERLbits.PER0 // bit 0, shadows bit in AT1PERLbits
14669 #define PERL0 AT1PERLbits.PERL0 // bit 0, shadows bit in AT1PERLbits
14670 #define AT1PER1 AT1PERLbits.AT1PER1 // bit 1, shadows bit in AT1PERLbits
14671 #define PER1 AT1PERLbits.PER1 // bit 1, shadows bit in AT1PERLbits
14672 #define PERL1 AT1PERLbits.PERL1 // bit 1, shadows bit in AT1PERLbits
14673 #define AT1PER2 AT1PERLbits.AT1PER2 // bit 2, shadows bit in AT1PERLbits
14674 #define PER2 AT1PERLbits.PER2 // bit 2, shadows bit in AT1PERLbits
14675 #define PERL2 AT1PERLbits.PERL2 // bit 2, shadows bit in AT1PERLbits
14676 #define AT1PER3 AT1PERLbits.AT1PER3 // bit 3, shadows bit in AT1PERLbits
14677 #define PER3 AT1PERLbits.PER3 // bit 3, shadows bit in AT1PERLbits
14678 #define PERL3 AT1PERLbits.PERL3 // bit 3, shadows bit in AT1PERLbits
14679 #define AT1PER4 AT1PERLbits.AT1PER4 // bit 4, shadows bit in AT1PERLbits
14680 #define PER4 AT1PERLbits.PER4 // bit 4, shadows bit in AT1PERLbits
14681 #define PERL4 AT1PERLbits.PERL4 // bit 4, shadows bit in AT1PERLbits
14682 #define AT1PER5 AT1PERLbits.AT1PER5 // bit 5, shadows bit in AT1PERLbits
14683 #define PER5 AT1PERLbits.PER5 // bit 5, shadows bit in AT1PERLbits
14684 #define PERL5 AT1PERLbits.PERL5 // bit 5, shadows bit in AT1PERLbits
14685 #define AT1PER6 AT1PERLbits.AT1PER6 // bit 6, shadows bit in AT1PERLbits
14686 #define PER6 AT1PERLbits.PER6 // bit 6, shadows bit in AT1PERLbits
14687 #define PERL6 AT1PERLbits.PERL6 // bit 6, shadows bit in AT1PERLbits
14688 #define AT1PER7 AT1PERLbits.AT1PER7 // bit 7, shadows bit in AT1PERLbits
14689 #define PER7 AT1PERLbits.PER7 // bit 7, shadows bit in AT1PERLbits
14690 #define PERL7 AT1PERLbits.PERL7 // bit 7, shadows bit in AT1PERLbits
14692 #define AT1PHS8 AT1PHSHbits.AT1PHS8 // bit 0, shadows bit in AT1PHSHbits
14693 #define PHS8 AT1PHSHbits.PHS8 // bit 0, shadows bit in AT1PHSHbits
14694 #define PHSL8 AT1PHSHbits.PHSL8 // bit 0, shadows bit in AT1PHSHbits
14695 #define AT1PHS9 AT1PHSHbits.AT1PHS9 // bit 1, shadows bit in AT1PHSHbits
14696 #define PHS9 AT1PHSHbits.PHS9 // bit 1, shadows bit in AT1PHSHbits
14697 #define PHSL9 AT1PHSHbits.PHSL9 // bit 1, shadows bit in AT1PHSHbits
14699 #define AT1PHS0 AT1PHSLbits.AT1PHS0 // bit 0, shadows bit in AT1PHSLbits
14700 #define PHS0 AT1PHSLbits.PHS0 // bit 0, shadows bit in AT1PHSLbits
14701 #define AT1PHS1 AT1PHSLbits.AT1PHS1 // bit 1, shadows bit in AT1PHSLbits
14702 #define PHS1 AT1PHSLbits.PHS1 // bit 1, shadows bit in AT1PHSLbits
14703 #define AT1PHS2 AT1PHSLbits.AT1PHS2 // bit 2, shadows bit in AT1PHSLbits
14704 #define PHS2 AT1PHSLbits.PHS2 // bit 2, shadows bit in AT1PHSLbits
14705 #define AT1PHS3 AT1PHSLbits.AT1PHS3 // bit 3, shadows bit in AT1PHSLbits
14706 #define PHS3 AT1PHSLbits.PHS3 // bit 3, shadows bit in AT1PHSLbits
14707 #define AT1PHS4 AT1PHSLbits.AT1PHS4 // bit 4, shadows bit in AT1PHSLbits
14708 #define PHS4 AT1PHSLbits.PHS4 // bit 4, shadows bit in AT1PHSLbits
14709 #define AT1PHS5 AT1PHSLbits.AT1PHS5 // bit 5, shadows bit in AT1PHSLbits
14710 #define PHS5 AT1PHSLbits.PHS5 // bit 5, shadows bit in AT1PHSLbits
14711 #define AT1PHS6 AT1PHSLbits.AT1PHS6 // bit 6, shadows bit in AT1PHSLbits
14712 #define PHS6 AT1PHSLbits.PHS6 // bit 6, shadows bit in AT1PHSLbits
14713 #define AT1PHS7 AT1PHSLbits.AT1PHS7 // bit 7, shadows bit in AT1PHSLbits
14714 #define PHS7 AT1PHSLbits.PHS7 // bit 7, shadows bit in AT1PHSLbits
14716 #define AT1RES8 AT1RESHbits.AT1RES8 // bit 0, shadows bit in AT1RESHbits
14717 #define RES8 AT1RESHbits.RES8 // bit 0, shadows bit in AT1RESHbits
14718 #define AT1RES9 AT1RESHbits.AT1RES9 // bit 1, shadows bit in AT1RESHbits
14719 #define RES9 AT1RESHbits.RES9 // bit 1, shadows bit in AT1RESHbits
14721 #define AT1RES0 AT1RESLbits.AT1RES0 // bit 0, shadows bit in AT1RESLbits
14722 #define RES0 AT1RESLbits.RES0 // bit 0, shadows bit in AT1RESLbits
14723 #define AT1RES1 AT1RESLbits.AT1RES1 // bit 1, shadows bit in AT1RESLbits
14724 #define RES1 AT1RESLbits.RES1 // bit 1, shadows bit in AT1RESLbits
14725 #define AT1RES2 AT1RESLbits.AT1RES2 // bit 2, shadows bit in AT1RESLbits
14726 #define RES2 AT1RESLbits.RES2 // bit 2, shadows bit in AT1RESLbits
14727 #define AT1RES3 AT1RESLbits.AT1RES3 // bit 3, shadows bit in AT1RESLbits
14728 #define RES3 AT1RESLbits.RES3 // bit 3, shadows bit in AT1RESLbits
14729 #define AT1RES4 AT1RESLbits.AT1RES4 // bit 4, shadows bit in AT1RESLbits
14730 #define RES4 AT1RESLbits.RES4 // bit 4, shadows bit in AT1RESLbits
14731 #define AT1RES5 AT1RESLbits.AT1RES5 // bit 5, shadows bit in AT1RESLbits
14732 #define RES5 AT1RESLbits.RES5 // bit 5, shadows bit in AT1RESLbits
14733 #define AT1RES6 AT1RESLbits.AT1RES6 // bit 6, shadows bit in AT1RESLbits
14734 #define RES6 AT1RESLbits.RES6 // bit 6, shadows bit in AT1RESLbits
14735 #define AT1RES7 AT1RESLbits.AT1RES7 // bit 7, shadows bit in AT1RESLbits
14736 #define RES7 AT1RESLbits.RES7 // bit 7, shadows bit in AT1RESLbits
14738 #define AT1SSEL0 AT1SIGbits.AT1SSEL0 // bit 0, shadows bit in AT1SIGbits
14739 #define SSEL0 AT1SIGbits.SSEL0 // bit 0, shadows bit in AT1SIGbits
14740 #define AT1SSEL1 AT1SIGbits.AT1SSEL1 // bit 1, shadows bit in AT1SIGbits
14741 #define SSEL1 AT1SIGbits.SSEL1 // bit 1, shadows bit in AT1SIGbits
14742 #define AT1SSEL2 AT1SIGbits.AT1SSEL2 // bit 2, shadows bit in AT1SIGbits
14743 #define SSEL2 AT1SIGbits.SSEL2 // bit 2, shadows bit in AT1SIGbits
14745 #define AT1STPT8 AT1STPTHbits.AT1STPT8 // bit 0, shadows bit in AT1STPTHbits
14746 #define STPT8 AT1STPTHbits.STPT8 // bit 0, shadows bit in AT1STPTHbits
14747 #define AT1STPT9 AT1STPTHbits.AT1STPT9 // bit 1, shadows bit in AT1STPTHbits
14748 #define STPT9 AT1STPTHbits.STPT9 // bit 1, shadows bit in AT1STPTHbits
14749 #define AT1STPT10 AT1STPTHbits.AT1STPT10 // bit 2, shadows bit in AT1STPTHbits
14750 #define STPT10 AT1STPTHbits.STPT10 // bit 2, shadows bit in AT1STPTHbits
14751 #define AT1STPT11 AT1STPTHbits.AT1STPT11 // bit 3, shadows bit in AT1STPTHbits
14752 #define STPT11 AT1STPTHbits.STPT11 // bit 3, shadows bit in AT1STPTHbits
14753 #define AT1STPT12 AT1STPTHbits.AT1STPT12 // bit 4, shadows bit in AT1STPTHbits
14754 #define STPT12 AT1STPTHbits.STPT12 // bit 4, shadows bit in AT1STPTHbits
14755 #define AT1STPT13 AT1STPTHbits.AT1STPT13 // bit 5, shadows bit in AT1STPTHbits
14756 #define STPT13 AT1STPTHbits.STPT13 // bit 5, shadows bit in AT1STPTHbits
14757 #define AT1STPT14 AT1STPTHbits.AT1STPT14 // bit 6, shadows bit in AT1STPTHbits
14758 #define STPT14 AT1STPTHbits.STPT14 // bit 6, shadows bit in AT1STPTHbits
14760 #define AT1STPT0 AT1STPTLbits.AT1STPT0 // bit 0, shadows bit in AT1STPTLbits
14761 #define STPT0 AT1STPTLbits.STPT0 // bit 0, shadows bit in AT1STPTLbits
14762 #define AT1STPT1 AT1STPTLbits.AT1STPT1 // bit 1, shadows bit in AT1STPTLbits
14763 #define STPT1 AT1STPTLbits.STPT1 // bit 1, shadows bit in AT1STPTLbits
14764 #define AT1STPT2 AT1STPTLbits.AT1STPT2 // bit 2, shadows bit in AT1STPTLbits
14765 #define STPT2 AT1STPTLbits.STPT2 // bit 2, shadows bit in AT1STPTLbits
14766 #define AT1STPT3 AT1STPTLbits.AT1STPT3 // bit 3, shadows bit in AT1STPTLbits
14767 #define STPT3 AT1STPTLbits.STPT3 // bit 3, shadows bit in AT1STPTLbits
14768 #define AT1STPT4 AT1STPTLbits.AT1STPT4 // bit 4, shadows bit in AT1STPTLbits
14769 #define STPT4 AT1STPTLbits.STPT4 // bit 4, shadows bit in AT1STPTLbits
14770 #define AT1STPT5 AT1STPTLbits.AT1STPT5 // bit 5, shadows bit in AT1STPTLbits
14771 #define STPT5 AT1STPTLbits.STPT5 // bit 5, shadows bit in AT1STPTLbits
14772 #define AT1STPT6 AT1STPTLbits.AT1STPT6 // bit 6, shadows bit in AT1STPTLbits
14773 #define STPT6 AT1STPTLbits.STPT6 // bit 6, shadows bit in AT1STPTLbits
14774 #define AT1STPT7 AT1STPTLbits.AT1STPT7 // bit 7, shadows bit in AT1STPTLbits
14775 #define STPT7 AT1STPTLbits.STPT7 // bit 7, shadows bit in AT1STPTLbits
14777 #define ATCC1PPS0 ATCC1PPSbits.ATCC1PPS0 // bit 0
14778 #define ATCC1PPS1 ATCC1PPSbits.ATCC1PPS1 // bit 1
14779 #define ATCC1PPS2 ATCC1PPSbits.ATCC1PPS2 // bit 2
14780 #define ATCC1PPS3 ATCC1PPSbits.ATCC1PPS3 // bit 3
14781 #define ATCC1PPS4 ATCC1PPSbits.ATCC1PPS4 // bit 4
14783 #define ATCC2PPS0 ATCC2PPSbits.ATCC2PPS0 // bit 0
14784 #define ATCC2PPS1 ATCC2PPSbits.ATCC2PPS1 // bit 1
14785 #define ATCC2PPS2 ATCC2PPSbits.ATCC2PPS2 // bit 2
14786 #define ATCC2PPS3 ATCC2PPSbits.ATCC2PPS3 // bit 3
14787 #define ATCC2PPS4 ATCC2PPSbits.ATCC2PPS4 // bit 4
14789 #define ATCC3PPS0 ATCC3PPSbits.ATCC3PPS0 // bit 0
14790 #define ATCC3PPS1 ATCC3PPSbits.ATCC3PPS1 // bit 1
14791 #define ATCC3PPS2 ATCC3PPSbits.ATCC3PPS2 // bit 2
14792 #define ATCC3PPS3 ATCC3PPSbits.ATCC3PPS3 // bit 3
14793 #define ATCC3PPS4 ATCC3PPSbits.ATCC3PPS4 // bit 4
14795 #define ATINPPS0 ATINPPSbits.ATINPPS0 // bit 0
14796 #define ATINPPS1 ATINPPSbits.ATINPPS1 // bit 1
14797 #define ATINPPS2 ATINPPSbits.ATINPPS2 // bit 2
14798 #define ATINPPS3 ATINPPSbits.ATINPPS3 // bit 3
14799 #define ATINPPS4 ATINPPSbits.ATINPPS4 // bit 4
14801 #define ABDEN BAUD1CONbits.ABDEN // bit 0
14802 #define WUE BAUD1CONbits.WUE // bit 1
14803 #define BRG16 BAUD1CONbits.BRG16 // bit 3
14804 #define SCKP BAUD1CONbits.SCKP // bit 4
14805 #define RCIDL BAUD1CONbits.RCIDL // bit 6
14806 #define ABDOVF BAUD1CONbits.ABDOVF // bit 7
14808 #define BORRDY BORCONbits.BORRDY // bit 0
14809 #define BORFS BORCONbits.BORFS // bit 6
14810 #define SBOREN BORCONbits.SBOREN // bit 7
14812 #define BSR0 BSRbits.BSR0 // bit 0
14813 #define BSR1 BSRbits.BSR1 // bit 1
14814 #define BSR2 BSRbits.BSR2 // bit 2
14815 #define BSR3 BSRbits.BSR3 // bit 3
14816 #define BSR4 BSRbits.BSR4 // bit 4
14818 #define CTS0 CCP1CAPbits.CTS0 // bit 0, shadows bit in CCP1CAPbits
14819 #define CCP1CTS0 CCP1CAPbits.CCP1CTS0 // bit 0, shadows bit in CCP1CAPbits
14820 #define CTS1 CCP1CAPbits.CTS1 // bit 1, shadows bit in CCP1CAPbits
14821 #define CCP1CTS1 CCP1CAPbits.CCP1CTS1 // bit 1, shadows bit in CCP1CAPbits
14822 #define CTS2 CCP1CAPbits.CTS2 // bit 2, shadows bit in CCP1CAPbits
14823 #define CCP1CTS2 CCP1CAPbits.CCP1CTS2 // bit 2, shadows bit in CCP1CAPbits
14825 #define CCP1PPS0 CCP1PPSbits.CCP1PPS0 // bit 0
14826 #define CCP1PPS1 CCP1PPSbits.CCP1PPS1 // bit 1
14827 #define CCP1PPS2 CCP1PPSbits.CCP1PPS2 // bit 2
14828 #define CCP1PPS3 CCP1PPSbits.CCP1PPS3 // bit 3
14829 #define CCP1PPS4 CCP1PPSbits.CCP1PPS4 // bit 4
14831 #define CCP2PPS0 CCP2PPSbits.CCP2PPS0 // bit 0
14832 #define CCP2PPS1 CCP2PPSbits.CCP2PPS1 // bit 1
14833 #define CCP2PPS2 CCP2PPSbits.CCP2PPS2 // bit 2
14834 #define CCP2PPS3 CCP2PPSbits.CCP2PPS3 // bit 3
14835 #define CCP2PPS4 CCP2PPSbits.CCP2PPS4 // bit 4
14837 #define CCP1TSEL0 CCPTMRSbits.CCP1TSEL0 // bit 0
14838 #define CCP1TSEL1 CCPTMRSbits.CCP1TSEL1 // bit 1
14839 #define CCP2TSEL0 CCPTMRSbits.CCP2TSEL0 // bit 2
14840 #define CCP2TSEL1 CCPTMRSbits.CCP2TSEL1 // bit 3
14841 #define P3TSEL0 CCPTMRSbits.P3TSEL0 // bit 4
14842 #define P3TSEL1 CCPTMRSbits.P3TSEL1 // bit 5
14843 #define P4TSEL0 CCPTMRSbits.P4TSEL0 // bit 6
14844 #define P4TSEL1 CCPTMRSbits.P4TSEL1 // bit 7
14846 #define CKPPS0 CKPPSbits.CKPPS0 // bit 0
14847 #define CKPPS1 CKPPSbits.CKPPS1 // bit 1
14848 #define CKPPS2 CKPPSbits.CKPPS2 // bit 2
14849 #define CKPPS3 CKPPSbits.CKPPS3 // bit 3
14850 #define CKPPS4 CKPPSbits.CKPPS4 // bit 4
14852 #define LC1G1D1N CLC1GLS0bits.LC1G1D1N // bit 0, shadows bit in CLC1GLS0bits
14853 #define D1N CLC1GLS0bits.D1N // bit 0, shadows bit in CLC1GLS0bits
14854 #define LC1G1D1T CLC1GLS0bits.LC1G1D1T // bit 1, shadows bit in CLC1GLS0bits
14855 #define D1T CLC1GLS0bits.D1T // bit 1, shadows bit in CLC1GLS0bits
14856 #define LC1G1D2N CLC1GLS0bits.LC1G1D2N // bit 2, shadows bit in CLC1GLS0bits
14857 #define D2N CLC1GLS0bits.D2N // bit 2, shadows bit in CLC1GLS0bits
14858 #define LC1G1D2T CLC1GLS0bits.LC1G1D2T // bit 3, shadows bit in CLC1GLS0bits
14859 #define D2T CLC1GLS0bits.D2T // bit 3, shadows bit in CLC1GLS0bits
14860 #define LC1G1D3N CLC1GLS0bits.LC1G1D3N // bit 4, shadows bit in CLC1GLS0bits
14861 #define D3N CLC1GLS0bits.D3N // bit 4, shadows bit in CLC1GLS0bits
14862 #define LC1G1D3T CLC1GLS0bits.LC1G1D3T // bit 5, shadows bit in CLC1GLS0bits
14863 #define D3T CLC1GLS0bits.D3T // bit 5, shadows bit in CLC1GLS0bits
14864 #define LC1G1D4N CLC1GLS0bits.LC1G1D4N // bit 6, shadows bit in CLC1GLS0bits
14865 #define D4N CLC1GLS0bits.D4N // bit 6, shadows bit in CLC1GLS0bits
14866 #define LC1G1D4T CLC1GLS0bits.LC1G1D4T // bit 7, shadows bit in CLC1GLS0bits
14867 #define D4T CLC1GLS0bits.D4T // bit 7, shadows bit in CLC1GLS0bits
14869 #define LC1G4D1N CLC1GLS3bits.LC1G4D1N // bit 0, shadows bit in CLC1GLS3bits
14870 #define G4D1N CLC1GLS3bits.G4D1N // bit 0, shadows bit in CLC1GLS3bits
14871 #define LC1G4D1T CLC1GLS3bits.LC1G4D1T // bit 1, shadows bit in CLC1GLS3bits
14872 #define G4D1T CLC1GLS3bits.G4D1T // bit 1, shadows bit in CLC1GLS3bits
14873 #define LC1G4D2N CLC1GLS3bits.LC1G4D2N // bit 2, shadows bit in CLC1GLS3bits
14874 #define G4D2N CLC1GLS3bits.G4D2N // bit 2, shadows bit in CLC1GLS3bits
14875 #define LC1G4D2T CLC1GLS3bits.LC1G4D2T // bit 3, shadows bit in CLC1GLS3bits
14876 #define G4D2T CLC1GLS3bits.G4D2T // bit 3, shadows bit in CLC1GLS3bits
14877 #define LC1G4D3N CLC1GLS3bits.LC1G4D3N // bit 4, shadows bit in CLC1GLS3bits
14878 #define G4D3N CLC1GLS3bits.G4D3N // bit 4, shadows bit in CLC1GLS3bits
14879 #define LC1G4D3T CLC1GLS3bits.LC1G4D3T // bit 5, shadows bit in CLC1GLS3bits
14880 #define G4D3T CLC1GLS3bits.G4D3T // bit 5, shadows bit in CLC1GLS3bits
14881 #define LC1G4D4N CLC1GLS3bits.LC1G4D4N // bit 6, shadows bit in CLC1GLS3bits
14882 #define G4D4N CLC1GLS3bits.G4D4N // bit 6, shadows bit in CLC1GLS3bits
14883 #define LC1G4D4T CLC1GLS3bits.LC1G4D4T // bit 7, shadows bit in CLC1GLS3bits
14884 #define G4D4T CLC1GLS3bits.G4D4T // bit 7, shadows bit in CLC1GLS3bits
14886 #define LC1D1S0 CLC1SEL0bits.LC1D1S0 // bit 0, shadows bit in CLC1SEL0bits
14887 #define D1S0 CLC1SEL0bits.D1S0 // bit 0, shadows bit in CLC1SEL0bits
14888 #define LC1D1S1 CLC1SEL0bits.LC1D1S1 // bit 1, shadows bit in CLC1SEL0bits
14889 #define D1S1 CLC1SEL0bits.D1S1 // bit 1, shadows bit in CLC1SEL0bits
14890 #define LC1D1S2 CLC1SEL0bits.LC1D1S2 // bit 2, shadows bit in CLC1SEL0bits
14891 #define D1S2 CLC1SEL0bits.D1S2 // bit 2, shadows bit in CLC1SEL0bits
14892 #define LC1D1S3 CLC1SEL0bits.LC1D1S3 // bit 3, shadows bit in CLC1SEL0bits
14893 #define D1S3 CLC1SEL0bits.D1S3 // bit 3, shadows bit in CLC1SEL0bits
14894 #define LC1D1S4 CLC1SEL0bits.LC1D1S4 // bit 4, shadows bit in CLC1SEL0bits
14895 #define D1S4 CLC1SEL0bits.D1S4 // bit 4, shadows bit in CLC1SEL0bits
14896 #define LC1D1S5 CLC1SEL0bits.LC1D1S5 // bit 5, shadows bit in CLC1SEL0bits
14897 #define D1S5 CLC1SEL0bits.D1S5 // bit 5, shadows bit in CLC1SEL0bits
14899 #define LC1D2S0 CLC1SEL1bits.LC1D2S0 // bit 0, shadows bit in CLC1SEL1bits
14900 #define D2S0 CLC1SEL1bits.D2S0 // bit 0, shadows bit in CLC1SEL1bits
14901 #define LC1D2S1 CLC1SEL1bits.LC1D2S1 // bit 1, shadows bit in CLC1SEL1bits
14902 #define D2S1 CLC1SEL1bits.D2S1 // bit 1, shadows bit in CLC1SEL1bits
14903 #define LC1D2S2 CLC1SEL1bits.LC1D2S2 // bit 2, shadows bit in CLC1SEL1bits
14904 #define D2S2 CLC1SEL1bits.D2S2 // bit 2, shadows bit in CLC1SEL1bits
14905 #define LC1D2S3 CLC1SEL1bits.LC1D2S3 // bit 3, shadows bit in CLC1SEL1bits
14906 #define D2S3 CLC1SEL1bits.D2S3 // bit 3, shadows bit in CLC1SEL1bits
14907 #define LC1D2S4 CLC1SEL1bits.LC1D2S4 // bit 4, shadows bit in CLC1SEL1bits
14908 #define D2S4 CLC1SEL1bits.D2S4 // bit 4, shadows bit in CLC1SEL1bits
14909 #define LC1D2S5 CLC1SEL1bits.LC1D2S5 // bit 5, shadows bit in CLC1SEL1bits
14910 #define D2S5 CLC1SEL1bits.D2S5 // bit 5, shadows bit in CLC1SEL1bits
14912 #define LC1D3S0 CLC1SEL2bits.LC1D3S0 // bit 0, shadows bit in CLC1SEL2bits
14913 #define D3S0 CLC1SEL2bits.D3S0 // bit 0, shadows bit in CLC1SEL2bits
14914 #define LC1D3S1 CLC1SEL2bits.LC1D3S1 // bit 1, shadows bit in CLC1SEL2bits
14915 #define D3S1 CLC1SEL2bits.D3S1 // bit 1, shadows bit in CLC1SEL2bits
14916 #define LC1D3S2 CLC1SEL2bits.LC1D3S2 // bit 2, shadows bit in CLC1SEL2bits
14917 #define D3S2 CLC1SEL2bits.D3S2 // bit 2, shadows bit in CLC1SEL2bits
14918 #define LC1D3S3 CLC1SEL2bits.LC1D3S3 // bit 3, shadows bit in CLC1SEL2bits
14919 #define D3S3 CLC1SEL2bits.D3S3 // bit 3, shadows bit in CLC1SEL2bits
14920 #define LC1D3S4 CLC1SEL2bits.LC1D3S4 // bit 4, shadows bit in CLC1SEL2bits
14921 #define D3S4 CLC1SEL2bits.D3S4 // bit 4, shadows bit in CLC1SEL2bits
14922 #define LC1D3S5 CLC1SEL2bits.LC1D3S5 // bit 5, shadows bit in CLC1SEL2bits
14923 #define D3S5 CLC1SEL2bits.D3S5 // bit 5, shadows bit in CLC1SEL2bits
14925 #define LC1D4S0 CLC1SEL3bits.LC1D4S0 // bit 0, shadows bit in CLC1SEL3bits
14926 #define D4S0 CLC1SEL3bits.D4S0 // bit 0, shadows bit in CLC1SEL3bits
14927 #define LC1D4S1 CLC1SEL3bits.LC1D4S1 // bit 1, shadows bit in CLC1SEL3bits
14928 #define D4S1 CLC1SEL3bits.D4S1 // bit 1, shadows bit in CLC1SEL3bits
14929 #define LC1D4S2 CLC1SEL3bits.LC1D4S2 // bit 2, shadows bit in CLC1SEL3bits
14930 #define D4S2 CLC1SEL3bits.D4S2 // bit 2, shadows bit in CLC1SEL3bits
14931 #define LC1D4S3 CLC1SEL3bits.LC1D4S3 // bit 3, shadows bit in CLC1SEL3bits
14932 #define D4S3 CLC1SEL3bits.D4S3 // bit 3, shadows bit in CLC1SEL3bits
14933 #define LC1D4S4 CLC1SEL3bits.LC1D4S4 // bit 4, shadows bit in CLC1SEL3bits
14934 #define D4S4 CLC1SEL3bits.D4S4 // bit 4, shadows bit in CLC1SEL3bits
14935 #define LC1D4S5 CLC1SEL3bits.LC1D4S5 // bit 5, shadows bit in CLC1SEL3bits
14936 #define D4S5 CLC1SEL3bits.D4S5 // bit 5, shadows bit in CLC1SEL3bits
14938 #define MLC1OUT CLCDATAbits.MLC1OUT // bit 0
14939 #define MLC2OUT CLCDATAbits.MLC2OUT // bit 1
14941 #define CLCIN0PPS0 CLCIN0PPSbits.CLCIN0PPS0 // bit 0
14942 #define CLCIN0PPS1 CLCIN0PPSbits.CLCIN0PPS1 // bit 1
14943 #define CLCIN0PPS2 CLCIN0PPSbits.CLCIN0PPS2 // bit 2
14944 #define CLCIN0PPS3 CLCIN0PPSbits.CLCIN0PPS3 // bit 3
14945 #define CLCIN0PPS4 CLCIN0PPSbits.CLCIN0PPS4 // bit 4
14947 #define CLCIN1PPS0 CLCIN1PPSbits.CLCIN1PPS0 // bit 0
14948 #define CLCIN1PPS1 CLCIN1PPSbits.CLCIN1PPS1 // bit 1
14949 #define CLCIN1PPS2 CLCIN1PPSbits.CLCIN1PPS2 // bit 2
14950 #define CLCIN1PPS3 CLCIN1PPSbits.CLCIN1PPS3 // bit 3
14951 #define CLCIN1PPS4 CLCIN1PPSbits.CLCIN1PPS4 // bit 4
14953 #define CLCIN2PPS0 CLCIN2PPSbits.CLCIN2PPS0 // bit 0
14954 #define CLCIN2PPS1 CLCIN2PPSbits.CLCIN2PPS1 // bit 1
14955 #define CLCIN2PPS2 CLCIN2PPSbits.CLCIN2PPS2 // bit 2
14956 #define CLCIN2PPS3 CLCIN2PPSbits.CLCIN2PPS3 // bit 3
14957 #define CLCIN2PPS4 CLCIN2PPSbits.CLCIN2PPS4 // bit 4
14959 #define CLCIN3PPS0 CLCIN3PPSbits.CLCIN3PPS0 // bit 0
14960 #define CLCIN3PPS1 CLCIN3PPSbits.CLCIN3PPS1 // bit 1
14961 #define CLCIN3PPS2 CLCIN3PPSbits.CLCIN3PPS2 // bit 2
14962 #define CLCIN3PPS3 CLCIN3PPSbits.CLCIN3PPS3 // bit 3
14963 #define CLCIN3PPS4 CLCIN3PPSbits.CLCIN3PPS4 // bit 4
14965 #define C1SYNC CM1CON0bits.C1SYNC // bit 0
14966 #define C1HYS CM1CON0bits.C1HYS // bit 1
14967 #define C1SP CM1CON0bits.C1SP // bit 2
14968 #define C1POL CM1CON0bits.C1POL // bit 4
14969 #define C1OUT CM1CON0bits.C1OUT // bit 6
14970 #define C1ON CM1CON0bits.C1ON // bit 7
14972 #define C1NCH0 CM1CON1bits.C1NCH0 // bit 0
14973 #define C1NCH1 CM1CON1bits.C1NCH1 // bit 1
14974 #define C1NCH2 CM1CON1bits.C1NCH2 // bit 2
14975 #define C1PCH0 CM1CON1bits.C1PCH0 // bit 4
14976 #define C1PCH1 CM1CON1bits.C1PCH1 // bit 5
14977 #define C1INTN CM1CON1bits.C1INTN // bit 6
14978 #define C1INTP CM1CON1bits.C1INTP // bit 7
14980 #define C2SYNC CM2CON0bits.C2SYNC // bit 0
14981 #define C2HYS CM2CON0bits.C2HYS // bit 1
14982 #define C2SP CM2CON0bits.C2SP // bit 2
14983 #define C2POL CM2CON0bits.C2POL // bit 4
14984 #define C2OUT CM2CON0bits.C2OUT // bit 6
14985 #define C2ON CM2CON0bits.C2ON // bit 7
14987 #define C2NCH0 CM2CON1bits.C2NCH0 // bit 0
14988 #define C2NCH1 CM2CON1bits.C2NCH1 // bit 1
14989 #define C2NCH2 CM2CON1bits.C2NCH2 // bit 2
14990 #define C2PCH0 CM2CON1bits.C2PCH0 // bit 4
14991 #define C2PCH1 CM2CON1bits.C2PCH1 // bit 5
14992 #define C2INTN CM2CON1bits.C2INTN // bit 6
14993 #define C2INTP CM2CON1bits.C2INTP // bit 7
14995 #define MC1OUT CMOUTbits.MC1OUT // bit 0
14996 #define MC2OUT CMOUTbits.MC2OUT // bit 1
14998 #define ACC8 CRCACCHbits.ACC8 // bit 0, shadows bit in CRCACCHbits
14999 #define CRCACC8 CRCACCHbits.CRCACC8 // bit 0, shadows bit in CRCACCHbits
15000 #define ACC9 CRCACCHbits.ACC9 // bit 1, shadows bit in CRCACCHbits
15001 #define CRCACC9 CRCACCHbits.CRCACC9 // bit 1, shadows bit in CRCACCHbits
15002 #define ACC10 CRCACCHbits.ACC10 // bit 2, shadows bit in CRCACCHbits
15003 #define CRCACC10 CRCACCHbits.CRCACC10 // bit 2, shadows bit in CRCACCHbits
15004 #define ACC11 CRCACCHbits.ACC11 // bit 3, shadows bit in CRCACCHbits
15005 #define CRCACC11 CRCACCHbits.CRCACC11 // bit 3, shadows bit in CRCACCHbits
15006 #define ACC12 CRCACCHbits.ACC12 // bit 4, shadows bit in CRCACCHbits
15007 #define CRCACC12 CRCACCHbits.CRCACC12 // bit 4, shadows bit in CRCACCHbits
15008 #define ACC13 CRCACCHbits.ACC13 // bit 5, shadows bit in CRCACCHbits
15009 #define CRCACC13 CRCACCHbits.CRCACC13 // bit 5, shadows bit in CRCACCHbits
15010 #define ACC14 CRCACCHbits.ACC14 // bit 6, shadows bit in CRCACCHbits
15011 #define CRCACC14 CRCACCHbits.CRCACC14 // bit 6, shadows bit in CRCACCHbits
15012 #define ACC15 CRCACCHbits.ACC15 // bit 7, shadows bit in CRCACCHbits
15013 #define CRCACC15 CRCACCHbits.CRCACC15 // bit 7, shadows bit in CRCACCHbits
15015 #define ACC0 CRCACCLbits.ACC0 // bit 0, shadows bit in CRCACCLbits
15016 #define CRCACC0 CRCACCLbits.CRCACC0 // bit 0, shadows bit in CRCACCLbits
15017 #define ACC1 CRCACCLbits.ACC1 // bit 1, shadows bit in CRCACCLbits
15018 #define CRCACC1 CRCACCLbits.CRCACC1 // bit 1, shadows bit in CRCACCLbits
15019 #define ACC2 CRCACCLbits.ACC2 // bit 2, shadows bit in CRCACCLbits
15020 #define CRCACC2 CRCACCLbits.CRCACC2 // bit 2, shadows bit in CRCACCLbits
15021 #define ACC3 CRCACCLbits.ACC3 // bit 3, shadows bit in CRCACCLbits
15022 #define CRCACC3 CRCACCLbits.CRCACC3 // bit 3, shadows bit in CRCACCLbits
15023 #define ACC4 CRCACCLbits.ACC4 // bit 4, shadows bit in CRCACCLbits
15024 #define CRCACC4 CRCACCLbits.CRCACC4 // bit 4, shadows bit in CRCACCLbits
15025 #define ACC5 CRCACCLbits.ACC5 // bit 5, shadows bit in CRCACCLbits
15026 #define CRCACC5 CRCACCLbits.CRCACC5 // bit 5, shadows bit in CRCACCLbits
15027 #define ACC6 CRCACCLbits.ACC6 // bit 6, shadows bit in CRCACCLbits
15028 #define CRCACC6 CRCACCLbits.CRCACC6 // bit 6, shadows bit in CRCACCLbits
15029 #define ACC7 CRCACCLbits.ACC7 // bit 7, shadows bit in CRCACCLbits
15030 #define CRCACC7 CRCACCLbits.CRCACC7 // bit 7, shadows bit in CRCACCLbits
15032 #define PLEN0 CRCCON1bits.PLEN0 // bit 0, shadows bit in CRCCON1bits
15033 #define CRCPLEN0 CRCCON1bits.CRCPLEN0 // bit 0, shadows bit in CRCCON1bits
15034 #define PLEN1 CRCCON1bits.PLEN1 // bit 1, shadows bit in CRCCON1bits
15035 #define CRCPLEN1 CRCCON1bits.CRCPLEN1 // bit 1, shadows bit in CRCCON1bits
15036 #define PLEN2 CRCCON1bits.PLEN2 // bit 2, shadows bit in CRCCON1bits
15037 #define CRCPLEN2 CRCCON1bits.CRCPLEN2 // bit 2, shadows bit in CRCCON1bits
15038 #define PLEN3 CRCCON1bits.PLEN3 // bit 3, shadows bit in CRCCON1bits
15039 #define CRCPLEN3 CRCCON1bits.CRCPLEN3 // bit 3, shadows bit in CRCCON1bits
15040 #define DLEN0 CRCCON1bits.DLEN0 // bit 4, shadows bit in CRCCON1bits
15041 #define CRCDLEN0 CRCCON1bits.CRCDLEN0 // bit 4, shadows bit in CRCCON1bits
15042 #define DLEN1 CRCCON1bits.DLEN1 // bit 5, shadows bit in CRCCON1bits
15043 #define CRCDLEN1 CRCCON1bits.CRCDLEN1 // bit 5, shadows bit in CRCCON1bits
15044 #define DLEN2 CRCCON1bits.DLEN2 // bit 6, shadows bit in CRCCON1bits
15045 #define CRCDLEN2 CRCCON1bits.CRCDLEN2 // bit 6, shadows bit in CRCCON1bits
15046 #define DLEN3 CRCCON1bits.DLEN3 // bit 7, shadows bit in CRCCON1bits
15047 #define CRCDLEN3 CRCCON1bits.CRCDLEN3 // bit 7, shadows bit in CRCCON1bits
15049 #define DAT8 CRCDATHbits.DAT8 // bit 0, shadows bit in CRCDATHbits
15050 #define CRCDAT8 CRCDATHbits.CRCDAT8 // bit 0, shadows bit in CRCDATHbits
15051 #define DAT9 CRCDATHbits.DAT9 // bit 1, shadows bit in CRCDATHbits
15052 #define CRCDAT9 CRCDATHbits.CRCDAT9 // bit 1, shadows bit in CRCDATHbits
15053 #define DAT10 CRCDATHbits.DAT10 // bit 2, shadows bit in CRCDATHbits
15054 #define CRCDAT10 CRCDATHbits.CRCDAT10 // bit 2, shadows bit in CRCDATHbits
15055 #define DAT11 CRCDATHbits.DAT11 // bit 3, shadows bit in CRCDATHbits
15056 #define CRCDAT11 CRCDATHbits.CRCDAT11 // bit 3, shadows bit in CRCDATHbits
15057 #define DAT12 CRCDATHbits.DAT12 // bit 4, shadows bit in CRCDATHbits
15058 #define CRCDAT12 CRCDATHbits.CRCDAT12 // bit 4, shadows bit in CRCDATHbits
15059 #define DAT13 CRCDATHbits.DAT13 // bit 5, shadows bit in CRCDATHbits
15060 #define CRCDAT13 CRCDATHbits.CRCDAT13 // bit 5, shadows bit in CRCDATHbits
15061 #define DAT14 CRCDATHbits.DAT14 // bit 6, shadows bit in CRCDATHbits
15062 #define CRCDAT14 CRCDATHbits.CRCDAT14 // bit 6, shadows bit in CRCDATHbits
15063 #define DAT15 CRCDATHbits.DAT15 // bit 7, shadows bit in CRCDATHbits
15064 #define CRCDAT15 CRCDATHbits.CRCDAT15 // bit 7, shadows bit in CRCDATHbits
15066 #define DAT0 CRCDATLbits.DAT0 // bit 0, shadows bit in CRCDATLbits
15067 #define CRCDAT0 CRCDATLbits.CRCDAT0 // bit 0, shadows bit in CRCDATLbits
15068 #define DAT1 CRCDATLbits.DAT1 // bit 1, shadows bit in CRCDATLbits
15069 #define CRCDAT1 CRCDATLbits.CRCDAT1 // bit 1, shadows bit in CRCDATLbits
15070 #define DAT2 CRCDATLbits.DAT2 // bit 2, shadows bit in CRCDATLbits
15071 #define CRCDAT2 CRCDATLbits.CRCDAT2 // bit 2, shadows bit in CRCDATLbits
15072 #define DAT3 CRCDATLbits.DAT3 // bit 3, shadows bit in CRCDATLbits
15073 #define CRCDAT3 CRCDATLbits.CRCDAT3 // bit 3, shadows bit in CRCDATLbits
15074 #define DAT4 CRCDATLbits.DAT4 // bit 4, shadows bit in CRCDATLbits
15075 #define CRCDAT4 CRCDATLbits.CRCDAT4 // bit 4, shadows bit in CRCDATLbits
15076 #define DAT5 CRCDATLbits.DAT5 // bit 5, shadows bit in CRCDATLbits
15077 #define CRCDAT5 CRCDATLbits.CRCDAT5 // bit 5, shadows bit in CRCDATLbits
15078 #define DAT6 CRCDATLbits.DAT6 // bit 6, shadows bit in CRCDATLbits
15079 #define CRCDAT6 CRCDATLbits.CRCDAT6 // bit 6, shadows bit in CRCDATLbits
15080 #define DAT7 CRCDATLbits.DAT7 // bit 7, shadows bit in CRCDATLbits
15081 #define CRDCDAT7 CRCDATLbits.CRDCDAT7 // bit 7, shadows bit in CRCDATLbits
15083 #define SHIFT8 CRCSHIFTHbits.SHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15084 #define CRCSHIFT8 CRCSHIFTHbits.CRCSHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
15085 #define SHIFT9 CRCSHIFTHbits.SHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15086 #define CRCSHIFT9 CRCSHIFTHbits.CRCSHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
15087 #define SHIFT10 CRCSHIFTHbits.SHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15088 #define CRCSHIFT10 CRCSHIFTHbits.CRCSHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
15089 #define SHIFT11 CRCSHIFTHbits.SHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15090 #define CRCSHIFT11 CRCSHIFTHbits.CRCSHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
15091 #define SHIFT12 CRCSHIFTHbits.SHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15092 #define CRCSHIFT12 CRCSHIFTHbits.CRCSHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
15093 #define SHIFT13 CRCSHIFTHbits.SHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15094 #define CRCSHIFT13 CRCSHIFTHbits.CRCSHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
15095 #define SHIFT14 CRCSHIFTHbits.SHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15096 #define CRCSHIFT14 CRCSHIFTHbits.CRCSHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
15097 #define SHIFT15 CRCSHIFTHbits.SHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15098 #define CRCSHIFT15 CRCSHIFTHbits.CRCSHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
15100 #define SHIFT0 CRCSHIFTLbits.SHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15101 #define CRCSHIFT0 CRCSHIFTLbits.CRCSHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
15102 #define SHIFT1 CRCSHIFTLbits.SHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15103 #define CRCSHIFT1 CRCSHIFTLbits.CRCSHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
15104 #define SHIFT2 CRCSHIFTLbits.SHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15105 #define CRCSHIFT2 CRCSHIFTLbits.CRCSHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
15106 #define SHIFT3 CRCSHIFTLbits.SHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15107 #define CRCSHIFT3 CRCSHIFTLbits.CRCSHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
15108 #define SHIFT4 CRCSHIFTLbits.SHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15109 #define CRCSHIFT4 CRCSHIFTLbits.CRCSHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
15110 #define SHIFT5 CRCSHIFTLbits.SHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15111 #define CRCSHIFT5 CRCSHIFTLbits.CRCSHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
15112 #define SHIFT6 CRCSHIFTLbits.SHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15113 #define CRCSHIFT6 CRCSHIFTLbits.CRCSHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
15114 #define SHIFT7 CRCSHIFTLbits.SHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15115 #define CRCSHIFT7 CRCSHIFTLbits.CRCSHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
15117 #define XOR8 CRCXORHbits.XOR8 // bit 0, shadows bit in CRCXORHbits
15118 #define CRCXOR8 CRCXORHbits.CRCXOR8 // bit 0, shadows bit in CRCXORHbits
15119 #define XOR9 CRCXORHbits.XOR9 // bit 1, shadows bit in CRCXORHbits
15120 #define CRCXOR9 CRCXORHbits.CRCXOR9 // bit 1, shadows bit in CRCXORHbits
15121 #define XOR10 CRCXORHbits.XOR10 // bit 2, shadows bit in CRCXORHbits
15122 #define CRCXOR10 CRCXORHbits.CRCXOR10 // bit 2, shadows bit in CRCXORHbits
15123 #define XOR11 CRCXORHbits.XOR11 // bit 3, shadows bit in CRCXORHbits
15124 #define CRCXOR11 CRCXORHbits.CRCXOR11 // bit 3, shadows bit in CRCXORHbits
15125 #define XOR12 CRCXORHbits.XOR12 // bit 4, shadows bit in CRCXORHbits
15126 #define CRCXOR12 CRCXORHbits.CRCXOR12 // bit 4, shadows bit in CRCXORHbits
15127 #define XOR13 CRCXORHbits.XOR13 // bit 5, shadows bit in CRCXORHbits
15128 #define CRCXOR13 CRCXORHbits.CRCXOR13 // bit 5, shadows bit in CRCXORHbits
15129 #define XOR14 CRCXORHbits.XOR14 // bit 6, shadows bit in CRCXORHbits
15130 #define CRCXOR14 CRCXORHbits.CRCXOR14 // bit 6, shadows bit in CRCXORHbits
15131 #define XOR15 CRCXORHbits.XOR15 // bit 7, shadows bit in CRCXORHbits
15132 #define CRCXOR15 CRCXORHbits.CRCXOR15 // bit 7, shadows bit in CRCXORHbits
15134 #define XOR1 CRCXORLbits.XOR1 // bit 1, shadows bit in CRCXORLbits
15135 #define CRCXOR1 CRCXORLbits.CRCXOR1 // bit 1, shadows bit in CRCXORLbits
15136 #define XOR2 CRCXORLbits.XOR2 // bit 2, shadows bit in CRCXORLbits
15137 #define CRCXOR2 CRCXORLbits.CRCXOR2 // bit 2, shadows bit in CRCXORLbits
15138 #define XOR3 CRCXORLbits.XOR3 // bit 3, shadows bit in CRCXORLbits
15139 #define CRCXOR3 CRCXORLbits.CRCXOR3 // bit 3, shadows bit in CRCXORLbits
15140 #define XOR4 CRCXORLbits.XOR4 // bit 4, shadows bit in CRCXORLbits
15141 #define CRCXOR4 CRCXORLbits.CRCXOR4 // bit 4, shadows bit in CRCXORLbits
15142 #define XOR5 CRCXORLbits.XOR5 // bit 5, shadows bit in CRCXORLbits
15143 #define CRCXOR5 CRCXORLbits.CRCXOR5 // bit 5, shadows bit in CRCXORLbits
15144 #define XOR6 CRCXORLbits.XOR6 // bit 6, shadows bit in CRCXORLbits
15145 #define CRCXOR6 CRCXORLbits.CRCXOR6 // bit 6, shadows bit in CRCXORLbits
15146 #define XOR7 CRCXORLbits.XOR7 // bit 7, shadows bit in CRCXORLbits
15147 #define CRCXOR7 CRCXORLbits.CRCXOR7 // bit 7, shadows bit in CRCXORLbits
15149 #define LSAC0 CWG1AS0bits.LSAC0 // bit 2, shadows bit in CWG1AS0bits
15150 #define CWG1LSAC0 CWG1AS0bits.CWG1LSAC0 // bit 2, shadows bit in CWG1AS0bits
15151 #define LSAC1 CWG1AS0bits.LSAC1 // bit 3, shadows bit in CWG1AS0bits
15152 #define CWG1LSAC1 CWG1AS0bits.CWG1LSAC1 // bit 3, shadows bit in CWG1AS0bits
15153 #define LSBD0 CWG1AS0bits.LSBD0 // bit 4, shadows bit in CWG1AS0bits
15154 #define CWG1LSBD0 CWG1AS0bits.CWG1LSBD0 // bit 4, shadows bit in CWG1AS0bits
15155 #define LSBD1 CWG1AS0bits.LSBD1 // bit 5, shadows bit in CWG1AS0bits
15156 #define CWG1LSBD1 CWG1AS0bits.CWG1LSBD1 // bit 5, shadows bit in CWG1AS0bits
15157 #define REN CWG1AS0bits.REN // bit 6, shadows bit in CWG1AS0bits
15158 #define CWG1REN CWG1AS0bits.CWG1REN // bit 6, shadows bit in CWG1AS0bits
15159 #define SHUTDOWN CWG1AS0bits.SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15160 #define CWG1SHUTDOWN CWG1AS0bits.CWG1SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
15162 #define INAS CWG1AS1bits.INAS // bit 0, shadows bit in CWG1AS1bits
15163 #define CWG1INAS CWG1AS1bits.CWG1INAS // bit 0, shadows bit in CWG1AS1bits
15164 #define C1AS CWG1AS1bits.C1AS // bit 1, shadows bit in CWG1AS1bits
15165 #define CWG1C1AS CWG1AS1bits.CWG1C1AS // bit 1, shadows bit in CWG1AS1bits
15166 #define C2AS CWG1AS1bits.C2AS // bit 2, shadows bit in CWG1AS1bits
15167 #define CWG1C2AS CWG1AS1bits.CWG1C2AS // bit 2, shadows bit in CWG1AS1bits
15168 #define TMR2AS CWG1AS1bits.TMR2AS // bit 4, shadows bit in CWG1AS1bits
15169 #define CWG1TMR2AS CWG1AS1bits.CWG1TMR2AS // bit 4, shadows bit in CWG1AS1bits
15170 #define TMR4AS CWG1AS1bits.TMR4AS // bit 5, shadows bit in CWG1AS1bits
15171 #define CWG1TMR4AS CWG1AS1bits.CWG1TMR4AS // bit 5, shadows bit in CWG1AS1bits
15172 #define TMR6AS CWG1AS1bits.TMR6AS // bit 6, shadows bit in CWG1AS1bits
15173 #define CWG1TMR6AS CWG1AS1bits.CWG1TMR6AS // bit 6, shadows bit in CWG1AS1bits
15175 #define POLA CWG1CON1bits.POLA // bit 0, shadows bit in CWG1CON1bits
15176 #define CWG1POLA CWG1CON1bits.CWG1POLA // bit 0, shadows bit in CWG1CON1bits
15177 #define POLB CWG1CON1bits.POLB // bit 1, shadows bit in CWG1CON1bits
15178 #define CWG1POLB CWG1CON1bits.CWG1POLB // bit 1, shadows bit in CWG1CON1bits
15179 #define POLC CWG1CON1bits.POLC // bit 2, shadows bit in CWG1CON1bits
15180 #define CWG1POLC CWG1CON1bits.CWG1POLC // bit 2, shadows bit in CWG1CON1bits
15181 #define POLD CWG1CON1bits.POLD // bit 3, shadows bit in CWG1CON1bits
15182 #define CWG1POLD CWG1CON1bits.CWG1POLD // bit 3, shadows bit in CWG1CON1bits
15183 #define IN CWG1CON1bits.IN // bit 5, shadows bit in CWG1CON1bits
15184 #define CWG1IN CWG1CON1bits.CWG1IN // bit 5, shadows bit in CWG1CON1bits
15186 #define DBF0 CWG1DBFbits.DBF0 // bit 0, shadows bit in CWG1DBFbits
15187 #define CWG1DBF0 CWG1DBFbits.CWG1DBF0 // bit 0, shadows bit in CWG1DBFbits
15188 #define DBF1 CWG1DBFbits.DBF1 // bit 1, shadows bit in CWG1DBFbits
15189 #define CWG1DBF1 CWG1DBFbits.CWG1DBF1 // bit 1, shadows bit in CWG1DBFbits
15190 #define DBF2 CWG1DBFbits.DBF2 // bit 2, shadows bit in CWG1DBFbits
15191 #define CWG1DBF2 CWG1DBFbits.CWG1DBF2 // bit 2, shadows bit in CWG1DBFbits
15192 #define DBF3 CWG1DBFbits.DBF3 // bit 3, shadows bit in CWG1DBFbits
15193 #define CWG1DBF3 CWG1DBFbits.CWG1DBF3 // bit 3, shadows bit in CWG1DBFbits
15194 #define DBF4 CWG1DBFbits.DBF4 // bit 4, shadows bit in CWG1DBFbits
15195 #define CWG1DBF4 CWG1DBFbits.CWG1DBF4 // bit 4, shadows bit in CWG1DBFbits
15196 #define DBF5 CWG1DBFbits.DBF5 // bit 5, shadows bit in CWG1DBFbits
15197 #define CWG1DBF5 CWG1DBFbits.CWG1DBF5 // bit 5, shadows bit in CWG1DBFbits
15199 #define DBR0 CWG1DBRbits.DBR0 // bit 0, shadows bit in CWG1DBRbits
15200 #define CWG1DBR0 CWG1DBRbits.CWG1DBR0 // bit 0, shadows bit in CWG1DBRbits
15201 #define DBR1 CWG1DBRbits.DBR1 // bit 1, shadows bit in CWG1DBRbits
15202 #define CWG1DBR1 CWG1DBRbits.CWG1DBR1 // bit 1, shadows bit in CWG1DBRbits
15203 #define DBR2 CWG1DBRbits.DBR2 // bit 2, shadows bit in CWG1DBRbits
15204 #define CWG1DBR2 CWG1DBRbits.CWG1DBR2 // bit 2, shadows bit in CWG1DBRbits
15205 #define DBR3 CWG1DBRbits.DBR3 // bit 3, shadows bit in CWG1DBRbits
15206 #define CWG1DBR3 CWG1DBRbits.CWG1DBR3 // bit 3, shadows bit in CWG1DBRbits
15207 #define DBR4 CWG1DBRbits.DBR4 // bit 4, shadows bit in CWG1DBRbits
15208 #define CWG1DBR4 CWG1DBRbits.CWG1DBR4 // bit 4, shadows bit in CWG1DBRbits
15209 #define DBR5 CWG1DBRbits.DBR5 // bit 5, shadows bit in CWG1DBRbits
15210 #define CWG1DBR5 CWG1DBRbits.CWG1DBR5 // bit 5, shadows bit in CWG1DBRbits
15212 #define IS0 CWG1ISMbits.IS0 // bit 0, shadows bit in CWG1ISMbits
15213 #define CWG1IS0 CWG1ISMbits.CWG1IS0 // bit 0, shadows bit in CWG1ISMbits
15214 #define IS1 CWG1ISMbits.IS1 // bit 1, shadows bit in CWG1ISMbits
15215 #define CWG1IS1 CWG1ISMbits.CWG1IS1 // bit 1, shadows bit in CWG1ISMbits
15216 #define IS2 CWG1ISMbits.IS2 // bit 2, shadows bit in CWG1ISMbits
15217 #define CWG1IS2 CWG1ISMbits.CWG1IS2 // bit 2, shadows bit in CWG1ISMbits
15218 #define IS3 CWG1ISMbits.IS3 // bit 3, shadows bit in CWG1ISMbits
15219 #define CWG1IS3 CWG1ISMbits.CWG1IS3 // bit 3, shadows bit in CWG1ISMbits
15221 #define STRA CWG1OCON0bits.STRA // bit 0, shadows bit in CWG1OCON0bits
15222 #define CWG1STRA CWG1OCON0bits.CWG1STRA // bit 0, shadows bit in CWG1OCON0bits
15223 #define STRB CWG1OCON0bits.STRB // bit 1, shadows bit in CWG1OCON0bits
15224 #define CWG1STRB CWG1OCON0bits.CWG1STRB // bit 1, shadows bit in CWG1OCON0bits
15225 #define STRC CWG1OCON0bits.STRC // bit 2, shadows bit in CWG1OCON0bits
15226 #define CWG1STRC CWG1OCON0bits.CWG1STRC // bit 2, shadows bit in CWG1OCON0bits
15227 #define STRD CWG1OCON0bits.STRD // bit 3, shadows bit in CWG1OCON0bits
15228 #define CWG1STRD CWG1OCON0bits.CWG1STRD // bit 3, shadows bit in CWG1OCON0bits
15229 #define OVRA CWG1OCON0bits.OVRA // bit 4, shadows bit in CWG1OCON0bits
15230 #define CWG1OVRA CWG1OCON0bits.CWG1OVRA // bit 4, shadows bit in CWG1OCON0bits
15231 #define OVRB CWG1OCON0bits.OVRB // bit 5, shadows bit in CWG1OCON0bits
15232 #define CWG1OVRB CWG1OCON0bits.CWG1OVRB // bit 5, shadows bit in CWG1OCON0bits
15233 #define OVRC CWG1OCON0bits.OVRC // bit 6, shadows bit in CWG1OCON0bits
15234 #define CWG1OVRC CWG1OCON0bits.CWG1OVRC // bit 6, shadows bit in CWG1OCON0bits
15235 #define OVRD CWG1OCON0bits.OVRD // bit 7, shadows bit in CWG1OCON0bits
15236 #define CWG1OVRD CWG1OCON0bits.CWG1OVRD // bit 7, shadows bit in CWG1OCON0bits
15238 #define CWGINPPS0 CWGINPPSbits.CWGINPPS0 // bit 0
15239 #define CWGINPPS1 CWGINPPSbits.CWGINPPS1 // bit 1
15240 #define CWGINPPS2 CWGINPPSbits.CWGINPPS2 // bit 2
15241 #define CWGINPPS3 CWGINPPSbits.CWGINPPS3 // bit 3
15242 #define CWGINPPS4 CWGINPPSbits.CWGINPPS4 // bit 4
15244 #define D1PSS0 DAC1CON0bits.D1PSS0 // bit 2
15245 #define D1PSS1 DAC1CON0bits.D1PSS1 // bit 3
15246 #define DAC1OE DAC1CON0bits.DAC1OE // bit 5
15247 #define DAC1EN DAC1CON0bits.DAC1EN // bit 7
15249 #define DAC1R0 DAC1CON1bits.DAC1R0 // bit 0
15250 #define DAC1R1 DAC1CON1bits.DAC1R1 // bit 1
15251 #define DAC1R2 DAC1CON1bits.DAC1R2 // bit 2
15252 #define DAC1R3 DAC1CON1bits.DAC1R3 // bit 3
15253 #define DAC1R4 DAC1CON1bits.DAC1R4 // bit 4
15254 #define DAC1R5 DAC1CON1bits.DAC1R5 // bit 5
15255 #define DAC1R6 DAC1CON1bits.DAC1R6 // bit 6
15256 #define DAC1R7 DAC1CON1bits.DAC1R7 // bit 7
15258 #define ADFVR0 FVRCONbits.ADFVR0 // bit 0
15259 #define ADFVR1 FVRCONbits.ADFVR1 // bit 1
15260 #define CDAFVR0 FVRCONbits.CDAFVR0 // bit 2
15261 #define CDAFVR1 FVRCONbits.CDAFVR1 // bit 3
15262 #define TSRNG FVRCONbits.TSRNG // bit 4
15263 #define TSEN FVRCONbits.TSEN // bit 5
15264 #define FVRRDY FVRCONbits.FVRRDY // bit 6
15265 #define FVREN FVRCONbits.FVREN // bit 7
15267 #define HIDC4 HIDRVCbits.HIDC4 // bit 4
15268 #define HIDC5 HIDRVCbits.HIDC5 // bit 5
15270 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
15271 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
15272 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
15273 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
15274 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
15275 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
15277 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
15278 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
15279 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
15280 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
15281 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
15282 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
15284 #define IOCIF INTCONbits.IOCIF // bit 0
15285 #define INTF INTCONbits.INTF // bit 1
15286 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
15287 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
15288 #define IOCIE INTCONbits.IOCIE // bit 3
15289 #define INTE INTCONbits.INTE // bit 4
15290 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
15291 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
15292 #define PEIE INTCONbits.PEIE // bit 6
15293 #define GIE INTCONbits.GIE // bit 7
15295 #define INTPPS0 INTPPSbits.INTPPS0 // bit 0
15296 #define INTPPS1 INTPPSbits.INTPPS1 // bit 1
15297 #define INTPPS2 INTPPSbits.INTPPS2 // bit 2
15298 #define INTPPS3 INTPPSbits.INTPPS3 // bit 3
15299 #define INTPPS4 INTPPSbits.INTPPS4 // bit 4
15301 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
15302 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
15303 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
15304 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
15305 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
15306 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
15308 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
15309 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
15310 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
15311 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
15312 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
15313 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
15315 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
15316 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
15317 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
15318 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
15319 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
15320 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
15322 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
15323 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
15324 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
15325 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
15326 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
15327 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
15329 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
15330 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
15331 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
15332 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
15333 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
15334 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
15336 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
15337 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
15338 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
15339 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
15340 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
15341 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
15343 #define LATA0 LATAbits.LATA0 // bit 0
15344 #define LATA1 LATAbits.LATA1 // bit 1
15345 #define LATA2 LATAbits.LATA2 // bit 2
15346 #define LATA3 LATAbits.LATA3 // bit 3
15347 #define LATA4 LATAbits.LATA4 // bit 4
15348 #define LATA5 LATAbits.LATA5 // bit 5
15350 #define LATC0 LATCbits.LATC0 // bit 0
15351 #define LATC1 LATCbits.LATC1 // bit 1
15352 #define LATC2 LATCbits.LATC2 // bit 2
15353 #define LATC3 LATCbits.LATC3 // bit 3
15354 #define LATC4 LATCbits.LATC4 // bit 4
15355 #define LATC5 LATCbits.LATC5 // bit 5
15357 #define ODA0 ODCONAbits.ODA0 // bit 0
15358 #define ODA1 ODCONAbits.ODA1 // bit 1
15359 #define ODA2 ODCONAbits.ODA2 // bit 2
15360 #define ODA4 ODCONAbits.ODA4 // bit 4
15361 #define ODA5 ODCONAbits.ODA5 // bit 5
15363 #define ODC0 ODCONCbits.ODC0 // bit 0
15364 #define ODC1 ODCONCbits.ODC1 // bit 1
15365 #define ODC2 ODCONCbits.ODC2 // bit 2
15366 #define ODC3 ODCONCbits.ODC3 // bit 3
15367 #define ODC4 ODCONCbits.ODC4 // bit 4
15368 #define ODC5 ODCONCbits.ODC5 // bit 5
15370 #define SCS0 OSCCONbits.SCS0 // bit 0
15371 #define SCS1 OSCCONbits.SCS1 // bit 1
15372 #define IRCF0 OSCCONbits.IRCF0 // bit 3
15373 #define IRCF1 OSCCONbits.IRCF1 // bit 4
15374 #define IRCF2 OSCCONbits.IRCF2 // bit 5
15375 #define IRCF3 OSCCONbits.IRCF3 // bit 6
15376 #define SPLLEN OSCCONbits.SPLLEN // bit 7
15378 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
15379 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
15380 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
15381 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
15382 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
15383 #define PLLR OSCSTATbits.PLLR // bit 6
15385 #define TUN0 OSCTUNEbits.TUN0 // bit 0
15386 #define TUN1 OSCTUNEbits.TUN1 // bit 1
15387 #define TUN2 OSCTUNEbits.TUN2 // bit 2
15388 #define TUN3 OSCTUNEbits.TUN3 // bit 3
15389 #define TUN4 OSCTUNEbits.TUN4 // bit 4
15390 #define TUN5 OSCTUNEbits.TUN5 // bit 5
15392 #define NOT_BOR PCONbits.NOT_BOR // bit 0
15393 #define NOT_POR PCONbits.NOT_POR // bit 1
15394 #define NOT_RI PCONbits.NOT_RI // bit 2
15395 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
15396 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
15397 #define NOT_WDTWV PCONbits.NOT_WDTWV // bit 5
15398 #define STKUNF PCONbits.STKUNF // bit 6
15399 #define STKOVF PCONbits.STKOVF // bit 7
15401 #define PID1ACC24 PID1ACCHHbits.PID1ACC24 // bit 0, shadows bit in PID1ACCHHbits
15402 #define ACC24 PID1ACCHHbits.ACC24 // bit 0, shadows bit in PID1ACCHHbits
15403 #define PID1ACC25 PID1ACCHHbits.PID1ACC25 // bit 1, shadows bit in PID1ACCHHbits
15404 #define ACC25 PID1ACCHHbits.ACC25 // bit 1, shadows bit in PID1ACCHHbits
15405 #define PID1ACC26 PID1ACCHHbits.PID1ACC26 // bit 2, shadows bit in PID1ACCHHbits
15406 #define ACC26 PID1ACCHHbits.ACC26 // bit 2, shadows bit in PID1ACCHHbits
15407 #define PID1ACC27 PID1ACCHHbits.PID1ACC27 // bit 3, shadows bit in PID1ACCHHbits
15408 #define ACC27 PID1ACCHHbits.ACC27 // bit 3, shadows bit in PID1ACCHHbits
15409 #define PID1ACC28 PID1ACCHHbits.PID1ACC28 // bit 4, shadows bit in PID1ACCHHbits
15410 #define ACC28 PID1ACCHHbits.ACC28 // bit 4, shadows bit in PID1ACCHHbits
15411 #define PID1ACC29 PID1ACCHHbits.PID1ACC29 // bit 5, shadows bit in PID1ACCHHbits
15412 #define ACC29 PID1ACCHHbits.ACC29 // bit 5, shadows bit in PID1ACCHHbits
15413 #define PID1ACC30 PID1ACCHHbits.PID1ACC30 // bit 6, shadows bit in PID1ACCHHbits
15414 #define ACC30 PID1ACCHHbits.ACC30 // bit 6, shadows bit in PID1ACCHHbits
15415 #define PID1ACC31 PID1ACCHHbits.PID1ACC31 // bit 7, shadows bit in PID1ACCHHbits
15416 #define ACC31 PID1ACCHHbits.ACC31 // bit 7, shadows bit in PID1ACCHHbits
15418 #define PID1ACC16 PID1ACCHLbits.PID1ACC16 // bit 0, shadows bit in PID1ACCHLbits
15419 #define ACC16 PID1ACCHLbits.ACC16 // bit 0, shadows bit in PID1ACCHLbits
15420 #define PID1ACC17 PID1ACCHLbits.PID1ACC17 // bit 1, shadows bit in PID1ACCHLbits
15421 #define ACC17 PID1ACCHLbits.ACC17 // bit 1, shadows bit in PID1ACCHLbits
15422 #define PID1ACC18 PID1ACCHLbits.PID1ACC18 // bit 2, shadows bit in PID1ACCHLbits
15423 #define ACC18 PID1ACCHLbits.ACC18 // bit 2, shadows bit in PID1ACCHLbits
15424 #define PID1ACC19 PID1ACCHLbits.PID1ACC19 // bit 3, shadows bit in PID1ACCHLbits
15425 #define ACC19 PID1ACCHLbits.ACC19 // bit 3, shadows bit in PID1ACCHLbits
15426 #define PID1ACC20 PID1ACCHLbits.PID1ACC20 // bit 4, shadows bit in PID1ACCHLbits
15427 #define ACC20 PID1ACCHLbits.ACC20 // bit 4, shadows bit in PID1ACCHLbits
15428 #define PID1ACC21 PID1ACCHLbits.PID1ACC21 // bit 5, shadows bit in PID1ACCHLbits
15429 #define ACC21 PID1ACCHLbits.ACC21 // bit 5, shadows bit in PID1ACCHLbits
15430 #define PID1ACC22 PID1ACCHLbits.PID1ACC22 // bit 6, shadows bit in PID1ACCHLbits
15431 #define ACC22 PID1ACCHLbits.ACC22 // bit 6, shadows bit in PID1ACCHLbits
15432 #define PID1ACC23 PID1ACCHLbits.PID1ACC23 // bit 7, shadows bit in PID1ACCHLbits
15433 #define ACC23 PID1ACCHLbits.ACC23 // bit 7, shadows bit in PID1ACCHLbits
15435 #define PID1ACC32 PID1ACCUbits.PID1ACC32 // bit 0, shadows bit in PID1ACCUbits
15436 #define ACC32 PID1ACCUbits.ACC32 // bit 0, shadows bit in PID1ACCUbits
15437 #define PID1ACC33 PID1ACCUbits.PID1ACC33 // bit 1, shadows bit in PID1ACCUbits
15438 #define ACC33 PID1ACCUbits.ACC33 // bit 1, shadows bit in PID1ACCUbits
15439 #define PID1ACC34 PID1ACCUbits.PID1ACC34 // bit 2, shadows bit in PID1ACCUbits
15440 #define ACC34 PID1ACCUbits.ACC34 // bit 2, shadows bit in PID1ACCUbits
15442 #define PID1IN8 PID1INHbits.PID1IN8 // bit 0, shadows bit in PID1INHbits
15443 #define IN8 PID1INHbits.IN8 // bit 0, shadows bit in PID1INHbits
15444 #define PID1IN9 PID1INHbits.PID1IN9 // bit 1, shadows bit in PID1INHbits
15445 #define IN9 PID1INHbits.IN9 // bit 1, shadows bit in PID1INHbits
15446 #define PID1IN10 PID1INHbits.PID1IN10 // bit 2, shadows bit in PID1INHbits
15447 #define IN10 PID1INHbits.IN10 // bit 2, shadows bit in PID1INHbits
15448 #define PID1IN11 PID1INHbits.PID1IN11 // bit 3, shadows bit in PID1INHbits
15449 #define IN11 PID1INHbits.IN11 // bit 3, shadows bit in PID1INHbits
15450 #define PID1IN12 PID1INHbits.PID1IN12 // bit 4, shadows bit in PID1INHbits
15451 #define IN12 PID1INHbits.IN12 // bit 4, shadows bit in PID1INHbits
15452 #define PID1IN13 PID1INHbits.PID1IN13 // bit 5, shadows bit in PID1INHbits
15453 #define IN13 PID1INHbits.IN13 // bit 5, shadows bit in PID1INHbits
15454 #define PID1IN14 PID1INHbits.PID1IN14 // bit 6, shadows bit in PID1INHbits
15455 #define IN14 PID1INHbits.IN14 // bit 6, shadows bit in PID1INHbits
15456 #define PID1IN15 PID1INHbits.PID1IN15 // bit 7, shadows bit in PID1INHbits
15457 #define IN15 PID1INHbits.IN15 // bit 7, shadows bit in PID1INHbits
15459 #define PID1IN0 PID1INLbits.PID1IN0 // bit 0, shadows bit in PID1INLbits
15460 #define IN0 PID1INLbits.IN0 // bit 0, shadows bit in PID1INLbits
15461 #define PID1IN1 PID1INLbits.PID1IN1 // bit 1, shadows bit in PID1INLbits
15462 #define IN1 PID1INLbits.IN1 // bit 1, shadows bit in PID1INLbits
15463 #define PID1IN2 PID1INLbits.PID1IN2 // bit 2, shadows bit in PID1INLbits
15464 #define IN2 PID1INLbits.IN2 // bit 2, shadows bit in PID1INLbits
15465 #define PID1IN3 PID1INLbits.PID1IN3 // bit 3, shadows bit in PID1INLbits
15466 #define IN3 PID1INLbits.IN3 // bit 3, shadows bit in PID1INLbits
15467 #define PID1IN4 PID1INLbits.PID1IN4 // bit 4, shadows bit in PID1INLbits
15468 #define IN4 PID1INLbits.IN4 // bit 4, shadows bit in PID1INLbits
15469 #define PID1IN5 PID1INLbits.PID1IN5 // bit 5, shadows bit in PID1INLbits
15470 #define IN5 PID1INLbits.IN5 // bit 5, shadows bit in PID1INLbits
15471 #define PID1IN6 PID1INLbits.PID1IN6 // bit 6, shadows bit in PID1INLbits
15472 #define IN6 PID1INLbits.IN6 // bit 6, shadows bit in PID1INLbits
15473 #define PID1IN7 PID1INLbits.PID1IN7 // bit 7, shadows bit in PID1INLbits
15474 #define IN7 PID1INLbits.IN7 // bit 7, shadows bit in PID1INLbits
15476 #define PID1K18 PID1K1Hbits.PID1K18 // bit 0, shadows bit in PID1K1Hbits
15477 #define K18 PID1K1Hbits.K18 // bit 0, shadows bit in PID1K1Hbits
15478 #define PID1K19 PID1K1Hbits.PID1K19 // bit 1, shadows bit in PID1K1Hbits
15479 #define K19 PID1K1Hbits.K19 // bit 1, shadows bit in PID1K1Hbits
15480 #define PID1K110 PID1K1Hbits.PID1K110 // bit 2, shadows bit in PID1K1Hbits
15481 #define K110 PID1K1Hbits.K110 // bit 2, shadows bit in PID1K1Hbits
15482 #define PID1K111 PID1K1Hbits.PID1K111 // bit 3, shadows bit in PID1K1Hbits
15483 #define K111 PID1K1Hbits.K111 // bit 3, shadows bit in PID1K1Hbits
15484 #define PID1K112 PID1K1Hbits.PID1K112 // bit 4, shadows bit in PID1K1Hbits
15485 #define K112 PID1K1Hbits.K112 // bit 4, shadows bit in PID1K1Hbits
15486 #define PID1K113 PID1K1Hbits.PID1K113 // bit 5, shadows bit in PID1K1Hbits
15487 #define K113 PID1K1Hbits.K113 // bit 5, shadows bit in PID1K1Hbits
15488 #define PID1K114 PID1K1Hbits.PID1K114 // bit 6, shadows bit in PID1K1Hbits
15489 #define K114 PID1K1Hbits.K114 // bit 6, shadows bit in PID1K1Hbits
15490 #define PID1K115 PID1K1Hbits.PID1K115 // bit 7, shadows bit in PID1K1Hbits
15491 #define K115 PID1K1Hbits.K115 // bit 7, shadows bit in PID1K1Hbits
15493 #define PID1K10 PID1K1Lbits.PID1K10 // bit 0, shadows bit in PID1K1Lbits
15494 #define K10 PID1K1Lbits.K10 // bit 0, shadows bit in PID1K1Lbits
15495 #define PID1K11 PID1K1Lbits.PID1K11 // bit 1, shadows bit in PID1K1Lbits
15496 #define K11 PID1K1Lbits.K11 // bit 1, shadows bit in PID1K1Lbits
15497 #define PID1K12 PID1K1Lbits.PID1K12 // bit 2, shadows bit in PID1K1Lbits
15498 #define K12 PID1K1Lbits.K12 // bit 2, shadows bit in PID1K1Lbits
15499 #define PID1K13 PID1K1Lbits.PID1K13 // bit 3, shadows bit in PID1K1Lbits
15500 #define K13 PID1K1Lbits.K13 // bit 3, shadows bit in PID1K1Lbits
15501 #define PID1K14 PID1K1Lbits.PID1K14 // bit 4, shadows bit in PID1K1Lbits
15502 #define K14 PID1K1Lbits.K14 // bit 4, shadows bit in PID1K1Lbits
15503 #define PID1K15 PID1K1Lbits.PID1K15 // bit 5, shadows bit in PID1K1Lbits
15504 #define K15 PID1K1Lbits.K15 // bit 5, shadows bit in PID1K1Lbits
15505 #define PID1K16 PID1K1Lbits.PID1K16 // bit 6, shadows bit in PID1K1Lbits
15506 #define K16 PID1K1Lbits.K16 // bit 6, shadows bit in PID1K1Lbits
15507 #define PID1K17 PID1K1Lbits.PID1K17 // bit 7, shadows bit in PID1K1Lbits
15508 #define K17 PID1K1Lbits.K17 // bit 7, shadows bit in PID1K1Lbits
15510 #define PID1K28 PID1K2Hbits.PID1K28 // bit 0, shadows bit in PID1K2Hbits
15511 #define K28 PID1K2Hbits.K28 // bit 0, shadows bit in PID1K2Hbits
15512 #define PID1K29 PID1K2Hbits.PID1K29 // bit 1, shadows bit in PID1K2Hbits
15513 #define K29 PID1K2Hbits.K29 // bit 1, shadows bit in PID1K2Hbits
15514 #define PID1K210 PID1K2Hbits.PID1K210 // bit 2, shadows bit in PID1K2Hbits
15515 #define K210 PID1K2Hbits.K210 // bit 2, shadows bit in PID1K2Hbits
15516 #define PID1K211 PID1K2Hbits.PID1K211 // bit 3, shadows bit in PID1K2Hbits
15517 #define K211 PID1K2Hbits.K211 // bit 3, shadows bit in PID1K2Hbits
15518 #define PID1K212 PID1K2Hbits.PID1K212 // bit 4, shadows bit in PID1K2Hbits
15519 #define K212 PID1K2Hbits.K212 // bit 4, shadows bit in PID1K2Hbits
15520 #define PID1K213 PID1K2Hbits.PID1K213 // bit 5, shadows bit in PID1K2Hbits
15521 #define K213 PID1K2Hbits.K213 // bit 5, shadows bit in PID1K2Hbits
15522 #define PID1K214 PID1K2Hbits.PID1K214 // bit 6, shadows bit in PID1K2Hbits
15523 #define K214 PID1K2Hbits.K214 // bit 6, shadows bit in PID1K2Hbits
15524 #define PID1K215 PID1K2Hbits.PID1K215 // bit 7, shadows bit in PID1K2Hbits
15525 #define K215 PID1K2Hbits.K215 // bit 7, shadows bit in PID1K2Hbits
15527 #define PID1K20 PID1K2Lbits.PID1K20 // bit 0, shadows bit in PID1K2Lbits
15528 #define K20 PID1K2Lbits.K20 // bit 0, shadows bit in PID1K2Lbits
15529 #define PID1K21 PID1K2Lbits.PID1K21 // bit 1, shadows bit in PID1K2Lbits
15530 #define K21 PID1K2Lbits.K21 // bit 1, shadows bit in PID1K2Lbits
15531 #define PID1K22 PID1K2Lbits.PID1K22 // bit 2, shadows bit in PID1K2Lbits
15532 #define K22 PID1K2Lbits.K22 // bit 2, shadows bit in PID1K2Lbits
15533 #define PID1K23 PID1K2Lbits.PID1K23 // bit 3, shadows bit in PID1K2Lbits
15534 #define K23 PID1K2Lbits.K23 // bit 3, shadows bit in PID1K2Lbits
15535 #define PID1K24 PID1K2Lbits.PID1K24 // bit 4, shadows bit in PID1K2Lbits
15536 #define K24 PID1K2Lbits.K24 // bit 4, shadows bit in PID1K2Lbits
15537 #define PID1K25 PID1K2Lbits.PID1K25 // bit 5, shadows bit in PID1K2Lbits
15538 #define K25 PID1K2Lbits.K25 // bit 5, shadows bit in PID1K2Lbits
15539 #define PID1K26 PID1K2Lbits.PID1K26 // bit 6, shadows bit in PID1K2Lbits
15540 #define K26 PID1K2Lbits.K26 // bit 6, shadows bit in PID1K2Lbits
15541 #define PID1K27 PID1K2Lbits.PID1K27 // bit 7, shadows bit in PID1K2Lbits
15542 #define K27 PID1K2Lbits.K27 // bit 7, shadows bit in PID1K2Lbits
15544 #define PID1K38 PID1K3Hbits.PID1K38 // bit 0, shadows bit in PID1K3Hbits
15545 #define K38 PID1K3Hbits.K38 // bit 0, shadows bit in PID1K3Hbits
15546 #define PID1K39 PID1K3Hbits.PID1K39 // bit 1, shadows bit in PID1K3Hbits
15547 #define K39 PID1K3Hbits.K39 // bit 1, shadows bit in PID1K3Hbits
15548 #define PID1K310 PID1K3Hbits.PID1K310 // bit 2, shadows bit in PID1K3Hbits
15549 #define K310 PID1K3Hbits.K310 // bit 2, shadows bit in PID1K3Hbits
15550 #define PID1K311 PID1K3Hbits.PID1K311 // bit 3, shadows bit in PID1K3Hbits
15551 #define K311 PID1K3Hbits.K311 // bit 3, shadows bit in PID1K3Hbits
15552 #define PID1K312 PID1K3Hbits.PID1K312 // bit 4, shadows bit in PID1K3Hbits
15553 #define K312 PID1K3Hbits.K312 // bit 4, shadows bit in PID1K3Hbits
15554 #define PID1K313 PID1K3Hbits.PID1K313 // bit 5, shadows bit in PID1K3Hbits
15555 #define K313 PID1K3Hbits.K313 // bit 5, shadows bit in PID1K3Hbits
15556 #define PID1K314 PID1K3Hbits.PID1K314 // bit 6, shadows bit in PID1K3Hbits
15557 #define K314 PID1K3Hbits.K314 // bit 6, shadows bit in PID1K3Hbits
15558 #define PID1K315 PID1K3Hbits.PID1K315 // bit 7, shadows bit in PID1K3Hbits
15559 #define K315 PID1K3Hbits.K315 // bit 7, shadows bit in PID1K3Hbits
15561 #define PID1K30 PID1K3Lbits.PID1K30 // bit 0, shadows bit in PID1K3Lbits
15562 #define K30 PID1K3Lbits.K30 // bit 0, shadows bit in PID1K3Lbits
15563 #define PID1K31 PID1K3Lbits.PID1K31 // bit 1, shadows bit in PID1K3Lbits
15564 #define K31 PID1K3Lbits.K31 // bit 1, shadows bit in PID1K3Lbits
15565 #define PID1K32 PID1K3Lbits.PID1K32 // bit 2, shadows bit in PID1K3Lbits
15566 #define K32 PID1K3Lbits.K32 // bit 2, shadows bit in PID1K3Lbits
15567 #define PID1K33 PID1K3Lbits.PID1K33 // bit 3, shadows bit in PID1K3Lbits
15568 #define K33 PID1K3Lbits.K33 // bit 3, shadows bit in PID1K3Lbits
15569 #define PID1K34 PID1K3Lbits.PID1K34 // bit 4, shadows bit in PID1K3Lbits
15570 #define K34 PID1K3Lbits.K34 // bit 4, shadows bit in PID1K3Lbits
15571 #define PID1K35 PID1K3Lbits.PID1K35 // bit 5, shadows bit in PID1K3Lbits
15572 #define K35 PID1K3Lbits.K35 // bit 5, shadows bit in PID1K3Lbits
15573 #define PID1K36 PID1K3Lbits.PID1K36 // bit 6, shadows bit in PID1K3Lbits
15574 #define K36 PID1K3Lbits.K36 // bit 6, shadows bit in PID1K3Lbits
15575 #define PID1K37 PID1K3Lbits.PID1K37 // bit 7, shadows bit in PID1K3Lbits
15576 #define K37 PID1K3Lbits.K37 // bit 7, shadows bit in PID1K3Lbits
15578 #define PID1OUT24 PID1OUTHHbits.PID1OUT24 // bit 0, shadows bit in PID1OUTHHbits
15579 #define OUT24 PID1OUTHHbits.OUT24 // bit 0, shadows bit in PID1OUTHHbits
15580 #define PID1OUT25 PID1OUTHHbits.PID1OUT25 // bit 1, shadows bit in PID1OUTHHbits
15581 #define OUT25 PID1OUTHHbits.OUT25 // bit 1, shadows bit in PID1OUTHHbits
15582 #define PID1OUT26 PID1OUTHHbits.PID1OUT26 // bit 2, shadows bit in PID1OUTHHbits
15583 #define OUT26 PID1OUTHHbits.OUT26 // bit 2, shadows bit in PID1OUTHHbits
15584 #define PID1OUT27 PID1OUTHHbits.PID1OUT27 // bit 3, shadows bit in PID1OUTHHbits
15585 #define OUT27 PID1OUTHHbits.OUT27 // bit 3, shadows bit in PID1OUTHHbits
15586 #define PID1OUT28 PID1OUTHHbits.PID1OUT28 // bit 4, shadows bit in PID1OUTHHbits
15587 #define OUT28 PID1OUTHHbits.OUT28 // bit 4, shadows bit in PID1OUTHHbits
15588 #define PID1OUT29 PID1OUTHHbits.PID1OUT29 // bit 5, shadows bit in PID1OUTHHbits
15589 #define OUT29 PID1OUTHHbits.OUT29 // bit 5, shadows bit in PID1OUTHHbits
15590 #define PID1OUT30 PID1OUTHHbits.PID1OUT30 // bit 6, shadows bit in PID1OUTHHbits
15591 #define OUT30 PID1OUTHHbits.OUT30 // bit 6, shadows bit in PID1OUTHHbits
15592 #define PID1OUT31 PID1OUTHHbits.PID1OUT31 // bit 7, shadows bit in PID1OUTHHbits
15593 #define OUT31 PID1OUTHHbits.OUT31 // bit 7, shadows bit in PID1OUTHHbits
15595 #define PID1OUT16 PID1OUTHLbits.PID1OUT16 // bit 0, shadows bit in PID1OUTHLbits
15596 #define OUT16 PID1OUTHLbits.OUT16 // bit 0, shadows bit in PID1OUTHLbits
15597 #define PID1OUT17 PID1OUTHLbits.PID1OUT17 // bit 1, shadows bit in PID1OUTHLbits
15598 #define OUT17 PID1OUTHLbits.OUT17 // bit 1, shadows bit in PID1OUTHLbits
15599 #define PID1OUT18 PID1OUTHLbits.PID1OUT18 // bit 2, shadows bit in PID1OUTHLbits
15600 #define OUT18 PID1OUTHLbits.OUT18 // bit 2, shadows bit in PID1OUTHLbits
15601 #define PID1OUT19 PID1OUTHLbits.PID1OUT19 // bit 3, shadows bit in PID1OUTHLbits
15602 #define OUT19 PID1OUTHLbits.OUT19 // bit 3, shadows bit in PID1OUTHLbits
15603 #define PID1OUT20 PID1OUTHLbits.PID1OUT20 // bit 4, shadows bit in PID1OUTHLbits
15604 #define OUT20 PID1OUTHLbits.OUT20 // bit 4, shadows bit in PID1OUTHLbits
15605 #define PID1OUT21 PID1OUTHLbits.PID1OUT21 // bit 5, shadows bit in PID1OUTHLbits
15606 #define OUT21 PID1OUTHLbits.OUT21 // bit 5, shadows bit in PID1OUTHLbits
15607 #define PID1OUT22 PID1OUTHLbits.PID1OUT22 // bit 6, shadows bit in PID1OUTHLbits
15608 #define OUT22 PID1OUTHLbits.OUT22 // bit 6, shadows bit in PID1OUTHLbits
15609 #define PID1OUT23 PID1OUTHLbits.PID1OUT23 // bit 7, shadows bit in PID1OUTHLbits
15610 #define OUT23 PID1OUTHLbits.OUT23 // bit 7, shadows bit in PID1OUTHLbits
15612 #define PID1OUT8 PID1OUTLHbits.PID1OUT8 // bit 0, shadows bit in PID1OUTLHbits
15613 #define OUT8 PID1OUTLHbits.OUT8 // bit 0, shadows bit in PID1OUTLHbits
15614 #define PID1OUT9 PID1OUTLHbits.PID1OUT9 // bit 1, shadows bit in PID1OUTLHbits
15615 #define OUT9 PID1OUTLHbits.OUT9 // bit 1, shadows bit in PID1OUTLHbits
15616 #define PID1OUT10 PID1OUTLHbits.PID1OUT10 // bit 2, shadows bit in PID1OUTLHbits
15617 #define OUT10 PID1OUTLHbits.OUT10 // bit 2, shadows bit in PID1OUTLHbits
15618 #define PID1OUT11 PID1OUTLHbits.PID1OUT11 // bit 3, shadows bit in PID1OUTLHbits
15619 #define OUT11 PID1OUTLHbits.OUT11 // bit 3, shadows bit in PID1OUTLHbits
15620 #define PID1OUT12 PID1OUTLHbits.PID1OUT12 // bit 4, shadows bit in PID1OUTLHbits
15621 #define OUT12 PID1OUTLHbits.OUT12 // bit 4, shadows bit in PID1OUTLHbits
15622 #define PID1OUT13 PID1OUTLHbits.PID1OUT13 // bit 5, shadows bit in PID1OUTLHbits
15623 #define OUT13 PID1OUTLHbits.OUT13 // bit 5, shadows bit in PID1OUTLHbits
15624 #define PID1OUT14 PID1OUTLHbits.PID1OUT14 // bit 6, shadows bit in PID1OUTLHbits
15625 #define OUT14 PID1OUTLHbits.OUT14 // bit 6, shadows bit in PID1OUTLHbits
15626 #define PID1OUT15 PID1OUTLHbits.PID1OUT15 // bit 7, shadows bit in PID1OUTLHbits
15627 #define OUT15 PID1OUTLHbits.OUT15 // bit 7, shadows bit in PID1OUTLHbits
15629 #define PID1OUT0 PID1OUTLLbits.PID1OUT0 // bit 0, shadows bit in PID1OUTLLbits
15630 #define OUT0 PID1OUTLLbits.OUT0 // bit 0, shadows bit in PID1OUTLLbits
15631 #define PID1OUT1 PID1OUTLLbits.PID1OUT1 // bit 1, shadows bit in PID1OUTLLbits
15632 #define OUT1 PID1OUTLLbits.OUT1 // bit 1, shadows bit in PID1OUTLLbits
15633 #define PID1OUT2 PID1OUTLLbits.PID1OUT2 // bit 2, shadows bit in PID1OUTLLbits
15634 #define OUT2 PID1OUTLLbits.OUT2 // bit 2, shadows bit in PID1OUTLLbits
15635 #define PID1OUT3 PID1OUTLLbits.PID1OUT3 // bit 3, shadows bit in PID1OUTLLbits
15636 #define OUT3 PID1OUTLLbits.OUT3 // bit 3, shadows bit in PID1OUTLLbits
15637 #define PID1OUT4 PID1OUTLLbits.PID1OUT4 // bit 4, shadows bit in PID1OUTLLbits
15638 #define OUT4 PID1OUTLLbits.OUT4 // bit 4, shadows bit in PID1OUTLLbits
15639 #define PID1OUT5 PID1OUTLLbits.PID1OUT5 // bit 5, shadows bit in PID1OUTLLbits
15640 #define OUT5 PID1OUTLLbits.OUT5 // bit 5, shadows bit in PID1OUTLLbits
15641 #define PID1OUT6 PID1OUTLLbits.PID1OUT6 // bit 6, shadows bit in PID1OUTLLbits
15642 #define OUT6 PID1OUTLLbits.OUT6 // bit 6, shadows bit in PID1OUTLLbits
15643 #define PID1OUT7 PID1OUTLLbits.PID1OUT7 // bit 7, shadows bit in PID1OUTLLbits
15644 #define OUT7 PID1OUTLLbits.OUT7 // bit 7, shadows bit in PID1OUTLLbits
15646 #define PID1OUT32 PID1OUTUbits.PID1OUT32 // bit 0, shadows bit in PID1OUTUbits
15647 #define OUT32 PID1OUTUbits.OUT32 // bit 0, shadows bit in PID1OUTUbits
15648 #define PID1OUT33 PID1OUTUbits.PID1OUT33 // bit 1, shadows bit in PID1OUTUbits
15649 #define OUT33 PID1OUTUbits.OUT33 // bit 1, shadows bit in PID1OUTUbits
15650 #define PID1OUT34 PID1OUTUbits.PID1OUT34 // bit 2, shadows bit in PID1OUTUbits
15651 #define OUT34 PID1OUTUbits.OUT34 // bit 2, shadows bit in PID1OUTUbits
15652 #define PID1OUT35 PID1OUTUbits.PID1OUT35 // bit 3, shadows bit in PID1OUTUbits
15653 #define OUT35 PID1OUTUbits.OUT35 // bit 3, shadows bit in PID1OUTUbits
15655 #define PID1SET8 PID1SETHbits.PID1SET8 // bit 0, shadows bit in PID1SETHbits
15656 #define SET8 PID1SETHbits.SET8 // bit 0, shadows bit in PID1SETHbits
15657 #define PID1SET9 PID1SETHbits.PID1SET9 // bit 1, shadows bit in PID1SETHbits
15658 #define SET9 PID1SETHbits.SET9 // bit 1, shadows bit in PID1SETHbits
15659 #define PID1SET10 PID1SETHbits.PID1SET10 // bit 2, shadows bit in PID1SETHbits
15660 #define SET10 PID1SETHbits.SET10 // bit 2, shadows bit in PID1SETHbits
15661 #define PID1SET11 PID1SETHbits.PID1SET11 // bit 3, shadows bit in PID1SETHbits
15662 #define SET11 PID1SETHbits.SET11 // bit 3, shadows bit in PID1SETHbits
15663 #define PID1SET12 PID1SETHbits.PID1SET12 // bit 4, shadows bit in PID1SETHbits
15664 #define SET12 PID1SETHbits.SET12 // bit 4, shadows bit in PID1SETHbits
15665 #define PID1SET13 PID1SETHbits.PID1SET13 // bit 5, shadows bit in PID1SETHbits
15666 #define SET13 PID1SETHbits.SET13 // bit 5, shadows bit in PID1SETHbits
15667 #define PID1SET14 PID1SETHbits.PID1SET14 // bit 6, shadows bit in PID1SETHbits
15668 #define SET14 PID1SETHbits.SET14 // bit 6, shadows bit in PID1SETHbits
15669 #define PID1SET15 PID1SETHbits.PID1SET15 // bit 7, shadows bit in PID1SETHbits
15670 #define SET15 PID1SETHbits.SET15 // bit 7, shadows bit in PID1SETHbits
15672 #define PID1SET0 PID1SETLbits.PID1SET0 // bit 0, shadows bit in PID1SETLbits
15673 #define SET0 PID1SETLbits.SET0 // bit 0, shadows bit in PID1SETLbits
15674 #define PID1SET1 PID1SETLbits.PID1SET1 // bit 1, shadows bit in PID1SETLbits
15675 #define SET1 PID1SETLbits.SET1 // bit 1, shadows bit in PID1SETLbits
15676 #define PID1SET2 PID1SETLbits.PID1SET2 // bit 2, shadows bit in PID1SETLbits
15677 #define SET2 PID1SETLbits.SET2 // bit 2, shadows bit in PID1SETLbits
15678 #define PID1SET3 PID1SETLbits.PID1SET3 // bit 3, shadows bit in PID1SETLbits
15679 #define SET3 PID1SETLbits.SET3 // bit 3, shadows bit in PID1SETLbits
15680 #define PID1SET4 PID1SETLbits.PID1SET4 // bit 4, shadows bit in PID1SETLbits
15681 #define SET4 PID1SETLbits.SET4 // bit 4, shadows bit in PID1SETLbits
15682 #define PID1SET5 PID1SETLbits.PID1SET5 // bit 5, shadows bit in PID1SETLbits
15683 #define SET5 PID1SETLbits.SET5 // bit 5, shadows bit in PID1SETLbits
15684 #define PID1SET6 PID1SETLbits.PID1SET6 // bit 6, shadows bit in PID1SETLbits
15685 #define SET6 PID1SETLbits.SET6 // bit 6, shadows bit in PID1SETLbits
15686 #define PID1SET7 PID1SETLbits.PID1SET7 // bit 7, shadows bit in PID1SETLbits
15687 #define SET7 PID1SETLbits.SET7 // bit 7, shadows bit in PID1SETLbits
15689 #define PID1Z18 PID1Z1Hbits.PID1Z18 // bit 0, shadows bit in PID1Z1Hbits
15690 #define Z18 PID1Z1Hbits.Z18 // bit 0, shadows bit in PID1Z1Hbits
15691 #define PID1Z19 PID1Z1Hbits.PID1Z19 // bit 1, shadows bit in PID1Z1Hbits
15692 #define Z19 PID1Z1Hbits.Z19 // bit 1, shadows bit in PID1Z1Hbits
15693 #define PID1Z110 PID1Z1Hbits.PID1Z110 // bit 2, shadows bit in PID1Z1Hbits
15694 #define Z110 PID1Z1Hbits.Z110 // bit 2, shadows bit in PID1Z1Hbits
15695 #define PID1Z111 PID1Z1Hbits.PID1Z111 // bit 3, shadows bit in PID1Z1Hbits
15696 #define Z111 PID1Z1Hbits.Z111 // bit 3, shadows bit in PID1Z1Hbits
15697 #define PID1Z112 PID1Z1Hbits.PID1Z112 // bit 4, shadows bit in PID1Z1Hbits
15698 #define Z112 PID1Z1Hbits.Z112 // bit 4, shadows bit in PID1Z1Hbits
15699 #define PID1Z113 PID1Z1Hbits.PID1Z113 // bit 5, shadows bit in PID1Z1Hbits
15700 #define Z113 PID1Z1Hbits.Z113 // bit 5, shadows bit in PID1Z1Hbits
15701 #define PID1Z114 PID1Z1Hbits.PID1Z114 // bit 6, shadows bit in PID1Z1Hbits
15702 #define Z114 PID1Z1Hbits.Z114 // bit 6, shadows bit in PID1Z1Hbits
15703 #define PID1Z115 PID1Z1Hbits.PID1Z115 // bit 7, shadows bit in PID1Z1Hbits
15704 #define Z115 PID1Z1Hbits.Z115 // bit 7, shadows bit in PID1Z1Hbits
15706 #define PID1Z10 PID1Z1Lbits.PID1Z10 // bit 0, shadows bit in PID1Z1Lbits
15707 #define Z10 PID1Z1Lbits.Z10 // bit 0, shadows bit in PID1Z1Lbits
15708 #define PID1Z11 PID1Z1Lbits.PID1Z11 // bit 1, shadows bit in PID1Z1Lbits
15709 #define Z11 PID1Z1Lbits.Z11 // bit 1, shadows bit in PID1Z1Lbits
15710 #define PID1Z12 PID1Z1Lbits.PID1Z12 // bit 2, shadows bit in PID1Z1Lbits
15711 #define Z12 PID1Z1Lbits.Z12 // bit 2, shadows bit in PID1Z1Lbits
15712 #define PID1Z13 PID1Z1Lbits.PID1Z13 // bit 3, shadows bit in PID1Z1Lbits
15713 #define Z13 PID1Z1Lbits.Z13 // bit 3, shadows bit in PID1Z1Lbits
15714 #define PID1Z14 PID1Z1Lbits.PID1Z14 // bit 4, shadows bit in PID1Z1Lbits
15715 #define Z14 PID1Z1Lbits.Z14 // bit 4, shadows bit in PID1Z1Lbits
15716 #define PID1Z15 PID1Z1Lbits.PID1Z15 // bit 5, shadows bit in PID1Z1Lbits
15717 #define Z15 PID1Z1Lbits.Z15 // bit 5, shadows bit in PID1Z1Lbits
15718 #define PID1Z16 PID1Z1Lbits.PID1Z16 // bit 6, shadows bit in PID1Z1Lbits
15719 #define Z16 PID1Z1Lbits.Z16 // bit 6, shadows bit in PID1Z1Lbits
15720 #define PID1Z17 PID1Z1Lbits.PID1Z17 // bit 7, shadows bit in PID1Z1Lbits
15721 #define Z17 PID1Z1Lbits.Z17 // bit 7, shadows bit in PID1Z1Lbits
15723 #define PID1Z116 PID1Z1Ubits.PID1Z116 // bit 0, shadows bit in PID1Z1Ubits
15724 #define Z116 PID1Z1Ubits.Z116 // bit 0, shadows bit in PID1Z1Ubits
15726 #define PID1Z28 PID1Z2Hbits.PID1Z28 // bit 0, shadows bit in PID1Z2Hbits
15727 #define Z28 PID1Z2Hbits.Z28 // bit 0, shadows bit in PID1Z2Hbits
15728 #define PID1Z29 PID1Z2Hbits.PID1Z29 // bit 1, shadows bit in PID1Z2Hbits
15729 #define Z29 PID1Z2Hbits.Z29 // bit 1, shadows bit in PID1Z2Hbits
15730 #define PID1Z210 PID1Z2Hbits.PID1Z210 // bit 2, shadows bit in PID1Z2Hbits
15731 #define Z210 PID1Z2Hbits.Z210 // bit 2, shadows bit in PID1Z2Hbits
15732 #define PID1Z211 PID1Z2Hbits.PID1Z211 // bit 3, shadows bit in PID1Z2Hbits
15733 #define Z211 PID1Z2Hbits.Z211 // bit 3, shadows bit in PID1Z2Hbits
15734 #define PID1Z212 PID1Z2Hbits.PID1Z212 // bit 4, shadows bit in PID1Z2Hbits
15735 #define Z212 PID1Z2Hbits.Z212 // bit 4, shadows bit in PID1Z2Hbits
15736 #define PID1Z213 PID1Z2Hbits.PID1Z213 // bit 5, shadows bit in PID1Z2Hbits
15737 #define Z213 PID1Z2Hbits.Z213 // bit 5, shadows bit in PID1Z2Hbits
15738 #define PID1Z214 PID1Z2Hbits.PID1Z214 // bit 6, shadows bit in PID1Z2Hbits
15739 #define Z214 PID1Z2Hbits.Z214 // bit 6, shadows bit in PID1Z2Hbits
15740 #define PID1Z215 PID1Z2Hbits.PID1Z215 // bit 7, shadows bit in PID1Z2Hbits
15741 #define Z215 PID1Z2Hbits.Z215 // bit 7, shadows bit in PID1Z2Hbits
15743 #define PID1Z20 PID1Z2Lbits.PID1Z20 // bit 0, shadows bit in PID1Z2Lbits
15744 #define Z20 PID1Z2Lbits.Z20 // bit 0, shadows bit in PID1Z2Lbits
15745 #define PID1Z21 PID1Z2Lbits.PID1Z21 // bit 1, shadows bit in PID1Z2Lbits
15746 #define Z21 PID1Z2Lbits.Z21 // bit 1, shadows bit in PID1Z2Lbits
15747 #define PID1Z22 PID1Z2Lbits.PID1Z22 // bit 2, shadows bit in PID1Z2Lbits
15748 #define Z22 PID1Z2Lbits.Z22 // bit 2, shadows bit in PID1Z2Lbits
15749 #define PID1Z23 PID1Z2Lbits.PID1Z23 // bit 3, shadows bit in PID1Z2Lbits
15750 #define Z23 PID1Z2Lbits.Z23 // bit 3, shadows bit in PID1Z2Lbits
15751 #define PID1Z24 PID1Z2Lbits.PID1Z24 // bit 4, shadows bit in PID1Z2Lbits
15752 #define Z24 PID1Z2Lbits.Z24 // bit 4, shadows bit in PID1Z2Lbits
15753 #define PID1Z25 PID1Z2Lbits.PID1Z25 // bit 5, shadows bit in PID1Z2Lbits
15754 #define Z25 PID1Z2Lbits.Z25 // bit 5, shadows bit in PID1Z2Lbits
15755 #define PID1Z26 PID1Z2Lbits.PID1Z26 // bit 6, shadows bit in PID1Z2Lbits
15756 #define Z26 PID1Z2Lbits.Z26 // bit 6, shadows bit in PID1Z2Lbits
15757 #define PID1Z27 PID1Z2Lbits.PID1Z27 // bit 7, shadows bit in PID1Z2Lbits
15758 #define Z27 PID1Z2Lbits.Z27 // bit 7, shadows bit in PID1Z2Lbits
15760 #define PID1Z216 PID1Z2Ubits.PID1Z216 // bit 0, shadows bit in PID1Z2Ubits
15761 #define Z216 PID1Z2Ubits.Z216 // bit 0, shadows bit in PID1Z2Ubits
15763 #define TMR1IE PIE1bits.TMR1IE // bit 0
15764 #define TMR2IE PIE1bits.TMR2IE // bit 1
15765 #define CCP1IE PIE1bits.CCP1IE // bit 2
15766 #define SSP1IE PIE1bits.SSP1IE // bit 3
15767 #define TXIE PIE1bits.TXIE // bit 4
15768 #define RCIE PIE1bits.RCIE // bit 5
15769 #define ADIE PIE1bits.ADIE // bit 6
15770 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
15772 #define CCP2IE PIE2bits.CCP2IE // bit 0
15773 #define TMR4IE PIE2bits.TMR4IE // bit 1
15774 #define TMR6IE PIE2bits.TMR6IE // bit 2
15775 #define BCL1IE PIE2bits.BCL1IE // bit 3
15776 #define C1IE PIE2bits.C1IE // bit 5
15777 #define C2IE PIE2bits.C2IE // bit 6
15779 #define CLC1IE PIE3bits.CLC1IE // bit 0
15780 #define CLC2IE PIE3bits.CLC2IE // bit 1
15781 #define ZCDIE PIE3bits.ZCDIE // bit 4
15782 #define CWGIE PIE3bits.CWGIE // bit 5
15784 #define SMT1IE PIE4bits.SMT1IE // bit 0
15785 #define SMT1PRAIE PIE4bits.SMT1PRAIE // bit 1
15786 #define SMT1PWAIE PIE4bits.SMT1PWAIE // bit 2
15787 #define SMT2IE PIE4bits.SMT2IE // bit 3
15788 #define SMT2PRAIE PIE4bits.SMT2PRAIE // bit 4
15789 #define SMT2PWAIE PIE4bits.SMT2PWAIE // bit 5
15790 #define CRCIE PIE4bits.CRCIE // bit 6
15791 #define SCANIE PIE4bits.SCANIE // bit 7
15793 #define PID1DIE PIE5bits.PID1DIE // bit 0
15794 #define PID1EIE PIE5bits.PID1EIE // bit 1
15795 #define AT1IE PIE5bits.AT1IE // bit 2
15796 #define TMR5IE PIE5bits.TMR5IE // bit 4
15797 #define TMR5GIE PIE5bits.TMR5GIE // bit 5
15798 #define TMR3IE PIE5bits.TMR3IE // bit 6
15799 #define TMR3GIE PIE5bits.TMR3GIE // bit 7
15801 #define TMR1IF PIR1bits.TMR1IF // bit 0
15802 #define TMR2IF PIR1bits.TMR2IF // bit 1
15803 #define CCP1IF PIR1bits.CCP1IF // bit 2
15804 #define SSP1IF PIR1bits.SSP1IF // bit 3
15805 #define TXIF PIR1bits.TXIF // bit 4
15806 #define RCIF PIR1bits.RCIF // bit 5
15807 #define ADIF PIR1bits.ADIF // bit 6
15808 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
15810 #define CCP2IF PIR2bits.CCP2IF // bit 0
15811 #define TMR4IF PIR2bits.TMR4IF // bit 1
15812 #define TMR6IF PIR2bits.TMR6IF // bit 2
15813 #define BCL1IF PIR2bits.BCL1IF // bit 3
15814 #define C1IF PIR2bits.C1IF // bit 5
15815 #define C2IF PIR2bits.C2IF // bit 6
15817 #define CLC1IF PIR3bits.CLC1IF // bit 0
15818 #define CLC2IF PIR3bits.CLC2IF // bit 1
15819 #define ZCDIF PIR3bits.ZCDIF // bit 4
15820 #define CWGIF PIR3bits.CWGIF // bit 5
15822 #define SMT1IF PIR4bits.SMT1IF // bit 0
15823 #define SMT1PRAIF PIR4bits.SMT1PRAIF // bit 1
15824 #define SMT1PWAIF PIR4bits.SMT1PWAIF // bit 2
15825 #define SMT2IF PIR4bits.SMT2IF // bit 3
15826 #define SMT2PRAIF PIR4bits.SMT2PRAIF // bit 4
15827 #define SMT2PWAIF PIR4bits.SMT2PWAIF // bit 5
15828 #define CRCIF PIR4bits.CRCIF // bit 6
15829 #define SCANIF PIR4bits.SCANIF // bit 7
15831 #define PID1DIF PIR5bits.PID1DIF // bit 0
15832 #define PID1EIF PIR5bits.PID1EIF // bit 1
15833 #define AT1IF PIR5bits.AT1IF // bit 2
15834 #define TMR5IF PIR5bits.TMR5IF // bit 4
15835 #define TMR5GIF PIR5bits.TMR5GIF // bit 5
15836 #define TMR3IF PIR5bits.TMR3IF // bit 6
15837 #define TMR3GIF PIR5bits.TMR3GIF // bit 7
15839 #define RD PMCON1bits.RD // bit 0
15840 #define WR PMCON1bits.WR // bit 1
15841 #define WREN PMCON1bits.WREN // bit 2
15842 #define WRERR PMCON1bits.WRERR // bit 3
15843 #define FREE PMCON1bits.FREE // bit 4
15844 #define LWLO PMCON1bits.LWLO // bit 5
15845 #define CFGS PMCON1bits.CFGS // bit 6
15847 #define RA0 PORTAbits.RA0 // bit 0
15848 #define RA1 PORTAbits.RA1 // bit 1
15849 #define RA2 PORTAbits.RA2 // bit 2
15850 #define RA3 PORTAbits.RA3 // bit 3
15851 #define RA4 PORTAbits.RA4 // bit 4
15852 #define RA5 PORTAbits.RA5 // bit 5
15854 #define RC0 PORTCbits.RC0 // bit 0
15855 #define RC1 PORTCbits.RC1 // bit 1
15856 #define RC2 PORTCbits.RC2 // bit 2
15857 #define RC3 PORTCbits.RC3 // bit 3
15858 #define RC4 PORTCbits.RC4 // bit 4
15859 #define RC5 PORTCbits.RC5 // bit 5
15861 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
15863 #define DC2 PWM3DCHbits.DC2 // bit 0, shadows bit in PWM3DCHbits
15864 #define PWM3DC2 PWM3DCHbits.PWM3DC2 // bit 0, shadows bit in PWM3DCHbits
15865 #define PWMPW2 PWM3DCHbits.PWMPW2 // bit 0, shadows bit in PWM3DCHbits
15866 #define DC3 PWM3DCHbits.DC3 // bit 1, shadows bit in PWM3DCHbits
15867 #define PWM3DC3 PWM3DCHbits.PWM3DC3 // bit 1, shadows bit in PWM3DCHbits
15868 #define PWMPW3 PWM3DCHbits.PWMPW3 // bit 1, shadows bit in PWM3DCHbits
15869 #define DC4 PWM3DCHbits.DC4 // bit 2, shadows bit in PWM3DCHbits
15870 #define PWM3DC4 PWM3DCHbits.PWM3DC4 // bit 2, shadows bit in PWM3DCHbits
15871 #define PWMPW4 PWM3DCHbits.PWMPW4 // bit 2, shadows bit in PWM3DCHbits
15872 #define DC5 PWM3DCHbits.DC5 // bit 3, shadows bit in PWM3DCHbits
15873 #define PWM3DC5 PWM3DCHbits.PWM3DC5 // bit 3, shadows bit in PWM3DCHbits
15874 #define PWMPW5 PWM3DCHbits.PWMPW5 // bit 3, shadows bit in PWM3DCHbits
15875 #define DC6 PWM3DCHbits.DC6 // bit 4, shadows bit in PWM3DCHbits
15876 #define PWM3DC6 PWM3DCHbits.PWM3DC6 // bit 4, shadows bit in PWM3DCHbits
15877 #define PWMPW6 PWM3DCHbits.PWMPW6 // bit 4, shadows bit in PWM3DCHbits
15878 #define DC7 PWM3DCHbits.DC7 // bit 5, shadows bit in PWM3DCHbits
15879 #define PWM3DC7 PWM3DCHbits.PWM3DC7 // bit 5, shadows bit in PWM3DCHbits
15880 #define PWMPW7 PWM3DCHbits.PWMPW7 // bit 5, shadows bit in PWM3DCHbits
15881 #define DC8 PWM3DCHbits.DC8 // bit 6, shadows bit in PWM3DCHbits
15882 #define PWM3DC8 PWM3DCHbits.PWM3DC8 // bit 6, shadows bit in PWM3DCHbits
15883 #define PWMPW8 PWM3DCHbits.PWMPW8 // bit 6, shadows bit in PWM3DCHbits
15884 #define DC9 PWM3DCHbits.DC9 // bit 7, shadows bit in PWM3DCHbits
15885 #define PWM3DC9 PWM3DCHbits.PWM3DC9 // bit 7, shadows bit in PWM3DCHbits
15886 #define PWMPW9 PWM3DCHbits.PWMPW9 // bit 7, shadows bit in PWM3DCHbits
15888 #define DC0 PWM3DCLbits.DC0 // bit 6, shadows bit in PWM3DCLbits
15889 #define PWM3DC0 PWM3DCLbits.PWM3DC0 // bit 6, shadows bit in PWM3DCLbits
15890 #define PWMPW0 PWM3DCLbits.PWMPW0 // bit 6, shadows bit in PWM3DCLbits
15891 #define DC1 PWM3DCLbits.DC1 // bit 7, shadows bit in PWM3DCLbits
15892 #define PWM3DC1 PWM3DCLbits.PWM3DC1 // bit 7, shadows bit in PWM3DCLbits
15893 #define PWMPW1 PWM3DCLbits.PWMPW1 // bit 7, shadows bit in PWM3DCLbits
15895 #define RA0PPS0 RA0PPSbits.RA0PPS0 // bit 0
15896 #define RA0PPS1 RA0PPSbits.RA0PPS1 // bit 1
15897 #define RA0PPS2 RA0PPSbits.RA0PPS2 // bit 2
15898 #define RA0PPS3 RA0PPSbits.RA0PPS3 // bit 3
15899 #define RA0PPS4 RA0PPSbits.RA0PPS4 // bit 4
15901 #define RA1PPS0 RA1PPSbits.RA1PPS0 // bit 0
15902 #define RA1PPS1 RA1PPSbits.RA1PPS1 // bit 1
15903 #define RA1PPS2 RA1PPSbits.RA1PPS2 // bit 2
15904 #define RA1PPS3 RA1PPSbits.RA1PPS3 // bit 3
15905 #define RA1PPS4 RA1PPSbits.RA1PPS4 // bit 4
15907 #define RA2PPS0 RA2PPSbits.RA2PPS0 // bit 0
15908 #define RA2PPS1 RA2PPSbits.RA2PPS1 // bit 1
15909 #define RA2PPS2 RA2PPSbits.RA2PPS2 // bit 2
15910 #define RA2PPS3 RA2PPSbits.RA2PPS3 // bit 3
15911 #define RA2PPS4 RA2PPSbits.RA2PPS4 // bit 4
15913 #define RA4PPS0 RA4PPSbits.RA4PPS0 // bit 0
15914 #define RA4PPS1 RA4PPSbits.RA4PPS1 // bit 1
15915 #define RA4PPS2 RA4PPSbits.RA4PPS2 // bit 2
15916 #define RA4PPS3 RA4PPSbits.RA4PPS3 // bit 3
15917 #define RA4PPS4 RA4PPSbits.RA4PPS4 // bit 4
15919 #define RA5PPS0 RA5PPSbits.RA5PPS0 // bit 0
15920 #define RA5PPS1 RA5PPSbits.RA5PPS1 // bit 1
15921 #define RA5PPS2 RA5PPSbits.RA5PPS2 // bit 2
15922 #define RA5PPS3 RA5PPSbits.RA5PPS3 // bit 3
15923 #define RA5PPS4 RA5PPSbits.RA5PPS4 // bit 4
15925 #define RC0PPS0 RC0PPSbits.RC0PPS0 // bit 0
15926 #define RC0PPS1 RC0PPSbits.RC0PPS1 // bit 1
15927 #define RC0PPS2 RC0PPSbits.RC0PPS2 // bit 2
15928 #define RC0PPS3 RC0PPSbits.RC0PPS3 // bit 3
15929 #define RC0PPS4 RC0PPSbits.RC0PPS4 // bit 4
15931 #define RC1PPS0 RC1PPSbits.RC1PPS0 // bit 0
15932 #define RC1PPS1 RC1PPSbits.RC1PPS1 // bit 1
15933 #define RC1PPS2 RC1PPSbits.RC1PPS2 // bit 2
15934 #define RC1PPS3 RC1PPSbits.RC1PPS3 // bit 3
15935 #define RC1PPS4 RC1PPSbits.RC1PPS4 // bit 4
15937 #define RX9D RC1STAbits.RX9D // bit 0
15938 #define OERR RC1STAbits.OERR // bit 1
15939 #define FERR RC1STAbits.FERR // bit 2
15940 #define ADDEN RC1STAbits.ADDEN // bit 3
15941 #define CREN RC1STAbits.CREN // bit 4
15942 #define SREN RC1STAbits.SREN // bit 5
15943 #define RX9 RC1STAbits.RX9 // bit 6
15944 #define SPEN RC1STAbits.SPEN // bit 7
15946 #define RC2PPS0 RC2PPSbits.RC2PPS0 // bit 0
15947 #define RC2PPS1 RC2PPSbits.RC2PPS1 // bit 1
15948 #define RC2PPS2 RC2PPSbits.RC2PPS2 // bit 2
15949 #define RC2PPS3 RC2PPSbits.RC2PPS3 // bit 3
15950 #define RC2PPS4 RC2PPSbits.RC2PPS4 // bit 4
15952 #define RC3PPS0 RC3PPSbits.RC3PPS0 // bit 0
15953 #define RC3PPS1 RC3PPSbits.RC3PPS1 // bit 1
15954 #define RC3PPS2 RC3PPSbits.RC3PPS2 // bit 2
15955 #define RC3PPS3 RC3PPSbits.RC3PPS3 // bit 3
15956 #define RC3PPS4 RC3PPSbits.RC3PPS4 // bit 4
15958 #define RC4PPS0 RC4PPSbits.RC4PPS0 // bit 0
15959 #define RC4PPS1 RC4PPSbits.RC4PPS1 // bit 1
15960 #define RC4PPS2 RC4PPSbits.RC4PPS2 // bit 2
15961 #define RC4PPS3 RC4PPSbits.RC4PPS3 // bit 3
15962 #define RC4PPS4 RC4PPSbits.RC4PPS4 // bit 4
15964 #define RC5PPS0 RC5PPSbits.RC5PPS0 // bit 0
15965 #define RC5PPS1 RC5PPSbits.RC5PPS1 // bit 1
15966 #define RC5PPS2 RC5PPSbits.RC5PPS2 // bit 2
15967 #define RC5PPS3 RC5PPSbits.RC5PPS3 // bit 3
15968 #define RC5PPS4 RC5PPSbits.RC5PPS4 // bit 4
15970 #define RXPPS0 RXPPSbits.RXPPS0 // bit 0
15971 #define RXPPS1 RXPPSbits.RXPPS1 // bit 1
15972 #define RXPPS2 RXPPSbits.RXPPS2 // bit 2
15973 #define RXPPS3 RXPPSbits.RXPPS3 // bit 3
15974 #define RXPPS4 RXPPSbits.RXPPS4 // bit 4
15976 #define HADR8 SCANHADRHbits.HADR8 // bit 0, shadows bit in SCANHADRHbits
15977 #define SCANHADR8 SCANHADRHbits.SCANHADR8 // bit 0, shadows bit in SCANHADRHbits
15978 #define HADR9 SCANHADRHbits.HADR9 // bit 1, shadows bit in SCANHADRHbits
15979 #define SCANHADR9 SCANHADRHbits.SCANHADR9 // bit 1, shadows bit in SCANHADRHbits
15980 #define HADR10 SCANHADRHbits.HADR10 // bit 2, shadows bit in SCANHADRHbits
15981 #define SCANHADR10 SCANHADRHbits.SCANHADR10 // bit 2, shadows bit in SCANHADRHbits
15982 #define HADR11 SCANHADRHbits.HADR11 // bit 3, shadows bit in SCANHADRHbits
15983 #define SCANHADR11 SCANHADRHbits.SCANHADR11 // bit 3, shadows bit in SCANHADRHbits
15984 #define HADR12 SCANHADRHbits.HADR12 // bit 4, shadows bit in SCANHADRHbits
15985 #define SCANHADR12 SCANHADRHbits.SCANHADR12 // bit 4, shadows bit in SCANHADRHbits
15986 #define HADR13 SCANHADRHbits.HADR13 // bit 5, shadows bit in SCANHADRHbits
15987 #define SCANHADR13 SCANHADRHbits.SCANHADR13 // bit 5, shadows bit in SCANHADRHbits
15988 #define HADR14 SCANHADRHbits.HADR14 // bit 6, shadows bit in SCANHADRHbits
15989 #define SCANHADR14 SCANHADRHbits.SCANHADR14 // bit 6, shadows bit in SCANHADRHbits
15990 #define HADR15 SCANHADRHbits.HADR15 // bit 7, shadows bit in SCANHADRHbits
15991 #define SCANHADR15 SCANHADRHbits.SCANHADR15 // bit 7, shadows bit in SCANHADRHbits
15993 #define HADR0 SCANHADRLbits.HADR0 // bit 0, shadows bit in SCANHADRLbits
15994 #define SCANHADR0 SCANHADRLbits.SCANHADR0 // bit 0, shadows bit in SCANHADRLbits
15995 #define HADR1 SCANHADRLbits.HADR1 // bit 1, shadows bit in SCANHADRLbits
15996 #define SCANHADR1 SCANHADRLbits.SCANHADR1 // bit 1, shadows bit in SCANHADRLbits
15997 #define HARD2 SCANHADRLbits.HARD2 // bit 2, shadows bit in SCANHADRLbits
15998 #define SCANHADR2 SCANHADRLbits.SCANHADR2 // bit 2, shadows bit in SCANHADRLbits
15999 #define HADR3 SCANHADRLbits.HADR3 // bit 3, shadows bit in SCANHADRLbits
16000 #define SCANHADR3 SCANHADRLbits.SCANHADR3 // bit 3, shadows bit in SCANHADRLbits
16001 #define HADR4 SCANHADRLbits.HADR4 // bit 4, shadows bit in SCANHADRLbits
16002 #define SCANHADR4 SCANHADRLbits.SCANHADR4 // bit 4, shadows bit in SCANHADRLbits
16003 #define HADR5 SCANHADRLbits.HADR5 // bit 5, shadows bit in SCANHADRLbits
16004 #define SCANHADR5 SCANHADRLbits.SCANHADR5 // bit 5, shadows bit in SCANHADRLbits
16005 #define HADR6 SCANHADRLbits.HADR6 // bit 6, shadows bit in SCANHADRLbits
16006 #define SCANHADR6 SCANHADRLbits.SCANHADR6 // bit 6, shadows bit in SCANHADRLbits
16007 #define HADR7 SCANHADRLbits.HADR7 // bit 7, shadows bit in SCANHADRLbits
16008 #define SCANHADR7 SCANHADRLbits.SCANHADR7 // bit 7, shadows bit in SCANHADRLbits
16010 #define LADR8 SCANLADRHbits.LADR8 // bit 0, shadows bit in SCANLADRHbits
16011 #define SCANLADR8 SCANLADRHbits.SCANLADR8 // bit 0, shadows bit in SCANLADRHbits
16012 #define LADR9 SCANLADRHbits.LADR9 // bit 1, shadows bit in SCANLADRHbits
16013 #define SCANLADR9 SCANLADRHbits.SCANLADR9 // bit 1, shadows bit in SCANLADRHbits
16014 #define LADR10 SCANLADRHbits.LADR10 // bit 2, shadows bit in SCANLADRHbits
16015 #define SCANLADR10 SCANLADRHbits.SCANLADR10 // bit 2, shadows bit in SCANLADRHbits
16016 #define LADR11 SCANLADRHbits.LADR11 // bit 3, shadows bit in SCANLADRHbits
16017 #define SCANLADR11 SCANLADRHbits.SCANLADR11 // bit 3, shadows bit in SCANLADRHbits
16018 #define LADR12 SCANLADRHbits.LADR12 // bit 4, shadows bit in SCANLADRHbits
16019 #define SCANLADR12 SCANLADRHbits.SCANLADR12 // bit 4, shadows bit in SCANLADRHbits
16020 #define LADR13 SCANLADRHbits.LADR13 // bit 5, shadows bit in SCANLADRHbits
16021 #define SCANLADR13 SCANLADRHbits.SCANLADR13 // bit 5, shadows bit in SCANLADRHbits
16022 #define LADR14 SCANLADRHbits.LADR14 // bit 6, shadows bit in SCANLADRHbits
16023 #define SCANLADR14 SCANLADRHbits.SCANLADR14 // bit 6, shadows bit in SCANLADRHbits
16024 #define LADR15 SCANLADRHbits.LADR15 // bit 7, shadows bit in SCANLADRHbits
16025 #define SCANLADR15 SCANLADRHbits.SCANLADR15 // bit 7, shadows bit in SCANLADRHbits
16027 #define LDAR0 SCANLADRLbits.LDAR0 // bit 0, shadows bit in SCANLADRLbits
16028 #define SCANLADR0 SCANLADRLbits.SCANLADR0 // bit 0, shadows bit in SCANLADRLbits
16029 #define LDAR1 SCANLADRLbits.LDAR1 // bit 1, shadows bit in SCANLADRLbits
16030 #define SCANLADR1 SCANLADRLbits.SCANLADR1 // bit 1, shadows bit in SCANLADRLbits
16031 #define LADR2 SCANLADRLbits.LADR2 // bit 2, shadows bit in SCANLADRLbits
16032 #define SCANLADR2 SCANLADRLbits.SCANLADR2 // bit 2, shadows bit in SCANLADRLbits
16033 #define LADR3 SCANLADRLbits.LADR3 // bit 3, shadows bit in SCANLADRLbits
16034 #define SCANLADR3 SCANLADRLbits.SCANLADR3 // bit 3, shadows bit in SCANLADRLbits
16035 #define LADR4 SCANLADRLbits.LADR4 // bit 4, shadows bit in SCANLADRLbits
16036 #define SCANLADR4 SCANLADRLbits.SCANLADR4 // bit 4, shadows bit in SCANLADRLbits
16037 #define LADR5 SCANLADRLbits.LADR5 // bit 5, shadows bit in SCANLADRLbits
16038 #define SCANLADR5 SCANLADRLbits.SCANLADR5 // bit 5, shadows bit in SCANLADRLbits
16039 #define LADR6 SCANLADRLbits.LADR6 // bit 6, shadows bit in SCANLADRLbits
16040 #define SCANLADR6 SCANLADRLbits.SCANLADR6 // bit 6, shadows bit in SCANLADRLbits
16041 #define LADR7 SCANLADRLbits.LADR7 // bit 7, shadows bit in SCANLADRLbits
16042 #define SCANLADR7 SCANLADRLbits.SCANLADR7 // bit 7, shadows bit in SCANLADRLbits
16044 #define TSEL0 SCANTRIGbits.TSEL0 // bit 0, shadows bit in SCANTRIGbits
16045 #define SCANTSEL0 SCANTRIGbits.SCANTSEL0 // bit 0, shadows bit in SCANTRIGbits
16046 #define TSEL1 SCANTRIGbits.TSEL1 // bit 1, shadows bit in SCANTRIGbits
16047 #define SCANTSEL1 SCANTRIGbits.SCANTSEL1 // bit 1, shadows bit in SCANTRIGbits
16048 #define TSEL2 SCANTRIGbits.TSEL2 // bit 2, shadows bit in SCANTRIGbits
16049 #define SCANTSEL2 SCANTRIGbits.SCANTSEL2 // bit 2, shadows bit in SCANTRIGbits
16050 #define TSEL3 SCANTRIGbits.TSEL3 // bit 3, shadows bit in SCANTRIGbits
16051 #define SCANTSEL3 SCANTRIGbits.SCANTSEL3 // bit 3, shadows bit in SCANTRIGbits
16053 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
16054 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
16055 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
16056 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
16057 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
16059 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
16060 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
16061 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
16062 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
16063 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
16064 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
16066 #define CSEL0 SMT1CLKbits.CSEL0 // bit 0, shadows bit in SMT1CLKbits
16067 #define SMT1CSEL0 SMT1CLKbits.SMT1CSEL0 // bit 0, shadows bit in SMT1CLKbits
16068 #define CSEL1 SMT1CLKbits.CSEL1 // bit 1, shadows bit in SMT1CLKbits
16069 #define SMT1CSEL1 SMT1CLKbits.SMT1CSEL1 // bit 1, shadows bit in SMT1CLKbits
16070 #define CSEL2 SMT1CLKbits.CSEL2 // bit 2, shadows bit in SMT1CLKbits
16071 #define SMT1CSEL2 SMT1CLKbits.SMT1CSEL2 // bit 2, shadows bit in SMT1CLKbits
16073 #define SMT1CPR8 SMT1CPRHbits.SMT1CPR8 // bit 0
16074 #define SMT1CPR9 SMT1CPRHbits.SMT1CPR9 // bit 1
16075 #define SMT1CPR10 SMT1CPRHbits.SMT1CPR10 // bit 2
16076 #define SMT1CPR11 SMT1CPRHbits.SMT1CPR11 // bit 3
16077 #define SMT1CPR12 SMT1CPRHbits.SMT1CPR12 // bit 4
16078 #define SMT1CPR13 SMT1CPRHbits.SMT1CPR13 // bit 5
16079 #define SMT1CPR14 SMT1CPRHbits.SMT1CPR14 // bit 6
16080 #define SMT1CPR15 SMT1CPRHbits.SMT1CPR15 // bit 7
16082 #define SMT1CPR0 SMT1CPRLbits.SMT1CPR0 // bit 0
16083 #define SMT1CPR1 SMT1CPRLbits.SMT1CPR1 // bit 1
16084 #define SMT1CPR2 SMT1CPRLbits.SMT1CPR2 // bit 2
16085 #define SMT1CPR3 SMT1CPRLbits.SMT1CPR3 // bit 3
16086 #define SMT1CPR4 SMT1CPRLbits.SMT1CPR4 // bit 4
16087 #define SMT1CPR5 SMT1CPRLbits.SMT1CPR5 // bit 5
16088 #define SMT1CPR6 SMT1CPRLbits.SMT1CPR6 // bit 6
16089 #define SMT1CPR7 SMT1CPRLbits.SMT1CPR7 // bit 7
16091 #define SMT1CPR16 SMT1CPRUbits.SMT1CPR16 // bit 0
16092 #define SMT1CPR17 SMT1CPRUbits.SMT1CPR17 // bit 1
16093 #define SMT1CPR18 SMT1CPRUbits.SMT1CPR18 // bit 2
16094 #define SMT1CPR19 SMT1CPRUbits.SMT1CPR19 // bit 3
16095 #define SMT1CPR20 SMT1CPRUbits.SMT1CPR20 // bit 4
16096 #define SMT1CPR21 SMT1CPRUbits.SMT1CPR21 // bit 5
16097 #define SMT1CPR22 SMT1CPRUbits.SMT1CPR22 // bit 6
16098 #define SMT1CPR23 SMT1CPRUbits.SMT1CPR23 // bit 7
16100 #define SMT1CPW8 SMT1CPWHbits.SMT1CPW8 // bit 0
16101 #define SMT1CPW9 SMT1CPWHbits.SMT1CPW9 // bit 1
16102 #define SMT1CPW10 SMT1CPWHbits.SMT1CPW10 // bit 2
16103 #define SMT1CPW11 SMT1CPWHbits.SMT1CPW11 // bit 3
16104 #define SMT1CPW12 SMT1CPWHbits.SMT1CPW12 // bit 4
16105 #define SMT1CPW13 SMT1CPWHbits.SMT1CPW13 // bit 5
16106 #define SMT1CPW14 SMT1CPWHbits.SMT1CPW14 // bit 6
16107 #define SMT1CPW15 SMT1CPWHbits.SMT1CPW15 // bit 7
16109 #define SMT1CPW0 SMT1CPWLbits.SMT1CPW0 // bit 0
16110 #define SMT1CPW1 SMT1CPWLbits.SMT1CPW1 // bit 1
16111 #define SMT1CPW2 SMT1CPWLbits.SMT1CPW2 // bit 2
16112 #define SMT1CPW3 SMT1CPWLbits.SMT1CPW3 // bit 3
16113 #define SMT1CPW4 SMT1CPWLbits.SMT1CPW4 // bit 4
16114 #define SMT1CPW5 SMT1CPWLbits.SMT1CPW5 // bit 5
16115 #define SMT1CPW6 SMT1CPWLbits.SMT1CPW6 // bit 6
16116 #define SMT1CPW7 SMT1CPWLbits.SMT1CPW7 // bit 7
16118 #define SMT1CPW16 SMT1CPWUbits.SMT1CPW16 // bit 0
16119 #define SMT1CPW17 SMT1CPWUbits.SMT1CPW17 // bit 1
16120 #define SMT1CPW18 SMT1CPWUbits.SMT1CPW18 // bit 2
16121 #define SMT1CPW19 SMT1CPWUbits.SMT1CPW19 // bit 3
16122 #define SMT1CPW20 SMT1CPWUbits.SMT1CPW20 // bit 4
16123 #define SMT1CPW21 SMT1CPWUbits.SMT1CPW21 // bit 5
16124 #define SMT1CPW22 SMT1CPWUbits.SMT1CPW22 // bit 6
16125 #define SMT1CPW23 SMT1CPWUbits.SMT1CPW23 // bit 7
16127 #define SMT1PR8 SMT1PRHbits.SMT1PR8 // bit 0
16128 #define SMT1PR9 SMT1PRHbits.SMT1PR9 // bit 1
16129 #define SMT1PR10 SMT1PRHbits.SMT1PR10 // bit 2
16130 #define SMT1PR11 SMT1PRHbits.SMT1PR11 // bit 3
16131 #define SMT1PR12 SMT1PRHbits.SMT1PR12 // bit 4
16132 #define SMT1PR13 SMT1PRHbits.SMT1PR13 // bit 5
16133 #define SMT1PR14 SMT1PRHbits.SMT1PR14 // bit 6
16134 #define SMT1PR15 SMT1PRHbits.SMT1PR15 // bit 7
16136 #define SMT1PR0 SMT1PRLbits.SMT1PR0 // bit 0
16137 #define SMT1PR1 SMT1PRLbits.SMT1PR1 // bit 1
16138 #define SMT1PR2 SMT1PRLbits.SMT1PR2 // bit 2
16139 #define SMT1PR3 SMT1PRLbits.SMT1PR3 // bit 3
16140 #define SMT1PR4 SMT1PRLbits.SMT1PR4 // bit 4
16141 #define SMT1PR5 SMT1PRLbits.SMT1PR5 // bit 5
16142 #define SMT1PR6 SMT1PRLbits.SMT1PR6 // bit 6
16143 #define SMT1PR7 SMT1PRLbits.SMT1PR7 // bit 7
16145 #define SMT1PR16 SMT1PRUbits.SMT1PR16 // bit 0
16146 #define SMT1PR17 SMT1PRUbits.SMT1PR17 // bit 1
16147 #define SMT1PR18 SMT1PRUbits.SMT1PR18 // bit 2
16148 #define SMT1PR19 SMT1PRUbits.SMT1PR19 // bit 3
16149 #define SMT1PR20 SMT1PRUbits.SMT1PR20 // bit 4
16150 #define SMT1PR21 SMT1PRUbits.SMT1PR21 // bit 5
16151 #define SMT1PR22 SMT1PRUbits.SMT1PR22 // bit 6
16152 #define SMT1PR23 SMT1PRUbits.SMT1PR23 // bit 7
16154 #define SMT1SIGPPS0 SMT1SIGPPSbits.SMT1SIGPPS0 // bit 0
16155 #define SMT1SIGPPS1 SMT1SIGPPSbits.SMT1SIGPPS1 // bit 1
16156 #define SMT1SIGPPS2 SMT1SIGPPSbits.SMT1SIGPPS2 // bit 2
16157 #define SMT1SIGPPS3 SMT1SIGPPSbits.SMT1SIGPPS3 // bit 3
16158 #define SMT1SIGPPS4 SMT1SIGPPSbits.SMT1SIGPPS4 // bit 4
16160 #define AS SMT1STATbits.AS // bit 0, shadows bit in SMT1STATbits
16161 #define SMT1AS SMT1STATbits.SMT1AS // bit 0, shadows bit in SMT1STATbits
16162 #define WS SMT1STATbits.WS // bit 1, shadows bit in SMT1STATbits
16163 #define SMT1WS SMT1STATbits.SMT1WS // bit 1, shadows bit in SMT1STATbits
16164 #define TS SMT1STATbits.TS // bit 2, shadows bit in SMT1STATbits
16165 #define SMT1TS SMT1STATbits.SMT1TS // bit 2, shadows bit in SMT1STATbits
16166 #define RST SMT1STATbits.RST // bit 5, shadows bit in SMT1STATbits
16167 #define SMT1RESET SMT1STATbits.SMT1RESET // bit 5, shadows bit in SMT1STATbits
16168 #define CPWUP SMT1STATbits.CPWUP // bit 6, shadows bit in SMT1STATbits
16169 #define SMT1CPWUP SMT1STATbits.SMT1CPWUP // bit 6, shadows bit in SMT1STATbits
16170 #define CPRUP SMT1STATbits.CPRUP // bit 7, shadows bit in SMT1STATbits
16171 #define SMT1CPRUP SMT1STATbits.SMT1CPRUP // bit 7, shadows bit in SMT1STATbits
16173 #define SMT1TMR8 SMT1TMRHbits.SMT1TMR8 // bit 0
16174 #define SMT1TMR9 SMT1TMRHbits.SMT1TMR9 // bit 1
16175 #define SMT1TMR10 SMT1TMRHbits.SMT1TMR10 // bit 2
16176 #define SMT1TMR11 SMT1TMRHbits.SMT1TMR11 // bit 3
16177 #define SMT1TMR12 SMT1TMRHbits.SMT1TMR12 // bit 4
16178 #define SMT1TMR13 SMT1TMRHbits.SMT1TMR13 // bit 5
16179 #define SMT1TMR14 SMT1TMRHbits.SMT1TMR14 // bit 6
16180 #define SMT1TMR15 SMT1TMRHbits.SMT1TMR15 // bit 7
16182 #define SMT1TMR0 SMT1TMRLbits.SMT1TMR0 // bit 0
16183 #define SMT1TMR1 SMT1TMRLbits.SMT1TMR1 // bit 1
16184 #define SMT1TMR2 SMT1TMRLbits.SMT1TMR2 // bit 2
16185 #define SMT1TMR3 SMT1TMRLbits.SMT1TMR3 // bit 3
16186 #define SMT1TMR4 SMT1TMRLbits.SMT1TMR4 // bit 4
16187 #define SMT1TMR5 SMT1TMRLbits.SMT1TMR5 // bit 5
16188 #define SMT1TMR6 SMT1TMRLbits.SMT1TMR6 // bit 6
16189 #define SMT1TMR7 SMT1TMRLbits.SMT1TMR7 // bit 7
16191 #define SMT1TMR16 SMT1TMRUbits.SMT1TMR16 // bit 0
16192 #define SMT1TMR17 SMT1TMRUbits.SMT1TMR17 // bit 1
16193 #define SMT1TMR18 SMT1TMRUbits.SMT1TMR18 // bit 2
16194 #define SMT1TMR19 SMT1TMRUbits.SMT1TMR19 // bit 3
16195 #define SMT1TMR20 SMT1TMRUbits.SMT1TMR20 // bit 4
16196 #define SMT1TMR21 SMT1TMRUbits.SMT1TMR21 // bit 5
16197 #define SMT1TMR22 SMT1TMRUbits.SMT1TMR22 // bit 6
16198 #define SMT1TMR23 SMT1TMRUbits.SMT1TMR23 // bit 7
16200 #define WSEL0 SMT1WINbits.WSEL0 // bit 0, shadows bit in SMT1WINbits
16201 #define SMT1WSEL0 SMT1WINbits.SMT1WSEL0 // bit 0, shadows bit in SMT1WINbits
16202 #define WSEL1 SMT1WINbits.WSEL1 // bit 1, shadows bit in SMT1WINbits
16203 #define SMT1WSEL1 SMT1WINbits.SMT1WSEL1 // bit 1, shadows bit in SMT1WINbits
16204 #define WSEL2 SMT1WINbits.WSEL2 // bit 2, shadows bit in SMT1WINbits
16205 #define SMT1WSEL2 SMT1WINbits.SMT1WSEL2 // bit 2, shadows bit in SMT1WINbits
16206 #define WSEL3 SMT1WINbits.WSEL3 // bit 3, shadows bit in SMT1WINbits
16207 #define SMT1WSEL3 SMT1WINbits.SMT1WSEL3 // bit 3, shadows bit in SMT1WINbits
16208 #define WSEL4 SMT1WINbits.WSEL4 // bit 4, shadows bit in SMT1WINbits
16209 #define SMT1WSEL4 SMT1WINbits.SMT1WSEL4 // bit 4, shadows bit in SMT1WINbits
16211 #define SMTWINPPS0 SMT1WINPPSbits.SMTWINPPS0 // bit 0
16212 #define SMTWINPPS1 SMT1WINPPSbits.SMTWINPPS1 // bit 1
16213 #define SMTWINPPS2 SMT1WINPPSbits.SMTWINPPS2 // bit 2
16214 #define SMTWINPPS3 SMT1WINPPSbits.SMTWINPPS3 // bit 3
16215 #define SMTWINPPS4 SMT1WINPPSbits.SMTWINPPS4 // bit 4
16217 #define SMT2CPR8 SMT2CPRHbits.SMT2CPR8 // bit 0
16218 #define SMT2CPR9 SMT2CPRHbits.SMT2CPR9 // bit 1
16219 #define SMT2CPR10 SMT2CPRHbits.SMT2CPR10 // bit 2
16220 #define SMT2CPR11 SMT2CPRHbits.SMT2CPR11 // bit 3
16221 #define SMT2CPR12 SMT2CPRHbits.SMT2CPR12 // bit 4
16222 #define SMT2CPR13 SMT2CPRHbits.SMT2CPR13 // bit 5
16223 #define SMT2CPR14 SMT2CPRHbits.SMT2CPR14 // bit 6
16224 #define SMT2CPR15 SMT2CPRHbits.SMT2CPR15 // bit 7
16226 #define SMT2CPR0 SMT2CPRLbits.SMT2CPR0 // bit 0
16227 #define SMT2CPR1 SMT2CPRLbits.SMT2CPR1 // bit 1
16228 #define SMT2CPR2 SMT2CPRLbits.SMT2CPR2 // bit 2
16229 #define SMT2CPR3 SMT2CPRLbits.SMT2CPR3 // bit 3
16230 #define SMT2CPR4 SMT2CPRLbits.SMT2CPR4 // bit 4
16231 #define SMT2CPR5 SMT2CPRLbits.SMT2CPR5 // bit 5
16232 #define SMT2CPR6 SMT2CPRLbits.SMT2CPR6 // bit 6
16233 #define SMT2CPR7 SMT2CPRLbits.SMT2CPR7 // bit 7
16235 #define SMT2CPR16 SMT2CPRUbits.SMT2CPR16 // bit 0
16236 #define SMT2CPR17 SMT2CPRUbits.SMT2CPR17 // bit 1
16237 #define SMT2CPR18 SMT2CPRUbits.SMT2CPR18 // bit 2
16238 #define SMT2CPR19 SMT2CPRUbits.SMT2CPR19 // bit 3
16239 #define SMT2CPR20 SMT2CPRUbits.SMT2CPR20 // bit 4
16240 #define SMT2CPR21 SMT2CPRUbits.SMT2CPR21 // bit 5
16241 #define SMT2CPR22 SMT2CPRUbits.SMT2CPR22 // bit 6
16242 #define SMT2CPR23 SMT2CPRUbits.SMT2CPR23 // bit 7
16244 #define SMT2CPW8 SMT2CPWHbits.SMT2CPW8 // bit 0
16245 #define SMT2CPW9 SMT2CPWHbits.SMT2CPW9 // bit 1
16246 #define SMT2CPW10 SMT2CPWHbits.SMT2CPW10 // bit 2
16247 #define SMT2CPW11 SMT2CPWHbits.SMT2CPW11 // bit 3
16248 #define SMT2CPW12 SMT2CPWHbits.SMT2CPW12 // bit 4
16249 #define SMT2CPW13 SMT2CPWHbits.SMT2CPW13 // bit 5
16250 #define SMT2CPW14 SMT2CPWHbits.SMT2CPW14 // bit 6
16251 #define SMT2CPW15 SMT2CPWHbits.SMT2CPW15 // bit 7
16253 #define SMT2CPW0 SMT2CPWLbits.SMT2CPW0 // bit 0
16254 #define SMT2CPW1 SMT2CPWLbits.SMT2CPW1 // bit 1
16255 #define SMT2CPW2 SMT2CPWLbits.SMT2CPW2 // bit 2
16256 #define SMT2CPW3 SMT2CPWLbits.SMT2CPW3 // bit 3
16257 #define SMT2CPW4 SMT2CPWLbits.SMT2CPW4 // bit 4
16258 #define SMT2CPW5 SMT2CPWLbits.SMT2CPW5 // bit 5
16259 #define SMT2CPW6 SMT2CPWLbits.SMT2CPW6 // bit 6
16260 #define SMT2CPW7 SMT2CPWLbits.SMT2CPW7 // bit 7
16262 #define SMT2CPW16 SMT2CPWUbits.SMT2CPW16 // bit 0
16263 #define SMT2CPW17 SMT2CPWUbits.SMT2CPW17 // bit 1
16264 #define SMT2CPW18 SMT2CPWUbits.SMT2CPW18 // bit 2
16265 #define SMT2CPW19 SMT2CPWUbits.SMT2CPW19 // bit 3
16266 #define SMT2CPW20 SMT2CPWUbits.SMT2CPW20 // bit 4
16267 #define SMT2CPW21 SMT2CPWUbits.SMT2CPW21 // bit 5
16268 #define SMT2CPW22 SMT2CPWUbits.SMT2CPW22 // bit 6
16269 #define SMT2CPW23 SMT2CPWUbits.SMT2CPW23 // bit 7
16271 #define SMT2PR8 SMT2PRHbits.SMT2PR8 // bit 0
16272 #define SMT2PR9 SMT2PRHbits.SMT2PR9 // bit 1
16273 #define SMT2PR10 SMT2PRHbits.SMT2PR10 // bit 2
16274 #define SMT2PR11 SMT2PRHbits.SMT2PR11 // bit 3
16275 #define SMT2PR12 SMT2PRHbits.SMT2PR12 // bit 4
16276 #define SMT2PR13 SMT2PRHbits.SMT2PR13 // bit 5
16277 #define SMT2PR14 SMT2PRHbits.SMT2PR14 // bit 6
16278 #define SMT2PR15 SMT2PRHbits.SMT2PR15 // bit 7
16280 #define SMT2PR0 SMT2PRLbits.SMT2PR0 // bit 0
16281 #define SMT2PR1 SMT2PRLbits.SMT2PR1 // bit 1
16282 #define SMT2PR2 SMT2PRLbits.SMT2PR2 // bit 2
16283 #define SMT2PR3 SMT2PRLbits.SMT2PR3 // bit 3
16284 #define SMT2PR4 SMT2PRLbits.SMT2PR4 // bit 4
16285 #define SMT2PR5 SMT2PRLbits.SMT2PR5 // bit 5
16286 #define SMT2PR6 SMT2PRLbits.SMT2PR6 // bit 6
16287 #define SMT2PR7 SMT2PRLbits.SMT2PR7 // bit 7
16289 #define SMT2PR16 SMT2PRUbits.SMT2PR16 // bit 0
16290 #define SMT2PR17 SMT2PRUbits.SMT2PR17 // bit 1
16291 #define SMT2PR18 SMT2PRUbits.SMT2PR18 // bit 2
16292 #define SMT2PR19 SMT2PRUbits.SMT2PR19 // bit 3
16293 #define SMT2PR20 SMT2PRUbits.SMT2PR20 // bit 4
16294 #define SMT2PR21 SMT2PRUbits.SMT2PR21 // bit 5
16295 #define SMT2PR22 SMT2PRUbits.SMT2PR22 // bit 6
16296 #define SMT2PR23 SMT2PRUbits.SMT2PR23 // bit 7
16298 #define SMT2SIGPPS0 SMT2SIGPPSbits.SMT2SIGPPS0 // bit 0
16299 #define SMT2SIGPPS1 SMT2SIGPPSbits.SMT2SIGPPS1 // bit 1
16300 #define SMT2SIGPPS2 SMT2SIGPPSbits.SMT2SIGPPS2 // bit 2
16301 #define SMT2SIGPPS3 SMT2SIGPPSbits.SMT2SIGPPS3 // bit 3
16302 #define SMT2SIGPPS4 SMT2SIGPPSbits.SMT2SIGPPS4 // bit 4
16304 #define SMT2TMR8 SMT2TMRHbits.SMT2TMR8 // bit 0
16305 #define SMT2TMR9 SMT2TMRHbits.SMT2TMR9 // bit 1
16306 #define SMT2TMR10 SMT2TMRHbits.SMT2TMR10 // bit 2
16307 #define SMT2TMR11 SMT2TMRHbits.SMT2TMR11 // bit 3
16308 #define SMT2TMR12 SMT2TMRHbits.SMT2TMR12 // bit 4
16309 #define SMT2TMR13 SMT2TMRHbits.SMT2TMR13 // bit 5
16310 #define SMT2TMR14 SMT2TMRHbits.SMT2TMR14 // bit 6
16311 #define SMT2TMR15 SMT2TMRHbits.SMT2TMR15 // bit 7
16313 #define SMT2TMR0 SMT2TMRLbits.SMT2TMR0 // bit 0
16314 #define SMT2TMR1 SMT2TMRLbits.SMT2TMR1 // bit 1
16315 #define SMT2TMR2 SMT2TMRLbits.SMT2TMR2 // bit 2
16316 #define SMT2TMR3 SMT2TMRLbits.SMT2TMR3 // bit 3
16317 #define SMT2TMR4 SMT2TMRLbits.SMT2TMR4 // bit 4
16318 #define SMT2TMR5 SMT2TMRLbits.SMT2TMR5 // bit 5
16319 #define SMT2TMR6 SMT2TMRLbits.SMT2TMR6 // bit 6
16320 #define SMT2TMR7 SMT2TMRLbits.SMT2TMR7 // bit 7
16322 #define SMT2TMR16 SMT2TMRUbits.SMT2TMR16 // bit 0
16323 #define SMT2TMR17 SMT2TMRUbits.SMT2TMR17 // bit 1
16324 #define SMT2TMR18 SMT2TMRUbits.SMT2TMR18 // bit 2
16325 #define SMT2TMR19 SMT2TMRUbits.SMT2TMR19 // bit 3
16326 #define SMT2TMR20 SMT2TMRUbits.SMT2TMR20 // bit 4
16327 #define SMT2TMR21 SMT2TMRUbits.SMT2TMR21 // bit 5
16328 #define SMT2TMR22 SMT2TMRUbits.SMT2TMR22 // bit 6
16329 #define SMT2TMR23 SMT2TMRUbits.SMT2TMR23 // bit 7
16331 #define SMT2WINPPS0 SMT2WINPPSbits.SMT2WINPPS0 // bit 0
16332 #define SMT2WINPPS1 SMT2WINPPSbits.SMT2WINPPS1 // bit 1
16333 #define SMT2WINPPS2 SMT2WINPPSbits.SMT2WINPPS2 // bit 2
16334 #define SMT2WINPPS3 SMT2WINPPSbits.SMT2WINPPS3 // bit 3
16335 #define SMT2WINPPS4 SMT2WINPPSbits.SMT2WINPPS4 // bit 4
16337 #define SSP1ADD0 SSP1ADDbits.SSP1ADD0 // bit 0, shadows bit in SSP1ADDbits
16338 #define ADD0 SSP1ADDbits.ADD0 // bit 0, shadows bit in SSP1ADDbits
16339 #define SSP1ADD1 SSP1ADDbits.SSP1ADD1 // bit 1, shadows bit in SSP1ADDbits
16340 #define ADD1 SSP1ADDbits.ADD1 // bit 1, shadows bit in SSP1ADDbits
16341 #define SSP1ADD2 SSP1ADDbits.SSP1ADD2 // bit 2, shadows bit in SSP1ADDbits
16342 #define ADD2 SSP1ADDbits.ADD2 // bit 2, shadows bit in SSP1ADDbits
16343 #define SSP1ADD3 SSP1ADDbits.SSP1ADD3 // bit 3, shadows bit in SSP1ADDbits
16344 #define ADD3 SSP1ADDbits.ADD3 // bit 3, shadows bit in SSP1ADDbits
16345 #define SSP1ADD4 SSP1ADDbits.SSP1ADD4 // bit 4, shadows bit in SSP1ADDbits
16346 #define ADD4 SSP1ADDbits.ADD4 // bit 4, shadows bit in SSP1ADDbits
16347 #define SSP1ADD5 SSP1ADDbits.SSP1ADD5 // bit 5, shadows bit in SSP1ADDbits
16348 #define ADD5 SSP1ADDbits.ADD5 // bit 5, shadows bit in SSP1ADDbits
16349 #define SSP1ADD6 SSP1ADDbits.SSP1ADD6 // bit 6, shadows bit in SSP1ADDbits
16350 #define ADD6 SSP1ADDbits.ADD6 // bit 6, shadows bit in SSP1ADDbits
16351 #define SSP1ADD7 SSP1ADDbits.SSP1ADD7 // bit 7, shadows bit in SSP1ADDbits
16352 #define ADD7 SSP1ADDbits.ADD7 // bit 7, shadows bit in SSP1ADDbits
16354 #define SSP1BUF0 SSP1BUFbits.SSP1BUF0 // bit 0, shadows bit in SSP1BUFbits
16355 #define BUF0 SSP1BUFbits.BUF0 // bit 0, shadows bit in SSP1BUFbits
16356 #define SSP1BUF1 SSP1BUFbits.SSP1BUF1 // bit 1, shadows bit in SSP1BUFbits
16357 #define BUF1 SSP1BUFbits.BUF1 // bit 1, shadows bit in SSP1BUFbits
16358 #define SSP1BUF2 SSP1BUFbits.SSP1BUF2 // bit 2, shadows bit in SSP1BUFbits
16359 #define BUF2 SSP1BUFbits.BUF2 // bit 2, shadows bit in SSP1BUFbits
16360 #define SSP1BUF3 SSP1BUFbits.SSP1BUF3 // bit 3, shadows bit in SSP1BUFbits
16361 #define BUF3 SSP1BUFbits.BUF3 // bit 3, shadows bit in SSP1BUFbits
16362 #define SSP1BUF4 SSP1BUFbits.SSP1BUF4 // bit 4, shadows bit in SSP1BUFbits
16363 #define BUF4 SSP1BUFbits.BUF4 // bit 4, shadows bit in SSP1BUFbits
16364 #define SSP1BUF5 SSP1BUFbits.SSP1BUF5 // bit 5, shadows bit in SSP1BUFbits
16365 #define BUF5 SSP1BUFbits.BUF5 // bit 5, shadows bit in SSP1BUFbits
16366 #define SSP1BUF6 SSP1BUFbits.SSP1BUF6 // bit 6, shadows bit in SSP1BUFbits
16367 #define BUF6 SSP1BUFbits.BUF6 // bit 6, shadows bit in SSP1BUFbits
16368 #define SSP1BUF7 SSP1BUFbits.SSP1BUF7 // bit 7, shadows bit in SSP1BUFbits
16369 #define BUF7 SSP1BUFbits.BUF7 // bit 7, shadows bit in SSP1BUFbits
16371 #define SSPM0 SSP1CONbits.SSPM0 // bit 0
16372 #define SSPM1 SSP1CONbits.SSPM1 // bit 1
16373 #define SSPM2 SSP1CONbits.SSPM2 // bit 2
16374 #define SSPM3 SSP1CONbits.SSPM3 // bit 3
16375 #define CKP SSP1CONbits.CKP // bit 4
16376 #define SSPEN SSP1CONbits.SSPEN // bit 5
16377 #define SSPOV SSP1CONbits.SSPOV // bit 6
16378 #define WCOL SSP1CONbits.WCOL // bit 7
16380 #define SEN SSP1CON2bits.SEN // bit 0
16381 #define RSEN SSP1CON2bits.RSEN // bit 1
16382 #define PEN SSP1CON2bits.PEN // bit 2
16383 #define RCEN SSP1CON2bits.RCEN // bit 3
16384 #define ACKEN SSP1CON2bits.ACKEN // bit 4
16385 #define ACKDT SSP1CON2bits.ACKDT // bit 5
16386 #define ACKSTAT SSP1CON2bits.ACKSTAT // bit 6
16387 #define GCEN SSP1CON2bits.GCEN // bit 7
16389 #define DHEN SSP1CON3bits.DHEN // bit 0
16390 #define AHEN SSP1CON3bits.AHEN // bit 1
16391 #define SBCDE SSP1CON3bits.SBCDE // bit 2
16392 #define SDAHT SSP1CON3bits.SDAHT // bit 3
16393 #define BOEN SSP1CON3bits.BOEN // bit 4
16394 #define SCIE SSP1CON3bits.SCIE // bit 5
16395 #define PCIE SSP1CON3bits.PCIE // bit 6
16396 #define ACKTIM SSP1CON3bits.ACKTIM // bit 7
16398 #define SSP1MSK0 SSP1MSKbits.SSP1MSK0 // bit 0, shadows bit in SSP1MSKbits
16399 #define MSK0 SSP1MSKbits.MSK0 // bit 0, shadows bit in SSP1MSKbits
16400 #define SSP1MSK1 SSP1MSKbits.SSP1MSK1 // bit 1, shadows bit in SSP1MSKbits
16401 #define MSK1 SSP1MSKbits.MSK1 // bit 1, shadows bit in SSP1MSKbits
16402 #define SSP1MSK2 SSP1MSKbits.SSP1MSK2 // bit 2, shadows bit in SSP1MSKbits
16403 #define MSK2 SSP1MSKbits.MSK2 // bit 2, shadows bit in SSP1MSKbits
16404 #define SSP1MSK3 SSP1MSKbits.SSP1MSK3 // bit 3, shadows bit in SSP1MSKbits
16405 #define MSK3 SSP1MSKbits.MSK3 // bit 3, shadows bit in SSP1MSKbits
16406 #define SSP1MSK4 SSP1MSKbits.SSP1MSK4 // bit 4, shadows bit in SSP1MSKbits
16407 #define MSK4 SSP1MSKbits.MSK4 // bit 4, shadows bit in SSP1MSKbits
16408 #define SSP1MSK5 SSP1MSKbits.SSP1MSK5 // bit 5, shadows bit in SSP1MSKbits
16409 #define MSK5 SSP1MSKbits.MSK5 // bit 5, shadows bit in SSP1MSKbits
16410 #define SSP1MSK6 SSP1MSKbits.SSP1MSK6 // bit 6, shadows bit in SSP1MSKbits
16411 #define MSK6 SSP1MSKbits.MSK6 // bit 6, shadows bit in SSP1MSKbits
16412 #define SSP1MSK7 SSP1MSKbits.SSP1MSK7 // bit 7, shadows bit in SSP1MSKbits
16413 #define MSK7 SSP1MSKbits.MSK7 // bit 7, shadows bit in SSP1MSKbits
16415 #define BF SSP1STATbits.BF // bit 0
16416 #define UA SSP1STATbits.UA // bit 1
16417 #define R_NOT_W SSP1STATbits.R_NOT_W // bit 2
16418 #define S SSP1STATbits.S // bit 3
16419 #define P SSP1STATbits.P // bit 4
16420 #define D_NOT_A SSP1STATbits.D_NOT_A // bit 5
16421 #define CKE SSP1STATbits.CKE // bit 6
16422 #define SMP SSP1STATbits.SMP // bit 7
16424 #define SSPCLKPPS0 SSPCLKPPSbits.SSPCLKPPS0 // bit 0
16425 #define SSPCLKPPS1 SSPCLKPPSbits.SSPCLKPPS1 // bit 1
16426 #define SSPCLKPPS2 SSPCLKPPSbits.SSPCLKPPS2 // bit 2
16427 #define SSPCLKPPS3 SSPCLKPPSbits.SSPCLKPPS3 // bit 3
16428 #define SSPCLKPPS4 SSPCLKPPSbits.SSPCLKPPS4 // bit 4
16430 #define SSPDATPPS0 SSPDATPPSbits.SSPDATPPS0 // bit 0
16431 #define SSPDATPPS1 SSPDATPPSbits.SSPDATPPS1 // bit 1
16432 #define SSPDATPPS2 SSPDATPPSbits.SSPDATPPS2 // bit 2
16433 #define SSPDATPPS3 SSPDATPPSbits.SSPDATPPS3 // bit 3
16434 #define SSPDATPPS4 SSPDATPPSbits.SSPDATPPS4 // bit 4
16436 #define SSPSSPPS0 SSPSSPPSbits.SSPSSPPS0 // bit 0
16437 #define SSPSSPPS1 SSPSSPPSbits.SSPSSPPS1 // bit 1
16438 #define SSPSSPPS2 SSPSSPPSbits.SSPSSPPS2 // bit 2
16439 #define SSPSSPPS3 SSPSSPPSbits.SSPSSPPS3 // bit 3
16440 #define SSPSSPPS4 SSPSSPPSbits.SSPSSPPS4 // bit 4
16442 #define C STATUSbits.C // bit 0
16443 #define DC STATUSbits.DC // bit 1
16444 #define Z STATUSbits.Z // bit 2
16445 #define NOT_PD STATUSbits.NOT_PD // bit 3
16446 #define NOT_TO STATUSbits.NOT_TO // bit 4
16448 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
16449 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
16450 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
16452 #define T0CKIPPS0 T0CKIPPSbits.T0CKIPPS0 // bit 0
16453 #define T0CKIPPS1 T0CKIPPSbits.T0CKIPPS1 // bit 1
16454 #define T0CKIPPS2 T0CKIPPSbits.T0CKIPPS2 // bit 2
16455 #define T0CKIPPS3 T0CKIPPSbits.T0CKIPPS3 // bit 3
16456 #define T0CKIPPS4 T0CKIPPSbits.T0CKIPPS4 // bit 4
16458 #define T1CKIPPS0 T1CKIPPSbits.T1CKIPPS0 // bit 0
16459 #define T1CKIPPS1 T1CKIPPSbits.T1CKIPPS1 // bit 1
16460 #define T1CKIPPS2 T1CKIPPSbits.T1CKIPPS2 // bit 2
16461 #define T1CKIPPS3 T1CKIPPSbits.T1CKIPPS3 // bit 3
16462 #define T1CKIPPS4 T1CKIPPSbits.T1CKIPPS4 // bit 4
16464 #define TMR1ON T1CONbits.TMR1ON // bit 0
16465 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
16466 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
16467 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
16468 #define TMR1CS0 T1CONbits.TMR1CS0 // bit 6
16469 #define TMR1CS1 T1CONbits.TMR1CS1 // bit 7
16471 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0
16472 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1
16473 #define T1GVAL T1GCONbits.T1GVAL // bit 2
16474 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3
16475 #define T1GSPM T1GCONbits.T1GSPM // bit 4
16476 #define T1GTM T1GCONbits.T1GTM // bit 5
16477 #define T1GPOL T1GCONbits.T1GPOL // bit 6
16478 #define TMR1GE T1GCONbits.TMR1GE // bit 7
16480 #define T1GPPS0 T1GPPSbits.T1GPPS0 // bit 0
16481 #define T1GPPS1 T1GPPSbits.T1GPPS1 // bit 1
16482 #define T1GPPS2 T1GPPSbits.T1GPPS2 // bit 2
16483 #define T1GPPS3 T1GPPSbits.T1GPPS3 // bit 3
16484 #define T1GPPS4 T1GPPSbits.T1GPPS4 // bit 4
16486 #define OUTPS0 T2CONbits.OUTPS0 // bit 0, shadows bit in T2CONbits
16487 #define T2OUTPS0 T2CONbits.T2OUTPS0 // bit 0, shadows bit in T2CONbits
16488 #define OUTPS1 T2CONbits.OUTPS1 // bit 1, shadows bit in T2CONbits
16489 #define T2OUTPS1 T2CONbits.T2OUTPS1 // bit 1, shadows bit in T2CONbits
16490 #define OUTPS2 T2CONbits.OUTPS2 // bit 2, shadows bit in T2CONbits
16491 #define T2OUTPS2 T2CONbits.T2OUTPS2 // bit 2, shadows bit in T2CONbits
16492 #define OUTPS3 T2CONbits.OUTPS3 // bit 3, shadows bit in T2CONbits
16493 #define T2OUTPS3 T2CONbits.T2OUTPS3 // bit 3, shadows bit in T2CONbits
16494 #define CKPS0 T2CONbits.CKPS0 // bit 4, shadows bit in T2CONbits
16495 #define T2CKPS0 T2CONbits.T2CKPS0 // bit 4, shadows bit in T2CONbits
16496 #define CKPS1 T2CONbits.CKPS1 // bit 5, shadows bit in T2CONbits
16497 #define T2CKPS1 T2CONbits.T2CKPS1 // bit 5, shadows bit in T2CONbits
16498 #define CKPS2 T2CONbits.CKPS2 // bit 6, shadows bit in T2CONbits
16499 #define T2CKPS2 T2CONbits.T2CKPS2 // bit 6, shadows bit in T2CONbits
16500 #define ON T2CONbits.ON // bit 7, shadows bit in T2CONbits
16501 #define T2ON T2CONbits.T2ON // bit 7, shadows bit in T2CONbits
16502 #define TMR2ON T2CONbits.TMR2ON // bit 7, shadows bit in T2CONbits
16504 #define T2PPS0 T2PPSbits.T2PPS0 // bit 0
16505 #define T2PPS1 T2PPSbits.T2PPS1 // bit 1
16506 #define T2PPS2 T2PPSbits.T2PPS2 // bit 2
16507 #define T2PPS3 T2PPSbits.T2PPS3 // bit 3
16508 #define T2PPS4 T2PPSbits.T2PPS4 // bit 4
16510 #define RSEL0 T2RSTbits.RSEL0 // bit 0, shadows bit in T2RSTbits
16511 #define T2RSEL0 T2RSTbits.T2RSEL0 // bit 0, shadows bit in T2RSTbits
16512 #define RSEL1 T2RSTbits.RSEL1 // bit 1, shadows bit in T2RSTbits
16513 #define T2RSEL1 T2RSTbits.T2RSEL1 // bit 1, shadows bit in T2RSTbits
16514 #define RSEL2 T2RSTbits.RSEL2 // bit 2, shadows bit in T2RSTbits
16515 #define T2RSEL2 T2RSTbits.T2RSEL2 // bit 2, shadows bit in T2RSTbits
16516 #define RSEL3 T2RSTbits.RSEL3 // bit 3, shadows bit in T2RSTbits
16517 #define T2RSEL3 T2RSTbits.T2RSEL3 // bit 3, shadows bit in T2RSTbits
16519 #define T3CKIPPS0 T3CKIPPSbits.T3CKIPPS0 // bit 0
16520 #define T3CKIPPS1 T3CKIPPSbits.T3CKIPPS1 // bit 1
16521 #define T3CKIPPS2 T3CKIPPSbits.T3CKIPPS2 // bit 2
16522 #define T3CKIPPS3 T3CKIPPSbits.T3CKIPPS3 // bit 3
16523 #define T3CKIPPS4 T3CKIPPSbits.T3CKIPPS4 // bit 4
16525 #define TMR3ON T3CONbits.TMR3ON // bit 0
16526 #define T3SYNC T3CONbits.T3SYNC // bit 2
16527 #define T3CKPS0 T3CONbits.T3CKPS0 // bit 4
16528 #define T3CKPS1 T3CONbits.T3CKPS1 // bit 5
16529 #define TMR3CS0 T3CONbits.TMR3CS0 // bit 6
16530 #define TMR3CS1 T3CONbits.TMR3CS1 // bit 7
16532 #define T3GSS0 T3GCONbits.T3GSS0 // bit 0
16533 #define T3GSS1 T3GCONbits.T3GSS1 // bit 1
16534 #define T3GVAL T3GCONbits.T3GVAL // bit 2
16535 #define T3GGO_NOT_DONE T3GCONbits.T3GGO_NOT_DONE // bit 3
16536 #define T3GSPM T3GCONbits.T3GSPM // bit 4
16537 #define T3GTM T3GCONbits.T3GTM // bit 5
16538 #define T3GPOL T3GCONbits.T3GPOL // bit 6
16539 #define TMR3GE T3GCONbits.TMR3GE // bit 7
16541 #define T3GPPS0 T3GPPSbits.T3GPPS0 // bit 0
16542 #define T3GPPS1 T3GPPSbits.T3GPPS1 // bit 1
16543 #define T3GPPS2 T3GPPSbits.T3GPPS2 // bit 2
16544 #define T3GPPS3 T3GPPSbits.T3GPPS3 // bit 3
16545 #define T3GPPS4 T3GPPSbits.T3GPPS4 // bit 4
16547 #define T4PPS0 T4PPSbits.T4PPS0 // bit 0
16548 #define T4PPS1 T4PPSbits.T4PPS1 // bit 1
16549 #define T4PPS2 T4PPSbits.T4PPS2 // bit 2
16550 #define T4PPS3 T4PPSbits.T4PPS3 // bit 3
16551 #define T4PPS4 T4PPSbits.T4PPS4 // bit 4
16553 #define T5CKIPPS0 T5CKIPPSbits.T5CKIPPS0 // bit 0
16554 #define T5CKIPPS1 T5CKIPPSbits.T5CKIPPS1 // bit 1
16555 #define T5CKIPPS2 T5CKIPPSbits.T5CKIPPS2 // bit 2
16556 #define T5CKIPPS3 T5CKIPPSbits.T5CKIPPS3 // bit 3
16557 #define T5CKIPPS4 T5CKIPPSbits.T5CKIPPS4 // bit 4
16559 #define TMR5ON T5CONbits.TMR5ON // bit 0
16560 #define T5SYNC T5CONbits.T5SYNC // bit 2
16561 #define T5CKPS0 T5CONbits.T5CKPS0 // bit 4
16562 #define T5CKPS1 T5CONbits.T5CKPS1 // bit 5
16563 #define TMR5CS0 T5CONbits.TMR5CS0 // bit 6
16564 #define TMR5CS1 T5CONbits.TMR5CS1 // bit 7
16566 #define T5GSS0 T5GCONbits.T5GSS0 // bit 0
16567 #define T5GSS1 T5GCONbits.T5GSS1 // bit 1
16568 #define T5GVAL T5GCONbits.T5GVAL // bit 2
16569 #define T5GGO_NOT_DONE T5GCONbits.T5GGO_NOT_DONE // bit 3
16570 #define T5GSPM T5GCONbits.T5GSPM // bit 4
16571 #define T5GTM T5GCONbits.T5GTM // bit 5
16572 #define T5GPOL T5GCONbits.T5GPOL // bit 6
16573 #define TMR5GE T5GCONbits.TMR5GE // bit 7
16575 #define T5GPPS0 T5GPPSbits.T5GPPS0 // bit 0
16576 #define T5GPPS1 T5GPPSbits.T5GPPS1 // bit 1
16577 #define T5GPPS2 T5GPPSbits.T5GPPS2 // bit 2
16578 #define T5GPPS3 T5GPPSbits.T5GPPS3 // bit 3
16579 #define T5GPPS4 T5GPPSbits.T5GPPS4 // bit 4
16581 #define T6PPS0 T6PPSbits.T6PPS0 // bit 0
16582 #define T6PPS1 T6PPSbits.T6PPS1 // bit 1
16583 #define T6PPS2 T6PPSbits.T6PPS2 // bit 2
16584 #define T6PPS3 T6PPSbits.T6PPS3 // bit 3
16585 #define T6PPS4 T6PPSbits.T6PPS4 // bit 4
16587 #define TRISA0 TRISAbits.TRISA0 // bit 0
16588 #define TRISA1 TRISAbits.TRISA1 // bit 1
16589 #define TRISA2 TRISAbits.TRISA2 // bit 2
16590 #define TRISA3 TRISAbits.TRISA3 // bit 3
16591 #define TRISA4 TRISAbits.TRISA4 // bit 4
16592 #define TRISA5 TRISAbits.TRISA5 // bit 5
16594 #define TRISC0 TRISCbits.TRISC0 // bit 0
16595 #define TRISC1 TRISCbits.TRISC1 // bit 1
16596 #define TRISC2 TRISCbits.TRISC2 // bit 2
16597 #define TRISC3 TRISCbits.TRISC3 // bit 3
16598 #define TRISC4 TRISCbits.TRISC4 // bit 4
16599 #define TRISC5 TRISCbits.TRISC5 // bit 5
16601 #define TX9D TX1STAbits.TX9D // bit 0
16602 #define TRMT TX1STAbits.TRMT // bit 1
16603 #define BRGH TX1STAbits.BRGH // bit 2
16604 #define SENDB TX1STAbits.SENDB // bit 3
16605 #define SYNC TX1STAbits.SYNC // bit 4
16606 #define TXEN TX1STAbits.TXEN // bit 5
16607 #define TX9 TX1STAbits.TX9 // bit 6
16608 #define CSRC TX1STAbits.CSRC // bit 7
16610 #define VREGPM0 VREGCONbits.VREGPM0 // bit 0
16611 #define VREGPM1 VREGCONbits.VREGPM1 // bit 1
16613 #define WINDOW0 WDTCON1bits.WINDOW0 // bit 0, shadows bit in WDTCON1bits
16614 #define WDTWINDOW0 WDTCON1bits.WDTWINDOW0 // bit 0, shadows bit in WDTCON1bits
16615 #define WINDOW1 WDTCON1bits.WINDOW1 // bit 1, shadows bit in WDTCON1bits
16616 #define WDTWINDOW1 WDTCON1bits.WDTWINDOW1 // bit 1, shadows bit in WDTCON1bits
16617 #define WINDOW2 WDTCON1bits.WINDOW2 // bit 2, shadows bit in WDTCON1bits
16618 #define WDTWINDOW2 WDTCON1bits.WDTWINDOW2 // bit 2, shadows bit in WDTCON1bits
16619 #define WDTCS0 WDTCON1bits.WDTCS0 // bit 4
16620 #define WDTCS1 WDTCON1bits.WDTCS1 // bit 5
16621 #define WDTCS2 WDTCON1bits.WDTCS2 // bit 6
16623 #define PSCNT8 WDTPSHbits.PSCNT8 // bit 0, shadows bit in WDTPSHbits
16624 #define WDTPSCNT8 WDTPSHbits.WDTPSCNT8 // bit 0, shadows bit in WDTPSHbits
16625 #define PSCNT9 WDTPSHbits.PSCNT9 // bit 1, shadows bit in WDTPSHbits
16626 #define WDTPSCNT9 WDTPSHbits.WDTPSCNT9 // bit 1, shadows bit in WDTPSHbits
16627 #define PSCNT10 WDTPSHbits.PSCNT10 // bit 2, shadows bit in WDTPSHbits
16628 #define WDTPSCNT10 WDTPSHbits.WDTPSCNT10 // bit 2, shadows bit in WDTPSHbits
16629 #define PSCNT11 WDTPSHbits.PSCNT11 // bit 3, shadows bit in WDTPSHbits
16630 #define WDTPSCNT11 WDTPSHbits.WDTPSCNT11 // bit 3, shadows bit in WDTPSHbits
16631 #define PSCNT12 WDTPSHbits.PSCNT12 // bit 4, shadows bit in WDTPSHbits
16632 #define WDTPSCNT12 WDTPSHbits.WDTPSCNT12 // bit 4, shadows bit in WDTPSHbits
16633 #define PSCNT13 WDTPSHbits.PSCNT13 // bit 5, shadows bit in WDTPSHbits
16634 #define WDTPSCNT13 WDTPSHbits.WDTPSCNT13 // bit 5, shadows bit in WDTPSHbits
16635 #define PSCNT14 WDTPSHbits.PSCNT14 // bit 6, shadows bit in WDTPSHbits
16636 #define WDTPSCNT14 WDTPSHbits.WDTPSCNT14 // bit 6, shadows bit in WDTPSHbits
16637 #define PSCNT15 WDTPSHbits.PSCNT15 // bit 7, shadows bit in WDTPSHbits
16638 #define WDTPSCNT15 WDTPSHbits.WDTPSCNT15 // bit 7, shadows bit in WDTPSHbits
16640 #define PSCNT0 WDTPSLbits.PSCNT0 // bit 0, shadows bit in WDTPSLbits
16641 #define WDTPSCNT0 WDTPSLbits.WDTPSCNT0 // bit 0, shadows bit in WDTPSLbits
16642 #define PSCNT1 WDTPSLbits.PSCNT1 // bit 1, shadows bit in WDTPSLbits
16643 #define WDTPSCNT1 WDTPSLbits.WDTPSCNT1 // bit 1, shadows bit in WDTPSLbits
16644 #define PSCNT2 WDTPSLbits.PSCNT2 // bit 2, shadows bit in WDTPSLbits
16645 #define WDTPSCNT2 WDTPSLbits.WDTPSCNT2 // bit 2, shadows bit in WDTPSLbits
16646 #define PSCNT3 WDTPSLbits.PSCNT3 // bit 3, shadows bit in WDTPSLbits
16647 #define WDTPSCNT3 WDTPSLbits.WDTPSCNT3 // bit 3, shadows bit in WDTPSLbits
16648 #define PSCNT4 WDTPSLbits.PSCNT4 // bit 4, shadows bit in WDTPSLbits
16649 #define WDTPSCNT4 WDTPSLbits.WDTPSCNT4 // bit 4, shadows bit in WDTPSLbits
16650 #define PSCNT5 WDTPSLbits.PSCNT5 // bit 5, shadows bit in WDTPSLbits
16651 #define WDTPSCNT5 WDTPSLbits.WDTPSCNT5 // bit 5, shadows bit in WDTPSLbits
16652 #define PSCNT6 WDTPSLbits.PSCNT6 // bit 6, shadows bit in WDTPSLbits
16653 #define WDTPSCNT6 WDTPSLbits.WDTPSCNT6 // bit 6, shadows bit in WDTPSLbits
16654 #define PSCNT7 WDTPSLbits.PSCNT7 // bit 7, shadows bit in WDTPSLbits
16655 #define WDTPSCNT7 WDTPSLbits.WDTPSCNT7 // bit 7, shadows bit in WDTPSLbits
16657 #define PSCNT16 WDTTMRbits.PSCNT16 // bit 0, shadows bit in WDTTMRbits
16658 #define WDTPSCNT16 WDTTMRbits.WDTPSCNT16 // bit 0, shadows bit in WDTTMRbits
16659 #define PSCNT17 WDTTMRbits.PSCNT17 // bit 1, shadows bit in WDTTMRbits
16660 #define WDTPSCNT17 WDTTMRbits.WDTPSCNT17 // bit 1, shadows bit in WDTTMRbits
16661 #define STATE WDTTMRbits.STATE // bit 2, shadows bit in WDTTMRbits
16662 #define WDTSTATE WDTTMRbits.WDTSTATE // bit 2, shadows bit in WDTTMRbits
16663 #define WDTTMR0 WDTTMRbits.WDTTMR0 // bit 3
16664 #define WDTTMR1 WDTTMRbits.WDTTMR1 // bit 4
16665 #define WDTTMR2 WDTTMRbits.WDTTMR2 // bit 5
16666 #define WDTTMR3 WDTTMRbits.WDTTMR3 // bit 6
16667 #define WDTTMR4 WDTTMRbits.WDTTMR4 // bit 7
16669 #define WPUA0 WPUAbits.WPUA0 // bit 0
16670 #define WPUA1 WPUAbits.WPUA1 // bit 1
16671 #define WPUA2 WPUAbits.WPUA2 // bit 2
16672 #define WPUA3 WPUAbits.WPUA3 // bit 3
16673 #define WPUA4 WPUAbits.WPUA4 // bit 4
16674 #define WPUA5 WPUAbits.WPUA5 // bit 5
16676 #define WPUC0 WPUCbits.WPUC0 // bit 0
16677 #define WPUC1 WPUCbits.WPUC1 // bit 1
16678 #define WPUC2 WPUCbits.WPUC2 // bit 2
16679 #define WPUC3 WPUCbits.WPUC3 // bit 3
16680 #define WPUC4 WPUCbits.WPUC4 // bit 4
16681 #define WPUC5 WPUCbits.WPUC5 // bit 5
16683 #define ZCD1INTN ZCD1CONbits.ZCD1INTN // bit 0
16684 #define ZCD1INTP ZCD1CONbits.ZCD1INTP // bit 1
16685 #define ZCD1POL ZCD1CONbits.ZCD1POL // bit 4
16686 #define ZCD1OUT ZCD1CONbits.ZCD1OUT // bit 5
16687 #define ZCD1EN ZCD1CONbits.ZCD1EN // bit 7
16689 #endif // #ifndef NO_BIT_DEFINES
16691 #endif // #ifndef __PIC16F1614_H__