Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / device / non-free / include / pic14 / pic16lf1619.h
blob413fd1ded8b61e7ec1acfc5d8d5aadad19ed1420
1 /*
2 * This declarations of the PIC16LF1619 MCU.
4 * This file is part of the GNU PIC library for SDCC, originally
5 * created by Molnar Karoly <molnarkaroly@users.sf.net> 2016.
7 * This file is generated automatically by the cinc2h.pl, 2016-04-13 17:23:10 UTC.
9 * SDCC is licensed under the GNU Public license (GPL) v2. Note that
10 * this license covers the code to the compiler and other executables,
11 * but explicitly does not cover any code or objects generated by sdcc.
13 * For pic device libraries and header files which are derived from
14 * Microchip header (.inc) and linker script (.lkr) files Microchip
15 * requires that "The header files should state that they are only to be
16 * used with authentic Microchip devices" which makes them incompatible
17 * with the GPL. Pic device libraries and header files are located at
18 * non-free/lib and non-free/include directories respectively.
19 * Sdcc should be run with the --use-non-free command line option in
20 * order to include non-free header files and libraries.
22 * See http://sdcc.sourceforge.net/ for the latest information on sdcc.
25 #ifndef __PIC16LF1619_H__
26 #define __PIC16LF1619_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 PORTB_ADDR 0x000D
52 #define PORTC_ADDR 0x000E
53 #define PIR1_ADDR 0x0010
54 #define PIR2_ADDR 0x0011
55 #define PIR3_ADDR 0x0012
56 #define PIR4_ADDR 0x0013
57 #define PIR5_ADDR 0x0014
58 #define TMR0_ADDR 0x0015
59 #define TMR1_ADDR 0x0016
60 #define TMR1L_ADDR 0x0016
61 #define TMR1H_ADDR 0x0017
62 #define T1CON_ADDR 0x0018
63 #define T1GCON_ADDR 0x0019
64 #define T2TMR_ADDR 0x001A
65 #define TMR2_ADDR 0x001A
66 #define PR2_ADDR 0x001B
67 #define T2PR_ADDR 0x001B
68 #define T2CON_ADDR 0x001C
69 #define T2HLT_ADDR 0x001D
70 #define T2CLKCON_ADDR 0x001E
71 #define T2RST_ADDR 0x001F
72 #define TRISA_ADDR 0x008C
73 #define TRISB_ADDR 0x008D
74 #define TRISC_ADDR 0x008E
75 #define PIE1_ADDR 0x0090
76 #define PIE2_ADDR 0x0091
77 #define PIE3_ADDR 0x0092
78 #define PIE4_ADDR 0x0093
79 #define PIE5_ADDR 0x0094
80 #define OPTION_REG_ADDR 0x0095
81 #define PCON_ADDR 0x0096
82 #define OSCTUNE_ADDR 0x0098
83 #define OSCCON_ADDR 0x0099
84 #define OSCSTAT_ADDR 0x009A
85 #define ADRES_ADDR 0x009B
86 #define ADRESL_ADDR 0x009B
87 #define ADRESH_ADDR 0x009C
88 #define ADCON0_ADDR 0x009D
89 #define ADCON1_ADDR 0x009E
90 #define ADCON2_ADDR 0x009F
91 #define LATA_ADDR 0x010C
92 #define LATB_ADDR 0x010D
93 #define LATC_ADDR 0x010E
94 #define CM1CON0_ADDR 0x0111
95 #define CM1CON1_ADDR 0x0112
96 #define CM2CON0_ADDR 0x0113
97 #define CM2CON1_ADDR 0x0114
98 #define CMOUT_ADDR 0x0115
99 #define BORCON_ADDR 0x0116
100 #define FVRCON_ADDR 0x0117
101 #define DAC1CON0_ADDR 0x0118
102 #define DAC1CON1_ADDR 0x0119
103 #define ZCD1CON_ADDR 0x011C
104 #define ANSELA_ADDR 0x018C
105 #define ANSELB_ADDR 0x018D
106 #define ANSELC_ADDR 0x018E
107 #define PMADR_ADDR 0x0191
108 #define PMADRL_ADDR 0x0191
109 #define PMADRH_ADDR 0x0192
110 #define PMDAT_ADDR 0x0193
111 #define PMDATL_ADDR 0x0193
112 #define PMDATH_ADDR 0x0194
113 #define PMCON1_ADDR 0x0195
114 #define PMCON2_ADDR 0x0196
115 #define RC1REG_ADDR 0x0199
116 #define RCREG_ADDR 0x0199
117 #define RCREG1_ADDR 0x0199
118 #define TX1REG_ADDR 0x019A
119 #define TXREG_ADDR 0x019A
120 #define TXREG1_ADDR 0x019A
121 #define SP1BRG_ADDR 0x019B
122 #define SP1BRGL_ADDR 0x019B
123 #define SPBRG_ADDR 0x019B
124 #define SPBRG1_ADDR 0x019B
125 #define SPBRGL_ADDR 0x019B
126 #define SP1BRGH_ADDR 0x019C
127 #define SPBRGH_ADDR 0x019C
128 #define SPBRGH1_ADDR 0x019C
129 #define RC1STA_ADDR 0x019D
130 #define RCSTA_ADDR 0x019D
131 #define RCSTA1_ADDR 0x019D
132 #define TX1STA_ADDR 0x019E
133 #define TXSTA_ADDR 0x019E
134 #define TXSTA1_ADDR 0x019E
135 #define BAUD1CON_ADDR 0x019F
136 #define BAUDCON_ADDR 0x019F
137 #define BAUDCON1_ADDR 0x019F
138 #define BAUDCTL_ADDR 0x019F
139 #define BAUDCTL1_ADDR 0x019F
140 #define WPUA_ADDR 0x020C
141 #define WPUB_ADDR 0x020D
142 #define WPUC_ADDR 0x020E
143 #define SSP1BUF_ADDR 0x0211
144 #define SSPBUF_ADDR 0x0211
145 #define SSP1ADD_ADDR 0x0212
146 #define SSPADD_ADDR 0x0212
147 #define SSP1MSK_ADDR 0x0213
148 #define SSPMSK_ADDR 0x0213
149 #define SSP1STAT_ADDR 0x0214
150 #define SSPSTAT_ADDR 0x0214
151 #define SSP1CON_ADDR 0x0215
152 #define SSP1CON1_ADDR 0x0215
153 #define SSPCON_ADDR 0x0215
154 #define SSPCON1_ADDR 0x0215
155 #define SSP1CON2_ADDR 0x0216
156 #define SSPCON2_ADDR 0x0216
157 #define SSP1CON3_ADDR 0x0217
158 #define SSPCON3_ADDR 0x0217
159 #define ODCONA_ADDR 0x028C
160 #define ODCONB_ADDR 0x028D
161 #define ODCONC_ADDR 0x028E
162 #define CCPR1_ADDR 0x0291
163 #define CCPR1L_ADDR 0x0291
164 #define CCPR1H_ADDR 0x0292
165 #define CCP1CON_ADDR 0x0293
166 #define CCP1CAP_ADDR 0x0294
167 #define CCPR2_ADDR 0x0298
168 #define CCPR2L_ADDR 0x0298
169 #define CCPR2H_ADDR 0x0299
170 #define CCP2CON_ADDR 0x029A
171 #define CCP2CAP_ADDR 0x029B
172 #define CCPTMRS_ADDR 0x029E
173 #define SLRCONA_ADDR 0x030C
174 #define SLRCONB_ADDR 0x030D
175 #define SLRCONC_ADDR 0x030E
176 #define INLVLA_ADDR 0x038C
177 #define INLVLB_ADDR 0x038D
178 #define INLVLC_ADDR 0x038E
179 #define IOCAP_ADDR 0x0391
180 #define IOCAN_ADDR 0x0392
181 #define IOCAF_ADDR 0x0393
182 #define IOCBP_ADDR 0x0394
183 #define IOCBN_ADDR 0x0395
184 #define IOCBF_ADDR 0x0396
185 #define IOCCP_ADDR 0x0397
186 #define IOCCN_ADDR 0x0398
187 #define IOCCF_ADDR 0x0399
188 #define HDRVC_ADDR 0x040E
189 #define T4TMR_ADDR 0x0413
190 #define TMR4_ADDR 0x0413
191 #define PR4_ADDR 0x0414
192 #define T4PR_ADDR 0x0414
193 #define T4CON_ADDR 0x0415
194 #define T4HLT_ADDR 0x0416
195 #define T4CLKCON_ADDR 0x0417
196 #define T4RST_ADDR 0x0418
197 #define T6TMR_ADDR 0x041A
198 #define TMR6_ADDR 0x041A
199 #define PR6_ADDR 0x041B
200 #define T6PR_ADDR 0x041B
201 #define T6CON_ADDR 0x041C
202 #define T6HLT_ADDR 0x041D
203 #define T6CLKCON_ADDR 0x041E
204 #define T6RST_ADDR 0x041F
205 #define TMR3_ADDR 0x0493
206 #define TMR3L_ADDR 0x0493
207 #define TMR3H_ADDR 0x0494
208 #define T3CON_ADDR 0x0495
209 #define T3GCON_ADDR 0x0496
210 #define TMR5L_ADDR 0x049A
211 #define TMR5H_ADDR 0x049B
212 #define T5CON_ADDR 0x049C
213 #define T5GCON_ADDR 0x049D
214 #define PID1SET_ADDR 0x058C
215 #define PID1SETL_ADDR 0x058C
216 #define PID1SETH_ADDR 0x058D
217 #define PID1IN_ADDR 0x058E
218 #define PID1INL_ADDR 0x058E
219 #define PID1INH_ADDR 0x058F
220 #define PID1K1_ADDR 0x0590
221 #define PID1K1L_ADDR 0x0590
222 #define PID1K1H_ADDR 0x0591
223 #define PID1K2_ADDR 0x0592
224 #define PID1K2L_ADDR 0x0592
225 #define PID1K2H_ADDR 0x0593
226 #define PID1K3_ADDR 0x0594
227 #define PID1K3L_ADDR 0x0594
228 #define PID1K3H_ADDR 0x0595
229 #define PID1OUT_ADDR 0x0596
230 #define PID1OUTLL_ADDR 0x0596
231 #define PID1OUTLH_ADDR 0x0597
232 #define PID1OUTHL_ADDR 0x0598
233 #define PID1OUTHH_ADDR 0x0599
234 #define PID1OUTU_ADDR 0x059A
235 #define PID1Z1_ADDR 0x059B
236 #define PID1Z1L_ADDR 0x059B
237 #define PID1Z1H_ADDR 0x059C
238 #define PID1Z1U_ADDR 0x059D
239 #define PID1Z2_ADDR 0x060C
240 #define PID1Z2L_ADDR 0x060C
241 #define PID1Z2H_ADDR 0x060D
242 #define PID1Z2U_ADDR 0x060E
243 #define PID1ACC_ADDR 0x060F
244 #define PID1ACCLL_ADDR 0x060F
245 #define PID1ACCLH_ADDR 0x0610
246 #define PID1ACCHL_ADDR 0x0611
247 #define PID1ACCHH_ADDR 0x0612
248 #define PID1ACCU_ADDR 0x0613
249 #define PID1CON_ADDR 0x0614
250 #define PWM3DCL_ADDR 0x0617
251 #define PWM3DCH_ADDR 0x0618
252 #define PWM3CON_ADDR 0x0619
253 #define PWM4DCL_ADDR 0x061A
254 #define PWM4DCH_ADDR 0x061B
255 #define PWM4CON_ADDR 0x061C
256 #define CWG1DBR_ADDR 0x0691
257 #define CWG1DBF_ADDR 0x0692
258 #define CWG1AS0_ADDR 0x0693
259 #define CWG1AS1_ADDR 0x0694
260 #define CWG1OCON0_ADDR 0x0695
261 #define CWG1CON0_ADDR 0x0696
262 #define CWG1CON1_ADDR 0x0697
263 #define CWG1CLKCON_ADDR 0x0699
264 #define CWG1ISM_ADDR 0x069A
265 #define WDTCON0_ADDR 0x0711
266 #define WDTCON1_ADDR 0x0712
267 #define WDTPSL_ADDR 0x0713
268 #define WDTPSH_ADDR 0x0714
269 #define WDTTMR_ADDR 0x0715
270 #define SCANLADR_ADDR 0x0718
271 #define SCANLADRL_ADDR 0x0718
272 #define SCANLADRH_ADDR 0x0719
273 #define SCANHADR_ADDR 0x071A
274 #define SCANHADRL_ADDR 0x071A
275 #define SCANHADRH_ADDR 0x071B
276 #define SCANCON0_ADDR 0x071C
277 #define SCANTRIG_ADDR 0x071D
278 #define CRCDAT_ADDR 0x0791
279 #define CRCDATL_ADDR 0x0791
280 #define CRCDATH_ADDR 0x0792
281 #define CRCACC_ADDR 0x0793
282 #define CRCACCL_ADDR 0x0793
283 #define CRCACCH_ADDR 0x0794
284 #define CRCSHIFT_ADDR 0x0795
285 #define CRCSHIFTL_ADDR 0x0795
286 #define CRCSHIFTH_ADDR 0x0796
287 #define CRCXOR_ADDR 0x0797
288 #define CRCXORL_ADDR 0x0797
289 #define CRCXORH_ADDR 0x0798
290 #define CRCCON0_ADDR 0x0799
291 #define CRCCON1_ADDR 0x079A
292 #define AT1RES_ADDR 0x080C
293 #define AT1RESL_ADDR 0x080C
294 #define AT1RESH_ADDR 0x080D
295 #define AT1MISS_ADDR 0x080E
296 #define AT1MISSL_ADDR 0x080E
297 #define AT1MISSH_ADDR 0x080F
298 #define AT1PER_ADDR 0x0810
299 #define AT1PERL_ADDR 0x0810
300 #define AT1PERH_ADDR 0x0811
301 #define AT1PHS_ADDR 0x0812
302 #define AT1PHSL_ADDR 0x0812
303 #define AT1PHSH_ADDR 0x0813
304 #define AT1CON0_ADDR 0x0814
305 #define AT1CON1_ADDR 0x0815
306 #define AT1IR0_ADDR 0x0816
307 #define AT1IE0_ADDR 0x0817
308 #define AT1IR1_ADDR 0x0818
309 #define AT1IE1_ADDR 0x0819
310 #define AT1STPT_ADDR 0x081A
311 #define AT1STPTL_ADDR 0x081A
312 #define AT1STPTH_ADDR 0x081B
313 #define AT1ERR_ADDR 0x081C
314 #define AT1ERRL_ADDR 0x081C
315 #define AT1ERRH_ADDR 0x081D
316 #define AT1CLK_ADDR 0x088C
317 #define AT1SIG_ADDR 0x088D
318 #define AT1CSEL1_ADDR 0x088E
319 #define AT1CC1_ADDR 0x088F
320 #define AT1CC1L_ADDR 0x088F
321 #define AT1CC1H_ADDR 0x0890
322 #define AT1CCON1_ADDR 0x0891
323 #define AT1CSEL2_ADDR 0x0892
324 #define AT1CC2_ADDR 0x0893
325 #define AT1CC2L_ADDR 0x0893
326 #define AT1CC2H_ADDR 0x0894
327 #define AT1CCON2_ADDR 0x0895
328 #define AT1CSEL3_ADDR 0x0896
329 #define AT1CC3_ADDR 0x0897
330 #define AT1CC3L_ADDR 0x0897
331 #define AT1CC3H_ADDR 0x0898
332 #define AT1CCON3_ADDR 0x0899
333 #define SMT1TMR_ADDR 0x0D8C
334 #define SMT1TMRL_ADDR 0x0D8C
335 #define SMT1TMRH_ADDR 0x0D8D
336 #define SMT1TMRU_ADDR 0x0D8E
337 #define SMT1CPR_ADDR 0x0D8F
338 #define SMT1CPRL_ADDR 0x0D8F
339 #define SMT1CPRH_ADDR 0x0D90
340 #define SMT1CPRU_ADDR 0x0D91
341 #define SMT1CPW_ADDR 0x0D92
342 #define SMT1CPWL_ADDR 0x0D92
343 #define SMT1CPWH_ADDR 0x0D93
344 #define SMT1CPWU_ADDR 0x0D94
345 #define SMT1PR_ADDR 0x0D95
346 #define SMT1PRL_ADDR 0x0D95
347 #define SMT1PRH_ADDR 0x0D96
348 #define SMT1PRU_ADDR 0x0D97
349 #define SMT1CON0_ADDR 0x0D98
350 #define SMT1CON1_ADDR 0x0D99
351 #define SMT1STAT_ADDR 0x0D9A
352 #define SMT1CLK_ADDR 0x0D9B
353 #define SMT1SIG_ADDR 0x0D9C
354 #define SMT1WIN_ADDR 0x0D9D
355 #define SMT2TMR_ADDR 0x0D9E
356 #define SMT2TMRL_ADDR 0x0D9E
357 #define SMT2TMRH_ADDR 0x0D9F
358 #define SMT2TMRU_ADDR 0x0DA0
359 #define SMT2CPR_ADDR 0x0DA1
360 #define SMT2CPRL_ADDR 0x0DA1
361 #define SMT2CPRH_ADDR 0x0DA2
362 #define SMT2CPRU_ADDR 0x0DA3
363 #define SMT2CPW_ADDR 0x0DA4
364 #define SMT2CPWL_ADDR 0x0DA4
365 #define SMT2CPWH_ADDR 0x0DA5
366 #define SMT2CPWU_ADDR 0x0DA6
367 #define SMT2PR_ADDR 0x0DA7
368 #define SMT2PRL_ADDR 0x0DA7
369 #define SMT2PRH_ADDR 0x0DA8
370 #define SMT2PRU_ADDR 0x0DA9
371 #define SMT2CON0_ADDR 0x0DAA
372 #define SMT2CON1_ADDR 0x0DAB
373 #define SMT2STAT_ADDR 0x0DAC
374 #define SMT2CLK_ADDR 0x0DAD
375 #define SMT2SIG_ADDR 0x0DAE
376 #define SMT2WIN_ADDR 0x0DAF
377 #define PPSLOCK_ADDR 0x0E0F
378 #define INTPPS_ADDR 0x0E10
379 #define T0CKIPPS_ADDR 0x0E11
380 #define T1CKIPPS_ADDR 0x0E12
381 #define T1GPPS_ADDR 0x0E13
382 #define CCP1PPS_ADDR 0x0E14
383 #define CCP2PPS_ADDR 0x0E15
384 #define ATINPPS_ADDR 0x0E16
385 #define CWGINPPS_ADDR 0x0E17
386 #define T2PPS_ADDR 0x0E18
387 #define T3CKIPPS_ADDR 0x0E19
388 #define T3GPPS_ADDR 0x0E1A
389 #define T4PPS_ADDR 0x0E1B
390 #define T5CKIPPS_ADDR 0x0E1C
391 #define T5GPPS_ADDR 0x0E1D
392 #define T6PPS_ADDR 0x0E1E
393 #define ATCC1PPS_ADDR 0x0E1F
394 #define SSPCLKPPS_ADDR 0x0E20
395 #define SSPDATPPS_ADDR 0x0E21
396 #define SSPSSPPS_ADDR 0x0E22
397 #define ATCC2PPS_ADDR 0x0E23
398 #define RXPPS_ADDR 0x0E24
399 #define CKPPS_ADDR 0x0E25
400 #define SMT1SIGPPS_ADDR 0x0E26
401 #define SMT1WINPPS_ADDR 0x0E27
402 #define CLCIN0PPS_ADDR 0x0E28
403 #define CLCIN1PPS_ADDR 0x0E29
404 #define CLCIN2PPS_ADDR 0x0E2A
405 #define CLCIN3PPS_ADDR 0x0E2B
406 #define SMT2SIGPPS_ADDR 0x0E2C
407 #define SMT2WINPPS_ADDR 0x0E2D
408 #define ATCC3PPS_ADDR 0x0E2E
409 #define RA0PPS_ADDR 0x0E90
410 #define RA1PPS_ADDR 0x0E91
411 #define RA2PPS_ADDR 0x0E92
412 #define RA4PPS_ADDR 0x0E94
413 #define RA5PPS_ADDR 0x0E95
414 #define RB4PPS_ADDR 0x0E9C
415 #define RB5PPS_ADDR 0x0E9D
416 #define RB6PPS_ADDR 0x0E9E
417 #define RB7PPS_ADDR 0x0E9F
418 #define RC0PPS_ADDR 0x0EA0
419 #define RC1PPS_ADDR 0x0EA1
420 #define RC2PPS_ADDR 0x0EA2
421 #define RC3PPS_ADDR 0x0EA3
422 #define RC4PPS_ADDR 0x0EA4
423 #define RC5PPS_ADDR 0x0EA5
424 #define RC6PPS_ADDR 0x0EA6
425 #define RC7PPS_ADDR 0x0EA7
426 #define CLCDATA_ADDR 0x0F0F
427 #define CLC1CON_ADDR 0x0F10
428 #define CLC1POL_ADDR 0x0F11
429 #define CLC1SEL0_ADDR 0x0F12
430 #define CLC1SEL1_ADDR 0x0F13
431 #define CLC1SEL2_ADDR 0x0F14
432 #define CLC1SEL3_ADDR 0x0F15
433 #define CLC1GLS0_ADDR 0x0F16
434 #define CLC1GLS1_ADDR 0x0F17
435 #define CLC1GLS2_ADDR 0x0F18
436 #define CLC1GLS3_ADDR 0x0F19
437 #define CLC2CON_ADDR 0x0F1A
438 #define CLC2POL_ADDR 0x0F1B
439 #define CLC2SEL0_ADDR 0x0F1C
440 #define CLC2SEL1_ADDR 0x0F1D
441 #define CLC2SEL2_ADDR 0x0F1E
442 #define CLC2SEL3_ADDR 0x0F1F
443 #define CLC2GLS0_ADDR 0x0F20
444 #define CLC2GLS1_ADDR 0x0F21
445 #define CLC2GLS2_ADDR 0x0F22
446 #define CLC2GLS3_ADDR 0x0F23
447 #define CLC3CON_ADDR 0x0F24
448 #define CLC3POL_ADDR 0x0F25
449 #define CLC3SEL0_ADDR 0x0F26
450 #define CLC3SEL1_ADDR 0x0F27
451 #define CLC3SEL2_ADDR 0x0F28
452 #define CLC3SEL3_ADDR 0x0F29
453 #define CLC3GLS0_ADDR 0x0F2A
454 #define CLC3GLS1_ADDR 0x0F2B
455 #define CLC3GLS2_ADDR 0x0F2C
456 #define CLC3GLS3_ADDR 0x0F2D
457 #define CLC4CON_ADDR 0x0F2E
458 #define CLC4POL_ADDR 0x0F2F
459 #define CLC4SEL0_ADDR 0x0F30
460 #define CLC4SEL1_ADDR 0x0F31
461 #define CLC4SEL2_ADDR 0x0F32
462 #define CLC4SEL3_ADDR 0x0F33
463 #define CLC4GLS0_ADDR 0x0F34
464 #define CLC4GLS1_ADDR 0x0F35
465 #define CLC4GLS2_ADDR 0x0F36
466 #define CLC4GLS3_ADDR 0x0F37
467 #define STATUS_SHAD_ADDR 0x0FE4
468 #define WREG_SHAD_ADDR 0x0FE5
469 #define BSR_SHAD_ADDR 0x0FE6
470 #define PCLATH_SHAD_ADDR 0x0FE7
471 #define FSR0L_SHAD_ADDR 0x0FE8
472 #define FSR0H_SHAD_ADDR 0x0FE9
473 #define FSR1L_SHAD_ADDR 0x0FEA
474 #define FSR1H_SHAD_ADDR 0x0FEB
475 #define STKPTR_ADDR 0x0FED
476 #define TOSL_ADDR 0x0FEE
477 #define TOSH_ADDR 0x0FEF
479 #endif // #ifndef NO_ADDR_DEFINES
481 //==============================================================================
483 // Register Definitions
485 //==============================================================================
487 extern __at(0x0000) __sfr INDF0;
488 extern __at(0x0001) __sfr INDF1;
489 extern __at(0x0002) __sfr PCL;
491 //==============================================================================
492 // STATUS Bits
494 extern __at(0x0003) __sfr STATUS;
496 typedef struct
498 unsigned C : 1;
499 unsigned DC : 1;
500 unsigned Z : 1;
501 unsigned NOT_PD : 1;
502 unsigned NOT_TO : 1;
503 unsigned : 1;
504 unsigned : 1;
505 unsigned : 1;
506 } __STATUSbits_t;
508 extern __at(0x0003) volatile __STATUSbits_t STATUSbits;
510 #define _C 0x01
511 #define _DC 0x02
512 #define _Z 0x04
513 #define _NOT_PD 0x08
514 #define _NOT_TO 0x10
516 //==============================================================================
518 extern __at(0x0004) __sfr FSR0;
519 extern __at(0x0004) __sfr FSR0L;
520 extern __at(0x0005) __sfr FSR0H;
521 extern __at(0x0006) __sfr FSR1;
522 extern __at(0x0006) __sfr FSR1L;
523 extern __at(0x0007) __sfr FSR1H;
525 //==============================================================================
526 // BSR Bits
528 extern __at(0x0008) __sfr BSR;
530 typedef union
532 struct
534 unsigned BSR0 : 1;
535 unsigned BSR1 : 1;
536 unsigned BSR2 : 1;
537 unsigned BSR3 : 1;
538 unsigned BSR4 : 1;
539 unsigned : 1;
540 unsigned : 1;
541 unsigned : 1;
544 struct
546 unsigned BSR : 5;
547 unsigned : 3;
549 } __BSRbits_t;
551 extern __at(0x0008) volatile __BSRbits_t BSRbits;
553 #define _BSR0 0x01
554 #define _BSR1 0x02
555 #define _BSR2 0x04
556 #define _BSR3 0x08
557 #define _BSR4 0x10
559 //==============================================================================
561 extern __at(0x0009) __sfr WREG;
562 extern __at(0x000A) __sfr PCLATH;
564 //==============================================================================
565 // INTCON Bits
567 extern __at(0x000B) __sfr INTCON;
569 typedef union
571 struct
573 unsigned IOCIF : 1;
574 unsigned INTF : 1;
575 unsigned TMR0IF : 1;
576 unsigned IOCIE : 1;
577 unsigned INTE : 1;
578 unsigned TMR0IE : 1;
579 unsigned PEIE : 1;
580 unsigned GIE : 1;
583 struct
585 unsigned : 1;
586 unsigned : 1;
587 unsigned T0IF : 1;
588 unsigned : 1;
589 unsigned : 1;
590 unsigned T0IE : 1;
591 unsigned : 1;
592 unsigned : 1;
594 } __INTCONbits_t;
596 extern __at(0x000B) volatile __INTCONbits_t INTCONbits;
598 #define _IOCIF 0x01
599 #define _INTF 0x02
600 #define _TMR0IF 0x04
601 #define _T0IF 0x04
602 #define _IOCIE 0x08
603 #define _INTE 0x10
604 #define _TMR0IE 0x20
605 #define _T0IE 0x20
606 #define _PEIE 0x40
607 #define _GIE 0x80
609 //==============================================================================
612 //==============================================================================
613 // PORTA Bits
615 extern __at(0x000C) __sfr PORTA;
617 typedef union
619 struct
621 unsigned RA0 : 1;
622 unsigned RA1 : 1;
623 unsigned RA2 : 1;
624 unsigned RA3 : 1;
625 unsigned RA4 : 1;
626 unsigned RA5 : 1;
627 unsigned : 1;
628 unsigned : 1;
631 struct
633 unsigned RA : 6;
634 unsigned : 2;
636 } __PORTAbits_t;
638 extern __at(0x000C) volatile __PORTAbits_t PORTAbits;
640 #define _RA0 0x01
641 #define _RA1 0x02
642 #define _RA2 0x04
643 #define _RA3 0x08
644 #define _RA4 0x10
645 #define _RA5 0x20
647 //==============================================================================
650 //==============================================================================
651 // PORTB Bits
653 extern __at(0x000D) __sfr PORTB;
655 typedef struct
657 unsigned : 1;
658 unsigned : 1;
659 unsigned : 1;
660 unsigned : 1;
661 unsigned RB4 : 1;
662 unsigned RB5 : 1;
663 unsigned RB6 : 1;
664 unsigned RB7 : 1;
665 } __PORTBbits_t;
667 extern __at(0x000D) volatile __PORTBbits_t PORTBbits;
669 #define _RB4 0x10
670 #define _RB5 0x20
671 #define _RB6 0x40
672 #define _RB7 0x80
674 //==============================================================================
677 //==============================================================================
678 // PORTC Bits
680 extern __at(0x000E) __sfr PORTC;
682 typedef struct
684 unsigned RC0 : 1;
685 unsigned RC1 : 1;
686 unsigned RC2 : 1;
687 unsigned RC3 : 1;
688 unsigned RC4 : 1;
689 unsigned RC5 : 1;
690 unsigned RC6 : 1;
691 unsigned RC7 : 1;
692 } __PORTCbits_t;
694 extern __at(0x000E) volatile __PORTCbits_t PORTCbits;
696 #define _RC0 0x01
697 #define _RC1 0x02
698 #define _RC2 0x04
699 #define _RC3 0x08
700 #define _RC4 0x10
701 #define _RC5 0x20
702 #define _RC6 0x40
703 #define _RC7 0x80
705 //==============================================================================
708 //==============================================================================
709 // PIR1 Bits
711 extern __at(0x0010) __sfr PIR1;
713 typedef struct
715 unsigned TMR1IF : 1;
716 unsigned TMR2IF : 1;
717 unsigned CCP1IF : 1;
718 unsigned SSP1IF : 1;
719 unsigned TXIF : 1;
720 unsigned RCIF : 1;
721 unsigned ADIF : 1;
722 unsigned TMR1GIF : 1;
723 } __PIR1bits_t;
725 extern __at(0x0010) volatile __PIR1bits_t PIR1bits;
727 #define _TMR1IF 0x01
728 #define _TMR2IF 0x02
729 #define _CCP1IF 0x04
730 #define _SSP1IF 0x08
731 #define _TXIF 0x10
732 #define _RCIF 0x20
733 #define _ADIF 0x40
734 #define _TMR1GIF 0x80
736 //==============================================================================
739 //==============================================================================
740 // PIR2 Bits
742 extern __at(0x0011) __sfr PIR2;
744 typedef struct
746 unsigned CCP2IF : 1;
747 unsigned TMR4IF : 1;
748 unsigned TMR6IF : 1;
749 unsigned BCL1IF : 1;
750 unsigned : 1;
751 unsigned C1IF : 1;
752 unsigned C2IF : 1;
753 unsigned OSFIF : 1;
754 } __PIR2bits_t;
756 extern __at(0x0011) volatile __PIR2bits_t PIR2bits;
758 #define _CCP2IF 0x01
759 #define _TMR4IF 0x02
760 #define _TMR6IF 0x04
761 #define _BCL1IF 0x08
762 #define _C1IF 0x20
763 #define _C2IF 0x40
764 #define _OSFIF 0x80
766 //==============================================================================
769 //==============================================================================
770 // PIR3 Bits
772 extern __at(0x0012) __sfr PIR3;
774 typedef struct
776 unsigned CLC1IF : 1;
777 unsigned CLC2IF : 1;
778 unsigned CLC3IF : 1;
779 unsigned CLC4IF : 1;
780 unsigned ZCDIF : 1;
781 unsigned CWGIF : 1;
782 unsigned : 1;
783 unsigned : 1;
784 } __PIR3bits_t;
786 extern __at(0x0012) volatile __PIR3bits_t PIR3bits;
788 #define _CLC1IF 0x01
789 #define _CLC2IF 0x02
790 #define _CLC3IF 0x04
791 #define _CLC4IF 0x08
792 #define _ZCDIF 0x10
793 #define _CWGIF 0x20
795 //==============================================================================
798 //==============================================================================
799 // PIR4 Bits
801 extern __at(0x0013) __sfr PIR4;
803 typedef struct
805 unsigned SMT1IF : 1;
806 unsigned SMT1PRAIF : 1;
807 unsigned SMT1PWAIF : 1;
808 unsigned SMT2IF : 1;
809 unsigned SMT2PRAIF : 1;
810 unsigned SMT2PWAIF : 1;
811 unsigned CRCIF : 1;
812 unsigned SCANIF : 1;
813 } __PIR4bits_t;
815 extern __at(0x0013) volatile __PIR4bits_t PIR4bits;
817 #define _SMT1IF 0x01
818 #define _SMT1PRAIF 0x02
819 #define _SMT1PWAIF 0x04
820 #define _SMT2IF 0x08
821 #define _SMT2PRAIF 0x10
822 #define _SMT2PWAIF 0x20
823 #define _CRCIF 0x40
824 #define _SCANIF 0x80
826 //==============================================================================
829 //==============================================================================
830 // PIR5 Bits
832 extern __at(0x0014) __sfr PIR5;
834 typedef struct
836 unsigned PID1DIF : 1;
837 unsigned PID1EIF : 1;
838 unsigned AT1IF : 1;
839 unsigned : 1;
840 unsigned TMR5IF : 1;
841 unsigned TMR5GIF : 1;
842 unsigned TMR3IF : 1;
843 unsigned TMR3GIF : 1;
844 } __PIR5bits_t;
846 extern __at(0x0014) volatile __PIR5bits_t PIR5bits;
848 #define _PID1DIF 0x01
849 #define _PID1EIF 0x02
850 #define _AT1IF 0x04
851 #define _TMR5IF 0x10
852 #define _TMR5GIF 0x20
853 #define _TMR3IF 0x40
854 #define _TMR3GIF 0x80
856 //==============================================================================
858 extern __at(0x0015) __sfr TMR0;
859 extern __at(0x0016) __sfr TMR1;
860 extern __at(0x0016) __sfr TMR1L;
861 extern __at(0x0017) __sfr TMR1H;
863 //==============================================================================
864 // T1CON Bits
866 extern __at(0x0018) __sfr T1CON;
868 typedef union
870 struct
872 unsigned TMR1ON : 1;
873 unsigned : 1;
874 unsigned NOT_T1SYNC : 1;
875 unsigned : 1;
876 unsigned T1CKPS0 : 1;
877 unsigned T1CKPS1 : 1;
878 unsigned TMR1CS0 : 1;
879 unsigned TMR1CS1 : 1;
882 struct
884 unsigned : 4;
885 unsigned T1CKPS : 2;
886 unsigned : 2;
889 struct
891 unsigned : 6;
892 unsigned TMR1CS : 2;
894 } __T1CONbits_t;
896 extern __at(0x0018) volatile __T1CONbits_t T1CONbits;
898 #define _TMR1ON 0x01
899 #define _NOT_T1SYNC 0x04
900 #define _T1CKPS0 0x10
901 #define _T1CKPS1 0x20
902 #define _TMR1CS0 0x40
903 #define _TMR1CS1 0x80
905 //==============================================================================
908 //==============================================================================
909 // T1GCON Bits
911 extern __at(0x0019) __sfr T1GCON;
913 typedef union
915 struct
917 unsigned T1GSS0 : 1;
918 unsigned T1GSS1 : 1;
919 unsigned T1GVAL : 1;
920 unsigned T1GGO_NOT_DONE : 1;
921 unsigned T1GSPM : 1;
922 unsigned T1GTM : 1;
923 unsigned T1GPOL : 1;
924 unsigned TMR1GE : 1;
927 struct
929 unsigned T1GSS : 2;
930 unsigned : 6;
932 } __T1GCONbits_t;
934 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits;
936 #define _T1GSS0 0x01
937 #define _T1GSS1 0x02
938 #define _T1GVAL 0x04
939 #define _T1GGO_NOT_DONE 0x08
940 #define _T1GSPM 0x10
941 #define _T1GTM 0x20
942 #define _T1GPOL 0x40
943 #define _TMR1GE 0x80
945 //==============================================================================
947 extern __at(0x001A) __sfr T2TMR;
948 extern __at(0x001A) __sfr TMR2;
949 extern __at(0x001B) __sfr PR2;
950 extern __at(0x001B) __sfr T2PR;
952 //==============================================================================
953 // T2CON Bits
955 extern __at(0x001C) __sfr T2CON;
957 typedef union
959 struct
961 unsigned OUTPS0 : 1;
962 unsigned OUTPS1 : 1;
963 unsigned OUTPS2 : 1;
964 unsigned OUTPS3 : 1;
965 unsigned CKPS0 : 1;
966 unsigned CKPS1 : 1;
967 unsigned CKPS2 : 1;
968 unsigned ON : 1;
971 struct
973 unsigned T2OUTPS0 : 1;
974 unsigned T2OUTPS1 : 1;
975 unsigned T2OUTPS2 : 1;
976 unsigned T2OUTPS3 : 1;
977 unsigned T2CKPS0 : 1;
978 unsigned T2CKPS1 : 1;
979 unsigned T2CKPS2 : 1;
980 unsigned T2ON : 1;
983 struct
985 unsigned : 1;
986 unsigned : 1;
987 unsigned : 1;
988 unsigned : 1;
989 unsigned : 1;
990 unsigned : 1;
991 unsigned : 1;
992 unsigned TMR2ON : 1;
995 struct
997 unsigned OUTPS : 4;
998 unsigned : 4;
1001 struct
1003 unsigned T2OUTPS : 4;
1004 unsigned : 4;
1007 struct
1009 unsigned : 4;
1010 unsigned CKPS : 3;
1011 unsigned : 1;
1014 struct
1016 unsigned : 4;
1017 unsigned T2CKPS : 3;
1018 unsigned : 1;
1020 } __T2CONbits_t;
1022 extern __at(0x001C) volatile __T2CONbits_t T2CONbits;
1024 #define _OUTPS0 0x01
1025 #define _T2OUTPS0 0x01
1026 #define _OUTPS1 0x02
1027 #define _T2OUTPS1 0x02
1028 #define _OUTPS2 0x04
1029 #define _T2OUTPS2 0x04
1030 #define _OUTPS3 0x08
1031 #define _T2OUTPS3 0x08
1032 #define _CKPS0 0x10
1033 #define _T2CKPS0 0x10
1034 #define _CKPS1 0x20
1035 #define _T2CKPS1 0x20
1036 #define _CKPS2 0x40
1037 #define _T2CKPS2 0x40
1038 #define _ON 0x80
1039 #define _T2ON 0x80
1040 #define _TMR2ON 0x80
1042 //==============================================================================
1045 //==============================================================================
1046 // T2HLT Bits
1048 extern __at(0x001D) __sfr T2HLT;
1050 typedef union
1052 struct
1054 unsigned MODE0 : 1;
1055 unsigned MODE1 : 1;
1056 unsigned MODE2 : 1;
1057 unsigned MODE3 : 1;
1058 unsigned MODE4 : 1;
1059 unsigned CKSYNC : 1;
1060 unsigned CKPOL : 1;
1061 unsigned PSYNC : 1;
1064 struct
1066 unsigned T2MODE0 : 1;
1067 unsigned T2MODE1 : 1;
1068 unsigned T2MODE2 : 1;
1069 unsigned T2MODE3 : 1;
1070 unsigned T2MODE4 : 1;
1071 unsigned T2CKSYNC : 1;
1072 unsigned T2CKPOL : 1;
1073 unsigned T2PSYNC : 1;
1076 struct
1078 unsigned T2MODE : 5;
1079 unsigned : 3;
1082 struct
1084 unsigned MODE : 5;
1085 unsigned : 3;
1087 } __T2HLTbits_t;
1089 extern __at(0x001D) volatile __T2HLTbits_t T2HLTbits;
1091 #define _T2HLT_MODE0 0x01
1092 #define _T2HLT_T2MODE0 0x01
1093 #define _T2HLT_MODE1 0x02
1094 #define _T2HLT_T2MODE1 0x02
1095 #define _T2HLT_MODE2 0x04
1096 #define _T2HLT_T2MODE2 0x04
1097 #define _T2HLT_MODE3 0x08
1098 #define _T2HLT_T2MODE3 0x08
1099 #define _T2HLT_MODE4 0x10
1100 #define _T2HLT_T2MODE4 0x10
1101 #define _T2HLT_CKSYNC 0x20
1102 #define _T2HLT_T2CKSYNC 0x20
1103 #define _T2HLT_CKPOL 0x40
1104 #define _T2HLT_T2CKPOL 0x40
1105 #define _T2HLT_PSYNC 0x80
1106 #define _T2HLT_T2PSYNC 0x80
1108 //==============================================================================
1111 //==============================================================================
1112 // T2CLKCON Bits
1114 extern __at(0x001E) __sfr T2CLKCON;
1116 typedef union
1118 struct
1120 unsigned CS0 : 1;
1121 unsigned CS1 : 1;
1122 unsigned CS2 : 1;
1123 unsigned CS3 : 1;
1124 unsigned : 1;
1125 unsigned : 1;
1126 unsigned : 1;
1127 unsigned : 1;
1130 struct
1132 unsigned T2CS0 : 1;
1133 unsigned T2CS1 : 1;
1134 unsigned T2CS2 : 1;
1135 unsigned T2CS3 : 1;
1136 unsigned : 1;
1137 unsigned : 1;
1138 unsigned : 1;
1139 unsigned : 1;
1142 struct
1144 unsigned CS : 4;
1145 unsigned : 4;
1148 struct
1150 unsigned T2CS : 4;
1151 unsigned : 4;
1153 } __T2CLKCONbits_t;
1155 extern __at(0x001E) volatile __T2CLKCONbits_t T2CLKCONbits;
1157 #define _T2CLKCON_CS0 0x01
1158 #define _T2CLKCON_T2CS0 0x01
1159 #define _T2CLKCON_CS1 0x02
1160 #define _T2CLKCON_T2CS1 0x02
1161 #define _T2CLKCON_CS2 0x04
1162 #define _T2CLKCON_T2CS2 0x04
1163 #define _T2CLKCON_CS3 0x08
1164 #define _T2CLKCON_T2CS3 0x08
1166 //==============================================================================
1169 //==============================================================================
1170 // T2RST Bits
1172 extern __at(0x001F) __sfr T2RST;
1174 typedef union
1176 struct
1178 unsigned RSEL0 : 1;
1179 unsigned RSEL1 : 1;
1180 unsigned RSEL2 : 1;
1181 unsigned RSEL3 : 1;
1182 unsigned : 1;
1183 unsigned : 1;
1184 unsigned : 1;
1185 unsigned : 1;
1188 struct
1190 unsigned T2RSEL0 : 1;
1191 unsigned T2RSEL1 : 1;
1192 unsigned T2RSEL2 : 1;
1193 unsigned T2RSEL3 : 1;
1194 unsigned : 1;
1195 unsigned : 1;
1196 unsigned : 1;
1197 unsigned : 1;
1200 struct
1202 unsigned RSEL : 4;
1203 unsigned : 4;
1206 struct
1208 unsigned T2RSEL : 4;
1209 unsigned : 4;
1211 } __T2RSTbits_t;
1213 extern __at(0x001F) volatile __T2RSTbits_t T2RSTbits;
1215 #define _RSEL0 0x01
1216 #define _T2RSEL0 0x01
1217 #define _RSEL1 0x02
1218 #define _T2RSEL1 0x02
1219 #define _RSEL2 0x04
1220 #define _T2RSEL2 0x04
1221 #define _RSEL3 0x08
1222 #define _T2RSEL3 0x08
1224 //==============================================================================
1227 //==============================================================================
1228 // TRISA Bits
1230 extern __at(0x008C) __sfr TRISA;
1232 typedef union
1234 struct
1236 unsigned TRISA0 : 1;
1237 unsigned TRISA1 : 1;
1238 unsigned TRISA2 : 1;
1239 unsigned TRISA3 : 1;
1240 unsigned TRISA4 : 1;
1241 unsigned TRISA5 : 1;
1242 unsigned : 1;
1243 unsigned : 1;
1246 struct
1248 unsigned TRISA : 6;
1249 unsigned : 2;
1251 } __TRISAbits_t;
1253 extern __at(0x008C) volatile __TRISAbits_t TRISAbits;
1255 #define _TRISA0 0x01
1256 #define _TRISA1 0x02
1257 #define _TRISA2 0x04
1258 #define _TRISA3 0x08
1259 #define _TRISA4 0x10
1260 #define _TRISA5 0x20
1262 //==============================================================================
1265 //==============================================================================
1266 // TRISB Bits
1268 extern __at(0x008D) __sfr TRISB;
1270 typedef struct
1272 unsigned : 1;
1273 unsigned : 1;
1274 unsigned : 1;
1275 unsigned : 1;
1276 unsigned TRISB4 : 1;
1277 unsigned TRISB5 : 1;
1278 unsigned TRISB6 : 1;
1279 unsigned TRISB7 : 1;
1280 } __TRISBbits_t;
1282 extern __at(0x008D) volatile __TRISBbits_t TRISBbits;
1284 #define _TRISB4 0x10
1285 #define _TRISB5 0x20
1286 #define _TRISB6 0x40
1287 #define _TRISB7 0x80
1289 //==============================================================================
1292 //==============================================================================
1293 // TRISC Bits
1295 extern __at(0x008E) __sfr TRISC;
1297 typedef struct
1299 unsigned TRISC0 : 1;
1300 unsigned TRISC1 : 1;
1301 unsigned TRISC2 : 1;
1302 unsigned TRISC3 : 1;
1303 unsigned TRISC4 : 1;
1304 unsigned TRISC5 : 1;
1305 unsigned TRISC6 : 1;
1306 unsigned TRISC7 : 1;
1307 } __TRISCbits_t;
1309 extern __at(0x008E) volatile __TRISCbits_t TRISCbits;
1311 #define _TRISC0 0x01
1312 #define _TRISC1 0x02
1313 #define _TRISC2 0x04
1314 #define _TRISC3 0x08
1315 #define _TRISC4 0x10
1316 #define _TRISC5 0x20
1317 #define _TRISC6 0x40
1318 #define _TRISC7 0x80
1320 //==============================================================================
1323 //==============================================================================
1324 // PIE1 Bits
1326 extern __at(0x0090) __sfr PIE1;
1328 typedef struct
1330 unsigned TMR1IE : 1;
1331 unsigned TMR2IE : 1;
1332 unsigned CCP1IE : 1;
1333 unsigned SSP1IE : 1;
1334 unsigned TXIE : 1;
1335 unsigned RCIE : 1;
1336 unsigned ADIE : 1;
1337 unsigned TMR1GIE : 1;
1338 } __PIE1bits_t;
1340 extern __at(0x0090) volatile __PIE1bits_t PIE1bits;
1342 #define _TMR1IE 0x01
1343 #define _TMR2IE 0x02
1344 #define _CCP1IE 0x04
1345 #define _SSP1IE 0x08
1346 #define _TXIE 0x10
1347 #define _RCIE 0x20
1348 #define _ADIE 0x40
1349 #define _TMR1GIE 0x80
1351 //==============================================================================
1354 //==============================================================================
1355 // PIE2 Bits
1357 extern __at(0x0091) __sfr PIE2;
1359 typedef struct
1361 unsigned CCP2IE : 1;
1362 unsigned TMR4IE : 1;
1363 unsigned TMR6IE : 1;
1364 unsigned BCL1IE : 1;
1365 unsigned : 1;
1366 unsigned C1IE : 1;
1367 unsigned C2IE : 1;
1368 unsigned OSCFIE : 1;
1369 } __PIE2bits_t;
1371 extern __at(0x0091) volatile __PIE2bits_t PIE2bits;
1373 #define _CCP2IE 0x01
1374 #define _TMR4IE 0x02
1375 #define _TMR6IE 0x04
1376 #define _BCL1IE 0x08
1377 #define _C1IE 0x20
1378 #define _C2IE 0x40
1379 #define _OSCFIE 0x80
1381 //==============================================================================
1384 //==============================================================================
1385 // PIE3 Bits
1387 extern __at(0x0092) __sfr PIE3;
1389 typedef struct
1391 unsigned CLC1IE : 1;
1392 unsigned CLC2IE : 1;
1393 unsigned CLC3IE : 1;
1394 unsigned CLC4IE : 1;
1395 unsigned ZCDIE : 1;
1396 unsigned CWGIE : 1;
1397 unsigned : 1;
1398 unsigned : 1;
1399 } __PIE3bits_t;
1401 extern __at(0x0092) volatile __PIE3bits_t PIE3bits;
1403 #define _CLC1IE 0x01
1404 #define _CLC2IE 0x02
1405 #define _CLC3IE 0x04
1406 #define _CLC4IE 0x08
1407 #define _ZCDIE 0x10
1408 #define _CWGIE 0x20
1410 //==============================================================================
1413 //==============================================================================
1414 // PIE4 Bits
1416 extern __at(0x0093) __sfr PIE4;
1418 typedef struct
1420 unsigned SMT1IE : 1;
1421 unsigned SMT1PRAIE : 1;
1422 unsigned SMT1PWAIE : 1;
1423 unsigned SMT2IE : 1;
1424 unsigned SMT2PRAIE : 1;
1425 unsigned SMT2PWAIE : 1;
1426 unsigned CRCIE : 1;
1427 unsigned SCANIE : 1;
1428 } __PIE4bits_t;
1430 extern __at(0x0093) volatile __PIE4bits_t PIE4bits;
1432 #define _SMT1IE 0x01
1433 #define _SMT1PRAIE 0x02
1434 #define _SMT1PWAIE 0x04
1435 #define _SMT2IE 0x08
1436 #define _SMT2PRAIE 0x10
1437 #define _SMT2PWAIE 0x20
1438 #define _CRCIE 0x40
1439 #define _SCANIE 0x80
1441 //==============================================================================
1444 //==============================================================================
1445 // PIE5 Bits
1447 extern __at(0x0094) __sfr PIE5;
1449 typedef struct
1451 unsigned PID1DIE : 1;
1452 unsigned PID1EIE : 1;
1453 unsigned AT1IE : 1;
1454 unsigned : 1;
1455 unsigned TMR5IE : 1;
1456 unsigned TMR5GIE : 1;
1457 unsigned TMR3IE : 1;
1458 unsigned TMR3GIE : 1;
1459 } __PIE5bits_t;
1461 extern __at(0x0094) volatile __PIE5bits_t PIE5bits;
1463 #define _PID1DIE 0x01
1464 #define _PID1EIE 0x02
1465 #define _AT1IE 0x04
1466 #define _TMR5IE 0x10
1467 #define _TMR5GIE 0x20
1468 #define _TMR3IE 0x40
1469 #define _TMR3GIE 0x80
1471 //==============================================================================
1474 //==============================================================================
1475 // OPTION_REG Bits
1477 extern __at(0x0095) __sfr OPTION_REG;
1479 typedef union
1481 struct
1483 unsigned PS0 : 1;
1484 unsigned PS1 : 1;
1485 unsigned PS2 : 1;
1486 unsigned PSA : 1;
1487 unsigned TMR0SE : 1;
1488 unsigned TMR0CS : 1;
1489 unsigned INTEDG : 1;
1490 unsigned NOT_WPUEN : 1;
1493 struct
1495 unsigned : 1;
1496 unsigned : 1;
1497 unsigned : 1;
1498 unsigned : 1;
1499 unsigned T0SE : 1;
1500 unsigned T0CS : 1;
1501 unsigned : 1;
1502 unsigned : 1;
1505 struct
1507 unsigned PS : 3;
1508 unsigned : 5;
1510 } __OPTION_REGbits_t;
1512 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits;
1514 #define _OPTION_REG_PS0 0x01
1515 #define _OPTION_REG_PS1 0x02
1516 #define _OPTION_REG_PS2 0x04
1517 #define _OPTION_REG_PSA 0x08
1518 #define _OPTION_REG_TMR0SE 0x10
1519 #define _OPTION_REG_T0SE 0x10
1520 #define _OPTION_REG_TMR0CS 0x20
1521 #define _OPTION_REG_T0CS 0x20
1522 #define _OPTION_REG_INTEDG 0x40
1523 #define _OPTION_REG_NOT_WPUEN 0x80
1525 //==============================================================================
1528 //==============================================================================
1529 // PCON Bits
1531 extern __at(0x0096) __sfr PCON;
1533 typedef struct
1535 unsigned NOT_BOR : 1;
1536 unsigned NOT_POR : 1;
1537 unsigned NOT_RI : 1;
1538 unsigned NOT_RMCLR : 1;
1539 unsigned NOT_RWDT : 1;
1540 unsigned NOT_WDTWV : 1;
1541 unsigned STKUNF : 1;
1542 unsigned STKOVF : 1;
1543 } __PCONbits_t;
1545 extern __at(0x0096) volatile __PCONbits_t PCONbits;
1547 #define _NOT_BOR 0x01
1548 #define _NOT_POR 0x02
1549 #define _NOT_RI 0x04
1550 #define _NOT_RMCLR 0x08
1551 #define _NOT_RWDT 0x10
1552 #define _NOT_WDTWV 0x20
1553 #define _STKUNF 0x40
1554 #define _STKOVF 0x80
1556 //==============================================================================
1559 //==============================================================================
1560 // OSCTUNE Bits
1562 extern __at(0x0098) __sfr OSCTUNE;
1564 typedef union
1566 struct
1568 unsigned TUN0 : 1;
1569 unsigned TUN1 : 1;
1570 unsigned TUN2 : 1;
1571 unsigned TUN3 : 1;
1572 unsigned TUN4 : 1;
1573 unsigned TUN5 : 1;
1574 unsigned : 1;
1575 unsigned : 1;
1578 struct
1580 unsigned TUN : 6;
1581 unsigned : 2;
1583 } __OSCTUNEbits_t;
1585 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits;
1587 #define _TUN0 0x01
1588 #define _TUN1 0x02
1589 #define _TUN2 0x04
1590 #define _TUN3 0x08
1591 #define _TUN4 0x10
1592 #define _TUN5 0x20
1594 //==============================================================================
1597 //==============================================================================
1598 // OSCCON Bits
1600 extern __at(0x0099) __sfr OSCCON;
1602 typedef union
1604 struct
1606 unsigned SCS0 : 1;
1607 unsigned SCS1 : 1;
1608 unsigned : 1;
1609 unsigned IRCF0 : 1;
1610 unsigned IRCF1 : 1;
1611 unsigned IRCF2 : 1;
1612 unsigned IRCF3 : 1;
1613 unsigned SPLLEN : 1;
1616 struct
1618 unsigned SCS : 2;
1619 unsigned : 6;
1622 struct
1624 unsigned : 3;
1625 unsigned IRCF : 4;
1626 unsigned : 1;
1628 } __OSCCONbits_t;
1630 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits;
1632 #define _SCS0 0x01
1633 #define _SCS1 0x02
1634 #define _IRCF0 0x08
1635 #define _IRCF1 0x10
1636 #define _IRCF2 0x20
1637 #define _IRCF3 0x40
1638 #define _SPLLEN 0x80
1640 //==============================================================================
1643 //==============================================================================
1644 // OSCSTAT Bits
1646 extern __at(0x009A) __sfr OSCSTAT;
1648 typedef struct
1650 unsigned HFIOFS : 1;
1651 unsigned LFIOFR : 1;
1652 unsigned MFIOFR : 1;
1653 unsigned HFIOFL : 1;
1654 unsigned HFIOFR : 1;
1655 unsigned OSTS : 1;
1656 unsigned PLLR : 1;
1657 unsigned : 1;
1658 } __OSCSTATbits_t;
1660 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits;
1662 #define _HFIOFS 0x01
1663 #define _LFIOFR 0x02
1664 #define _MFIOFR 0x04
1665 #define _HFIOFL 0x08
1666 #define _HFIOFR 0x10
1667 #define _OSTS 0x20
1668 #define _PLLR 0x40
1670 //==============================================================================
1672 extern __at(0x009B) __sfr ADRES;
1673 extern __at(0x009B) __sfr ADRESL;
1674 extern __at(0x009C) __sfr ADRESH;
1676 //==============================================================================
1677 // ADCON0 Bits
1679 extern __at(0x009D) __sfr ADCON0;
1681 typedef union
1683 struct
1685 unsigned ADON : 1;
1686 unsigned GO_NOT_DONE : 1;
1687 unsigned CHS0 : 1;
1688 unsigned CHS1 : 1;
1689 unsigned CHS2 : 1;
1690 unsigned CHS3 : 1;
1691 unsigned CHS4 : 1;
1692 unsigned : 1;
1695 struct
1697 unsigned : 1;
1698 unsigned ADGO : 1;
1699 unsigned : 1;
1700 unsigned : 1;
1701 unsigned : 1;
1702 unsigned : 1;
1703 unsigned : 1;
1704 unsigned : 1;
1707 struct
1709 unsigned : 1;
1710 unsigned GO : 1;
1711 unsigned : 1;
1712 unsigned : 1;
1713 unsigned : 1;
1714 unsigned : 1;
1715 unsigned : 1;
1716 unsigned : 1;
1719 struct
1721 unsigned : 2;
1722 unsigned CHS : 5;
1723 unsigned : 1;
1725 } __ADCON0bits_t;
1727 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits;
1729 #define _ADON 0x01
1730 #define _GO_NOT_DONE 0x02
1731 #define _ADGO 0x02
1732 #define _GO 0x02
1733 #define _CHS0 0x04
1734 #define _CHS1 0x08
1735 #define _CHS2 0x10
1736 #define _CHS3 0x20
1737 #define _CHS4 0x40
1739 //==============================================================================
1742 //==============================================================================
1743 // ADCON1 Bits
1745 extern __at(0x009E) __sfr ADCON1;
1747 typedef union
1749 struct
1751 unsigned ADPREF0 : 1;
1752 unsigned ADPREF1 : 1;
1753 unsigned : 1;
1754 unsigned : 1;
1755 unsigned ADCS0 : 1;
1756 unsigned ADCS1 : 1;
1757 unsigned ADCS2 : 1;
1758 unsigned ADFM : 1;
1761 struct
1763 unsigned ADPREF : 2;
1764 unsigned : 6;
1767 struct
1769 unsigned : 4;
1770 unsigned ADCS : 3;
1771 unsigned : 1;
1773 } __ADCON1bits_t;
1775 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits;
1777 #define _ADPREF0 0x01
1778 #define _ADPREF1 0x02
1779 #define _ADCS0 0x10
1780 #define _ADCS1 0x20
1781 #define _ADCS2 0x40
1782 #define _ADFM 0x80
1784 //==============================================================================
1787 //==============================================================================
1788 // ADCON2 Bits
1790 extern __at(0x009F) __sfr ADCON2;
1792 typedef union
1794 struct
1796 unsigned : 1;
1797 unsigned : 1;
1798 unsigned : 1;
1799 unsigned : 1;
1800 unsigned TRIGSEL0 : 1;
1801 unsigned TRIGSEL1 : 1;
1802 unsigned TRIGSEL2 : 1;
1803 unsigned TRIGSEL3 : 1;
1806 struct
1808 unsigned : 4;
1809 unsigned TRIGSEL : 4;
1811 } __ADCON2bits_t;
1813 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits;
1815 #define _TRIGSEL0 0x10
1816 #define _TRIGSEL1 0x20
1817 #define _TRIGSEL2 0x40
1818 #define _TRIGSEL3 0x80
1820 //==============================================================================
1823 //==============================================================================
1824 // LATA Bits
1826 extern __at(0x010C) __sfr LATA;
1828 typedef union
1830 struct
1832 unsigned LATA0 : 1;
1833 unsigned LATA1 : 1;
1834 unsigned LATA2 : 1;
1835 unsigned LATA3 : 1;
1836 unsigned LATA4 : 1;
1837 unsigned LATA5 : 1;
1838 unsigned : 1;
1839 unsigned : 1;
1842 struct
1844 unsigned LATA : 6;
1845 unsigned : 2;
1847 } __LATAbits_t;
1849 extern __at(0x010C) volatile __LATAbits_t LATAbits;
1851 #define _LATA0 0x01
1852 #define _LATA1 0x02
1853 #define _LATA2 0x04
1854 #define _LATA3 0x08
1855 #define _LATA4 0x10
1856 #define _LATA5 0x20
1858 //==============================================================================
1861 //==============================================================================
1862 // LATB Bits
1864 extern __at(0x010D) __sfr LATB;
1866 typedef struct
1868 unsigned : 1;
1869 unsigned : 1;
1870 unsigned : 1;
1871 unsigned : 1;
1872 unsigned LATB4 : 1;
1873 unsigned LATB5 : 1;
1874 unsigned LATB6 : 1;
1875 unsigned LATB7 : 1;
1876 } __LATBbits_t;
1878 extern __at(0x010D) volatile __LATBbits_t LATBbits;
1880 #define _LATB4 0x10
1881 #define _LATB5 0x20
1882 #define _LATB6 0x40
1883 #define _LATB7 0x80
1885 //==============================================================================
1888 //==============================================================================
1889 // LATC Bits
1891 extern __at(0x010E) __sfr LATC;
1893 typedef struct
1895 unsigned LATC0 : 1;
1896 unsigned LATC1 : 1;
1897 unsigned LATC2 : 1;
1898 unsigned LATC3 : 1;
1899 unsigned LATC4 : 1;
1900 unsigned LATC5 : 1;
1901 unsigned LATC6 : 1;
1902 unsigned LATC7 : 1;
1903 } __LATCbits_t;
1905 extern __at(0x010E) volatile __LATCbits_t LATCbits;
1907 #define _LATC0 0x01
1908 #define _LATC1 0x02
1909 #define _LATC2 0x04
1910 #define _LATC3 0x08
1911 #define _LATC4 0x10
1912 #define _LATC5 0x20
1913 #define _LATC6 0x40
1914 #define _LATC7 0x80
1916 //==============================================================================
1919 //==============================================================================
1920 // CM1CON0 Bits
1922 extern __at(0x0111) __sfr CM1CON0;
1924 typedef struct
1926 unsigned C1SYNC : 1;
1927 unsigned C1HYS : 1;
1928 unsigned C1SP : 1;
1929 unsigned : 1;
1930 unsigned C1POL : 1;
1931 unsigned : 1;
1932 unsigned C1OUT : 1;
1933 unsigned C1ON : 1;
1934 } __CM1CON0bits_t;
1936 extern __at(0x0111) volatile __CM1CON0bits_t CM1CON0bits;
1938 #define _C1SYNC 0x01
1939 #define _C1HYS 0x02
1940 #define _C1SP 0x04
1941 #define _C1POL 0x10
1942 #define _C1OUT 0x40
1943 #define _C1ON 0x80
1945 //==============================================================================
1948 //==============================================================================
1949 // CM1CON1 Bits
1951 extern __at(0x0112) __sfr CM1CON1;
1953 typedef union
1955 struct
1957 unsigned C1NCH0 : 1;
1958 unsigned C1NCH1 : 1;
1959 unsigned C1NCH2 : 1;
1960 unsigned : 1;
1961 unsigned C1PCH0 : 1;
1962 unsigned C1PCH1 : 1;
1963 unsigned C1INTN : 1;
1964 unsigned C1INTP : 1;
1967 struct
1969 unsigned C1NCH : 3;
1970 unsigned : 5;
1973 struct
1975 unsigned : 4;
1976 unsigned C1PCH : 2;
1977 unsigned : 2;
1979 } __CM1CON1bits_t;
1981 extern __at(0x0112) volatile __CM1CON1bits_t CM1CON1bits;
1983 #define _C1NCH0 0x01
1984 #define _C1NCH1 0x02
1985 #define _C1NCH2 0x04
1986 #define _C1PCH0 0x10
1987 #define _C1PCH1 0x20
1988 #define _C1INTN 0x40
1989 #define _C1INTP 0x80
1991 //==============================================================================
1994 //==============================================================================
1995 // CM2CON0 Bits
1997 extern __at(0x0113) __sfr CM2CON0;
1999 typedef struct
2001 unsigned C2SYNC : 1;
2002 unsigned C2HYS : 1;
2003 unsigned C2SP : 1;
2004 unsigned : 1;
2005 unsigned C2POL : 1;
2006 unsigned : 1;
2007 unsigned C2OUT : 1;
2008 unsigned C2ON : 1;
2009 } __CM2CON0bits_t;
2011 extern __at(0x0113) volatile __CM2CON0bits_t CM2CON0bits;
2013 #define _C2SYNC 0x01
2014 #define _C2HYS 0x02
2015 #define _C2SP 0x04
2016 #define _C2POL 0x10
2017 #define _C2OUT 0x40
2018 #define _C2ON 0x80
2020 //==============================================================================
2023 //==============================================================================
2024 // CM2CON1 Bits
2026 extern __at(0x0114) __sfr CM2CON1;
2028 typedef union
2030 struct
2032 unsigned C2NCH0 : 1;
2033 unsigned C2NCH1 : 1;
2034 unsigned C2NCH2 : 1;
2035 unsigned : 1;
2036 unsigned C2PCH0 : 1;
2037 unsigned C2PCH1 : 1;
2038 unsigned C2INTN : 1;
2039 unsigned C2INTP : 1;
2042 struct
2044 unsigned C2NCH : 3;
2045 unsigned : 5;
2048 struct
2050 unsigned : 4;
2051 unsigned C2PCH : 2;
2052 unsigned : 2;
2054 } __CM2CON1bits_t;
2056 extern __at(0x0114) volatile __CM2CON1bits_t CM2CON1bits;
2058 #define _C2NCH0 0x01
2059 #define _C2NCH1 0x02
2060 #define _C2NCH2 0x04
2061 #define _C2PCH0 0x10
2062 #define _C2PCH1 0x20
2063 #define _C2INTN 0x40
2064 #define _C2INTP 0x80
2066 //==============================================================================
2069 //==============================================================================
2070 // CMOUT Bits
2072 extern __at(0x0115) __sfr CMOUT;
2074 typedef struct
2076 unsigned MC1OUT : 1;
2077 unsigned MC2OUT : 1;
2078 unsigned : 1;
2079 unsigned : 1;
2080 unsigned : 1;
2081 unsigned : 1;
2082 unsigned : 1;
2083 unsigned : 1;
2084 } __CMOUTbits_t;
2086 extern __at(0x0115) volatile __CMOUTbits_t CMOUTbits;
2088 #define _MC1OUT 0x01
2089 #define _MC2OUT 0x02
2091 //==============================================================================
2094 //==============================================================================
2095 // BORCON Bits
2097 extern __at(0x0116) __sfr BORCON;
2099 typedef struct
2101 unsigned BORRDY : 1;
2102 unsigned : 1;
2103 unsigned : 1;
2104 unsigned : 1;
2105 unsigned : 1;
2106 unsigned : 1;
2107 unsigned BORFS : 1;
2108 unsigned SBOREN : 1;
2109 } __BORCONbits_t;
2111 extern __at(0x0116) volatile __BORCONbits_t BORCONbits;
2113 #define _BORRDY 0x01
2114 #define _BORFS 0x40
2115 #define _SBOREN 0x80
2117 //==============================================================================
2120 //==============================================================================
2121 // FVRCON Bits
2123 extern __at(0x0117) __sfr FVRCON;
2125 typedef union
2127 struct
2129 unsigned ADFVR0 : 1;
2130 unsigned ADFVR1 : 1;
2131 unsigned CDAFVR0 : 1;
2132 unsigned CDAFVR1 : 1;
2133 unsigned TSRNG : 1;
2134 unsigned TSEN : 1;
2135 unsigned FVRRDY : 1;
2136 unsigned FVREN : 1;
2139 struct
2141 unsigned ADFVR : 2;
2142 unsigned : 6;
2145 struct
2147 unsigned : 2;
2148 unsigned CDAFVR : 2;
2149 unsigned : 4;
2151 } __FVRCONbits_t;
2153 extern __at(0x0117) volatile __FVRCONbits_t FVRCONbits;
2155 #define _ADFVR0 0x01
2156 #define _ADFVR1 0x02
2157 #define _CDAFVR0 0x04
2158 #define _CDAFVR1 0x08
2159 #define _TSRNG 0x10
2160 #define _TSEN 0x20
2161 #define _FVRRDY 0x40
2162 #define _FVREN 0x80
2164 //==============================================================================
2167 //==============================================================================
2168 // DAC1CON0 Bits
2170 extern __at(0x0118) __sfr DAC1CON0;
2172 typedef union
2174 struct
2176 unsigned : 1;
2177 unsigned : 1;
2178 unsigned D1PSS0 : 1;
2179 unsigned D1PSS1 : 1;
2180 unsigned : 1;
2181 unsigned DAC1OE : 1;
2182 unsigned : 1;
2183 unsigned DAC1EN : 1;
2186 struct
2188 unsigned : 2;
2189 unsigned D1PSS : 2;
2190 unsigned : 4;
2192 } __DAC1CON0bits_t;
2194 extern __at(0x0118) volatile __DAC1CON0bits_t DAC1CON0bits;
2196 #define _D1PSS0 0x04
2197 #define _D1PSS1 0x08
2198 #define _DAC1OE 0x20
2199 #define _DAC1EN 0x80
2201 //==============================================================================
2204 //==============================================================================
2205 // DAC1CON1 Bits
2207 extern __at(0x0119) __sfr DAC1CON1;
2209 typedef struct
2211 unsigned DAC1R0 : 1;
2212 unsigned DAC1R1 : 1;
2213 unsigned DAC1R2 : 1;
2214 unsigned DAC1R3 : 1;
2215 unsigned DAC1R4 : 1;
2216 unsigned DAC1R5 : 1;
2217 unsigned DAC1R6 : 1;
2218 unsigned DAC1R7 : 1;
2219 } __DAC1CON1bits_t;
2221 extern __at(0x0119) volatile __DAC1CON1bits_t DAC1CON1bits;
2223 #define _DAC1R0 0x01
2224 #define _DAC1R1 0x02
2225 #define _DAC1R2 0x04
2226 #define _DAC1R3 0x08
2227 #define _DAC1R4 0x10
2228 #define _DAC1R5 0x20
2229 #define _DAC1R6 0x40
2230 #define _DAC1R7 0x80
2232 //==============================================================================
2235 //==============================================================================
2236 // ZCD1CON Bits
2238 extern __at(0x011C) __sfr ZCD1CON;
2240 typedef struct
2242 unsigned ZCD1INTN : 1;
2243 unsigned ZCD1INTP : 1;
2244 unsigned : 1;
2245 unsigned : 1;
2246 unsigned ZCD1POL : 1;
2247 unsigned ZCD1OUT : 1;
2248 unsigned : 1;
2249 unsigned ZCD1EN : 1;
2250 } __ZCD1CONbits_t;
2252 extern __at(0x011C) volatile __ZCD1CONbits_t ZCD1CONbits;
2254 #define _ZCD1INTN 0x01
2255 #define _ZCD1INTP 0x02
2256 #define _ZCD1POL 0x10
2257 #define _ZCD1OUT 0x20
2258 #define _ZCD1EN 0x80
2260 //==============================================================================
2263 //==============================================================================
2264 // ANSELA Bits
2266 extern __at(0x018C) __sfr ANSELA;
2268 typedef struct
2270 unsigned ANSA0 : 1;
2271 unsigned ANSA1 : 1;
2272 unsigned ANSA2 : 1;
2273 unsigned : 1;
2274 unsigned ANSA4 : 1;
2275 unsigned : 1;
2276 unsigned : 1;
2277 unsigned : 1;
2278 } __ANSELAbits_t;
2280 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits;
2282 #define _ANSA0 0x01
2283 #define _ANSA1 0x02
2284 #define _ANSA2 0x04
2285 #define _ANSA4 0x10
2287 //==============================================================================
2290 //==============================================================================
2291 // ANSELB Bits
2293 extern __at(0x018D) __sfr ANSELB;
2295 typedef struct
2297 unsigned : 1;
2298 unsigned : 1;
2299 unsigned : 1;
2300 unsigned : 1;
2301 unsigned ANSB4 : 1;
2302 unsigned ANSB5 : 1;
2303 unsigned ANSB6 : 1;
2304 unsigned ANSB7 : 1;
2305 } __ANSELBbits_t;
2307 extern __at(0x018D) volatile __ANSELBbits_t ANSELBbits;
2309 #define _ANSB4 0x10
2310 #define _ANSB5 0x20
2311 #define _ANSB6 0x40
2312 #define _ANSB7 0x80
2314 //==============================================================================
2317 //==============================================================================
2318 // ANSELC Bits
2320 extern __at(0x018E) __sfr ANSELC;
2322 typedef struct
2324 unsigned ANSC0 : 1;
2325 unsigned ANSC1 : 1;
2326 unsigned ANSC2 : 1;
2327 unsigned ANSC3 : 1;
2328 unsigned : 1;
2329 unsigned : 1;
2330 unsigned ANSC6 : 1;
2331 unsigned ANSC7 : 1;
2332 } __ANSELCbits_t;
2334 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits;
2336 #define _ANSC0 0x01
2337 #define _ANSC1 0x02
2338 #define _ANSC2 0x04
2339 #define _ANSC3 0x08
2340 #define _ANSC6 0x40
2341 #define _ANSC7 0x80
2343 //==============================================================================
2345 extern __at(0x0191) __sfr PMADR;
2346 extern __at(0x0191) __sfr PMADRL;
2347 extern __at(0x0192) __sfr PMADRH;
2348 extern __at(0x0193) __sfr PMDAT;
2349 extern __at(0x0193) __sfr PMDATL;
2350 extern __at(0x0194) __sfr PMDATH;
2352 //==============================================================================
2353 // PMCON1 Bits
2355 extern __at(0x0195) __sfr PMCON1;
2357 typedef struct
2359 unsigned RD : 1;
2360 unsigned WR : 1;
2361 unsigned WREN : 1;
2362 unsigned WRERR : 1;
2363 unsigned FREE : 1;
2364 unsigned LWLO : 1;
2365 unsigned CFGS : 1;
2366 unsigned : 1;
2367 } __PMCON1bits_t;
2369 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits;
2371 #define _RD 0x01
2372 #define _WR 0x02
2373 #define _WREN 0x04
2374 #define _WRERR 0x08
2375 #define _FREE 0x10
2376 #define _LWLO 0x20
2377 #define _CFGS 0x40
2379 //==============================================================================
2381 extern __at(0x0196) __sfr PMCON2;
2382 extern __at(0x0199) __sfr RC1REG;
2383 extern __at(0x0199) __sfr RCREG;
2384 extern __at(0x0199) __sfr RCREG1;
2385 extern __at(0x019A) __sfr TX1REG;
2386 extern __at(0x019A) __sfr TXREG;
2387 extern __at(0x019A) __sfr TXREG1;
2388 extern __at(0x019B) __sfr SP1BRG;
2389 extern __at(0x019B) __sfr SP1BRGL;
2390 extern __at(0x019B) __sfr SPBRG;
2391 extern __at(0x019B) __sfr SPBRG1;
2392 extern __at(0x019B) __sfr SPBRGL;
2393 extern __at(0x019C) __sfr SP1BRGH;
2394 extern __at(0x019C) __sfr SPBRGH;
2395 extern __at(0x019C) __sfr SPBRGH1;
2397 //==============================================================================
2398 // RC1STA Bits
2400 extern __at(0x019D) __sfr RC1STA;
2402 typedef struct
2404 unsigned RX9D : 1;
2405 unsigned OERR : 1;
2406 unsigned FERR : 1;
2407 unsigned ADDEN : 1;
2408 unsigned CREN : 1;
2409 unsigned SREN : 1;
2410 unsigned RX9 : 1;
2411 unsigned SPEN : 1;
2412 } __RC1STAbits_t;
2414 extern __at(0x019D) volatile __RC1STAbits_t RC1STAbits;
2416 #define _RX9D 0x01
2417 #define _OERR 0x02
2418 #define _FERR 0x04
2419 #define _ADDEN 0x08
2420 #define _CREN 0x10
2421 #define _SREN 0x20
2422 #define _RX9 0x40
2423 #define _SPEN 0x80
2425 //==============================================================================
2428 //==============================================================================
2429 // RCSTA Bits
2431 extern __at(0x019D) __sfr RCSTA;
2433 typedef struct
2435 unsigned RX9D : 1;
2436 unsigned OERR : 1;
2437 unsigned FERR : 1;
2438 unsigned ADDEN : 1;
2439 unsigned CREN : 1;
2440 unsigned SREN : 1;
2441 unsigned RX9 : 1;
2442 unsigned SPEN : 1;
2443 } __RCSTAbits_t;
2445 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits;
2447 #define _RCSTA_RX9D 0x01
2448 #define _RCSTA_OERR 0x02
2449 #define _RCSTA_FERR 0x04
2450 #define _RCSTA_ADDEN 0x08
2451 #define _RCSTA_CREN 0x10
2452 #define _RCSTA_SREN 0x20
2453 #define _RCSTA_RX9 0x40
2454 #define _RCSTA_SPEN 0x80
2456 //==============================================================================
2459 //==============================================================================
2460 // RCSTA1 Bits
2462 extern __at(0x019D) __sfr RCSTA1;
2464 typedef struct
2466 unsigned RX9D : 1;
2467 unsigned OERR : 1;
2468 unsigned FERR : 1;
2469 unsigned ADDEN : 1;
2470 unsigned CREN : 1;
2471 unsigned SREN : 1;
2472 unsigned RX9 : 1;
2473 unsigned SPEN : 1;
2474 } __RCSTA1bits_t;
2476 extern __at(0x019D) volatile __RCSTA1bits_t RCSTA1bits;
2478 #define _RCSTA1_RX9D 0x01
2479 #define _RCSTA1_OERR 0x02
2480 #define _RCSTA1_FERR 0x04
2481 #define _RCSTA1_ADDEN 0x08
2482 #define _RCSTA1_CREN 0x10
2483 #define _RCSTA1_SREN 0x20
2484 #define _RCSTA1_RX9 0x40
2485 #define _RCSTA1_SPEN 0x80
2487 //==============================================================================
2490 //==============================================================================
2491 // TX1STA Bits
2493 extern __at(0x019E) __sfr TX1STA;
2495 typedef struct
2497 unsigned TX9D : 1;
2498 unsigned TRMT : 1;
2499 unsigned BRGH : 1;
2500 unsigned SENDB : 1;
2501 unsigned SYNC : 1;
2502 unsigned TXEN : 1;
2503 unsigned TX9 : 1;
2504 unsigned CSRC : 1;
2505 } __TX1STAbits_t;
2507 extern __at(0x019E) volatile __TX1STAbits_t TX1STAbits;
2509 #define _TX9D 0x01
2510 #define _TRMT 0x02
2511 #define _BRGH 0x04
2512 #define _SENDB 0x08
2513 #define _SYNC 0x10
2514 #define _TXEN 0x20
2515 #define _TX9 0x40
2516 #define _CSRC 0x80
2518 //==============================================================================
2521 //==============================================================================
2522 // TXSTA Bits
2524 extern __at(0x019E) __sfr TXSTA;
2526 typedef struct
2528 unsigned TX9D : 1;
2529 unsigned TRMT : 1;
2530 unsigned BRGH : 1;
2531 unsigned SENDB : 1;
2532 unsigned SYNC : 1;
2533 unsigned TXEN : 1;
2534 unsigned TX9 : 1;
2535 unsigned CSRC : 1;
2536 } __TXSTAbits_t;
2538 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits;
2540 #define _TXSTA_TX9D 0x01
2541 #define _TXSTA_TRMT 0x02
2542 #define _TXSTA_BRGH 0x04
2543 #define _TXSTA_SENDB 0x08
2544 #define _TXSTA_SYNC 0x10
2545 #define _TXSTA_TXEN 0x20
2546 #define _TXSTA_TX9 0x40
2547 #define _TXSTA_CSRC 0x80
2549 //==============================================================================
2552 //==============================================================================
2553 // TXSTA1 Bits
2555 extern __at(0x019E) __sfr TXSTA1;
2557 typedef struct
2559 unsigned TX9D : 1;
2560 unsigned TRMT : 1;
2561 unsigned BRGH : 1;
2562 unsigned SENDB : 1;
2563 unsigned SYNC : 1;
2564 unsigned TXEN : 1;
2565 unsigned TX9 : 1;
2566 unsigned CSRC : 1;
2567 } __TXSTA1bits_t;
2569 extern __at(0x019E) volatile __TXSTA1bits_t TXSTA1bits;
2571 #define _TXSTA1_TX9D 0x01
2572 #define _TXSTA1_TRMT 0x02
2573 #define _TXSTA1_BRGH 0x04
2574 #define _TXSTA1_SENDB 0x08
2575 #define _TXSTA1_SYNC 0x10
2576 #define _TXSTA1_TXEN 0x20
2577 #define _TXSTA1_TX9 0x40
2578 #define _TXSTA1_CSRC 0x80
2580 //==============================================================================
2583 //==============================================================================
2584 // BAUD1CON Bits
2586 extern __at(0x019F) __sfr BAUD1CON;
2588 typedef struct
2590 unsigned ABDEN : 1;
2591 unsigned WUE : 1;
2592 unsigned : 1;
2593 unsigned BRG16 : 1;
2594 unsigned SCKP : 1;
2595 unsigned : 1;
2596 unsigned RCIDL : 1;
2597 unsigned ABDOVF : 1;
2598 } __BAUD1CONbits_t;
2600 extern __at(0x019F) volatile __BAUD1CONbits_t BAUD1CONbits;
2602 #define _ABDEN 0x01
2603 #define _WUE 0x02
2604 #define _BRG16 0x08
2605 #define _SCKP 0x10
2606 #define _RCIDL 0x40
2607 #define _ABDOVF 0x80
2609 //==============================================================================
2612 //==============================================================================
2613 // BAUDCON Bits
2615 extern __at(0x019F) __sfr BAUDCON;
2617 typedef struct
2619 unsigned ABDEN : 1;
2620 unsigned WUE : 1;
2621 unsigned : 1;
2622 unsigned BRG16 : 1;
2623 unsigned SCKP : 1;
2624 unsigned : 1;
2625 unsigned RCIDL : 1;
2626 unsigned ABDOVF : 1;
2627 } __BAUDCONbits_t;
2629 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits;
2631 #define _BAUDCON_ABDEN 0x01
2632 #define _BAUDCON_WUE 0x02
2633 #define _BAUDCON_BRG16 0x08
2634 #define _BAUDCON_SCKP 0x10
2635 #define _BAUDCON_RCIDL 0x40
2636 #define _BAUDCON_ABDOVF 0x80
2638 //==============================================================================
2641 //==============================================================================
2642 // BAUDCON1 Bits
2644 extern __at(0x019F) __sfr BAUDCON1;
2646 typedef struct
2648 unsigned ABDEN : 1;
2649 unsigned WUE : 1;
2650 unsigned : 1;
2651 unsigned BRG16 : 1;
2652 unsigned SCKP : 1;
2653 unsigned : 1;
2654 unsigned RCIDL : 1;
2655 unsigned ABDOVF : 1;
2656 } __BAUDCON1bits_t;
2658 extern __at(0x019F) volatile __BAUDCON1bits_t BAUDCON1bits;
2660 #define _BAUDCON1_ABDEN 0x01
2661 #define _BAUDCON1_WUE 0x02
2662 #define _BAUDCON1_BRG16 0x08
2663 #define _BAUDCON1_SCKP 0x10
2664 #define _BAUDCON1_RCIDL 0x40
2665 #define _BAUDCON1_ABDOVF 0x80
2667 //==============================================================================
2670 //==============================================================================
2671 // BAUDCTL Bits
2673 extern __at(0x019F) __sfr BAUDCTL;
2675 typedef struct
2677 unsigned ABDEN : 1;
2678 unsigned WUE : 1;
2679 unsigned : 1;
2680 unsigned BRG16 : 1;
2681 unsigned SCKP : 1;
2682 unsigned : 1;
2683 unsigned RCIDL : 1;
2684 unsigned ABDOVF : 1;
2685 } __BAUDCTLbits_t;
2687 extern __at(0x019F) volatile __BAUDCTLbits_t BAUDCTLbits;
2689 #define _BAUDCTL_ABDEN 0x01
2690 #define _BAUDCTL_WUE 0x02
2691 #define _BAUDCTL_BRG16 0x08
2692 #define _BAUDCTL_SCKP 0x10
2693 #define _BAUDCTL_RCIDL 0x40
2694 #define _BAUDCTL_ABDOVF 0x80
2696 //==============================================================================
2699 //==============================================================================
2700 // BAUDCTL1 Bits
2702 extern __at(0x019F) __sfr BAUDCTL1;
2704 typedef struct
2706 unsigned ABDEN : 1;
2707 unsigned WUE : 1;
2708 unsigned : 1;
2709 unsigned BRG16 : 1;
2710 unsigned SCKP : 1;
2711 unsigned : 1;
2712 unsigned RCIDL : 1;
2713 unsigned ABDOVF : 1;
2714 } __BAUDCTL1bits_t;
2716 extern __at(0x019F) volatile __BAUDCTL1bits_t BAUDCTL1bits;
2718 #define _BAUDCTL1_ABDEN 0x01
2719 #define _BAUDCTL1_WUE 0x02
2720 #define _BAUDCTL1_BRG16 0x08
2721 #define _BAUDCTL1_SCKP 0x10
2722 #define _BAUDCTL1_RCIDL 0x40
2723 #define _BAUDCTL1_ABDOVF 0x80
2725 //==============================================================================
2728 //==============================================================================
2729 // WPUA Bits
2731 extern __at(0x020C) __sfr WPUA;
2733 typedef union
2735 struct
2737 unsigned WPUA0 : 1;
2738 unsigned WPUA1 : 1;
2739 unsigned WPUA2 : 1;
2740 unsigned WPUA3 : 1;
2741 unsigned WPUA4 : 1;
2742 unsigned WPUA5 : 1;
2743 unsigned : 1;
2744 unsigned : 1;
2747 struct
2749 unsigned WPUA : 6;
2750 unsigned : 2;
2752 } __WPUAbits_t;
2754 extern __at(0x020C) volatile __WPUAbits_t WPUAbits;
2756 #define _WPUA0 0x01
2757 #define _WPUA1 0x02
2758 #define _WPUA2 0x04
2759 #define _WPUA3 0x08
2760 #define _WPUA4 0x10
2761 #define _WPUA5 0x20
2763 //==============================================================================
2766 //==============================================================================
2767 // WPUB Bits
2769 extern __at(0x020D) __sfr WPUB;
2771 typedef struct
2773 unsigned : 1;
2774 unsigned : 1;
2775 unsigned : 1;
2776 unsigned : 1;
2777 unsigned WPUB4 : 1;
2778 unsigned WPUB5 : 1;
2779 unsigned WPUB6 : 1;
2780 unsigned WPUB7 : 1;
2781 } __WPUBbits_t;
2783 extern __at(0x020D) volatile __WPUBbits_t WPUBbits;
2785 #define _WPUB4 0x10
2786 #define _WPUB5 0x20
2787 #define _WPUB6 0x40
2788 #define _WPUB7 0x80
2790 //==============================================================================
2793 //==============================================================================
2794 // WPUC Bits
2796 extern __at(0x020E) __sfr WPUC;
2798 typedef struct
2800 unsigned WPUC0 : 1;
2801 unsigned WPUC1 : 1;
2802 unsigned WPUC2 : 1;
2803 unsigned WPUC3 : 1;
2804 unsigned WPUC4 : 1;
2805 unsigned WPUC5 : 1;
2806 unsigned WPUC6 : 1;
2807 unsigned WPUC7 : 1;
2808 } __WPUCbits_t;
2810 extern __at(0x020E) volatile __WPUCbits_t WPUCbits;
2812 #define _WPUC0 0x01
2813 #define _WPUC1 0x02
2814 #define _WPUC2 0x04
2815 #define _WPUC3 0x08
2816 #define _WPUC4 0x10
2817 #define _WPUC5 0x20
2818 #define _WPUC6 0x40
2819 #define _WPUC7 0x80
2821 //==============================================================================
2824 //==============================================================================
2825 // SSP1BUF Bits
2827 extern __at(0x0211) __sfr SSP1BUF;
2829 typedef union
2831 struct
2833 unsigned SSP1BUF0 : 1;
2834 unsigned SSP1BUF1 : 1;
2835 unsigned SSP1BUF2 : 1;
2836 unsigned SSP1BUF3 : 1;
2837 unsigned SSP1BUF4 : 1;
2838 unsigned SSP1BUF5 : 1;
2839 unsigned SSP1BUF6 : 1;
2840 unsigned SSP1BUF7 : 1;
2843 struct
2845 unsigned BUF0 : 1;
2846 unsigned BUF1 : 1;
2847 unsigned BUF2 : 1;
2848 unsigned BUF3 : 1;
2849 unsigned BUF4 : 1;
2850 unsigned BUF5 : 1;
2851 unsigned BUF6 : 1;
2852 unsigned BUF7 : 1;
2854 } __SSP1BUFbits_t;
2856 extern __at(0x0211) volatile __SSP1BUFbits_t SSP1BUFbits;
2858 #define _SSP1BUF0 0x01
2859 #define _BUF0 0x01
2860 #define _SSP1BUF1 0x02
2861 #define _BUF1 0x02
2862 #define _SSP1BUF2 0x04
2863 #define _BUF2 0x04
2864 #define _SSP1BUF3 0x08
2865 #define _BUF3 0x08
2866 #define _SSP1BUF4 0x10
2867 #define _BUF4 0x10
2868 #define _SSP1BUF5 0x20
2869 #define _BUF5 0x20
2870 #define _SSP1BUF6 0x40
2871 #define _BUF6 0x40
2872 #define _SSP1BUF7 0x80
2873 #define _BUF7 0x80
2875 //==============================================================================
2878 //==============================================================================
2879 // SSPBUF Bits
2881 extern __at(0x0211) __sfr SSPBUF;
2883 typedef union
2885 struct
2887 unsigned SSP1BUF0 : 1;
2888 unsigned SSP1BUF1 : 1;
2889 unsigned SSP1BUF2 : 1;
2890 unsigned SSP1BUF3 : 1;
2891 unsigned SSP1BUF4 : 1;
2892 unsigned SSP1BUF5 : 1;
2893 unsigned SSP1BUF6 : 1;
2894 unsigned SSP1BUF7 : 1;
2897 struct
2899 unsigned BUF0 : 1;
2900 unsigned BUF1 : 1;
2901 unsigned BUF2 : 1;
2902 unsigned BUF3 : 1;
2903 unsigned BUF4 : 1;
2904 unsigned BUF5 : 1;
2905 unsigned BUF6 : 1;
2906 unsigned BUF7 : 1;
2908 } __SSPBUFbits_t;
2910 extern __at(0x0211) volatile __SSPBUFbits_t SSPBUFbits;
2912 #define _SSPBUF_SSP1BUF0 0x01
2913 #define _SSPBUF_BUF0 0x01
2914 #define _SSPBUF_SSP1BUF1 0x02
2915 #define _SSPBUF_BUF1 0x02
2916 #define _SSPBUF_SSP1BUF2 0x04
2917 #define _SSPBUF_BUF2 0x04
2918 #define _SSPBUF_SSP1BUF3 0x08
2919 #define _SSPBUF_BUF3 0x08
2920 #define _SSPBUF_SSP1BUF4 0x10
2921 #define _SSPBUF_BUF4 0x10
2922 #define _SSPBUF_SSP1BUF5 0x20
2923 #define _SSPBUF_BUF5 0x20
2924 #define _SSPBUF_SSP1BUF6 0x40
2925 #define _SSPBUF_BUF6 0x40
2926 #define _SSPBUF_SSP1BUF7 0x80
2927 #define _SSPBUF_BUF7 0x80
2929 //==============================================================================
2932 //==============================================================================
2933 // SSP1ADD Bits
2935 extern __at(0x0212) __sfr SSP1ADD;
2937 typedef union
2939 struct
2941 unsigned SSP1ADD0 : 1;
2942 unsigned SSP1ADD1 : 1;
2943 unsigned SSP1ADD2 : 1;
2944 unsigned SSP1ADD3 : 1;
2945 unsigned SSP1ADD4 : 1;
2946 unsigned SSP1ADD5 : 1;
2947 unsigned SSP1ADD6 : 1;
2948 unsigned SSP1ADD7 : 1;
2951 struct
2953 unsigned ADD0 : 1;
2954 unsigned ADD1 : 1;
2955 unsigned ADD2 : 1;
2956 unsigned ADD3 : 1;
2957 unsigned ADD4 : 1;
2958 unsigned ADD5 : 1;
2959 unsigned ADD6 : 1;
2960 unsigned ADD7 : 1;
2962 } __SSP1ADDbits_t;
2964 extern __at(0x0212) volatile __SSP1ADDbits_t SSP1ADDbits;
2966 #define _SSP1ADD0 0x01
2967 #define _ADD0 0x01
2968 #define _SSP1ADD1 0x02
2969 #define _ADD1 0x02
2970 #define _SSP1ADD2 0x04
2971 #define _ADD2 0x04
2972 #define _SSP1ADD3 0x08
2973 #define _ADD3 0x08
2974 #define _SSP1ADD4 0x10
2975 #define _ADD4 0x10
2976 #define _SSP1ADD5 0x20
2977 #define _ADD5 0x20
2978 #define _SSP1ADD6 0x40
2979 #define _ADD6 0x40
2980 #define _SSP1ADD7 0x80
2981 #define _ADD7 0x80
2983 //==============================================================================
2986 //==============================================================================
2987 // SSPADD Bits
2989 extern __at(0x0212) __sfr SSPADD;
2991 typedef union
2993 struct
2995 unsigned SSP1ADD0 : 1;
2996 unsigned SSP1ADD1 : 1;
2997 unsigned SSP1ADD2 : 1;
2998 unsigned SSP1ADD3 : 1;
2999 unsigned SSP1ADD4 : 1;
3000 unsigned SSP1ADD5 : 1;
3001 unsigned SSP1ADD6 : 1;
3002 unsigned SSP1ADD7 : 1;
3005 struct
3007 unsigned ADD0 : 1;
3008 unsigned ADD1 : 1;
3009 unsigned ADD2 : 1;
3010 unsigned ADD3 : 1;
3011 unsigned ADD4 : 1;
3012 unsigned ADD5 : 1;
3013 unsigned ADD6 : 1;
3014 unsigned ADD7 : 1;
3016 } __SSPADDbits_t;
3018 extern __at(0x0212) volatile __SSPADDbits_t SSPADDbits;
3020 #define _SSPADD_SSP1ADD0 0x01
3021 #define _SSPADD_ADD0 0x01
3022 #define _SSPADD_SSP1ADD1 0x02
3023 #define _SSPADD_ADD1 0x02
3024 #define _SSPADD_SSP1ADD2 0x04
3025 #define _SSPADD_ADD2 0x04
3026 #define _SSPADD_SSP1ADD3 0x08
3027 #define _SSPADD_ADD3 0x08
3028 #define _SSPADD_SSP1ADD4 0x10
3029 #define _SSPADD_ADD4 0x10
3030 #define _SSPADD_SSP1ADD5 0x20
3031 #define _SSPADD_ADD5 0x20
3032 #define _SSPADD_SSP1ADD6 0x40
3033 #define _SSPADD_ADD6 0x40
3034 #define _SSPADD_SSP1ADD7 0x80
3035 #define _SSPADD_ADD7 0x80
3037 //==============================================================================
3040 //==============================================================================
3041 // SSP1MSK Bits
3043 extern __at(0x0213) __sfr SSP1MSK;
3045 typedef union
3047 struct
3049 unsigned SSP1MSK0 : 1;
3050 unsigned SSP1MSK1 : 1;
3051 unsigned SSP1MSK2 : 1;
3052 unsigned SSP1MSK3 : 1;
3053 unsigned SSP1MSK4 : 1;
3054 unsigned SSP1MSK5 : 1;
3055 unsigned SSP1MSK6 : 1;
3056 unsigned SSP1MSK7 : 1;
3059 struct
3061 unsigned MSK0 : 1;
3062 unsigned MSK1 : 1;
3063 unsigned MSK2 : 1;
3064 unsigned MSK3 : 1;
3065 unsigned MSK4 : 1;
3066 unsigned MSK5 : 1;
3067 unsigned MSK6 : 1;
3068 unsigned MSK7 : 1;
3070 } __SSP1MSKbits_t;
3072 extern __at(0x0213) volatile __SSP1MSKbits_t SSP1MSKbits;
3074 #define _SSP1MSK0 0x01
3075 #define _MSK0 0x01
3076 #define _SSP1MSK1 0x02
3077 #define _MSK1 0x02
3078 #define _SSP1MSK2 0x04
3079 #define _MSK2 0x04
3080 #define _SSP1MSK3 0x08
3081 #define _MSK3 0x08
3082 #define _SSP1MSK4 0x10
3083 #define _MSK4 0x10
3084 #define _SSP1MSK5 0x20
3085 #define _MSK5 0x20
3086 #define _SSP1MSK6 0x40
3087 #define _MSK6 0x40
3088 #define _SSP1MSK7 0x80
3089 #define _MSK7 0x80
3091 //==============================================================================
3094 //==============================================================================
3095 // SSPMSK Bits
3097 extern __at(0x0213) __sfr SSPMSK;
3099 typedef union
3101 struct
3103 unsigned SSP1MSK0 : 1;
3104 unsigned SSP1MSK1 : 1;
3105 unsigned SSP1MSK2 : 1;
3106 unsigned SSP1MSK3 : 1;
3107 unsigned SSP1MSK4 : 1;
3108 unsigned SSP1MSK5 : 1;
3109 unsigned SSP1MSK6 : 1;
3110 unsigned SSP1MSK7 : 1;
3113 struct
3115 unsigned MSK0 : 1;
3116 unsigned MSK1 : 1;
3117 unsigned MSK2 : 1;
3118 unsigned MSK3 : 1;
3119 unsigned MSK4 : 1;
3120 unsigned MSK5 : 1;
3121 unsigned MSK6 : 1;
3122 unsigned MSK7 : 1;
3124 } __SSPMSKbits_t;
3126 extern __at(0x0213) volatile __SSPMSKbits_t SSPMSKbits;
3128 #define _SSPMSK_SSP1MSK0 0x01
3129 #define _SSPMSK_MSK0 0x01
3130 #define _SSPMSK_SSP1MSK1 0x02
3131 #define _SSPMSK_MSK1 0x02
3132 #define _SSPMSK_SSP1MSK2 0x04
3133 #define _SSPMSK_MSK2 0x04
3134 #define _SSPMSK_SSP1MSK3 0x08
3135 #define _SSPMSK_MSK3 0x08
3136 #define _SSPMSK_SSP1MSK4 0x10
3137 #define _SSPMSK_MSK4 0x10
3138 #define _SSPMSK_SSP1MSK5 0x20
3139 #define _SSPMSK_MSK5 0x20
3140 #define _SSPMSK_SSP1MSK6 0x40
3141 #define _SSPMSK_MSK6 0x40
3142 #define _SSPMSK_SSP1MSK7 0x80
3143 #define _SSPMSK_MSK7 0x80
3145 //==============================================================================
3148 //==============================================================================
3149 // SSP1STAT Bits
3151 extern __at(0x0214) __sfr SSP1STAT;
3153 typedef struct
3155 unsigned BF : 1;
3156 unsigned UA : 1;
3157 unsigned R_NOT_W : 1;
3158 unsigned S : 1;
3159 unsigned P : 1;
3160 unsigned D_NOT_A : 1;
3161 unsigned CKE : 1;
3162 unsigned SMP : 1;
3163 } __SSP1STATbits_t;
3165 extern __at(0x0214) volatile __SSP1STATbits_t SSP1STATbits;
3167 #define _BF 0x01
3168 #define _UA 0x02
3169 #define _R_NOT_W 0x04
3170 #define _S 0x08
3171 #define _P 0x10
3172 #define _D_NOT_A 0x20
3173 #define _CKE 0x40
3174 #define _SMP 0x80
3176 //==============================================================================
3179 //==============================================================================
3180 // SSPSTAT Bits
3182 extern __at(0x0214) __sfr SSPSTAT;
3184 typedef struct
3186 unsigned BF : 1;
3187 unsigned UA : 1;
3188 unsigned R_NOT_W : 1;
3189 unsigned S : 1;
3190 unsigned P : 1;
3191 unsigned D_NOT_A : 1;
3192 unsigned CKE : 1;
3193 unsigned SMP : 1;
3194 } __SSPSTATbits_t;
3196 extern __at(0x0214) volatile __SSPSTATbits_t SSPSTATbits;
3198 #define _SSPSTAT_BF 0x01
3199 #define _SSPSTAT_UA 0x02
3200 #define _SSPSTAT_R_NOT_W 0x04
3201 #define _SSPSTAT_S 0x08
3202 #define _SSPSTAT_P 0x10
3203 #define _SSPSTAT_D_NOT_A 0x20
3204 #define _SSPSTAT_CKE 0x40
3205 #define _SSPSTAT_SMP 0x80
3207 //==============================================================================
3210 //==============================================================================
3211 // SSP1CON Bits
3213 extern __at(0x0215) __sfr SSP1CON;
3215 typedef union
3217 struct
3219 unsigned SSPM0 : 1;
3220 unsigned SSPM1 : 1;
3221 unsigned SSPM2 : 1;
3222 unsigned SSPM3 : 1;
3223 unsigned CKP : 1;
3224 unsigned SSPEN : 1;
3225 unsigned SSPOV : 1;
3226 unsigned WCOL : 1;
3229 struct
3231 unsigned SSPM : 4;
3232 unsigned : 4;
3234 } __SSP1CONbits_t;
3236 extern __at(0x0215) volatile __SSP1CONbits_t SSP1CONbits;
3238 #define _SSPM0 0x01
3239 #define _SSPM1 0x02
3240 #define _SSPM2 0x04
3241 #define _SSPM3 0x08
3242 #define _CKP 0x10
3243 #define _SSPEN 0x20
3244 #define _SSPOV 0x40
3245 #define _WCOL 0x80
3247 //==============================================================================
3250 //==============================================================================
3251 // SSP1CON1 Bits
3253 extern __at(0x0215) __sfr SSP1CON1;
3255 typedef union
3257 struct
3259 unsigned SSPM0 : 1;
3260 unsigned SSPM1 : 1;
3261 unsigned SSPM2 : 1;
3262 unsigned SSPM3 : 1;
3263 unsigned CKP : 1;
3264 unsigned SSPEN : 1;
3265 unsigned SSPOV : 1;
3266 unsigned WCOL : 1;
3269 struct
3271 unsigned SSPM : 4;
3272 unsigned : 4;
3274 } __SSP1CON1bits_t;
3276 extern __at(0x0215) volatile __SSP1CON1bits_t SSP1CON1bits;
3278 #define _SSP1CON1_SSPM0 0x01
3279 #define _SSP1CON1_SSPM1 0x02
3280 #define _SSP1CON1_SSPM2 0x04
3281 #define _SSP1CON1_SSPM3 0x08
3282 #define _SSP1CON1_CKP 0x10
3283 #define _SSP1CON1_SSPEN 0x20
3284 #define _SSP1CON1_SSPOV 0x40
3285 #define _SSP1CON1_WCOL 0x80
3287 //==============================================================================
3290 //==============================================================================
3291 // SSPCON Bits
3293 extern __at(0x0215) __sfr SSPCON;
3295 typedef union
3297 struct
3299 unsigned SSPM0 : 1;
3300 unsigned SSPM1 : 1;
3301 unsigned SSPM2 : 1;
3302 unsigned SSPM3 : 1;
3303 unsigned CKP : 1;
3304 unsigned SSPEN : 1;
3305 unsigned SSPOV : 1;
3306 unsigned WCOL : 1;
3309 struct
3311 unsigned SSPM : 4;
3312 unsigned : 4;
3314 } __SSPCONbits_t;
3316 extern __at(0x0215) volatile __SSPCONbits_t SSPCONbits;
3318 #define _SSPCON_SSPM0 0x01
3319 #define _SSPCON_SSPM1 0x02
3320 #define _SSPCON_SSPM2 0x04
3321 #define _SSPCON_SSPM3 0x08
3322 #define _SSPCON_CKP 0x10
3323 #define _SSPCON_SSPEN 0x20
3324 #define _SSPCON_SSPOV 0x40
3325 #define _SSPCON_WCOL 0x80
3327 //==============================================================================
3330 //==============================================================================
3331 // SSPCON1 Bits
3333 extern __at(0x0215) __sfr SSPCON1;
3335 typedef union
3337 struct
3339 unsigned SSPM0 : 1;
3340 unsigned SSPM1 : 1;
3341 unsigned SSPM2 : 1;
3342 unsigned SSPM3 : 1;
3343 unsigned CKP : 1;
3344 unsigned SSPEN : 1;
3345 unsigned SSPOV : 1;
3346 unsigned WCOL : 1;
3349 struct
3351 unsigned SSPM : 4;
3352 unsigned : 4;
3354 } __SSPCON1bits_t;
3356 extern __at(0x0215) volatile __SSPCON1bits_t SSPCON1bits;
3358 #define _SSPCON1_SSPM0 0x01
3359 #define _SSPCON1_SSPM1 0x02
3360 #define _SSPCON1_SSPM2 0x04
3361 #define _SSPCON1_SSPM3 0x08
3362 #define _SSPCON1_CKP 0x10
3363 #define _SSPCON1_SSPEN 0x20
3364 #define _SSPCON1_SSPOV 0x40
3365 #define _SSPCON1_WCOL 0x80
3367 //==============================================================================
3370 //==============================================================================
3371 // SSP1CON2 Bits
3373 extern __at(0x0216) __sfr SSP1CON2;
3375 typedef struct
3377 unsigned SEN : 1;
3378 unsigned RSEN : 1;
3379 unsigned PEN : 1;
3380 unsigned RCEN : 1;
3381 unsigned ACKEN : 1;
3382 unsigned ACKDT : 1;
3383 unsigned ACKSTAT : 1;
3384 unsigned GCEN : 1;
3385 } __SSP1CON2bits_t;
3387 extern __at(0x0216) volatile __SSP1CON2bits_t SSP1CON2bits;
3389 #define _SEN 0x01
3390 #define _RSEN 0x02
3391 #define _PEN 0x04
3392 #define _RCEN 0x08
3393 #define _ACKEN 0x10
3394 #define _ACKDT 0x20
3395 #define _ACKSTAT 0x40
3396 #define _GCEN 0x80
3398 //==============================================================================
3401 //==============================================================================
3402 // SSPCON2 Bits
3404 extern __at(0x0216) __sfr SSPCON2;
3406 typedef struct
3408 unsigned SEN : 1;
3409 unsigned RSEN : 1;
3410 unsigned PEN : 1;
3411 unsigned RCEN : 1;
3412 unsigned ACKEN : 1;
3413 unsigned ACKDT : 1;
3414 unsigned ACKSTAT : 1;
3415 unsigned GCEN : 1;
3416 } __SSPCON2bits_t;
3418 extern __at(0x0216) volatile __SSPCON2bits_t SSPCON2bits;
3420 #define _SSPCON2_SEN 0x01
3421 #define _SSPCON2_RSEN 0x02
3422 #define _SSPCON2_PEN 0x04
3423 #define _SSPCON2_RCEN 0x08
3424 #define _SSPCON2_ACKEN 0x10
3425 #define _SSPCON2_ACKDT 0x20
3426 #define _SSPCON2_ACKSTAT 0x40
3427 #define _SSPCON2_GCEN 0x80
3429 //==============================================================================
3432 //==============================================================================
3433 // SSP1CON3 Bits
3435 extern __at(0x0217) __sfr SSP1CON3;
3437 typedef struct
3439 unsigned DHEN : 1;
3440 unsigned AHEN : 1;
3441 unsigned SBCDE : 1;
3442 unsigned SDAHT : 1;
3443 unsigned BOEN : 1;
3444 unsigned SCIE : 1;
3445 unsigned PCIE : 1;
3446 unsigned ACKTIM : 1;
3447 } __SSP1CON3bits_t;
3449 extern __at(0x0217) volatile __SSP1CON3bits_t SSP1CON3bits;
3451 #define _DHEN 0x01
3452 #define _AHEN 0x02
3453 #define _SBCDE 0x04
3454 #define _SDAHT 0x08
3455 #define _BOEN 0x10
3456 #define _SCIE 0x20
3457 #define _PCIE 0x40
3458 #define _ACKTIM 0x80
3460 //==============================================================================
3463 //==============================================================================
3464 // SSPCON3 Bits
3466 extern __at(0x0217) __sfr SSPCON3;
3468 typedef struct
3470 unsigned DHEN : 1;
3471 unsigned AHEN : 1;
3472 unsigned SBCDE : 1;
3473 unsigned SDAHT : 1;
3474 unsigned BOEN : 1;
3475 unsigned SCIE : 1;
3476 unsigned PCIE : 1;
3477 unsigned ACKTIM : 1;
3478 } __SSPCON3bits_t;
3480 extern __at(0x0217) volatile __SSPCON3bits_t SSPCON3bits;
3482 #define _SSPCON3_DHEN 0x01
3483 #define _SSPCON3_AHEN 0x02
3484 #define _SSPCON3_SBCDE 0x04
3485 #define _SSPCON3_SDAHT 0x08
3486 #define _SSPCON3_BOEN 0x10
3487 #define _SSPCON3_SCIE 0x20
3488 #define _SSPCON3_PCIE 0x40
3489 #define _SSPCON3_ACKTIM 0x80
3491 //==============================================================================
3494 //==============================================================================
3495 // ODCONA Bits
3497 extern __at(0x028C) __sfr ODCONA;
3499 typedef struct
3501 unsigned ODA0 : 1;
3502 unsigned ODA1 : 1;
3503 unsigned ODA2 : 1;
3504 unsigned : 1;
3505 unsigned ODA4 : 1;
3506 unsigned ODA5 : 1;
3507 unsigned : 1;
3508 unsigned : 1;
3509 } __ODCONAbits_t;
3511 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits;
3513 #define _ODA0 0x01
3514 #define _ODA1 0x02
3515 #define _ODA2 0x04
3516 #define _ODA4 0x10
3517 #define _ODA5 0x20
3519 //==============================================================================
3522 //==============================================================================
3523 // ODCONB Bits
3525 extern __at(0x028D) __sfr ODCONB;
3527 typedef struct
3529 unsigned : 1;
3530 unsigned : 1;
3531 unsigned : 1;
3532 unsigned : 1;
3533 unsigned ODB4 : 1;
3534 unsigned ODB5 : 1;
3535 unsigned ODB6 : 1;
3536 unsigned ODB7 : 1;
3537 } __ODCONBbits_t;
3539 extern __at(0x028D) volatile __ODCONBbits_t ODCONBbits;
3541 #define _ODB4 0x10
3542 #define _ODB5 0x20
3543 #define _ODB6 0x40
3544 #define _ODB7 0x80
3546 //==============================================================================
3549 //==============================================================================
3550 // ODCONC Bits
3552 extern __at(0x028E) __sfr ODCONC;
3554 typedef struct
3556 unsigned ODC0 : 1;
3557 unsigned ODC1 : 1;
3558 unsigned ODC2 : 1;
3559 unsigned ODC3 : 1;
3560 unsigned ODC4 : 1;
3561 unsigned ODC5 : 1;
3562 unsigned ODC6 : 1;
3563 unsigned ODC7 : 1;
3564 } __ODCONCbits_t;
3566 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits;
3568 #define _ODC0 0x01
3569 #define _ODC1 0x02
3570 #define _ODC2 0x04
3571 #define _ODC3 0x08
3572 #define _ODC4 0x10
3573 #define _ODC5 0x20
3574 #define _ODC6 0x40
3575 #define _ODC7 0x80
3577 //==============================================================================
3579 extern __at(0x0291) __sfr CCPR1;
3580 extern __at(0x0291) __sfr CCPR1L;
3581 extern __at(0x0292) __sfr CCPR1H;
3583 //==============================================================================
3584 // CCP1CON Bits
3586 extern __at(0x0293) __sfr CCP1CON;
3588 typedef union
3590 struct
3592 unsigned MODE0 : 1;
3593 unsigned MODE1 : 1;
3594 unsigned MODE2 : 1;
3595 unsigned MODE3 : 1;
3596 unsigned FMT : 1;
3597 unsigned OUT : 1;
3598 unsigned : 1;
3599 unsigned EN : 1;
3602 struct
3604 unsigned CCP1MODE0 : 1;
3605 unsigned CCP1MODE1 : 1;
3606 unsigned CCP1MODE2 : 1;
3607 unsigned CCP1MODE3 : 1;
3608 unsigned CCP1FMT : 1;
3609 unsigned CCP1OUT : 1;
3610 unsigned : 1;
3611 unsigned CCP1EN : 1;
3614 struct
3616 unsigned MODE : 4;
3617 unsigned : 4;
3620 struct
3622 unsigned CCP1MODE : 4;
3623 unsigned : 4;
3625 } __CCP1CONbits_t;
3627 extern __at(0x0293) volatile __CCP1CONbits_t CCP1CONbits;
3629 #define _CCP1CON_MODE0 0x01
3630 #define _CCP1CON_CCP1MODE0 0x01
3631 #define _CCP1CON_MODE1 0x02
3632 #define _CCP1CON_CCP1MODE1 0x02
3633 #define _CCP1CON_MODE2 0x04
3634 #define _CCP1CON_CCP1MODE2 0x04
3635 #define _CCP1CON_MODE3 0x08
3636 #define _CCP1CON_CCP1MODE3 0x08
3637 #define _CCP1CON_FMT 0x10
3638 #define _CCP1CON_CCP1FMT 0x10
3639 #define _CCP1CON_OUT 0x20
3640 #define _CCP1CON_CCP1OUT 0x20
3641 #define _CCP1CON_EN 0x80
3642 #define _CCP1CON_CCP1EN 0x80
3644 //==============================================================================
3647 //==============================================================================
3648 // CCP1CAP Bits
3650 extern __at(0x0294) __sfr CCP1CAP;
3652 typedef union
3654 struct
3656 unsigned CTS0 : 1;
3657 unsigned CTS1 : 1;
3658 unsigned CTS2 : 1;
3659 unsigned : 1;
3660 unsigned : 1;
3661 unsigned : 1;
3662 unsigned : 1;
3663 unsigned : 1;
3666 struct
3668 unsigned CCP1CTS0 : 1;
3669 unsigned CCP1CTS1 : 1;
3670 unsigned CCP1CTS2 : 1;
3671 unsigned : 1;
3672 unsigned : 1;
3673 unsigned : 1;
3674 unsigned : 1;
3675 unsigned : 1;
3678 struct
3680 unsigned CCP1CTS : 3;
3681 unsigned : 5;
3684 struct
3686 unsigned CTS : 3;
3687 unsigned : 5;
3689 } __CCP1CAPbits_t;
3691 extern __at(0x0294) volatile __CCP1CAPbits_t CCP1CAPbits;
3693 #define _CTS0 0x01
3694 #define _CCP1CTS0 0x01
3695 #define _CTS1 0x02
3696 #define _CCP1CTS1 0x02
3697 #define _CTS2 0x04
3698 #define _CCP1CTS2 0x04
3700 //==============================================================================
3702 extern __at(0x0298) __sfr CCPR2;
3703 extern __at(0x0298) __sfr CCPR2L;
3704 extern __at(0x0299) __sfr CCPR2H;
3706 //==============================================================================
3707 // CCP2CON Bits
3709 extern __at(0x029A) __sfr CCP2CON;
3711 typedef union
3713 struct
3715 unsigned MODE0 : 1;
3716 unsigned MODE1 : 1;
3717 unsigned MODE2 : 1;
3718 unsigned MODE3 : 1;
3719 unsigned FMT : 1;
3720 unsigned OUT : 1;
3721 unsigned : 1;
3722 unsigned EN : 1;
3725 struct
3727 unsigned CCP2MODE0 : 1;
3728 unsigned CCP2MODE1 : 1;
3729 unsigned CCP2MODE2 : 1;
3730 unsigned CCP2MODE3 : 1;
3731 unsigned CCP2FMT : 1;
3732 unsigned CCP2OUT : 1;
3733 unsigned : 1;
3734 unsigned CCP2EN : 1;
3737 struct
3739 unsigned MODE : 4;
3740 unsigned : 4;
3743 struct
3745 unsigned CCP2MODE : 4;
3746 unsigned : 4;
3748 } __CCP2CONbits_t;
3750 extern __at(0x029A) volatile __CCP2CONbits_t CCP2CONbits;
3752 #define _CCP2CON_MODE0 0x01
3753 #define _CCP2CON_CCP2MODE0 0x01
3754 #define _CCP2CON_MODE1 0x02
3755 #define _CCP2CON_CCP2MODE1 0x02
3756 #define _CCP2CON_MODE2 0x04
3757 #define _CCP2CON_CCP2MODE2 0x04
3758 #define _CCP2CON_MODE3 0x08
3759 #define _CCP2CON_CCP2MODE3 0x08
3760 #define _CCP2CON_FMT 0x10
3761 #define _CCP2CON_CCP2FMT 0x10
3762 #define _CCP2CON_OUT 0x20
3763 #define _CCP2CON_CCP2OUT 0x20
3764 #define _CCP2CON_EN 0x80
3765 #define _CCP2CON_CCP2EN 0x80
3767 //==============================================================================
3770 //==============================================================================
3771 // CCP2CAP Bits
3773 extern __at(0x029B) __sfr CCP2CAP;
3775 typedef union
3777 struct
3779 unsigned CTS0 : 1;
3780 unsigned CTS1 : 1;
3781 unsigned CTS2 : 1;
3782 unsigned : 1;
3783 unsigned : 1;
3784 unsigned : 1;
3785 unsigned : 1;
3786 unsigned : 1;
3789 struct
3791 unsigned CCP2CTS0 : 1;
3792 unsigned CCP2CTS1 : 1;
3793 unsigned CCP2CTS2 : 1;
3794 unsigned : 1;
3795 unsigned : 1;
3796 unsigned : 1;
3797 unsigned : 1;
3798 unsigned : 1;
3801 struct
3803 unsigned CTS : 3;
3804 unsigned : 5;
3807 struct
3809 unsigned CCP2CTS : 3;
3810 unsigned : 5;
3812 } __CCP2CAPbits_t;
3814 extern __at(0x029B) volatile __CCP2CAPbits_t CCP2CAPbits;
3816 #define _CCP2CAP_CTS0 0x01
3817 #define _CCP2CAP_CCP2CTS0 0x01
3818 #define _CCP2CAP_CTS1 0x02
3819 #define _CCP2CAP_CCP2CTS1 0x02
3820 #define _CCP2CAP_CTS2 0x04
3821 #define _CCP2CAP_CCP2CTS2 0x04
3823 //==============================================================================
3826 //==============================================================================
3827 // CCPTMRS Bits
3829 extern __at(0x029E) __sfr CCPTMRS;
3831 typedef union
3833 struct
3835 unsigned CCP1TSEL0 : 1;
3836 unsigned CCP1TSEL1 : 1;
3837 unsigned CCP2TSEL0 : 1;
3838 unsigned CCP2TSEL1 : 1;
3839 unsigned P3TSEL0 : 1;
3840 unsigned P3TSEL1 : 1;
3841 unsigned P4TSEL0 : 1;
3842 unsigned P4TSEL1 : 1;
3845 struct
3847 unsigned CCP1TSEL : 2;
3848 unsigned : 6;
3851 struct
3853 unsigned : 2;
3854 unsigned CCP2TSEL : 2;
3855 unsigned : 4;
3858 struct
3860 unsigned : 4;
3861 unsigned P3TSEL : 2;
3862 unsigned : 2;
3865 struct
3867 unsigned : 6;
3868 unsigned P4TSEL : 2;
3870 } __CCPTMRSbits_t;
3872 extern __at(0x029E) volatile __CCPTMRSbits_t CCPTMRSbits;
3874 #define _CCP1TSEL0 0x01
3875 #define _CCP1TSEL1 0x02
3876 #define _CCP2TSEL0 0x04
3877 #define _CCP2TSEL1 0x08
3878 #define _P3TSEL0 0x10
3879 #define _P3TSEL1 0x20
3880 #define _P4TSEL0 0x40
3881 #define _P4TSEL1 0x80
3883 //==============================================================================
3886 //==============================================================================
3887 // SLRCONA Bits
3889 extern __at(0x030C) __sfr SLRCONA;
3891 typedef struct
3893 unsigned SLRA0 : 1;
3894 unsigned SLRA1 : 1;
3895 unsigned SLRA2 : 1;
3896 unsigned : 1;
3897 unsigned SLRA4 : 1;
3898 unsigned SLRA5 : 1;
3899 unsigned : 1;
3900 unsigned : 1;
3901 } __SLRCONAbits_t;
3903 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits;
3905 #define _SLRA0 0x01
3906 #define _SLRA1 0x02
3907 #define _SLRA2 0x04
3908 #define _SLRA4 0x10
3909 #define _SLRA5 0x20
3911 //==============================================================================
3914 //==============================================================================
3915 // SLRCONB Bits
3917 extern __at(0x030D) __sfr SLRCONB;
3919 typedef struct
3921 unsigned : 1;
3922 unsigned : 1;
3923 unsigned : 1;
3924 unsigned : 1;
3925 unsigned SLRB4 : 1;
3926 unsigned SLRB5 : 1;
3927 unsigned SLRB6 : 1;
3928 unsigned SLRB7 : 1;
3929 } __SLRCONBbits_t;
3931 extern __at(0x030D) volatile __SLRCONBbits_t SLRCONBbits;
3933 #define _SLRB4 0x10
3934 #define _SLRB5 0x20
3935 #define _SLRB6 0x40
3936 #define _SLRB7 0x80
3938 //==============================================================================
3941 //==============================================================================
3942 // SLRCONC Bits
3944 extern __at(0x030E) __sfr SLRCONC;
3946 typedef struct
3948 unsigned SLRC0 : 1;
3949 unsigned SLRC1 : 1;
3950 unsigned SLRC2 : 1;
3951 unsigned SLRC3 : 1;
3952 unsigned SLRC4 : 1;
3953 unsigned SLRC5 : 1;
3954 unsigned SLRC6 : 1;
3955 unsigned SLRC7 : 1;
3956 } __SLRCONCbits_t;
3958 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits;
3960 #define _SLRC0 0x01
3961 #define _SLRC1 0x02
3962 #define _SLRC2 0x04
3963 #define _SLRC3 0x08
3964 #define _SLRC4 0x10
3965 #define _SLRC5 0x20
3966 #define _SLRC6 0x40
3967 #define _SLRC7 0x80
3969 //==============================================================================
3972 //==============================================================================
3973 // INLVLA Bits
3975 extern __at(0x038C) __sfr INLVLA;
3977 typedef union
3979 struct
3981 unsigned INLVLA0 : 1;
3982 unsigned INLVLA1 : 1;
3983 unsigned INLVLA2 : 1;
3984 unsigned INLVLA3 : 1;
3985 unsigned INLVLA4 : 1;
3986 unsigned INLVLA5 : 1;
3987 unsigned : 1;
3988 unsigned : 1;
3991 struct
3993 unsigned INLVLA : 6;
3994 unsigned : 2;
3996 } __INLVLAbits_t;
3998 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits;
4000 #define _INLVLA0 0x01
4001 #define _INLVLA1 0x02
4002 #define _INLVLA2 0x04
4003 #define _INLVLA3 0x08
4004 #define _INLVLA4 0x10
4005 #define _INLVLA5 0x20
4007 //==============================================================================
4010 //==============================================================================
4011 // INLVLB Bits
4013 extern __at(0x038D) __sfr INLVLB;
4015 typedef struct
4017 unsigned : 1;
4018 unsigned : 1;
4019 unsigned : 1;
4020 unsigned : 1;
4021 unsigned INLVLB4 : 1;
4022 unsigned INLVLB5 : 1;
4023 unsigned INLVLB6 : 1;
4024 unsigned INLVLB7 : 1;
4025 } __INLVLBbits_t;
4027 extern __at(0x038D) volatile __INLVLBbits_t INLVLBbits;
4029 #define _INLVLB4 0x10
4030 #define _INLVLB5 0x20
4031 #define _INLVLB6 0x40
4032 #define _INLVLB7 0x80
4034 //==============================================================================
4037 //==============================================================================
4038 // INLVLC Bits
4040 extern __at(0x038E) __sfr INLVLC;
4042 typedef struct
4044 unsigned INLVLC0 : 1;
4045 unsigned INLVLC1 : 1;
4046 unsigned INLVLC2 : 1;
4047 unsigned INLVLC3 : 1;
4048 unsigned INLVLC4 : 1;
4049 unsigned INLVLC5 : 1;
4050 unsigned INLVLC6 : 1;
4051 unsigned INLVLC7 : 1;
4052 } __INLVLCbits_t;
4054 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits;
4056 #define _INLVLC0 0x01
4057 #define _INLVLC1 0x02
4058 #define _INLVLC2 0x04
4059 #define _INLVLC3 0x08
4060 #define _INLVLC4 0x10
4061 #define _INLVLC5 0x20
4062 #define _INLVLC6 0x40
4063 #define _INLVLC7 0x80
4065 //==============================================================================
4068 //==============================================================================
4069 // IOCAP Bits
4071 extern __at(0x0391) __sfr IOCAP;
4073 typedef union
4075 struct
4077 unsigned IOCAP0 : 1;
4078 unsigned IOCAP1 : 1;
4079 unsigned IOCAP2 : 1;
4080 unsigned IOCAP3 : 1;
4081 unsigned IOCAP4 : 1;
4082 unsigned IOCAP5 : 1;
4083 unsigned : 1;
4084 unsigned : 1;
4087 struct
4089 unsigned IOCAP : 6;
4090 unsigned : 2;
4092 } __IOCAPbits_t;
4094 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits;
4096 #define _IOCAP0 0x01
4097 #define _IOCAP1 0x02
4098 #define _IOCAP2 0x04
4099 #define _IOCAP3 0x08
4100 #define _IOCAP4 0x10
4101 #define _IOCAP5 0x20
4103 //==============================================================================
4106 //==============================================================================
4107 // IOCAN Bits
4109 extern __at(0x0392) __sfr IOCAN;
4111 typedef union
4113 struct
4115 unsigned IOCAN0 : 1;
4116 unsigned IOCAN1 : 1;
4117 unsigned IOCAN2 : 1;
4118 unsigned IOCAN3 : 1;
4119 unsigned IOCAN4 : 1;
4120 unsigned IOCAN5 : 1;
4121 unsigned : 1;
4122 unsigned : 1;
4125 struct
4127 unsigned IOCAN : 6;
4128 unsigned : 2;
4130 } __IOCANbits_t;
4132 extern __at(0x0392) volatile __IOCANbits_t IOCANbits;
4134 #define _IOCAN0 0x01
4135 #define _IOCAN1 0x02
4136 #define _IOCAN2 0x04
4137 #define _IOCAN3 0x08
4138 #define _IOCAN4 0x10
4139 #define _IOCAN5 0x20
4141 //==============================================================================
4144 //==============================================================================
4145 // IOCAF Bits
4147 extern __at(0x0393) __sfr IOCAF;
4149 typedef union
4151 struct
4153 unsigned IOCAF0 : 1;
4154 unsigned IOCAF1 : 1;
4155 unsigned IOCAF2 : 1;
4156 unsigned IOCAF3 : 1;
4157 unsigned IOCAF4 : 1;
4158 unsigned IOCAF5 : 1;
4159 unsigned : 1;
4160 unsigned : 1;
4163 struct
4165 unsigned IOCAF : 6;
4166 unsigned : 2;
4168 } __IOCAFbits_t;
4170 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits;
4172 #define _IOCAF0 0x01
4173 #define _IOCAF1 0x02
4174 #define _IOCAF2 0x04
4175 #define _IOCAF3 0x08
4176 #define _IOCAF4 0x10
4177 #define _IOCAF5 0x20
4179 //==============================================================================
4182 //==============================================================================
4183 // IOCBP Bits
4185 extern __at(0x0394) __sfr IOCBP;
4187 typedef struct
4189 unsigned : 1;
4190 unsigned : 1;
4191 unsigned : 1;
4192 unsigned : 1;
4193 unsigned IOCBP4 : 1;
4194 unsigned IOCBP5 : 1;
4195 unsigned IOCBP6 : 1;
4196 unsigned IOCBP7 : 1;
4197 } __IOCBPbits_t;
4199 extern __at(0x0394) volatile __IOCBPbits_t IOCBPbits;
4201 #define _IOCBP4 0x10
4202 #define _IOCBP5 0x20
4203 #define _IOCBP6 0x40
4204 #define _IOCBP7 0x80
4206 //==============================================================================
4209 //==============================================================================
4210 // IOCBN Bits
4212 extern __at(0x0395) __sfr IOCBN;
4214 typedef struct
4216 unsigned : 1;
4217 unsigned : 1;
4218 unsigned : 1;
4219 unsigned : 1;
4220 unsigned IOCBN4 : 1;
4221 unsigned IOCBN5 : 1;
4222 unsigned IOCBN6 : 1;
4223 unsigned IOCBN7 : 1;
4224 } __IOCBNbits_t;
4226 extern __at(0x0395) volatile __IOCBNbits_t IOCBNbits;
4228 #define _IOCBN4 0x10
4229 #define _IOCBN5 0x20
4230 #define _IOCBN6 0x40
4231 #define _IOCBN7 0x80
4233 //==============================================================================
4236 //==============================================================================
4237 // IOCBF Bits
4239 extern __at(0x0396) __sfr IOCBF;
4241 typedef struct
4243 unsigned : 1;
4244 unsigned : 1;
4245 unsigned : 1;
4246 unsigned : 1;
4247 unsigned IOCBF4 : 1;
4248 unsigned IOCBF5 : 1;
4249 unsigned IOCBF6 : 1;
4250 unsigned IOCBF7 : 1;
4251 } __IOCBFbits_t;
4253 extern __at(0x0396) volatile __IOCBFbits_t IOCBFbits;
4255 #define _IOCBF4 0x10
4256 #define _IOCBF5 0x20
4257 #define _IOCBF6 0x40
4258 #define _IOCBF7 0x80
4260 //==============================================================================
4263 //==============================================================================
4264 // IOCCP Bits
4266 extern __at(0x0397) __sfr IOCCP;
4268 typedef struct
4270 unsigned IOCCP0 : 1;
4271 unsigned IOCCP1 : 1;
4272 unsigned IOCCP2 : 1;
4273 unsigned IOCCP3 : 1;
4274 unsigned IOCCP4 : 1;
4275 unsigned IOCCP5 : 1;
4276 unsigned IOCCP6 : 1;
4277 unsigned IOCCP7 : 1;
4278 } __IOCCPbits_t;
4280 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits;
4282 #define _IOCCP0 0x01
4283 #define _IOCCP1 0x02
4284 #define _IOCCP2 0x04
4285 #define _IOCCP3 0x08
4286 #define _IOCCP4 0x10
4287 #define _IOCCP5 0x20
4288 #define _IOCCP6 0x40
4289 #define _IOCCP7 0x80
4291 //==============================================================================
4294 //==============================================================================
4295 // IOCCN Bits
4297 extern __at(0x0398) __sfr IOCCN;
4299 typedef struct
4301 unsigned IOCCN0 : 1;
4302 unsigned IOCCN1 : 1;
4303 unsigned IOCCN2 : 1;
4304 unsigned IOCCN3 : 1;
4305 unsigned IOCCN4 : 1;
4306 unsigned IOCCN5 : 1;
4307 unsigned IOCCN6 : 1;
4308 unsigned IOCCN7 : 1;
4309 } __IOCCNbits_t;
4311 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits;
4313 #define _IOCCN0 0x01
4314 #define _IOCCN1 0x02
4315 #define _IOCCN2 0x04
4316 #define _IOCCN3 0x08
4317 #define _IOCCN4 0x10
4318 #define _IOCCN5 0x20
4319 #define _IOCCN6 0x40
4320 #define _IOCCN7 0x80
4322 //==============================================================================
4325 //==============================================================================
4326 // IOCCF Bits
4328 extern __at(0x0399) __sfr IOCCF;
4330 typedef struct
4332 unsigned IOCCF0 : 1;
4333 unsigned IOCCF1 : 1;
4334 unsigned IOCCF2 : 1;
4335 unsigned IOCCF3 : 1;
4336 unsigned IOCCF4 : 1;
4337 unsigned IOCCF5 : 1;
4338 unsigned IOCCF6 : 1;
4339 unsigned IOCCF7 : 1;
4340 } __IOCCFbits_t;
4342 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits;
4344 #define _IOCCF0 0x01
4345 #define _IOCCF1 0x02
4346 #define _IOCCF2 0x04
4347 #define _IOCCF3 0x08
4348 #define _IOCCF4 0x10
4349 #define _IOCCF5 0x20
4350 #define _IOCCF6 0x40
4351 #define _IOCCF7 0x80
4353 //==============================================================================
4356 //==============================================================================
4357 // HDRVC Bits
4359 extern __at(0x040E) __sfr HDRVC;
4361 typedef struct
4363 unsigned : 1;
4364 unsigned : 1;
4365 unsigned : 1;
4366 unsigned : 1;
4367 unsigned HIDC4 : 1;
4368 unsigned HIDC5 : 1;
4369 unsigned : 1;
4370 unsigned : 1;
4371 } __HDRVCbits_t;
4373 extern __at(0x040E) volatile __HDRVCbits_t HDRVCbits;
4375 #define _HIDC4 0x10
4376 #define _HIDC5 0x20
4378 //==============================================================================
4380 extern __at(0x0413) __sfr T4TMR;
4381 extern __at(0x0413) __sfr TMR4;
4382 extern __at(0x0414) __sfr PR4;
4383 extern __at(0x0414) __sfr T4PR;
4385 //==============================================================================
4386 // T4CON Bits
4388 extern __at(0x0415) __sfr T4CON;
4390 typedef union
4392 struct
4394 unsigned OUTPS0 : 1;
4395 unsigned OUTPS1 : 1;
4396 unsigned OUTPS2 : 1;
4397 unsigned OUTPS3 : 1;
4398 unsigned CKPS0 : 1;
4399 unsigned CKPS1 : 1;
4400 unsigned CKPS2 : 1;
4401 unsigned ON : 1;
4404 struct
4406 unsigned T4OUTPS0 : 1;
4407 unsigned T4OUTPS1 : 1;
4408 unsigned T4OUTPS2 : 1;
4409 unsigned T4OUTPS3 : 1;
4410 unsigned T4CKPS0 : 1;
4411 unsigned T4CKPS1 : 1;
4412 unsigned T4CKPS2 : 1;
4413 unsigned T4ON : 1;
4416 struct
4418 unsigned : 1;
4419 unsigned : 1;
4420 unsigned : 1;
4421 unsigned : 1;
4422 unsigned : 1;
4423 unsigned : 1;
4424 unsigned : 1;
4425 unsigned TMR4ON : 1;
4428 struct
4430 unsigned T4OUTPS : 4;
4431 unsigned : 4;
4434 struct
4436 unsigned OUTPS : 4;
4437 unsigned : 4;
4440 struct
4442 unsigned : 4;
4443 unsigned CKPS : 3;
4444 unsigned : 1;
4447 struct
4449 unsigned : 4;
4450 unsigned T4CKPS : 3;
4451 unsigned : 1;
4453 } __T4CONbits_t;
4455 extern __at(0x0415) volatile __T4CONbits_t T4CONbits;
4457 #define _T4CON_OUTPS0 0x01
4458 #define _T4CON_T4OUTPS0 0x01
4459 #define _T4CON_OUTPS1 0x02
4460 #define _T4CON_T4OUTPS1 0x02
4461 #define _T4CON_OUTPS2 0x04
4462 #define _T4CON_T4OUTPS2 0x04
4463 #define _T4CON_OUTPS3 0x08
4464 #define _T4CON_T4OUTPS3 0x08
4465 #define _T4CON_CKPS0 0x10
4466 #define _T4CON_T4CKPS0 0x10
4467 #define _T4CON_CKPS1 0x20
4468 #define _T4CON_T4CKPS1 0x20
4469 #define _T4CON_CKPS2 0x40
4470 #define _T4CON_T4CKPS2 0x40
4471 #define _T4CON_ON 0x80
4472 #define _T4CON_T4ON 0x80
4473 #define _T4CON_TMR4ON 0x80
4475 //==============================================================================
4478 //==============================================================================
4479 // T4HLT Bits
4481 extern __at(0x0416) __sfr T4HLT;
4483 typedef union
4485 struct
4487 unsigned MODE0 : 1;
4488 unsigned MODE1 : 1;
4489 unsigned MODE2 : 1;
4490 unsigned MODE3 : 1;
4491 unsigned MODE4 : 1;
4492 unsigned CKSYNC : 1;
4493 unsigned CKPOL : 1;
4494 unsigned PSYNC : 1;
4497 struct
4499 unsigned T4MODE0 : 1;
4500 unsigned T4MODE1 : 1;
4501 unsigned T4MODE2 : 1;
4502 unsigned T4MODE3 : 1;
4503 unsigned T4MODE4 : 1;
4504 unsigned T4CKSYNC : 1;
4505 unsigned T4CKPOL : 1;
4506 unsigned T4PSYNC : 1;
4509 struct
4511 unsigned T4MODE : 5;
4512 unsigned : 3;
4515 struct
4517 unsigned MODE : 5;
4518 unsigned : 3;
4520 } __T4HLTbits_t;
4522 extern __at(0x0416) volatile __T4HLTbits_t T4HLTbits;
4524 #define _T4HLT_MODE0 0x01
4525 #define _T4HLT_T4MODE0 0x01
4526 #define _T4HLT_MODE1 0x02
4527 #define _T4HLT_T4MODE1 0x02
4528 #define _T4HLT_MODE2 0x04
4529 #define _T4HLT_T4MODE2 0x04
4530 #define _T4HLT_MODE3 0x08
4531 #define _T4HLT_T4MODE3 0x08
4532 #define _T4HLT_MODE4 0x10
4533 #define _T4HLT_T4MODE4 0x10
4534 #define _T4HLT_CKSYNC 0x20
4535 #define _T4HLT_T4CKSYNC 0x20
4536 #define _T4HLT_CKPOL 0x40
4537 #define _T4HLT_T4CKPOL 0x40
4538 #define _T4HLT_PSYNC 0x80
4539 #define _T4HLT_T4PSYNC 0x80
4541 //==============================================================================
4544 //==============================================================================
4545 // T4CLKCON Bits
4547 extern __at(0x0417) __sfr T4CLKCON;
4549 typedef union
4551 struct
4553 unsigned CS0 : 1;
4554 unsigned CS1 : 1;
4555 unsigned CS2 : 1;
4556 unsigned CS3 : 1;
4557 unsigned : 1;
4558 unsigned : 1;
4559 unsigned : 1;
4560 unsigned : 1;
4563 struct
4565 unsigned T4CS0 : 1;
4566 unsigned T4CS1 : 1;
4567 unsigned T4CS2 : 1;
4568 unsigned T4CS3 : 1;
4569 unsigned : 1;
4570 unsigned : 1;
4571 unsigned : 1;
4572 unsigned : 1;
4575 struct
4577 unsigned CS : 4;
4578 unsigned : 4;
4581 struct
4583 unsigned T4CS : 4;
4584 unsigned : 4;
4586 } __T4CLKCONbits_t;
4588 extern __at(0x0417) volatile __T4CLKCONbits_t T4CLKCONbits;
4590 #define _T4CLKCON_CS0 0x01
4591 #define _T4CLKCON_T4CS0 0x01
4592 #define _T4CLKCON_CS1 0x02
4593 #define _T4CLKCON_T4CS1 0x02
4594 #define _T4CLKCON_CS2 0x04
4595 #define _T4CLKCON_T4CS2 0x04
4596 #define _T4CLKCON_CS3 0x08
4597 #define _T4CLKCON_T4CS3 0x08
4599 //==============================================================================
4602 //==============================================================================
4603 // T4RST Bits
4605 extern __at(0x0418) __sfr T4RST;
4607 typedef union
4609 struct
4611 unsigned RSEL0 : 1;
4612 unsigned RSEL1 : 1;
4613 unsigned RSEL2 : 1;
4614 unsigned RSEL3 : 1;
4615 unsigned : 1;
4616 unsigned : 1;
4617 unsigned : 1;
4618 unsigned : 1;
4621 struct
4623 unsigned T4RSEL0 : 1;
4624 unsigned T4RSEL1 : 1;
4625 unsigned T4RSEL2 : 1;
4626 unsigned T4RSEL3 : 1;
4627 unsigned : 1;
4628 unsigned : 1;
4629 unsigned : 1;
4630 unsigned : 1;
4633 struct
4635 unsigned RSEL : 4;
4636 unsigned : 4;
4639 struct
4641 unsigned T4RSEL : 4;
4642 unsigned : 4;
4644 } __T4RSTbits_t;
4646 extern __at(0x0418) volatile __T4RSTbits_t T4RSTbits;
4648 #define _T4RST_RSEL0 0x01
4649 #define _T4RST_T4RSEL0 0x01
4650 #define _T4RST_RSEL1 0x02
4651 #define _T4RST_T4RSEL1 0x02
4652 #define _T4RST_RSEL2 0x04
4653 #define _T4RST_T4RSEL2 0x04
4654 #define _T4RST_RSEL3 0x08
4655 #define _T4RST_T4RSEL3 0x08
4657 //==============================================================================
4659 extern __at(0x041A) __sfr T6TMR;
4660 extern __at(0x041A) __sfr TMR6;
4661 extern __at(0x041B) __sfr PR6;
4662 extern __at(0x041B) __sfr T6PR;
4664 //==============================================================================
4665 // T6CON Bits
4667 extern __at(0x041C) __sfr T6CON;
4669 typedef union
4671 struct
4673 unsigned OUTPS0 : 1;
4674 unsigned OUTPS1 : 1;
4675 unsigned OUTPS2 : 1;
4676 unsigned OUTPS3 : 1;
4677 unsigned CKPS0 : 1;
4678 unsigned CKPS1 : 1;
4679 unsigned CKPS2 : 1;
4680 unsigned ON : 1;
4683 struct
4685 unsigned T6OUTPS0 : 1;
4686 unsigned T6OUTPS1 : 1;
4687 unsigned T6OUTPS2 : 1;
4688 unsigned T6OUTPS3 : 1;
4689 unsigned T6CKPS0 : 1;
4690 unsigned T6CKPS1 : 1;
4691 unsigned T6CKPS2 : 1;
4692 unsigned T6ON : 1;
4695 struct
4697 unsigned : 1;
4698 unsigned : 1;
4699 unsigned : 1;
4700 unsigned : 1;
4701 unsigned : 1;
4702 unsigned : 1;
4703 unsigned : 1;
4704 unsigned TMR6ON : 1;
4707 struct
4709 unsigned T6OUTPS : 4;
4710 unsigned : 4;
4713 struct
4715 unsigned OUTPS : 4;
4716 unsigned : 4;
4719 struct
4721 unsigned : 4;
4722 unsigned CKPS : 3;
4723 unsigned : 1;
4726 struct
4728 unsigned : 4;
4729 unsigned T6CKPS : 3;
4730 unsigned : 1;
4732 } __T6CONbits_t;
4734 extern __at(0x041C) volatile __T6CONbits_t T6CONbits;
4736 #define _T6CON_OUTPS0 0x01
4737 #define _T6CON_T6OUTPS0 0x01
4738 #define _T6CON_OUTPS1 0x02
4739 #define _T6CON_T6OUTPS1 0x02
4740 #define _T6CON_OUTPS2 0x04
4741 #define _T6CON_T6OUTPS2 0x04
4742 #define _T6CON_OUTPS3 0x08
4743 #define _T6CON_T6OUTPS3 0x08
4744 #define _T6CON_CKPS0 0x10
4745 #define _T6CON_T6CKPS0 0x10
4746 #define _T6CON_CKPS1 0x20
4747 #define _T6CON_T6CKPS1 0x20
4748 #define _T6CON_CKPS2 0x40
4749 #define _T6CON_T6CKPS2 0x40
4750 #define _T6CON_ON 0x80
4751 #define _T6CON_T6ON 0x80
4752 #define _T6CON_TMR6ON 0x80
4754 //==============================================================================
4757 //==============================================================================
4758 // T6HLT Bits
4760 extern __at(0x041D) __sfr T6HLT;
4762 typedef union
4764 struct
4766 unsigned MODE0 : 1;
4767 unsigned MODE1 : 1;
4768 unsigned MODE2 : 1;
4769 unsigned MODE3 : 1;
4770 unsigned MODE4 : 1;
4771 unsigned CKSYNC : 1;
4772 unsigned CKPOL : 1;
4773 unsigned PSYNC : 1;
4776 struct
4778 unsigned T6MODE0 : 1;
4779 unsigned T6MODE1 : 1;
4780 unsigned T6MODE2 : 1;
4781 unsigned T6MODE3 : 1;
4782 unsigned T6MODE4 : 1;
4783 unsigned T6CKSYNC : 1;
4784 unsigned T6CKPOL : 1;
4785 unsigned T6PSYNC : 1;
4788 struct
4790 unsigned T6MODE : 5;
4791 unsigned : 3;
4794 struct
4796 unsigned MODE : 5;
4797 unsigned : 3;
4799 } __T6HLTbits_t;
4801 extern __at(0x041D) volatile __T6HLTbits_t T6HLTbits;
4803 #define _T6HLT_MODE0 0x01
4804 #define _T6HLT_T6MODE0 0x01
4805 #define _T6HLT_MODE1 0x02
4806 #define _T6HLT_T6MODE1 0x02
4807 #define _T6HLT_MODE2 0x04
4808 #define _T6HLT_T6MODE2 0x04
4809 #define _T6HLT_MODE3 0x08
4810 #define _T6HLT_T6MODE3 0x08
4811 #define _T6HLT_MODE4 0x10
4812 #define _T6HLT_T6MODE4 0x10
4813 #define _T6HLT_CKSYNC 0x20
4814 #define _T6HLT_T6CKSYNC 0x20
4815 #define _T6HLT_CKPOL 0x40
4816 #define _T6HLT_T6CKPOL 0x40
4817 #define _T6HLT_PSYNC 0x80
4818 #define _T6HLT_T6PSYNC 0x80
4820 //==============================================================================
4823 //==============================================================================
4824 // T6CLKCON Bits
4826 extern __at(0x041E) __sfr T6CLKCON;
4828 typedef union
4830 struct
4832 unsigned CS0 : 1;
4833 unsigned CS1 : 1;
4834 unsigned CS2 : 1;
4835 unsigned CS3 : 1;
4836 unsigned : 1;
4837 unsigned : 1;
4838 unsigned : 1;
4839 unsigned : 1;
4842 struct
4844 unsigned T6CS0 : 1;
4845 unsigned T6CS1 : 1;
4846 unsigned T6CS2 : 1;
4847 unsigned T6CS3 : 1;
4848 unsigned : 1;
4849 unsigned : 1;
4850 unsigned : 1;
4851 unsigned : 1;
4854 struct
4856 unsigned CS : 4;
4857 unsigned : 4;
4860 struct
4862 unsigned T6CS : 4;
4863 unsigned : 4;
4865 } __T6CLKCONbits_t;
4867 extern __at(0x041E) volatile __T6CLKCONbits_t T6CLKCONbits;
4869 #define _T6CLKCON_CS0 0x01
4870 #define _T6CLKCON_T6CS0 0x01
4871 #define _T6CLKCON_CS1 0x02
4872 #define _T6CLKCON_T6CS1 0x02
4873 #define _T6CLKCON_CS2 0x04
4874 #define _T6CLKCON_T6CS2 0x04
4875 #define _T6CLKCON_CS3 0x08
4876 #define _T6CLKCON_T6CS3 0x08
4878 //==============================================================================
4881 //==============================================================================
4882 // T6RST Bits
4884 extern __at(0x041F) __sfr T6RST;
4886 typedef union
4888 struct
4890 unsigned RSEL0 : 1;
4891 unsigned RSEL1 : 1;
4892 unsigned RSEL2 : 1;
4893 unsigned RSEL3 : 1;
4894 unsigned : 1;
4895 unsigned : 1;
4896 unsigned : 1;
4897 unsigned : 1;
4900 struct
4902 unsigned T6RSEL0 : 1;
4903 unsigned T6RSEL1 : 1;
4904 unsigned T6RSEL2 : 1;
4905 unsigned T6RSEL3 : 1;
4906 unsigned : 1;
4907 unsigned : 1;
4908 unsigned : 1;
4909 unsigned : 1;
4912 struct
4914 unsigned RSEL : 4;
4915 unsigned : 4;
4918 struct
4920 unsigned T6RSEL : 4;
4921 unsigned : 4;
4923 } __T6RSTbits_t;
4925 extern __at(0x041F) volatile __T6RSTbits_t T6RSTbits;
4927 #define _T6RST_RSEL0 0x01
4928 #define _T6RST_T6RSEL0 0x01
4929 #define _T6RST_RSEL1 0x02
4930 #define _T6RST_T6RSEL1 0x02
4931 #define _T6RST_RSEL2 0x04
4932 #define _T6RST_T6RSEL2 0x04
4933 #define _T6RST_RSEL3 0x08
4934 #define _T6RST_T6RSEL3 0x08
4936 //==============================================================================
4938 extern __at(0x0493) __sfr TMR3;
4939 extern __at(0x0493) __sfr TMR3L;
4940 extern __at(0x0494) __sfr TMR3H;
4942 //==============================================================================
4943 // T3CON Bits
4945 extern __at(0x0495) __sfr T3CON;
4947 typedef union
4949 struct
4951 unsigned TMR3ON : 1;
4952 unsigned : 1;
4953 unsigned T3SYNC : 1;
4954 unsigned : 1;
4955 unsigned T3CKPS0 : 1;
4956 unsigned T3CKPS1 : 1;
4957 unsigned TMR3CS0 : 1;
4958 unsigned TMR3CS1 : 1;
4961 struct
4963 unsigned : 4;
4964 unsigned T3CKPS : 2;
4965 unsigned : 2;
4968 struct
4970 unsigned : 6;
4971 unsigned TMR3CS : 2;
4973 } __T3CONbits_t;
4975 extern __at(0x0495) volatile __T3CONbits_t T3CONbits;
4977 #define _TMR3ON 0x01
4978 #define _T3SYNC 0x04
4979 #define _T3CKPS0 0x10
4980 #define _T3CKPS1 0x20
4981 #define _TMR3CS0 0x40
4982 #define _TMR3CS1 0x80
4984 //==============================================================================
4987 //==============================================================================
4988 // T3GCON Bits
4990 extern __at(0x0496) __sfr T3GCON;
4992 typedef union
4994 struct
4996 unsigned T3GSS0 : 1;
4997 unsigned T3GSS1 : 1;
4998 unsigned T3GVAL : 1;
4999 unsigned T3GGO_NOT_DONE : 1;
5000 unsigned T3GSPM : 1;
5001 unsigned T3GTM : 1;
5002 unsigned T3GPOL : 1;
5003 unsigned TMR3GE : 1;
5006 struct
5008 unsigned T3GSS : 2;
5009 unsigned : 6;
5011 } __T3GCONbits_t;
5013 extern __at(0x0496) volatile __T3GCONbits_t T3GCONbits;
5015 #define _T3GSS0 0x01
5016 #define _T3GSS1 0x02
5017 #define _T3GVAL 0x04
5018 #define _T3GGO_NOT_DONE 0x08
5019 #define _T3GSPM 0x10
5020 #define _T3GTM 0x20
5021 #define _T3GPOL 0x40
5022 #define _TMR3GE 0x80
5024 //==============================================================================
5026 extern __at(0x049A) __sfr TMR5L;
5027 extern __at(0x049B) __sfr TMR5H;
5029 //==============================================================================
5030 // T5CON Bits
5032 extern __at(0x049C) __sfr T5CON;
5034 typedef union
5036 struct
5038 unsigned TMR5ON : 1;
5039 unsigned : 1;
5040 unsigned T5SYNC : 1;
5041 unsigned : 1;
5042 unsigned T5CKPS0 : 1;
5043 unsigned T5CKPS1 : 1;
5044 unsigned TMR5CS0 : 1;
5045 unsigned TMR5CS1 : 1;
5048 struct
5050 unsigned : 4;
5051 unsigned T5CKPS : 2;
5052 unsigned : 2;
5055 struct
5057 unsigned : 6;
5058 unsigned TMR5CS : 2;
5060 } __T5CONbits_t;
5062 extern __at(0x049C) volatile __T5CONbits_t T5CONbits;
5064 #define _TMR5ON 0x01
5065 #define _T5SYNC 0x04
5066 #define _T5CKPS0 0x10
5067 #define _T5CKPS1 0x20
5068 #define _TMR5CS0 0x40
5069 #define _TMR5CS1 0x80
5071 //==============================================================================
5074 //==============================================================================
5075 // T5GCON Bits
5077 extern __at(0x049D) __sfr T5GCON;
5079 typedef union
5081 struct
5083 unsigned T5GSS0 : 1;
5084 unsigned T5GSS1 : 1;
5085 unsigned T5GVAL : 1;
5086 unsigned T5GGO_NOT_DONE : 1;
5087 unsigned T5GSPM : 1;
5088 unsigned T5GTM : 1;
5089 unsigned T5GPOL : 1;
5090 unsigned TMR5GE : 1;
5093 struct
5095 unsigned T5GSS : 2;
5096 unsigned : 6;
5098 } __T5GCONbits_t;
5100 extern __at(0x049D) volatile __T5GCONbits_t T5GCONbits;
5102 #define _T5GSS0 0x01
5103 #define _T5GSS1 0x02
5104 #define _T5GVAL 0x04
5105 #define _T5GGO_NOT_DONE 0x08
5106 #define _T5GSPM 0x10
5107 #define _T5GTM 0x20
5108 #define _T5GPOL 0x40
5109 #define _TMR5GE 0x80
5111 //==============================================================================
5113 extern __at(0x058C) __sfr PID1SET;
5115 //==============================================================================
5116 // PID1SETL Bits
5118 extern __at(0x058C) __sfr PID1SETL;
5120 typedef union
5122 struct
5124 unsigned PID1SET0 : 1;
5125 unsigned PID1SET1 : 1;
5126 unsigned PID1SET2 : 1;
5127 unsigned PID1SET3 : 1;
5128 unsigned PID1SET4 : 1;
5129 unsigned PID1SET5 : 1;
5130 unsigned PID1SET6 : 1;
5131 unsigned PID1SET7 : 1;
5134 struct
5136 unsigned SET0 : 1;
5137 unsigned SET1 : 1;
5138 unsigned SET2 : 1;
5139 unsigned SET3 : 1;
5140 unsigned SET4 : 1;
5141 unsigned SET5 : 1;
5142 unsigned SET6 : 1;
5143 unsigned SET7 : 1;
5145 } __PID1SETLbits_t;
5147 extern __at(0x058C) volatile __PID1SETLbits_t PID1SETLbits;
5149 #define _PID1SET0 0x01
5150 #define _SET0 0x01
5151 #define _PID1SET1 0x02
5152 #define _SET1 0x02
5153 #define _PID1SET2 0x04
5154 #define _SET2 0x04
5155 #define _PID1SET3 0x08
5156 #define _SET3 0x08
5157 #define _PID1SET4 0x10
5158 #define _SET4 0x10
5159 #define _PID1SET5 0x20
5160 #define _SET5 0x20
5161 #define _PID1SET6 0x40
5162 #define _SET6 0x40
5163 #define _PID1SET7 0x80
5164 #define _SET7 0x80
5166 //==============================================================================
5169 //==============================================================================
5170 // PID1SETH Bits
5172 extern __at(0x058D) __sfr PID1SETH;
5174 typedef union
5176 struct
5178 unsigned PID1SET8 : 1;
5179 unsigned PID1SET9 : 1;
5180 unsigned PID1SET10 : 1;
5181 unsigned PID1SET11 : 1;
5182 unsigned PID1SET12 : 1;
5183 unsigned PID1SET13 : 1;
5184 unsigned PID1SET14 : 1;
5185 unsigned PID1SET15 : 1;
5188 struct
5190 unsigned SET8 : 1;
5191 unsigned SET9 : 1;
5192 unsigned SET10 : 1;
5193 unsigned SET11 : 1;
5194 unsigned SET12 : 1;
5195 unsigned SET13 : 1;
5196 unsigned SET14 : 1;
5197 unsigned SET15 : 1;
5199 } __PID1SETHbits_t;
5201 extern __at(0x058D) volatile __PID1SETHbits_t PID1SETHbits;
5203 #define _PID1SET8 0x01
5204 #define _SET8 0x01
5205 #define _PID1SET9 0x02
5206 #define _SET9 0x02
5207 #define _PID1SET10 0x04
5208 #define _SET10 0x04
5209 #define _PID1SET11 0x08
5210 #define _SET11 0x08
5211 #define _PID1SET12 0x10
5212 #define _SET12 0x10
5213 #define _PID1SET13 0x20
5214 #define _SET13 0x20
5215 #define _PID1SET14 0x40
5216 #define _SET14 0x40
5217 #define _PID1SET15 0x80
5218 #define _SET15 0x80
5220 //==============================================================================
5222 extern __at(0x058E) __sfr PID1IN;
5224 //==============================================================================
5225 // PID1INL Bits
5227 extern __at(0x058E) __sfr PID1INL;
5229 typedef union
5231 struct
5233 unsigned PID1IN0 : 1;
5234 unsigned PID1IN1 : 1;
5235 unsigned PID1IN2 : 1;
5236 unsigned PID1IN3 : 1;
5237 unsigned PID1IN4 : 1;
5238 unsigned PID1IN5 : 1;
5239 unsigned PID1IN6 : 1;
5240 unsigned PID1IN7 : 1;
5243 struct
5245 unsigned IN0 : 1;
5246 unsigned IN1 : 1;
5247 unsigned IN2 : 1;
5248 unsigned IN3 : 1;
5249 unsigned IN4 : 1;
5250 unsigned IN5 : 1;
5251 unsigned IN6 : 1;
5252 unsigned IN7 : 1;
5254 } __PID1INLbits_t;
5256 extern __at(0x058E) volatile __PID1INLbits_t PID1INLbits;
5258 #define _PID1IN0 0x01
5259 #define _IN0 0x01
5260 #define _PID1IN1 0x02
5261 #define _IN1 0x02
5262 #define _PID1IN2 0x04
5263 #define _IN2 0x04
5264 #define _PID1IN3 0x08
5265 #define _IN3 0x08
5266 #define _PID1IN4 0x10
5267 #define _IN4 0x10
5268 #define _PID1IN5 0x20
5269 #define _IN5 0x20
5270 #define _PID1IN6 0x40
5271 #define _IN6 0x40
5272 #define _PID1IN7 0x80
5273 #define _IN7 0x80
5275 //==============================================================================
5278 //==============================================================================
5279 // PID1INH Bits
5281 extern __at(0x058F) __sfr PID1INH;
5283 typedef union
5285 struct
5287 unsigned PID1IN8 : 1;
5288 unsigned PID1IN9 : 1;
5289 unsigned PID1IN10 : 1;
5290 unsigned PID1IN11 : 1;
5291 unsigned PID1IN12 : 1;
5292 unsigned PID1IN13 : 1;
5293 unsigned PID1IN14 : 1;
5294 unsigned PID1IN15 : 1;
5297 struct
5299 unsigned IN8 : 1;
5300 unsigned IN9 : 1;
5301 unsigned IN10 : 1;
5302 unsigned IN11 : 1;
5303 unsigned IN12 : 1;
5304 unsigned IN13 : 1;
5305 unsigned IN14 : 1;
5306 unsigned IN15 : 1;
5308 } __PID1INHbits_t;
5310 extern __at(0x058F) volatile __PID1INHbits_t PID1INHbits;
5312 #define _PID1IN8 0x01
5313 #define _IN8 0x01
5314 #define _PID1IN9 0x02
5315 #define _IN9 0x02
5316 #define _PID1IN10 0x04
5317 #define _IN10 0x04
5318 #define _PID1IN11 0x08
5319 #define _IN11 0x08
5320 #define _PID1IN12 0x10
5321 #define _IN12 0x10
5322 #define _PID1IN13 0x20
5323 #define _IN13 0x20
5324 #define _PID1IN14 0x40
5325 #define _IN14 0x40
5326 #define _PID1IN15 0x80
5327 #define _IN15 0x80
5329 //==============================================================================
5331 extern __at(0x0590) __sfr PID1K1;
5333 //==============================================================================
5334 // PID1K1L Bits
5336 extern __at(0x0590) __sfr PID1K1L;
5338 typedef union
5340 struct
5342 unsigned PID1K10 : 1;
5343 unsigned PID1K11 : 1;
5344 unsigned PID1K12 : 1;
5345 unsigned PID1K13 : 1;
5346 unsigned PID1K14 : 1;
5347 unsigned PID1K15 : 1;
5348 unsigned PID1K16 : 1;
5349 unsigned PID1K17 : 1;
5352 struct
5354 unsigned K10 : 1;
5355 unsigned K11 : 1;
5356 unsigned K12 : 1;
5357 unsigned K13 : 1;
5358 unsigned K14 : 1;
5359 unsigned K15 : 1;
5360 unsigned K16 : 1;
5361 unsigned K17 : 1;
5363 } __PID1K1Lbits_t;
5365 extern __at(0x0590) volatile __PID1K1Lbits_t PID1K1Lbits;
5367 #define _PID1K10 0x01
5368 #define _K10 0x01
5369 #define _PID1K11 0x02
5370 #define _K11 0x02
5371 #define _PID1K12 0x04
5372 #define _K12 0x04
5373 #define _PID1K13 0x08
5374 #define _K13 0x08
5375 #define _PID1K14 0x10
5376 #define _K14 0x10
5377 #define _PID1K15 0x20
5378 #define _K15 0x20
5379 #define _PID1K16 0x40
5380 #define _K16 0x40
5381 #define _PID1K17 0x80
5382 #define _K17 0x80
5384 //==============================================================================
5387 //==============================================================================
5388 // PID1K1H Bits
5390 extern __at(0x0591) __sfr PID1K1H;
5392 typedef union
5394 struct
5396 unsigned PID1K18 : 1;
5397 unsigned PID1K19 : 1;
5398 unsigned PID1K110 : 1;
5399 unsigned PID1K111 : 1;
5400 unsigned PID1K112 : 1;
5401 unsigned PID1K113 : 1;
5402 unsigned PID1K114 : 1;
5403 unsigned PID1K115 : 1;
5406 struct
5408 unsigned K18 : 1;
5409 unsigned K19 : 1;
5410 unsigned K110 : 1;
5411 unsigned K111 : 1;
5412 unsigned K112 : 1;
5413 unsigned K113 : 1;
5414 unsigned K114 : 1;
5415 unsigned K115 : 1;
5417 } __PID1K1Hbits_t;
5419 extern __at(0x0591) volatile __PID1K1Hbits_t PID1K1Hbits;
5421 #define _PID1K18 0x01
5422 #define _K18 0x01
5423 #define _PID1K19 0x02
5424 #define _K19 0x02
5425 #define _PID1K110 0x04
5426 #define _K110 0x04
5427 #define _PID1K111 0x08
5428 #define _K111 0x08
5429 #define _PID1K112 0x10
5430 #define _K112 0x10
5431 #define _PID1K113 0x20
5432 #define _K113 0x20
5433 #define _PID1K114 0x40
5434 #define _K114 0x40
5435 #define _PID1K115 0x80
5436 #define _K115 0x80
5438 //==============================================================================
5440 extern __at(0x0592) __sfr PID1K2;
5442 //==============================================================================
5443 // PID1K2L Bits
5445 extern __at(0x0592) __sfr PID1K2L;
5447 typedef union
5449 struct
5451 unsigned PID1K20 : 1;
5452 unsigned PID1K21 : 1;
5453 unsigned PID1K22 : 1;
5454 unsigned PID1K23 : 1;
5455 unsigned PID1K24 : 1;
5456 unsigned PID1K25 : 1;
5457 unsigned PID1K26 : 1;
5458 unsigned PID1K27 : 1;
5461 struct
5463 unsigned K20 : 1;
5464 unsigned K21 : 1;
5465 unsigned K22 : 1;
5466 unsigned K23 : 1;
5467 unsigned K24 : 1;
5468 unsigned K25 : 1;
5469 unsigned K26 : 1;
5470 unsigned K27 : 1;
5472 } __PID1K2Lbits_t;
5474 extern __at(0x0592) volatile __PID1K2Lbits_t PID1K2Lbits;
5476 #define _PID1K20 0x01
5477 #define _K20 0x01
5478 #define _PID1K21 0x02
5479 #define _K21 0x02
5480 #define _PID1K22 0x04
5481 #define _K22 0x04
5482 #define _PID1K23 0x08
5483 #define _K23 0x08
5484 #define _PID1K24 0x10
5485 #define _K24 0x10
5486 #define _PID1K25 0x20
5487 #define _K25 0x20
5488 #define _PID1K26 0x40
5489 #define _K26 0x40
5490 #define _PID1K27 0x80
5491 #define _K27 0x80
5493 //==============================================================================
5496 //==============================================================================
5497 // PID1K2H Bits
5499 extern __at(0x0593) __sfr PID1K2H;
5501 typedef union
5503 struct
5505 unsigned PID1K28 : 1;
5506 unsigned PID1K29 : 1;
5507 unsigned PID1K210 : 1;
5508 unsigned PID1K211 : 1;
5509 unsigned PID1K212 : 1;
5510 unsigned PID1K213 : 1;
5511 unsigned PID1K214 : 1;
5512 unsigned PID1K215 : 1;
5515 struct
5517 unsigned K28 : 1;
5518 unsigned K29 : 1;
5519 unsigned K210 : 1;
5520 unsigned K211 : 1;
5521 unsigned K212 : 1;
5522 unsigned K213 : 1;
5523 unsigned K214 : 1;
5524 unsigned K215 : 1;
5526 } __PID1K2Hbits_t;
5528 extern __at(0x0593) volatile __PID1K2Hbits_t PID1K2Hbits;
5530 #define _PID1K28 0x01
5531 #define _K28 0x01
5532 #define _PID1K29 0x02
5533 #define _K29 0x02
5534 #define _PID1K210 0x04
5535 #define _K210 0x04
5536 #define _PID1K211 0x08
5537 #define _K211 0x08
5538 #define _PID1K212 0x10
5539 #define _K212 0x10
5540 #define _PID1K213 0x20
5541 #define _K213 0x20
5542 #define _PID1K214 0x40
5543 #define _K214 0x40
5544 #define _PID1K215 0x80
5545 #define _K215 0x80
5547 //==============================================================================
5549 extern __at(0x0594) __sfr PID1K3;
5551 //==============================================================================
5552 // PID1K3L Bits
5554 extern __at(0x0594) __sfr PID1K3L;
5556 typedef union
5558 struct
5560 unsigned PID1K30 : 1;
5561 unsigned PID1K31 : 1;
5562 unsigned PID1K32 : 1;
5563 unsigned PID1K33 : 1;
5564 unsigned PID1K34 : 1;
5565 unsigned PID1K35 : 1;
5566 unsigned PID1K36 : 1;
5567 unsigned PID1K37 : 1;
5570 struct
5572 unsigned K30 : 1;
5573 unsigned K31 : 1;
5574 unsigned K32 : 1;
5575 unsigned K33 : 1;
5576 unsigned K34 : 1;
5577 unsigned K35 : 1;
5578 unsigned K36 : 1;
5579 unsigned K37 : 1;
5581 } __PID1K3Lbits_t;
5583 extern __at(0x0594) volatile __PID1K3Lbits_t PID1K3Lbits;
5585 #define _PID1K30 0x01
5586 #define _K30 0x01
5587 #define _PID1K31 0x02
5588 #define _K31 0x02
5589 #define _PID1K32 0x04
5590 #define _K32 0x04
5591 #define _PID1K33 0x08
5592 #define _K33 0x08
5593 #define _PID1K34 0x10
5594 #define _K34 0x10
5595 #define _PID1K35 0x20
5596 #define _K35 0x20
5597 #define _PID1K36 0x40
5598 #define _K36 0x40
5599 #define _PID1K37 0x80
5600 #define _K37 0x80
5602 //==============================================================================
5605 //==============================================================================
5606 // PID1K3H Bits
5608 extern __at(0x0595) __sfr PID1K3H;
5610 typedef union
5612 struct
5614 unsigned PID1K38 : 1;
5615 unsigned PID1K39 : 1;
5616 unsigned PID1K310 : 1;
5617 unsigned PID1K311 : 1;
5618 unsigned PID1K312 : 1;
5619 unsigned PID1K313 : 1;
5620 unsigned PID1K314 : 1;
5621 unsigned PID1K315 : 1;
5624 struct
5626 unsigned K38 : 1;
5627 unsigned K39 : 1;
5628 unsigned K310 : 1;
5629 unsigned K311 : 1;
5630 unsigned K312 : 1;
5631 unsigned K313 : 1;
5632 unsigned K314 : 1;
5633 unsigned K315 : 1;
5635 } __PID1K3Hbits_t;
5637 extern __at(0x0595) volatile __PID1K3Hbits_t PID1K3Hbits;
5639 #define _PID1K38 0x01
5640 #define _K38 0x01
5641 #define _PID1K39 0x02
5642 #define _K39 0x02
5643 #define _PID1K310 0x04
5644 #define _K310 0x04
5645 #define _PID1K311 0x08
5646 #define _K311 0x08
5647 #define _PID1K312 0x10
5648 #define _K312 0x10
5649 #define _PID1K313 0x20
5650 #define _K313 0x20
5651 #define _PID1K314 0x40
5652 #define _K314 0x40
5653 #define _PID1K315 0x80
5654 #define _K315 0x80
5656 //==============================================================================
5658 extern __at(0x0596) __sfr PID1OUT;
5660 //==============================================================================
5661 // PID1OUTLL Bits
5663 extern __at(0x0596) __sfr PID1OUTLL;
5665 typedef union
5667 struct
5669 unsigned PID1OUT0 : 1;
5670 unsigned PID1OUT1 : 1;
5671 unsigned PID1OUT2 : 1;
5672 unsigned PID1OUT3 : 1;
5673 unsigned PID1OUT4 : 1;
5674 unsigned PID1OUT5 : 1;
5675 unsigned PID1OUT6 : 1;
5676 unsigned PID1OUT7 : 1;
5679 struct
5681 unsigned OUT0 : 1;
5682 unsigned OUT1 : 1;
5683 unsigned OUT2 : 1;
5684 unsigned OUT3 : 1;
5685 unsigned OUT4 : 1;
5686 unsigned OUT5 : 1;
5687 unsigned OUT6 : 1;
5688 unsigned OUT7 : 1;
5690 } __PID1OUTLLbits_t;
5692 extern __at(0x0596) volatile __PID1OUTLLbits_t PID1OUTLLbits;
5694 #define _PID1OUT0 0x01
5695 #define _OUT0 0x01
5696 #define _PID1OUT1 0x02
5697 #define _OUT1 0x02
5698 #define _PID1OUT2 0x04
5699 #define _OUT2 0x04
5700 #define _PID1OUT3 0x08
5701 #define _OUT3 0x08
5702 #define _PID1OUT4 0x10
5703 #define _OUT4 0x10
5704 #define _PID1OUT5 0x20
5705 #define _OUT5 0x20
5706 #define _PID1OUT6 0x40
5707 #define _OUT6 0x40
5708 #define _PID1OUT7 0x80
5709 #define _OUT7 0x80
5711 //==============================================================================
5714 //==============================================================================
5715 // PID1OUTLH Bits
5717 extern __at(0x0597) __sfr PID1OUTLH;
5719 typedef union
5721 struct
5723 unsigned PID1OUT8 : 1;
5724 unsigned PID1OUT9 : 1;
5725 unsigned PID1OUT10 : 1;
5726 unsigned PID1OUT11 : 1;
5727 unsigned PID1OUT12 : 1;
5728 unsigned PID1OUT13 : 1;
5729 unsigned PID1OUT14 : 1;
5730 unsigned PID1OUT15 : 1;
5733 struct
5735 unsigned OUT8 : 1;
5736 unsigned OUT9 : 1;
5737 unsigned OUT10 : 1;
5738 unsigned OUT11 : 1;
5739 unsigned OUT12 : 1;
5740 unsigned OUT13 : 1;
5741 unsigned OUT14 : 1;
5742 unsigned OUT15 : 1;
5744 } __PID1OUTLHbits_t;
5746 extern __at(0x0597) volatile __PID1OUTLHbits_t PID1OUTLHbits;
5748 #define _PID1OUT8 0x01
5749 #define _OUT8 0x01
5750 #define _PID1OUT9 0x02
5751 #define _OUT9 0x02
5752 #define _PID1OUT10 0x04
5753 #define _OUT10 0x04
5754 #define _PID1OUT11 0x08
5755 #define _OUT11 0x08
5756 #define _PID1OUT12 0x10
5757 #define _OUT12 0x10
5758 #define _PID1OUT13 0x20
5759 #define _OUT13 0x20
5760 #define _PID1OUT14 0x40
5761 #define _OUT14 0x40
5762 #define _PID1OUT15 0x80
5763 #define _OUT15 0x80
5765 //==============================================================================
5768 //==============================================================================
5769 // PID1OUTHL Bits
5771 extern __at(0x0598) __sfr PID1OUTHL;
5773 typedef union
5775 struct
5777 unsigned PID1OUT16 : 1;
5778 unsigned PID1OUT17 : 1;
5779 unsigned PID1OUT18 : 1;
5780 unsigned PID1OUT19 : 1;
5781 unsigned PID1OUT20 : 1;
5782 unsigned PID1OUT21 : 1;
5783 unsigned PID1OUT22 : 1;
5784 unsigned PID1OUT23 : 1;
5787 struct
5789 unsigned OUT16 : 1;
5790 unsigned OUT17 : 1;
5791 unsigned OUT18 : 1;
5792 unsigned OUT19 : 1;
5793 unsigned OUT20 : 1;
5794 unsigned OUT21 : 1;
5795 unsigned OUT22 : 1;
5796 unsigned OUT23 : 1;
5798 } __PID1OUTHLbits_t;
5800 extern __at(0x0598) volatile __PID1OUTHLbits_t PID1OUTHLbits;
5802 #define _PID1OUT16 0x01
5803 #define _OUT16 0x01
5804 #define _PID1OUT17 0x02
5805 #define _OUT17 0x02
5806 #define _PID1OUT18 0x04
5807 #define _OUT18 0x04
5808 #define _PID1OUT19 0x08
5809 #define _OUT19 0x08
5810 #define _PID1OUT20 0x10
5811 #define _OUT20 0x10
5812 #define _PID1OUT21 0x20
5813 #define _OUT21 0x20
5814 #define _PID1OUT22 0x40
5815 #define _OUT22 0x40
5816 #define _PID1OUT23 0x80
5817 #define _OUT23 0x80
5819 //==============================================================================
5822 //==============================================================================
5823 // PID1OUTHH Bits
5825 extern __at(0x0599) __sfr PID1OUTHH;
5827 typedef union
5829 struct
5831 unsigned PID1OUT24 : 1;
5832 unsigned PID1OUT25 : 1;
5833 unsigned PID1OUT26 : 1;
5834 unsigned PID1OUT27 : 1;
5835 unsigned PID1OUT28 : 1;
5836 unsigned PID1OUT29 : 1;
5837 unsigned PID1OUT30 : 1;
5838 unsigned PID1OUT31 : 1;
5841 struct
5843 unsigned OUT24 : 1;
5844 unsigned OUT25 : 1;
5845 unsigned OUT26 : 1;
5846 unsigned OUT27 : 1;
5847 unsigned OUT28 : 1;
5848 unsigned OUT29 : 1;
5849 unsigned OUT30 : 1;
5850 unsigned OUT31 : 1;
5852 } __PID1OUTHHbits_t;
5854 extern __at(0x0599) volatile __PID1OUTHHbits_t PID1OUTHHbits;
5856 #define _PID1OUT24 0x01
5857 #define _OUT24 0x01
5858 #define _PID1OUT25 0x02
5859 #define _OUT25 0x02
5860 #define _PID1OUT26 0x04
5861 #define _OUT26 0x04
5862 #define _PID1OUT27 0x08
5863 #define _OUT27 0x08
5864 #define _PID1OUT28 0x10
5865 #define _OUT28 0x10
5866 #define _PID1OUT29 0x20
5867 #define _OUT29 0x20
5868 #define _PID1OUT30 0x40
5869 #define _OUT30 0x40
5870 #define _PID1OUT31 0x80
5871 #define _OUT31 0x80
5873 //==============================================================================
5876 //==============================================================================
5877 // PID1OUTU Bits
5879 extern __at(0x059A) __sfr PID1OUTU;
5881 typedef union
5883 struct
5885 unsigned PID1OUT32 : 1;
5886 unsigned PID1OUT33 : 1;
5887 unsigned PID1OUT34 : 1;
5888 unsigned PID1OUT35 : 1;
5889 unsigned : 1;
5890 unsigned : 1;
5891 unsigned : 1;
5892 unsigned : 1;
5895 struct
5897 unsigned OUT32 : 1;
5898 unsigned OUT33 : 1;
5899 unsigned OUT34 : 1;
5900 unsigned OUT35 : 1;
5901 unsigned : 1;
5902 unsigned : 1;
5903 unsigned : 1;
5904 unsigned : 1;
5906 } __PID1OUTUbits_t;
5908 extern __at(0x059A) volatile __PID1OUTUbits_t PID1OUTUbits;
5910 #define _PID1OUT32 0x01
5911 #define _OUT32 0x01
5912 #define _PID1OUT33 0x02
5913 #define _OUT33 0x02
5914 #define _PID1OUT34 0x04
5915 #define _OUT34 0x04
5916 #define _PID1OUT35 0x08
5917 #define _OUT35 0x08
5919 //==============================================================================
5921 extern __at(0x059B) __sfr PID1Z1;
5923 //==============================================================================
5924 // PID1Z1L Bits
5926 extern __at(0x059B) __sfr PID1Z1L;
5928 typedef union
5930 struct
5932 unsigned PID1Z10 : 1;
5933 unsigned PID1Z11 : 1;
5934 unsigned PID1Z12 : 1;
5935 unsigned PID1Z13 : 1;
5936 unsigned PID1Z14 : 1;
5937 unsigned PID1Z15 : 1;
5938 unsigned PID1Z16 : 1;
5939 unsigned PID1Z17 : 1;
5942 struct
5944 unsigned Z10 : 1;
5945 unsigned Z11 : 1;
5946 unsigned Z12 : 1;
5947 unsigned Z13 : 1;
5948 unsigned Z14 : 1;
5949 unsigned Z15 : 1;
5950 unsigned Z16 : 1;
5951 unsigned Z17 : 1;
5953 } __PID1Z1Lbits_t;
5955 extern __at(0x059B) volatile __PID1Z1Lbits_t PID1Z1Lbits;
5957 #define _PID1Z10 0x01
5958 #define _Z10 0x01
5959 #define _PID1Z11 0x02
5960 #define _Z11 0x02
5961 #define _PID1Z12 0x04
5962 #define _Z12 0x04
5963 #define _PID1Z13 0x08
5964 #define _Z13 0x08
5965 #define _PID1Z14 0x10
5966 #define _Z14 0x10
5967 #define _PID1Z15 0x20
5968 #define _Z15 0x20
5969 #define _PID1Z16 0x40
5970 #define _Z16 0x40
5971 #define _PID1Z17 0x80
5972 #define _Z17 0x80
5974 //==============================================================================
5977 //==============================================================================
5978 // PID1Z1H Bits
5980 extern __at(0x059C) __sfr PID1Z1H;
5982 typedef union
5984 struct
5986 unsigned PID1Z18 : 1;
5987 unsigned PID1Z19 : 1;
5988 unsigned PID1Z110 : 1;
5989 unsigned PID1Z111 : 1;
5990 unsigned PID1Z112 : 1;
5991 unsigned PID1Z113 : 1;
5992 unsigned PID1Z114 : 1;
5993 unsigned PID1Z115 : 1;
5996 struct
5998 unsigned Z18 : 1;
5999 unsigned Z19 : 1;
6000 unsigned Z110 : 1;
6001 unsigned Z111 : 1;
6002 unsigned Z112 : 1;
6003 unsigned Z113 : 1;
6004 unsigned Z114 : 1;
6005 unsigned Z115 : 1;
6007 } __PID1Z1Hbits_t;
6009 extern __at(0x059C) volatile __PID1Z1Hbits_t PID1Z1Hbits;
6011 #define _PID1Z18 0x01
6012 #define _Z18 0x01
6013 #define _PID1Z19 0x02
6014 #define _Z19 0x02
6015 #define _PID1Z110 0x04
6016 #define _Z110 0x04
6017 #define _PID1Z111 0x08
6018 #define _Z111 0x08
6019 #define _PID1Z112 0x10
6020 #define _Z112 0x10
6021 #define _PID1Z113 0x20
6022 #define _Z113 0x20
6023 #define _PID1Z114 0x40
6024 #define _Z114 0x40
6025 #define _PID1Z115 0x80
6026 #define _Z115 0x80
6028 //==============================================================================
6031 //==============================================================================
6032 // PID1Z1U Bits
6034 extern __at(0x059D) __sfr PID1Z1U;
6036 typedef union
6038 struct
6040 unsigned PID1Z116 : 1;
6041 unsigned : 1;
6042 unsigned : 1;
6043 unsigned : 1;
6044 unsigned : 1;
6045 unsigned : 1;
6046 unsigned : 1;
6047 unsigned : 1;
6050 struct
6052 unsigned Z116 : 1;
6053 unsigned : 1;
6054 unsigned : 1;
6055 unsigned : 1;
6056 unsigned : 1;
6057 unsigned : 1;
6058 unsigned : 1;
6059 unsigned : 1;
6061 } __PID1Z1Ubits_t;
6063 extern __at(0x059D) volatile __PID1Z1Ubits_t PID1Z1Ubits;
6065 #define _PID1Z116 0x01
6066 #define _Z116 0x01
6068 //==============================================================================
6070 extern __at(0x060C) __sfr PID1Z2;
6072 //==============================================================================
6073 // PID1Z2L Bits
6075 extern __at(0x060C) __sfr PID1Z2L;
6077 typedef union
6079 struct
6081 unsigned PID1Z20 : 1;
6082 unsigned PID1Z21 : 1;
6083 unsigned PID1Z22 : 1;
6084 unsigned PID1Z23 : 1;
6085 unsigned PID1Z24 : 1;
6086 unsigned PID1Z25 : 1;
6087 unsigned PID1Z26 : 1;
6088 unsigned PID1Z27 : 1;
6091 struct
6093 unsigned Z20 : 1;
6094 unsigned Z21 : 1;
6095 unsigned Z22 : 1;
6096 unsigned Z23 : 1;
6097 unsigned Z24 : 1;
6098 unsigned Z25 : 1;
6099 unsigned Z26 : 1;
6100 unsigned Z27 : 1;
6102 } __PID1Z2Lbits_t;
6104 extern __at(0x060C) volatile __PID1Z2Lbits_t PID1Z2Lbits;
6106 #define _PID1Z20 0x01
6107 #define _Z20 0x01
6108 #define _PID1Z21 0x02
6109 #define _Z21 0x02
6110 #define _PID1Z22 0x04
6111 #define _Z22 0x04
6112 #define _PID1Z23 0x08
6113 #define _Z23 0x08
6114 #define _PID1Z24 0x10
6115 #define _Z24 0x10
6116 #define _PID1Z25 0x20
6117 #define _Z25 0x20
6118 #define _PID1Z26 0x40
6119 #define _Z26 0x40
6120 #define _PID1Z27 0x80
6121 #define _Z27 0x80
6123 //==============================================================================
6126 //==============================================================================
6127 // PID1Z2H Bits
6129 extern __at(0x060D) __sfr PID1Z2H;
6131 typedef union
6133 struct
6135 unsigned PID1Z28 : 1;
6136 unsigned PID1Z29 : 1;
6137 unsigned PID1Z210 : 1;
6138 unsigned PID1Z211 : 1;
6139 unsigned PID1Z212 : 1;
6140 unsigned PID1Z213 : 1;
6141 unsigned PID1Z214 : 1;
6142 unsigned PID1Z215 : 1;
6145 struct
6147 unsigned Z28 : 1;
6148 unsigned Z29 : 1;
6149 unsigned Z210 : 1;
6150 unsigned Z211 : 1;
6151 unsigned Z212 : 1;
6152 unsigned Z213 : 1;
6153 unsigned Z214 : 1;
6154 unsigned Z215 : 1;
6156 } __PID1Z2Hbits_t;
6158 extern __at(0x060D) volatile __PID1Z2Hbits_t PID1Z2Hbits;
6160 #define _PID1Z28 0x01
6161 #define _Z28 0x01
6162 #define _PID1Z29 0x02
6163 #define _Z29 0x02
6164 #define _PID1Z210 0x04
6165 #define _Z210 0x04
6166 #define _PID1Z211 0x08
6167 #define _Z211 0x08
6168 #define _PID1Z212 0x10
6169 #define _Z212 0x10
6170 #define _PID1Z213 0x20
6171 #define _Z213 0x20
6172 #define _PID1Z214 0x40
6173 #define _Z214 0x40
6174 #define _PID1Z215 0x80
6175 #define _Z215 0x80
6177 //==============================================================================
6180 //==============================================================================
6181 // PID1Z2U Bits
6183 extern __at(0x060E) __sfr PID1Z2U;
6185 typedef union
6187 struct
6189 unsigned PID1Z216 : 1;
6190 unsigned : 1;
6191 unsigned : 1;
6192 unsigned : 1;
6193 unsigned : 1;
6194 unsigned : 1;
6195 unsigned : 1;
6196 unsigned : 1;
6199 struct
6201 unsigned Z216 : 1;
6202 unsigned : 1;
6203 unsigned : 1;
6204 unsigned : 1;
6205 unsigned : 1;
6206 unsigned : 1;
6207 unsigned : 1;
6208 unsigned : 1;
6210 } __PID1Z2Ubits_t;
6212 extern __at(0x060E) volatile __PID1Z2Ubits_t PID1Z2Ubits;
6214 #define _PID1Z216 0x01
6215 #define _Z216 0x01
6217 //==============================================================================
6219 extern __at(0x060F) __sfr PID1ACC;
6221 //==============================================================================
6222 // PID1ACCLL Bits
6224 extern __at(0x060F) __sfr PID1ACCLL;
6226 typedef union
6228 struct
6230 unsigned PID1ACC0 : 1;
6231 unsigned PID1ACC1 : 1;
6232 unsigned PID1ACC2 : 1;
6233 unsigned PID1ACC3 : 1;
6234 unsigned PID1ACC4 : 1;
6235 unsigned PID1ACC5 : 1;
6236 unsigned PID1ACC6 : 1;
6237 unsigned PID1ACC7 : 1;
6240 struct
6242 unsigned ACC0 : 1;
6243 unsigned ACC1 : 1;
6244 unsigned ACC2 : 1;
6245 unsigned ACC3 : 1;
6246 unsigned ACC4 : 1;
6247 unsigned ACC5 : 1;
6248 unsigned ACC6 : 1;
6249 unsigned ACC7 : 1;
6251 } __PID1ACCLLbits_t;
6253 extern __at(0x060F) volatile __PID1ACCLLbits_t PID1ACCLLbits;
6255 #define _PID1ACCLL_PID1ACC0 0x01
6256 #define _PID1ACCLL_ACC0 0x01
6257 #define _PID1ACCLL_PID1ACC1 0x02
6258 #define _PID1ACCLL_ACC1 0x02
6259 #define _PID1ACCLL_PID1ACC2 0x04
6260 #define _PID1ACCLL_ACC2 0x04
6261 #define _PID1ACCLL_PID1ACC3 0x08
6262 #define _PID1ACCLL_ACC3 0x08
6263 #define _PID1ACCLL_PID1ACC4 0x10
6264 #define _PID1ACCLL_ACC4 0x10
6265 #define _PID1ACCLL_PID1ACC5 0x20
6266 #define _PID1ACCLL_ACC5 0x20
6267 #define _PID1ACCLL_PID1ACC6 0x40
6268 #define _PID1ACCLL_ACC6 0x40
6269 #define _PID1ACCLL_PID1ACC7 0x80
6270 #define _PID1ACCLL_ACC7 0x80
6272 //==============================================================================
6275 //==============================================================================
6276 // PID1ACCLH Bits
6278 extern __at(0x0610) __sfr PID1ACCLH;
6280 typedef union
6282 struct
6284 unsigned PID1ACC8 : 1;
6285 unsigned PID1ACC9 : 1;
6286 unsigned PID1ACC10 : 1;
6287 unsigned PID1ACC11 : 1;
6288 unsigned PID1ACC12 : 1;
6289 unsigned PID1ACC13 : 1;
6290 unsigned PID1ACC14 : 1;
6291 unsigned PID1ACC15 : 1;
6294 struct
6296 unsigned ACC8 : 1;
6297 unsigned ACC9 : 1;
6298 unsigned ACC10 : 1;
6299 unsigned ACC11 : 1;
6300 unsigned ACC12 : 1;
6301 unsigned ACC13 : 1;
6302 unsigned ACC14 : 1;
6303 unsigned ACC15 : 1;
6305 } __PID1ACCLHbits_t;
6307 extern __at(0x0610) volatile __PID1ACCLHbits_t PID1ACCLHbits;
6309 #define _PID1ACCLH_PID1ACC8 0x01
6310 #define _PID1ACCLH_ACC8 0x01
6311 #define _PID1ACCLH_PID1ACC9 0x02
6312 #define _PID1ACCLH_ACC9 0x02
6313 #define _PID1ACCLH_PID1ACC10 0x04
6314 #define _PID1ACCLH_ACC10 0x04
6315 #define _PID1ACCLH_PID1ACC11 0x08
6316 #define _PID1ACCLH_ACC11 0x08
6317 #define _PID1ACCLH_PID1ACC12 0x10
6318 #define _PID1ACCLH_ACC12 0x10
6319 #define _PID1ACCLH_PID1ACC13 0x20
6320 #define _PID1ACCLH_ACC13 0x20
6321 #define _PID1ACCLH_PID1ACC14 0x40
6322 #define _PID1ACCLH_ACC14 0x40
6323 #define _PID1ACCLH_PID1ACC15 0x80
6324 #define _PID1ACCLH_ACC15 0x80
6326 //==============================================================================
6329 //==============================================================================
6330 // PID1ACCHL Bits
6332 extern __at(0x0611) __sfr PID1ACCHL;
6334 typedef union
6336 struct
6338 unsigned PID1ACC16 : 1;
6339 unsigned PID1ACC17 : 1;
6340 unsigned PID1ACC18 : 1;
6341 unsigned PID1ACC19 : 1;
6342 unsigned PID1ACC20 : 1;
6343 unsigned PID1ACC21 : 1;
6344 unsigned PID1ACC22 : 1;
6345 unsigned PID1ACC23 : 1;
6348 struct
6350 unsigned ACC16 : 1;
6351 unsigned ACC17 : 1;
6352 unsigned ACC18 : 1;
6353 unsigned ACC19 : 1;
6354 unsigned ACC20 : 1;
6355 unsigned ACC21 : 1;
6356 unsigned ACC22 : 1;
6357 unsigned ACC23 : 1;
6359 } __PID1ACCHLbits_t;
6361 extern __at(0x0611) volatile __PID1ACCHLbits_t PID1ACCHLbits;
6363 #define _PID1ACC16 0x01
6364 #define _ACC16 0x01
6365 #define _PID1ACC17 0x02
6366 #define _ACC17 0x02
6367 #define _PID1ACC18 0x04
6368 #define _ACC18 0x04
6369 #define _PID1ACC19 0x08
6370 #define _ACC19 0x08
6371 #define _PID1ACC20 0x10
6372 #define _ACC20 0x10
6373 #define _PID1ACC21 0x20
6374 #define _ACC21 0x20
6375 #define _PID1ACC22 0x40
6376 #define _ACC22 0x40
6377 #define _PID1ACC23 0x80
6378 #define _ACC23 0x80
6380 //==============================================================================
6383 //==============================================================================
6384 // PID1ACCHH Bits
6386 extern __at(0x0612) __sfr PID1ACCHH;
6388 typedef union
6390 struct
6392 unsigned PID1ACC24 : 1;
6393 unsigned PID1ACC25 : 1;
6394 unsigned PID1ACC26 : 1;
6395 unsigned PID1ACC27 : 1;
6396 unsigned PID1ACC28 : 1;
6397 unsigned PID1ACC29 : 1;
6398 unsigned PID1ACC30 : 1;
6399 unsigned PID1ACC31 : 1;
6402 struct
6404 unsigned ACC24 : 1;
6405 unsigned ACC25 : 1;
6406 unsigned ACC26 : 1;
6407 unsigned ACC27 : 1;
6408 unsigned ACC28 : 1;
6409 unsigned ACC29 : 1;
6410 unsigned ACC30 : 1;
6411 unsigned ACC31 : 1;
6413 } __PID1ACCHHbits_t;
6415 extern __at(0x0612) volatile __PID1ACCHHbits_t PID1ACCHHbits;
6417 #define _PID1ACC24 0x01
6418 #define _ACC24 0x01
6419 #define _PID1ACC25 0x02
6420 #define _ACC25 0x02
6421 #define _PID1ACC26 0x04
6422 #define _ACC26 0x04
6423 #define _PID1ACC27 0x08
6424 #define _ACC27 0x08
6425 #define _PID1ACC28 0x10
6426 #define _ACC28 0x10
6427 #define _PID1ACC29 0x20
6428 #define _ACC29 0x20
6429 #define _PID1ACC30 0x40
6430 #define _ACC30 0x40
6431 #define _PID1ACC31 0x80
6432 #define _ACC31 0x80
6434 //==============================================================================
6437 //==============================================================================
6438 // PID1ACCU Bits
6440 extern __at(0x0613) __sfr PID1ACCU;
6442 typedef union
6444 struct
6446 unsigned PID1ACC32 : 1;
6447 unsigned PID1ACC33 : 1;
6448 unsigned PID1ACC34 : 1;
6449 unsigned : 1;
6450 unsigned : 1;
6451 unsigned : 1;
6452 unsigned : 1;
6453 unsigned : 1;
6456 struct
6458 unsigned ACC32 : 1;
6459 unsigned ACC33 : 1;
6460 unsigned ACC34 : 1;
6461 unsigned : 1;
6462 unsigned : 1;
6463 unsigned : 1;
6464 unsigned : 1;
6465 unsigned : 1;
6467 } __PID1ACCUbits_t;
6469 extern __at(0x0613) volatile __PID1ACCUbits_t PID1ACCUbits;
6471 #define _PID1ACC32 0x01
6472 #define _ACC32 0x01
6473 #define _PID1ACC33 0x02
6474 #define _ACC33 0x02
6475 #define _PID1ACC34 0x04
6476 #define _ACC34 0x04
6478 //==============================================================================
6481 //==============================================================================
6482 // PID1CON Bits
6484 extern __at(0x0614) __sfr PID1CON;
6486 typedef union
6488 struct
6490 unsigned MODE0 : 1;
6491 unsigned MODE1 : 1;
6492 unsigned MODE2 : 1;
6493 unsigned : 1;
6494 unsigned : 1;
6495 unsigned : 1;
6496 unsigned PID1BUSY : 1;
6497 unsigned PID1EN : 1;
6500 struct
6502 unsigned PID1MODE0 : 1;
6503 unsigned PID1MODE1 : 1;
6504 unsigned PID1MODE2 : 1;
6505 unsigned : 1;
6506 unsigned : 1;
6507 unsigned : 1;
6508 unsigned BUSY : 1;
6509 unsigned EN : 1;
6512 struct
6514 unsigned PID1MODE : 3;
6515 unsigned : 5;
6518 struct
6520 unsigned MODE : 3;
6521 unsigned : 5;
6523 } __PID1CONbits_t;
6525 extern __at(0x0614) volatile __PID1CONbits_t PID1CONbits;
6527 #define _PID1CON_MODE0 0x01
6528 #define _PID1CON_PID1MODE0 0x01
6529 #define _PID1CON_MODE1 0x02
6530 #define _PID1CON_PID1MODE1 0x02
6531 #define _PID1CON_MODE2 0x04
6532 #define _PID1CON_PID1MODE2 0x04
6533 #define _PID1CON_PID1BUSY 0x40
6534 #define _PID1CON_BUSY 0x40
6535 #define _PID1CON_PID1EN 0x80
6536 #define _PID1CON_EN 0x80
6538 //==============================================================================
6541 //==============================================================================
6542 // PWM3DCL Bits
6544 extern __at(0x0617) __sfr PWM3DCL;
6546 typedef union
6548 struct
6550 unsigned : 1;
6551 unsigned : 1;
6552 unsigned : 1;
6553 unsigned : 1;
6554 unsigned : 1;
6555 unsigned : 1;
6556 unsigned DC0 : 1;
6557 unsigned DC1 : 1;
6560 struct
6562 unsigned : 1;
6563 unsigned : 1;
6564 unsigned : 1;
6565 unsigned : 1;
6566 unsigned : 1;
6567 unsigned : 1;
6568 unsigned PWM3DC0 : 1;
6569 unsigned PWM3DC1 : 1;
6572 struct
6574 unsigned : 1;
6575 unsigned : 1;
6576 unsigned : 1;
6577 unsigned : 1;
6578 unsigned : 1;
6579 unsigned : 1;
6580 unsigned PWMPW0 : 1;
6581 unsigned PWMPW1 : 1;
6584 struct
6586 unsigned : 6;
6587 unsigned DC : 2;
6590 struct
6592 unsigned : 6;
6593 unsigned PWMPW : 2;
6596 struct
6598 unsigned : 6;
6599 unsigned PWM3DC : 2;
6601 } __PWM3DCLbits_t;
6603 extern __at(0x0617) volatile __PWM3DCLbits_t PWM3DCLbits;
6605 #define _DC0 0x40
6606 #define _PWM3DC0 0x40
6607 #define _PWMPW0 0x40
6608 #define _DC1 0x80
6609 #define _PWM3DC1 0x80
6610 #define _PWMPW1 0x80
6612 //==============================================================================
6615 //==============================================================================
6616 // PWM3DCH Bits
6618 extern __at(0x0618) __sfr PWM3DCH;
6620 typedef union
6622 struct
6624 unsigned DC2 : 1;
6625 unsigned DC3 : 1;
6626 unsigned DC4 : 1;
6627 unsigned DC5 : 1;
6628 unsigned DC6 : 1;
6629 unsigned DC7 : 1;
6630 unsigned DC8 : 1;
6631 unsigned DC9 : 1;
6634 struct
6636 unsigned PWM3DC2 : 1;
6637 unsigned PWM3DC3 : 1;
6638 unsigned PWM3DC4 : 1;
6639 unsigned PWM3DC5 : 1;
6640 unsigned PWM3DC6 : 1;
6641 unsigned PWM3DC7 : 1;
6642 unsigned PWM3DC8 : 1;
6643 unsigned PWM3DC9 : 1;
6646 struct
6648 unsigned PWMPW2 : 1;
6649 unsigned PWMPW3 : 1;
6650 unsigned PWMPW4 : 1;
6651 unsigned PWMPW5 : 1;
6652 unsigned PWMPW6 : 1;
6653 unsigned PWMPW7 : 1;
6654 unsigned PWMPW8 : 1;
6655 unsigned PWMPW9 : 1;
6657 } __PWM3DCHbits_t;
6659 extern __at(0x0618) volatile __PWM3DCHbits_t PWM3DCHbits;
6661 #define _DC2 0x01
6662 #define _PWM3DC2 0x01
6663 #define _PWMPW2 0x01
6664 #define _DC3 0x02
6665 #define _PWM3DC3 0x02
6666 #define _PWMPW3 0x02
6667 #define _DC4 0x04
6668 #define _PWM3DC4 0x04
6669 #define _PWMPW4 0x04
6670 #define _DC5 0x08
6671 #define _PWM3DC5 0x08
6672 #define _PWMPW5 0x08
6673 #define _DC6 0x10
6674 #define _PWM3DC6 0x10
6675 #define _PWMPW6 0x10
6676 #define _DC7 0x20
6677 #define _PWM3DC7 0x20
6678 #define _PWMPW7 0x20
6679 #define _DC8 0x40
6680 #define _PWM3DC8 0x40
6681 #define _PWMPW8 0x40
6682 #define _DC9 0x80
6683 #define _PWM3DC9 0x80
6684 #define _PWMPW9 0x80
6686 //==============================================================================
6689 //==============================================================================
6690 // PWM3CON Bits
6692 extern __at(0x0619) __sfr PWM3CON;
6694 typedef union
6696 struct
6698 unsigned : 1;
6699 unsigned : 1;
6700 unsigned : 1;
6701 unsigned : 1;
6702 unsigned POL : 1;
6703 unsigned OUT : 1;
6704 unsigned : 1;
6705 unsigned EN : 1;
6708 struct
6710 unsigned : 1;
6711 unsigned : 1;
6712 unsigned : 1;
6713 unsigned : 1;
6714 unsigned PWM3POL : 1;
6715 unsigned PWM3OUT : 1;
6716 unsigned : 1;
6717 unsigned PWM3EN : 1;
6719 } __PWM3CONbits_t;
6721 extern __at(0x0619) volatile __PWM3CONbits_t PWM3CONbits;
6723 #define _PWM3CON_POL 0x10
6724 #define _PWM3CON_PWM3POL 0x10
6725 #define _PWM3CON_OUT 0x20
6726 #define _PWM3CON_PWM3OUT 0x20
6727 #define _PWM3CON_EN 0x80
6728 #define _PWM3CON_PWM3EN 0x80
6730 //==============================================================================
6733 //==============================================================================
6734 // PWM4DCL Bits
6736 extern __at(0x061A) __sfr PWM4DCL;
6738 typedef union
6740 struct
6742 unsigned : 1;
6743 unsigned : 1;
6744 unsigned : 1;
6745 unsigned : 1;
6746 unsigned : 1;
6747 unsigned : 1;
6748 unsigned DC0 : 1;
6749 unsigned DC1 : 1;
6752 struct
6754 unsigned : 1;
6755 unsigned : 1;
6756 unsigned : 1;
6757 unsigned : 1;
6758 unsigned : 1;
6759 unsigned : 1;
6760 unsigned PWM4DC0 : 1;
6761 unsigned PWM4DC1 : 1;
6764 struct
6766 unsigned : 1;
6767 unsigned : 1;
6768 unsigned : 1;
6769 unsigned : 1;
6770 unsigned : 1;
6771 unsigned : 1;
6772 unsigned PWMPW0 : 1;
6773 unsigned PWMPW1 : 1;
6776 struct
6778 unsigned : 6;
6779 unsigned PWM4DC : 2;
6782 struct
6784 unsigned : 6;
6785 unsigned PWMPW : 2;
6788 struct
6790 unsigned : 6;
6791 unsigned DC : 2;
6793 } __PWM4DCLbits_t;
6795 extern __at(0x061A) volatile __PWM4DCLbits_t PWM4DCLbits;
6797 #define _PWM4DCL_DC0 0x40
6798 #define _PWM4DCL_PWM4DC0 0x40
6799 #define _PWM4DCL_PWMPW0 0x40
6800 #define _PWM4DCL_DC1 0x80
6801 #define _PWM4DCL_PWM4DC1 0x80
6802 #define _PWM4DCL_PWMPW1 0x80
6804 //==============================================================================
6807 //==============================================================================
6808 // PWM4DCH Bits
6810 extern __at(0x061B) __sfr PWM4DCH;
6812 typedef union
6814 struct
6816 unsigned DC2 : 1;
6817 unsigned DC3 : 1;
6818 unsigned DC4 : 1;
6819 unsigned DC5 : 1;
6820 unsigned DC6 : 1;
6821 unsigned DC7 : 1;
6822 unsigned DC8 : 1;
6823 unsigned DC9 : 1;
6826 struct
6828 unsigned PWM4DC2 : 1;
6829 unsigned PWM4DC3 : 1;
6830 unsigned PWM4DC4 : 1;
6831 unsigned PWM4DC5 : 1;
6832 unsigned PWM4DC6 : 1;
6833 unsigned PWM4DC7 : 1;
6834 unsigned PWM4DC8 : 1;
6835 unsigned PWM4DC9 : 1;
6838 struct
6840 unsigned PWMPW2 : 1;
6841 unsigned PWMPW3 : 1;
6842 unsigned PWMPW4 : 1;
6843 unsigned PWMPW5 : 1;
6844 unsigned PWMPW6 : 1;
6845 unsigned PWMPW7 : 1;
6846 unsigned PWMPW8 : 1;
6847 unsigned PWMPW9 : 1;
6849 } __PWM4DCHbits_t;
6851 extern __at(0x061B) volatile __PWM4DCHbits_t PWM4DCHbits;
6853 #define _PWM4DCH_DC2 0x01
6854 #define _PWM4DCH_PWM4DC2 0x01
6855 #define _PWM4DCH_PWMPW2 0x01
6856 #define _PWM4DCH_DC3 0x02
6857 #define _PWM4DCH_PWM4DC3 0x02
6858 #define _PWM4DCH_PWMPW3 0x02
6859 #define _PWM4DCH_DC4 0x04
6860 #define _PWM4DCH_PWM4DC4 0x04
6861 #define _PWM4DCH_PWMPW4 0x04
6862 #define _PWM4DCH_DC5 0x08
6863 #define _PWM4DCH_PWM4DC5 0x08
6864 #define _PWM4DCH_PWMPW5 0x08
6865 #define _PWM4DCH_DC6 0x10
6866 #define _PWM4DCH_PWM4DC6 0x10
6867 #define _PWM4DCH_PWMPW6 0x10
6868 #define _PWM4DCH_DC7 0x20
6869 #define _PWM4DCH_PWM4DC7 0x20
6870 #define _PWM4DCH_PWMPW7 0x20
6871 #define _PWM4DCH_DC8 0x40
6872 #define _PWM4DCH_PWM4DC8 0x40
6873 #define _PWM4DCH_PWMPW8 0x40
6874 #define _PWM4DCH_DC9 0x80
6875 #define _PWM4DCH_PWM4DC9 0x80
6876 #define _PWM4DCH_PWMPW9 0x80
6878 //==============================================================================
6881 //==============================================================================
6882 // PWM4CON Bits
6884 extern __at(0x061C) __sfr PWM4CON;
6886 typedef union
6888 struct
6890 unsigned : 1;
6891 unsigned : 1;
6892 unsigned : 1;
6893 unsigned : 1;
6894 unsigned POL : 1;
6895 unsigned OUT : 1;
6896 unsigned : 1;
6897 unsigned EN : 1;
6900 struct
6902 unsigned : 1;
6903 unsigned : 1;
6904 unsigned : 1;
6905 unsigned : 1;
6906 unsigned PWM4POL : 1;
6907 unsigned PWM4OUT : 1;
6908 unsigned : 1;
6909 unsigned PWM4EN : 1;
6911 } __PWM4CONbits_t;
6913 extern __at(0x061C) volatile __PWM4CONbits_t PWM4CONbits;
6915 #define _PWM4CON_POL 0x10
6916 #define _PWM4CON_PWM4POL 0x10
6917 #define _PWM4CON_OUT 0x20
6918 #define _PWM4CON_PWM4OUT 0x20
6919 #define _PWM4CON_EN 0x80
6920 #define _PWM4CON_PWM4EN 0x80
6922 //==============================================================================
6925 //==============================================================================
6926 // CWG1DBR Bits
6928 extern __at(0x0691) __sfr CWG1DBR;
6930 typedef union
6932 struct
6934 unsigned DBR0 : 1;
6935 unsigned DBR1 : 1;
6936 unsigned DBR2 : 1;
6937 unsigned DBR3 : 1;
6938 unsigned DBR4 : 1;
6939 unsigned DBR5 : 1;
6940 unsigned : 1;
6941 unsigned : 1;
6944 struct
6946 unsigned CWG1DBR0 : 1;
6947 unsigned CWG1DBR1 : 1;
6948 unsigned CWG1DBR2 : 1;
6949 unsigned CWG1DBR3 : 1;
6950 unsigned CWG1DBR4 : 1;
6951 unsigned CWG1DBR5 : 1;
6952 unsigned : 1;
6953 unsigned : 1;
6956 struct
6958 unsigned DBR : 6;
6959 unsigned : 2;
6962 struct
6964 unsigned CWG1DBR : 6;
6965 unsigned : 2;
6967 } __CWG1DBRbits_t;
6969 extern __at(0x0691) volatile __CWG1DBRbits_t CWG1DBRbits;
6971 #define _DBR0 0x01
6972 #define _CWG1DBR0 0x01
6973 #define _DBR1 0x02
6974 #define _CWG1DBR1 0x02
6975 #define _DBR2 0x04
6976 #define _CWG1DBR2 0x04
6977 #define _DBR3 0x08
6978 #define _CWG1DBR3 0x08
6979 #define _DBR4 0x10
6980 #define _CWG1DBR4 0x10
6981 #define _DBR5 0x20
6982 #define _CWG1DBR5 0x20
6984 //==============================================================================
6987 //==============================================================================
6988 // CWG1DBF Bits
6990 extern __at(0x0692) __sfr CWG1DBF;
6992 typedef union
6994 struct
6996 unsigned DBF0 : 1;
6997 unsigned DBF1 : 1;
6998 unsigned DBF2 : 1;
6999 unsigned DBF3 : 1;
7000 unsigned DBF4 : 1;
7001 unsigned DBF5 : 1;
7002 unsigned : 1;
7003 unsigned : 1;
7006 struct
7008 unsigned CWG1DBF0 : 1;
7009 unsigned CWG1DBF1 : 1;
7010 unsigned CWG1DBF2 : 1;
7011 unsigned CWG1DBF3 : 1;
7012 unsigned CWG1DBF4 : 1;
7013 unsigned CWG1DBF5 : 1;
7014 unsigned : 1;
7015 unsigned : 1;
7018 struct
7020 unsigned CWG1DBF : 6;
7021 unsigned : 2;
7024 struct
7026 unsigned DBF : 6;
7027 unsigned : 2;
7029 } __CWG1DBFbits_t;
7031 extern __at(0x0692) volatile __CWG1DBFbits_t CWG1DBFbits;
7033 #define _DBF0 0x01
7034 #define _CWG1DBF0 0x01
7035 #define _DBF1 0x02
7036 #define _CWG1DBF1 0x02
7037 #define _DBF2 0x04
7038 #define _CWG1DBF2 0x04
7039 #define _DBF3 0x08
7040 #define _CWG1DBF3 0x08
7041 #define _DBF4 0x10
7042 #define _CWG1DBF4 0x10
7043 #define _DBF5 0x20
7044 #define _CWG1DBF5 0x20
7046 //==============================================================================
7049 //==============================================================================
7050 // CWG1AS0 Bits
7052 extern __at(0x0693) __sfr CWG1AS0;
7054 typedef union
7056 struct
7058 unsigned : 1;
7059 unsigned : 1;
7060 unsigned LSAC0 : 1;
7061 unsigned LSAC1 : 1;
7062 unsigned LSBD0 : 1;
7063 unsigned LSBD1 : 1;
7064 unsigned REN : 1;
7065 unsigned SHUTDOWN : 1;
7068 struct
7070 unsigned : 1;
7071 unsigned : 1;
7072 unsigned CWG1LSAC0 : 1;
7073 unsigned CWG1LSAC1 : 1;
7074 unsigned CWG1LSBD0 : 1;
7075 unsigned CWG1LSBD1 : 1;
7076 unsigned CWG1REN : 1;
7077 unsigned CWG1SHUTDOWN : 1;
7080 struct
7082 unsigned : 2;
7083 unsigned LSAC : 2;
7084 unsigned : 4;
7087 struct
7089 unsigned : 2;
7090 unsigned CWG1LSAC : 2;
7091 unsigned : 4;
7094 struct
7096 unsigned : 4;
7097 unsigned LSBD : 2;
7098 unsigned : 2;
7101 struct
7103 unsigned : 4;
7104 unsigned CWG1LSBD : 2;
7105 unsigned : 2;
7107 } __CWG1AS0bits_t;
7109 extern __at(0x0693) volatile __CWG1AS0bits_t CWG1AS0bits;
7111 #define _LSAC0 0x04
7112 #define _CWG1LSAC0 0x04
7113 #define _LSAC1 0x08
7114 #define _CWG1LSAC1 0x08
7115 #define _LSBD0 0x10
7116 #define _CWG1LSBD0 0x10
7117 #define _LSBD1 0x20
7118 #define _CWG1LSBD1 0x20
7119 #define _REN 0x40
7120 #define _CWG1REN 0x40
7121 #define _SHUTDOWN 0x80
7122 #define _CWG1SHUTDOWN 0x80
7124 //==============================================================================
7127 //==============================================================================
7128 // CWG1AS1 Bits
7130 extern __at(0x0694) __sfr CWG1AS1;
7132 typedef union
7134 struct
7136 unsigned INAS : 1;
7137 unsigned C1AS : 1;
7138 unsigned C2AS : 1;
7139 unsigned : 1;
7140 unsigned TMR2AS : 1;
7141 unsigned TMR4AS : 1;
7142 unsigned TMR6AS : 1;
7143 unsigned : 1;
7146 struct
7148 unsigned CWG1INAS : 1;
7149 unsigned CWG1C1AS : 1;
7150 unsigned CWG1C2AS : 1;
7151 unsigned : 1;
7152 unsigned CWG1TMR2AS : 1;
7153 unsigned CWG1TMR4AS : 1;
7154 unsigned CWG1TMR6AS : 1;
7155 unsigned : 1;
7157 } __CWG1AS1bits_t;
7159 extern __at(0x0694) volatile __CWG1AS1bits_t CWG1AS1bits;
7161 #define _INAS 0x01
7162 #define _CWG1INAS 0x01
7163 #define _C1AS 0x02
7164 #define _CWG1C1AS 0x02
7165 #define _C2AS 0x04
7166 #define _CWG1C2AS 0x04
7167 #define _TMR2AS 0x10
7168 #define _CWG1TMR2AS 0x10
7169 #define _TMR4AS 0x20
7170 #define _CWG1TMR4AS 0x20
7171 #define _TMR6AS 0x40
7172 #define _CWG1TMR6AS 0x40
7174 //==============================================================================
7177 //==============================================================================
7178 // CWG1OCON0 Bits
7180 extern __at(0x0695) __sfr CWG1OCON0;
7182 typedef union
7184 struct
7186 unsigned STRA : 1;
7187 unsigned STRB : 1;
7188 unsigned STRC : 1;
7189 unsigned STRD : 1;
7190 unsigned OVRA : 1;
7191 unsigned OVRB : 1;
7192 unsigned OVRC : 1;
7193 unsigned OVRD : 1;
7196 struct
7198 unsigned CWG1STRA : 1;
7199 unsigned CWG1STRB : 1;
7200 unsigned CWG1STRC : 1;
7201 unsigned CWG1STRD : 1;
7202 unsigned CWG1OVRA : 1;
7203 unsigned CWG1OVRB : 1;
7204 unsigned CWG1OVRC : 1;
7205 unsigned CWG1OVRD : 1;
7207 } __CWG1OCON0bits_t;
7209 extern __at(0x0695) volatile __CWG1OCON0bits_t CWG1OCON0bits;
7211 #define _STRA 0x01
7212 #define _CWG1STRA 0x01
7213 #define _STRB 0x02
7214 #define _CWG1STRB 0x02
7215 #define _STRC 0x04
7216 #define _CWG1STRC 0x04
7217 #define _STRD 0x08
7218 #define _CWG1STRD 0x08
7219 #define _OVRA 0x10
7220 #define _CWG1OVRA 0x10
7221 #define _OVRB 0x20
7222 #define _CWG1OVRB 0x20
7223 #define _OVRC 0x40
7224 #define _CWG1OVRC 0x40
7225 #define _OVRD 0x80
7226 #define _CWG1OVRD 0x80
7228 //==============================================================================
7231 //==============================================================================
7232 // CWG1CON0 Bits
7234 extern __at(0x0696) __sfr CWG1CON0;
7236 typedef union
7238 struct
7240 unsigned MODE0 : 1;
7241 unsigned MODE1 : 1;
7242 unsigned MODE2 : 1;
7243 unsigned : 1;
7244 unsigned : 1;
7245 unsigned : 1;
7246 unsigned LD : 1;
7247 unsigned EN : 1;
7250 struct
7252 unsigned CWG1MODE0 : 1;
7253 unsigned CWG1MODE1 : 1;
7254 unsigned CWG1MODE2 : 1;
7255 unsigned : 1;
7256 unsigned : 1;
7257 unsigned : 1;
7258 unsigned CWG1LD : 1;
7259 unsigned G1EN : 1;
7262 struct
7264 unsigned : 1;
7265 unsigned : 1;
7266 unsigned : 1;
7267 unsigned : 1;
7268 unsigned : 1;
7269 unsigned : 1;
7270 unsigned : 1;
7271 unsigned CWG1EN : 1;
7274 struct
7276 unsigned CWG1MODE : 3;
7277 unsigned : 5;
7280 struct
7282 unsigned MODE : 3;
7283 unsigned : 5;
7285 } __CWG1CON0bits_t;
7287 extern __at(0x0696) volatile __CWG1CON0bits_t CWG1CON0bits;
7289 #define _CWG1CON0_MODE0 0x01
7290 #define _CWG1CON0_CWG1MODE0 0x01
7291 #define _CWG1CON0_MODE1 0x02
7292 #define _CWG1CON0_CWG1MODE1 0x02
7293 #define _CWG1CON0_MODE2 0x04
7294 #define _CWG1CON0_CWG1MODE2 0x04
7295 #define _CWG1CON0_LD 0x40
7296 #define _CWG1CON0_CWG1LD 0x40
7297 #define _CWG1CON0_EN 0x80
7298 #define _CWG1CON0_G1EN 0x80
7299 #define _CWG1CON0_CWG1EN 0x80
7301 //==============================================================================
7304 //==============================================================================
7305 // CWG1CON1 Bits
7307 extern __at(0x0697) __sfr CWG1CON1;
7309 typedef union
7311 struct
7313 unsigned POLA : 1;
7314 unsigned POLB : 1;
7315 unsigned POLC : 1;
7316 unsigned POLD : 1;
7317 unsigned : 1;
7318 unsigned IN : 1;
7319 unsigned : 1;
7320 unsigned : 1;
7323 struct
7325 unsigned CWG1POLA : 1;
7326 unsigned CWG1POLB : 1;
7327 unsigned CWG1POLC : 1;
7328 unsigned CWG1POLD : 1;
7329 unsigned : 1;
7330 unsigned CWG1IN : 1;
7331 unsigned : 1;
7332 unsigned : 1;
7334 } __CWG1CON1bits_t;
7336 extern __at(0x0697) volatile __CWG1CON1bits_t CWG1CON1bits;
7338 #define _POLA 0x01
7339 #define _CWG1POLA 0x01
7340 #define _POLB 0x02
7341 #define _CWG1POLB 0x02
7342 #define _POLC 0x04
7343 #define _CWG1POLC 0x04
7344 #define _POLD 0x08
7345 #define _CWG1POLD 0x08
7346 #define _IN 0x20
7347 #define _CWG1IN 0x20
7349 //==============================================================================
7352 //==============================================================================
7353 // CWG1CLKCON Bits
7355 extern __at(0x0699) __sfr CWG1CLKCON;
7357 typedef union
7359 struct
7361 unsigned CS : 1;
7362 unsigned : 1;
7363 unsigned : 1;
7364 unsigned : 1;
7365 unsigned : 1;
7366 unsigned : 1;
7367 unsigned : 1;
7368 unsigned : 1;
7371 struct
7373 unsigned CWG1CS : 1;
7374 unsigned : 1;
7375 unsigned : 1;
7376 unsigned : 1;
7377 unsigned : 1;
7378 unsigned : 1;
7379 unsigned : 1;
7380 unsigned : 1;
7382 } __CWG1CLKCONbits_t;
7384 extern __at(0x0699) volatile __CWG1CLKCONbits_t CWG1CLKCONbits;
7386 #define _CWG1CLKCON_CS 0x01
7387 #define _CWG1CLKCON_CWG1CS 0x01
7389 //==============================================================================
7392 //==============================================================================
7393 // CWG1ISM Bits
7395 extern __at(0x069A) __sfr CWG1ISM;
7397 typedef union
7399 struct
7401 unsigned IS0 : 1;
7402 unsigned IS1 : 1;
7403 unsigned IS2 : 1;
7404 unsigned IS3 : 1;
7405 unsigned : 1;
7406 unsigned : 1;
7407 unsigned : 1;
7408 unsigned : 1;
7411 struct
7413 unsigned CWG1IS0 : 1;
7414 unsigned CWG1IS1 : 1;
7415 unsigned CWG1IS2 : 1;
7416 unsigned CWG1IS3 : 1;
7417 unsigned : 1;
7418 unsigned : 1;
7419 unsigned : 1;
7420 unsigned : 1;
7423 struct
7425 unsigned CWG1IS : 4;
7426 unsigned : 4;
7429 struct
7431 unsigned IS : 4;
7432 unsigned : 4;
7434 } __CWG1ISMbits_t;
7436 extern __at(0x069A) volatile __CWG1ISMbits_t CWG1ISMbits;
7438 #define _IS0 0x01
7439 #define _CWG1IS0 0x01
7440 #define _IS1 0x02
7441 #define _CWG1IS1 0x02
7442 #define _IS2 0x04
7443 #define _CWG1IS2 0x04
7444 #define _IS3 0x08
7445 #define _CWG1IS3 0x08
7447 //==============================================================================
7450 //==============================================================================
7451 // WDTCON0 Bits
7453 extern __at(0x0711) __sfr WDTCON0;
7455 typedef union
7457 struct
7459 unsigned SEN : 1;
7460 unsigned WDTPS0 : 1;
7461 unsigned WDTPS1 : 1;
7462 unsigned WDTPS2 : 1;
7463 unsigned WDTPS3 : 1;
7464 unsigned WDTPS4 : 1;
7465 unsigned : 1;
7466 unsigned : 1;
7469 struct
7471 unsigned SWDTEN : 1;
7472 unsigned : 1;
7473 unsigned : 1;
7474 unsigned : 1;
7475 unsigned : 1;
7476 unsigned : 1;
7477 unsigned : 1;
7478 unsigned : 1;
7481 struct
7483 unsigned WDTSEN : 1;
7484 unsigned : 1;
7485 unsigned : 1;
7486 unsigned : 1;
7487 unsigned : 1;
7488 unsigned : 1;
7489 unsigned : 1;
7490 unsigned : 1;
7493 struct
7495 unsigned : 1;
7496 unsigned WDTPS : 5;
7497 unsigned : 2;
7499 } __WDTCON0bits_t;
7501 extern __at(0x0711) volatile __WDTCON0bits_t WDTCON0bits;
7503 #define _WDTCON0_SEN 0x01
7504 #define _WDTCON0_SWDTEN 0x01
7505 #define _WDTCON0_WDTSEN 0x01
7506 #define _WDTCON0_WDTPS0 0x02
7507 #define _WDTCON0_WDTPS1 0x04
7508 #define _WDTCON0_WDTPS2 0x08
7509 #define _WDTCON0_WDTPS3 0x10
7510 #define _WDTCON0_WDTPS4 0x20
7512 //==============================================================================
7515 //==============================================================================
7516 // WDTCON1 Bits
7518 extern __at(0x0712) __sfr WDTCON1;
7520 typedef union
7522 struct
7524 unsigned WINDOW0 : 1;
7525 unsigned WINDOW1 : 1;
7526 unsigned WINDOW2 : 1;
7527 unsigned : 1;
7528 unsigned WDTCS0 : 1;
7529 unsigned WDTCS1 : 1;
7530 unsigned WDTCS2 : 1;
7531 unsigned : 1;
7534 struct
7536 unsigned WDTWINDOW0 : 1;
7537 unsigned WDTWINDOW1 : 1;
7538 unsigned WDTWINDOW2 : 1;
7539 unsigned : 1;
7540 unsigned : 1;
7541 unsigned : 1;
7542 unsigned : 1;
7543 unsigned : 1;
7546 struct
7548 unsigned WINDOW : 3;
7549 unsigned : 5;
7552 struct
7554 unsigned WDTWINDOW : 3;
7555 unsigned : 5;
7558 struct
7560 unsigned : 4;
7561 unsigned WDTCS : 3;
7562 unsigned : 1;
7564 } __WDTCON1bits_t;
7566 extern __at(0x0712) volatile __WDTCON1bits_t WDTCON1bits;
7568 #define _WINDOW0 0x01
7569 #define _WDTWINDOW0 0x01
7570 #define _WINDOW1 0x02
7571 #define _WDTWINDOW1 0x02
7572 #define _WINDOW2 0x04
7573 #define _WDTWINDOW2 0x04
7574 #define _WDTCS0 0x10
7575 #define _WDTCS1 0x20
7576 #define _WDTCS2 0x40
7578 //==============================================================================
7581 //==============================================================================
7582 // WDTPSL Bits
7584 extern __at(0x0713) __sfr WDTPSL;
7586 typedef union
7588 struct
7590 unsigned PSCNT0 : 1;
7591 unsigned PSCNT1 : 1;
7592 unsigned PSCNT2 : 1;
7593 unsigned PSCNT3 : 1;
7594 unsigned PSCNT4 : 1;
7595 unsigned PSCNT5 : 1;
7596 unsigned PSCNT6 : 1;
7597 unsigned PSCNT7 : 1;
7600 struct
7602 unsigned WDTPSCNT0 : 1;
7603 unsigned WDTPSCNT1 : 1;
7604 unsigned WDTPSCNT2 : 1;
7605 unsigned WDTPSCNT3 : 1;
7606 unsigned WDTPSCNT4 : 1;
7607 unsigned WDTPSCNT5 : 1;
7608 unsigned WDTPSCNT6 : 1;
7609 unsigned WDTPSCNT7 : 1;
7611 } __WDTPSLbits_t;
7613 extern __at(0x0713) volatile __WDTPSLbits_t WDTPSLbits;
7615 #define _PSCNT0 0x01
7616 #define _WDTPSCNT0 0x01
7617 #define _PSCNT1 0x02
7618 #define _WDTPSCNT1 0x02
7619 #define _PSCNT2 0x04
7620 #define _WDTPSCNT2 0x04
7621 #define _PSCNT3 0x08
7622 #define _WDTPSCNT3 0x08
7623 #define _PSCNT4 0x10
7624 #define _WDTPSCNT4 0x10
7625 #define _PSCNT5 0x20
7626 #define _WDTPSCNT5 0x20
7627 #define _PSCNT6 0x40
7628 #define _WDTPSCNT6 0x40
7629 #define _PSCNT7 0x80
7630 #define _WDTPSCNT7 0x80
7632 //==============================================================================
7635 //==============================================================================
7636 // WDTPSH Bits
7638 extern __at(0x0714) __sfr WDTPSH;
7640 typedef union
7642 struct
7644 unsigned PSCNT8 : 1;
7645 unsigned PSCNT9 : 1;
7646 unsigned PSCNT10 : 1;
7647 unsigned PSCNT11 : 1;
7648 unsigned PSCNT12 : 1;
7649 unsigned PSCNT13 : 1;
7650 unsigned PSCNT14 : 1;
7651 unsigned PSCNT15 : 1;
7654 struct
7656 unsigned WDTPSCNT8 : 1;
7657 unsigned WDTPSCNT9 : 1;
7658 unsigned WDTPSCNT10 : 1;
7659 unsigned WDTPSCNT11 : 1;
7660 unsigned WDTPSCNT12 : 1;
7661 unsigned WDTPSCNT13 : 1;
7662 unsigned WDTPSCNT14 : 1;
7663 unsigned WDTPSCNT15 : 1;
7665 } __WDTPSHbits_t;
7667 extern __at(0x0714) volatile __WDTPSHbits_t WDTPSHbits;
7669 #define _PSCNT8 0x01
7670 #define _WDTPSCNT8 0x01
7671 #define _PSCNT9 0x02
7672 #define _WDTPSCNT9 0x02
7673 #define _PSCNT10 0x04
7674 #define _WDTPSCNT10 0x04
7675 #define _PSCNT11 0x08
7676 #define _WDTPSCNT11 0x08
7677 #define _PSCNT12 0x10
7678 #define _WDTPSCNT12 0x10
7679 #define _PSCNT13 0x20
7680 #define _WDTPSCNT13 0x20
7681 #define _PSCNT14 0x40
7682 #define _WDTPSCNT14 0x40
7683 #define _PSCNT15 0x80
7684 #define _WDTPSCNT15 0x80
7686 //==============================================================================
7689 //==============================================================================
7690 // WDTTMR Bits
7692 extern __at(0x0715) __sfr WDTTMR;
7694 typedef union
7696 struct
7698 unsigned PSCNT16 : 1;
7699 unsigned PSCNT17 : 1;
7700 unsigned STATE : 1;
7701 unsigned WDTTMR0 : 1;
7702 unsigned WDTTMR1 : 1;
7703 unsigned WDTTMR2 : 1;
7704 unsigned WDTTMR3 : 1;
7705 unsigned WDTTMR4 : 1;
7708 struct
7710 unsigned WDTPSCNT16 : 1;
7711 unsigned WDTPSCNT17 : 1;
7712 unsigned WDTSTATE : 1;
7713 unsigned : 1;
7714 unsigned : 1;
7715 unsigned : 1;
7716 unsigned : 1;
7717 unsigned : 1;
7720 struct
7722 unsigned : 3;
7723 unsigned WDTTMR : 5;
7725 } __WDTTMRbits_t;
7727 extern __at(0x0715) volatile __WDTTMRbits_t WDTTMRbits;
7729 #define _PSCNT16 0x01
7730 #define _WDTPSCNT16 0x01
7731 #define _PSCNT17 0x02
7732 #define _WDTPSCNT17 0x02
7733 #define _STATE 0x04
7734 #define _WDTSTATE 0x04
7735 #define _WDTTMR0 0x08
7736 #define _WDTTMR1 0x10
7737 #define _WDTTMR2 0x20
7738 #define _WDTTMR3 0x40
7739 #define _WDTTMR4 0x80
7741 //==============================================================================
7743 extern __at(0x0718) __sfr SCANLADR;
7745 //==============================================================================
7746 // SCANLADRL Bits
7748 extern __at(0x0718) __sfr SCANLADRL;
7750 typedef union
7752 struct
7754 unsigned LDAR0 : 1;
7755 unsigned LDAR1 : 1;
7756 unsigned LADR2 : 1;
7757 unsigned LADR3 : 1;
7758 unsigned LADR4 : 1;
7759 unsigned LADR5 : 1;
7760 unsigned LADR6 : 1;
7761 unsigned LADR7 : 1;
7764 struct
7766 unsigned SCANLADR0 : 1;
7767 unsigned SCANLADR1 : 1;
7768 unsigned SCANLADR2 : 1;
7769 unsigned SCANLADR3 : 1;
7770 unsigned SCANLADR4 : 1;
7771 unsigned SCANLADR5 : 1;
7772 unsigned SCANLADR6 : 1;
7773 unsigned SCANLADR7 : 1;
7776 struct
7778 unsigned LDAR : 2;
7779 unsigned : 6;
7781 } __SCANLADRLbits_t;
7783 extern __at(0x0718) volatile __SCANLADRLbits_t SCANLADRLbits;
7785 #define _LDAR0 0x01
7786 #define _SCANLADR0 0x01
7787 #define _LDAR1 0x02
7788 #define _SCANLADR1 0x02
7789 #define _LADR2 0x04
7790 #define _SCANLADR2 0x04
7791 #define _LADR3 0x08
7792 #define _SCANLADR3 0x08
7793 #define _LADR4 0x10
7794 #define _SCANLADR4 0x10
7795 #define _LADR5 0x20
7796 #define _SCANLADR5 0x20
7797 #define _LADR6 0x40
7798 #define _SCANLADR6 0x40
7799 #define _LADR7 0x80
7800 #define _SCANLADR7 0x80
7802 //==============================================================================
7805 //==============================================================================
7806 // SCANLADRH Bits
7808 extern __at(0x0719) __sfr SCANLADRH;
7810 typedef union
7812 struct
7814 unsigned LADR8 : 1;
7815 unsigned LADR9 : 1;
7816 unsigned LADR10 : 1;
7817 unsigned LADR11 : 1;
7818 unsigned LADR12 : 1;
7819 unsigned LADR13 : 1;
7820 unsigned LADR14 : 1;
7821 unsigned LADR15 : 1;
7824 struct
7826 unsigned SCANLADR8 : 1;
7827 unsigned SCANLADR9 : 1;
7828 unsigned SCANLADR10 : 1;
7829 unsigned SCANLADR11 : 1;
7830 unsigned SCANLADR12 : 1;
7831 unsigned SCANLADR13 : 1;
7832 unsigned SCANLADR14 : 1;
7833 unsigned SCANLADR15 : 1;
7835 } __SCANLADRHbits_t;
7837 extern __at(0x0719) volatile __SCANLADRHbits_t SCANLADRHbits;
7839 #define _LADR8 0x01
7840 #define _SCANLADR8 0x01
7841 #define _LADR9 0x02
7842 #define _SCANLADR9 0x02
7843 #define _LADR10 0x04
7844 #define _SCANLADR10 0x04
7845 #define _LADR11 0x08
7846 #define _SCANLADR11 0x08
7847 #define _LADR12 0x10
7848 #define _SCANLADR12 0x10
7849 #define _LADR13 0x20
7850 #define _SCANLADR13 0x20
7851 #define _LADR14 0x40
7852 #define _SCANLADR14 0x40
7853 #define _LADR15 0x80
7854 #define _SCANLADR15 0x80
7856 //==============================================================================
7858 extern __at(0x071A) __sfr SCANHADR;
7860 //==============================================================================
7861 // SCANHADRL Bits
7863 extern __at(0x071A) __sfr SCANHADRL;
7865 typedef union
7867 struct
7869 unsigned HADR0 : 1;
7870 unsigned HADR1 : 1;
7871 unsigned HARD2 : 1;
7872 unsigned HADR3 : 1;
7873 unsigned HADR4 : 1;
7874 unsigned HADR5 : 1;
7875 unsigned HADR6 : 1;
7876 unsigned HADR7 : 1;
7879 struct
7881 unsigned SCANHADR0 : 1;
7882 unsigned SCANHADR1 : 1;
7883 unsigned SCANHADR2 : 1;
7884 unsigned SCANHADR3 : 1;
7885 unsigned SCANHADR4 : 1;
7886 unsigned SCANHADR5 : 1;
7887 unsigned SCANHADR6 : 1;
7888 unsigned SCANHADR7 : 1;
7890 } __SCANHADRLbits_t;
7892 extern __at(0x071A) volatile __SCANHADRLbits_t SCANHADRLbits;
7894 #define _HADR0 0x01
7895 #define _SCANHADR0 0x01
7896 #define _HADR1 0x02
7897 #define _SCANHADR1 0x02
7898 #define _HARD2 0x04
7899 #define _SCANHADR2 0x04
7900 #define _HADR3 0x08
7901 #define _SCANHADR3 0x08
7902 #define _HADR4 0x10
7903 #define _SCANHADR4 0x10
7904 #define _HADR5 0x20
7905 #define _SCANHADR5 0x20
7906 #define _HADR6 0x40
7907 #define _SCANHADR6 0x40
7908 #define _HADR7 0x80
7909 #define _SCANHADR7 0x80
7911 //==============================================================================
7914 //==============================================================================
7915 // SCANHADRH Bits
7917 extern __at(0x071B) __sfr SCANHADRH;
7919 typedef union
7921 struct
7923 unsigned HADR8 : 1;
7924 unsigned HADR9 : 1;
7925 unsigned HADR10 : 1;
7926 unsigned HADR11 : 1;
7927 unsigned HADR12 : 1;
7928 unsigned HADR13 : 1;
7929 unsigned HADR14 : 1;
7930 unsigned HADR15 : 1;
7933 struct
7935 unsigned SCANHADR8 : 1;
7936 unsigned SCANHADR9 : 1;
7937 unsigned SCANHADR10 : 1;
7938 unsigned SCANHADR11 : 1;
7939 unsigned SCANHADR12 : 1;
7940 unsigned SCANHADR13 : 1;
7941 unsigned SCANHADR14 : 1;
7942 unsigned SCANHADR15 : 1;
7944 } __SCANHADRHbits_t;
7946 extern __at(0x071B) volatile __SCANHADRHbits_t SCANHADRHbits;
7948 #define _HADR8 0x01
7949 #define _SCANHADR8 0x01
7950 #define _HADR9 0x02
7951 #define _SCANHADR9 0x02
7952 #define _HADR10 0x04
7953 #define _SCANHADR10 0x04
7954 #define _HADR11 0x08
7955 #define _SCANHADR11 0x08
7956 #define _HADR12 0x10
7957 #define _SCANHADR12 0x10
7958 #define _HADR13 0x20
7959 #define _SCANHADR13 0x20
7960 #define _HADR14 0x40
7961 #define _SCANHADR14 0x40
7962 #define _HADR15 0x80
7963 #define _SCANHADR15 0x80
7965 //==============================================================================
7968 //==============================================================================
7969 // SCANCON0 Bits
7971 extern __at(0x071C) __sfr SCANCON0;
7973 typedef union
7975 struct
7977 unsigned MODE0 : 1;
7978 unsigned MODE1 : 1;
7979 unsigned : 1;
7980 unsigned INTM : 1;
7981 unsigned INVALID : 1;
7982 unsigned BUSY : 1;
7983 unsigned SCANGO : 1;
7984 unsigned EN : 1;
7987 struct
7989 unsigned SCANMODE0 : 1;
7990 unsigned SCANMODE1 : 1;
7991 unsigned : 1;
7992 unsigned SCANINTM : 1;
7993 unsigned SCANINVALID : 1;
7994 unsigned SCANBUSY : 1;
7995 unsigned : 1;
7996 unsigned SCANEN : 1;
7999 struct
8001 unsigned MODE : 2;
8002 unsigned : 6;
8005 struct
8007 unsigned SCANMODE : 2;
8008 unsigned : 6;
8010 } __SCANCON0bits_t;
8012 extern __at(0x071C) volatile __SCANCON0bits_t SCANCON0bits;
8014 #define _SCANCON0_MODE0 0x01
8015 #define _SCANCON0_SCANMODE0 0x01
8016 #define _SCANCON0_MODE1 0x02
8017 #define _SCANCON0_SCANMODE1 0x02
8018 #define _SCANCON0_INTM 0x08
8019 #define _SCANCON0_SCANINTM 0x08
8020 #define _SCANCON0_INVALID 0x10
8021 #define _SCANCON0_SCANINVALID 0x10
8022 #define _SCANCON0_BUSY 0x20
8023 #define _SCANCON0_SCANBUSY 0x20
8024 #define _SCANCON0_SCANGO 0x40
8025 #define _SCANCON0_EN 0x80
8026 #define _SCANCON0_SCANEN 0x80
8028 //==============================================================================
8031 //==============================================================================
8032 // SCANTRIG Bits
8034 extern __at(0x071D) __sfr SCANTRIG;
8036 typedef union
8038 struct
8040 unsigned TSEL0 : 1;
8041 unsigned TSEL1 : 1;
8042 unsigned TSEL2 : 1;
8043 unsigned TSEL3 : 1;
8044 unsigned : 1;
8045 unsigned : 1;
8046 unsigned : 1;
8047 unsigned : 1;
8050 struct
8052 unsigned SCANTSEL0 : 1;
8053 unsigned SCANTSEL1 : 1;
8054 unsigned SCANTSEL2 : 1;
8055 unsigned SCANTSEL3 : 1;
8056 unsigned : 1;
8057 unsigned : 1;
8058 unsigned : 1;
8059 unsigned : 1;
8062 struct
8064 unsigned TSEL : 4;
8065 unsigned : 4;
8068 struct
8070 unsigned SCANTSEL : 4;
8071 unsigned : 4;
8073 } __SCANTRIGbits_t;
8075 extern __at(0x071D) volatile __SCANTRIGbits_t SCANTRIGbits;
8077 #define _TSEL0 0x01
8078 #define _SCANTSEL0 0x01
8079 #define _TSEL1 0x02
8080 #define _SCANTSEL1 0x02
8081 #define _TSEL2 0x04
8082 #define _SCANTSEL2 0x04
8083 #define _TSEL3 0x08
8084 #define _SCANTSEL3 0x08
8086 //==============================================================================
8088 extern __at(0x0791) __sfr CRCDAT;
8090 //==============================================================================
8091 // CRCDATL Bits
8093 extern __at(0x0791) __sfr CRCDATL;
8095 typedef union
8097 struct
8099 unsigned DAT0 : 1;
8100 unsigned DAT1 : 1;
8101 unsigned DAT2 : 1;
8102 unsigned DAT3 : 1;
8103 unsigned DAT4 : 1;
8104 unsigned DAT5 : 1;
8105 unsigned DAT6 : 1;
8106 unsigned DAT7 : 1;
8109 struct
8111 unsigned CRCDAT0 : 1;
8112 unsigned CRCDAT1 : 1;
8113 unsigned CRCDAT2 : 1;
8114 unsigned CRCDAT3 : 1;
8115 unsigned CRCDAT4 : 1;
8116 unsigned CRCDAT5 : 1;
8117 unsigned CRCDAT6 : 1;
8118 unsigned CRDCDAT7 : 1;
8121 struct
8123 unsigned CRCDAT : 7;
8124 unsigned : 1;
8126 } __CRCDATLbits_t;
8128 extern __at(0x0791) volatile __CRCDATLbits_t CRCDATLbits;
8130 #define _DAT0 0x01
8131 #define _CRCDAT0 0x01
8132 #define _DAT1 0x02
8133 #define _CRCDAT1 0x02
8134 #define _DAT2 0x04
8135 #define _CRCDAT2 0x04
8136 #define _DAT3 0x08
8137 #define _CRCDAT3 0x08
8138 #define _DAT4 0x10
8139 #define _CRCDAT4 0x10
8140 #define _DAT5 0x20
8141 #define _CRCDAT5 0x20
8142 #define _DAT6 0x40
8143 #define _CRCDAT6 0x40
8144 #define _DAT7 0x80
8145 #define _CRDCDAT7 0x80
8147 //==============================================================================
8150 //==============================================================================
8151 // CRCDATH Bits
8153 extern __at(0x0792) __sfr CRCDATH;
8155 typedef union
8157 struct
8159 unsigned DAT8 : 1;
8160 unsigned DAT9 : 1;
8161 unsigned DAT10 : 1;
8162 unsigned DAT11 : 1;
8163 unsigned DAT12 : 1;
8164 unsigned DAT13 : 1;
8165 unsigned DAT14 : 1;
8166 unsigned DAT15 : 1;
8169 struct
8171 unsigned CRCDAT8 : 1;
8172 unsigned CRCDAT9 : 1;
8173 unsigned CRCDAT10 : 1;
8174 unsigned CRCDAT11 : 1;
8175 unsigned CRCDAT12 : 1;
8176 unsigned CRCDAT13 : 1;
8177 unsigned CRCDAT14 : 1;
8178 unsigned CRCDAT15 : 1;
8180 } __CRCDATHbits_t;
8182 extern __at(0x0792) volatile __CRCDATHbits_t CRCDATHbits;
8184 #define _DAT8 0x01
8185 #define _CRCDAT8 0x01
8186 #define _DAT9 0x02
8187 #define _CRCDAT9 0x02
8188 #define _DAT10 0x04
8189 #define _CRCDAT10 0x04
8190 #define _DAT11 0x08
8191 #define _CRCDAT11 0x08
8192 #define _DAT12 0x10
8193 #define _CRCDAT12 0x10
8194 #define _DAT13 0x20
8195 #define _CRCDAT13 0x20
8196 #define _DAT14 0x40
8197 #define _CRCDAT14 0x40
8198 #define _DAT15 0x80
8199 #define _CRCDAT15 0x80
8201 //==============================================================================
8203 extern __at(0x0793) __sfr CRCACC;
8205 //==============================================================================
8206 // CRCACCL Bits
8208 extern __at(0x0793) __sfr CRCACCL;
8210 typedef union
8212 struct
8214 unsigned ACC0 : 1;
8215 unsigned ACC1 : 1;
8216 unsigned ACC2 : 1;
8217 unsigned ACC3 : 1;
8218 unsigned ACC4 : 1;
8219 unsigned ACC5 : 1;
8220 unsigned ACC6 : 1;
8221 unsigned ACC7 : 1;
8224 struct
8226 unsigned CRCACC0 : 1;
8227 unsigned CRCACC1 : 1;
8228 unsigned CRCACC2 : 1;
8229 unsigned CRCACC3 : 1;
8230 unsigned CRCACC4 : 1;
8231 unsigned CRCACC5 : 1;
8232 unsigned CRCACC6 : 1;
8233 unsigned CRCACC7 : 1;
8235 } __CRCACCLbits_t;
8237 extern __at(0x0793) volatile __CRCACCLbits_t CRCACCLbits;
8239 #define _ACC0 0x01
8240 #define _CRCACC0 0x01
8241 #define _ACC1 0x02
8242 #define _CRCACC1 0x02
8243 #define _ACC2 0x04
8244 #define _CRCACC2 0x04
8245 #define _ACC3 0x08
8246 #define _CRCACC3 0x08
8247 #define _ACC4 0x10
8248 #define _CRCACC4 0x10
8249 #define _ACC5 0x20
8250 #define _CRCACC5 0x20
8251 #define _ACC6 0x40
8252 #define _CRCACC6 0x40
8253 #define _ACC7 0x80
8254 #define _CRCACC7 0x80
8256 //==============================================================================
8259 //==============================================================================
8260 // CRCACCH Bits
8262 extern __at(0x0794) __sfr CRCACCH;
8264 typedef union
8266 struct
8268 unsigned ACC8 : 1;
8269 unsigned ACC9 : 1;
8270 unsigned ACC10 : 1;
8271 unsigned ACC11 : 1;
8272 unsigned ACC12 : 1;
8273 unsigned ACC13 : 1;
8274 unsigned ACC14 : 1;
8275 unsigned ACC15 : 1;
8278 struct
8280 unsigned CRCACC8 : 1;
8281 unsigned CRCACC9 : 1;
8282 unsigned CRCACC10 : 1;
8283 unsigned CRCACC11 : 1;
8284 unsigned CRCACC12 : 1;
8285 unsigned CRCACC13 : 1;
8286 unsigned CRCACC14 : 1;
8287 unsigned CRCACC15 : 1;
8289 } __CRCACCHbits_t;
8291 extern __at(0x0794) volatile __CRCACCHbits_t CRCACCHbits;
8293 #define _ACC8 0x01
8294 #define _CRCACC8 0x01
8295 #define _ACC9 0x02
8296 #define _CRCACC9 0x02
8297 #define _ACC10 0x04
8298 #define _CRCACC10 0x04
8299 #define _ACC11 0x08
8300 #define _CRCACC11 0x08
8301 #define _ACC12 0x10
8302 #define _CRCACC12 0x10
8303 #define _ACC13 0x20
8304 #define _CRCACC13 0x20
8305 #define _ACC14 0x40
8306 #define _CRCACC14 0x40
8307 #define _ACC15 0x80
8308 #define _CRCACC15 0x80
8310 //==============================================================================
8312 extern __at(0x0795) __sfr CRCSHIFT;
8314 //==============================================================================
8315 // CRCSHIFTL Bits
8317 extern __at(0x0795) __sfr CRCSHIFTL;
8319 typedef union
8321 struct
8323 unsigned SHIFT0 : 1;
8324 unsigned SHIFT1 : 1;
8325 unsigned SHIFT2 : 1;
8326 unsigned SHIFT3 : 1;
8327 unsigned SHIFT4 : 1;
8328 unsigned SHIFT5 : 1;
8329 unsigned SHIFT6 : 1;
8330 unsigned SHIFT7 : 1;
8333 struct
8335 unsigned CRCSHIFT0 : 1;
8336 unsigned CRCSHIFT1 : 1;
8337 unsigned CRCSHIFT2 : 1;
8338 unsigned CRCSHIFT3 : 1;
8339 unsigned CRCSHIFT4 : 1;
8340 unsigned CRCSHIFT5 : 1;
8341 unsigned CRCSHIFT6 : 1;
8342 unsigned CRCSHIFT7 : 1;
8344 } __CRCSHIFTLbits_t;
8346 extern __at(0x0795) volatile __CRCSHIFTLbits_t CRCSHIFTLbits;
8348 #define _SHIFT0 0x01
8349 #define _CRCSHIFT0 0x01
8350 #define _SHIFT1 0x02
8351 #define _CRCSHIFT1 0x02
8352 #define _SHIFT2 0x04
8353 #define _CRCSHIFT2 0x04
8354 #define _SHIFT3 0x08
8355 #define _CRCSHIFT3 0x08
8356 #define _SHIFT4 0x10
8357 #define _CRCSHIFT4 0x10
8358 #define _SHIFT5 0x20
8359 #define _CRCSHIFT5 0x20
8360 #define _SHIFT6 0x40
8361 #define _CRCSHIFT6 0x40
8362 #define _SHIFT7 0x80
8363 #define _CRCSHIFT7 0x80
8365 //==============================================================================
8368 //==============================================================================
8369 // CRCSHIFTH Bits
8371 extern __at(0x0796) __sfr CRCSHIFTH;
8373 typedef union
8375 struct
8377 unsigned SHIFT8 : 1;
8378 unsigned SHIFT9 : 1;
8379 unsigned SHIFT10 : 1;
8380 unsigned SHIFT11 : 1;
8381 unsigned SHIFT12 : 1;
8382 unsigned SHIFT13 : 1;
8383 unsigned SHIFT14 : 1;
8384 unsigned SHIFT15 : 1;
8387 struct
8389 unsigned CRCSHIFT8 : 1;
8390 unsigned CRCSHIFT9 : 1;
8391 unsigned CRCSHIFT10 : 1;
8392 unsigned CRCSHIFT11 : 1;
8393 unsigned CRCSHIFT12 : 1;
8394 unsigned CRCSHIFT13 : 1;
8395 unsigned CRCSHIFT14 : 1;
8396 unsigned CRCSHIFT15 : 1;
8398 } __CRCSHIFTHbits_t;
8400 extern __at(0x0796) volatile __CRCSHIFTHbits_t CRCSHIFTHbits;
8402 #define _SHIFT8 0x01
8403 #define _CRCSHIFT8 0x01
8404 #define _SHIFT9 0x02
8405 #define _CRCSHIFT9 0x02
8406 #define _SHIFT10 0x04
8407 #define _CRCSHIFT10 0x04
8408 #define _SHIFT11 0x08
8409 #define _CRCSHIFT11 0x08
8410 #define _SHIFT12 0x10
8411 #define _CRCSHIFT12 0x10
8412 #define _SHIFT13 0x20
8413 #define _CRCSHIFT13 0x20
8414 #define _SHIFT14 0x40
8415 #define _CRCSHIFT14 0x40
8416 #define _SHIFT15 0x80
8417 #define _CRCSHIFT15 0x80
8419 //==============================================================================
8421 extern __at(0x0797) __sfr CRCXOR;
8423 //==============================================================================
8424 // CRCXORL Bits
8426 extern __at(0x0797) __sfr CRCXORL;
8428 typedef union
8430 struct
8432 unsigned : 1;
8433 unsigned XOR1 : 1;
8434 unsigned XOR2 : 1;
8435 unsigned XOR3 : 1;
8436 unsigned XOR4 : 1;
8437 unsigned XOR5 : 1;
8438 unsigned XOR6 : 1;
8439 unsigned XOR7 : 1;
8442 struct
8444 unsigned : 1;
8445 unsigned CRCXOR1 : 1;
8446 unsigned CRCXOR2 : 1;
8447 unsigned CRCXOR3 : 1;
8448 unsigned CRCXOR4 : 1;
8449 unsigned CRCXOR5 : 1;
8450 unsigned CRCXOR6 : 1;
8451 unsigned CRCXOR7 : 1;
8453 } __CRCXORLbits_t;
8455 extern __at(0x0797) volatile __CRCXORLbits_t CRCXORLbits;
8457 #define _XOR1 0x02
8458 #define _CRCXOR1 0x02
8459 #define _XOR2 0x04
8460 #define _CRCXOR2 0x04
8461 #define _XOR3 0x08
8462 #define _CRCXOR3 0x08
8463 #define _XOR4 0x10
8464 #define _CRCXOR4 0x10
8465 #define _XOR5 0x20
8466 #define _CRCXOR5 0x20
8467 #define _XOR6 0x40
8468 #define _CRCXOR6 0x40
8469 #define _XOR7 0x80
8470 #define _CRCXOR7 0x80
8472 //==============================================================================
8475 //==============================================================================
8476 // CRCXORH Bits
8478 extern __at(0x0798) __sfr CRCXORH;
8480 typedef union
8482 struct
8484 unsigned XOR8 : 1;
8485 unsigned XOR9 : 1;
8486 unsigned XOR10 : 1;
8487 unsigned XOR11 : 1;
8488 unsigned XOR12 : 1;
8489 unsigned XOR13 : 1;
8490 unsigned XOR14 : 1;
8491 unsigned XOR15 : 1;
8494 struct
8496 unsigned CRCXOR8 : 1;
8497 unsigned CRCXOR9 : 1;
8498 unsigned CRCXOR10 : 1;
8499 unsigned CRCXOR11 : 1;
8500 unsigned CRCXOR12 : 1;
8501 unsigned CRCXOR13 : 1;
8502 unsigned CRCXOR14 : 1;
8503 unsigned CRCXOR15 : 1;
8505 } __CRCXORHbits_t;
8507 extern __at(0x0798) volatile __CRCXORHbits_t CRCXORHbits;
8509 #define _XOR8 0x01
8510 #define _CRCXOR8 0x01
8511 #define _XOR9 0x02
8512 #define _CRCXOR9 0x02
8513 #define _XOR10 0x04
8514 #define _CRCXOR10 0x04
8515 #define _XOR11 0x08
8516 #define _CRCXOR11 0x08
8517 #define _XOR12 0x10
8518 #define _CRCXOR12 0x10
8519 #define _XOR13 0x20
8520 #define _CRCXOR13 0x20
8521 #define _XOR14 0x40
8522 #define _CRCXOR14 0x40
8523 #define _XOR15 0x80
8524 #define _CRCXOR15 0x80
8526 //==============================================================================
8529 //==============================================================================
8530 // CRCCON0 Bits
8532 extern __at(0x0799) __sfr CRCCON0;
8534 typedef union
8536 struct
8538 unsigned FULL : 1;
8539 unsigned SHIFTM : 1;
8540 unsigned : 1;
8541 unsigned : 1;
8542 unsigned ACCM : 1;
8543 unsigned BUSY : 1;
8544 unsigned CRCGO : 1;
8545 unsigned EN : 1;
8548 struct
8550 unsigned CRCFULL : 1;
8551 unsigned CRCSHIFTM : 1;
8552 unsigned : 1;
8553 unsigned : 1;
8554 unsigned CRCACCM : 1;
8555 unsigned CRCBUSY : 1;
8556 unsigned : 1;
8557 unsigned CRCEN : 1;
8559 } __CRCCON0bits_t;
8561 extern __at(0x0799) volatile __CRCCON0bits_t CRCCON0bits;
8563 #define _CRCCON0_FULL 0x01
8564 #define _CRCCON0_CRCFULL 0x01
8565 #define _CRCCON0_SHIFTM 0x02
8566 #define _CRCCON0_CRCSHIFTM 0x02
8567 #define _CRCCON0_ACCM 0x10
8568 #define _CRCCON0_CRCACCM 0x10
8569 #define _CRCCON0_BUSY 0x20
8570 #define _CRCCON0_CRCBUSY 0x20
8571 #define _CRCCON0_CRCGO 0x40
8572 #define _CRCCON0_EN 0x80
8573 #define _CRCCON0_CRCEN 0x80
8575 //==============================================================================
8578 //==============================================================================
8579 // CRCCON1 Bits
8581 extern __at(0x079A) __sfr CRCCON1;
8583 typedef union
8585 struct
8587 unsigned PLEN0 : 1;
8588 unsigned PLEN1 : 1;
8589 unsigned PLEN2 : 1;
8590 unsigned PLEN3 : 1;
8591 unsigned DLEN0 : 1;
8592 unsigned DLEN1 : 1;
8593 unsigned DLEN2 : 1;
8594 unsigned DLEN3 : 1;
8597 struct
8599 unsigned CRCPLEN0 : 1;
8600 unsigned CRCPLEN1 : 1;
8601 unsigned CRCPLEN2 : 1;
8602 unsigned CRCPLEN3 : 1;
8603 unsigned CRCDLEN0 : 1;
8604 unsigned CRCDLEN1 : 1;
8605 unsigned CRCDLEN2 : 1;
8606 unsigned CRCDLEN3 : 1;
8609 struct
8611 unsigned CRCPLEN : 4;
8612 unsigned : 4;
8615 struct
8617 unsigned PLEN : 4;
8618 unsigned : 4;
8621 struct
8623 unsigned : 4;
8624 unsigned CRCDLEN : 4;
8627 struct
8629 unsigned : 4;
8630 unsigned DLEN : 4;
8632 } __CRCCON1bits_t;
8634 extern __at(0x079A) volatile __CRCCON1bits_t CRCCON1bits;
8636 #define _PLEN0 0x01
8637 #define _CRCPLEN0 0x01
8638 #define _PLEN1 0x02
8639 #define _CRCPLEN1 0x02
8640 #define _PLEN2 0x04
8641 #define _CRCPLEN2 0x04
8642 #define _PLEN3 0x08
8643 #define _CRCPLEN3 0x08
8644 #define _DLEN0 0x10
8645 #define _CRCDLEN0 0x10
8646 #define _DLEN1 0x20
8647 #define _CRCDLEN1 0x20
8648 #define _DLEN2 0x40
8649 #define _CRCDLEN2 0x40
8650 #define _DLEN3 0x80
8651 #define _CRCDLEN3 0x80
8653 //==============================================================================
8655 extern __at(0x080C) __sfr AT1RES;
8657 //==============================================================================
8658 // AT1RESL Bits
8660 extern __at(0x080C) __sfr AT1RESL;
8662 typedef union
8664 struct
8666 unsigned AT1RES0 : 1;
8667 unsigned AT1RES1 : 1;
8668 unsigned AT1RES2 : 1;
8669 unsigned AT1RES3 : 1;
8670 unsigned AT1RES4 : 1;
8671 unsigned AT1RES5 : 1;
8672 unsigned AT1RES6 : 1;
8673 unsigned AT1RES7 : 1;
8676 struct
8678 unsigned RES0 : 1;
8679 unsigned RES1 : 1;
8680 unsigned RES2 : 1;
8681 unsigned RES3 : 1;
8682 unsigned RES4 : 1;
8683 unsigned RES5 : 1;
8684 unsigned RES6 : 1;
8685 unsigned RES7 : 1;
8687 } __AT1RESLbits_t;
8689 extern __at(0x080C) volatile __AT1RESLbits_t AT1RESLbits;
8691 #define _AT1RES0 0x01
8692 #define _RES0 0x01
8693 #define _AT1RES1 0x02
8694 #define _RES1 0x02
8695 #define _AT1RES2 0x04
8696 #define _RES2 0x04
8697 #define _AT1RES3 0x08
8698 #define _RES3 0x08
8699 #define _AT1RES4 0x10
8700 #define _RES4 0x10
8701 #define _AT1RES5 0x20
8702 #define _RES5 0x20
8703 #define _AT1RES6 0x40
8704 #define _RES6 0x40
8705 #define _AT1RES7 0x80
8706 #define _RES7 0x80
8708 //==============================================================================
8711 //==============================================================================
8712 // AT1RESH Bits
8714 extern __at(0x080D) __sfr AT1RESH;
8716 typedef union
8718 struct
8720 unsigned AT1RES8 : 1;
8721 unsigned AT1RES9 : 1;
8722 unsigned : 1;
8723 unsigned : 1;
8724 unsigned : 1;
8725 unsigned : 1;
8726 unsigned : 1;
8727 unsigned : 1;
8730 struct
8732 unsigned RES8 : 1;
8733 unsigned RES9 : 1;
8734 unsigned : 1;
8735 unsigned : 1;
8736 unsigned : 1;
8737 unsigned : 1;
8738 unsigned : 1;
8739 unsigned : 1;
8741 } __AT1RESHbits_t;
8743 extern __at(0x080D) volatile __AT1RESHbits_t AT1RESHbits;
8745 #define _AT1RES8 0x01
8746 #define _RES8 0x01
8747 #define _AT1RES9 0x02
8748 #define _RES9 0x02
8750 //==============================================================================
8752 extern __at(0x080E) __sfr AT1MISS;
8754 //==============================================================================
8755 // AT1MISSL Bits
8757 extern __at(0x080E) __sfr AT1MISSL;
8759 typedef union
8761 struct
8763 unsigned AT1MISS0 : 1;
8764 unsigned AT1MISS1 : 1;
8765 unsigned AT1MISS2 : 1;
8766 unsigned AT1MISS3 : 1;
8767 unsigned AT1MISS4 : 1;
8768 unsigned AT1MISS5 : 1;
8769 unsigned AT1MISS6 : 1;
8770 unsigned AT1MISS7 : 1;
8773 struct
8775 unsigned MISS0 : 1;
8776 unsigned MISS1 : 1;
8777 unsigned MISS2 : 1;
8778 unsigned MISS3 : 1;
8779 unsigned MISS4 : 1;
8780 unsigned MISS5 : 1;
8781 unsigned MISS6 : 1;
8782 unsigned MISS7 : 1;
8784 } __AT1MISSLbits_t;
8786 extern __at(0x080E) volatile __AT1MISSLbits_t AT1MISSLbits;
8788 #define _AT1MISS0 0x01
8789 #define _MISS0 0x01
8790 #define _AT1MISS1 0x02
8791 #define _MISS1 0x02
8792 #define _AT1MISS2 0x04
8793 #define _MISS2 0x04
8794 #define _AT1MISS3 0x08
8795 #define _MISS3 0x08
8796 #define _AT1MISS4 0x10
8797 #define _MISS4 0x10
8798 #define _AT1MISS5 0x20
8799 #define _MISS5 0x20
8800 #define _AT1MISS6 0x40
8801 #define _MISS6 0x40
8802 #define _AT1MISS7 0x80
8803 #define _MISS7 0x80
8805 //==============================================================================
8808 //==============================================================================
8809 // AT1MISSH Bits
8811 extern __at(0x080F) __sfr AT1MISSH;
8813 typedef union
8815 struct
8817 unsigned AT1MISS8 : 1;
8818 unsigned AT1MISS9 : 1;
8819 unsigned AT1MISS10 : 1;
8820 unsigned AT1MISS11 : 1;
8821 unsigned AT1MISS12 : 1;
8822 unsigned AT1MISS13 : 1;
8823 unsigned AT1MISS14 : 1;
8824 unsigned AT1MISS15 : 1;
8827 struct
8829 unsigned MISS8 : 1;
8830 unsigned MISS9 : 1;
8831 unsigned MISS10 : 1;
8832 unsigned MISS11 : 1;
8833 unsigned MISS12 : 1;
8834 unsigned MISS13 : 1;
8835 unsigned MISS14 : 1;
8836 unsigned MISS15 : 1;
8838 } __AT1MISSHbits_t;
8840 extern __at(0x080F) volatile __AT1MISSHbits_t AT1MISSHbits;
8842 #define _AT1MISS8 0x01
8843 #define _MISS8 0x01
8844 #define _AT1MISS9 0x02
8845 #define _MISS9 0x02
8846 #define _AT1MISS10 0x04
8847 #define _MISS10 0x04
8848 #define _AT1MISS11 0x08
8849 #define _MISS11 0x08
8850 #define _AT1MISS12 0x10
8851 #define _MISS12 0x10
8852 #define _AT1MISS13 0x20
8853 #define _MISS13 0x20
8854 #define _AT1MISS14 0x40
8855 #define _MISS14 0x40
8856 #define _AT1MISS15 0x80
8857 #define _MISS15 0x80
8859 //==============================================================================
8861 extern __at(0x0810) __sfr AT1PER;
8863 //==============================================================================
8864 // AT1PERL Bits
8866 extern __at(0x0810) __sfr AT1PERL;
8868 typedef union
8870 struct
8872 unsigned AT1PER0 : 1;
8873 unsigned AT1PER1 : 1;
8874 unsigned AT1PER2 : 1;
8875 unsigned AT1PER3 : 1;
8876 unsigned AT1PER4 : 1;
8877 unsigned AT1PER5 : 1;
8878 unsigned AT1PER6 : 1;
8879 unsigned AT1PER7 : 1;
8882 struct
8884 unsigned PER0 : 1;
8885 unsigned PER1 : 1;
8886 unsigned PER2 : 1;
8887 unsigned PER3 : 1;
8888 unsigned PER4 : 1;
8889 unsigned PER5 : 1;
8890 unsigned PER6 : 1;
8891 unsigned PER7 : 1;
8894 struct
8896 unsigned PERL0 : 1;
8897 unsigned PERL1 : 1;
8898 unsigned PERL2 : 1;
8899 unsigned PERL3 : 1;
8900 unsigned PERL4 : 1;
8901 unsigned PERL5 : 1;
8902 unsigned PERL6 : 1;
8903 unsigned PERL7 : 1;
8905 } __AT1PERLbits_t;
8907 extern __at(0x0810) volatile __AT1PERLbits_t AT1PERLbits;
8909 #define _AT1PER0 0x01
8910 #define _PER0 0x01
8911 #define _PERL0 0x01
8912 #define _AT1PER1 0x02
8913 #define _PER1 0x02
8914 #define _PERL1 0x02
8915 #define _AT1PER2 0x04
8916 #define _PER2 0x04
8917 #define _PERL2 0x04
8918 #define _AT1PER3 0x08
8919 #define _PER3 0x08
8920 #define _PERL3 0x08
8921 #define _AT1PER4 0x10
8922 #define _PER4 0x10
8923 #define _PERL4 0x10
8924 #define _AT1PER5 0x20
8925 #define _PER5 0x20
8926 #define _PERL5 0x20
8927 #define _AT1PER6 0x40
8928 #define _PER6 0x40
8929 #define _PERL6 0x40
8930 #define _AT1PER7 0x80
8931 #define _PER7 0x80
8932 #define _PERL7 0x80
8934 //==============================================================================
8937 //==============================================================================
8938 // AT1PERH Bits
8940 extern __at(0x0811) __sfr AT1PERH;
8942 typedef union
8944 struct
8946 unsigned AT1PER8 : 1;
8947 unsigned AT1PER9 : 1;
8948 unsigned AT1PER10 : 1;
8949 unsigned AT1PER11 : 1;
8950 unsigned AT1PER12 : 1;
8951 unsigned AT1PER13 : 1;
8952 unsigned AT1PER14 : 1;
8953 unsigned AT1POV : 1;
8956 struct
8958 unsigned PER8 : 1;
8959 unsigned PER9 : 1;
8960 unsigned PER10 : 1;
8961 unsigned PER11 : 1;
8962 unsigned PER12 : 1;
8963 unsigned PER13 : 1;
8964 unsigned PER14 : 1;
8965 unsigned PER15 : 1;
8968 struct
8970 unsigned PERH0 : 1;
8971 unsigned PERH1 : 1;
8972 unsigned PERH2 : 1;
8973 unsigned PERH3 : 1;
8974 unsigned PERH4 : 1;
8975 unsigned PERH5 : 1;
8976 unsigned PERH6 : 1;
8977 unsigned PERH7 : 1;
8979 } __AT1PERHbits_t;
8981 extern __at(0x0811) volatile __AT1PERHbits_t AT1PERHbits;
8983 #define _AT1PER8 0x01
8984 #define _PER8 0x01
8985 #define _PERH0 0x01
8986 #define _AT1PER9 0x02
8987 #define _PER9 0x02
8988 #define _PERH1 0x02
8989 #define _AT1PER10 0x04
8990 #define _PER10 0x04
8991 #define _PERH2 0x04
8992 #define _AT1PER11 0x08
8993 #define _PER11 0x08
8994 #define _PERH3 0x08
8995 #define _AT1PER12 0x10
8996 #define _PER12 0x10
8997 #define _PERH4 0x10
8998 #define _AT1PER13 0x20
8999 #define _PER13 0x20
9000 #define _PERH5 0x20
9001 #define _AT1PER14 0x40
9002 #define _PER14 0x40
9003 #define _PERH6 0x40
9004 #define _AT1POV 0x80
9005 #define _PER15 0x80
9006 #define _PERH7 0x80
9008 //==============================================================================
9010 extern __at(0x0812) __sfr AT1PHS;
9012 //==============================================================================
9013 // AT1PHSL Bits
9015 extern __at(0x0812) __sfr AT1PHSL;
9017 typedef union
9019 struct
9021 unsigned AT1PHS0 : 1;
9022 unsigned AT1PHS1 : 1;
9023 unsigned AT1PHS2 : 1;
9024 unsigned AT1PHS3 : 1;
9025 unsigned AT1PHS4 : 1;
9026 unsigned AT1PHS5 : 1;
9027 unsigned AT1PHS6 : 1;
9028 unsigned AT1PHS7 : 1;
9031 struct
9033 unsigned PHS0 : 1;
9034 unsigned PHS1 : 1;
9035 unsigned PHS2 : 1;
9036 unsigned PHS3 : 1;
9037 unsigned PHS4 : 1;
9038 unsigned PHS5 : 1;
9039 unsigned PHS6 : 1;
9040 unsigned PHS7 : 1;
9042 } __AT1PHSLbits_t;
9044 extern __at(0x0812) volatile __AT1PHSLbits_t AT1PHSLbits;
9046 #define _AT1PHS0 0x01
9047 #define _PHS0 0x01
9048 #define _AT1PHS1 0x02
9049 #define _PHS1 0x02
9050 #define _AT1PHS2 0x04
9051 #define _PHS2 0x04
9052 #define _AT1PHS3 0x08
9053 #define _PHS3 0x08
9054 #define _AT1PHS4 0x10
9055 #define _PHS4 0x10
9056 #define _AT1PHS5 0x20
9057 #define _PHS5 0x20
9058 #define _AT1PHS6 0x40
9059 #define _PHS6 0x40
9060 #define _AT1PHS7 0x80
9061 #define _PHS7 0x80
9063 //==============================================================================
9066 //==============================================================================
9067 // AT1PHSH Bits
9069 extern __at(0x0813) __sfr AT1PHSH;
9071 typedef union
9073 struct
9075 unsigned AT1PHS8 : 1;
9076 unsigned AT1PHS9 : 1;
9077 unsigned : 1;
9078 unsigned : 1;
9079 unsigned : 1;
9080 unsigned : 1;
9081 unsigned : 1;
9082 unsigned : 1;
9085 struct
9087 unsigned PHS8 : 1;
9088 unsigned PHS9 : 1;
9089 unsigned : 1;
9090 unsigned : 1;
9091 unsigned : 1;
9092 unsigned : 1;
9093 unsigned : 1;
9094 unsigned : 1;
9097 struct
9099 unsigned PHSL8 : 1;
9100 unsigned PHSL9 : 1;
9101 unsigned : 1;
9102 unsigned : 1;
9103 unsigned : 1;
9104 unsigned : 1;
9105 unsigned : 1;
9106 unsigned : 1;
9108 } __AT1PHSHbits_t;
9110 extern __at(0x0813) volatile __AT1PHSHbits_t AT1PHSHbits;
9112 #define _AT1PHS8 0x01
9113 #define _PHS8 0x01
9114 #define _PHSL8 0x01
9115 #define _AT1PHS9 0x02
9116 #define _PHS9 0x02
9117 #define _PHSL9 0x02
9119 //==============================================================================
9122 //==============================================================================
9123 // AT1CON0 Bits
9125 extern __at(0x0814) __sfr AT1CON0;
9127 typedef union
9129 struct
9131 unsigned MODE : 1;
9132 unsigned APMOD : 1;
9133 unsigned : 1;
9134 unsigned POL : 1;
9135 unsigned PS0 : 1;
9136 unsigned PS1 : 1;
9137 unsigned PREC : 1;
9138 unsigned EN : 1;
9141 struct
9143 unsigned AT1MODE : 1;
9144 unsigned AT1APMOD : 1;
9145 unsigned : 1;
9146 unsigned AT1POL : 1;
9147 unsigned AT1PS0 : 1;
9148 unsigned AT1PS1 : 1;
9149 unsigned AT1PREC : 1;
9150 unsigned AT1EN : 1;
9153 struct
9155 unsigned : 4;
9156 unsigned AT1PS : 2;
9157 unsigned : 2;
9160 struct
9162 unsigned : 4;
9163 unsigned PS : 2;
9164 unsigned : 2;
9166 } __AT1CON0bits_t;
9168 extern __at(0x0814) volatile __AT1CON0bits_t AT1CON0bits;
9170 #define _MODE 0x01
9171 #define _AT1MODE 0x01
9172 #define _APMOD 0x02
9173 #define _AT1APMOD 0x02
9174 #define _POL 0x08
9175 #define _AT1POL 0x08
9176 #define _PS0 0x10
9177 #define _AT1PS0 0x10
9178 #define _PS1 0x20
9179 #define _AT1PS1 0x20
9180 #define _PREC 0x40
9181 #define _AT1PREC 0x40
9182 #define _EN 0x80
9183 #define _AT1EN 0x80
9185 //==============================================================================
9188 //==============================================================================
9189 // AT1CON1 Bits
9191 extern __at(0x0815) __sfr AT1CON1;
9193 typedef union
9195 struct
9197 unsigned VALID : 1;
9198 unsigned ACCS : 1;
9199 unsigned MPP : 1;
9200 unsigned : 1;
9201 unsigned PRP : 1;
9202 unsigned : 1;
9203 unsigned PHP : 1;
9204 unsigned : 1;
9207 struct
9209 unsigned AT1VALID : 1;
9210 unsigned AT1ACCS : 1;
9211 unsigned AT1MPP : 1;
9212 unsigned : 1;
9213 unsigned AT1PRP : 1;
9214 unsigned : 1;
9215 unsigned AT1PHP : 1;
9216 unsigned : 1;
9218 } __AT1CON1bits_t;
9220 extern __at(0x0815) volatile __AT1CON1bits_t AT1CON1bits;
9222 #define _VALID 0x01
9223 #define _AT1VALID 0x01
9224 #define _ACCS 0x02
9225 #define _AT1ACCS 0x02
9226 #define _MPP 0x04
9227 #define _AT1MPP 0x04
9228 #define _PRP 0x10
9229 #define _AT1PRP 0x10
9230 #define _PHP 0x40
9231 #define _AT1PHP 0x40
9233 //==============================================================================
9236 //==============================================================================
9237 // AT1IR0 Bits
9239 extern __at(0x0816) __sfr AT1IR0;
9241 typedef struct
9243 unsigned AT1PERIF : 1;
9244 unsigned AT1MISSIF : 1;
9245 unsigned AT1PHSIF : 1;
9246 unsigned : 1;
9247 unsigned : 1;
9248 unsigned : 1;
9249 unsigned : 1;
9250 unsigned : 1;
9251 } __AT1IR0bits_t;
9253 extern __at(0x0816) volatile __AT1IR0bits_t AT1IR0bits;
9255 #define _AT1PERIF 0x01
9256 #define _AT1MISSIF 0x02
9257 #define _AT1PHSIF 0x04
9259 //==============================================================================
9262 //==============================================================================
9263 // AT1IE0 Bits
9265 extern __at(0x0817) __sfr AT1IE0;
9267 typedef struct
9269 unsigned AT1PERIE : 1;
9270 unsigned AT1MISSIE : 1;
9271 unsigned AT1PHSIE : 1;
9272 unsigned : 1;
9273 unsigned : 1;
9274 unsigned : 1;
9275 unsigned : 1;
9276 unsigned : 1;
9277 } __AT1IE0bits_t;
9279 extern __at(0x0817) volatile __AT1IE0bits_t AT1IE0bits;
9281 #define _AT1PERIE 0x01
9282 #define _AT1MISSIE 0x02
9283 #define _AT1PHSIE 0x04
9285 //==============================================================================
9288 //==============================================================================
9289 // AT1IR1 Bits
9291 extern __at(0x0818) __sfr AT1IR1;
9293 typedef struct
9295 unsigned AT1CC1IF : 1;
9296 unsigned AT1CC2IF : 1;
9297 unsigned AT1CC3IF : 1;
9298 unsigned : 1;
9299 unsigned : 1;
9300 unsigned : 1;
9301 unsigned : 1;
9302 unsigned : 1;
9303 } __AT1IR1bits_t;
9305 extern __at(0x0818) volatile __AT1IR1bits_t AT1IR1bits;
9307 #define _AT1CC1IF 0x01
9308 #define _AT1CC2IF 0x02
9309 #define _AT1CC3IF 0x04
9311 //==============================================================================
9314 //==============================================================================
9315 // AT1IE1 Bits
9317 extern __at(0x0819) __sfr AT1IE1;
9319 typedef struct
9321 unsigned AT1CC1IE : 1;
9322 unsigned AT1CC2IE : 1;
9323 unsigned AT1CC3IE : 1;
9324 unsigned : 1;
9325 unsigned : 1;
9326 unsigned : 1;
9327 unsigned : 1;
9328 unsigned : 1;
9329 } __AT1IE1bits_t;
9331 extern __at(0x0819) volatile __AT1IE1bits_t AT1IE1bits;
9333 #define _AT1CC1IE 0x01
9334 #define _AT1CC2IE 0x02
9335 #define _AT1CC3IE 0x04
9337 //==============================================================================
9339 extern __at(0x081A) __sfr AT1STPT;
9341 //==============================================================================
9342 // AT1STPTL Bits
9344 extern __at(0x081A) __sfr AT1STPTL;
9346 typedef union
9348 struct
9350 unsigned AT1STPT0 : 1;
9351 unsigned AT1STPT1 : 1;
9352 unsigned AT1STPT2 : 1;
9353 unsigned AT1STPT3 : 1;
9354 unsigned AT1STPT4 : 1;
9355 unsigned AT1STPT5 : 1;
9356 unsigned AT1STPT6 : 1;
9357 unsigned AT1STPT7 : 1;
9360 struct
9362 unsigned STPT0 : 1;
9363 unsigned STPT1 : 1;
9364 unsigned STPT2 : 1;
9365 unsigned STPT3 : 1;
9366 unsigned STPT4 : 1;
9367 unsigned STPT5 : 1;
9368 unsigned STPT6 : 1;
9369 unsigned STPT7 : 1;
9371 } __AT1STPTLbits_t;
9373 extern __at(0x081A) volatile __AT1STPTLbits_t AT1STPTLbits;
9375 #define _AT1STPT0 0x01
9376 #define _STPT0 0x01
9377 #define _AT1STPT1 0x02
9378 #define _STPT1 0x02
9379 #define _AT1STPT2 0x04
9380 #define _STPT2 0x04
9381 #define _AT1STPT3 0x08
9382 #define _STPT3 0x08
9383 #define _AT1STPT4 0x10
9384 #define _STPT4 0x10
9385 #define _AT1STPT5 0x20
9386 #define _STPT5 0x20
9387 #define _AT1STPT6 0x40
9388 #define _STPT6 0x40
9389 #define _AT1STPT7 0x80
9390 #define _STPT7 0x80
9392 //==============================================================================
9395 //==============================================================================
9396 // AT1STPTH Bits
9398 extern __at(0x081B) __sfr AT1STPTH;
9400 typedef union
9402 struct
9404 unsigned AT1STPT8 : 1;
9405 unsigned AT1STPT9 : 1;
9406 unsigned AT1STPT10 : 1;
9407 unsigned AT1STPT11 : 1;
9408 unsigned AT1STPT12 : 1;
9409 unsigned AT1STPT13 : 1;
9410 unsigned AT1STPT14 : 1;
9411 unsigned : 1;
9414 struct
9416 unsigned STPT8 : 1;
9417 unsigned STPT9 : 1;
9418 unsigned STPT10 : 1;
9419 unsigned STPT11 : 1;
9420 unsigned STPT12 : 1;
9421 unsigned STPT13 : 1;
9422 unsigned STPT14 : 1;
9423 unsigned : 1;
9425 } __AT1STPTHbits_t;
9427 extern __at(0x081B) volatile __AT1STPTHbits_t AT1STPTHbits;
9429 #define _AT1STPT8 0x01
9430 #define _STPT8 0x01
9431 #define _AT1STPT9 0x02
9432 #define _STPT9 0x02
9433 #define _AT1STPT10 0x04
9434 #define _STPT10 0x04
9435 #define _AT1STPT11 0x08
9436 #define _STPT11 0x08
9437 #define _AT1STPT12 0x10
9438 #define _STPT12 0x10
9439 #define _AT1STPT13 0x20
9440 #define _STPT13 0x20
9441 #define _AT1STPT14 0x40
9442 #define _STPT14 0x40
9444 //==============================================================================
9446 extern __at(0x081C) __sfr AT1ERR;
9448 //==============================================================================
9449 // AT1ERRL Bits
9451 extern __at(0x081C) __sfr AT1ERRL;
9453 typedef union
9455 struct
9457 unsigned AT1ERR0 : 1;
9458 unsigned AT1ERR1 : 1;
9459 unsigned AT1ERR2 : 1;
9460 unsigned AT1ERR3 : 1;
9461 unsigned AT1ERR4 : 1;
9462 unsigned AT1ERR5 : 1;
9463 unsigned AT1ERR6 : 1;
9464 unsigned AT1ERR7 : 1;
9467 struct
9469 unsigned ERR0 : 1;
9470 unsigned ERR1 : 1;
9471 unsigned ERR2 : 1;
9472 unsigned ERR3 : 1;
9473 unsigned ERR4 : 1;
9474 unsigned ERR5 : 1;
9475 unsigned ERR6 : 1;
9476 unsigned ERR7 : 1;
9479 struct
9481 unsigned ERRL0 : 1;
9482 unsigned ERRL1 : 1;
9483 unsigned ERRL2 : 1;
9484 unsigned ERRL3 : 1;
9485 unsigned ERRL4 : 1;
9486 unsigned ERRL5 : 1;
9487 unsigned ERRL6 : 1;
9488 unsigned ERRL7 : 1;
9490 } __AT1ERRLbits_t;
9492 extern __at(0x081C) volatile __AT1ERRLbits_t AT1ERRLbits;
9494 #define _AT1ERR0 0x01
9495 #define _ERR0 0x01
9496 #define _ERRL0 0x01
9497 #define _AT1ERR1 0x02
9498 #define _ERR1 0x02
9499 #define _ERRL1 0x02
9500 #define _AT1ERR2 0x04
9501 #define _ERR2 0x04
9502 #define _ERRL2 0x04
9503 #define _AT1ERR3 0x08
9504 #define _ERR3 0x08
9505 #define _ERRL3 0x08
9506 #define _AT1ERR4 0x10
9507 #define _ERR4 0x10
9508 #define _ERRL4 0x10
9509 #define _AT1ERR5 0x20
9510 #define _ERR5 0x20
9511 #define _ERRL5 0x20
9512 #define _AT1ERR6 0x40
9513 #define _ERR6 0x40
9514 #define _ERRL6 0x40
9515 #define _AT1ERR7 0x80
9516 #define _ERR7 0x80
9517 #define _ERRL7 0x80
9519 //==============================================================================
9522 //==============================================================================
9523 // AT1ERRH Bits
9525 extern __at(0x081D) __sfr AT1ERRH;
9527 typedef union
9529 struct
9531 unsigned AT1ERR8 : 1;
9532 unsigned AT1ERR9 : 1;
9533 unsigned AT1ERR10 : 1;
9534 unsigned AT1ERR11 : 1;
9535 unsigned AT1ERR12 : 1;
9536 unsigned AT1ERR13 : 1;
9537 unsigned AT1ERR14 : 1;
9538 unsigned AT1ERR15 : 1;
9541 struct
9543 unsigned ERR8 : 1;
9544 unsigned ERR9 : 1;
9545 unsigned ERR10 : 1;
9546 unsigned ERR11 : 1;
9547 unsigned ERR12 : 1;
9548 unsigned ERR13 : 1;
9549 unsigned ERR14 : 1;
9550 unsigned ERR15 : 1;
9553 struct
9555 unsigned ERRH0 : 1;
9556 unsigned ERRH1 : 1;
9557 unsigned ERRH2 : 1;
9558 unsigned ERRH3 : 1;
9559 unsigned ERRH4 : 1;
9560 unsigned ERRH5 : 1;
9561 unsigned ERRH6 : 1;
9562 unsigned ERRH7 : 1;
9564 } __AT1ERRHbits_t;
9566 extern __at(0x081D) volatile __AT1ERRHbits_t AT1ERRHbits;
9568 #define _AT1ERR8 0x01
9569 #define _ERR8 0x01
9570 #define _ERRH0 0x01
9571 #define _AT1ERR9 0x02
9572 #define _ERR9 0x02
9573 #define _ERRH1 0x02
9574 #define _AT1ERR10 0x04
9575 #define _ERR10 0x04
9576 #define _ERRH2 0x04
9577 #define _AT1ERR11 0x08
9578 #define _ERR11 0x08
9579 #define _ERRH3 0x08
9580 #define _AT1ERR12 0x10
9581 #define _ERR12 0x10
9582 #define _ERRH4 0x10
9583 #define _AT1ERR13 0x20
9584 #define _ERR13 0x20
9585 #define _ERRH5 0x20
9586 #define _AT1ERR14 0x40
9587 #define _ERR14 0x40
9588 #define _ERRH6 0x40
9589 #define _AT1ERR15 0x80
9590 #define _ERR15 0x80
9591 #define _ERRH7 0x80
9593 //==============================================================================
9596 //==============================================================================
9597 // AT1CLK Bits
9599 extern __at(0x088C) __sfr AT1CLK;
9601 typedef union
9603 struct
9605 unsigned CS : 1;
9606 unsigned : 1;
9607 unsigned : 1;
9608 unsigned : 1;
9609 unsigned : 1;
9610 unsigned : 1;
9611 unsigned : 1;
9612 unsigned : 1;
9615 struct
9617 unsigned AT1CS : 1;
9618 unsigned : 1;
9619 unsigned : 1;
9620 unsigned : 1;
9621 unsigned : 1;
9622 unsigned : 1;
9623 unsigned : 1;
9624 unsigned : 1;
9627 struct
9629 unsigned CS0 : 1;
9630 unsigned : 1;
9631 unsigned : 1;
9632 unsigned : 1;
9633 unsigned : 1;
9634 unsigned : 1;
9635 unsigned : 1;
9636 unsigned : 1;
9639 struct
9641 unsigned AT1CS0 : 1;
9642 unsigned : 1;
9643 unsigned : 1;
9644 unsigned : 1;
9645 unsigned : 1;
9646 unsigned : 1;
9647 unsigned : 1;
9648 unsigned : 1;
9650 } __AT1CLKbits_t;
9652 extern __at(0x088C) volatile __AT1CLKbits_t AT1CLKbits;
9654 #define _CS 0x01
9655 #define _AT1CS 0x01
9656 #define _CS0 0x01
9657 #define _AT1CS0 0x01
9659 //==============================================================================
9662 //==============================================================================
9663 // AT1SIG Bits
9665 extern __at(0x088D) __sfr AT1SIG;
9667 typedef union
9669 struct
9671 unsigned AT1SSEL0 : 1;
9672 unsigned AT1SSEL1 : 1;
9673 unsigned AT1SSEL2 : 1;
9674 unsigned : 1;
9675 unsigned : 1;
9676 unsigned : 1;
9677 unsigned : 1;
9678 unsigned : 1;
9681 struct
9683 unsigned SSEL0 : 1;
9684 unsigned SSEL1 : 1;
9685 unsigned SSEL2 : 1;
9686 unsigned : 1;
9687 unsigned : 1;
9688 unsigned : 1;
9689 unsigned : 1;
9690 unsigned : 1;
9693 struct
9695 unsigned AT1SSEL : 3;
9696 unsigned : 5;
9699 struct
9701 unsigned SSEL : 3;
9702 unsigned : 5;
9704 } __AT1SIGbits_t;
9706 extern __at(0x088D) volatile __AT1SIGbits_t AT1SIGbits;
9708 #define _AT1SSEL0 0x01
9709 #define _SSEL0 0x01
9710 #define _AT1SSEL1 0x02
9711 #define _SSEL1 0x02
9712 #define _AT1SSEL2 0x04
9713 #define _SSEL2 0x04
9715 //==============================================================================
9718 //==============================================================================
9719 // AT1CSEL1 Bits
9721 extern __at(0x088E) __sfr AT1CSEL1;
9723 typedef union
9725 struct
9727 unsigned AT1CP1S0 : 1;
9728 unsigned AT1CP1S1 : 1;
9729 unsigned AT1CP1S2 : 1;
9730 unsigned : 1;
9731 unsigned : 1;
9732 unsigned : 1;
9733 unsigned : 1;
9734 unsigned : 1;
9737 struct
9739 unsigned CP1S0 : 1;
9740 unsigned CP1S1 : 1;
9741 unsigned CP1S2 : 1;
9742 unsigned : 1;
9743 unsigned : 1;
9744 unsigned : 1;
9745 unsigned : 1;
9746 unsigned : 1;
9749 struct
9751 unsigned CP1S : 3;
9752 unsigned : 5;
9755 struct
9757 unsigned AT1CP1S : 3;
9758 unsigned : 5;
9760 } __AT1CSEL1bits_t;
9762 extern __at(0x088E) volatile __AT1CSEL1bits_t AT1CSEL1bits;
9764 #define _AT1CP1S0 0x01
9765 #define _CP1S0 0x01
9766 #define _AT1CP1S1 0x02
9767 #define _CP1S1 0x02
9768 #define _AT1CP1S2 0x04
9769 #define _CP1S2 0x04
9771 //==============================================================================
9773 extern __at(0x088F) __sfr AT1CC1;
9775 //==============================================================================
9776 // AT1CC1L Bits
9778 extern __at(0x088F) __sfr AT1CC1L;
9780 typedef union
9782 struct
9784 unsigned AT1CC10 : 1;
9785 unsigned AT1CC11 : 1;
9786 unsigned AT1CC12 : 1;
9787 unsigned AT1CC13 : 1;
9788 unsigned AT1CC14 : 1;
9789 unsigned AT1CC15 : 1;
9790 unsigned AT1CC16 : 1;
9791 unsigned AT1CC17 : 1;
9794 struct
9796 unsigned CC10 : 1;
9797 unsigned CC11 : 1;
9798 unsigned CC12 : 1;
9799 unsigned CC13 : 1;
9800 unsigned CC14 : 1;
9801 unsigned CC15 : 1;
9802 unsigned CC16 : 1;
9803 unsigned CC17 : 1;
9805 } __AT1CC1Lbits_t;
9807 extern __at(0x088F) volatile __AT1CC1Lbits_t AT1CC1Lbits;
9809 #define _AT1CC10 0x01
9810 #define _CC10 0x01
9811 #define _AT1CC11 0x02
9812 #define _CC11 0x02
9813 #define _AT1CC12 0x04
9814 #define _CC12 0x04
9815 #define _AT1CC13 0x08
9816 #define _CC13 0x08
9817 #define _AT1CC14 0x10
9818 #define _CC14 0x10
9819 #define _AT1CC15 0x20
9820 #define _CC15 0x20
9821 #define _AT1CC16 0x40
9822 #define _CC16 0x40
9823 #define _AT1CC17 0x80
9824 #define _CC17 0x80
9826 //==============================================================================
9829 //==============================================================================
9830 // AT1CC1H Bits
9832 extern __at(0x0890) __sfr AT1CC1H;
9834 typedef union
9836 struct
9838 unsigned AT1CC18 : 1;
9839 unsigned AT1CC19 : 1;
9840 unsigned : 1;
9841 unsigned : 1;
9842 unsigned : 1;
9843 unsigned : 1;
9844 unsigned : 1;
9845 unsigned : 1;
9848 struct
9850 unsigned CC18 : 1;
9851 unsigned CC19 : 1;
9852 unsigned : 1;
9853 unsigned : 1;
9854 unsigned : 1;
9855 unsigned : 1;
9856 unsigned : 1;
9857 unsigned : 1;
9859 } __AT1CC1Hbits_t;
9861 extern __at(0x0890) volatile __AT1CC1Hbits_t AT1CC1Hbits;
9863 #define _AT1CC18 0x01
9864 #define _CC18 0x01
9865 #define _AT1CC19 0x02
9866 #define _CC19 0x02
9868 //==============================================================================
9871 //==============================================================================
9872 // AT1CCON1 Bits
9874 extern __at(0x0891) __sfr AT1CCON1;
9876 typedef union
9878 struct
9880 unsigned AT1CC1MODE : 1;
9881 unsigned : 1;
9882 unsigned : 1;
9883 unsigned AT1CAP1P : 1;
9884 unsigned AT1CC1POL : 1;
9885 unsigned : 1;
9886 unsigned : 1;
9887 unsigned AT1CC1EN : 1;
9890 struct
9892 unsigned CC1MODE : 1;
9893 unsigned : 1;
9894 unsigned : 1;
9895 unsigned CAP1P : 1;
9896 unsigned CC1POL : 1;
9897 unsigned : 1;
9898 unsigned : 1;
9899 unsigned CC1EN : 1;
9901 } __AT1CCON1bits_t;
9903 extern __at(0x0891) volatile __AT1CCON1bits_t AT1CCON1bits;
9905 #define _AT1CC1MODE 0x01
9906 #define _CC1MODE 0x01
9907 #define _AT1CAP1P 0x08
9908 #define _CAP1P 0x08
9909 #define _AT1CC1POL 0x10
9910 #define _CC1POL 0x10
9911 #define _AT1CC1EN 0x80
9912 #define _CC1EN 0x80
9914 //==============================================================================
9917 //==============================================================================
9918 // AT1CSEL2 Bits
9920 extern __at(0x0892) __sfr AT1CSEL2;
9922 typedef union
9924 struct
9926 unsigned AT1CP2S0 : 1;
9927 unsigned AT1CP2S1 : 1;
9928 unsigned AT1CP2S2 : 1;
9929 unsigned : 1;
9930 unsigned : 1;
9931 unsigned : 1;
9932 unsigned : 1;
9933 unsigned : 1;
9936 struct
9938 unsigned CP2S0 : 1;
9939 unsigned CP2S1 : 1;
9940 unsigned CP2S2 : 1;
9941 unsigned : 1;
9942 unsigned : 1;
9943 unsigned : 1;
9944 unsigned : 1;
9945 unsigned : 1;
9948 struct
9950 unsigned AT1CP2S : 3;
9951 unsigned : 5;
9954 struct
9956 unsigned CP2S : 3;
9957 unsigned : 5;
9959 } __AT1CSEL2bits_t;
9961 extern __at(0x0892) volatile __AT1CSEL2bits_t AT1CSEL2bits;
9963 #define _AT1CP2S0 0x01
9964 #define _CP2S0 0x01
9965 #define _AT1CP2S1 0x02
9966 #define _CP2S1 0x02
9967 #define _AT1CP2S2 0x04
9968 #define _CP2S2 0x04
9970 //==============================================================================
9972 extern __at(0x0893) __sfr AT1CC2;
9974 //==============================================================================
9975 // AT1CC2L Bits
9977 extern __at(0x0893) __sfr AT1CC2L;
9979 typedef union
9981 struct
9983 unsigned AT1CC20 : 1;
9984 unsigned AT1CC21 : 1;
9985 unsigned AT1CC22 : 1;
9986 unsigned AT1CC23 : 1;
9987 unsigned AT1CC24 : 1;
9988 unsigned AT1CC25 : 1;
9989 unsigned AT1CC26 : 1;
9990 unsigned AT1CC27 : 1;
9993 struct
9995 unsigned CC20 : 1;
9996 unsigned CC21 : 1;
9997 unsigned CC22 : 1;
9998 unsigned CC13 : 1;
9999 unsigned CC24 : 1;
10000 unsigned CCW5 : 1;
10001 unsigned CC26 : 1;
10002 unsigned CC27 : 1;
10004 } __AT1CC2Lbits_t;
10006 extern __at(0x0893) volatile __AT1CC2Lbits_t AT1CC2Lbits;
10008 #define _AT1CC2L_AT1CC20 0x01
10009 #define _AT1CC2L_CC20 0x01
10010 #define _AT1CC2L_AT1CC21 0x02
10011 #define _AT1CC2L_CC21 0x02
10012 #define _AT1CC2L_AT1CC22 0x04
10013 #define _AT1CC2L_CC22 0x04
10014 #define _AT1CC2L_AT1CC23 0x08
10015 #define _AT1CC2L_CC13 0x08
10016 #define _AT1CC2L_AT1CC24 0x10
10017 #define _AT1CC2L_CC24 0x10
10018 #define _AT1CC2L_AT1CC25 0x20
10019 #define _AT1CC2L_CCW5 0x20
10020 #define _AT1CC2L_AT1CC26 0x40
10021 #define _AT1CC2L_CC26 0x40
10022 #define _AT1CC2L_AT1CC27 0x80
10023 #define _AT1CC2L_CC27 0x80
10025 //==============================================================================
10028 //==============================================================================
10029 // AT1CC2H Bits
10031 extern __at(0x0894) __sfr AT1CC2H;
10033 typedef union
10035 struct
10037 unsigned AT1CC28 : 1;
10038 unsigned AT1CC29 : 1;
10039 unsigned : 1;
10040 unsigned : 1;
10041 unsigned : 1;
10042 unsigned : 1;
10043 unsigned : 1;
10044 unsigned : 1;
10047 struct
10049 unsigned CC28 : 1;
10050 unsigned CC29 : 1;
10051 unsigned : 1;
10052 unsigned : 1;
10053 unsigned : 1;
10054 unsigned : 1;
10055 unsigned : 1;
10056 unsigned : 1;
10058 } __AT1CC2Hbits_t;
10060 extern __at(0x0894) volatile __AT1CC2Hbits_t AT1CC2Hbits;
10062 #define _AT1CC28 0x01
10063 #define _CC28 0x01
10064 #define _AT1CC29 0x02
10065 #define _CC29 0x02
10067 //==============================================================================
10070 //==============================================================================
10071 // AT1CCON2 Bits
10073 extern __at(0x0895) __sfr AT1CCON2;
10075 typedef union
10077 struct
10079 unsigned AT1CC2MODE : 1;
10080 unsigned : 1;
10081 unsigned : 1;
10082 unsigned AT1CAP2P : 1;
10083 unsigned AT1CC2POL : 1;
10084 unsigned : 1;
10085 unsigned : 1;
10086 unsigned AT1CC2EN : 1;
10089 struct
10091 unsigned CC2MODE : 1;
10092 unsigned : 1;
10093 unsigned : 1;
10094 unsigned CAP2P : 1;
10095 unsigned CC2POL : 1;
10096 unsigned : 1;
10097 unsigned : 1;
10098 unsigned CC2EN : 1;
10100 } __AT1CCON2bits_t;
10102 extern __at(0x0895) volatile __AT1CCON2bits_t AT1CCON2bits;
10104 #define _AT1CC2MODE 0x01
10105 #define _CC2MODE 0x01
10106 #define _AT1CAP2P 0x08
10107 #define _CAP2P 0x08
10108 #define _AT1CC2POL 0x10
10109 #define _CC2POL 0x10
10110 #define _AT1CC2EN 0x80
10111 #define _CC2EN 0x80
10113 //==============================================================================
10116 //==============================================================================
10117 // AT1CSEL3 Bits
10119 extern __at(0x0896) __sfr AT1CSEL3;
10121 typedef union
10123 struct
10125 unsigned AT1CP3S0 : 1;
10126 unsigned AT1CP3S1 : 1;
10127 unsigned AT1CP3S2 : 1;
10128 unsigned : 1;
10129 unsigned : 1;
10130 unsigned : 1;
10131 unsigned : 1;
10132 unsigned : 1;
10135 struct
10137 unsigned CP3S0 : 1;
10138 unsigned CP3S1 : 1;
10139 unsigned CP3S2 : 1;
10140 unsigned : 1;
10141 unsigned : 1;
10142 unsigned : 1;
10143 unsigned : 1;
10144 unsigned : 1;
10147 struct
10149 unsigned CP3S : 3;
10150 unsigned : 5;
10153 struct
10155 unsigned AT1CP3S : 3;
10156 unsigned : 5;
10158 } __AT1CSEL3bits_t;
10160 extern __at(0x0896) volatile __AT1CSEL3bits_t AT1CSEL3bits;
10162 #define _AT1CP3S0 0x01
10163 #define _CP3S0 0x01
10164 #define _AT1CP3S1 0x02
10165 #define _CP3S1 0x02
10166 #define _AT1CP3S2 0x04
10167 #define _CP3S2 0x04
10169 //==============================================================================
10171 extern __at(0x0897) __sfr AT1CC3;
10173 //==============================================================================
10174 // AT1CC3L Bits
10176 extern __at(0x0897) __sfr AT1CC3L;
10178 typedef union
10180 struct
10182 unsigned AT1CC30 : 1;
10183 unsigned AT1CC31 : 1;
10184 unsigned AT1CC32 : 1;
10185 unsigned AT1CC33 : 1;
10186 unsigned AT1CC34 : 1;
10187 unsigned AT1CC35 : 1;
10188 unsigned AT1CC36 : 1;
10189 unsigned AT1CC37 : 1;
10192 struct
10194 unsigned CC30 : 1;
10195 unsigned CC31 : 1;
10196 unsigned CC32 : 1;
10197 unsigned CC33 : 1;
10198 unsigned CC34 : 1;
10199 unsigned CC35 : 1;
10200 unsigned CC36 : 1;
10201 unsigned CC37 : 1;
10203 } __AT1CC3Lbits_t;
10205 extern __at(0x0897) volatile __AT1CC3Lbits_t AT1CC3Lbits;
10207 #define _AT1CC30 0x01
10208 #define _CC30 0x01
10209 #define _AT1CC31 0x02
10210 #define _CC31 0x02
10211 #define _AT1CC32 0x04
10212 #define _CC32 0x04
10213 #define _AT1CC33 0x08
10214 #define _CC33 0x08
10215 #define _AT1CC34 0x10
10216 #define _CC34 0x10
10217 #define _AT1CC35 0x20
10218 #define _CC35 0x20
10219 #define _AT1CC36 0x40
10220 #define _CC36 0x40
10221 #define _AT1CC37 0x80
10222 #define _CC37 0x80
10224 //==============================================================================
10227 //==============================================================================
10228 // AT1CC3H Bits
10230 extern __at(0x0898) __sfr AT1CC3H;
10232 typedef union
10234 struct
10236 unsigned AT1CC38 : 1;
10237 unsigned AT1CC39 : 1;
10238 unsigned : 1;
10239 unsigned : 1;
10240 unsigned : 1;
10241 unsigned : 1;
10242 unsigned : 1;
10243 unsigned : 1;
10246 struct
10248 unsigned CC38 : 1;
10249 unsigned CC39 : 1;
10250 unsigned : 1;
10251 unsigned : 1;
10252 unsigned : 1;
10253 unsigned : 1;
10254 unsigned : 1;
10255 unsigned : 1;
10257 } __AT1CC3Hbits_t;
10259 extern __at(0x0898) volatile __AT1CC3Hbits_t AT1CC3Hbits;
10261 #define _AT1CC38 0x01
10262 #define _CC38 0x01
10263 #define _AT1CC39 0x02
10264 #define _CC39 0x02
10266 //==============================================================================
10269 //==============================================================================
10270 // AT1CCON3 Bits
10272 extern __at(0x0899) __sfr AT1CCON3;
10274 typedef union
10276 struct
10278 unsigned AT1CC3MODE : 1;
10279 unsigned : 1;
10280 unsigned : 1;
10281 unsigned AT1CAP3P : 1;
10282 unsigned AT1CC3POL : 1;
10283 unsigned : 1;
10284 unsigned : 1;
10285 unsigned AT1CC3EN : 1;
10288 struct
10290 unsigned CC3MODE : 1;
10291 unsigned : 1;
10292 unsigned : 1;
10293 unsigned CAP3P : 1;
10294 unsigned CC3POL : 1;
10295 unsigned : 1;
10296 unsigned : 1;
10297 unsigned CC3EN : 1;
10299 } __AT1CCON3bits_t;
10301 extern __at(0x0899) volatile __AT1CCON3bits_t AT1CCON3bits;
10303 #define _AT1CC3MODE 0x01
10304 #define _CC3MODE 0x01
10305 #define _AT1CAP3P 0x08
10306 #define _CAP3P 0x08
10307 #define _AT1CC3POL 0x10
10308 #define _CC3POL 0x10
10309 #define _AT1CC3EN 0x80
10310 #define _CC3EN 0x80
10312 //==============================================================================
10314 extern __at(0x0D8C) __sfr SMT1TMR;
10316 //==============================================================================
10317 // SMT1TMRL Bits
10319 extern __at(0x0D8C) __sfr SMT1TMRL;
10321 typedef struct
10323 unsigned SMT1TMR0 : 1;
10324 unsigned SMT1TMR1 : 1;
10325 unsigned SMT1TMR2 : 1;
10326 unsigned SMT1TMR3 : 1;
10327 unsigned SMT1TMR4 : 1;
10328 unsigned SMT1TMR5 : 1;
10329 unsigned SMT1TMR6 : 1;
10330 unsigned SMT1TMR7 : 1;
10331 } __SMT1TMRLbits_t;
10333 extern __at(0x0D8C) volatile __SMT1TMRLbits_t SMT1TMRLbits;
10335 #define _SMT1TMR0 0x01
10336 #define _SMT1TMR1 0x02
10337 #define _SMT1TMR2 0x04
10338 #define _SMT1TMR3 0x08
10339 #define _SMT1TMR4 0x10
10340 #define _SMT1TMR5 0x20
10341 #define _SMT1TMR6 0x40
10342 #define _SMT1TMR7 0x80
10344 //==============================================================================
10347 //==============================================================================
10348 // SMT1TMRH Bits
10350 extern __at(0x0D8D) __sfr SMT1TMRH;
10352 typedef struct
10354 unsigned SMT1TMR8 : 1;
10355 unsigned SMT1TMR9 : 1;
10356 unsigned SMT1TMR10 : 1;
10357 unsigned SMT1TMR11 : 1;
10358 unsigned SMT1TMR12 : 1;
10359 unsigned SMT1TMR13 : 1;
10360 unsigned SMT1TMR14 : 1;
10361 unsigned SMT1TMR15 : 1;
10362 } __SMT1TMRHbits_t;
10364 extern __at(0x0D8D) volatile __SMT1TMRHbits_t SMT1TMRHbits;
10366 #define _SMT1TMR8 0x01
10367 #define _SMT1TMR9 0x02
10368 #define _SMT1TMR10 0x04
10369 #define _SMT1TMR11 0x08
10370 #define _SMT1TMR12 0x10
10371 #define _SMT1TMR13 0x20
10372 #define _SMT1TMR14 0x40
10373 #define _SMT1TMR15 0x80
10375 //==============================================================================
10378 //==============================================================================
10379 // SMT1TMRU Bits
10381 extern __at(0x0D8E) __sfr SMT1TMRU;
10383 typedef struct
10385 unsigned SMT1TMR16 : 1;
10386 unsigned SMT1TMR17 : 1;
10387 unsigned SMT1TMR18 : 1;
10388 unsigned SMT1TMR19 : 1;
10389 unsigned SMT1TMR20 : 1;
10390 unsigned SMT1TMR21 : 1;
10391 unsigned SMT1TMR22 : 1;
10392 unsigned SMT1TMR23 : 1;
10393 } __SMT1TMRUbits_t;
10395 extern __at(0x0D8E) volatile __SMT1TMRUbits_t SMT1TMRUbits;
10397 #define _SMT1TMR16 0x01
10398 #define _SMT1TMR17 0x02
10399 #define _SMT1TMR18 0x04
10400 #define _SMT1TMR19 0x08
10401 #define _SMT1TMR20 0x10
10402 #define _SMT1TMR21 0x20
10403 #define _SMT1TMR22 0x40
10404 #define _SMT1TMR23 0x80
10406 //==============================================================================
10408 extern __at(0x0D8F) __sfr SMT1CPR;
10410 //==============================================================================
10411 // SMT1CPRL Bits
10413 extern __at(0x0D8F) __sfr SMT1CPRL;
10415 typedef struct
10417 unsigned SMT1CPR0 : 1;
10418 unsigned SMT1CPR1 : 1;
10419 unsigned SMT1CPR2 : 1;
10420 unsigned SMT1CPR3 : 1;
10421 unsigned SMT1CPR4 : 1;
10422 unsigned SMT1CPR5 : 1;
10423 unsigned SMT1CPR6 : 1;
10424 unsigned SMT1CPR7 : 1;
10425 } __SMT1CPRLbits_t;
10427 extern __at(0x0D8F) volatile __SMT1CPRLbits_t SMT1CPRLbits;
10429 #define _SMT1CPR0 0x01
10430 #define _SMT1CPR1 0x02
10431 #define _SMT1CPR2 0x04
10432 #define _SMT1CPR3 0x08
10433 #define _SMT1CPR4 0x10
10434 #define _SMT1CPR5 0x20
10435 #define _SMT1CPR6 0x40
10436 #define _SMT1CPR7 0x80
10438 //==============================================================================
10441 //==============================================================================
10442 // SMT1CPRH Bits
10444 extern __at(0x0D90) __sfr SMT1CPRH;
10446 typedef struct
10448 unsigned SMT1CPR8 : 1;
10449 unsigned SMT1CPR9 : 1;
10450 unsigned SMT1CPR10 : 1;
10451 unsigned SMT1CPR11 : 1;
10452 unsigned SMT1CPR12 : 1;
10453 unsigned SMT1CPR13 : 1;
10454 unsigned SMT1CPR14 : 1;
10455 unsigned SMT1CPR15 : 1;
10456 } __SMT1CPRHbits_t;
10458 extern __at(0x0D90) volatile __SMT1CPRHbits_t SMT1CPRHbits;
10460 #define _SMT1CPR8 0x01
10461 #define _SMT1CPR9 0x02
10462 #define _SMT1CPR10 0x04
10463 #define _SMT1CPR11 0x08
10464 #define _SMT1CPR12 0x10
10465 #define _SMT1CPR13 0x20
10466 #define _SMT1CPR14 0x40
10467 #define _SMT1CPR15 0x80
10469 //==============================================================================
10472 //==============================================================================
10473 // SMT1CPRU Bits
10475 extern __at(0x0D91) __sfr SMT1CPRU;
10477 typedef struct
10479 unsigned SMT1CPR16 : 1;
10480 unsigned SMT1CPR17 : 1;
10481 unsigned SMT1CPR18 : 1;
10482 unsigned SMT1CPR19 : 1;
10483 unsigned SMT1CPR20 : 1;
10484 unsigned SMT1CPR21 : 1;
10485 unsigned SMT1CPR22 : 1;
10486 unsigned SMT1CPR23 : 1;
10487 } __SMT1CPRUbits_t;
10489 extern __at(0x0D91) volatile __SMT1CPRUbits_t SMT1CPRUbits;
10491 #define _SMT1CPR16 0x01
10492 #define _SMT1CPR17 0x02
10493 #define _SMT1CPR18 0x04
10494 #define _SMT1CPR19 0x08
10495 #define _SMT1CPR20 0x10
10496 #define _SMT1CPR21 0x20
10497 #define _SMT1CPR22 0x40
10498 #define _SMT1CPR23 0x80
10500 //==============================================================================
10502 extern __at(0x0D92) __sfr SMT1CPW;
10504 //==============================================================================
10505 // SMT1CPWL Bits
10507 extern __at(0x0D92) __sfr SMT1CPWL;
10509 typedef struct
10511 unsigned SMT1CPW0 : 1;
10512 unsigned SMT1CPW1 : 1;
10513 unsigned SMT1CPW2 : 1;
10514 unsigned SMT1CPW3 : 1;
10515 unsigned SMT1CPW4 : 1;
10516 unsigned SMT1CPW5 : 1;
10517 unsigned SMT1CPW6 : 1;
10518 unsigned SMT1CPW7 : 1;
10519 } __SMT1CPWLbits_t;
10521 extern __at(0x0D92) volatile __SMT1CPWLbits_t SMT1CPWLbits;
10523 #define _SMT1CPW0 0x01
10524 #define _SMT1CPW1 0x02
10525 #define _SMT1CPW2 0x04
10526 #define _SMT1CPW3 0x08
10527 #define _SMT1CPW4 0x10
10528 #define _SMT1CPW5 0x20
10529 #define _SMT1CPW6 0x40
10530 #define _SMT1CPW7 0x80
10532 //==============================================================================
10535 //==============================================================================
10536 // SMT1CPWH Bits
10538 extern __at(0x0D93) __sfr SMT1CPWH;
10540 typedef struct
10542 unsigned SMT1CPW8 : 1;
10543 unsigned SMT1CPW9 : 1;
10544 unsigned SMT1CPW10 : 1;
10545 unsigned SMT1CPW11 : 1;
10546 unsigned SMT1CPW12 : 1;
10547 unsigned SMT1CPW13 : 1;
10548 unsigned SMT1CPW14 : 1;
10549 unsigned SMT1CPW15 : 1;
10550 } __SMT1CPWHbits_t;
10552 extern __at(0x0D93) volatile __SMT1CPWHbits_t SMT1CPWHbits;
10554 #define _SMT1CPW8 0x01
10555 #define _SMT1CPW9 0x02
10556 #define _SMT1CPW10 0x04
10557 #define _SMT1CPW11 0x08
10558 #define _SMT1CPW12 0x10
10559 #define _SMT1CPW13 0x20
10560 #define _SMT1CPW14 0x40
10561 #define _SMT1CPW15 0x80
10563 //==============================================================================
10566 //==============================================================================
10567 // SMT1CPWU Bits
10569 extern __at(0x0D94) __sfr SMT1CPWU;
10571 typedef struct
10573 unsigned SMT1CPW16 : 1;
10574 unsigned SMT1CPW17 : 1;
10575 unsigned SMT1CPW18 : 1;
10576 unsigned SMT1CPW19 : 1;
10577 unsigned SMT1CPW20 : 1;
10578 unsigned SMT1CPW21 : 1;
10579 unsigned SMT1CPW22 : 1;
10580 unsigned SMT1CPW23 : 1;
10581 } __SMT1CPWUbits_t;
10583 extern __at(0x0D94) volatile __SMT1CPWUbits_t SMT1CPWUbits;
10585 #define _SMT1CPW16 0x01
10586 #define _SMT1CPW17 0x02
10587 #define _SMT1CPW18 0x04
10588 #define _SMT1CPW19 0x08
10589 #define _SMT1CPW20 0x10
10590 #define _SMT1CPW21 0x20
10591 #define _SMT1CPW22 0x40
10592 #define _SMT1CPW23 0x80
10594 //==============================================================================
10596 extern __at(0x0D95) __sfr SMT1PR;
10598 //==============================================================================
10599 // SMT1PRL Bits
10601 extern __at(0x0D95) __sfr SMT1PRL;
10603 typedef struct
10605 unsigned SMT1PR0 : 1;
10606 unsigned SMT1PR1 : 1;
10607 unsigned SMT1PR2 : 1;
10608 unsigned SMT1PR3 : 1;
10609 unsigned SMT1PR4 : 1;
10610 unsigned SMT1PR5 : 1;
10611 unsigned SMT1PR6 : 1;
10612 unsigned SMT1PR7 : 1;
10613 } __SMT1PRLbits_t;
10615 extern __at(0x0D95) volatile __SMT1PRLbits_t SMT1PRLbits;
10617 #define _SMT1PR0 0x01
10618 #define _SMT1PR1 0x02
10619 #define _SMT1PR2 0x04
10620 #define _SMT1PR3 0x08
10621 #define _SMT1PR4 0x10
10622 #define _SMT1PR5 0x20
10623 #define _SMT1PR6 0x40
10624 #define _SMT1PR7 0x80
10626 //==============================================================================
10629 //==============================================================================
10630 // SMT1PRH Bits
10632 extern __at(0x0D96) __sfr SMT1PRH;
10634 typedef struct
10636 unsigned SMT1PR8 : 1;
10637 unsigned SMT1PR9 : 1;
10638 unsigned SMT1PR10 : 1;
10639 unsigned SMT1PR11 : 1;
10640 unsigned SMT1PR12 : 1;
10641 unsigned SMT1PR13 : 1;
10642 unsigned SMT1PR14 : 1;
10643 unsigned SMT1PR15 : 1;
10644 } __SMT1PRHbits_t;
10646 extern __at(0x0D96) volatile __SMT1PRHbits_t SMT1PRHbits;
10648 #define _SMT1PR8 0x01
10649 #define _SMT1PR9 0x02
10650 #define _SMT1PR10 0x04
10651 #define _SMT1PR11 0x08
10652 #define _SMT1PR12 0x10
10653 #define _SMT1PR13 0x20
10654 #define _SMT1PR14 0x40
10655 #define _SMT1PR15 0x80
10657 //==============================================================================
10660 //==============================================================================
10661 // SMT1PRU Bits
10663 extern __at(0x0D97) __sfr SMT1PRU;
10665 typedef struct
10667 unsigned SMT1PR16 : 1;
10668 unsigned SMT1PR17 : 1;
10669 unsigned SMT1PR18 : 1;
10670 unsigned SMT1PR19 : 1;
10671 unsigned SMT1PR20 : 1;
10672 unsigned SMT1PR21 : 1;
10673 unsigned SMT1PR22 : 1;
10674 unsigned SMT1PR23 : 1;
10675 } __SMT1PRUbits_t;
10677 extern __at(0x0D97) volatile __SMT1PRUbits_t SMT1PRUbits;
10679 #define _SMT1PR16 0x01
10680 #define _SMT1PR17 0x02
10681 #define _SMT1PR18 0x04
10682 #define _SMT1PR19 0x08
10683 #define _SMT1PR20 0x10
10684 #define _SMT1PR21 0x20
10685 #define _SMT1PR22 0x40
10686 #define _SMT1PR23 0x80
10688 //==============================================================================
10691 //==============================================================================
10692 // SMT1CON0 Bits
10694 extern __at(0x0D98) __sfr SMT1CON0;
10696 typedef union
10698 struct
10700 unsigned SMT1PS0 : 1;
10701 unsigned SMT1PS1 : 1;
10702 unsigned CPOL : 1;
10703 unsigned SPOL : 1;
10704 unsigned WPOL : 1;
10705 unsigned STP : 1;
10706 unsigned : 1;
10707 unsigned EN : 1;
10710 struct
10712 unsigned SMT1PS : 2;
10713 unsigned : 6;
10715 } __SMT1CON0bits_t;
10717 extern __at(0x0D98) volatile __SMT1CON0bits_t SMT1CON0bits;
10719 #define _SMT1CON0_SMT1PS0 0x01
10720 #define _SMT1CON0_SMT1PS1 0x02
10721 #define _SMT1CON0_CPOL 0x04
10722 #define _SMT1CON0_SPOL 0x08
10723 #define _SMT1CON0_WPOL 0x10
10724 #define _SMT1CON0_STP 0x20
10725 #define _SMT1CON0_EN 0x80
10727 //==============================================================================
10730 //==============================================================================
10731 // SMT1CON1 Bits
10733 extern __at(0x0D99) __sfr SMT1CON1;
10735 typedef union
10737 struct
10739 unsigned MODE0 : 1;
10740 unsigned MODE1 : 1;
10741 unsigned MODE2 : 1;
10742 unsigned MODE3 : 1;
10743 unsigned : 1;
10744 unsigned : 1;
10745 unsigned REPEAT : 1;
10746 unsigned SMT1GO : 1;
10749 struct
10751 unsigned SMT1MODE0 : 1;
10752 unsigned SMT1MODE1 : 1;
10753 unsigned SMT1MODE2 : 1;
10754 unsigned SMT1MODE3 : 1;
10755 unsigned : 1;
10756 unsigned : 1;
10757 unsigned SMT1REPEAT : 1;
10758 unsigned : 1;
10761 struct
10763 unsigned MODE : 4;
10764 unsigned : 4;
10767 struct
10769 unsigned SMT1MODE : 4;
10770 unsigned : 4;
10772 } __SMT1CON1bits_t;
10774 extern __at(0x0D99) volatile __SMT1CON1bits_t SMT1CON1bits;
10776 #define _SMT1CON1_MODE0 0x01
10777 #define _SMT1CON1_SMT1MODE0 0x01
10778 #define _SMT1CON1_MODE1 0x02
10779 #define _SMT1CON1_SMT1MODE1 0x02
10780 #define _SMT1CON1_MODE2 0x04
10781 #define _SMT1CON1_SMT1MODE2 0x04
10782 #define _SMT1CON1_MODE3 0x08
10783 #define _SMT1CON1_SMT1MODE3 0x08
10784 #define _SMT1CON1_REPEAT 0x40
10785 #define _SMT1CON1_SMT1REPEAT 0x40
10786 #define _SMT1CON1_SMT1GO 0x80
10788 //==============================================================================
10791 //==============================================================================
10792 // SMT1STAT Bits
10794 extern __at(0x0D9A) __sfr SMT1STAT;
10796 typedef union
10798 struct
10800 unsigned AS : 1;
10801 unsigned WS : 1;
10802 unsigned TS : 1;
10803 unsigned : 1;
10804 unsigned : 1;
10805 unsigned RST : 1;
10806 unsigned CPWUP : 1;
10807 unsigned CPRUP : 1;
10810 struct
10812 unsigned SMT1AS : 1;
10813 unsigned SMT1WS : 1;
10814 unsigned SMT1TS : 1;
10815 unsigned : 1;
10816 unsigned : 1;
10817 unsigned SMT1RESET : 1;
10818 unsigned SMT1CPWUP : 1;
10819 unsigned SMT1CPRUP : 1;
10821 } __SMT1STATbits_t;
10823 extern __at(0x0D9A) volatile __SMT1STATbits_t SMT1STATbits;
10825 #define _AS 0x01
10826 #define _SMT1AS 0x01
10827 #define _WS 0x02
10828 #define _SMT1WS 0x02
10829 #define _TS 0x04
10830 #define _SMT1TS 0x04
10831 #define _RST 0x20
10832 #define _SMT1RESET 0x20
10833 #define _CPWUP 0x40
10834 #define _SMT1CPWUP 0x40
10835 #define _CPRUP 0x80
10836 #define _SMT1CPRUP 0x80
10838 //==============================================================================
10841 //==============================================================================
10842 // SMT1CLK Bits
10844 extern __at(0x0D9B) __sfr SMT1CLK;
10846 typedef union
10848 struct
10850 unsigned CSEL0 : 1;
10851 unsigned CSEL1 : 1;
10852 unsigned CSEL2 : 1;
10853 unsigned : 1;
10854 unsigned : 1;
10855 unsigned : 1;
10856 unsigned : 1;
10857 unsigned : 1;
10860 struct
10862 unsigned SMT1CSEL0 : 1;
10863 unsigned SMT1CSEL1 : 1;
10864 unsigned SMT1CSEL2 : 1;
10865 unsigned : 1;
10866 unsigned : 1;
10867 unsigned : 1;
10868 unsigned : 1;
10869 unsigned : 1;
10872 struct
10874 unsigned CSEL : 3;
10875 unsigned : 5;
10878 struct
10880 unsigned SMT1CSEL : 3;
10881 unsigned : 5;
10883 } __SMT1CLKbits_t;
10885 extern __at(0x0D9B) volatile __SMT1CLKbits_t SMT1CLKbits;
10887 #define _CSEL0 0x01
10888 #define _SMT1CSEL0 0x01
10889 #define _CSEL1 0x02
10890 #define _SMT1CSEL1 0x02
10891 #define _CSEL2 0x04
10892 #define _SMT1CSEL2 0x04
10894 //==============================================================================
10897 //==============================================================================
10898 // SMT1SIG Bits
10900 extern __at(0x0D9C) __sfr SMT1SIG;
10902 typedef union
10904 struct
10906 unsigned SSEL0 : 1;
10907 unsigned SSEL1 : 1;
10908 unsigned SSEL2 : 1;
10909 unsigned SSEL3 : 1;
10910 unsigned SSEL4 : 1;
10911 unsigned : 1;
10912 unsigned : 1;
10913 unsigned : 1;
10916 struct
10918 unsigned SMT1SSEL0 : 1;
10919 unsigned SMT1SSEL1 : 1;
10920 unsigned SMT1SSEL2 : 1;
10921 unsigned SMT1SSEL3 : 1;
10922 unsigned SMT1SSEL4 : 1;
10923 unsigned : 1;
10924 unsigned : 1;
10925 unsigned : 1;
10928 struct
10930 unsigned SMT1SSEL : 5;
10931 unsigned : 3;
10934 struct
10936 unsigned SSEL : 5;
10937 unsigned : 3;
10939 } __SMT1SIGbits_t;
10941 extern __at(0x0D9C) volatile __SMT1SIGbits_t SMT1SIGbits;
10943 #define _SMT1SIG_SSEL0 0x01
10944 #define _SMT1SIG_SMT1SSEL0 0x01
10945 #define _SMT1SIG_SSEL1 0x02
10946 #define _SMT1SIG_SMT1SSEL1 0x02
10947 #define _SMT1SIG_SSEL2 0x04
10948 #define _SMT1SIG_SMT1SSEL2 0x04
10949 #define _SMT1SIG_SSEL3 0x08
10950 #define _SMT1SIG_SMT1SSEL3 0x08
10951 #define _SMT1SIG_SSEL4 0x10
10952 #define _SMT1SIG_SMT1SSEL4 0x10
10954 //==============================================================================
10957 //==============================================================================
10958 // SMT1WIN Bits
10960 extern __at(0x0D9D) __sfr SMT1WIN;
10962 typedef union
10964 struct
10966 unsigned WSEL0 : 1;
10967 unsigned WSEL1 : 1;
10968 unsigned WSEL2 : 1;
10969 unsigned WSEL3 : 1;
10970 unsigned WSEL4 : 1;
10971 unsigned : 1;
10972 unsigned : 1;
10973 unsigned : 1;
10976 struct
10978 unsigned SMT1WSEL0 : 1;
10979 unsigned SMT1WSEL1 : 1;
10980 unsigned SMT1WSEL2 : 1;
10981 unsigned SMT1WSEL3 : 1;
10982 unsigned SMT1WSEL4 : 1;
10983 unsigned : 1;
10984 unsigned : 1;
10985 unsigned : 1;
10988 struct
10990 unsigned WSEL : 5;
10991 unsigned : 3;
10994 struct
10996 unsigned SMT1WSEL : 5;
10997 unsigned : 3;
10999 } __SMT1WINbits_t;
11001 extern __at(0x0D9D) volatile __SMT1WINbits_t SMT1WINbits;
11003 #define _WSEL0 0x01
11004 #define _SMT1WSEL0 0x01
11005 #define _WSEL1 0x02
11006 #define _SMT1WSEL1 0x02
11007 #define _WSEL2 0x04
11008 #define _SMT1WSEL2 0x04
11009 #define _WSEL3 0x08
11010 #define _SMT1WSEL3 0x08
11011 #define _WSEL4 0x10
11012 #define _SMT1WSEL4 0x10
11014 //==============================================================================
11016 extern __at(0x0D9E) __sfr SMT2TMR;
11018 //==============================================================================
11019 // SMT2TMRL Bits
11021 extern __at(0x0D9E) __sfr SMT2TMRL;
11023 typedef struct
11025 unsigned SMT2TMR0 : 1;
11026 unsigned SMT2TMR1 : 1;
11027 unsigned SMT2TMR2 : 1;
11028 unsigned SMT2TMR3 : 1;
11029 unsigned SMT2TMR4 : 1;
11030 unsigned SMT2TMR5 : 1;
11031 unsigned SMT2TMR6 : 1;
11032 unsigned SMT2TMR7 : 1;
11033 } __SMT2TMRLbits_t;
11035 extern __at(0x0D9E) volatile __SMT2TMRLbits_t SMT2TMRLbits;
11037 #define _SMT2TMR0 0x01
11038 #define _SMT2TMR1 0x02
11039 #define _SMT2TMR2 0x04
11040 #define _SMT2TMR3 0x08
11041 #define _SMT2TMR4 0x10
11042 #define _SMT2TMR5 0x20
11043 #define _SMT2TMR6 0x40
11044 #define _SMT2TMR7 0x80
11046 //==============================================================================
11049 //==============================================================================
11050 // SMT2TMRH Bits
11052 extern __at(0x0D9F) __sfr SMT2TMRH;
11054 typedef struct
11056 unsigned SMT2TMR8 : 1;
11057 unsigned SMT2TMR9 : 1;
11058 unsigned SMT2TMR10 : 1;
11059 unsigned SMT2TMR11 : 1;
11060 unsigned SMT2TMR12 : 1;
11061 unsigned SMT2TMR13 : 1;
11062 unsigned SMT2TMR14 : 1;
11063 unsigned SMT2TMR15 : 1;
11064 } __SMT2TMRHbits_t;
11066 extern __at(0x0D9F) volatile __SMT2TMRHbits_t SMT2TMRHbits;
11068 #define _SMT2TMR8 0x01
11069 #define _SMT2TMR9 0x02
11070 #define _SMT2TMR10 0x04
11071 #define _SMT2TMR11 0x08
11072 #define _SMT2TMR12 0x10
11073 #define _SMT2TMR13 0x20
11074 #define _SMT2TMR14 0x40
11075 #define _SMT2TMR15 0x80
11077 //==============================================================================
11080 //==============================================================================
11081 // SMT2TMRU Bits
11083 extern __at(0x0DA0) __sfr SMT2TMRU;
11085 typedef struct
11087 unsigned SMT2TMR16 : 1;
11088 unsigned SMT2TMR17 : 1;
11089 unsigned SMT2TMR18 : 1;
11090 unsigned SMT2TMR19 : 1;
11091 unsigned SMT2TMR20 : 1;
11092 unsigned SMT2TMR21 : 1;
11093 unsigned SMT2TMR22 : 1;
11094 unsigned SMT2TMR23 : 1;
11095 } __SMT2TMRUbits_t;
11097 extern __at(0x0DA0) volatile __SMT2TMRUbits_t SMT2TMRUbits;
11099 #define _SMT2TMR16 0x01
11100 #define _SMT2TMR17 0x02
11101 #define _SMT2TMR18 0x04
11102 #define _SMT2TMR19 0x08
11103 #define _SMT2TMR20 0x10
11104 #define _SMT2TMR21 0x20
11105 #define _SMT2TMR22 0x40
11106 #define _SMT2TMR23 0x80
11108 //==============================================================================
11110 extern __at(0x0DA1) __sfr SMT2CPR;
11112 //==============================================================================
11113 // SMT2CPRL Bits
11115 extern __at(0x0DA1) __sfr SMT2CPRL;
11117 typedef struct
11119 unsigned SMT2CPR0 : 1;
11120 unsigned SMT2CPR1 : 1;
11121 unsigned SMT2CPR2 : 1;
11122 unsigned SMT2CPR3 : 1;
11123 unsigned SMT2CPR4 : 1;
11124 unsigned SMT2CPR5 : 1;
11125 unsigned SMT2CPR6 : 1;
11126 unsigned SMT2CPR7 : 1;
11127 } __SMT2CPRLbits_t;
11129 extern __at(0x0DA1) volatile __SMT2CPRLbits_t SMT2CPRLbits;
11131 #define _SMT2CPR0 0x01
11132 #define _SMT2CPR1 0x02
11133 #define _SMT2CPR2 0x04
11134 #define _SMT2CPR3 0x08
11135 #define _SMT2CPR4 0x10
11136 #define _SMT2CPR5 0x20
11137 #define _SMT2CPR6 0x40
11138 #define _SMT2CPR7 0x80
11140 //==============================================================================
11143 //==============================================================================
11144 // SMT2CPRH Bits
11146 extern __at(0x0DA2) __sfr SMT2CPRH;
11148 typedef struct
11150 unsigned SMT2CPR8 : 1;
11151 unsigned SMT2CPR9 : 1;
11152 unsigned SMT2CPR10 : 1;
11153 unsigned SMT2CPR11 : 1;
11154 unsigned SMT2CPR12 : 1;
11155 unsigned SMT2CPR13 : 1;
11156 unsigned SMT2CPR14 : 1;
11157 unsigned SMT2CPR15 : 1;
11158 } __SMT2CPRHbits_t;
11160 extern __at(0x0DA2) volatile __SMT2CPRHbits_t SMT2CPRHbits;
11162 #define _SMT2CPR8 0x01
11163 #define _SMT2CPR9 0x02
11164 #define _SMT2CPR10 0x04
11165 #define _SMT2CPR11 0x08
11166 #define _SMT2CPR12 0x10
11167 #define _SMT2CPR13 0x20
11168 #define _SMT2CPR14 0x40
11169 #define _SMT2CPR15 0x80
11171 //==============================================================================
11174 //==============================================================================
11175 // SMT2CPRU Bits
11177 extern __at(0x0DA3) __sfr SMT2CPRU;
11179 typedef struct
11181 unsigned SMT2CPR16 : 1;
11182 unsigned SMT2CPR17 : 1;
11183 unsigned SMT2CPR18 : 1;
11184 unsigned SMT2CPR19 : 1;
11185 unsigned SMT2CPR20 : 1;
11186 unsigned SMT2CPR21 : 1;
11187 unsigned SMT2CPR22 : 1;
11188 unsigned SMT2CPR23 : 1;
11189 } __SMT2CPRUbits_t;
11191 extern __at(0x0DA3) volatile __SMT2CPRUbits_t SMT2CPRUbits;
11193 #define _SMT2CPR16 0x01
11194 #define _SMT2CPR17 0x02
11195 #define _SMT2CPR18 0x04
11196 #define _SMT2CPR19 0x08
11197 #define _SMT2CPR20 0x10
11198 #define _SMT2CPR21 0x20
11199 #define _SMT2CPR22 0x40
11200 #define _SMT2CPR23 0x80
11202 //==============================================================================
11204 extern __at(0x0DA4) __sfr SMT2CPW;
11206 //==============================================================================
11207 // SMT2CPWL Bits
11209 extern __at(0x0DA4) __sfr SMT2CPWL;
11211 typedef struct
11213 unsigned SMT2CPW0 : 1;
11214 unsigned SMT2CPW1 : 1;
11215 unsigned SMT2CPW2 : 1;
11216 unsigned SMT2CPW3 : 1;
11217 unsigned SMT2CPW4 : 1;
11218 unsigned SMT2CPW5 : 1;
11219 unsigned SMT2CPW6 : 1;
11220 unsigned SMT2CPW7 : 1;
11221 } __SMT2CPWLbits_t;
11223 extern __at(0x0DA4) volatile __SMT2CPWLbits_t SMT2CPWLbits;
11225 #define _SMT2CPW0 0x01
11226 #define _SMT2CPW1 0x02
11227 #define _SMT2CPW2 0x04
11228 #define _SMT2CPW3 0x08
11229 #define _SMT2CPW4 0x10
11230 #define _SMT2CPW5 0x20
11231 #define _SMT2CPW6 0x40
11232 #define _SMT2CPW7 0x80
11234 //==============================================================================
11237 //==============================================================================
11238 // SMT2CPWH Bits
11240 extern __at(0x0DA5) __sfr SMT2CPWH;
11242 typedef struct
11244 unsigned SMT2CPW8 : 1;
11245 unsigned SMT2CPW9 : 1;
11246 unsigned SMT2CPW10 : 1;
11247 unsigned SMT2CPW11 : 1;
11248 unsigned SMT2CPW12 : 1;
11249 unsigned SMT2CPW13 : 1;
11250 unsigned SMT2CPW14 : 1;
11251 unsigned SMT2CPW15 : 1;
11252 } __SMT2CPWHbits_t;
11254 extern __at(0x0DA5) volatile __SMT2CPWHbits_t SMT2CPWHbits;
11256 #define _SMT2CPW8 0x01
11257 #define _SMT2CPW9 0x02
11258 #define _SMT2CPW10 0x04
11259 #define _SMT2CPW11 0x08
11260 #define _SMT2CPW12 0x10
11261 #define _SMT2CPW13 0x20
11262 #define _SMT2CPW14 0x40
11263 #define _SMT2CPW15 0x80
11265 //==============================================================================
11268 //==============================================================================
11269 // SMT2CPWU Bits
11271 extern __at(0x0DA6) __sfr SMT2CPWU;
11273 typedef struct
11275 unsigned SMT2CPW16 : 1;
11276 unsigned SMT2CPW17 : 1;
11277 unsigned SMT2CPW18 : 1;
11278 unsigned SMT2CPW19 : 1;
11279 unsigned SMT2CPW20 : 1;
11280 unsigned SMT2CPW21 : 1;
11281 unsigned SMT2CPW22 : 1;
11282 unsigned SMT2CPW23 : 1;
11283 } __SMT2CPWUbits_t;
11285 extern __at(0x0DA6) volatile __SMT2CPWUbits_t SMT2CPWUbits;
11287 #define _SMT2CPW16 0x01
11288 #define _SMT2CPW17 0x02
11289 #define _SMT2CPW18 0x04
11290 #define _SMT2CPW19 0x08
11291 #define _SMT2CPW20 0x10
11292 #define _SMT2CPW21 0x20
11293 #define _SMT2CPW22 0x40
11294 #define _SMT2CPW23 0x80
11296 //==============================================================================
11298 extern __at(0x0DA7) __sfr SMT2PR;
11300 //==============================================================================
11301 // SMT2PRL Bits
11303 extern __at(0x0DA7) __sfr SMT2PRL;
11305 typedef struct
11307 unsigned SMT2PR0 : 1;
11308 unsigned SMT2PR1 : 1;
11309 unsigned SMT2PR2 : 1;
11310 unsigned SMT2PR3 : 1;
11311 unsigned SMT2PR4 : 1;
11312 unsigned SMT2PR5 : 1;
11313 unsigned SMT2PR6 : 1;
11314 unsigned SMT2PR7 : 1;
11315 } __SMT2PRLbits_t;
11317 extern __at(0x0DA7) volatile __SMT2PRLbits_t SMT2PRLbits;
11319 #define _SMT2PR0 0x01
11320 #define _SMT2PR1 0x02
11321 #define _SMT2PR2 0x04
11322 #define _SMT2PR3 0x08
11323 #define _SMT2PR4 0x10
11324 #define _SMT2PR5 0x20
11325 #define _SMT2PR6 0x40
11326 #define _SMT2PR7 0x80
11328 //==============================================================================
11331 //==============================================================================
11332 // SMT2PRH Bits
11334 extern __at(0x0DA8) __sfr SMT2PRH;
11336 typedef struct
11338 unsigned SMT2PR8 : 1;
11339 unsigned SMT2PR9 : 1;
11340 unsigned SMT2PR10 : 1;
11341 unsigned SMT2PR11 : 1;
11342 unsigned SMT2PR12 : 1;
11343 unsigned SMT2PR13 : 1;
11344 unsigned SMT2PR14 : 1;
11345 unsigned SMT2PR15 : 1;
11346 } __SMT2PRHbits_t;
11348 extern __at(0x0DA8) volatile __SMT2PRHbits_t SMT2PRHbits;
11350 #define _SMT2PR8 0x01
11351 #define _SMT2PR9 0x02
11352 #define _SMT2PR10 0x04
11353 #define _SMT2PR11 0x08
11354 #define _SMT2PR12 0x10
11355 #define _SMT2PR13 0x20
11356 #define _SMT2PR14 0x40
11357 #define _SMT2PR15 0x80
11359 //==============================================================================
11362 //==============================================================================
11363 // SMT2PRU Bits
11365 extern __at(0x0DA9) __sfr SMT2PRU;
11367 typedef struct
11369 unsigned SMT2PR16 : 1;
11370 unsigned SMT2PR17 : 1;
11371 unsigned SMT2PR18 : 1;
11372 unsigned SMT2PR19 : 1;
11373 unsigned SMT2PR20 : 1;
11374 unsigned SMT2PR21 : 1;
11375 unsigned SMT2PR22 : 1;
11376 unsigned SMT2PR23 : 1;
11377 } __SMT2PRUbits_t;
11379 extern __at(0x0DA9) volatile __SMT2PRUbits_t SMT2PRUbits;
11381 #define _SMT2PR16 0x01
11382 #define _SMT2PR17 0x02
11383 #define _SMT2PR18 0x04
11384 #define _SMT2PR19 0x08
11385 #define _SMT2PR20 0x10
11386 #define _SMT2PR21 0x20
11387 #define _SMT2PR22 0x40
11388 #define _SMT2PR23 0x80
11390 //==============================================================================
11393 //==============================================================================
11394 // SMT2CON0 Bits
11396 extern __at(0x0DAA) __sfr SMT2CON0;
11398 typedef union
11400 struct
11402 unsigned SMT2PS0 : 1;
11403 unsigned SMT2PS1 : 1;
11404 unsigned CPOL : 1;
11405 unsigned SPOL : 1;
11406 unsigned WPOL : 1;
11407 unsigned STP : 1;
11408 unsigned : 1;
11409 unsigned EN : 1;
11412 struct
11414 unsigned SMT2PS : 2;
11415 unsigned : 6;
11417 } __SMT2CON0bits_t;
11419 extern __at(0x0DAA) volatile __SMT2CON0bits_t SMT2CON0bits;
11421 #define _SMT2CON0_SMT2PS0 0x01
11422 #define _SMT2CON0_SMT2PS1 0x02
11423 #define _SMT2CON0_CPOL 0x04
11424 #define _SMT2CON0_SPOL 0x08
11425 #define _SMT2CON0_WPOL 0x10
11426 #define _SMT2CON0_STP 0x20
11427 #define _SMT2CON0_EN 0x80
11429 //==============================================================================
11432 //==============================================================================
11433 // SMT2CON1 Bits
11435 extern __at(0x0DAB) __sfr SMT2CON1;
11437 typedef union
11439 struct
11441 unsigned MODE0 : 1;
11442 unsigned MODE1 : 1;
11443 unsigned MODE2 : 1;
11444 unsigned MODE3 : 1;
11445 unsigned : 1;
11446 unsigned : 1;
11447 unsigned REPEAT : 1;
11448 unsigned SMT2GO : 1;
11451 struct
11453 unsigned SMT2MODE0 : 1;
11454 unsigned SMT2MODE1 : 1;
11455 unsigned SMT2MODE2 : 1;
11456 unsigned SMT2MODE3 : 1;
11457 unsigned : 1;
11458 unsigned : 1;
11459 unsigned SMT2REPEAT : 1;
11460 unsigned : 1;
11463 struct
11465 unsigned SMT2MODE : 4;
11466 unsigned : 4;
11469 struct
11471 unsigned MODE : 4;
11472 unsigned : 4;
11474 } __SMT2CON1bits_t;
11476 extern __at(0x0DAB) volatile __SMT2CON1bits_t SMT2CON1bits;
11478 #define _SMT2CON1_MODE0 0x01
11479 #define _SMT2CON1_SMT2MODE0 0x01
11480 #define _SMT2CON1_MODE1 0x02
11481 #define _SMT2CON1_SMT2MODE1 0x02
11482 #define _SMT2CON1_MODE2 0x04
11483 #define _SMT2CON1_SMT2MODE2 0x04
11484 #define _SMT2CON1_MODE3 0x08
11485 #define _SMT2CON1_SMT2MODE3 0x08
11486 #define _SMT2CON1_REPEAT 0x40
11487 #define _SMT2CON1_SMT2REPEAT 0x40
11488 #define _SMT2CON1_SMT2GO 0x80
11490 //==============================================================================
11493 //==============================================================================
11494 // SMT2STAT Bits
11496 extern __at(0x0DAC) __sfr SMT2STAT;
11498 typedef union
11500 struct
11502 unsigned AS : 1;
11503 unsigned WS : 1;
11504 unsigned TS : 1;
11505 unsigned : 1;
11506 unsigned : 1;
11507 unsigned RST : 1;
11508 unsigned CPWUP : 1;
11509 unsigned CPRUP : 1;
11512 struct
11514 unsigned SMT2AS : 1;
11515 unsigned SMT2WS : 1;
11516 unsigned SMT2TS : 1;
11517 unsigned : 1;
11518 unsigned : 1;
11519 unsigned SMT2RESET : 1;
11520 unsigned SMT2CPWUP : 1;
11521 unsigned SMT2CPRUP : 1;
11523 } __SMT2STATbits_t;
11525 extern __at(0x0DAC) volatile __SMT2STATbits_t SMT2STATbits;
11527 #define _SMT2STAT_AS 0x01
11528 #define _SMT2STAT_SMT2AS 0x01
11529 #define _SMT2STAT_WS 0x02
11530 #define _SMT2STAT_SMT2WS 0x02
11531 #define _SMT2STAT_TS 0x04
11532 #define _SMT2STAT_SMT2TS 0x04
11533 #define _SMT2STAT_RST 0x20
11534 #define _SMT2STAT_SMT2RESET 0x20
11535 #define _SMT2STAT_CPWUP 0x40
11536 #define _SMT2STAT_SMT2CPWUP 0x40
11537 #define _SMT2STAT_CPRUP 0x80
11538 #define _SMT2STAT_SMT2CPRUP 0x80
11540 //==============================================================================
11543 //==============================================================================
11544 // SMT2CLK Bits
11546 extern __at(0x0DAD) __sfr SMT2CLK;
11548 typedef union
11550 struct
11552 unsigned CSEL0 : 1;
11553 unsigned CSEL1 : 1;
11554 unsigned CSEL2 : 1;
11555 unsigned : 1;
11556 unsigned : 1;
11557 unsigned : 1;
11558 unsigned : 1;
11559 unsigned : 1;
11562 struct
11564 unsigned SMT2CSEL0 : 1;
11565 unsigned SMT2CSEL1 : 1;
11566 unsigned SMT2CSEL2 : 1;
11567 unsigned : 1;
11568 unsigned : 1;
11569 unsigned : 1;
11570 unsigned : 1;
11571 unsigned : 1;
11574 struct
11576 unsigned CSEL : 3;
11577 unsigned : 5;
11580 struct
11582 unsigned SMT2CSEL : 3;
11583 unsigned : 5;
11585 } __SMT2CLKbits_t;
11587 extern __at(0x0DAD) volatile __SMT2CLKbits_t SMT2CLKbits;
11589 #define _SMT2CLK_CSEL0 0x01
11590 #define _SMT2CLK_SMT2CSEL0 0x01
11591 #define _SMT2CLK_CSEL1 0x02
11592 #define _SMT2CLK_SMT2CSEL1 0x02
11593 #define _SMT2CLK_CSEL2 0x04
11594 #define _SMT2CLK_SMT2CSEL2 0x04
11596 //==============================================================================
11599 //==============================================================================
11600 // SMT2SIG Bits
11602 extern __at(0x0DAE) __sfr SMT2SIG;
11604 typedef union
11606 struct
11608 unsigned SSEL0 : 1;
11609 unsigned SSEL1 : 1;
11610 unsigned SSEL2 : 1;
11611 unsigned SSEL3 : 1;
11612 unsigned SSEL4 : 1;
11613 unsigned : 1;
11614 unsigned : 1;
11615 unsigned : 1;
11618 struct
11620 unsigned SMT2SSEL0 : 1;
11621 unsigned SMT2SSEL1 : 1;
11622 unsigned SMT2SSEL2 : 1;
11623 unsigned SMT2SSEL3 : 1;
11624 unsigned SMT2SSEL4 : 1;
11625 unsigned : 1;
11626 unsigned : 1;
11627 unsigned : 1;
11630 struct
11632 unsigned SSEL : 5;
11633 unsigned : 3;
11636 struct
11638 unsigned SMT2SSEL : 5;
11639 unsigned : 3;
11641 } __SMT2SIGbits_t;
11643 extern __at(0x0DAE) volatile __SMT2SIGbits_t SMT2SIGbits;
11645 #define _SMT2SIG_SSEL0 0x01
11646 #define _SMT2SIG_SMT2SSEL0 0x01
11647 #define _SMT2SIG_SSEL1 0x02
11648 #define _SMT2SIG_SMT2SSEL1 0x02
11649 #define _SMT2SIG_SSEL2 0x04
11650 #define _SMT2SIG_SMT2SSEL2 0x04
11651 #define _SMT2SIG_SSEL3 0x08
11652 #define _SMT2SIG_SMT2SSEL3 0x08
11653 #define _SMT2SIG_SSEL4 0x10
11654 #define _SMT2SIG_SMT2SSEL4 0x10
11656 //==============================================================================
11659 //==============================================================================
11660 // SMT2WIN Bits
11662 extern __at(0x0DAF) __sfr SMT2WIN;
11664 typedef union
11666 struct
11668 unsigned WSEL0 : 1;
11669 unsigned WSEL1 : 1;
11670 unsigned WSEL2 : 1;
11671 unsigned WSEL3 : 1;
11672 unsigned WSEL4 : 1;
11673 unsigned : 1;
11674 unsigned : 1;
11675 unsigned : 1;
11678 struct
11680 unsigned SMT2WSEL0 : 1;
11681 unsigned SMT2WSEL1 : 1;
11682 unsigned SMT2WSEL2 : 1;
11683 unsigned SMT2WSEL3 : 1;
11684 unsigned SMT2WSEL4 : 1;
11685 unsigned : 1;
11686 unsigned : 1;
11687 unsigned : 1;
11690 struct
11692 unsigned SMT2WSEL : 5;
11693 unsigned : 3;
11696 struct
11698 unsigned WSEL : 5;
11699 unsigned : 3;
11701 } __SMT2WINbits_t;
11703 extern __at(0x0DAF) volatile __SMT2WINbits_t SMT2WINbits;
11705 #define _SMT2WIN_WSEL0 0x01
11706 #define _SMT2WIN_SMT2WSEL0 0x01
11707 #define _SMT2WIN_WSEL1 0x02
11708 #define _SMT2WIN_SMT2WSEL1 0x02
11709 #define _SMT2WIN_WSEL2 0x04
11710 #define _SMT2WIN_SMT2WSEL2 0x04
11711 #define _SMT2WIN_WSEL3 0x08
11712 #define _SMT2WIN_SMT2WSEL3 0x08
11713 #define _SMT2WIN_WSEL4 0x10
11714 #define _SMT2WIN_SMT2WSEL4 0x10
11716 //==============================================================================
11719 //==============================================================================
11720 // PPSLOCK Bits
11722 extern __at(0x0E0F) __sfr PPSLOCK;
11724 typedef struct
11726 unsigned PPSLOCKED : 1;
11727 unsigned : 1;
11728 unsigned : 1;
11729 unsigned : 1;
11730 unsigned : 1;
11731 unsigned : 1;
11732 unsigned : 1;
11733 unsigned : 1;
11734 } __PPSLOCKbits_t;
11736 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits;
11738 #define _PPSLOCKED 0x01
11740 //==============================================================================
11743 //==============================================================================
11744 // INTPPS Bits
11746 extern __at(0x0E10) __sfr INTPPS;
11748 typedef union
11750 struct
11752 unsigned INTPPS0 : 1;
11753 unsigned INTPPS1 : 1;
11754 unsigned INTPPS2 : 1;
11755 unsigned INTPPS3 : 1;
11756 unsigned INTPPS4 : 1;
11757 unsigned : 1;
11758 unsigned : 1;
11759 unsigned : 1;
11762 struct
11764 unsigned INTPPS : 5;
11765 unsigned : 3;
11767 } __INTPPSbits_t;
11769 extern __at(0x0E10) volatile __INTPPSbits_t INTPPSbits;
11771 #define _INTPPS0 0x01
11772 #define _INTPPS1 0x02
11773 #define _INTPPS2 0x04
11774 #define _INTPPS3 0x08
11775 #define _INTPPS4 0x10
11777 //==============================================================================
11780 //==============================================================================
11781 // T0CKIPPS Bits
11783 extern __at(0x0E11) __sfr T0CKIPPS;
11785 typedef union
11787 struct
11789 unsigned T0CKIPPS0 : 1;
11790 unsigned T0CKIPPS1 : 1;
11791 unsigned T0CKIPPS2 : 1;
11792 unsigned T0CKIPPS3 : 1;
11793 unsigned T0CKIPPS4 : 1;
11794 unsigned : 1;
11795 unsigned : 1;
11796 unsigned : 1;
11799 struct
11801 unsigned T0CKIPPS : 5;
11802 unsigned : 3;
11804 } __T0CKIPPSbits_t;
11806 extern __at(0x0E11) volatile __T0CKIPPSbits_t T0CKIPPSbits;
11808 #define _T0CKIPPS0 0x01
11809 #define _T0CKIPPS1 0x02
11810 #define _T0CKIPPS2 0x04
11811 #define _T0CKIPPS3 0x08
11812 #define _T0CKIPPS4 0x10
11814 //==============================================================================
11817 //==============================================================================
11818 // T1CKIPPS Bits
11820 extern __at(0x0E12) __sfr T1CKIPPS;
11822 typedef union
11824 struct
11826 unsigned T1CKIPPS0 : 1;
11827 unsigned T1CKIPPS1 : 1;
11828 unsigned T1CKIPPS2 : 1;
11829 unsigned T1CKIPPS3 : 1;
11830 unsigned T1CKIPPS4 : 1;
11831 unsigned : 1;
11832 unsigned : 1;
11833 unsigned : 1;
11836 struct
11838 unsigned T1CKIPPS : 5;
11839 unsigned : 3;
11841 } __T1CKIPPSbits_t;
11843 extern __at(0x0E12) volatile __T1CKIPPSbits_t T1CKIPPSbits;
11845 #define _T1CKIPPS0 0x01
11846 #define _T1CKIPPS1 0x02
11847 #define _T1CKIPPS2 0x04
11848 #define _T1CKIPPS3 0x08
11849 #define _T1CKIPPS4 0x10
11851 //==============================================================================
11854 //==============================================================================
11855 // T1GPPS Bits
11857 extern __at(0x0E13) __sfr T1GPPS;
11859 typedef union
11861 struct
11863 unsigned T1GPPS0 : 1;
11864 unsigned T1GPPS1 : 1;
11865 unsigned T1GPPS2 : 1;
11866 unsigned T1GPPS3 : 1;
11867 unsigned T1GPPS4 : 1;
11868 unsigned : 1;
11869 unsigned : 1;
11870 unsigned : 1;
11873 struct
11875 unsigned T1GPPS : 5;
11876 unsigned : 3;
11878 } __T1GPPSbits_t;
11880 extern __at(0x0E13) volatile __T1GPPSbits_t T1GPPSbits;
11882 #define _T1GPPS0 0x01
11883 #define _T1GPPS1 0x02
11884 #define _T1GPPS2 0x04
11885 #define _T1GPPS3 0x08
11886 #define _T1GPPS4 0x10
11888 //==============================================================================
11891 //==============================================================================
11892 // CCP1PPS Bits
11894 extern __at(0x0E14) __sfr CCP1PPS;
11896 typedef union
11898 struct
11900 unsigned CCP1PPS0 : 1;
11901 unsigned CCP1PPS1 : 1;
11902 unsigned CCP1PPS2 : 1;
11903 unsigned CCP1PPS3 : 1;
11904 unsigned CCP1PPS4 : 1;
11905 unsigned : 1;
11906 unsigned : 1;
11907 unsigned : 1;
11910 struct
11912 unsigned CCP1PPS : 5;
11913 unsigned : 3;
11915 } __CCP1PPSbits_t;
11917 extern __at(0x0E14) volatile __CCP1PPSbits_t CCP1PPSbits;
11919 #define _CCP1PPS0 0x01
11920 #define _CCP1PPS1 0x02
11921 #define _CCP1PPS2 0x04
11922 #define _CCP1PPS3 0x08
11923 #define _CCP1PPS4 0x10
11925 //==============================================================================
11928 //==============================================================================
11929 // CCP2PPS Bits
11931 extern __at(0x0E15) __sfr CCP2PPS;
11933 typedef union
11935 struct
11937 unsigned CCP2PPS0 : 1;
11938 unsigned CCP2PPS1 : 1;
11939 unsigned CCP2PPS2 : 1;
11940 unsigned CCP2PPS3 : 1;
11941 unsigned CCP2PPS4 : 1;
11942 unsigned : 1;
11943 unsigned : 1;
11944 unsigned : 1;
11947 struct
11949 unsigned CCP2PPS : 5;
11950 unsigned : 3;
11952 } __CCP2PPSbits_t;
11954 extern __at(0x0E15) volatile __CCP2PPSbits_t CCP2PPSbits;
11956 #define _CCP2PPS0 0x01
11957 #define _CCP2PPS1 0x02
11958 #define _CCP2PPS2 0x04
11959 #define _CCP2PPS3 0x08
11960 #define _CCP2PPS4 0x10
11962 //==============================================================================
11965 //==============================================================================
11966 // ATINPPS Bits
11968 extern __at(0x0E16) __sfr ATINPPS;
11970 typedef union
11972 struct
11974 unsigned ATINPPS0 : 1;
11975 unsigned ATINPPS1 : 1;
11976 unsigned ATINPPS2 : 1;
11977 unsigned ATINPPS3 : 1;
11978 unsigned ATINPPS4 : 1;
11979 unsigned : 1;
11980 unsigned : 1;
11981 unsigned : 1;
11984 struct
11986 unsigned ATINPPS : 5;
11987 unsigned : 3;
11989 } __ATINPPSbits_t;
11991 extern __at(0x0E16) volatile __ATINPPSbits_t ATINPPSbits;
11993 #define _ATINPPS0 0x01
11994 #define _ATINPPS1 0x02
11995 #define _ATINPPS2 0x04
11996 #define _ATINPPS3 0x08
11997 #define _ATINPPS4 0x10
11999 //==============================================================================
12002 //==============================================================================
12003 // CWGINPPS Bits
12005 extern __at(0x0E17) __sfr CWGINPPS;
12007 typedef union
12009 struct
12011 unsigned CWGINPPS0 : 1;
12012 unsigned CWGINPPS1 : 1;
12013 unsigned CWGINPPS2 : 1;
12014 unsigned CWGINPPS3 : 1;
12015 unsigned CWGINPPS4 : 1;
12016 unsigned : 1;
12017 unsigned : 1;
12018 unsigned : 1;
12021 struct
12023 unsigned CWGINPPS : 5;
12024 unsigned : 3;
12026 } __CWGINPPSbits_t;
12028 extern __at(0x0E17) volatile __CWGINPPSbits_t CWGINPPSbits;
12030 #define _CWGINPPS0 0x01
12031 #define _CWGINPPS1 0x02
12032 #define _CWGINPPS2 0x04
12033 #define _CWGINPPS3 0x08
12034 #define _CWGINPPS4 0x10
12036 //==============================================================================
12039 //==============================================================================
12040 // T2PPS Bits
12042 extern __at(0x0E18) __sfr T2PPS;
12044 typedef union
12046 struct
12048 unsigned T2PPS0 : 1;
12049 unsigned T2PPS1 : 1;
12050 unsigned T2PPS2 : 1;
12051 unsigned T2PPS3 : 1;
12052 unsigned T2PPS4 : 1;
12053 unsigned : 1;
12054 unsigned : 1;
12055 unsigned : 1;
12058 struct
12060 unsigned T2PPS : 5;
12061 unsigned : 3;
12063 } __T2PPSbits_t;
12065 extern __at(0x0E18) volatile __T2PPSbits_t T2PPSbits;
12067 #define _T2PPS0 0x01
12068 #define _T2PPS1 0x02
12069 #define _T2PPS2 0x04
12070 #define _T2PPS3 0x08
12071 #define _T2PPS4 0x10
12073 //==============================================================================
12076 //==============================================================================
12077 // T3CKIPPS Bits
12079 extern __at(0x0E19) __sfr T3CKIPPS;
12081 typedef union
12083 struct
12085 unsigned T3CKIPPS0 : 1;
12086 unsigned T3CKIPPS1 : 1;
12087 unsigned T3CKIPPS2 : 1;
12088 unsigned T3CKIPPS3 : 1;
12089 unsigned T3CKIPPS4 : 1;
12090 unsigned : 1;
12091 unsigned : 1;
12092 unsigned : 1;
12095 struct
12097 unsigned T3CKIPPS : 5;
12098 unsigned : 3;
12100 } __T3CKIPPSbits_t;
12102 extern __at(0x0E19) volatile __T3CKIPPSbits_t T3CKIPPSbits;
12104 #define _T3CKIPPS0 0x01
12105 #define _T3CKIPPS1 0x02
12106 #define _T3CKIPPS2 0x04
12107 #define _T3CKIPPS3 0x08
12108 #define _T3CKIPPS4 0x10
12110 //==============================================================================
12113 //==============================================================================
12114 // T3GPPS Bits
12116 extern __at(0x0E1A) __sfr T3GPPS;
12118 typedef union
12120 struct
12122 unsigned T3GPPS0 : 1;
12123 unsigned T3GPPS1 : 1;
12124 unsigned T3GPPS2 : 1;
12125 unsigned T3GPPS3 : 1;
12126 unsigned T3GPPS4 : 1;
12127 unsigned : 1;
12128 unsigned : 1;
12129 unsigned : 1;
12132 struct
12134 unsigned T3GPPS : 5;
12135 unsigned : 3;
12137 } __T3GPPSbits_t;
12139 extern __at(0x0E1A) volatile __T3GPPSbits_t T3GPPSbits;
12141 #define _T3GPPS0 0x01
12142 #define _T3GPPS1 0x02
12143 #define _T3GPPS2 0x04
12144 #define _T3GPPS3 0x08
12145 #define _T3GPPS4 0x10
12147 //==============================================================================
12150 //==============================================================================
12151 // T4PPS Bits
12153 extern __at(0x0E1B) __sfr T4PPS;
12155 typedef union
12157 struct
12159 unsigned T4PPS0 : 1;
12160 unsigned T4PPS1 : 1;
12161 unsigned T4PPS2 : 1;
12162 unsigned T4PPS3 : 1;
12163 unsigned T4PPS4 : 1;
12164 unsigned : 1;
12165 unsigned : 1;
12166 unsigned : 1;
12169 struct
12171 unsigned T4PPS : 5;
12172 unsigned : 3;
12174 } __T4PPSbits_t;
12176 extern __at(0x0E1B) volatile __T4PPSbits_t T4PPSbits;
12178 #define _T4PPS0 0x01
12179 #define _T4PPS1 0x02
12180 #define _T4PPS2 0x04
12181 #define _T4PPS3 0x08
12182 #define _T4PPS4 0x10
12184 //==============================================================================
12187 //==============================================================================
12188 // T5CKIPPS Bits
12190 extern __at(0x0E1C) __sfr T5CKIPPS;
12192 typedef union
12194 struct
12196 unsigned T5CKIPPS0 : 1;
12197 unsigned T5CKIPPS1 : 1;
12198 unsigned T5CKIPPS2 : 1;
12199 unsigned T5CKIPPS3 : 1;
12200 unsigned T5CKIPPS4 : 1;
12201 unsigned : 1;
12202 unsigned : 1;
12203 unsigned : 1;
12206 struct
12208 unsigned T5CKIPPS : 5;
12209 unsigned : 3;
12211 } __T5CKIPPSbits_t;
12213 extern __at(0x0E1C) volatile __T5CKIPPSbits_t T5CKIPPSbits;
12215 #define _T5CKIPPS0 0x01
12216 #define _T5CKIPPS1 0x02
12217 #define _T5CKIPPS2 0x04
12218 #define _T5CKIPPS3 0x08
12219 #define _T5CKIPPS4 0x10
12221 //==============================================================================
12224 //==============================================================================
12225 // T5GPPS Bits
12227 extern __at(0x0E1D) __sfr T5GPPS;
12229 typedef union
12231 struct
12233 unsigned T5GPPS0 : 1;
12234 unsigned T5GPPS1 : 1;
12235 unsigned T5GPPS2 : 1;
12236 unsigned T5GPPS3 : 1;
12237 unsigned T5GPPS4 : 1;
12238 unsigned : 1;
12239 unsigned : 1;
12240 unsigned : 1;
12243 struct
12245 unsigned T5GPPS : 5;
12246 unsigned : 3;
12248 } __T5GPPSbits_t;
12250 extern __at(0x0E1D) volatile __T5GPPSbits_t T5GPPSbits;
12252 #define _T5GPPS0 0x01
12253 #define _T5GPPS1 0x02
12254 #define _T5GPPS2 0x04
12255 #define _T5GPPS3 0x08
12256 #define _T5GPPS4 0x10
12258 //==============================================================================
12261 //==============================================================================
12262 // T6PPS Bits
12264 extern __at(0x0E1E) __sfr T6PPS;
12266 typedef union
12268 struct
12270 unsigned T6PPS0 : 1;
12271 unsigned T6PPS1 : 1;
12272 unsigned T6PPS2 : 1;
12273 unsigned T6PPS3 : 1;
12274 unsigned T6PPS4 : 1;
12275 unsigned : 1;
12276 unsigned : 1;
12277 unsigned : 1;
12280 struct
12282 unsigned T6PPS : 5;
12283 unsigned : 3;
12285 } __T6PPSbits_t;
12287 extern __at(0x0E1E) volatile __T6PPSbits_t T6PPSbits;
12289 #define _T6PPS0 0x01
12290 #define _T6PPS1 0x02
12291 #define _T6PPS2 0x04
12292 #define _T6PPS3 0x08
12293 #define _T6PPS4 0x10
12295 //==============================================================================
12298 //==============================================================================
12299 // ATCC1PPS Bits
12301 extern __at(0x0E1F) __sfr ATCC1PPS;
12303 typedef union
12305 struct
12307 unsigned ATCC1PPS0 : 1;
12308 unsigned ATCC1PPS1 : 1;
12309 unsigned ATCC1PPS2 : 1;
12310 unsigned ATCC1PPS3 : 1;
12311 unsigned ATCC1PPS4 : 1;
12312 unsigned : 1;
12313 unsigned : 1;
12314 unsigned : 1;
12317 struct
12319 unsigned ATCC1PPS : 5;
12320 unsigned : 3;
12322 } __ATCC1PPSbits_t;
12324 extern __at(0x0E1F) volatile __ATCC1PPSbits_t ATCC1PPSbits;
12326 #define _ATCC1PPS0 0x01
12327 #define _ATCC1PPS1 0x02
12328 #define _ATCC1PPS2 0x04
12329 #define _ATCC1PPS3 0x08
12330 #define _ATCC1PPS4 0x10
12332 //==============================================================================
12335 //==============================================================================
12336 // SSPCLKPPS Bits
12338 extern __at(0x0E20) __sfr SSPCLKPPS;
12340 typedef union
12342 struct
12344 unsigned SSPCLKPPS0 : 1;
12345 unsigned SSPCLKPPS1 : 1;
12346 unsigned SSPCLKPPS2 : 1;
12347 unsigned SSPCLKPPS3 : 1;
12348 unsigned SSPCLKPPS4 : 1;
12349 unsigned : 1;
12350 unsigned : 1;
12351 unsigned : 1;
12354 struct
12356 unsigned SSPCLKPPS : 5;
12357 unsigned : 3;
12359 } __SSPCLKPPSbits_t;
12361 extern __at(0x0E20) volatile __SSPCLKPPSbits_t SSPCLKPPSbits;
12363 #define _SSPCLKPPS0 0x01
12364 #define _SSPCLKPPS1 0x02
12365 #define _SSPCLKPPS2 0x04
12366 #define _SSPCLKPPS3 0x08
12367 #define _SSPCLKPPS4 0x10
12369 //==============================================================================
12372 //==============================================================================
12373 // SSPDATPPS Bits
12375 extern __at(0x0E21) __sfr SSPDATPPS;
12377 typedef union
12379 struct
12381 unsigned SSPDATPPS0 : 1;
12382 unsigned SSPDATPPS1 : 1;
12383 unsigned SSPDATPPS2 : 1;
12384 unsigned SSPDATPPS3 : 1;
12385 unsigned SSPDATPPS4 : 1;
12386 unsigned : 1;
12387 unsigned : 1;
12388 unsigned : 1;
12391 struct
12393 unsigned SSPDATPPS : 5;
12394 unsigned : 3;
12396 } __SSPDATPPSbits_t;
12398 extern __at(0x0E21) volatile __SSPDATPPSbits_t SSPDATPPSbits;
12400 #define _SSPDATPPS0 0x01
12401 #define _SSPDATPPS1 0x02
12402 #define _SSPDATPPS2 0x04
12403 #define _SSPDATPPS3 0x08
12404 #define _SSPDATPPS4 0x10
12406 //==============================================================================
12409 //==============================================================================
12410 // SSPSSPPS Bits
12412 extern __at(0x0E22) __sfr SSPSSPPS;
12414 typedef union
12416 struct
12418 unsigned SSPSSPPS0 : 1;
12419 unsigned SSPSSPPS1 : 1;
12420 unsigned SSPSSPPS2 : 1;
12421 unsigned SSPSSPPS3 : 1;
12422 unsigned SSPSSPPS4 : 1;
12423 unsigned : 1;
12424 unsigned : 1;
12425 unsigned : 1;
12428 struct
12430 unsigned SSPSSPPS : 5;
12431 unsigned : 3;
12433 } __SSPSSPPSbits_t;
12435 extern __at(0x0E22) volatile __SSPSSPPSbits_t SSPSSPPSbits;
12437 #define _SSPSSPPS0 0x01
12438 #define _SSPSSPPS1 0x02
12439 #define _SSPSSPPS2 0x04
12440 #define _SSPSSPPS3 0x08
12441 #define _SSPSSPPS4 0x10
12443 //==============================================================================
12446 //==============================================================================
12447 // ATCC2PPS Bits
12449 extern __at(0x0E23) __sfr ATCC2PPS;
12451 typedef union
12453 struct
12455 unsigned ATCC2PPS0 : 1;
12456 unsigned ATCC2PPS1 : 1;
12457 unsigned ATCC2PPS2 : 1;
12458 unsigned ATCC2PPS3 : 1;
12459 unsigned ATCC2PPS4 : 1;
12460 unsigned : 1;
12461 unsigned : 1;
12462 unsigned : 1;
12465 struct
12467 unsigned ATCC2PPS : 5;
12468 unsigned : 3;
12470 } __ATCC2PPSbits_t;
12472 extern __at(0x0E23) volatile __ATCC2PPSbits_t ATCC2PPSbits;
12474 #define _ATCC2PPS0 0x01
12475 #define _ATCC2PPS1 0x02
12476 #define _ATCC2PPS2 0x04
12477 #define _ATCC2PPS3 0x08
12478 #define _ATCC2PPS4 0x10
12480 //==============================================================================
12483 //==============================================================================
12484 // RXPPS Bits
12486 extern __at(0x0E24) __sfr RXPPS;
12488 typedef union
12490 struct
12492 unsigned RXPPS0 : 1;
12493 unsigned RXPPS1 : 1;
12494 unsigned RXPPS2 : 1;
12495 unsigned RXPPS3 : 1;
12496 unsigned RXPPS4 : 1;
12497 unsigned : 1;
12498 unsigned : 1;
12499 unsigned : 1;
12502 struct
12504 unsigned RXPPS : 5;
12505 unsigned : 3;
12507 } __RXPPSbits_t;
12509 extern __at(0x0E24) volatile __RXPPSbits_t RXPPSbits;
12511 #define _RXPPS0 0x01
12512 #define _RXPPS1 0x02
12513 #define _RXPPS2 0x04
12514 #define _RXPPS3 0x08
12515 #define _RXPPS4 0x10
12517 //==============================================================================
12520 //==============================================================================
12521 // CKPPS Bits
12523 extern __at(0x0E25) __sfr CKPPS;
12525 typedef union
12527 struct
12529 unsigned CKPPS0 : 1;
12530 unsigned CKPPS1 : 1;
12531 unsigned CKPPS2 : 1;
12532 unsigned CKPPS3 : 1;
12533 unsigned CKPPS4 : 1;
12534 unsigned : 1;
12535 unsigned : 1;
12536 unsigned : 1;
12539 struct
12541 unsigned CKPPS : 5;
12542 unsigned : 3;
12544 } __CKPPSbits_t;
12546 extern __at(0x0E25) volatile __CKPPSbits_t CKPPSbits;
12548 #define _CKPPS0 0x01
12549 #define _CKPPS1 0x02
12550 #define _CKPPS2 0x04
12551 #define _CKPPS3 0x08
12552 #define _CKPPS4 0x10
12554 //==============================================================================
12557 //==============================================================================
12558 // SMT1SIGPPS Bits
12560 extern __at(0x0E26) __sfr SMT1SIGPPS;
12562 typedef union
12564 struct
12566 unsigned SMT1SIGPPS0 : 1;
12567 unsigned SMT1SIGPPS1 : 1;
12568 unsigned SMT1SIGPPS2 : 1;
12569 unsigned SMT1SIGPPS3 : 1;
12570 unsigned SMT1SIGPPS4 : 1;
12571 unsigned : 1;
12572 unsigned : 1;
12573 unsigned : 1;
12576 struct
12578 unsigned SMT1SIGPPS : 5;
12579 unsigned : 3;
12581 } __SMT1SIGPPSbits_t;
12583 extern __at(0x0E26) volatile __SMT1SIGPPSbits_t SMT1SIGPPSbits;
12585 #define _SMT1SIGPPS0 0x01
12586 #define _SMT1SIGPPS1 0x02
12587 #define _SMT1SIGPPS2 0x04
12588 #define _SMT1SIGPPS3 0x08
12589 #define _SMT1SIGPPS4 0x10
12591 //==============================================================================
12594 //==============================================================================
12595 // SMT1WINPPS Bits
12597 extern __at(0x0E27) __sfr SMT1WINPPS;
12599 typedef union
12601 struct
12603 unsigned SMTWINPPS0 : 1;
12604 unsigned SMTWINPPS1 : 1;
12605 unsigned SMTWINPPS2 : 1;
12606 unsigned SMTWINPPS3 : 1;
12607 unsigned SMTWINPPS4 : 1;
12608 unsigned : 1;
12609 unsigned : 1;
12610 unsigned : 1;
12613 struct
12615 unsigned SMTWINPPS : 5;
12616 unsigned : 3;
12618 } __SMT1WINPPSbits_t;
12620 extern __at(0x0E27) volatile __SMT1WINPPSbits_t SMT1WINPPSbits;
12622 #define _SMTWINPPS0 0x01
12623 #define _SMTWINPPS1 0x02
12624 #define _SMTWINPPS2 0x04
12625 #define _SMTWINPPS3 0x08
12626 #define _SMTWINPPS4 0x10
12628 //==============================================================================
12631 //==============================================================================
12632 // CLCIN0PPS Bits
12634 extern __at(0x0E28) __sfr CLCIN0PPS;
12636 typedef union
12638 struct
12640 unsigned CLCIN0PPS0 : 1;
12641 unsigned CLCIN0PPS1 : 1;
12642 unsigned CLCIN0PPS2 : 1;
12643 unsigned CLCIN0PPS3 : 1;
12644 unsigned CLCIN0PPS4 : 1;
12645 unsigned : 1;
12646 unsigned : 1;
12647 unsigned : 1;
12650 struct
12652 unsigned CLCIN0PPS : 5;
12653 unsigned : 3;
12655 } __CLCIN0PPSbits_t;
12657 extern __at(0x0E28) volatile __CLCIN0PPSbits_t CLCIN0PPSbits;
12659 #define _CLCIN0PPS0 0x01
12660 #define _CLCIN0PPS1 0x02
12661 #define _CLCIN0PPS2 0x04
12662 #define _CLCIN0PPS3 0x08
12663 #define _CLCIN0PPS4 0x10
12665 //==============================================================================
12668 //==============================================================================
12669 // CLCIN1PPS Bits
12671 extern __at(0x0E29) __sfr CLCIN1PPS;
12673 typedef union
12675 struct
12677 unsigned CLCIN1PPS0 : 1;
12678 unsigned CLCIN1PPS1 : 1;
12679 unsigned CLCIN1PPS2 : 1;
12680 unsigned CLCIN1PPS3 : 1;
12681 unsigned CLCIN1PPS4 : 1;
12682 unsigned : 1;
12683 unsigned : 1;
12684 unsigned : 1;
12687 struct
12689 unsigned CLCIN1PPS : 5;
12690 unsigned : 3;
12692 } __CLCIN1PPSbits_t;
12694 extern __at(0x0E29) volatile __CLCIN1PPSbits_t CLCIN1PPSbits;
12696 #define _CLCIN1PPS0 0x01
12697 #define _CLCIN1PPS1 0x02
12698 #define _CLCIN1PPS2 0x04
12699 #define _CLCIN1PPS3 0x08
12700 #define _CLCIN1PPS4 0x10
12702 //==============================================================================
12705 //==============================================================================
12706 // CLCIN2PPS Bits
12708 extern __at(0x0E2A) __sfr CLCIN2PPS;
12710 typedef union
12712 struct
12714 unsigned CLCIN2PPS0 : 1;
12715 unsigned CLCIN2PPS1 : 1;
12716 unsigned CLCIN2PPS2 : 1;
12717 unsigned CLCIN2PPS3 : 1;
12718 unsigned CLCIN2PPS4 : 1;
12719 unsigned : 1;
12720 unsigned : 1;
12721 unsigned : 1;
12724 struct
12726 unsigned CLCIN2PPS : 5;
12727 unsigned : 3;
12729 } __CLCIN2PPSbits_t;
12731 extern __at(0x0E2A) volatile __CLCIN2PPSbits_t CLCIN2PPSbits;
12733 #define _CLCIN2PPS0 0x01
12734 #define _CLCIN2PPS1 0x02
12735 #define _CLCIN2PPS2 0x04
12736 #define _CLCIN2PPS3 0x08
12737 #define _CLCIN2PPS4 0x10
12739 //==============================================================================
12742 //==============================================================================
12743 // CLCIN3PPS Bits
12745 extern __at(0x0E2B) __sfr CLCIN3PPS;
12747 typedef union
12749 struct
12751 unsigned CLCIN3PPS0 : 1;
12752 unsigned CLCIN3PPS1 : 1;
12753 unsigned CLCIN3PPS2 : 1;
12754 unsigned CLCIN3PPS3 : 1;
12755 unsigned CLCIN3PPS4 : 1;
12756 unsigned : 1;
12757 unsigned : 1;
12758 unsigned : 1;
12761 struct
12763 unsigned CLCIN3PPS : 5;
12764 unsigned : 3;
12766 } __CLCIN3PPSbits_t;
12768 extern __at(0x0E2B) volatile __CLCIN3PPSbits_t CLCIN3PPSbits;
12770 #define _CLCIN3PPS0 0x01
12771 #define _CLCIN3PPS1 0x02
12772 #define _CLCIN3PPS2 0x04
12773 #define _CLCIN3PPS3 0x08
12774 #define _CLCIN3PPS4 0x10
12776 //==============================================================================
12779 //==============================================================================
12780 // SMT2SIGPPS Bits
12782 extern __at(0x0E2C) __sfr SMT2SIGPPS;
12784 typedef union
12786 struct
12788 unsigned SMT2SIGPPS0 : 1;
12789 unsigned SMT2SIGPPS1 : 1;
12790 unsigned SMT2SIGPPS2 : 1;
12791 unsigned SMT2SIGPPS3 : 1;
12792 unsigned SMT2SIGPPS4 : 1;
12793 unsigned : 1;
12794 unsigned : 1;
12795 unsigned : 1;
12798 struct
12800 unsigned SMT2SIGPPS : 5;
12801 unsigned : 3;
12803 } __SMT2SIGPPSbits_t;
12805 extern __at(0x0E2C) volatile __SMT2SIGPPSbits_t SMT2SIGPPSbits;
12807 #define _SMT2SIGPPS0 0x01
12808 #define _SMT2SIGPPS1 0x02
12809 #define _SMT2SIGPPS2 0x04
12810 #define _SMT2SIGPPS3 0x08
12811 #define _SMT2SIGPPS4 0x10
12813 //==============================================================================
12816 //==============================================================================
12817 // SMT2WINPPS Bits
12819 extern __at(0x0E2D) __sfr SMT2WINPPS;
12821 typedef union
12823 struct
12825 unsigned SMT2WINPPS0 : 1;
12826 unsigned SMT2WINPPS1 : 1;
12827 unsigned SMT2WINPPS2 : 1;
12828 unsigned SMT2WINPPS3 : 1;
12829 unsigned SMT2WINPPS4 : 1;
12830 unsigned : 1;
12831 unsigned : 1;
12832 unsigned : 1;
12835 struct
12837 unsigned SMT2WINPPS : 5;
12838 unsigned : 3;
12840 } __SMT2WINPPSbits_t;
12842 extern __at(0x0E2D) volatile __SMT2WINPPSbits_t SMT2WINPPSbits;
12844 #define _SMT2WINPPS0 0x01
12845 #define _SMT2WINPPS1 0x02
12846 #define _SMT2WINPPS2 0x04
12847 #define _SMT2WINPPS3 0x08
12848 #define _SMT2WINPPS4 0x10
12850 //==============================================================================
12853 //==============================================================================
12854 // ATCC3PPS Bits
12856 extern __at(0x0E2E) __sfr ATCC3PPS;
12858 typedef union
12860 struct
12862 unsigned ATCC3PPS0 : 1;
12863 unsigned ATCC3PPS1 : 1;
12864 unsigned ATCC3PPS2 : 1;
12865 unsigned ATCC3PPS3 : 1;
12866 unsigned ATCC3PPS4 : 1;
12867 unsigned : 1;
12868 unsigned : 1;
12869 unsigned : 1;
12872 struct
12874 unsigned ATCC3PPS : 5;
12875 unsigned : 3;
12877 } __ATCC3PPSbits_t;
12879 extern __at(0x0E2E) volatile __ATCC3PPSbits_t ATCC3PPSbits;
12881 #define _ATCC3PPS0 0x01
12882 #define _ATCC3PPS1 0x02
12883 #define _ATCC3PPS2 0x04
12884 #define _ATCC3PPS3 0x08
12885 #define _ATCC3PPS4 0x10
12887 //==============================================================================
12890 //==============================================================================
12891 // RA0PPS Bits
12893 extern __at(0x0E90) __sfr RA0PPS;
12895 typedef union
12897 struct
12899 unsigned RA0PPS0 : 1;
12900 unsigned RA0PPS1 : 1;
12901 unsigned RA0PPS2 : 1;
12902 unsigned RA0PPS3 : 1;
12903 unsigned RA0PPS4 : 1;
12904 unsigned : 1;
12905 unsigned : 1;
12906 unsigned : 1;
12909 struct
12911 unsigned RA0PPS : 5;
12912 unsigned : 3;
12914 } __RA0PPSbits_t;
12916 extern __at(0x0E90) volatile __RA0PPSbits_t RA0PPSbits;
12918 #define _RA0PPS0 0x01
12919 #define _RA0PPS1 0x02
12920 #define _RA0PPS2 0x04
12921 #define _RA0PPS3 0x08
12922 #define _RA0PPS4 0x10
12924 //==============================================================================
12927 //==============================================================================
12928 // RA1PPS Bits
12930 extern __at(0x0E91) __sfr RA1PPS;
12932 typedef union
12934 struct
12936 unsigned RA1PPS0 : 1;
12937 unsigned RA1PPS1 : 1;
12938 unsigned RA1PPS2 : 1;
12939 unsigned RA1PPS3 : 1;
12940 unsigned RA1PPS4 : 1;
12941 unsigned : 1;
12942 unsigned : 1;
12943 unsigned : 1;
12946 struct
12948 unsigned RA1PPS : 5;
12949 unsigned : 3;
12951 } __RA1PPSbits_t;
12953 extern __at(0x0E91) volatile __RA1PPSbits_t RA1PPSbits;
12955 #define _RA1PPS0 0x01
12956 #define _RA1PPS1 0x02
12957 #define _RA1PPS2 0x04
12958 #define _RA1PPS3 0x08
12959 #define _RA1PPS4 0x10
12961 //==============================================================================
12964 //==============================================================================
12965 // RA2PPS Bits
12967 extern __at(0x0E92) __sfr RA2PPS;
12969 typedef union
12971 struct
12973 unsigned RA2PPS0 : 1;
12974 unsigned RA2PPS1 : 1;
12975 unsigned RA2PPS2 : 1;
12976 unsigned RA2PPS3 : 1;
12977 unsigned RA2PPS4 : 1;
12978 unsigned : 1;
12979 unsigned : 1;
12980 unsigned : 1;
12983 struct
12985 unsigned RA2PPS : 5;
12986 unsigned : 3;
12988 } __RA2PPSbits_t;
12990 extern __at(0x0E92) volatile __RA2PPSbits_t RA2PPSbits;
12992 #define _RA2PPS0 0x01
12993 #define _RA2PPS1 0x02
12994 #define _RA2PPS2 0x04
12995 #define _RA2PPS3 0x08
12996 #define _RA2PPS4 0x10
12998 //==============================================================================
13001 //==============================================================================
13002 // RA4PPS Bits
13004 extern __at(0x0E94) __sfr RA4PPS;
13006 typedef union
13008 struct
13010 unsigned RA4PPS0 : 1;
13011 unsigned RA4PPS1 : 1;
13012 unsigned RA4PPS2 : 1;
13013 unsigned RA4PPS3 : 1;
13014 unsigned RA4PPS4 : 1;
13015 unsigned : 1;
13016 unsigned : 1;
13017 unsigned : 1;
13020 struct
13022 unsigned RA4PPS : 5;
13023 unsigned : 3;
13025 } __RA4PPSbits_t;
13027 extern __at(0x0E94) volatile __RA4PPSbits_t RA4PPSbits;
13029 #define _RA4PPS0 0x01
13030 #define _RA4PPS1 0x02
13031 #define _RA4PPS2 0x04
13032 #define _RA4PPS3 0x08
13033 #define _RA4PPS4 0x10
13035 //==============================================================================
13038 //==============================================================================
13039 // RA5PPS Bits
13041 extern __at(0x0E95) __sfr RA5PPS;
13043 typedef union
13045 struct
13047 unsigned RA5PPS0 : 1;
13048 unsigned RA5PPS1 : 1;
13049 unsigned RA5PPS2 : 1;
13050 unsigned RA5PPS3 : 1;
13051 unsigned RA5PPS4 : 1;
13052 unsigned : 1;
13053 unsigned : 1;
13054 unsigned : 1;
13057 struct
13059 unsigned RA5PPS : 5;
13060 unsigned : 3;
13062 } __RA5PPSbits_t;
13064 extern __at(0x0E95) volatile __RA5PPSbits_t RA5PPSbits;
13066 #define _RA5PPS0 0x01
13067 #define _RA5PPS1 0x02
13068 #define _RA5PPS2 0x04
13069 #define _RA5PPS3 0x08
13070 #define _RA5PPS4 0x10
13072 //==============================================================================
13075 //==============================================================================
13076 // RB4PPS Bits
13078 extern __at(0x0E9C) __sfr RB4PPS;
13080 typedef union
13082 struct
13084 unsigned RB4PPS0 : 1;
13085 unsigned RB4PPS1 : 1;
13086 unsigned RB4PPS2 : 1;
13087 unsigned RB4PPS3 : 1;
13088 unsigned RB4PPS4 : 1;
13089 unsigned : 1;
13090 unsigned : 1;
13091 unsigned : 1;
13094 struct
13096 unsigned RB4PPS : 5;
13097 unsigned : 3;
13099 } __RB4PPSbits_t;
13101 extern __at(0x0E9C) volatile __RB4PPSbits_t RB4PPSbits;
13103 #define _RB4PPS0 0x01
13104 #define _RB4PPS1 0x02
13105 #define _RB4PPS2 0x04
13106 #define _RB4PPS3 0x08
13107 #define _RB4PPS4 0x10
13109 //==============================================================================
13112 //==============================================================================
13113 // RB5PPS Bits
13115 extern __at(0x0E9D) __sfr RB5PPS;
13117 typedef union
13119 struct
13121 unsigned RB5PPS0 : 1;
13122 unsigned RB5PPS1 : 1;
13123 unsigned RB5PPS2 : 1;
13124 unsigned RB5PPS3 : 1;
13125 unsigned RB5PPS4 : 1;
13126 unsigned : 1;
13127 unsigned : 1;
13128 unsigned : 1;
13131 struct
13133 unsigned RB5PPS : 5;
13134 unsigned : 3;
13136 } __RB5PPSbits_t;
13138 extern __at(0x0E9D) volatile __RB5PPSbits_t RB5PPSbits;
13140 #define _RB5PPS0 0x01
13141 #define _RB5PPS1 0x02
13142 #define _RB5PPS2 0x04
13143 #define _RB5PPS3 0x08
13144 #define _RB5PPS4 0x10
13146 //==============================================================================
13149 //==============================================================================
13150 // RB6PPS Bits
13152 extern __at(0x0E9E) __sfr RB6PPS;
13154 typedef union
13156 struct
13158 unsigned RB6PPS0 : 1;
13159 unsigned RB6PPS1 : 1;
13160 unsigned RB6PPS2 : 1;
13161 unsigned RB6PPS3 : 1;
13162 unsigned RB6PPS4 : 1;
13163 unsigned : 1;
13164 unsigned : 1;
13165 unsigned : 1;
13168 struct
13170 unsigned RB6PPS : 5;
13171 unsigned : 3;
13173 } __RB6PPSbits_t;
13175 extern __at(0x0E9E) volatile __RB6PPSbits_t RB6PPSbits;
13177 #define _RB6PPS0 0x01
13178 #define _RB6PPS1 0x02
13179 #define _RB6PPS2 0x04
13180 #define _RB6PPS3 0x08
13181 #define _RB6PPS4 0x10
13183 //==============================================================================
13186 //==============================================================================
13187 // RB7PPS Bits
13189 extern __at(0x0E9F) __sfr RB7PPS;
13191 typedef union
13193 struct
13195 unsigned RB7PPS0 : 1;
13196 unsigned RB7PPS1 : 1;
13197 unsigned RB7PPS2 : 1;
13198 unsigned RB7PPS3 : 1;
13199 unsigned RB7PPS4 : 1;
13200 unsigned : 1;
13201 unsigned : 1;
13202 unsigned : 1;
13205 struct
13207 unsigned RB7PPS : 5;
13208 unsigned : 3;
13210 } __RB7PPSbits_t;
13212 extern __at(0x0E9F) volatile __RB7PPSbits_t RB7PPSbits;
13214 #define _RB7PPS0 0x01
13215 #define _RB7PPS1 0x02
13216 #define _RB7PPS2 0x04
13217 #define _RB7PPS3 0x08
13218 #define _RB7PPS4 0x10
13220 //==============================================================================
13223 //==============================================================================
13224 // RC0PPS Bits
13226 extern __at(0x0EA0) __sfr RC0PPS;
13228 typedef union
13230 struct
13232 unsigned RC0PPS0 : 1;
13233 unsigned RC0PPS1 : 1;
13234 unsigned RC0PPS2 : 1;
13235 unsigned RC0PPS3 : 1;
13236 unsigned RC0PPS4 : 1;
13237 unsigned : 1;
13238 unsigned : 1;
13239 unsigned : 1;
13242 struct
13244 unsigned RC0PPS : 5;
13245 unsigned : 3;
13247 } __RC0PPSbits_t;
13249 extern __at(0x0EA0) volatile __RC0PPSbits_t RC0PPSbits;
13251 #define _RC0PPS0 0x01
13252 #define _RC0PPS1 0x02
13253 #define _RC0PPS2 0x04
13254 #define _RC0PPS3 0x08
13255 #define _RC0PPS4 0x10
13257 //==============================================================================
13260 //==============================================================================
13261 // RC1PPS Bits
13263 extern __at(0x0EA1) __sfr RC1PPS;
13265 typedef union
13267 struct
13269 unsigned RC1PPS0 : 1;
13270 unsigned RC1PPS1 : 1;
13271 unsigned RC1PPS2 : 1;
13272 unsigned RC1PPS3 : 1;
13273 unsigned RC1PPS4 : 1;
13274 unsigned : 1;
13275 unsigned : 1;
13276 unsigned : 1;
13279 struct
13281 unsigned RC1PPS : 5;
13282 unsigned : 3;
13284 } __RC1PPSbits_t;
13286 extern __at(0x0EA1) volatile __RC1PPSbits_t RC1PPSbits;
13288 #define _RC1PPS0 0x01
13289 #define _RC1PPS1 0x02
13290 #define _RC1PPS2 0x04
13291 #define _RC1PPS3 0x08
13292 #define _RC1PPS4 0x10
13294 //==============================================================================
13297 //==============================================================================
13298 // RC2PPS Bits
13300 extern __at(0x0EA2) __sfr RC2PPS;
13302 typedef union
13304 struct
13306 unsigned RC2PPS0 : 1;
13307 unsigned RC2PPS1 : 1;
13308 unsigned RC2PPS2 : 1;
13309 unsigned RC2PPS3 : 1;
13310 unsigned RC2PPS4 : 1;
13311 unsigned : 1;
13312 unsigned : 1;
13313 unsigned : 1;
13316 struct
13318 unsigned RC2PPS : 5;
13319 unsigned : 3;
13321 } __RC2PPSbits_t;
13323 extern __at(0x0EA2) volatile __RC2PPSbits_t RC2PPSbits;
13325 #define _RC2PPS0 0x01
13326 #define _RC2PPS1 0x02
13327 #define _RC2PPS2 0x04
13328 #define _RC2PPS3 0x08
13329 #define _RC2PPS4 0x10
13331 //==============================================================================
13334 //==============================================================================
13335 // RC3PPS Bits
13337 extern __at(0x0EA3) __sfr RC3PPS;
13339 typedef union
13341 struct
13343 unsigned RC3PPS0 : 1;
13344 unsigned RC3PPS1 : 1;
13345 unsigned RC3PPS2 : 1;
13346 unsigned RC3PPS3 : 1;
13347 unsigned RC3PPS4 : 1;
13348 unsigned : 1;
13349 unsigned : 1;
13350 unsigned : 1;
13353 struct
13355 unsigned RC3PPS : 5;
13356 unsigned : 3;
13358 } __RC3PPSbits_t;
13360 extern __at(0x0EA3) volatile __RC3PPSbits_t RC3PPSbits;
13362 #define _RC3PPS0 0x01
13363 #define _RC3PPS1 0x02
13364 #define _RC3PPS2 0x04
13365 #define _RC3PPS3 0x08
13366 #define _RC3PPS4 0x10
13368 //==============================================================================
13371 //==============================================================================
13372 // RC4PPS Bits
13374 extern __at(0x0EA4) __sfr RC4PPS;
13376 typedef union
13378 struct
13380 unsigned RC4PPS0 : 1;
13381 unsigned RC4PPS1 : 1;
13382 unsigned RC4PPS2 : 1;
13383 unsigned RC4PPS3 : 1;
13384 unsigned RC4PPS4 : 1;
13385 unsigned : 1;
13386 unsigned : 1;
13387 unsigned : 1;
13390 struct
13392 unsigned RC4PPS : 5;
13393 unsigned : 3;
13395 } __RC4PPSbits_t;
13397 extern __at(0x0EA4) volatile __RC4PPSbits_t RC4PPSbits;
13399 #define _RC4PPS0 0x01
13400 #define _RC4PPS1 0x02
13401 #define _RC4PPS2 0x04
13402 #define _RC4PPS3 0x08
13403 #define _RC4PPS4 0x10
13405 //==============================================================================
13408 //==============================================================================
13409 // RC5PPS Bits
13411 extern __at(0x0EA5) __sfr RC5PPS;
13413 typedef union
13415 struct
13417 unsigned RC5PPS0 : 1;
13418 unsigned RC5PPS1 : 1;
13419 unsigned RC5PPS2 : 1;
13420 unsigned RC5PPS3 : 1;
13421 unsigned RC5PPS4 : 1;
13422 unsigned : 1;
13423 unsigned : 1;
13424 unsigned : 1;
13427 struct
13429 unsigned RC5PPS : 5;
13430 unsigned : 3;
13432 } __RC5PPSbits_t;
13434 extern __at(0x0EA5) volatile __RC5PPSbits_t RC5PPSbits;
13436 #define _RC5PPS0 0x01
13437 #define _RC5PPS1 0x02
13438 #define _RC5PPS2 0x04
13439 #define _RC5PPS3 0x08
13440 #define _RC5PPS4 0x10
13442 //==============================================================================
13445 //==============================================================================
13446 // RC6PPS Bits
13448 extern __at(0x0EA6) __sfr RC6PPS;
13450 typedef union
13452 struct
13454 unsigned RC6PPS0 : 1;
13455 unsigned RC6PPS1 : 1;
13456 unsigned RC6PPS2 : 1;
13457 unsigned RC6PPS3 : 1;
13458 unsigned RC6PPS4 : 1;
13459 unsigned : 1;
13460 unsigned : 1;
13461 unsigned : 1;
13464 struct
13466 unsigned RC6PPS : 5;
13467 unsigned : 3;
13469 } __RC6PPSbits_t;
13471 extern __at(0x0EA6) volatile __RC6PPSbits_t RC6PPSbits;
13473 #define _RC6PPS0 0x01
13474 #define _RC6PPS1 0x02
13475 #define _RC6PPS2 0x04
13476 #define _RC6PPS3 0x08
13477 #define _RC6PPS4 0x10
13479 //==============================================================================
13482 //==============================================================================
13483 // RC7PPS Bits
13485 extern __at(0x0EA7) __sfr RC7PPS;
13487 typedef union
13489 struct
13491 unsigned RC7PPS0 : 1;
13492 unsigned RC7PPS1 : 1;
13493 unsigned RC7PPS2 : 1;
13494 unsigned RC7PPS3 : 1;
13495 unsigned RC7PPS4 : 1;
13496 unsigned : 1;
13497 unsigned : 1;
13498 unsigned : 1;
13501 struct
13503 unsigned RC7PPS : 5;
13504 unsigned : 3;
13506 } __RC7PPSbits_t;
13508 extern __at(0x0EA7) volatile __RC7PPSbits_t RC7PPSbits;
13510 #define _RC7PPS0 0x01
13511 #define _RC7PPS1 0x02
13512 #define _RC7PPS2 0x04
13513 #define _RC7PPS3 0x08
13514 #define _RC7PPS4 0x10
13516 //==============================================================================
13519 //==============================================================================
13520 // CLCDATA Bits
13522 extern __at(0x0F0F) __sfr CLCDATA;
13524 typedef struct
13526 unsigned MLC1OUT : 1;
13527 unsigned MLC2OUT : 1;
13528 unsigned MLC3OUT : 1;
13529 unsigned MLC4OUT : 1;
13530 unsigned : 1;
13531 unsigned : 1;
13532 unsigned : 1;
13533 unsigned : 1;
13534 } __CLCDATAbits_t;
13536 extern __at(0x0F0F) volatile __CLCDATAbits_t CLCDATAbits;
13538 #define _MLC1OUT 0x01
13539 #define _MLC2OUT 0x02
13540 #define _MLC3OUT 0x04
13541 #define _MLC4OUT 0x08
13543 //==============================================================================
13546 //==============================================================================
13547 // CLC1CON Bits
13549 extern __at(0x0F10) __sfr CLC1CON;
13551 typedef union
13553 struct
13555 unsigned LC1MODE0 : 1;
13556 unsigned LC1MODE1 : 1;
13557 unsigned LC1MODE2 : 1;
13558 unsigned LC1INTN : 1;
13559 unsigned LC1INTP : 1;
13560 unsigned LC1OUT : 1;
13561 unsigned : 1;
13562 unsigned LC1EN : 1;
13565 struct
13567 unsigned MODE0 : 1;
13568 unsigned MODE1 : 1;
13569 unsigned MODE2 : 1;
13570 unsigned INTN : 1;
13571 unsigned INTP : 1;
13572 unsigned OUT : 1;
13573 unsigned : 1;
13574 unsigned EN : 1;
13577 struct
13579 unsigned MODE : 3;
13580 unsigned : 5;
13583 struct
13585 unsigned LC1MODE : 3;
13586 unsigned : 5;
13588 } __CLC1CONbits_t;
13590 extern __at(0x0F10) volatile __CLC1CONbits_t CLC1CONbits;
13592 #define _CLC1CON_LC1MODE0 0x01
13593 #define _CLC1CON_MODE0 0x01
13594 #define _CLC1CON_LC1MODE1 0x02
13595 #define _CLC1CON_MODE1 0x02
13596 #define _CLC1CON_LC1MODE2 0x04
13597 #define _CLC1CON_MODE2 0x04
13598 #define _CLC1CON_LC1INTN 0x08
13599 #define _CLC1CON_INTN 0x08
13600 #define _CLC1CON_LC1INTP 0x10
13601 #define _CLC1CON_INTP 0x10
13602 #define _CLC1CON_LC1OUT 0x20
13603 #define _CLC1CON_OUT 0x20
13604 #define _CLC1CON_LC1EN 0x80
13605 #define _CLC1CON_EN 0x80
13607 //==============================================================================
13610 //==============================================================================
13611 // CLC1POL Bits
13613 extern __at(0x0F11) __sfr CLC1POL;
13615 typedef union
13617 struct
13619 unsigned LC1G1POL : 1;
13620 unsigned LC1G2POL : 1;
13621 unsigned LC1G3POL : 1;
13622 unsigned LC1G4POL : 1;
13623 unsigned : 1;
13624 unsigned : 1;
13625 unsigned : 1;
13626 unsigned LC1POL : 1;
13629 struct
13631 unsigned G1POL : 1;
13632 unsigned G2POL : 1;
13633 unsigned G3POL : 1;
13634 unsigned G4POL : 1;
13635 unsigned : 1;
13636 unsigned : 1;
13637 unsigned : 1;
13638 unsigned POL : 1;
13640 } __CLC1POLbits_t;
13642 extern __at(0x0F11) volatile __CLC1POLbits_t CLC1POLbits;
13644 #define _CLC1POL_LC1G1POL 0x01
13645 #define _CLC1POL_G1POL 0x01
13646 #define _CLC1POL_LC1G2POL 0x02
13647 #define _CLC1POL_G2POL 0x02
13648 #define _CLC1POL_LC1G3POL 0x04
13649 #define _CLC1POL_G3POL 0x04
13650 #define _CLC1POL_LC1G4POL 0x08
13651 #define _CLC1POL_G4POL 0x08
13652 #define _CLC1POL_LC1POL 0x80
13653 #define _CLC1POL_POL 0x80
13655 //==============================================================================
13658 //==============================================================================
13659 // CLC1SEL0 Bits
13661 extern __at(0x0F12) __sfr CLC1SEL0;
13663 typedef union
13665 struct
13667 unsigned LC1D1S0 : 1;
13668 unsigned LC1D1S1 : 1;
13669 unsigned LC1D1S2 : 1;
13670 unsigned LC1D1S3 : 1;
13671 unsigned LC1D1S4 : 1;
13672 unsigned LC1D1S5 : 1;
13673 unsigned : 1;
13674 unsigned : 1;
13677 struct
13679 unsigned D1S0 : 1;
13680 unsigned D1S1 : 1;
13681 unsigned D1S2 : 1;
13682 unsigned D1S3 : 1;
13683 unsigned D1S4 : 1;
13684 unsigned D1S5 : 1;
13685 unsigned : 1;
13686 unsigned : 1;
13689 struct
13691 unsigned LC1D1S : 6;
13692 unsigned : 2;
13695 struct
13697 unsigned D1S : 6;
13698 unsigned : 2;
13700 } __CLC1SEL0bits_t;
13702 extern __at(0x0F12) volatile __CLC1SEL0bits_t CLC1SEL0bits;
13704 #define _LC1D1S0 0x01
13705 #define _D1S0 0x01
13706 #define _LC1D1S1 0x02
13707 #define _D1S1 0x02
13708 #define _LC1D1S2 0x04
13709 #define _D1S2 0x04
13710 #define _LC1D1S3 0x08
13711 #define _D1S3 0x08
13712 #define _LC1D1S4 0x10
13713 #define _D1S4 0x10
13714 #define _LC1D1S5 0x20
13715 #define _D1S5 0x20
13717 //==============================================================================
13720 //==============================================================================
13721 // CLC1SEL1 Bits
13723 extern __at(0x0F13) __sfr CLC1SEL1;
13725 typedef union
13727 struct
13729 unsigned LC1D2S0 : 1;
13730 unsigned LC1D2S1 : 1;
13731 unsigned LC1D2S2 : 1;
13732 unsigned LC1D2S3 : 1;
13733 unsigned LC1D2S4 : 1;
13734 unsigned LC1D2S5 : 1;
13735 unsigned : 1;
13736 unsigned : 1;
13739 struct
13741 unsigned D2S0 : 1;
13742 unsigned D2S1 : 1;
13743 unsigned D2S2 : 1;
13744 unsigned D2S3 : 1;
13745 unsigned D2S4 : 1;
13746 unsigned D2S5 : 1;
13747 unsigned : 1;
13748 unsigned : 1;
13751 struct
13753 unsigned D2S : 6;
13754 unsigned : 2;
13757 struct
13759 unsigned LC1D2S : 6;
13760 unsigned : 2;
13762 } __CLC1SEL1bits_t;
13764 extern __at(0x0F13) volatile __CLC1SEL1bits_t CLC1SEL1bits;
13766 #define _LC1D2S0 0x01
13767 #define _D2S0 0x01
13768 #define _LC1D2S1 0x02
13769 #define _D2S1 0x02
13770 #define _LC1D2S2 0x04
13771 #define _D2S2 0x04
13772 #define _LC1D2S3 0x08
13773 #define _D2S3 0x08
13774 #define _LC1D2S4 0x10
13775 #define _D2S4 0x10
13776 #define _LC1D2S5 0x20
13777 #define _D2S5 0x20
13779 //==============================================================================
13782 //==============================================================================
13783 // CLC1SEL2 Bits
13785 extern __at(0x0F14) __sfr CLC1SEL2;
13787 typedef union
13789 struct
13791 unsigned LC1D3S0 : 1;
13792 unsigned LC1D3S1 : 1;
13793 unsigned LC1D3S2 : 1;
13794 unsigned LC1D3S3 : 1;
13795 unsigned LC1D3S4 : 1;
13796 unsigned LC1D3S5 : 1;
13797 unsigned : 1;
13798 unsigned : 1;
13801 struct
13803 unsigned D3S0 : 1;
13804 unsigned D3S1 : 1;
13805 unsigned D3S2 : 1;
13806 unsigned D3S3 : 1;
13807 unsigned D3S4 : 1;
13808 unsigned D3S5 : 1;
13809 unsigned : 1;
13810 unsigned : 1;
13813 struct
13815 unsigned LC1D3S : 6;
13816 unsigned : 2;
13819 struct
13821 unsigned D3S : 6;
13822 unsigned : 2;
13824 } __CLC1SEL2bits_t;
13826 extern __at(0x0F14) volatile __CLC1SEL2bits_t CLC1SEL2bits;
13828 #define _LC1D3S0 0x01
13829 #define _D3S0 0x01
13830 #define _LC1D3S1 0x02
13831 #define _D3S1 0x02
13832 #define _LC1D3S2 0x04
13833 #define _D3S2 0x04
13834 #define _LC1D3S3 0x08
13835 #define _D3S3 0x08
13836 #define _LC1D3S4 0x10
13837 #define _D3S4 0x10
13838 #define _LC1D3S5 0x20
13839 #define _D3S5 0x20
13841 //==============================================================================
13844 //==============================================================================
13845 // CLC1SEL3 Bits
13847 extern __at(0x0F15) __sfr CLC1SEL3;
13849 typedef union
13851 struct
13853 unsigned LC1D4S0 : 1;
13854 unsigned LC1D4S1 : 1;
13855 unsigned LC1D4S2 : 1;
13856 unsigned LC1D4S3 : 1;
13857 unsigned LC1D4S4 : 1;
13858 unsigned LC1D4S5 : 1;
13859 unsigned : 1;
13860 unsigned : 1;
13863 struct
13865 unsigned D4S0 : 1;
13866 unsigned D4S1 : 1;
13867 unsigned D4S2 : 1;
13868 unsigned D4S3 : 1;
13869 unsigned D4S4 : 1;
13870 unsigned D4S5 : 1;
13871 unsigned : 1;
13872 unsigned : 1;
13875 struct
13877 unsigned LC1D4S : 6;
13878 unsigned : 2;
13881 struct
13883 unsigned D4S : 6;
13884 unsigned : 2;
13886 } __CLC1SEL3bits_t;
13888 extern __at(0x0F15) volatile __CLC1SEL3bits_t CLC1SEL3bits;
13890 #define _LC1D4S0 0x01
13891 #define _D4S0 0x01
13892 #define _LC1D4S1 0x02
13893 #define _D4S1 0x02
13894 #define _LC1D4S2 0x04
13895 #define _D4S2 0x04
13896 #define _LC1D4S3 0x08
13897 #define _D4S3 0x08
13898 #define _LC1D4S4 0x10
13899 #define _D4S4 0x10
13900 #define _LC1D4S5 0x20
13901 #define _D4S5 0x20
13903 //==============================================================================
13906 //==============================================================================
13907 // CLC1GLS0 Bits
13909 extern __at(0x0F16) __sfr CLC1GLS0;
13911 typedef union
13913 struct
13915 unsigned LC1G1D1N : 1;
13916 unsigned LC1G1D1T : 1;
13917 unsigned LC1G1D2N : 1;
13918 unsigned LC1G1D2T : 1;
13919 unsigned LC1G1D3N : 1;
13920 unsigned LC1G1D3T : 1;
13921 unsigned LC1G1D4N : 1;
13922 unsigned LC1G1D4T : 1;
13925 struct
13927 unsigned D1N : 1;
13928 unsigned D1T : 1;
13929 unsigned D2N : 1;
13930 unsigned D2T : 1;
13931 unsigned D3N : 1;
13932 unsigned D3T : 1;
13933 unsigned D4N : 1;
13934 unsigned D4T : 1;
13936 } __CLC1GLS0bits_t;
13938 extern __at(0x0F16) volatile __CLC1GLS0bits_t CLC1GLS0bits;
13940 #define _LC1G1D1N 0x01
13941 #define _D1N 0x01
13942 #define _LC1G1D1T 0x02
13943 #define _D1T 0x02
13944 #define _LC1G1D2N 0x04
13945 #define _D2N 0x04
13946 #define _LC1G1D2T 0x08
13947 #define _D2T 0x08
13948 #define _LC1G1D3N 0x10
13949 #define _D3N 0x10
13950 #define _LC1G1D3T 0x20
13951 #define _D3T 0x20
13952 #define _LC1G1D4N 0x40
13953 #define _D4N 0x40
13954 #define _LC1G1D4T 0x80
13955 #define _D4T 0x80
13957 //==============================================================================
13960 //==============================================================================
13961 // CLC1GLS1 Bits
13963 extern __at(0x0F17) __sfr CLC1GLS1;
13965 typedef union
13967 struct
13969 unsigned LC1G2D1N : 1;
13970 unsigned LC1G2D1T : 1;
13971 unsigned LC1G2D2N : 1;
13972 unsigned LC1G2D2T : 1;
13973 unsigned LC1G2D3N : 1;
13974 unsigned LC1G2D3T : 1;
13975 unsigned LC1G2D4N : 1;
13976 unsigned LC1G2D4T : 1;
13979 struct
13981 unsigned D1N : 1;
13982 unsigned D1T : 1;
13983 unsigned D2N : 1;
13984 unsigned D2T : 1;
13985 unsigned D3N : 1;
13986 unsigned D3T : 1;
13987 unsigned D4N : 1;
13988 unsigned D4T : 1;
13990 } __CLC1GLS1bits_t;
13992 extern __at(0x0F17) volatile __CLC1GLS1bits_t CLC1GLS1bits;
13994 #define _CLC1GLS1_LC1G2D1N 0x01
13995 #define _CLC1GLS1_D1N 0x01
13996 #define _CLC1GLS1_LC1G2D1T 0x02
13997 #define _CLC1GLS1_D1T 0x02
13998 #define _CLC1GLS1_LC1G2D2N 0x04
13999 #define _CLC1GLS1_D2N 0x04
14000 #define _CLC1GLS1_LC1G2D2T 0x08
14001 #define _CLC1GLS1_D2T 0x08
14002 #define _CLC1GLS1_LC1G2D3N 0x10
14003 #define _CLC1GLS1_D3N 0x10
14004 #define _CLC1GLS1_LC1G2D3T 0x20
14005 #define _CLC1GLS1_D3T 0x20
14006 #define _CLC1GLS1_LC1G2D4N 0x40
14007 #define _CLC1GLS1_D4N 0x40
14008 #define _CLC1GLS1_LC1G2D4T 0x80
14009 #define _CLC1GLS1_D4T 0x80
14011 //==============================================================================
14014 //==============================================================================
14015 // CLC1GLS2 Bits
14017 extern __at(0x0F18) __sfr CLC1GLS2;
14019 typedef union
14021 struct
14023 unsigned LC1G3D1N : 1;
14024 unsigned LC1G3D1T : 1;
14025 unsigned LC1G3D2N : 1;
14026 unsigned LC1G3D2T : 1;
14027 unsigned LC1G3D3N : 1;
14028 unsigned LC1G3D3T : 1;
14029 unsigned LC1G3D4N : 1;
14030 unsigned LC1G3D4T : 1;
14033 struct
14035 unsigned D1N : 1;
14036 unsigned D1T : 1;
14037 unsigned D2N : 1;
14038 unsigned D2T : 1;
14039 unsigned D3N : 1;
14040 unsigned D3T : 1;
14041 unsigned D4N : 1;
14042 unsigned D4T : 1;
14044 } __CLC1GLS2bits_t;
14046 extern __at(0x0F18) volatile __CLC1GLS2bits_t CLC1GLS2bits;
14048 #define _CLC1GLS2_LC1G3D1N 0x01
14049 #define _CLC1GLS2_D1N 0x01
14050 #define _CLC1GLS2_LC1G3D1T 0x02
14051 #define _CLC1GLS2_D1T 0x02
14052 #define _CLC1GLS2_LC1G3D2N 0x04
14053 #define _CLC1GLS2_D2N 0x04
14054 #define _CLC1GLS2_LC1G3D2T 0x08
14055 #define _CLC1GLS2_D2T 0x08
14056 #define _CLC1GLS2_LC1G3D3N 0x10
14057 #define _CLC1GLS2_D3N 0x10
14058 #define _CLC1GLS2_LC1G3D3T 0x20
14059 #define _CLC1GLS2_D3T 0x20
14060 #define _CLC1GLS2_LC1G3D4N 0x40
14061 #define _CLC1GLS2_D4N 0x40
14062 #define _CLC1GLS2_LC1G3D4T 0x80
14063 #define _CLC1GLS2_D4T 0x80
14065 //==============================================================================
14068 //==============================================================================
14069 // CLC1GLS3 Bits
14071 extern __at(0x0F19) __sfr CLC1GLS3;
14073 typedef union
14075 struct
14077 unsigned LC1G4D1N : 1;
14078 unsigned LC1G4D1T : 1;
14079 unsigned LC1G4D2N : 1;
14080 unsigned LC1G4D2T : 1;
14081 unsigned LC1G4D3N : 1;
14082 unsigned LC1G4D3T : 1;
14083 unsigned LC1G4D4N : 1;
14084 unsigned LC1G4D4T : 1;
14087 struct
14089 unsigned G4D1N : 1;
14090 unsigned G4D1T : 1;
14091 unsigned G4D2N : 1;
14092 unsigned G4D2T : 1;
14093 unsigned G4D3N : 1;
14094 unsigned G4D3T : 1;
14095 unsigned G4D4N : 1;
14096 unsigned G4D4T : 1;
14098 } __CLC1GLS3bits_t;
14100 extern __at(0x0F19) volatile __CLC1GLS3bits_t CLC1GLS3bits;
14102 #define _LC1G4D1N 0x01
14103 #define _G4D1N 0x01
14104 #define _LC1G4D1T 0x02
14105 #define _G4D1T 0x02
14106 #define _LC1G4D2N 0x04
14107 #define _G4D2N 0x04
14108 #define _LC1G4D2T 0x08
14109 #define _G4D2T 0x08
14110 #define _LC1G4D3N 0x10
14111 #define _G4D3N 0x10
14112 #define _LC1G4D3T 0x20
14113 #define _G4D3T 0x20
14114 #define _LC1G4D4N 0x40
14115 #define _G4D4N 0x40
14116 #define _LC1G4D4T 0x80
14117 #define _G4D4T 0x80
14119 //==============================================================================
14122 //==============================================================================
14123 // CLC2CON Bits
14125 extern __at(0x0F1A) __sfr CLC2CON;
14127 typedef union
14129 struct
14131 unsigned LC2MODE0 : 1;
14132 unsigned LC2MODE1 : 1;
14133 unsigned LC2MODE2 : 1;
14134 unsigned LC2INTN : 1;
14135 unsigned LC2INTP : 1;
14136 unsigned LC2OUT : 1;
14137 unsigned : 1;
14138 unsigned LC2EN : 1;
14141 struct
14143 unsigned MODE0 : 1;
14144 unsigned MODE1 : 1;
14145 unsigned MODE2 : 1;
14146 unsigned INTN : 1;
14147 unsigned INTP : 1;
14148 unsigned OUT : 1;
14149 unsigned : 1;
14150 unsigned EN : 1;
14153 struct
14155 unsigned MODE : 3;
14156 unsigned : 5;
14159 struct
14161 unsigned LC2MODE : 3;
14162 unsigned : 5;
14164 } __CLC2CONbits_t;
14166 extern __at(0x0F1A) volatile __CLC2CONbits_t CLC2CONbits;
14168 #define _CLC2CON_LC2MODE0 0x01
14169 #define _CLC2CON_MODE0 0x01
14170 #define _CLC2CON_LC2MODE1 0x02
14171 #define _CLC2CON_MODE1 0x02
14172 #define _CLC2CON_LC2MODE2 0x04
14173 #define _CLC2CON_MODE2 0x04
14174 #define _CLC2CON_LC2INTN 0x08
14175 #define _CLC2CON_INTN 0x08
14176 #define _CLC2CON_LC2INTP 0x10
14177 #define _CLC2CON_INTP 0x10
14178 #define _CLC2CON_LC2OUT 0x20
14179 #define _CLC2CON_OUT 0x20
14180 #define _CLC2CON_LC2EN 0x80
14181 #define _CLC2CON_EN 0x80
14183 //==============================================================================
14186 //==============================================================================
14187 // CLC2POL Bits
14189 extern __at(0x0F1B) __sfr CLC2POL;
14191 typedef union
14193 struct
14195 unsigned LC2G1POL : 1;
14196 unsigned LC2G2POL : 1;
14197 unsigned LC2G3POL : 1;
14198 unsigned LC2G4POL : 1;
14199 unsigned : 1;
14200 unsigned : 1;
14201 unsigned : 1;
14202 unsigned LC2POL : 1;
14205 struct
14207 unsigned G1POL : 1;
14208 unsigned G2POL : 1;
14209 unsigned G3POL : 1;
14210 unsigned G4POL : 1;
14211 unsigned : 1;
14212 unsigned : 1;
14213 unsigned : 1;
14214 unsigned POL : 1;
14216 } __CLC2POLbits_t;
14218 extern __at(0x0F1B) volatile __CLC2POLbits_t CLC2POLbits;
14220 #define _CLC2POL_LC2G1POL 0x01
14221 #define _CLC2POL_G1POL 0x01
14222 #define _CLC2POL_LC2G2POL 0x02
14223 #define _CLC2POL_G2POL 0x02
14224 #define _CLC2POL_LC2G3POL 0x04
14225 #define _CLC2POL_G3POL 0x04
14226 #define _CLC2POL_LC2G4POL 0x08
14227 #define _CLC2POL_G4POL 0x08
14228 #define _CLC2POL_LC2POL 0x80
14229 #define _CLC2POL_POL 0x80
14231 //==============================================================================
14234 //==============================================================================
14235 // CLC2SEL0 Bits
14237 extern __at(0x0F1C) __sfr CLC2SEL0;
14239 typedef union
14241 struct
14243 unsigned LC2D1S0 : 1;
14244 unsigned LC2D1S1 : 1;
14245 unsigned LC2D1S2 : 1;
14246 unsigned LC2D1S3 : 1;
14247 unsigned LC2D1S4 : 1;
14248 unsigned LC2D1S5 : 1;
14249 unsigned : 1;
14250 unsigned : 1;
14253 struct
14255 unsigned D1S0 : 1;
14256 unsigned D1S1 : 1;
14257 unsigned D1S2 : 1;
14258 unsigned D1S3 : 1;
14259 unsigned D1S4 : 1;
14260 unsigned D1S5 : 1;
14261 unsigned : 1;
14262 unsigned : 1;
14265 struct
14267 unsigned LC2D1S : 6;
14268 unsigned : 2;
14271 struct
14273 unsigned D1S : 6;
14274 unsigned : 2;
14276 } __CLC2SEL0bits_t;
14278 extern __at(0x0F1C) volatile __CLC2SEL0bits_t CLC2SEL0bits;
14280 #define _CLC2SEL0_LC2D1S0 0x01
14281 #define _CLC2SEL0_D1S0 0x01
14282 #define _CLC2SEL0_LC2D1S1 0x02
14283 #define _CLC2SEL0_D1S1 0x02
14284 #define _CLC2SEL0_LC2D1S2 0x04
14285 #define _CLC2SEL0_D1S2 0x04
14286 #define _CLC2SEL0_LC2D1S3 0x08
14287 #define _CLC2SEL0_D1S3 0x08
14288 #define _CLC2SEL0_LC2D1S4 0x10
14289 #define _CLC2SEL0_D1S4 0x10
14290 #define _CLC2SEL0_LC2D1S5 0x20
14291 #define _CLC2SEL0_D1S5 0x20
14293 //==============================================================================
14296 //==============================================================================
14297 // CLC2SEL1 Bits
14299 extern __at(0x0F1D) __sfr CLC2SEL1;
14301 typedef union
14303 struct
14305 unsigned LC2D2S0 : 1;
14306 unsigned LC2D2S1 : 1;
14307 unsigned LC2D2S2 : 1;
14308 unsigned LC2D2S3 : 1;
14309 unsigned LC2D2S4 : 1;
14310 unsigned LC2D2S5 : 1;
14311 unsigned : 1;
14312 unsigned : 1;
14315 struct
14317 unsigned D2S0 : 1;
14318 unsigned D2S1 : 1;
14319 unsigned D2S2 : 1;
14320 unsigned D2S3 : 1;
14321 unsigned D2S4 : 1;
14322 unsigned D2S5 : 1;
14323 unsigned : 1;
14324 unsigned : 1;
14327 struct
14329 unsigned LC2D2S : 6;
14330 unsigned : 2;
14333 struct
14335 unsigned D2S : 6;
14336 unsigned : 2;
14338 } __CLC2SEL1bits_t;
14340 extern __at(0x0F1D) volatile __CLC2SEL1bits_t CLC2SEL1bits;
14342 #define _CLC2SEL1_LC2D2S0 0x01
14343 #define _CLC2SEL1_D2S0 0x01
14344 #define _CLC2SEL1_LC2D2S1 0x02
14345 #define _CLC2SEL1_D2S1 0x02
14346 #define _CLC2SEL1_LC2D2S2 0x04
14347 #define _CLC2SEL1_D2S2 0x04
14348 #define _CLC2SEL1_LC2D2S3 0x08
14349 #define _CLC2SEL1_D2S3 0x08
14350 #define _CLC2SEL1_LC2D2S4 0x10
14351 #define _CLC2SEL1_D2S4 0x10
14352 #define _CLC2SEL1_LC2D2S5 0x20
14353 #define _CLC2SEL1_D2S5 0x20
14355 //==============================================================================
14358 //==============================================================================
14359 // CLC2SEL2 Bits
14361 extern __at(0x0F1E) __sfr CLC2SEL2;
14363 typedef union
14365 struct
14367 unsigned LC2D3S0 : 1;
14368 unsigned LC2D3S1 : 1;
14369 unsigned LC2D3S2 : 1;
14370 unsigned LC2D3S3 : 1;
14371 unsigned LC2D3S4 : 1;
14372 unsigned LC2D3S5 : 1;
14373 unsigned : 1;
14374 unsigned : 1;
14377 struct
14379 unsigned D3S0 : 1;
14380 unsigned D3S1 : 1;
14381 unsigned D3S2 : 1;
14382 unsigned D3S3 : 1;
14383 unsigned D3S4 : 1;
14384 unsigned D3S5 : 1;
14385 unsigned : 1;
14386 unsigned : 1;
14389 struct
14391 unsigned LC2D3S : 6;
14392 unsigned : 2;
14395 struct
14397 unsigned D3S : 6;
14398 unsigned : 2;
14400 } __CLC2SEL2bits_t;
14402 extern __at(0x0F1E) volatile __CLC2SEL2bits_t CLC2SEL2bits;
14404 #define _CLC2SEL2_LC2D3S0 0x01
14405 #define _CLC2SEL2_D3S0 0x01
14406 #define _CLC2SEL2_LC2D3S1 0x02
14407 #define _CLC2SEL2_D3S1 0x02
14408 #define _CLC2SEL2_LC2D3S2 0x04
14409 #define _CLC2SEL2_D3S2 0x04
14410 #define _CLC2SEL2_LC2D3S3 0x08
14411 #define _CLC2SEL2_D3S3 0x08
14412 #define _CLC2SEL2_LC2D3S4 0x10
14413 #define _CLC2SEL2_D3S4 0x10
14414 #define _CLC2SEL2_LC2D3S5 0x20
14415 #define _CLC2SEL2_D3S5 0x20
14417 //==============================================================================
14420 //==============================================================================
14421 // CLC2SEL3 Bits
14423 extern __at(0x0F1F) __sfr CLC2SEL3;
14425 typedef union
14427 struct
14429 unsigned LC2D4S0 : 1;
14430 unsigned LC2D4S1 : 1;
14431 unsigned LC2D4S2 : 1;
14432 unsigned LC2D4S3 : 1;
14433 unsigned LC2D4S4 : 1;
14434 unsigned LC2D4S5 : 1;
14435 unsigned : 1;
14436 unsigned : 1;
14439 struct
14441 unsigned D4S0 : 1;
14442 unsigned D4S1 : 1;
14443 unsigned D4S2 : 1;
14444 unsigned D4S3 : 1;
14445 unsigned D4S4 : 1;
14446 unsigned D4S5 : 1;
14447 unsigned : 1;
14448 unsigned : 1;
14451 struct
14453 unsigned D4S : 6;
14454 unsigned : 2;
14457 struct
14459 unsigned LC2D4S : 6;
14460 unsigned : 2;
14462 } __CLC2SEL3bits_t;
14464 extern __at(0x0F1F) volatile __CLC2SEL3bits_t CLC2SEL3bits;
14466 #define _CLC2SEL3_LC2D4S0 0x01
14467 #define _CLC2SEL3_D4S0 0x01
14468 #define _CLC2SEL3_LC2D4S1 0x02
14469 #define _CLC2SEL3_D4S1 0x02
14470 #define _CLC2SEL3_LC2D4S2 0x04
14471 #define _CLC2SEL3_D4S2 0x04
14472 #define _CLC2SEL3_LC2D4S3 0x08
14473 #define _CLC2SEL3_D4S3 0x08
14474 #define _CLC2SEL3_LC2D4S4 0x10
14475 #define _CLC2SEL3_D4S4 0x10
14476 #define _CLC2SEL3_LC2D4S5 0x20
14477 #define _CLC2SEL3_D4S5 0x20
14479 //==============================================================================
14482 //==============================================================================
14483 // CLC2GLS0 Bits
14485 extern __at(0x0F20) __sfr CLC2GLS0;
14487 typedef union
14489 struct
14491 unsigned LC2G1D1N : 1;
14492 unsigned LC2G1D1T : 1;
14493 unsigned LC2G1D2N : 1;
14494 unsigned LC2G1D2T : 1;
14495 unsigned LC2G1D3N : 1;
14496 unsigned LC2G1D3T : 1;
14497 unsigned LC2G1D4N : 1;
14498 unsigned LC2G1D4T : 1;
14501 struct
14503 unsigned D1N : 1;
14504 unsigned D1T : 1;
14505 unsigned D2N : 1;
14506 unsigned D2T : 1;
14507 unsigned D3N : 1;
14508 unsigned D3T : 1;
14509 unsigned D4N : 1;
14510 unsigned D4T : 1;
14512 } __CLC2GLS0bits_t;
14514 extern __at(0x0F20) volatile __CLC2GLS0bits_t CLC2GLS0bits;
14516 #define _CLC2GLS0_LC2G1D1N 0x01
14517 #define _CLC2GLS0_D1N 0x01
14518 #define _CLC2GLS0_LC2G1D1T 0x02
14519 #define _CLC2GLS0_D1T 0x02
14520 #define _CLC2GLS0_LC2G1D2N 0x04
14521 #define _CLC2GLS0_D2N 0x04
14522 #define _CLC2GLS0_LC2G1D2T 0x08
14523 #define _CLC2GLS0_D2T 0x08
14524 #define _CLC2GLS0_LC2G1D3N 0x10
14525 #define _CLC2GLS0_D3N 0x10
14526 #define _CLC2GLS0_LC2G1D3T 0x20
14527 #define _CLC2GLS0_D3T 0x20
14528 #define _CLC2GLS0_LC2G1D4N 0x40
14529 #define _CLC2GLS0_D4N 0x40
14530 #define _CLC2GLS0_LC2G1D4T 0x80
14531 #define _CLC2GLS0_D4T 0x80
14533 //==============================================================================
14536 //==============================================================================
14537 // CLC2GLS1 Bits
14539 extern __at(0x0F21) __sfr CLC2GLS1;
14541 typedef union
14543 struct
14545 unsigned LC2G2D1N : 1;
14546 unsigned LC2G2D1T : 1;
14547 unsigned LC2G2D2N : 1;
14548 unsigned LC2G2D2T : 1;
14549 unsigned LC2G2D3N : 1;
14550 unsigned LC2G2D3T : 1;
14551 unsigned LC2G2D4N : 1;
14552 unsigned LC2G2D4T : 1;
14555 struct
14557 unsigned D1N : 1;
14558 unsigned D1T : 1;
14559 unsigned D2N : 1;
14560 unsigned D2T : 1;
14561 unsigned D3N : 1;
14562 unsigned D3T : 1;
14563 unsigned D4N : 1;
14564 unsigned D4T : 1;
14566 } __CLC2GLS1bits_t;
14568 extern __at(0x0F21) volatile __CLC2GLS1bits_t CLC2GLS1bits;
14570 #define _CLC2GLS1_LC2G2D1N 0x01
14571 #define _CLC2GLS1_D1N 0x01
14572 #define _CLC2GLS1_LC2G2D1T 0x02
14573 #define _CLC2GLS1_D1T 0x02
14574 #define _CLC2GLS1_LC2G2D2N 0x04
14575 #define _CLC2GLS1_D2N 0x04
14576 #define _CLC2GLS1_LC2G2D2T 0x08
14577 #define _CLC2GLS1_D2T 0x08
14578 #define _CLC2GLS1_LC2G2D3N 0x10
14579 #define _CLC2GLS1_D3N 0x10
14580 #define _CLC2GLS1_LC2G2D3T 0x20
14581 #define _CLC2GLS1_D3T 0x20
14582 #define _CLC2GLS1_LC2G2D4N 0x40
14583 #define _CLC2GLS1_D4N 0x40
14584 #define _CLC2GLS1_LC2G2D4T 0x80
14585 #define _CLC2GLS1_D4T 0x80
14587 //==============================================================================
14590 //==============================================================================
14591 // CLC2GLS2 Bits
14593 extern __at(0x0F22) __sfr CLC2GLS2;
14595 typedef union
14597 struct
14599 unsigned LC2G3D1N : 1;
14600 unsigned LC2G3D1T : 1;
14601 unsigned LC2G3D2N : 1;
14602 unsigned LC2G3D2T : 1;
14603 unsigned LC2G3D3N : 1;
14604 unsigned LC2G3D3T : 1;
14605 unsigned LC2G3D4N : 1;
14606 unsigned LC2G3D4T : 1;
14609 struct
14611 unsigned D1N : 1;
14612 unsigned D1T : 1;
14613 unsigned D2N : 1;
14614 unsigned D2T : 1;
14615 unsigned D3N : 1;
14616 unsigned D3T : 1;
14617 unsigned D4N : 1;
14618 unsigned D4T : 1;
14620 } __CLC2GLS2bits_t;
14622 extern __at(0x0F22) volatile __CLC2GLS2bits_t CLC2GLS2bits;
14624 #define _CLC2GLS2_LC2G3D1N 0x01
14625 #define _CLC2GLS2_D1N 0x01
14626 #define _CLC2GLS2_LC2G3D1T 0x02
14627 #define _CLC2GLS2_D1T 0x02
14628 #define _CLC2GLS2_LC2G3D2N 0x04
14629 #define _CLC2GLS2_D2N 0x04
14630 #define _CLC2GLS2_LC2G3D2T 0x08
14631 #define _CLC2GLS2_D2T 0x08
14632 #define _CLC2GLS2_LC2G3D3N 0x10
14633 #define _CLC2GLS2_D3N 0x10
14634 #define _CLC2GLS2_LC2G3D3T 0x20
14635 #define _CLC2GLS2_D3T 0x20
14636 #define _CLC2GLS2_LC2G3D4N 0x40
14637 #define _CLC2GLS2_D4N 0x40
14638 #define _CLC2GLS2_LC2G3D4T 0x80
14639 #define _CLC2GLS2_D4T 0x80
14641 //==============================================================================
14644 //==============================================================================
14645 // CLC2GLS3 Bits
14647 extern __at(0x0F23) __sfr CLC2GLS3;
14649 typedef union
14651 struct
14653 unsigned LC2G4D1N : 1;
14654 unsigned LC2G4D1T : 1;
14655 unsigned LC2G4D2N : 1;
14656 unsigned LC2G4D2T : 1;
14657 unsigned LC2G4D3N : 1;
14658 unsigned LC2G4D3T : 1;
14659 unsigned LC2G4D4N : 1;
14660 unsigned LC2G4D4T : 1;
14663 struct
14665 unsigned G4D1N : 1;
14666 unsigned G4D1T : 1;
14667 unsigned G4D2N : 1;
14668 unsigned G4D2T : 1;
14669 unsigned G4D3N : 1;
14670 unsigned G4D3T : 1;
14671 unsigned G4D4N : 1;
14672 unsigned G4D4T : 1;
14674 } __CLC2GLS3bits_t;
14676 extern __at(0x0F23) volatile __CLC2GLS3bits_t CLC2GLS3bits;
14678 #define _CLC2GLS3_LC2G4D1N 0x01
14679 #define _CLC2GLS3_G4D1N 0x01
14680 #define _CLC2GLS3_LC2G4D1T 0x02
14681 #define _CLC2GLS3_G4D1T 0x02
14682 #define _CLC2GLS3_LC2G4D2N 0x04
14683 #define _CLC2GLS3_G4D2N 0x04
14684 #define _CLC2GLS3_LC2G4D2T 0x08
14685 #define _CLC2GLS3_G4D2T 0x08
14686 #define _CLC2GLS3_LC2G4D3N 0x10
14687 #define _CLC2GLS3_G4D3N 0x10
14688 #define _CLC2GLS3_LC2G4D3T 0x20
14689 #define _CLC2GLS3_G4D3T 0x20
14690 #define _CLC2GLS3_LC2G4D4N 0x40
14691 #define _CLC2GLS3_G4D4N 0x40
14692 #define _CLC2GLS3_LC2G4D4T 0x80
14693 #define _CLC2GLS3_G4D4T 0x80
14695 //==============================================================================
14698 //==============================================================================
14699 // CLC3CON Bits
14701 extern __at(0x0F24) __sfr CLC3CON;
14703 typedef union
14705 struct
14707 unsigned LC3MODE0 : 1;
14708 unsigned LC3MODE1 : 1;
14709 unsigned LC3MODE2 : 1;
14710 unsigned LC3INTN : 1;
14711 unsigned LC3INTP : 1;
14712 unsigned LC3OUT : 1;
14713 unsigned : 1;
14714 unsigned LC3EN : 1;
14717 struct
14719 unsigned MODE0 : 1;
14720 unsigned MODE1 : 1;
14721 unsigned MODE2 : 1;
14722 unsigned INTN : 1;
14723 unsigned INTP : 1;
14724 unsigned OUT : 1;
14725 unsigned : 1;
14726 unsigned EN : 1;
14729 struct
14731 unsigned LC3MODE : 3;
14732 unsigned : 5;
14735 struct
14737 unsigned MODE : 3;
14738 unsigned : 5;
14740 } __CLC3CONbits_t;
14742 extern __at(0x0F24) volatile __CLC3CONbits_t CLC3CONbits;
14744 #define _CLC3CON_LC3MODE0 0x01
14745 #define _CLC3CON_MODE0 0x01
14746 #define _CLC3CON_LC3MODE1 0x02
14747 #define _CLC3CON_MODE1 0x02
14748 #define _CLC3CON_LC3MODE2 0x04
14749 #define _CLC3CON_MODE2 0x04
14750 #define _CLC3CON_LC3INTN 0x08
14751 #define _CLC3CON_INTN 0x08
14752 #define _CLC3CON_LC3INTP 0x10
14753 #define _CLC3CON_INTP 0x10
14754 #define _CLC3CON_LC3OUT 0x20
14755 #define _CLC3CON_OUT 0x20
14756 #define _CLC3CON_LC3EN 0x80
14757 #define _CLC3CON_EN 0x80
14759 //==============================================================================
14762 //==============================================================================
14763 // CLC3POL Bits
14765 extern __at(0x0F25) __sfr CLC3POL;
14767 typedef union
14769 struct
14771 unsigned LC3G1POL : 1;
14772 unsigned LC3G2POL : 1;
14773 unsigned LC3G3POL : 1;
14774 unsigned LC3G4POL : 1;
14775 unsigned : 1;
14776 unsigned : 1;
14777 unsigned : 1;
14778 unsigned LC3POL : 1;
14781 struct
14783 unsigned G1POL : 1;
14784 unsigned G2POL : 1;
14785 unsigned G3POL : 1;
14786 unsigned G4POL : 1;
14787 unsigned : 1;
14788 unsigned : 1;
14789 unsigned : 1;
14790 unsigned POL : 1;
14792 } __CLC3POLbits_t;
14794 extern __at(0x0F25) volatile __CLC3POLbits_t CLC3POLbits;
14796 #define _CLC3POL_LC3G1POL 0x01
14797 #define _CLC3POL_G1POL 0x01
14798 #define _CLC3POL_LC3G2POL 0x02
14799 #define _CLC3POL_G2POL 0x02
14800 #define _CLC3POL_LC3G3POL 0x04
14801 #define _CLC3POL_G3POL 0x04
14802 #define _CLC3POL_LC3G4POL 0x08
14803 #define _CLC3POL_G4POL 0x08
14804 #define _CLC3POL_LC3POL 0x80
14805 #define _CLC3POL_POL 0x80
14807 //==============================================================================
14810 //==============================================================================
14811 // CLC3SEL0 Bits
14813 extern __at(0x0F26) __sfr CLC3SEL0;
14815 typedef union
14817 struct
14819 unsigned LC3D1S0 : 1;
14820 unsigned LC3D1S1 : 1;
14821 unsigned LC3D1S2 : 1;
14822 unsigned LC3D1S3 : 1;
14823 unsigned LC3D1S4 : 1;
14824 unsigned LC3D1S5 : 1;
14825 unsigned : 1;
14826 unsigned : 1;
14829 struct
14831 unsigned D1S0 : 1;
14832 unsigned D1S1 : 1;
14833 unsigned D1S2 : 1;
14834 unsigned D1S3 : 1;
14835 unsigned D1S4 : 1;
14836 unsigned D1S5 : 1;
14837 unsigned : 1;
14838 unsigned : 1;
14841 struct
14843 unsigned D1S : 6;
14844 unsigned : 2;
14847 struct
14849 unsigned LC3D1S : 6;
14850 unsigned : 2;
14852 } __CLC3SEL0bits_t;
14854 extern __at(0x0F26) volatile __CLC3SEL0bits_t CLC3SEL0bits;
14856 #define _CLC3SEL0_LC3D1S0 0x01
14857 #define _CLC3SEL0_D1S0 0x01
14858 #define _CLC3SEL0_LC3D1S1 0x02
14859 #define _CLC3SEL0_D1S1 0x02
14860 #define _CLC3SEL0_LC3D1S2 0x04
14861 #define _CLC3SEL0_D1S2 0x04
14862 #define _CLC3SEL0_LC3D1S3 0x08
14863 #define _CLC3SEL0_D1S3 0x08
14864 #define _CLC3SEL0_LC3D1S4 0x10
14865 #define _CLC3SEL0_D1S4 0x10
14866 #define _CLC3SEL0_LC3D1S5 0x20
14867 #define _CLC3SEL0_D1S5 0x20
14869 //==============================================================================
14872 //==============================================================================
14873 // CLC3SEL1 Bits
14875 extern __at(0x0F27) __sfr CLC3SEL1;
14877 typedef union
14879 struct
14881 unsigned LC3D2S0 : 1;
14882 unsigned LC3D2S1 : 1;
14883 unsigned LC3D2S2 : 1;
14884 unsigned LC3D2S3 : 1;
14885 unsigned LC3D2S4 : 1;
14886 unsigned LC3D2S5 : 1;
14887 unsigned : 1;
14888 unsigned : 1;
14891 struct
14893 unsigned D2S0 : 1;
14894 unsigned D2S1 : 1;
14895 unsigned D2S2 : 1;
14896 unsigned D2S3 : 1;
14897 unsigned D2S4 : 1;
14898 unsigned D2S5 : 1;
14899 unsigned : 1;
14900 unsigned : 1;
14903 struct
14905 unsigned D2S : 6;
14906 unsigned : 2;
14909 struct
14911 unsigned LC3D2S : 6;
14912 unsigned : 2;
14914 } __CLC3SEL1bits_t;
14916 extern __at(0x0F27) volatile __CLC3SEL1bits_t CLC3SEL1bits;
14918 #define _CLC3SEL1_LC3D2S0 0x01
14919 #define _CLC3SEL1_D2S0 0x01
14920 #define _CLC3SEL1_LC3D2S1 0x02
14921 #define _CLC3SEL1_D2S1 0x02
14922 #define _CLC3SEL1_LC3D2S2 0x04
14923 #define _CLC3SEL1_D2S2 0x04
14924 #define _CLC3SEL1_LC3D2S3 0x08
14925 #define _CLC3SEL1_D2S3 0x08
14926 #define _CLC3SEL1_LC3D2S4 0x10
14927 #define _CLC3SEL1_D2S4 0x10
14928 #define _CLC3SEL1_LC3D2S5 0x20
14929 #define _CLC3SEL1_D2S5 0x20
14931 //==============================================================================
14934 //==============================================================================
14935 // CLC3SEL2 Bits
14937 extern __at(0x0F28) __sfr CLC3SEL2;
14939 typedef union
14941 struct
14943 unsigned LC3D3S0 : 1;
14944 unsigned LC3D3S1 : 1;
14945 unsigned LC3D3S2 : 1;
14946 unsigned LC3D3S3 : 1;
14947 unsigned LC3D3S4 : 1;
14948 unsigned LC3D3S5 : 1;
14949 unsigned : 1;
14950 unsigned : 1;
14953 struct
14955 unsigned D3S0 : 1;
14956 unsigned D3S1 : 1;
14957 unsigned D3S2 : 1;
14958 unsigned D3S3 : 1;
14959 unsigned D3S4 : 1;
14960 unsigned D3S5 : 1;
14961 unsigned : 1;
14962 unsigned : 1;
14965 struct
14967 unsigned D3S : 6;
14968 unsigned : 2;
14971 struct
14973 unsigned LC3D3S : 6;
14974 unsigned : 2;
14976 } __CLC3SEL2bits_t;
14978 extern __at(0x0F28) volatile __CLC3SEL2bits_t CLC3SEL2bits;
14980 #define _CLC3SEL2_LC3D3S0 0x01
14981 #define _CLC3SEL2_D3S0 0x01
14982 #define _CLC3SEL2_LC3D3S1 0x02
14983 #define _CLC3SEL2_D3S1 0x02
14984 #define _CLC3SEL2_LC3D3S2 0x04
14985 #define _CLC3SEL2_D3S2 0x04
14986 #define _CLC3SEL2_LC3D3S3 0x08
14987 #define _CLC3SEL2_D3S3 0x08
14988 #define _CLC3SEL2_LC3D3S4 0x10
14989 #define _CLC3SEL2_D3S4 0x10
14990 #define _CLC3SEL2_LC3D3S5 0x20
14991 #define _CLC3SEL2_D3S5 0x20
14993 //==============================================================================
14996 //==============================================================================
14997 // CLC3SEL3 Bits
14999 extern __at(0x0F29) __sfr CLC3SEL3;
15001 typedef union
15003 struct
15005 unsigned LC3D4S0 : 1;
15006 unsigned LC3D4S1 : 1;
15007 unsigned LC3D4S2 : 1;
15008 unsigned LC3D4S3 : 1;
15009 unsigned LC3D4S4 : 1;
15010 unsigned LC3D4S5 : 1;
15011 unsigned : 1;
15012 unsigned : 1;
15015 struct
15017 unsigned D4S0 : 1;
15018 unsigned D4S1 : 1;
15019 unsigned D4S2 : 1;
15020 unsigned D4S3 : 1;
15021 unsigned D4S4 : 1;
15022 unsigned D4S5 : 1;
15023 unsigned : 1;
15024 unsigned : 1;
15027 struct
15029 unsigned LC3D4S : 6;
15030 unsigned : 2;
15033 struct
15035 unsigned D4S : 6;
15036 unsigned : 2;
15038 } __CLC3SEL3bits_t;
15040 extern __at(0x0F29) volatile __CLC3SEL3bits_t CLC3SEL3bits;
15042 #define _CLC3SEL3_LC3D4S0 0x01
15043 #define _CLC3SEL3_D4S0 0x01
15044 #define _CLC3SEL3_LC3D4S1 0x02
15045 #define _CLC3SEL3_D4S1 0x02
15046 #define _CLC3SEL3_LC3D4S2 0x04
15047 #define _CLC3SEL3_D4S2 0x04
15048 #define _CLC3SEL3_LC3D4S3 0x08
15049 #define _CLC3SEL3_D4S3 0x08
15050 #define _CLC3SEL3_LC3D4S4 0x10
15051 #define _CLC3SEL3_D4S4 0x10
15052 #define _CLC3SEL3_LC3D4S5 0x20
15053 #define _CLC3SEL3_D4S5 0x20
15055 //==============================================================================
15058 //==============================================================================
15059 // CLC3GLS0 Bits
15061 extern __at(0x0F2A) __sfr CLC3GLS0;
15063 typedef union
15065 struct
15067 unsigned LC3G1D1N : 1;
15068 unsigned LC3G1D1T : 1;
15069 unsigned LC3G1D2N : 1;
15070 unsigned LC3G1D2T : 1;
15071 unsigned LC3G1D3N : 1;
15072 unsigned LC3G1D3T : 1;
15073 unsigned LC3G1D4N : 1;
15074 unsigned LC3G1D4T : 1;
15077 struct
15079 unsigned D1N : 1;
15080 unsigned D1T : 1;
15081 unsigned D2N : 1;
15082 unsigned D2T : 1;
15083 unsigned D3N : 1;
15084 unsigned D3T : 1;
15085 unsigned D4N : 1;
15086 unsigned D4T : 1;
15088 } __CLC3GLS0bits_t;
15090 extern __at(0x0F2A) volatile __CLC3GLS0bits_t CLC3GLS0bits;
15092 #define _CLC3GLS0_LC3G1D1N 0x01
15093 #define _CLC3GLS0_D1N 0x01
15094 #define _CLC3GLS0_LC3G1D1T 0x02
15095 #define _CLC3GLS0_D1T 0x02
15096 #define _CLC3GLS0_LC3G1D2N 0x04
15097 #define _CLC3GLS0_D2N 0x04
15098 #define _CLC3GLS0_LC3G1D2T 0x08
15099 #define _CLC3GLS0_D2T 0x08
15100 #define _CLC3GLS0_LC3G1D3N 0x10
15101 #define _CLC3GLS0_D3N 0x10
15102 #define _CLC3GLS0_LC3G1D3T 0x20
15103 #define _CLC3GLS0_D3T 0x20
15104 #define _CLC3GLS0_LC3G1D4N 0x40
15105 #define _CLC3GLS0_D4N 0x40
15106 #define _CLC3GLS0_LC3G1D4T 0x80
15107 #define _CLC3GLS0_D4T 0x80
15109 //==============================================================================
15112 //==============================================================================
15113 // CLC3GLS1 Bits
15115 extern __at(0x0F2B) __sfr CLC3GLS1;
15117 typedef union
15119 struct
15121 unsigned LC3G2D1N : 1;
15122 unsigned LC3G2D1T : 1;
15123 unsigned LC3G2D2N : 1;
15124 unsigned LC3G2D2T : 1;
15125 unsigned LC3G2D3N : 1;
15126 unsigned LC3G2D3T : 1;
15127 unsigned LC3G2D4N : 1;
15128 unsigned LC3G2D4T : 1;
15131 struct
15133 unsigned D1N : 1;
15134 unsigned D1T : 1;
15135 unsigned D2N : 1;
15136 unsigned D2T : 1;
15137 unsigned D3N : 1;
15138 unsigned D3T : 1;
15139 unsigned D4N : 1;
15140 unsigned D4T : 1;
15142 } __CLC3GLS1bits_t;
15144 extern __at(0x0F2B) volatile __CLC3GLS1bits_t CLC3GLS1bits;
15146 #define _CLC3GLS1_LC3G2D1N 0x01
15147 #define _CLC3GLS1_D1N 0x01
15148 #define _CLC3GLS1_LC3G2D1T 0x02
15149 #define _CLC3GLS1_D1T 0x02
15150 #define _CLC3GLS1_LC3G2D2N 0x04
15151 #define _CLC3GLS1_D2N 0x04
15152 #define _CLC3GLS1_LC3G2D2T 0x08
15153 #define _CLC3GLS1_D2T 0x08
15154 #define _CLC3GLS1_LC3G2D3N 0x10
15155 #define _CLC3GLS1_D3N 0x10
15156 #define _CLC3GLS1_LC3G2D3T 0x20
15157 #define _CLC3GLS1_D3T 0x20
15158 #define _CLC3GLS1_LC3G2D4N 0x40
15159 #define _CLC3GLS1_D4N 0x40
15160 #define _CLC3GLS1_LC3G2D4T 0x80
15161 #define _CLC3GLS1_D4T 0x80
15163 //==============================================================================
15166 //==============================================================================
15167 // CLC3GLS2 Bits
15169 extern __at(0x0F2C) __sfr CLC3GLS2;
15171 typedef union
15173 struct
15175 unsigned LC3G3D1N : 1;
15176 unsigned LC3G3D1T : 1;
15177 unsigned LC3G3D2N : 1;
15178 unsigned LC3G3D2T : 1;
15179 unsigned LC3G3D3N : 1;
15180 unsigned LC3G3D3T : 1;
15181 unsigned LC3G3D4N : 1;
15182 unsigned LC3G3D4T : 1;
15185 struct
15187 unsigned D1N : 1;
15188 unsigned D1T : 1;
15189 unsigned D2N : 1;
15190 unsigned D2T : 1;
15191 unsigned D3N : 1;
15192 unsigned D3T : 1;
15193 unsigned D4N : 1;
15194 unsigned D4T : 1;
15196 } __CLC3GLS2bits_t;
15198 extern __at(0x0F2C) volatile __CLC3GLS2bits_t CLC3GLS2bits;
15200 #define _CLC3GLS2_LC3G3D1N 0x01
15201 #define _CLC3GLS2_D1N 0x01
15202 #define _CLC3GLS2_LC3G3D1T 0x02
15203 #define _CLC3GLS2_D1T 0x02
15204 #define _CLC3GLS2_LC3G3D2N 0x04
15205 #define _CLC3GLS2_D2N 0x04
15206 #define _CLC3GLS2_LC3G3D2T 0x08
15207 #define _CLC3GLS2_D2T 0x08
15208 #define _CLC3GLS2_LC3G3D3N 0x10
15209 #define _CLC3GLS2_D3N 0x10
15210 #define _CLC3GLS2_LC3G3D3T 0x20
15211 #define _CLC3GLS2_D3T 0x20
15212 #define _CLC3GLS2_LC3G3D4N 0x40
15213 #define _CLC3GLS2_D4N 0x40
15214 #define _CLC3GLS2_LC3G3D4T 0x80
15215 #define _CLC3GLS2_D4T 0x80
15217 //==============================================================================
15220 //==============================================================================
15221 // CLC3GLS3 Bits
15223 extern __at(0x0F2D) __sfr CLC3GLS3;
15225 typedef union
15227 struct
15229 unsigned LC3G4D1N : 1;
15230 unsigned LC3G4D1T : 1;
15231 unsigned LC3G4D2N : 1;
15232 unsigned LC3G4D2T : 1;
15233 unsigned LC3G4D3N : 1;
15234 unsigned LC3G4D3T : 1;
15235 unsigned LC3G4D4N : 1;
15236 unsigned LC3G4D4T : 1;
15239 struct
15241 unsigned G4D1N : 1;
15242 unsigned G4D1T : 1;
15243 unsigned G4D2N : 1;
15244 unsigned G4D2T : 1;
15245 unsigned G4D3N : 1;
15246 unsigned G4D3T : 1;
15247 unsigned G4D4N : 1;
15248 unsigned G4D4T : 1;
15250 } __CLC3GLS3bits_t;
15252 extern __at(0x0F2D) volatile __CLC3GLS3bits_t CLC3GLS3bits;
15254 #define _CLC3GLS3_LC3G4D1N 0x01
15255 #define _CLC3GLS3_G4D1N 0x01
15256 #define _CLC3GLS3_LC3G4D1T 0x02
15257 #define _CLC3GLS3_G4D1T 0x02
15258 #define _CLC3GLS3_LC3G4D2N 0x04
15259 #define _CLC3GLS3_G4D2N 0x04
15260 #define _CLC3GLS3_LC3G4D2T 0x08
15261 #define _CLC3GLS3_G4D2T 0x08
15262 #define _CLC3GLS3_LC3G4D3N 0x10
15263 #define _CLC3GLS3_G4D3N 0x10
15264 #define _CLC3GLS3_LC3G4D3T 0x20
15265 #define _CLC3GLS3_G4D3T 0x20
15266 #define _CLC3GLS3_LC3G4D4N 0x40
15267 #define _CLC3GLS3_G4D4N 0x40
15268 #define _CLC3GLS3_LC3G4D4T 0x80
15269 #define _CLC3GLS3_G4D4T 0x80
15271 //==============================================================================
15274 //==============================================================================
15275 // CLC4CON Bits
15277 extern __at(0x0F2E) __sfr CLC4CON;
15279 typedef union
15281 struct
15283 unsigned LC4MODE0 : 1;
15284 unsigned LC4MODE1 : 1;
15285 unsigned LC4MODE2 : 1;
15286 unsigned LC4INTN : 1;
15287 unsigned LC4INTP : 1;
15288 unsigned LC4OUT : 1;
15289 unsigned : 1;
15290 unsigned LC4EN : 1;
15293 struct
15295 unsigned MODE0 : 1;
15296 unsigned MODE1 : 1;
15297 unsigned MODE2 : 1;
15298 unsigned INTN : 1;
15299 unsigned INTP : 1;
15300 unsigned OUT : 1;
15301 unsigned : 1;
15302 unsigned EN : 1;
15305 struct
15307 unsigned MODE : 3;
15308 unsigned : 5;
15311 struct
15313 unsigned LC4MODE : 3;
15314 unsigned : 5;
15316 } __CLC4CONbits_t;
15318 extern __at(0x0F2E) volatile __CLC4CONbits_t CLC4CONbits;
15320 #define _CLC4CON_LC4MODE0 0x01
15321 #define _CLC4CON_MODE0 0x01
15322 #define _CLC4CON_LC4MODE1 0x02
15323 #define _CLC4CON_MODE1 0x02
15324 #define _CLC4CON_LC4MODE2 0x04
15325 #define _CLC4CON_MODE2 0x04
15326 #define _CLC4CON_LC4INTN 0x08
15327 #define _CLC4CON_INTN 0x08
15328 #define _CLC4CON_LC4INTP 0x10
15329 #define _CLC4CON_INTP 0x10
15330 #define _CLC4CON_LC4OUT 0x20
15331 #define _CLC4CON_OUT 0x20
15332 #define _CLC4CON_LC4EN 0x80
15333 #define _CLC4CON_EN 0x80
15335 //==============================================================================
15338 //==============================================================================
15339 // CLC4POL Bits
15341 extern __at(0x0F2F) __sfr CLC4POL;
15343 typedef union
15345 struct
15347 unsigned LC4G1POL : 1;
15348 unsigned LC4G2POL : 1;
15349 unsigned LC4G3POL : 1;
15350 unsigned LC4G4POL : 1;
15351 unsigned : 1;
15352 unsigned : 1;
15353 unsigned : 1;
15354 unsigned LC4POL : 1;
15357 struct
15359 unsigned G1POL : 1;
15360 unsigned G2POL : 1;
15361 unsigned G3POL : 1;
15362 unsigned G4POL : 1;
15363 unsigned : 1;
15364 unsigned : 1;
15365 unsigned : 1;
15366 unsigned POL : 1;
15368 } __CLC4POLbits_t;
15370 extern __at(0x0F2F) volatile __CLC4POLbits_t CLC4POLbits;
15372 #define _CLC4POL_LC4G1POL 0x01
15373 #define _CLC4POL_G1POL 0x01
15374 #define _CLC4POL_LC4G2POL 0x02
15375 #define _CLC4POL_G2POL 0x02
15376 #define _CLC4POL_LC4G3POL 0x04
15377 #define _CLC4POL_G3POL 0x04
15378 #define _CLC4POL_LC4G4POL 0x08
15379 #define _CLC4POL_G4POL 0x08
15380 #define _CLC4POL_LC4POL 0x80
15381 #define _CLC4POL_POL 0x80
15383 //==============================================================================
15386 //==============================================================================
15387 // CLC4SEL0 Bits
15389 extern __at(0x0F30) __sfr CLC4SEL0;
15391 typedef union
15393 struct
15395 unsigned LC4D1S0 : 1;
15396 unsigned LC4D1S1 : 1;
15397 unsigned LC4D1S2 : 1;
15398 unsigned LC4D1S3 : 1;
15399 unsigned LC4D1S4 : 1;
15400 unsigned LC4D1S5 : 1;
15401 unsigned : 1;
15402 unsigned : 1;
15405 struct
15407 unsigned D1S0 : 1;
15408 unsigned D1S1 : 1;
15409 unsigned D1S2 : 1;
15410 unsigned D1S3 : 1;
15411 unsigned D1S4 : 1;
15412 unsigned D1S5 : 1;
15413 unsigned : 1;
15414 unsigned : 1;
15417 struct
15419 unsigned LC4D1S : 6;
15420 unsigned : 2;
15423 struct
15425 unsigned D1S : 6;
15426 unsigned : 2;
15428 } __CLC4SEL0bits_t;
15430 extern __at(0x0F30) volatile __CLC4SEL0bits_t CLC4SEL0bits;
15432 #define _CLC4SEL0_LC4D1S0 0x01
15433 #define _CLC4SEL0_D1S0 0x01
15434 #define _CLC4SEL0_LC4D1S1 0x02
15435 #define _CLC4SEL0_D1S1 0x02
15436 #define _CLC4SEL0_LC4D1S2 0x04
15437 #define _CLC4SEL0_D1S2 0x04
15438 #define _CLC4SEL0_LC4D1S3 0x08
15439 #define _CLC4SEL0_D1S3 0x08
15440 #define _CLC4SEL0_LC4D1S4 0x10
15441 #define _CLC4SEL0_D1S4 0x10
15442 #define _CLC4SEL0_LC4D1S5 0x20
15443 #define _CLC4SEL0_D1S5 0x20
15445 //==============================================================================
15448 //==============================================================================
15449 // CLC4SEL1 Bits
15451 extern __at(0x0F31) __sfr CLC4SEL1;
15453 typedef union
15455 struct
15457 unsigned LC4D2S0 : 1;
15458 unsigned LC4D2S1 : 1;
15459 unsigned LC4D2S2 : 1;
15460 unsigned LC4D2S3 : 1;
15461 unsigned LC4D2S4 : 1;
15462 unsigned LC4D2S5 : 1;
15463 unsigned : 1;
15464 unsigned : 1;
15467 struct
15469 unsigned D2S0 : 1;
15470 unsigned D2S1 : 1;
15471 unsigned D2S2 : 1;
15472 unsigned D2S3 : 1;
15473 unsigned D2S4 : 1;
15474 unsigned D2S5 : 1;
15475 unsigned : 1;
15476 unsigned : 1;
15479 struct
15481 unsigned LC4D2S : 6;
15482 unsigned : 2;
15485 struct
15487 unsigned D2S : 6;
15488 unsigned : 2;
15490 } __CLC4SEL1bits_t;
15492 extern __at(0x0F31) volatile __CLC4SEL1bits_t CLC4SEL1bits;
15494 #define _CLC4SEL1_LC4D2S0 0x01
15495 #define _CLC4SEL1_D2S0 0x01
15496 #define _CLC4SEL1_LC4D2S1 0x02
15497 #define _CLC4SEL1_D2S1 0x02
15498 #define _CLC4SEL1_LC4D2S2 0x04
15499 #define _CLC4SEL1_D2S2 0x04
15500 #define _CLC4SEL1_LC4D2S3 0x08
15501 #define _CLC4SEL1_D2S3 0x08
15502 #define _CLC4SEL1_LC4D2S4 0x10
15503 #define _CLC4SEL1_D2S4 0x10
15504 #define _CLC4SEL1_LC4D2S5 0x20
15505 #define _CLC4SEL1_D2S5 0x20
15507 //==============================================================================
15510 //==============================================================================
15511 // CLC4SEL2 Bits
15513 extern __at(0x0F32) __sfr CLC4SEL2;
15515 typedef union
15517 struct
15519 unsigned LC4D3S0 : 1;
15520 unsigned LC4D3S1 : 1;
15521 unsigned LC4D3S2 : 1;
15522 unsigned LC4D3S3 : 1;
15523 unsigned LC4D3S4 : 1;
15524 unsigned LC4D3S5 : 1;
15525 unsigned : 1;
15526 unsigned : 1;
15529 struct
15531 unsigned D3S0 : 1;
15532 unsigned D3S1 : 1;
15533 unsigned D3S2 : 1;
15534 unsigned D3S3 : 1;
15535 unsigned D3S4 : 1;
15536 unsigned D3S5 : 1;
15537 unsigned : 1;
15538 unsigned : 1;
15541 struct
15543 unsigned D3S : 6;
15544 unsigned : 2;
15547 struct
15549 unsigned LC4D3S : 6;
15550 unsigned : 2;
15552 } __CLC4SEL2bits_t;
15554 extern __at(0x0F32) volatile __CLC4SEL2bits_t CLC4SEL2bits;
15556 #define _CLC4SEL2_LC4D3S0 0x01
15557 #define _CLC4SEL2_D3S0 0x01
15558 #define _CLC4SEL2_LC4D3S1 0x02
15559 #define _CLC4SEL2_D3S1 0x02
15560 #define _CLC4SEL2_LC4D3S2 0x04
15561 #define _CLC4SEL2_D3S2 0x04
15562 #define _CLC4SEL2_LC4D3S3 0x08
15563 #define _CLC4SEL2_D3S3 0x08
15564 #define _CLC4SEL2_LC4D3S4 0x10
15565 #define _CLC4SEL2_D3S4 0x10
15566 #define _CLC4SEL2_LC4D3S5 0x20
15567 #define _CLC4SEL2_D3S5 0x20
15569 //==============================================================================
15572 //==============================================================================
15573 // CLC4SEL3 Bits
15575 extern __at(0x0F33) __sfr CLC4SEL3;
15577 typedef union
15579 struct
15581 unsigned LC4D4S0 : 1;
15582 unsigned LC4D4S1 : 1;
15583 unsigned LC4D4S2 : 1;
15584 unsigned LC4D4S3 : 1;
15585 unsigned LC4D4S4 : 1;
15586 unsigned LC4D4S5 : 1;
15587 unsigned : 1;
15588 unsigned : 1;
15591 struct
15593 unsigned D4S0 : 1;
15594 unsigned D4S1 : 1;
15595 unsigned D4S2 : 1;
15596 unsigned D4S3 : 1;
15597 unsigned D4S4 : 1;
15598 unsigned D4S5 : 1;
15599 unsigned : 1;
15600 unsigned : 1;
15603 struct
15605 unsigned D4S : 6;
15606 unsigned : 2;
15609 struct
15611 unsigned LC4D4S : 6;
15612 unsigned : 2;
15614 } __CLC4SEL3bits_t;
15616 extern __at(0x0F33) volatile __CLC4SEL3bits_t CLC4SEL3bits;
15618 #define _CLC4SEL3_LC4D4S0 0x01
15619 #define _CLC4SEL3_D4S0 0x01
15620 #define _CLC4SEL3_LC4D4S1 0x02
15621 #define _CLC4SEL3_D4S1 0x02
15622 #define _CLC4SEL3_LC4D4S2 0x04
15623 #define _CLC4SEL3_D4S2 0x04
15624 #define _CLC4SEL3_LC4D4S3 0x08
15625 #define _CLC4SEL3_D4S3 0x08
15626 #define _CLC4SEL3_LC4D4S4 0x10
15627 #define _CLC4SEL3_D4S4 0x10
15628 #define _CLC4SEL3_LC4D4S5 0x20
15629 #define _CLC4SEL3_D4S5 0x20
15631 //==============================================================================
15634 //==============================================================================
15635 // CLC4GLS0 Bits
15637 extern __at(0x0F34) __sfr CLC4GLS0;
15639 typedef union
15641 struct
15643 unsigned LC4G1D1N : 1;
15644 unsigned LC4G1D1T : 1;
15645 unsigned LC4G1D2N : 1;
15646 unsigned LC4G1D2T : 1;
15647 unsigned LC4G1D3N : 1;
15648 unsigned LC4G1D3T : 1;
15649 unsigned LC4G1D4N : 1;
15650 unsigned LC4G1D4T : 1;
15653 struct
15655 unsigned D1N : 1;
15656 unsigned D1T : 1;
15657 unsigned D2N : 1;
15658 unsigned D2T : 1;
15659 unsigned D3N : 1;
15660 unsigned D3T : 1;
15661 unsigned D4N : 1;
15662 unsigned D4T : 1;
15664 } __CLC4GLS0bits_t;
15666 extern __at(0x0F34) volatile __CLC4GLS0bits_t CLC4GLS0bits;
15668 #define _CLC4GLS0_LC4G1D1N 0x01
15669 #define _CLC4GLS0_D1N 0x01
15670 #define _CLC4GLS0_LC4G1D1T 0x02
15671 #define _CLC4GLS0_D1T 0x02
15672 #define _CLC4GLS0_LC4G1D2N 0x04
15673 #define _CLC4GLS0_D2N 0x04
15674 #define _CLC4GLS0_LC4G1D2T 0x08
15675 #define _CLC4GLS0_D2T 0x08
15676 #define _CLC4GLS0_LC4G1D3N 0x10
15677 #define _CLC4GLS0_D3N 0x10
15678 #define _CLC4GLS0_LC4G1D3T 0x20
15679 #define _CLC4GLS0_D3T 0x20
15680 #define _CLC4GLS0_LC4G1D4N 0x40
15681 #define _CLC4GLS0_D4N 0x40
15682 #define _CLC4GLS0_LC4G1D4T 0x80
15683 #define _CLC4GLS0_D4T 0x80
15685 //==============================================================================
15688 //==============================================================================
15689 // CLC4GLS1 Bits
15691 extern __at(0x0F35) __sfr CLC4GLS1;
15693 typedef union
15695 struct
15697 unsigned LC4G2D1N : 1;
15698 unsigned LC4G2D1T : 1;
15699 unsigned LC4G2D2N : 1;
15700 unsigned LC4G2D2T : 1;
15701 unsigned LC4G2D3N : 1;
15702 unsigned LC4G2D3T : 1;
15703 unsigned LC4G2D4N : 1;
15704 unsigned LC4G2D4T : 1;
15707 struct
15709 unsigned D1N : 1;
15710 unsigned D1T : 1;
15711 unsigned D2N : 1;
15712 unsigned D2T : 1;
15713 unsigned D3N : 1;
15714 unsigned D3T : 1;
15715 unsigned D4N : 1;
15716 unsigned D4T : 1;
15718 } __CLC4GLS1bits_t;
15720 extern __at(0x0F35) volatile __CLC4GLS1bits_t CLC4GLS1bits;
15722 #define _CLC4GLS1_LC4G2D1N 0x01
15723 #define _CLC4GLS1_D1N 0x01
15724 #define _CLC4GLS1_LC4G2D1T 0x02
15725 #define _CLC4GLS1_D1T 0x02
15726 #define _CLC4GLS1_LC4G2D2N 0x04
15727 #define _CLC4GLS1_D2N 0x04
15728 #define _CLC4GLS1_LC4G2D2T 0x08
15729 #define _CLC4GLS1_D2T 0x08
15730 #define _CLC4GLS1_LC4G2D3N 0x10
15731 #define _CLC4GLS1_D3N 0x10
15732 #define _CLC4GLS1_LC4G2D3T 0x20
15733 #define _CLC4GLS1_D3T 0x20
15734 #define _CLC4GLS1_LC4G2D4N 0x40
15735 #define _CLC4GLS1_D4N 0x40
15736 #define _CLC4GLS1_LC4G2D4T 0x80
15737 #define _CLC4GLS1_D4T 0x80
15739 //==============================================================================
15742 //==============================================================================
15743 // CLC4GLS2 Bits
15745 extern __at(0x0F36) __sfr CLC4GLS2;
15747 typedef union
15749 struct
15751 unsigned LC4G3D1N : 1;
15752 unsigned LC4G3D1T : 1;
15753 unsigned LC4G3D2N : 1;
15754 unsigned LC4G3D2T : 1;
15755 unsigned LC4G3D3N : 1;
15756 unsigned LC4G3D3T : 1;
15757 unsigned LC4G3D4N : 1;
15758 unsigned LC4G3D4T : 1;
15761 struct
15763 unsigned D1N : 1;
15764 unsigned D1T : 1;
15765 unsigned D2N : 1;
15766 unsigned D2T : 1;
15767 unsigned D3N : 1;
15768 unsigned D3T : 1;
15769 unsigned D4N : 1;
15770 unsigned D4T : 1;
15772 } __CLC4GLS2bits_t;
15774 extern __at(0x0F36) volatile __CLC4GLS2bits_t CLC4GLS2bits;
15776 #define _CLC4GLS2_LC4G3D1N 0x01
15777 #define _CLC4GLS2_D1N 0x01
15778 #define _CLC4GLS2_LC4G3D1T 0x02
15779 #define _CLC4GLS2_D1T 0x02
15780 #define _CLC4GLS2_LC4G3D2N 0x04
15781 #define _CLC4GLS2_D2N 0x04
15782 #define _CLC4GLS2_LC4G3D2T 0x08
15783 #define _CLC4GLS2_D2T 0x08
15784 #define _CLC4GLS2_LC4G3D3N 0x10
15785 #define _CLC4GLS2_D3N 0x10
15786 #define _CLC4GLS2_LC4G3D3T 0x20
15787 #define _CLC4GLS2_D3T 0x20
15788 #define _CLC4GLS2_LC4G3D4N 0x40
15789 #define _CLC4GLS2_D4N 0x40
15790 #define _CLC4GLS2_LC4G3D4T 0x80
15791 #define _CLC4GLS2_D4T 0x80
15793 //==============================================================================
15796 //==============================================================================
15797 // CLC4GLS3 Bits
15799 extern __at(0x0F37) __sfr CLC4GLS3;
15801 typedef union
15803 struct
15805 unsigned LC4G4D1N : 1;
15806 unsigned LC4G4D1T : 1;
15807 unsigned LC4G4D2N : 1;
15808 unsigned LC4G4D2T : 1;
15809 unsigned LC4G4D3N : 1;
15810 unsigned LC4G4D3T : 1;
15811 unsigned LC4G4D4N : 1;
15812 unsigned LC4G4D4T : 1;
15815 struct
15817 unsigned G4D1N : 1;
15818 unsigned G4D1T : 1;
15819 unsigned G4D2N : 1;
15820 unsigned G4D2T : 1;
15821 unsigned G4D3N : 1;
15822 unsigned G4D3T : 1;
15823 unsigned G4D4N : 1;
15824 unsigned G4D4T : 1;
15826 } __CLC4GLS3bits_t;
15828 extern __at(0x0F37) volatile __CLC4GLS3bits_t CLC4GLS3bits;
15830 #define _CLC4GLS3_LC4G4D1N 0x01
15831 #define _CLC4GLS3_G4D1N 0x01
15832 #define _CLC4GLS3_LC4G4D1T 0x02
15833 #define _CLC4GLS3_G4D1T 0x02
15834 #define _CLC4GLS3_LC4G4D2N 0x04
15835 #define _CLC4GLS3_G4D2N 0x04
15836 #define _CLC4GLS3_LC4G4D2T 0x08
15837 #define _CLC4GLS3_G4D2T 0x08
15838 #define _CLC4GLS3_LC4G4D3N 0x10
15839 #define _CLC4GLS3_G4D3N 0x10
15840 #define _CLC4GLS3_LC4G4D3T 0x20
15841 #define _CLC4GLS3_G4D3T 0x20
15842 #define _CLC4GLS3_LC4G4D4N 0x40
15843 #define _CLC4GLS3_G4D4N 0x40
15844 #define _CLC4GLS3_LC4G4D4T 0x80
15845 #define _CLC4GLS3_G4D4T 0x80
15847 //==============================================================================
15850 //==============================================================================
15851 // STATUS_SHAD Bits
15853 extern __at(0x0FE4) __sfr STATUS_SHAD;
15855 typedef struct
15857 unsigned C_SHAD : 1;
15858 unsigned DC_SHAD : 1;
15859 unsigned Z_SHAD : 1;
15860 unsigned : 1;
15861 unsigned : 1;
15862 unsigned : 1;
15863 unsigned : 1;
15864 unsigned : 1;
15865 } __STATUS_SHADbits_t;
15867 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits;
15869 #define _C_SHAD 0x01
15870 #define _DC_SHAD 0x02
15871 #define _Z_SHAD 0x04
15873 //==============================================================================
15875 extern __at(0x0FE5) __sfr WREG_SHAD;
15876 extern __at(0x0FE6) __sfr BSR_SHAD;
15877 extern __at(0x0FE7) __sfr PCLATH_SHAD;
15878 extern __at(0x0FE8) __sfr FSR0L_SHAD;
15879 extern __at(0x0FE9) __sfr FSR0H_SHAD;
15880 extern __at(0x0FEA) __sfr FSR1L_SHAD;
15881 extern __at(0x0FEB) __sfr FSR1H_SHAD;
15882 extern __at(0x0FED) __sfr STKPTR;
15883 extern __at(0x0FEE) __sfr TOSL;
15884 extern __at(0x0FEF) __sfr TOSH;
15886 //==============================================================================
15888 // Configuration Bits
15890 //==============================================================================
15892 #define _CONFIG1 0x8007
15893 #define _CONFIG2 0x8008
15894 #define _CONFIG3 0x8009
15896 //----------------------------- CONFIG1 Options -------------------------------
15898 #define _FOSC_HS 0x3FFA // HS Oscillator, High-speed crystal/resonator connected between OSC1 and OSC2 pins.
15899 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator: I/O function on CLKIN pin.
15900 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins.
15901 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins.
15902 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins.
15903 #define _PWRTE_ON 0x3FDF // PWRT enabled.
15904 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
15905 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
15906 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
15907 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
15908 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
15909 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
15910 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
15911 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
15912 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
15913 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
15914 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
15915 #define _IESO_OFF 0x2FFF // Internal External Switch Over mode is disabled.
15916 #define _IESO_ON 0x3FFF // Internal External Switch Over mode is enabled.
15917 #define _FCMEN_OFF 0x1FFF // Fail-Safe Clock Monitor is disabled.
15918 #define _FCMEN_ON 0x3FFF // Fail-Safe Clock Monitor is enabled.
15920 //----------------------------- CONFIG2 Options -------------------------------
15922 #define _WRT_ALL 0x3FFC // 000h to 1FFFh write protected, no addresses may be modified by PMCON control.
15923 #define _WRT_HALF 0x3FFD // 000h to FFFh write protected, 1000h to 1FFFh may be modified by PMCON control.
15924 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to 1FFFh may be modified by PMCON control.
15925 #define _WRT_OFF 0x3FFF // Write protection off.
15926 #define _PPS1WAY_OFF 0x3FFB // The PPSLOCK bit can be set and cleared repeatedly by software.
15927 #define _PPS1WAY_ON 0x3FFF // The PPSLOCK bit cannot be cleared once it is set by software.
15928 #define _ZCD_ON 0x3F7F // ZCD always enabled.
15929 #define _ZCD_OFF 0x3FFF // ZCD disable. ZCD can be enabled by setting the ZCDSEN bit of ZCDCON.
15930 #define _PLLEN_OFF 0x3EFF // 4x PLL is enabled when software sets the SPLLEN bit.
15931 #define _PLLEN_ON 0x3FFF // 4x PLL is always enabled.
15932 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
15933 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
15934 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
15935 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
15936 #define _LPBOR_ON 0x37FF // Low-Power BOR is enabled.
15937 #define _LPBOR_OFF 0x3FFF // Low-Power BOR is disabled.
15938 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
15939 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
15940 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
15941 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
15943 //----------------------------- CONFIG3 Options -------------------------------
15945 #define _WDTCPS_WDTCPS0 0x3FE0 // 1:32 (1 ms period).
15946 #define _WDTCPS_WDTCPS1 0x3FE1 // 1:64 (2 ms period).
15947 #define _WDTCPS_WDTCPS2 0x3FE2 // 1:128 (4 ms period).
15948 #define _WDTCPS_WDTCPS3 0x3FE3 // 1:256 (8 ms period).
15949 #define _WDTCPS_WDTCPS4 0x3FE4 // 1:512 (16 ms period).
15950 #define _WDTCPS_WDTCPS5 0x3FE5 // 1:1024 (32 ms period).
15951 #define _WDTCPS_WDTCPS6 0x3FE6 // 1:2048 (64 ms period).
15952 #define _WDTCPS_WDTCPS7 0x3FE7 // 1:4096 (128 ms period).
15953 #define _WDTCPS_WDTCPS8 0x3FE8 // 1:8192 (256 ms period).
15954 #define _WDTCPS_WDTCPS9 0x3FE9 // 1:16384 (512 ms period).
15955 #define _WDTCPS_WDTCPSA 0x3FEA // 1:32768 (1 s period).
15956 #define _WDTCPS_WDTCPSB 0x3FEB // 1:65536 (2 s period).
15957 #define _WDTCPS_WDTCPSC 0x3FEC // 1:131072 (4 s period).
15958 #define _WDTCPS_WDTCPSD 0x3FED // 1:262144 (8 s period).
15959 #define _WDTCPS_WDTCPSE 0x3FEE // 1:524299 (16 s period).
15960 #define _WDTCPS_WDTCPSF 0x3FEF // 1:1048576 (32 s period).
15961 #define _WDTCPS_WDTCPS10 0x3FF0 // 1:2097152 (64 s period).
15962 #define _WDTCPS_WDTCPS11 0x3FF1 // 1:4194304 (128 s period).
15963 #define _WDTCPS_WDTCPS12 0x3FF2 // 1:8388608 (256 s period).
15964 #define _WDTCPS_WDTCPS1F 0x3FFF // Software Control (WDTPS).
15965 #define _WDTE_OFF 0x3F9F // WDT disabled.
15966 #define _WDTE_SWDTEN 0x3FBF // WDT controlled by the SWDTEN bit in the WDTCON register.
15967 #define _WDTE_NSLEEP 0x3FDF // WDT enabled while running and disabled in Sleep.
15968 #define _WDTE_ON 0x3FFF // WDT enabled.
15969 #define _WDTCWS_WDTCWS125 0x38FF // 12.5 percent window open time.
15970 #define _WDTCWS_WDTCWS25 0x39FF // 25 percent window open time.
15971 #define _WDTCWS_WDTCWS375 0x3AFF // 37.5 percent window open time.
15972 #define _WDTCWS_WDTCWS50 0x3BFF // 50 percent window open time.
15973 #define _WDTCWS_WDTCWS625 0x3CFF // 62.5 percent window open time.
15974 #define _WDTCWS_WDTCWS75 0x3DFF // 75 percent window open time.
15975 #define _WDTCWS_WDTCWS100 0x3EFF // 100 percent window open time (Legacy WDT).
15976 #define _WDTCWS_WDTCWSSW 0x3FFF // Software WDT window size control (WDTWS bits).
15977 #define _WDTCCS_LFINTOSC 0x07FF // 31.0kHz LFINTOSC.
15978 #define _WDTCCS_MFINTOSC 0x0FFF // 31.25 kHz HFINTOSC (MFINTOSC).
15979 #define _WDTCCS_SWC 0x3FFF // Software control, controlled by WDTCS bits.
15981 //==============================================================================
15983 #define _DEVID1 0x8006
15985 #define _IDLOC0 0x8000
15986 #define _IDLOC1 0x8001
15987 #define _IDLOC2 0x8002
15988 #define _IDLOC3 0x8003
15990 //==============================================================================
15992 #ifndef NO_BIT_DEFINES
15994 #define ADON ADCON0bits.ADON // bit 0
15995 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
15996 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
15997 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
15998 #define CHS0 ADCON0bits.CHS0 // bit 2
15999 #define CHS1 ADCON0bits.CHS1 // bit 3
16000 #define CHS2 ADCON0bits.CHS2 // bit 4
16001 #define CHS3 ADCON0bits.CHS3 // bit 5
16002 #define CHS4 ADCON0bits.CHS4 // bit 6
16004 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
16005 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
16006 #define ADCS0 ADCON1bits.ADCS0 // bit 4
16007 #define ADCS1 ADCON1bits.ADCS1 // bit 5
16008 #define ADCS2 ADCON1bits.ADCS2 // bit 6
16009 #define ADFM ADCON1bits.ADFM // bit 7
16011 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 4
16012 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 5
16013 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 6
16014 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 7
16016 #define ANSA0 ANSELAbits.ANSA0 // bit 0
16017 #define ANSA1 ANSELAbits.ANSA1 // bit 1
16018 #define ANSA2 ANSELAbits.ANSA2 // bit 2
16019 #define ANSA4 ANSELAbits.ANSA4 // bit 4
16021 #define ANSB4 ANSELBbits.ANSB4 // bit 4
16022 #define ANSB5 ANSELBbits.ANSB5 // bit 5
16023 #define ANSB6 ANSELBbits.ANSB6 // bit 6
16024 #define ANSB7 ANSELBbits.ANSB7 // bit 7
16026 #define ANSC0 ANSELCbits.ANSC0 // bit 0
16027 #define ANSC1 ANSELCbits.ANSC1 // bit 1
16028 #define ANSC2 ANSELCbits.ANSC2 // bit 2
16029 #define ANSC3 ANSELCbits.ANSC3 // bit 3
16030 #define ANSC6 ANSELCbits.ANSC6 // bit 6
16031 #define ANSC7 ANSELCbits.ANSC7 // bit 7
16033 #define AT1CC18 AT1CC1Hbits.AT1CC18 // bit 0, shadows bit in AT1CC1Hbits
16034 #define CC18 AT1CC1Hbits.CC18 // bit 0, shadows bit in AT1CC1Hbits
16035 #define AT1CC19 AT1CC1Hbits.AT1CC19 // bit 1, shadows bit in AT1CC1Hbits
16036 #define CC19 AT1CC1Hbits.CC19 // bit 1, shadows bit in AT1CC1Hbits
16038 #define AT1CC10 AT1CC1Lbits.AT1CC10 // bit 0, shadows bit in AT1CC1Lbits
16039 #define CC10 AT1CC1Lbits.CC10 // bit 0, shadows bit in AT1CC1Lbits
16040 #define AT1CC11 AT1CC1Lbits.AT1CC11 // bit 1, shadows bit in AT1CC1Lbits
16041 #define CC11 AT1CC1Lbits.CC11 // bit 1, shadows bit in AT1CC1Lbits
16042 #define AT1CC12 AT1CC1Lbits.AT1CC12 // bit 2, shadows bit in AT1CC1Lbits
16043 #define CC12 AT1CC1Lbits.CC12 // bit 2, shadows bit in AT1CC1Lbits
16044 #define AT1CC13 AT1CC1Lbits.AT1CC13 // bit 3, shadows bit in AT1CC1Lbits
16045 #define CC13 AT1CC1Lbits.CC13 // bit 3, shadows bit in AT1CC1Lbits
16046 #define AT1CC14 AT1CC1Lbits.AT1CC14 // bit 4, shadows bit in AT1CC1Lbits
16047 #define CC14 AT1CC1Lbits.CC14 // bit 4, shadows bit in AT1CC1Lbits
16048 #define AT1CC15 AT1CC1Lbits.AT1CC15 // bit 5, shadows bit in AT1CC1Lbits
16049 #define CC15 AT1CC1Lbits.CC15 // bit 5, shadows bit in AT1CC1Lbits
16050 #define AT1CC16 AT1CC1Lbits.AT1CC16 // bit 6, shadows bit in AT1CC1Lbits
16051 #define CC16 AT1CC1Lbits.CC16 // bit 6, shadows bit in AT1CC1Lbits
16052 #define AT1CC17 AT1CC1Lbits.AT1CC17 // bit 7, shadows bit in AT1CC1Lbits
16053 #define CC17 AT1CC1Lbits.CC17 // bit 7, shadows bit in AT1CC1Lbits
16055 #define AT1CC28 AT1CC2Hbits.AT1CC28 // bit 0, shadows bit in AT1CC2Hbits
16056 #define CC28 AT1CC2Hbits.CC28 // bit 0, shadows bit in AT1CC2Hbits
16057 #define AT1CC29 AT1CC2Hbits.AT1CC29 // bit 1, shadows bit in AT1CC2Hbits
16058 #define CC29 AT1CC2Hbits.CC29 // bit 1, shadows bit in AT1CC2Hbits
16060 #define AT1CC38 AT1CC3Hbits.AT1CC38 // bit 0, shadows bit in AT1CC3Hbits
16061 #define CC38 AT1CC3Hbits.CC38 // bit 0, shadows bit in AT1CC3Hbits
16062 #define AT1CC39 AT1CC3Hbits.AT1CC39 // bit 1, shadows bit in AT1CC3Hbits
16063 #define CC39 AT1CC3Hbits.CC39 // bit 1, shadows bit in AT1CC3Hbits
16065 #define AT1CC30 AT1CC3Lbits.AT1CC30 // bit 0, shadows bit in AT1CC3Lbits
16066 #define CC30 AT1CC3Lbits.CC30 // bit 0, shadows bit in AT1CC3Lbits
16067 #define AT1CC31 AT1CC3Lbits.AT1CC31 // bit 1, shadows bit in AT1CC3Lbits
16068 #define CC31 AT1CC3Lbits.CC31 // bit 1, shadows bit in AT1CC3Lbits
16069 #define AT1CC32 AT1CC3Lbits.AT1CC32 // bit 2, shadows bit in AT1CC3Lbits
16070 #define CC32 AT1CC3Lbits.CC32 // bit 2, shadows bit in AT1CC3Lbits
16071 #define AT1CC33 AT1CC3Lbits.AT1CC33 // bit 3, shadows bit in AT1CC3Lbits
16072 #define CC33 AT1CC3Lbits.CC33 // bit 3, shadows bit in AT1CC3Lbits
16073 #define AT1CC34 AT1CC3Lbits.AT1CC34 // bit 4, shadows bit in AT1CC3Lbits
16074 #define CC34 AT1CC3Lbits.CC34 // bit 4, shadows bit in AT1CC3Lbits
16075 #define AT1CC35 AT1CC3Lbits.AT1CC35 // bit 5, shadows bit in AT1CC3Lbits
16076 #define CC35 AT1CC3Lbits.CC35 // bit 5, shadows bit in AT1CC3Lbits
16077 #define AT1CC36 AT1CC3Lbits.AT1CC36 // bit 6, shadows bit in AT1CC3Lbits
16078 #define CC36 AT1CC3Lbits.CC36 // bit 6, shadows bit in AT1CC3Lbits
16079 #define AT1CC37 AT1CC3Lbits.AT1CC37 // bit 7, shadows bit in AT1CC3Lbits
16080 #define CC37 AT1CC3Lbits.CC37 // bit 7, shadows bit in AT1CC3Lbits
16082 #define AT1CC1MODE AT1CCON1bits.AT1CC1MODE // bit 0, shadows bit in AT1CCON1bits
16083 #define CC1MODE AT1CCON1bits.CC1MODE // bit 0, shadows bit in AT1CCON1bits
16084 #define AT1CAP1P AT1CCON1bits.AT1CAP1P // bit 3, shadows bit in AT1CCON1bits
16085 #define CAP1P AT1CCON1bits.CAP1P // bit 3, shadows bit in AT1CCON1bits
16086 #define AT1CC1POL AT1CCON1bits.AT1CC1POL // bit 4, shadows bit in AT1CCON1bits
16087 #define CC1POL AT1CCON1bits.CC1POL // bit 4, shadows bit in AT1CCON1bits
16088 #define AT1CC1EN AT1CCON1bits.AT1CC1EN // bit 7, shadows bit in AT1CCON1bits
16089 #define CC1EN AT1CCON1bits.CC1EN // bit 7, shadows bit in AT1CCON1bits
16091 #define AT1CC2MODE AT1CCON2bits.AT1CC2MODE // bit 0, shadows bit in AT1CCON2bits
16092 #define CC2MODE AT1CCON2bits.CC2MODE // bit 0, shadows bit in AT1CCON2bits
16093 #define AT1CAP2P AT1CCON2bits.AT1CAP2P // bit 3, shadows bit in AT1CCON2bits
16094 #define CAP2P AT1CCON2bits.CAP2P // bit 3, shadows bit in AT1CCON2bits
16095 #define AT1CC2POL AT1CCON2bits.AT1CC2POL // bit 4, shadows bit in AT1CCON2bits
16096 #define CC2POL AT1CCON2bits.CC2POL // bit 4, shadows bit in AT1CCON2bits
16097 #define AT1CC2EN AT1CCON2bits.AT1CC2EN // bit 7, shadows bit in AT1CCON2bits
16098 #define CC2EN AT1CCON2bits.CC2EN // bit 7, shadows bit in AT1CCON2bits
16100 #define AT1CC3MODE AT1CCON3bits.AT1CC3MODE // bit 0, shadows bit in AT1CCON3bits
16101 #define CC3MODE AT1CCON3bits.CC3MODE // bit 0, shadows bit in AT1CCON3bits
16102 #define AT1CAP3P AT1CCON3bits.AT1CAP3P // bit 3, shadows bit in AT1CCON3bits
16103 #define CAP3P AT1CCON3bits.CAP3P // bit 3, shadows bit in AT1CCON3bits
16104 #define AT1CC3POL AT1CCON3bits.AT1CC3POL // bit 4, shadows bit in AT1CCON3bits
16105 #define CC3POL AT1CCON3bits.CC3POL // bit 4, shadows bit in AT1CCON3bits
16106 #define AT1CC3EN AT1CCON3bits.AT1CC3EN // bit 7, shadows bit in AT1CCON3bits
16107 #define CC3EN AT1CCON3bits.CC3EN // bit 7, shadows bit in AT1CCON3bits
16109 #define CS AT1CLKbits.CS // bit 0, shadows bit in AT1CLKbits
16110 #define AT1CS AT1CLKbits.AT1CS // bit 0, shadows bit in AT1CLKbits
16111 #define CS0 AT1CLKbits.CS0 // bit 0, shadows bit in AT1CLKbits
16112 #define AT1CS0 AT1CLKbits.AT1CS0 // bit 0, shadows bit in AT1CLKbits
16114 #define MODE AT1CON0bits.MODE // bit 0, shadows bit in AT1CON0bits
16115 #define AT1MODE AT1CON0bits.AT1MODE // bit 0, shadows bit in AT1CON0bits
16116 #define APMOD AT1CON0bits.APMOD // bit 1, shadows bit in AT1CON0bits
16117 #define AT1APMOD AT1CON0bits.AT1APMOD // bit 1, shadows bit in AT1CON0bits
16118 #define POL AT1CON0bits.POL // bit 3, shadows bit in AT1CON0bits
16119 #define AT1POL AT1CON0bits.AT1POL // bit 3, shadows bit in AT1CON0bits
16120 #define PS0 AT1CON0bits.PS0 // bit 4, shadows bit in AT1CON0bits
16121 #define AT1PS0 AT1CON0bits.AT1PS0 // bit 4, shadows bit in AT1CON0bits
16122 #define PS1 AT1CON0bits.PS1 // bit 5, shadows bit in AT1CON0bits
16123 #define AT1PS1 AT1CON0bits.AT1PS1 // bit 5, shadows bit in AT1CON0bits
16124 #define PREC AT1CON0bits.PREC // bit 6, shadows bit in AT1CON0bits
16125 #define AT1PREC AT1CON0bits.AT1PREC // bit 6, shadows bit in AT1CON0bits
16126 #define EN AT1CON0bits.EN // bit 7, shadows bit in AT1CON0bits
16127 #define AT1EN AT1CON0bits.AT1EN // bit 7, shadows bit in AT1CON0bits
16129 #define VALID AT1CON1bits.VALID // bit 0, shadows bit in AT1CON1bits
16130 #define AT1VALID AT1CON1bits.AT1VALID // bit 0, shadows bit in AT1CON1bits
16131 #define ACCS AT1CON1bits.ACCS // bit 1, shadows bit in AT1CON1bits
16132 #define AT1ACCS AT1CON1bits.AT1ACCS // bit 1, shadows bit in AT1CON1bits
16133 #define MPP AT1CON1bits.MPP // bit 2, shadows bit in AT1CON1bits
16134 #define AT1MPP AT1CON1bits.AT1MPP // bit 2, shadows bit in AT1CON1bits
16135 #define PRP AT1CON1bits.PRP // bit 4, shadows bit in AT1CON1bits
16136 #define AT1PRP AT1CON1bits.AT1PRP // bit 4, shadows bit in AT1CON1bits
16137 #define PHP AT1CON1bits.PHP // bit 6, shadows bit in AT1CON1bits
16138 #define AT1PHP AT1CON1bits.AT1PHP // bit 6, shadows bit in AT1CON1bits
16140 #define AT1CP1S0 AT1CSEL1bits.AT1CP1S0 // bit 0, shadows bit in AT1CSEL1bits
16141 #define CP1S0 AT1CSEL1bits.CP1S0 // bit 0, shadows bit in AT1CSEL1bits
16142 #define AT1CP1S1 AT1CSEL1bits.AT1CP1S1 // bit 1, shadows bit in AT1CSEL1bits
16143 #define CP1S1 AT1CSEL1bits.CP1S1 // bit 1, shadows bit in AT1CSEL1bits
16144 #define AT1CP1S2 AT1CSEL1bits.AT1CP1S2 // bit 2, shadows bit in AT1CSEL1bits
16145 #define CP1S2 AT1CSEL1bits.CP1S2 // bit 2, shadows bit in AT1CSEL1bits
16147 #define AT1CP2S0 AT1CSEL2bits.AT1CP2S0 // bit 0, shadows bit in AT1CSEL2bits
16148 #define CP2S0 AT1CSEL2bits.CP2S0 // bit 0, shadows bit in AT1CSEL2bits
16149 #define AT1CP2S1 AT1CSEL2bits.AT1CP2S1 // bit 1, shadows bit in AT1CSEL2bits
16150 #define CP2S1 AT1CSEL2bits.CP2S1 // bit 1, shadows bit in AT1CSEL2bits
16151 #define AT1CP2S2 AT1CSEL2bits.AT1CP2S2 // bit 2, shadows bit in AT1CSEL2bits
16152 #define CP2S2 AT1CSEL2bits.CP2S2 // bit 2, shadows bit in AT1CSEL2bits
16154 #define AT1CP3S0 AT1CSEL3bits.AT1CP3S0 // bit 0, shadows bit in AT1CSEL3bits
16155 #define CP3S0 AT1CSEL3bits.CP3S0 // bit 0, shadows bit in AT1CSEL3bits
16156 #define AT1CP3S1 AT1CSEL3bits.AT1CP3S1 // bit 1, shadows bit in AT1CSEL3bits
16157 #define CP3S1 AT1CSEL3bits.CP3S1 // bit 1, shadows bit in AT1CSEL3bits
16158 #define AT1CP3S2 AT1CSEL3bits.AT1CP3S2 // bit 2, shadows bit in AT1CSEL3bits
16159 #define CP3S2 AT1CSEL3bits.CP3S2 // bit 2, shadows bit in AT1CSEL3bits
16161 #define AT1ERR8 AT1ERRHbits.AT1ERR8 // bit 0, shadows bit in AT1ERRHbits
16162 #define ERR8 AT1ERRHbits.ERR8 // bit 0, shadows bit in AT1ERRHbits
16163 #define ERRH0 AT1ERRHbits.ERRH0 // bit 0, shadows bit in AT1ERRHbits
16164 #define AT1ERR9 AT1ERRHbits.AT1ERR9 // bit 1, shadows bit in AT1ERRHbits
16165 #define ERR9 AT1ERRHbits.ERR9 // bit 1, shadows bit in AT1ERRHbits
16166 #define ERRH1 AT1ERRHbits.ERRH1 // bit 1, shadows bit in AT1ERRHbits
16167 #define AT1ERR10 AT1ERRHbits.AT1ERR10 // bit 2, shadows bit in AT1ERRHbits
16168 #define ERR10 AT1ERRHbits.ERR10 // bit 2, shadows bit in AT1ERRHbits
16169 #define ERRH2 AT1ERRHbits.ERRH2 // bit 2, shadows bit in AT1ERRHbits
16170 #define AT1ERR11 AT1ERRHbits.AT1ERR11 // bit 3, shadows bit in AT1ERRHbits
16171 #define ERR11 AT1ERRHbits.ERR11 // bit 3, shadows bit in AT1ERRHbits
16172 #define ERRH3 AT1ERRHbits.ERRH3 // bit 3, shadows bit in AT1ERRHbits
16173 #define AT1ERR12 AT1ERRHbits.AT1ERR12 // bit 4, shadows bit in AT1ERRHbits
16174 #define ERR12 AT1ERRHbits.ERR12 // bit 4, shadows bit in AT1ERRHbits
16175 #define ERRH4 AT1ERRHbits.ERRH4 // bit 4, shadows bit in AT1ERRHbits
16176 #define AT1ERR13 AT1ERRHbits.AT1ERR13 // bit 5, shadows bit in AT1ERRHbits
16177 #define ERR13 AT1ERRHbits.ERR13 // bit 5, shadows bit in AT1ERRHbits
16178 #define ERRH5 AT1ERRHbits.ERRH5 // bit 5, shadows bit in AT1ERRHbits
16179 #define AT1ERR14 AT1ERRHbits.AT1ERR14 // bit 6, shadows bit in AT1ERRHbits
16180 #define ERR14 AT1ERRHbits.ERR14 // bit 6, shadows bit in AT1ERRHbits
16181 #define ERRH6 AT1ERRHbits.ERRH6 // bit 6, shadows bit in AT1ERRHbits
16182 #define AT1ERR15 AT1ERRHbits.AT1ERR15 // bit 7, shadows bit in AT1ERRHbits
16183 #define ERR15 AT1ERRHbits.ERR15 // bit 7, shadows bit in AT1ERRHbits
16184 #define ERRH7 AT1ERRHbits.ERRH7 // bit 7, shadows bit in AT1ERRHbits
16186 #define AT1ERR0 AT1ERRLbits.AT1ERR0 // bit 0, shadows bit in AT1ERRLbits
16187 #define ERR0 AT1ERRLbits.ERR0 // bit 0, shadows bit in AT1ERRLbits
16188 #define ERRL0 AT1ERRLbits.ERRL0 // bit 0, shadows bit in AT1ERRLbits
16189 #define AT1ERR1 AT1ERRLbits.AT1ERR1 // bit 1, shadows bit in AT1ERRLbits
16190 #define ERR1 AT1ERRLbits.ERR1 // bit 1, shadows bit in AT1ERRLbits
16191 #define ERRL1 AT1ERRLbits.ERRL1 // bit 1, shadows bit in AT1ERRLbits
16192 #define AT1ERR2 AT1ERRLbits.AT1ERR2 // bit 2, shadows bit in AT1ERRLbits
16193 #define ERR2 AT1ERRLbits.ERR2 // bit 2, shadows bit in AT1ERRLbits
16194 #define ERRL2 AT1ERRLbits.ERRL2 // bit 2, shadows bit in AT1ERRLbits
16195 #define AT1ERR3 AT1ERRLbits.AT1ERR3 // bit 3, shadows bit in AT1ERRLbits
16196 #define ERR3 AT1ERRLbits.ERR3 // bit 3, shadows bit in AT1ERRLbits
16197 #define ERRL3 AT1ERRLbits.ERRL3 // bit 3, shadows bit in AT1ERRLbits
16198 #define AT1ERR4 AT1ERRLbits.AT1ERR4 // bit 4, shadows bit in AT1ERRLbits
16199 #define ERR4 AT1ERRLbits.ERR4 // bit 4, shadows bit in AT1ERRLbits
16200 #define ERRL4 AT1ERRLbits.ERRL4 // bit 4, shadows bit in AT1ERRLbits
16201 #define AT1ERR5 AT1ERRLbits.AT1ERR5 // bit 5, shadows bit in AT1ERRLbits
16202 #define ERR5 AT1ERRLbits.ERR5 // bit 5, shadows bit in AT1ERRLbits
16203 #define ERRL5 AT1ERRLbits.ERRL5 // bit 5, shadows bit in AT1ERRLbits
16204 #define AT1ERR6 AT1ERRLbits.AT1ERR6 // bit 6, shadows bit in AT1ERRLbits
16205 #define ERR6 AT1ERRLbits.ERR6 // bit 6, shadows bit in AT1ERRLbits
16206 #define ERRL6 AT1ERRLbits.ERRL6 // bit 6, shadows bit in AT1ERRLbits
16207 #define AT1ERR7 AT1ERRLbits.AT1ERR7 // bit 7, shadows bit in AT1ERRLbits
16208 #define ERR7 AT1ERRLbits.ERR7 // bit 7, shadows bit in AT1ERRLbits
16209 #define ERRL7 AT1ERRLbits.ERRL7 // bit 7, shadows bit in AT1ERRLbits
16211 #define AT1PERIE AT1IE0bits.AT1PERIE // bit 0
16212 #define AT1MISSIE AT1IE0bits.AT1MISSIE // bit 1
16213 #define AT1PHSIE AT1IE0bits.AT1PHSIE // bit 2
16215 #define AT1CC1IE AT1IE1bits.AT1CC1IE // bit 0
16216 #define AT1CC2IE AT1IE1bits.AT1CC2IE // bit 1
16217 #define AT1CC3IE AT1IE1bits.AT1CC3IE // bit 2
16219 #define AT1PERIF AT1IR0bits.AT1PERIF // bit 0
16220 #define AT1MISSIF AT1IR0bits.AT1MISSIF // bit 1
16221 #define AT1PHSIF AT1IR0bits.AT1PHSIF // bit 2
16223 #define AT1CC1IF AT1IR1bits.AT1CC1IF // bit 0
16224 #define AT1CC2IF AT1IR1bits.AT1CC2IF // bit 1
16225 #define AT1CC3IF AT1IR1bits.AT1CC3IF // bit 2
16227 #define AT1MISS8 AT1MISSHbits.AT1MISS8 // bit 0, shadows bit in AT1MISSHbits
16228 #define MISS8 AT1MISSHbits.MISS8 // bit 0, shadows bit in AT1MISSHbits
16229 #define AT1MISS9 AT1MISSHbits.AT1MISS9 // bit 1, shadows bit in AT1MISSHbits
16230 #define MISS9 AT1MISSHbits.MISS9 // bit 1, shadows bit in AT1MISSHbits
16231 #define AT1MISS10 AT1MISSHbits.AT1MISS10 // bit 2, shadows bit in AT1MISSHbits
16232 #define MISS10 AT1MISSHbits.MISS10 // bit 2, shadows bit in AT1MISSHbits
16233 #define AT1MISS11 AT1MISSHbits.AT1MISS11 // bit 3, shadows bit in AT1MISSHbits
16234 #define MISS11 AT1MISSHbits.MISS11 // bit 3, shadows bit in AT1MISSHbits
16235 #define AT1MISS12 AT1MISSHbits.AT1MISS12 // bit 4, shadows bit in AT1MISSHbits
16236 #define MISS12 AT1MISSHbits.MISS12 // bit 4, shadows bit in AT1MISSHbits
16237 #define AT1MISS13 AT1MISSHbits.AT1MISS13 // bit 5, shadows bit in AT1MISSHbits
16238 #define MISS13 AT1MISSHbits.MISS13 // bit 5, shadows bit in AT1MISSHbits
16239 #define AT1MISS14 AT1MISSHbits.AT1MISS14 // bit 6, shadows bit in AT1MISSHbits
16240 #define MISS14 AT1MISSHbits.MISS14 // bit 6, shadows bit in AT1MISSHbits
16241 #define AT1MISS15 AT1MISSHbits.AT1MISS15 // bit 7, shadows bit in AT1MISSHbits
16242 #define MISS15 AT1MISSHbits.MISS15 // bit 7, shadows bit in AT1MISSHbits
16244 #define AT1MISS0 AT1MISSLbits.AT1MISS0 // bit 0, shadows bit in AT1MISSLbits
16245 #define MISS0 AT1MISSLbits.MISS0 // bit 0, shadows bit in AT1MISSLbits
16246 #define AT1MISS1 AT1MISSLbits.AT1MISS1 // bit 1, shadows bit in AT1MISSLbits
16247 #define MISS1 AT1MISSLbits.MISS1 // bit 1, shadows bit in AT1MISSLbits
16248 #define AT1MISS2 AT1MISSLbits.AT1MISS2 // bit 2, shadows bit in AT1MISSLbits
16249 #define MISS2 AT1MISSLbits.MISS2 // bit 2, shadows bit in AT1MISSLbits
16250 #define AT1MISS3 AT1MISSLbits.AT1MISS3 // bit 3, shadows bit in AT1MISSLbits
16251 #define MISS3 AT1MISSLbits.MISS3 // bit 3, shadows bit in AT1MISSLbits
16252 #define AT1MISS4 AT1MISSLbits.AT1MISS4 // bit 4, shadows bit in AT1MISSLbits
16253 #define MISS4 AT1MISSLbits.MISS4 // bit 4, shadows bit in AT1MISSLbits
16254 #define AT1MISS5 AT1MISSLbits.AT1MISS5 // bit 5, shadows bit in AT1MISSLbits
16255 #define MISS5 AT1MISSLbits.MISS5 // bit 5, shadows bit in AT1MISSLbits
16256 #define AT1MISS6 AT1MISSLbits.AT1MISS6 // bit 6, shadows bit in AT1MISSLbits
16257 #define MISS6 AT1MISSLbits.MISS6 // bit 6, shadows bit in AT1MISSLbits
16258 #define AT1MISS7 AT1MISSLbits.AT1MISS7 // bit 7, shadows bit in AT1MISSLbits
16259 #define MISS7 AT1MISSLbits.MISS7 // bit 7, shadows bit in AT1MISSLbits
16261 #define AT1PER8 AT1PERHbits.AT1PER8 // bit 0, shadows bit in AT1PERHbits
16262 #define PER8 AT1PERHbits.PER8 // bit 0, shadows bit in AT1PERHbits
16263 #define PERH0 AT1PERHbits.PERH0 // bit 0, shadows bit in AT1PERHbits
16264 #define AT1PER9 AT1PERHbits.AT1PER9 // bit 1, shadows bit in AT1PERHbits
16265 #define PER9 AT1PERHbits.PER9 // bit 1, shadows bit in AT1PERHbits
16266 #define PERH1 AT1PERHbits.PERH1 // bit 1, shadows bit in AT1PERHbits
16267 #define AT1PER10 AT1PERHbits.AT1PER10 // bit 2, shadows bit in AT1PERHbits
16268 #define PER10 AT1PERHbits.PER10 // bit 2, shadows bit in AT1PERHbits
16269 #define PERH2 AT1PERHbits.PERH2 // bit 2, shadows bit in AT1PERHbits
16270 #define AT1PER11 AT1PERHbits.AT1PER11 // bit 3, shadows bit in AT1PERHbits
16271 #define PER11 AT1PERHbits.PER11 // bit 3, shadows bit in AT1PERHbits
16272 #define PERH3 AT1PERHbits.PERH3 // bit 3, shadows bit in AT1PERHbits
16273 #define AT1PER12 AT1PERHbits.AT1PER12 // bit 4, shadows bit in AT1PERHbits
16274 #define PER12 AT1PERHbits.PER12 // bit 4, shadows bit in AT1PERHbits
16275 #define PERH4 AT1PERHbits.PERH4 // bit 4, shadows bit in AT1PERHbits
16276 #define AT1PER13 AT1PERHbits.AT1PER13 // bit 5, shadows bit in AT1PERHbits
16277 #define PER13 AT1PERHbits.PER13 // bit 5, shadows bit in AT1PERHbits
16278 #define PERH5 AT1PERHbits.PERH5 // bit 5, shadows bit in AT1PERHbits
16279 #define AT1PER14 AT1PERHbits.AT1PER14 // bit 6, shadows bit in AT1PERHbits
16280 #define PER14 AT1PERHbits.PER14 // bit 6, shadows bit in AT1PERHbits
16281 #define PERH6 AT1PERHbits.PERH6 // bit 6, shadows bit in AT1PERHbits
16282 #define AT1POV AT1PERHbits.AT1POV // bit 7, shadows bit in AT1PERHbits
16283 #define PER15 AT1PERHbits.PER15 // bit 7, shadows bit in AT1PERHbits
16284 #define PERH7 AT1PERHbits.PERH7 // bit 7, shadows bit in AT1PERHbits
16286 #define AT1PER0 AT1PERLbits.AT1PER0 // bit 0, shadows bit in AT1PERLbits
16287 #define PER0 AT1PERLbits.PER0 // bit 0, shadows bit in AT1PERLbits
16288 #define PERL0 AT1PERLbits.PERL0 // bit 0, shadows bit in AT1PERLbits
16289 #define AT1PER1 AT1PERLbits.AT1PER1 // bit 1, shadows bit in AT1PERLbits
16290 #define PER1 AT1PERLbits.PER1 // bit 1, shadows bit in AT1PERLbits
16291 #define PERL1 AT1PERLbits.PERL1 // bit 1, shadows bit in AT1PERLbits
16292 #define AT1PER2 AT1PERLbits.AT1PER2 // bit 2, shadows bit in AT1PERLbits
16293 #define PER2 AT1PERLbits.PER2 // bit 2, shadows bit in AT1PERLbits
16294 #define PERL2 AT1PERLbits.PERL2 // bit 2, shadows bit in AT1PERLbits
16295 #define AT1PER3 AT1PERLbits.AT1PER3 // bit 3, shadows bit in AT1PERLbits
16296 #define PER3 AT1PERLbits.PER3 // bit 3, shadows bit in AT1PERLbits
16297 #define PERL3 AT1PERLbits.PERL3 // bit 3, shadows bit in AT1PERLbits
16298 #define AT1PER4 AT1PERLbits.AT1PER4 // bit 4, shadows bit in AT1PERLbits
16299 #define PER4 AT1PERLbits.PER4 // bit 4, shadows bit in AT1PERLbits
16300 #define PERL4 AT1PERLbits.PERL4 // bit 4, shadows bit in AT1PERLbits
16301 #define AT1PER5 AT1PERLbits.AT1PER5 // bit 5, shadows bit in AT1PERLbits
16302 #define PER5 AT1PERLbits.PER5 // bit 5, shadows bit in AT1PERLbits
16303 #define PERL5 AT1PERLbits.PERL5 // bit 5, shadows bit in AT1PERLbits
16304 #define AT1PER6 AT1PERLbits.AT1PER6 // bit 6, shadows bit in AT1PERLbits
16305 #define PER6 AT1PERLbits.PER6 // bit 6, shadows bit in AT1PERLbits
16306 #define PERL6 AT1PERLbits.PERL6 // bit 6, shadows bit in AT1PERLbits
16307 #define AT1PER7 AT1PERLbits.AT1PER7 // bit 7, shadows bit in AT1PERLbits
16308 #define PER7 AT1PERLbits.PER7 // bit 7, shadows bit in AT1PERLbits
16309 #define PERL7 AT1PERLbits.PERL7 // bit 7, shadows bit in AT1PERLbits
16311 #define AT1PHS8 AT1PHSHbits.AT1PHS8 // bit 0, shadows bit in AT1PHSHbits
16312 #define PHS8 AT1PHSHbits.PHS8 // bit 0, shadows bit in AT1PHSHbits
16313 #define PHSL8 AT1PHSHbits.PHSL8 // bit 0, shadows bit in AT1PHSHbits
16314 #define AT1PHS9 AT1PHSHbits.AT1PHS9 // bit 1, shadows bit in AT1PHSHbits
16315 #define PHS9 AT1PHSHbits.PHS9 // bit 1, shadows bit in AT1PHSHbits
16316 #define PHSL9 AT1PHSHbits.PHSL9 // bit 1, shadows bit in AT1PHSHbits
16318 #define AT1PHS0 AT1PHSLbits.AT1PHS0 // bit 0, shadows bit in AT1PHSLbits
16319 #define PHS0 AT1PHSLbits.PHS0 // bit 0, shadows bit in AT1PHSLbits
16320 #define AT1PHS1 AT1PHSLbits.AT1PHS1 // bit 1, shadows bit in AT1PHSLbits
16321 #define PHS1 AT1PHSLbits.PHS1 // bit 1, shadows bit in AT1PHSLbits
16322 #define AT1PHS2 AT1PHSLbits.AT1PHS2 // bit 2, shadows bit in AT1PHSLbits
16323 #define PHS2 AT1PHSLbits.PHS2 // bit 2, shadows bit in AT1PHSLbits
16324 #define AT1PHS3 AT1PHSLbits.AT1PHS3 // bit 3, shadows bit in AT1PHSLbits
16325 #define PHS3 AT1PHSLbits.PHS3 // bit 3, shadows bit in AT1PHSLbits
16326 #define AT1PHS4 AT1PHSLbits.AT1PHS4 // bit 4, shadows bit in AT1PHSLbits
16327 #define PHS4 AT1PHSLbits.PHS4 // bit 4, shadows bit in AT1PHSLbits
16328 #define AT1PHS5 AT1PHSLbits.AT1PHS5 // bit 5, shadows bit in AT1PHSLbits
16329 #define PHS5 AT1PHSLbits.PHS5 // bit 5, shadows bit in AT1PHSLbits
16330 #define AT1PHS6 AT1PHSLbits.AT1PHS6 // bit 6, shadows bit in AT1PHSLbits
16331 #define PHS6 AT1PHSLbits.PHS6 // bit 6, shadows bit in AT1PHSLbits
16332 #define AT1PHS7 AT1PHSLbits.AT1PHS7 // bit 7, shadows bit in AT1PHSLbits
16333 #define PHS7 AT1PHSLbits.PHS7 // bit 7, shadows bit in AT1PHSLbits
16335 #define AT1RES8 AT1RESHbits.AT1RES8 // bit 0, shadows bit in AT1RESHbits
16336 #define RES8 AT1RESHbits.RES8 // bit 0, shadows bit in AT1RESHbits
16337 #define AT1RES9 AT1RESHbits.AT1RES9 // bit 1, shadows bit in AT1RESHbits
16338 #define RES9 AT1RESHbits.RES9 // bit 1, shadows bit in AT1RESHbits
16340 #define AT1RES0 AT1RESLbits.AT1RES0 // bit 0, shadows bit in AT1RESLbits
16341 #define RES0 AT1RESLbits.RES0 // bit 0, shadows bit in AT1RESLbits
16342 #define AT1RES1 AT1RESLbits.AT1RES1 // bit 1, shadows bit in AT1RESLbits
16343 #define RES1 AT1RESLbits.RES1 // bit 1, shadows bit in AT1RESLbits
16344 #define AT1RES2 AT1RESLbits.AT1RES2 // bit 2, shadows bit in AT1RESLbits
16345 #define RES2 AT1RESLbits.RES2 // bit 2, shadows bit in AT1RESLbits
16346 #define AT1RES3 AT1RESLbits.AT1RES3 // bit 3, shadows bit in AT1RESLbits
16347 #define RES3 AT1RESLbits.RES3 // bit 3, shadows bit in AT1RESLbits
16348 #define AT1RES4 AT1RESLbits.AT1RES4 // bit 4, shadows bit in AT1RESLbits
16349 #define RES4 AT1RESLbits.RES4 // bit 4, shadows bit in AT1RESLbits
16350 #define AT1RES5 AT1RESLbits.AT1RES5 // bit 5, shadows bit in AT1RESLbits
16351 #define RES5 AT1RESLbits.RES5 // bit 5, shadows bit in AT1RESLbits
16352 #define AT1RES6 AT1RESLbits.AT1RES6 // bit 6, shadows bit in AT1RESLbits
16353 #define RES6 AT1RESLbits.RES6 // bit 6, shadows bit in AT1RESLbits
16354 #define AT1RES7 AT1RESLbits.AT1RES7 // bit 7, shadows bit in AT1RESLbits
16355 #define RES7 AT1RESLbits.RES7 // bit 7, shadows bit in AT1RESLbits
16357 #define AT1SSEL0 AT1SIGbits.AT1SSEL0 // bit 0, shadows bit in AT1SIGbits
16358 #define SSEL0 AT1SIGbits.SSEL0 // bit 0, shadows bit in AT1SIGbits
16359 #define AT1SSEL1 AT1SIGbits.AT1SSEL1 // bit 1, shadows bit in AT1SIGbits
16360 #define SSEL1 AT1SIGbits.SSEL1 // bit 1, shadows bit in AT1SIGbits
16361 #define AT1SSEL2 AT1SIGbits.AT1SSEL2 // bit 2, shadows bit in AT1SIGbits
16362 #define SSEL2 AT1SIGbits.SSEL2 // bit 2, shadows bit in AT1SIGbits
16364 #define AT1STPT8 AT1STPTHbits.AT1STPT8 // bit 0, shadows bit in AT1STPTHbits
16365 #define STPT8 AT1STPTHbits.STPT8 // bit 0, shadows bit in AT1STPTHbits
16366 #define AT1STPT9 AT1STPTHbits.AT1STPT9 // bit 1, shadows bit in AT1STPTHbits
16367 #define STPT9 AT1STPTHbits.STPT9 // bit 1, shadows bit in AT1STPTHbits
16368 #define AT1STPT10 AT1STPTHbits.AT1STPT10 // bit 2, shadows bit in AT1STPTHbits
16369 #define STPT10 AT1STPTHbits.STPT10 // bit 2, shadows bit in AT1STPTHbits
16370 #define AT1STPT11 AT1STPTHbits.AT1STPT11 // bit 3, shadows bit in AT1STPTHbits
16371 #define STPT11 AT1STPTHbits.STPT11 // bit 3, shadows bit in AT1STPTHbits
16372 #define AT1STPT12 AT1STPTHbits.AT1STPT12 // bit 4, shadows bit in AT1STPTHbits
16373 #define STPT12 AT1STPTHbits.STPT12 // bit 4, shadows bit in AT1STPTHbits
16374 #define AT1STPT13 AT1STPTHbits.AT1STPT13 // bit 5, shadows bit in AT1STPTHbits
16375 #define STPT13 AT1STPTHbits.STPT13 // bit 5, shadows bit in AT1STPTHbits
16376 #define AT1STPT14 AT1STPTHbits.AT1STPT14 // bit 6, shadows bit in AT1STPTHbits
16377 #define STPT14 AT1STPTHbits.STPT14 // bit 6, shadows bit in AT1STPTHbits
16379 #define AT1STPT0 AT1STPTLbits.AT1STPT0 // bit 0, shadows bit in AT1STPTLbits
16380 #define STPT0 AT1STPTLbits.STPT0 // bit 0, shadows bit in AT1STPTLbits
16381 #define AT1STPT1 AT1STPTLbits.AT1STPT1 // bit 1, shadows bit in AT1STPTLbits
16382 #define STPT1 AT1STPTLbits.STPT1 // bit 1, shadows bit in AT1STPTLbits
16383 #define AT1STPT2 AT1STPTLbits.AT1STPT2 // bit 2, shadows bit in AT1STPTLbits
16384 #define STPT2 AT1STPTLbits.STPT2 // bit 2, shadows bit in AT1STPTLbits
16385 #define AT1STPT3 AT1STPTLbits.AT1STPT3 // bit 3, shadows bit in AT1STPTLbits
16386 #define STPT3 AT1STPTLbits.STPT3 // bit 3, shadows bit in AT1STPTLbits
16387 #define AT1STPT4 AT1STPTLbits.AT1STPT4 // bit 4, shadows bit in AT1STPTLbits
16388 #define STPT4 AT1STPTLbits.STPT4 // bit 4, shadows bit in AT1STPTLbits
16389 #define AT1STPT5 AT1STPTLbits.AT1STPT5 // bit 5, shadows bit in AT1STPTLbits
16390 #define STPT5 AT1STPTLbits.STPT5 // bit 5, shadows bit in AT1STPTLbits
16391 #define AT1STPT6 AT1STPTLbits.AT1STPT6 // bit 6, shadows bit in AT1STPTLbits
16392 #define STPT6 AT1STPTLbits.STPT6 // bit 6, shadows bit in AT1STPTLbits
16393 #define AT1STPT7 AT1STPTLbits.AT1STPT7 // bit 7, shadows bit in AT1STPTLbits
16394 #define STPT7 AT1STPTLbits.STPT7 // bit 7, shadows bit in AT1STPTLbits
16396 #define ATCC1PPS0 ATCC1PPSbits.ATCC1PPS0 // bit 0
16397 #define ATCC1PPS1 ATCC1PPSbits.ATCC1PPS1 // bit 1
16398 #define ATCC1PPS2 ATCC1PPSbits.ATCC1PPS2 // bit 2
16399 #define ATCC1PPS3 ATCC1PPSbits.ATCC1PPS3 // bit 3
16400 #define ATCC1PPS4 ATCC1PPSbits.ATCC1PPS4 // bit 4
16402 #define ATCC2PPS0 ATCC2PPSbits.ATCC2PPS0 // bit 0
16403 #define ATCC2PPS1 ATCC2PPSbits.ATCC2PPS1 // bit 1
16404 #define ATCC2PPS2 ATCC2PPSbits.ATCC2PPS2 // bit 2
16405 #define ATCC2PPS3 ATCC2PPSbits.ATCC2PPS3 // bit 3
16406 #define ATCC2PPS4 ATCC2PPSbits.ATCC2PPS4 // bit 4
16408 #define ATCC3PPS0 ATCC3PPSbits.ATCC3PPS0 // bit 0
16409 #define ATCC3PPS1 ATCC3PPSbits.ATCC3PPS1 // bit 1
16410 #define ATCC3PPS2 ATCC3PPSbits.ATCC3PPS2 // bit 2
16411 #define ATCC3PPS3 ATCC3PPSbits.ATCC3PPS3 // bit 3
16412 #define ATCC3PPS4 ATCC3PPSbits.ATCC3PPS4 // bit 4
16414 #define ATINPPS0 ATINPPSbits.ATINPPS0 // bit 0
16415 #define ATINPPS1 ATINPPSbits.ATINPPS1 // bit 1
16416 #define ATINPPS2 ATINPPSbits.ATINPPS2 // bit 2
16417 #define ATINPPS3 ATINPPSbits.ATINPPS3 // bit 3
16418 #define ATINPPS4 ATINPPSbits.ATINPPS4 // bit 4
16420 #define ABDEN BAUD1CONbits.ABDEN // bit 0
16421 #define WUE BAUD1CONbits.WUE // bit 1
16422 #define BRG16 BAUD1CONbits.BRG16 // bit 3
16423 #define SCKP BAUD1CONbits.SCKP // bit 4
16424 #define RCIDL BAUD1CONbits.RCIDL // bit 6
16425 #define ABDOVF BAUD1CONbits.ABDOVF // bit 7
16427 #define BORRDY BORCONbits.BORRDY // bit 0
16428 #define BORFS BORCONbits.BORFS // bit 6
16429 #define SBOREN BORCONbits.SBOREN // bit 7
16431 #define BSR0 BSRbits.BSR0 // bit 0
16432 #define BSR1 BSRbits.BSR1 // bit 1
16433 #define BSR2 BSRbits.BSR2 // bit 2
16434 #define BSR3 BSRbits.BSR3 // bit 3
16435 #define BSR4 BSRbits.BSR4 // bit 4
16437 #define CTS0 CCP1CAPbits.CTS0 // bit 0, shadows bit in CCP1CAPbits
16438 #define CCP1CTS0 CCP1CAPbits.CCP1CTS0 // bit 0, shadows bit in CCP1CAPbits
16439 #define CTS1 CCP1CAPbits.CTS1 // bit 1, shadows bit in CCP1CAPbits
16440 #define CCP1CTS1 CCP1CAPbits.CCP1CTS1 // bit 1, shadows bit in CCP1CAPbits
16441 #define CTS2 CCP1CAPbits.CTS2 // bit 2, shadows bit in CCP1CAPbits
16442 #define CCP1CTS2 CCP1CAPbits.CCP1CTS2 // bit 2, shadows bit in CCP1CAPbits
16444 #define CCP1PPS0 CCP1PPSbits.CCP1PPS0 // bit 0
16445 #define CCP1PPS1 CCP1PPSbits.CCP1PPS1 // bit 1
16446 #define CCP1PPS2 CCP1PPSbits.CCP1PPS2 // bit 2
16447 #define CCP1PPS3 CCP1PPSbits.CCP1PPS3 // bit 3
16448 #define CCP1PPS4 CCP1PPSbits.CCP1PPS4 // bit 4
16450 #define CCP2PPS0 CCP2PPSbits.CCP2PPS0 // bit 0
16451 #define CCP2PPS1 CCP2PPSbits.CCP2PPS1 // bit 1
16452 #define CCP2PPS2 CCP2PPSbits.CCP2PPS2 // bit 2
16453 #define CCP2PPS3 CCP2PPSbits.CCP2PPS3 // bit 3
16454 #define CCP2PPS4 CCP2PPSbits.CCP2PPS4 // bit 4
16456 #define CCP1TSEL0 CCPTMRSbits.CCP1TSEL0 // bit 0
16457 #define CCP1TSEL1 CCPTMRSbits.CCP1TSEL1 // bit 1
16458 #define CCP2TSEL0 CCPTMRSbits.CCP2TSEL0 // bit 2
16459 #define CCP2TSEL1 CCPTMRSbits.CCP2TSEL1 // bit 3
16460 #define P3TSEL0 CCPTMRSbits.P3TSEL0 // bit 4
16461 #define P3TSEL1 CCPTMRSbits.P3TSEL1 // bit 5
16462 #define P4TSEL0 CCPTMRSbits.P4TSEL0 // bit 6
16463 #define P4TSEL1 CCPTMRSbits.P4TSEL1 // bit 7
16465 #define CKPPS0 CKPPSbits.CKPPS0 // bit 0
16466 #define CKPPS1 CKPPSbits.CKPPS1 // bit 1
16467 #define CKPPS2 CKPPSbits.CKPPS2 // bit 2
16468 #define CKPPS3 CKPPSbits.CKPPS3 // bit 3
16469 #define CKPPS4 CKPPSbits.CKPPS4 // bit 4
16471 #define LC1G1D1N CLC1GLS0bits.LC1G1D1N // bit 0, shadows bit in CLC1GLS0bits
16472 #define D1N CLC1GLS0bits.D1N // bit 0, shadows bit in CLC1GLS0bits
16473 #define LC1G1D1T CLC1GLS0bits.LC1G1D1T // bit 1, shadows bit in CLC1GLS0bits
16474 #define D1T CLC1GLS0bits.D1T // bit 1, shadows bit in CLC1GLS0bits
16475 #define LC1G1D2N CLC1GLS0bits.LC1G1D2N // bit 2, shadows bit in CLC1GLS0bits
16476 #define D2N CLC1GLS0bits.D2N // bit 2, shadows bit in CLC1GLS0bits
16477 #define LC1G1D2T CLC1GLS0bits.LC1G1D2T // bit 3, shadows bit in CLC1GLS0bits
16478 #define D2T CLC1GLS0bits.D2T // bit 3, shadows bit in CLC1GLS0bits
16479 #define LC1G1D3N CLC1GLS0bits.LC1G1D3N // bit 4, shadows bit in CLC1GLS0bits
16480 #define D3N CLC1GLS0bits.D3N // bit 4, shadows bit in CLC1GLS0bits
16481 #define LC1G1D3T CLC1GLS0bits.LC1G1D3T // bit 5, shadows bit in CLC1GLS0bits
16482 #define D3T CLC1GLS0bits.D3T // bit 5, shadows bit in CLC1GLS0bits
16483 #define LC1G1D4N CLC1GLS0bits.LC1G1D4N // bit 6, shadows bit in CLC1GLS0bits
16484 #define D4N CLC1GLS0bits.D4N // bit 6, shadows bit in CLC1GLS0bits
16485 #define LC1G1D4T CLC1GLS0bits.LC1G1D4T // bit 7, shadows bit in CLC1GLS0bits
16486 #define D4T CLC1GLS0bits.D4T // bit 7, shadows bit in CLC1GLS0bits
16488 #define LC1G4D1N CLC1GLS3bits.LC1G4D1N // bit 0, shadows bit in CLC1GLS3bits
16489 #define G4D1N CLC1GLS3bits.G4D1N // bit 0, shadows bit in CLC1GLS3bits
16490 #define LC1G4D1T CLC1GLS3bits.LC1G4D1T // bit 1, shadows bit in CLC1GLS3bits
16491 #define G4D1T CLC1GLS3bits.G4D1T // bit 1, shadows bit in CLC1GLS3bits
16492 #define LC1G4D2N CLC1GLS3bits.LC1G4D2N // bit 2, shadows bit in CLC1GLS3bits
16493 #define G4D2N CLC1GLS3bits.G4D2N // bit 2, shadows bit in CLC1GLS3bits
16494 #define LC1G4D2T CLC1GLS3bits.LC1G4D2T // bit 3, shadows bit in CLC1GLS3bits
16495 #define G4D2T CLC1GLS3bits.G4D2T // bit 3, shadows bit in CLC1GLS3bits
16496 #define LC1G4D3N CLC1GLS3bits.LC1G4D3N // bit 4, shadows bit in CLC1GLS3bits
16497 #define G4D3N CLC1GLS3bits.G4D3N // bit 4, shadows bit in CLC1GLS3bits
16498 #define LC1G4D3T CLC1GLS3bits.LC1G4D3T // bit 5, shadows bit in CLC1GLS3bits
16499 #define G4D3T CLC1GLS3bits.G4D3T // bit 5, shadows bit in CLC1GLS3bits
16500 #define LC1G4D4N CLC1GLS3bits.LC1G4D4N // bit 6, shadows bit in CLC1GLS3bits
16501 #define G4D4N CLC1GLS3bits.G4D4N // bit 6, shadows bit in CLC1GLS3bits
16502 #define LC1G4D4T CLC1GLS3bits.LC1G4D4T // bit 7, shadows bit in CLC1GLS3bits
16503 #define G4D4T CLC1GLS3bits.G4D4T // bit 7, shadows bit in CLC1GLS3bits
16505 #define LC1D1S0 CLC1SEL0bits.LC1D1S0 // bit 0, shadows bit in CLC1SEL0bits
16506 #define D1S0 CLC1SEL0bits.D1S0 // bit 0, shadows bit in CLC1SEL0bits
16507 #define LC1D1S1 CLC1SEL0bits.LC1D1S1 // bit 1, shadows bit in CLC1SEL0bits
16508 #define D1S1 CLC1SEL0bits.D1S1 // bit 1, shadows bit in CLC1SEL0bits
16509 #define LC1D1S2 CLC1SEL0bits.LC1D1S2 // bit 2, shadows bit in CLC1SEL0bits
16510 #define D1S2 CLC1SEL0bits.D1S2 // bit 2, shadows bit in CLC1SEL0bits
16511 #define LC1D1S3 CLC1SEL0bits.LC1D1S3 // bit 3, shadows bit in CLC1SEL0bits
16512 #define D1S3 CLC1SEL0bits.D1S3 // bit 3, shadows bit in CLC1SEL0bits
16513 #define LC1D1S4 CLC1SEL0bits.LC1D1S4 // bit 4, shadows bit in CLC1SEL0bits
16514 #define D1S4 CLC1SEL0bits.D1S4 // bit 4, shadows bit in CLC1SEL0bits
16515 #define LC1D1S5 CLC1SEL0bits.LC1D1S5 // bit 5, shadows bit in CLC1SEL0bits
16516 #define D1S5 CLC1SEL0bits.D1S5 // bit 5, shadows bit in CLC1SEL0bits
16518 #define LC1D2S0 CLC1SEL1bits.LC1D2S0 // bit 0, shadows bit in CLC1SEL1bits
16519 #define D2S0 CLC1SEL1bits.D2S0 // bit 0, shadows bit in CLC1SEL1bits
16520 #define LC1D2S1 CLC1SEL1bits.LC1D2S1 // bit 1, shadows bit in CLC1SEL1bits
16521 #define D2S1 CLC1SEL1bits.D2S1 // bit 1, shadows bit in CLC1SEL1bits
16522 #define LC1D2S2 CLC1SEL1bits.LC1D2S2 // bit 2, shadows bit in CLC1SEL1bits
16523 #define D2S2 CLC1SEL1bits.D2S2 // bit 2, shadows bit in CLC1SEL1bits
16524 #define LC1D2S3 CLC1SEL1bits.LC1D2S3 // bit 3, shadows bit in CLC1SEL1bits
16525 #define D2S3 CLC1SEL1bits.D2S3 // bit 3, shadows bit in CLC1SEL1bits
16526 #define LC1D2S4 CLC1SEL1bits.LC1D2S4 // bit 4, shadows bit in CLC1SEL1bits
16527 #define D2S4 CLC1SEL1bits.D2S4 // bit 4, shadows bit in CLC1SEL1bits
16528 #define LC1D2S5 CLC1SEL1bits.LC1D2S5 // bit 5, shadows bit in CLC1SEL1bits
16529 #define D2S5 CLC1SEL1bits.D2S5 // bit 5, shadows bit in CLC1SEL1bits
16531 #define LC1D3S0 CLC1SEL2bits.LC1D3S0 // bit 0, shadows bit in CLC1SEL2bits
16532 #define D3S0 CLC1SEL2bits.D3S0 // bit 0, shadows bit in CLC1SEL2bits
16533 #define LC1D3S1 CLC1SEL2bits.LC1D3S1 // bit 1, shadows bit in CLC1SEL2bits
16534 #define D3S1 CLC1SEL2bits.D3S1 // bit 1, shadows bit in CLC1SEL2bits
16535 #define LC1D3S2 CLC1SEL2bits.LC1D3S2 // bit 2, shadows bit in CLC1SEL2bits
16536 #define D3S2 CLC1SEL2bits.D3S2 // bit 2, shadows bit in CLC1SEL2bits
16537 #define LC1D3S3 CLC1SEL2bits.LC1D3S3 // bit 3, shadows bit in CLC1SEL2bits
16538 #define D3S3 CLC1SEL2bits.D3S3 // bit 3, shadows bit in CLC1SEL2bits
16539 #define LC1D3S4 CLC1SEL2bits.LC1D3S4 // bit 4, shadows bit in CLC1SEL2bits
16540 #define D3S4 CLC1SEL2bits.D3S4 // bit 4, shadows bit in CLC1SEL2bits
16541 #define LC1D3S5 CLC1SEL2bits.LC1D3S5 // bit 5, shadows bit in CLC1SEL2bits
16542 #define D3S5 CLC1SEL2bits.D3S5 // bit 5, shadows bit in CLC1SEL2bits
16544 #define LC1D4S0 CLC1SEL3bits.LC1D4S0 // bit 0, shadows bit in CLC1SEL3bits
16545 #define D4S0 CLC1SEL3bits.D4S0 // bit 0, shadows bit in CLC1SEL3bits
16546 #define LC1D4S1 CLC1SEL3bits.LC1D4S1 // bit 1, shadows bit in CLC1SEL3bits
16547 #define D4S1 CLC1SEL3bits.D4S1 // bit 1, shadows bit in CLC1SEL3bits
16548 #define LC1D4S2 CLC1SEL3bits.LC1D4S2 // bit 2, shadows bit in CLC1SEL3bits
16549 #define D4S2 CLC1SEL3bits.D4S2 // bit 2, shadows bit in CLC1SEL3bits
16550 #define LC1D4S3 CLC1SEL3bits.LC1D4S3 // bit 3, shadows bit in CLC1SEL3bits
16551 #define D4S3 CLC1SEL3bits.D4S3 // bit 3, shadows bit in CLC1SEL3bits
16552 #define LC1D4S4 CLC1SEL3bits.LC1D4S4 // bit 4, shadows bit in CLC1SEL3bits
16553 #define D4S4 CLC1SEL3bits.D4S4 // bit 4, shadows bit in CLC1SEL3bits
16554 #define LC1D4S5 CLC1SEL3bits.LC1D4S5 // bit 5, shadows bit in CLC1SEL3bits
16555 #define D4S5 CLC1SEL3bits.D4S5 // bit 5, shadows bit in CLC1SEL3bits
16557 #define MLC1OUT CLCDATAbits.MLC1OUT // bit 0
16558 #define MLC2OUT CLCDATAbits.MLC2OUT // bit 1
16559 #define MLC3OUT CLCDATAbits.MLC3OUT // bit 2
16560 #define MLC4OUT CLCDATAbits.MLC4OUT // bit 3
16562 #define CLCIN0PPS0 CLCIN0PPSbits.CLCIN0PPS0 // bit 0
16563 #define CLCIN0PPS1 CLCIN0PPSbits.CLCIN0PPS1 // bit 1
16564 #define CLCIN0PPS2 CLCIN0PPSbits.CLCIN0PPS2 // bit 2
16565 #define CLCIN0PPS3 CLCIN0PPSbits.CLCIN0PPS3 // bit 3
16566 #define CLCIN0PPS4 CLCIN0PPSbits.CLCIN0PPS4 // bit 4
16568 #define CLCIN1PPS0 CLCIN1PPSbits.CLCIN1PPS0 // bit 0
16569 #define CLCIN1PPS1 CLCIN1PPSbits.CLCIN1PPS1 // bit 1
16570 #define CLCIN1PPS2 CLCIN1PPSbits.CLCIN1PPS2 // bit 2
16571 #define CLCIN1PPS3 CLCIN1PPSbits.CLCIN1PPS3 // bit 3
16572 #define CLCIN1PPS4 CLCIN1PPSbits.CLCIN1PPS4 // bit 4
16574 #define CLCIN2PPS0 CLCIN2PPSbits.CLCIN2PPS0 // bit 0
16575 #define CLCIN2PPS1 CLCIN2PPSbits.CLCIN2PPS1 // bit 1
16576 #define CLCIN2PPS2 CLCIN2PPSbits.CLCIN2PPS2 // bit 2
16577 #define CLCIN2PPS3 CLCIN2PPSbits.CLCIN2PPS3 // bit 3
16578 #define CLCIN2PPS4 CLCIN2PPSbits.CLCIN2PPS4 // bit 4
16580 #define CLCIN3PPS0 CLCIN3PPSbits.CLCIN3PPS0 // bit 0
16581 #define CLCIN3PPS1 CLCIN3PPSbits.CLCIN3PPS1 // bit 1
16582 #define CLCIN3PPS2 CLCIN3PPSbits.CLCIN3PPS2 // bit 2
16583 #define CLCIN3PPS3 CLCIN3PPSbits.CLCIN3PPS3 // bit 3
16584 #define CLCIN3PPS4 CLCIN3PPSbits.CLCIN3PPS4 // bit 4
16586 #define C1SYNC CM1CON0bits.C1SYNC // bit 0
16587 #define C1HYS CM1CON0bits.C1HYS // bit 1
16588 #define C1SP CM1CON0bits.C1SP // bit 2
16589 #define C1POL CM1CON0bits.C1POL // bit 4
16590 #define C1OUT CM1CON0bits.C1OUT // bit 6
16591 #define C1ON CM1CON0bits.C1ON // bit 7
16593 #define C1NCH0 CM1CON1bits.C1NCH0 // bit 0
16594 #define C1NCH1 CM1CON1bits.C1NCH1 // bit 1
16595 #define C1NCH2 CM1CON1bits.C1NCH2 // bit 2
16596 #define C1PCH0 CM1CON1bits.C1PCH0 // bit 4
16597 #define C1PCH1 CM1CON1bits.C1PCH1 // bit 5
16598 #define C1INTN CM1CON1bits.C1INTN // bit 6
16599 #define C1INTP CM1CON1bits.C1INTP // bit 7
16601 #define C2SYNC CM2CON0bits.C2SYNC // bit 0
16602 #define C2HYS CM2CON0bits.C2HYS // bit 1
16603 #define C2SP CM2CON0bits.C2SP // bit 2
16604 #define C2POL CM2CON0bits.C2POL // bit 4
16605 #define C2OUT CM2CON0bits.C2OUT // bit 6
16606 #define C2ON CM2CON0bits.C2ON // bit 7
16608 #define C2NCH0 CM2CON1bits.C2NCH0 // bit 0
16609 #define C2NCH1 CM2CON1bits.C2NCH1 // bit 1
16610 #define C2NCH2 CM2CON1bits.C2NCH2 // bit 2
16611 #define C2PCH0 CM2CON1bits.C2PCH0 // bit 4
16612 #define C2PCH1 CM2CON1bits.C2PCH1 // bit 5
16613 #define C2INTN CM2CON1bits.C2INTN // bit 6
16614 #define C2INTP CM2CON1bits.C2INTP // bit 7
16616 #define MC1OUT CMOUTbits.MC1OUT // bit 0
16617 #define MC2OUT CMOUTbits.MC2OUT // bit 1
16619 #define ACC8 CRCACCHbits.ACC8 // bit 0, shadows bit in CRCACCHbits
16620 #define CRCACC8 CRCACCHbits.CRCACC8 // bit 0, shadows bit in CRCACCHbits
16621 #define ACC9 CRCACCHbits.ACC9 // bit 1, shadows bit in CRCACCHbits
16622 #define CRCACC9 CRCACCHbits.CRCACC9 // bit 1, shadows bit in CRCACCHbits
16623 #define ACC10 CRCACCHbits.ACC10 // bit 2, shadows bit in CRCACCHbits
16624 #define CRCACC10 CRCACCHbits.CRCACC10 // bit 2, shadows bit in CRCACCHbits
16625 #define ACC11 CRCACCHbits.ACC11 // bit 3, shadows bit in CRCACCHbits
16626 #define CRCACC11 CRCACCHbits.CRCACC11 // bit 3, shadows bit in CRCACCHbits
16627 #define ACC12 CRCACCHbits.ACC12 // bit 4, shadows bit in CRCACCHbits
16628 #define CRCACC12 CRCACCHbits.CRCACC12 // bit 4, shadows bit in CRCACCHbits
16629 #define ACC13 CRCACCHbits.ACC13 // bit 5, shadows bit in CRCACCHbits
16630 #define CRCACC13 CRCACCHbits.CRCACC13 // bit 5, shadows bit in CRCACCHbits
16631 #define ACC14 CRCACCHbits.ACC14 // bit 6, shadows bit in CRCACCHbits
16632 #define CRCACC14 CRCACCHbits.CRCACC14 // bit 6, shadows bit in CRCACCHbits
16633 #define ACC15 CRCACCHbits.ACC15 // bit 7, shadows bit in CRCACCHbits
16634 #define CRCACC15 CRCACCHbits.CRCACC15 // bit 7, shadows bit in CRCACCHbits
16636 #define ACC0 CRCACCLbits.ACC0 // bit 0, shadows bit in CRCACCLbits
16637 #define CRCACC0 CRCACCLbits.CRCACC0 // bit 0, shadows bit in CRCACCLbits
16638 #define ACC1 CRCACCLbits.ACC1 // bit 1, shadows bit in CRCACCLbits
16639 #define CRCACC1 CRCACCLbits.CRCACC1 // bit 1, shadows bit in CRCACCLbits
16640 #define ACC2 CRCACCLbits.ACC2 // bit 2, shadows bit in CRCACCLbits
16641 #define CRCACC2 CRCACCLbits.CRCACC2 // bit 2, shadows bit in CRCACCLbits
16642 #define ACC3 CRCACCLbits.ACC3 // bit 3, shadows bit in CRCACCLbits
16643 #define CRCACC3 CRCACCLbits.CRCACC3 // bit 3, shadows bit in CRCACCLbits
16644 #define ACC4 CRCACCLbits.ACC4 // bit 4, shadows bit in CRCACCLbits
16645 #define CRCACC4 CRCACCLbits.CRCACC4 // bit 4, shadows bit in CRCACCLbits
16646 #define ACC5 CRCACCLbits.ACC5 // bit 5, shadows bit in CRCACCLbits
16647 #define CRCACC5 CRCACCLbits.CRCACC5 // bit 5, shadows bit in CRCACCLbits
16648 #define ACC6 CRCACCLbits.ACC6 // bit 6, shadows bit in CRCACCLbits
16649 #define CRCACC6 CRCACCLbits.CRCACC6 // bit 6, shadows bit in CRCACCLbits
16650 #define ACC7 CRCACCLbits.ACC7 // bit 7, shadows bit in CRCACCLbits
16651 #define CRCACC7 CRCACCLbits.CRCACC7 // bit 7, shadows bit in CRCACCLbits
16653 #define PLEN0 CRCCON1bits.PLEN0 // bit 0, shadows bit in CRCCON1bits
16654 #define CRCPLEN0 CRCCON1bits.CRCPLEN0 // bit 0, shadows bit in CRCCON1bits
16655 #define PLEN1 CRCCON1bits.PLEN1 // bit 1, shadows bit in CRCCON1bits
16656 #define CRCPLEN1 CRCCON1bits.CRCPLEN1 // bit 1, shadows bit in CRCCON1bits
16657 #define PLEN2 CRCCON1bits.PLEN2 // bit 2, shadows bit in CRCCON1bits
16658 #define CRCPLEN2 CRCCON1bits.CRCPLEN2 // bit 2, shadows bit in CRCCON1bits
16659 #define PLEN3 CRCCON1bits.PLEN3 // bit 3, shadows bit in CRCCON1bits
16660 #define CRCPLEN3 CRCCON1bits.CRCPLEN3 // bit 3, shadows bit in CRCCON1bits
16661 #define DLEN0 CRCCON1bits.DLEN0 // bit 4, shadows bit in CRCCON1bits
16662 #define CRCDLEN0 CRCCON1bits.CRCDLEN0 // bit 4, shadows bit in CRCCON1bits
16663 #define DLEN1 CRCCON1bits.DLEN1 // bit 5, shadows bit in CRCCON1bits
16664 #define CRCDLEN1 CRCCON1bits.CRCDLEN1 // bit 5, shadows bit in CRCCON1bits
16665 #define DLEN2 CRCCON1bits.DLEN2 // bit 6, shadows bit in CRCCON1bits
16666 #define CRCDLEN2 CRCCON1bits.CRCDLEN2 // bit 6, shadows bit in CRCCON1bits
16667 #define DLEN3 CRCCON1bits.DLEN3 // bit 7, shadows bit in CRCCON1bits
16668 #define CRCDLEN3 CRCCON1bits.CRCDLEN3 // bit 7, shadows bit in CRCCON1bits
16670 #define DAT8 CRCDATHbits.DAT8 // bit 0, shadows bit in CRCDATHbits
16671 #define CRCDAT8 CRCDATHbits.CRCDAT8 // bit 0, shadows bit in CRCDATHbits
16672 #define DAT9 CRCDATHbits.DAT9 // bit 1, shadows bit in CRCDATHbits
16673 #define CRCDAT9 CRCDATHbits.CRCDAT9 // bit 1, shadows bit in CRCDATHbits
16674 #define DAT10 CRCDATHbits.DAT10 // bit 2, shadows bit in CRCDATHbits
16675 #define CRCDAT10 CRCDATHbits.CRCDAT10 // bit 2, shadows bit in CRCDATHbits
16676 #define DAT11 CRCDATHbits.DAT11 // bit 3, shadows bit in CRCDATHbits
16677 #define CRCDAT11 CRCDATHbits.CRCDAT11 // bit 3, shadows bit in CRCDATHbits
16678 #define DAT12 CRCDATHbits.DAT12 // bit 4, shadows bit in CRCDATHbits
16679 #define CRCDAT12 CRCDATHbits.CRCDAT12 // bit 4, shadows bit in CRCDATHbits
16680 #define DAT13 CRCDATHbits.DAT13 // bit 5, shadows bit in CRCDATHbits
16681 #define CRCDAT13 CRCDATHbits.CRCDAT13 // bit 5, shadows bit in CRCDATHbits
16682 #define DAT14 CRCDATHbits.DAT14 // bit 6, shadows bit in CRCDATHbits
16683 #define CRCDAT14 CRCDATHbits.CRCDAT14 // bit 6, shadows bit in CRCDATHbits
16684 #define DAT15 CRCDATHbits.DAT15 // bit 7, shadows bit in CRCDATHbits
16685 #define CRCDAT15 CRCDATHbits.CRCDAT15 // bit 7, shadows bit in CRCDATHbits
16687 #define DAT0 CRCDATLbits.DAT0 // bit 0, shadows bit in CRCDATLbits
16688 #define CRCDAT0 CRCDATLbits.CRCDAT0 // bit 0, shadows bit in CRCDATLbits
16689 #define DAT1 CRCDATLbits.DAT1 // bit 1, shadows bit in CRCDATLbits
16690 #define CRCDAT1 CRCDATLbits.CRCDAT1 // bit 1, shadows bit in CRCDATLbits
16691 #define DAT2 CRCDATLbits.DAT2 // bit 2, shadows bit in CRCDATLbits
16692 #define CRCDAT2 CRCDATLbits.CRCDAT2 // bit 2, shadows bit in CRCDATLbits
16693 #define DAT3 CRCDATLbits.DAT3 // bit 3, shadows bit in CRCDATLbits
16694 #define CRCDAT3 CRCDATLbits.CRCDAT3 // bit 3, shadows bit in CRCDATLbits
16695 #define DAT4 CRCDATLbits.DAT4 // bit 4, shadows bit in CRCDATLbits
16696 #define CRCDAT4 CRCDATLbits.CRCDAT4 // bit 4, shadows bit in CRCDATLbits
16697 #define DAT5 CRCDATLbits.DAT5 // bit 5, shadows bit in CRCDATLbits
16698 #define CRCDAT5 CRCDATLbits.CRCDAT5 // bit 5, shadows bit in CRCDATLbits
16699 #define DAT6 CRCDATLbits.DAT6 // bit 6, shadows bit in CRCDATLbits
16700 #define CRCDAT6 CRCDATLbits.CRCDAT6 // bit 6, shadows bit in CRCDATLbits
16701 #define DAT7 CRCDATLbits.DAT7 // bit 7, shadows bit in CRCDATLbits
16702 #define CRDCDAT7 CRCDATLbits.CRDCDAT7 // bit 7, shadows bit in CRCDATLbits
16704 #define SHIFT8 CRCSHIFTHbits.SHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
16705 #define CRCSHIFT8 CRCSHIFTHbits.CRCSHIFT8 // bit 0, shadows bit in CRCSHIFTHbits
16706 #define SHIFT9 CRCSHIFTHbits.SHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
16707 #define CRCSHIFT9 CRCSHIFTHbits.CRCSHIFT9 // bit 1, shadows bit in CRCSHIFTHbits
16708 #define SHIFT10 CRCSHIFTHbits.SHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
16709 #define CRCSHIFT10 CRCSHIFTHbits.CRCSHIFT10 // bit 2, shadows bit in CRCSHIFTHbits
16710 #define SHIFT11 CRCSHIFTHbits.SHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
16711 #define CRCSHIFT11 CRCSHIFTHbits.CRCSHIFT11 // bit 3, shadows bit in CRCSHIFTHbits
16712 #define SHIFT12 CRCSHIFTHbits.SHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
16713 #define CRCSHIFT12 CRCSHIFTHbits.CRCSHIFT12 // bit 4, shadows bit in CRCSHIFTHbits
16714 #define SHIFT13 CRCSHIFTHbits.SHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
16715 #define CRCSHIFT13 CRCSHIFTHbits.CRCSHIFT13 // bit 5, shadows bit in CRCSHIFTHbits
16716 #define SHIFT14 CRCSHIFTHbits.SHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
16717 #define CRCSHIFT14 CRCSHIFTHbits.CRCSHIFT14 // bit 6, shadows bit in CRCSHIFTHbits
16718 #define SHIFT15 CRCSHIFTHbits.SHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
16719 #define CRCSHIFT15 CRCSHIFTHbits.CRCSHIFT15 // bit 7, shadows bit in CRCSHIFTHbits
16721 #define SHIFT0 CRCSHIFTLbits.SHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
16722 #define CRCSHIFT0 CRCSHIFTLbits.CRCSHIFT0 // bit 0, shadows bit in CRCSHIFTLbits
16723 #define SHIFT1 CRCSHIFTLbits.SHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
16724 #define CRCSHIFT1 CRCSHIFTLbits.CRCSHIFT1 // bit 1, shadows bit in CRCSHIFTLbits
16725 #define SHIFT2 CRCSHIFTLbits.SHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
16726 #define CRCSHIFT2 CRCSHIFTLbits.CRCSHIFT2 // bit 2, shadows bit in CRCSHIFTLbits
16727 #define SHIFT3 CRCSHIFTLbits.SHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
16728 #define CRCSHIFT3 CRCSHIFTLbits.CRCSHIFT3 // bit 3, shadows bit in CRCSHIFTLbits
16729 #define SHIFT4 CRCSHIFTLbits.SHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
16730 #define CRCSHIFT4 CRCSHIFTLbits.CRCSHIFT4 // bit 4, shadows bit in CRCSHIFTLbits
16731 #define SHIFT5 CRCSHIFTLbits.SHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
16732 #define CRCSHIFT5 CRCSHIFTLbits.CRCSHIFT5 // bit 5, shadows bit in CRCSHIFTLbits
16733 #define SHIFT6 CRCSHIFTLbits.SHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
16734 #define CRCSHIFT6 CRCSHIFTLbits.CRCSHIFT6 // bit 6, shadows bit in CRCSHIFTLbits
16735 #define SHIFT7 CRCSHIFTLbits.SHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
16736 #define CRCSHIFT7 CRCSHIFTLbits.CRCSHIFT7 // bit 7, shadows bit in CRCSHIFTLbits
16738 #define XOR8 CRCXORHbits.XOR8 // bit 0, shadows bit in CRCXORHbits
16739 #define CRCXOR8 CRCXORHbits.CRCXOR8 // bit 0, shadows bit in CRCXORHbits
16740 #define XOR9 CRCXORHbits.XOR9 // bit 1, shadows bit in CRCXORHbits
16741 #define CRCXOR9 CRCXORHbits.CRCXOR9 // bit 1, shadows bit in CRCXORHbits
16742 #define XOR10 CRCXORHbits.XOR10 // bit 2, shadows bit in CRCXORHbits
16743 #define CRCXOR10 CRCXORHbits.CRCXOR10 // bit 2, shadows bit in CRCXORHbits
16744 #define XOR11 CRCXORHbits.XOR11 // bit 3, shadows bit in CRCXORHbits
16745 #define CRCXOR11 CRCXORHbits.CRCXOR11 // bit 3, shadows bit in CRCXORHbits
16746 #define XOR12 CRCXORHbits.XOR12 // bit 4, shadows bit in CRCXORHbits
16747 #define CRCXOR12 CRCXORHbits.CRCXOR12 // bit 4, shadows bit in CRCXORHbits
16748 #define XOR13 CRCXORHbits.XOR13 // bit 5, shadows bit in CRCXORHbits
16749 #define CRCXOR13 CRCXORHbits.CRCXOR13 // bit 5, shadows bit in CRCXORHbits
16750 #define XOR14 CRCXORHbits.XOR14 // bit 6, shadows bit in CRCXORHbits
16751 #define CRCXOR14 CRCXORHbits.CRCXOR14 // bit 6, shadows bit in CRCXORHbits
16752 #define XOR15 CRCXORHbits.XOR15 // bit 7, shadows bit in CRCXORHbits
16753 #define CRCXOR15 CRCXORHbits.CRCXOR15 // bit 7, shadows bit in CRCXORHbits
16755 #define XOR1 CRCXORLbits.XOR1 // bit 1, shadows bit in CRCXORLbits
16756 #define CRCXOR1 CRCXORLbits.CRCXOR1 // bit 1, shadows bit in CRCXORLbits
16757 #define XOR2 CRCXORLbits.XOR2 // bit 2, shadows bit in CRCXORLbits
16758 #define CRCXOR2 CRCXORLbits.CRCXOR2 // bit 2, shadows bit in CRCXORLbits
16759 #define XOR3 CRCXORLbits.XOR3 // bit 3, shadows bit in CRCXORLbits
16760 #define CRCXOR3 CRCXORLbits.CRCXOR3 // bit 3, shadows bit in CRCXORLbits
16761 #define XOR4 CRCXORLbits.XOR4 // bit 4, shadows bit in CRCXORLbits
16762 #define CRCXOR4 CRCXORLbits.CRCXOR4 // bit 4, shadows bit in CRCXORLbits
16763 #define XOR5 CRCXORLbits.XOR5 // bit 5, shadows bit in CRCXORLbits
16764 #define CRCXOR5 CRCXORLbits.CRCXOR5 // bit 5, shadows bit in CRCXORLbits
16765 #define XOR6 CRCXORLbits.XOR6 // bit 6, shadows bit in CRCXORLbits
16766 #define CRCXOR6 CRCXORLbits.CRCXOR6 // bit 6, shadows bit in CRCXORLbits
16767 #define XOR7 CRCXORLbits.XOR7 // bit 7, shadows bit in CRCXORLbits
16768 #define CRCXOR7 CRCXORLbits.CRCXOR7 // bit 7, shadows bit in CRCXORLbits
16770 #define LSAC0 CWG1AS0bits.LSAC0 // bit 2, shadows bit in CWG1AS0bits
16771 #define CWG1LSAC0 CWG1AS0bits.CWG1LSAC0 // bit 2, shadows bit in CWG1AS0bits
16772 #define LSAC1 CWG1AS0bits.LSAC1 // bit 3, shadows bit in CWG1AS0bits
16773 #define CWG1LSAC1 CWG1AS0bits.CWG1LSAC1 // bit 3, shadows bit in CWG1AS0bits
16774 #define LSBD0 CWG1AS0bits.LSBD0 // bit 4, shadows bit in CWG1AS0bits
16775 #define CWG1LSBD0 CWG1AS0bits.CWG1LSBD0 // bit 4, shadows bit in CWG1AS0bits
16776 #define LSBD1 CWG1AS0bits.LSBD1 // bit 5, shadows bit in CWG1AS0bits
16777 #define CWG1LSBD1 CWG1AS0bits.CWG1LSBD1 // bit 5, shadows bit in CWG1AS0bits
16778 #define REN CWG1AS0bits.REN // bit 6, shadows bit in CWG1AS0bits
16779 #define CWG1REN CWG1AS0bits.CWG1REN // bit 6, shadows bit in CWG1AS0bits
16780 #define SHUTDOWN CWG1AS0bits.SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
16781 #define CWG1SHUTDOWN CWG1AS0bits.CWG1SHUTDOWN // bit 7, shadows bit in CWG1AS0bits
16783 #define INAS CWG1AS1bits.INAS // bit 0, shadows bit in CWG1AS1bits
16784 #define CWG1INAS CWG1AS1bits.CWG1INAS // bit 0, shadows bit in CWG1AS1bits
16785 #define C1AS CWG1AS1bits.C1AS // bit 1, shadows bit in CWG1AS1bits
16786 #define CWG1C1AS CWG1AS1bits.CWG1C1AS // bit 1, shadows bit in CWG1AS1bits
16787 #define C2AS CWG1AS1bits.C2AS // bit 2, shadows bit in CWG1AS1bits
16788 #define CWG1C2AS CWG1AS1bits.CWG1C2AS // bit 2, shadows bit in CWG1AS1bits
16789 #define TMR2AS CWG1AS1bits.TMR2AS // bit 4, shadows bit in CWG1AS1bits
16790 #define CWG1TMR2AS CWG1AS1bits.CWG1TMR2AS // bit 4, shadows bit in CWG1AS1bits
16791 #define TMR4AS CWG1AS1bits.TMR4AS // bit 5, shadows bit in CWG1AS1bits
16792 #define CWG1TMR4AS CWG1AS1bits.CWG1TMR4AS // bit 5, shadows bit in CWG1AS1bits
16793 #define TMR6AS CWG1AS1bits.TMR6AS // bit 6, shadows bit in CWG1AS1bits
16794 #define CWG1TMR6AS CWG1AS1bits.CWG1TMR6AS // bit 6, shadows bit in CWG1AS1bits
16796 #define POLA CWG1CON1bits.POLA // bit 0, shadows bit in CWG1CON1bits
16797 #define CWG1POLA CWG1CON1bits.CWG1POLA // bit 0, shadows bit in CWG1CON1bits
16798 #define POLB CWG1CON1bits.POLB // bit 1, shadows bit in CWG1CON1bits
16799 #define CWG1POLB CWG1CON1bits.CWG1POLB // bit 1, shadows bit in CWG1CON1bits
16800 #define POLC CWG1CON1bits.POLC // bit 2, shadows bit in CWG1CON1bits
16801 #define CWG1POLC CWG1CON1bits.CWG1POLC // bit 2, shadows bit in CWG1CON1bits
16802 #define POLD CWG1CON1bits.POLD // bit 3, shadows bit in CWG1CON1bits
16803 #define CWG1POLD CWG1CON1bits.CWG1POLD // bit 3, shadows bit in CWG1CON1bits
16804 #define IN CWG1CON1bits.IN // bit 5, shadows bit in CWG1CON1bits
16805 #define CWG1IN CWG1CON1bits.CWG1IN // bit 5, shadows bit in CWG1CON1bits
16807 #define DBF0 CWG1DBFbits.DBF0 // bit 0, shadows bit in CWG1DBFbits
16808 #define CWG1DBF0 CWG1DBFbits.CWG1DBF0 // bit 0, shadows bit in CWG1DBFbits
16809 #define DBF1 CWG1DBFbits.DBF1 // bit 1, shadows bit in CWG1DBFbits
16810 #define CWG1DBF1 CWG1DBFbits.CWG1DBF1 // bit 1, shadows bit in CWG1DBFbits
16811 #define DBF2 CWG1DBFbits.DBF2 // bit 2, shadows bit in CWG1DBFbits
16812 #define CWG1DBF2 CWG1DBFbits.CWG1DBF2 // bit 2, shadows bit in CWG1DBFbits
16813 #define DBF3 CWG1DBFbits.DBF3 // bit 3, shadows bit in CWG1DBFbits
16814 #define CWG1DBF3 CWG1DBFbits.CWG1DBF3 // bit 3, shadows bit in CWG1DBFbits
16815 #define DBF4 CWG1DBFbits.DBF4 // bit 4, shadows bit in CWG1DBFbits
16816 #define CWG1DBF4 CWG1DBFbits.CWG1DBF4 // bit 4, shadows bit in CWG1DBFbits
16817 #define DBF5 CWG1DBFbits.DBF5 // bit 5, shadows bit in CWG1DBFbits
16818 #define CWG1DBF5 CWG1DBFbits.CWG1DBF5 // bit 5, shadows bit in CWG1DBFbits
16820 #define DBR0 CWG1DBRbits.DBR0 // bit 0, shadows bit in CWG1DBRbits
16821 #define CWG1DBR0 CWG1DBRbits.CWG1DBR0 // bit 0, shadows bit in CWG1DBRbits
16822 #define DBR1 CWG1DBRbits.DBR1 // bit 1, shadows bit in CWG1DBRbits
16823 #define CWG1DBR1 CWG1DBRbits.CWG1DBR1 // bit 1, shadows bit in CWG1DBRbits
16824 #define DBR2 CWG1DBRbits.DBR2 // bit 2, shadows bit in CWG1DBRbits
16825 #define CWG1DBR2 CWG1DBRbits.CWG1DBR2 // bit 2, shadows bit in CWG1DBRbits
16826 #define DBR3 CWG1DBRbits.DBR3 // bit 3, shadows bit in CWG1DBRbits
16827 #define CWG1DBR3 CWG1DBRbits.CWG1DBR3 // bit 3, shadows bit in CWG1DBRbits
16828 #define DBR4 CWG1DBRbits.DBR4 // bit 4, shadows bit in CWG1DBRbits
16829 #define CWG1DBR4 CWG1DBRbits.CWG1DBR4 // bit 4, shadows bit in CWG1DBRbits
16830 #define DBR5 CWG1DBRbits.DBR5 // bit 5, shadows bit in CWG1DBRbits
16831 #define CWG1DBR5 CWG1DBRbits.CWG1DBR5 // bit 5, shadows bit in CWG1DBRbits
16833 #define IS0 CWG1ISMbits.IS0 // bit 0, shadows bit in CWG1ISMbits
16834 #define CWG1IS0 CWG1ISMbits.CWG1IS0 // bit 0, shadows bit in CWG1ISMbits
16835 #define IS1 CWG1ISMbits.IS1 // bit 1, shadows bit in CWG1ISMbits
16836 #define CWG1IS1 CWG1ISMbits.CWG1IS1 // bit 1, shadows bit in CWG1ISMbits
16837 #define IS2 CWG1ISMbits.IS2 // bit 2, shadows bit in CWG1ISMbits
16838 #define CWG1IS2 CWG1ISMbits.CWG1IS2 // bit 2, shadows bit in CWG1ISMbits
16839 #define IS3 CWG1ISMbits.IS3 // bit 3, shadows bit in CWG1ISMbits
16840 #define CWG1IS3 CWG1ISMbits.CWG1IS3 // bit 3, shadows bit in CWG1ISMbits
16842 #define STRA CWG1OCON0bits.STRA // bit 0, shadows bit in CWG1OCON0bits
16843 #define CWG1STRA CWG1OCON0bits.CWG1STRA // bit 0, shadows bit in CWG1OCON0bits
16844 #define STRB CWG1OCON0bits.STRB // bit 1, shadows bit in CWG1OCON0bits
16845 #define CWG1STRB CWG1OCON0bits.CWG1STRB // bit 1, shadows bit in CWG1OCON0bits
16846 #define STRC CWG1OCON0bits.STRC // bit 2, shadows bit in CWG1OCON0bits
16847 #define CWG1STRC CWG1OCON0bits.CWG1STRC // bit 2, shadows bit in CWG1OCON0bits
16848 #define STRD CWG1OCON0bits.STRD // bit 3, shadows bit in CWG1OCON0bits
16849 #define CWG1STRD CWG1OCON0bits.CWG1STRD // bit 3, shadows bit in CWG1OCON0bits
16850 #define OVRA CWG1OCON0bits.OVRA // bit 4, shadows bit in CWG1OCON0bits
16851 #define CWG1OVRA CWG1OCON0bits.CWG1OVRA // bit 4, shadows bit in CWG1OCON0bits
16852 #define OVRB CWG1OCON0bits.OVRB // bit 5, shadows bit in CWG1OCON0bits
16853 #define CWG1OVRB CWG1OCON0bits.CWG1OVRB // bit 5, shadows bit in CWG1OCON0bits
16854 #define OVRC CWG1OCON0bits.OVRC // bit 6, shadows bit in CWG1OCON0bits
16855 #define CWG1OVRC CWG1OCON0bits.CWG1OVRC // bit 6, shadows bit in CWG1OCON0bits
16856 #define OVRD CWG1OCON0bits.OVRD // bit 7, shadows bit in CWG1OCON0bits
16857 #define CWG1OVRD CWG1OCON0bits.CWG1OVRD // bit 7, shadows bit in CWG1OCON0bits
16859 #define CWGINPPS0 CWGINPPSbits.CWGINPPS0 // bit 0
16860 #define CWGINPPS1 CWGINPPSbits.CWGINPPS1 // bit 1
16861 #define CWGINPPS2 CWGINPPSbits.CWGINPPS2 // bit 2
16862 #define CWGINPPS3 CWGINPPSbits.CWGINPPS3 // bit 3
16863 #define CWGINPPS4 CWGINPPSbits.CWGINPPS4 // bit 4
16865 #define D1PSS0 DAC1CON0bits.D1PSS0 // bit 2
16866 #define D1PSS1 DAC1CON0bits.D1PSS1 // bit 3
16867 #define DAC1OE DAC1CON0bits.DAC1OE // bit 5
16868 #define DAC1EN DAC1CON0bits.DAC1EN // bit 7
16870 #define DAC1R0 DAC1CON1bits.DAC1R0 // bit 0
16871 #define DAC1R1 DAC1CON1bits.DAC1R1 // bit 1
16872 #define DAC1R2 DAC1CON1bits.DAC1R2 // bit 2
16873 #define DAC1R3 DAC1CON1bits.DAC1R3 // bit 3
16874 #define DAC1R4 DAC1CON1bits.DAC1R4 // bit 4
16875 #define DAC1R5 DAC1CON1bits.DAC1R5 // bit 5
16876 #define DAC1R6 DAC1CON1bits.DAC1R6 // bit 6
16877 #define DAC1R7 DAC1CON1bits.DAC1R7 // bit 7
16879 #define ADFVR0 FVRCONbits.ADFVR0 // bit 0
16880 #define ADFVR1 FVRCONbits.ADFVR1 // bit 1
16881 #define CDAFVR0 FVRCONbits.CDAFVR0 // bit 2
16882 #define CDAFVR1 FVRCONbits.CDAFVR1 // bit 3
16883 #define TSRNG FVRCONbits.TSRNG // bit 4
16884 #define TSEN FVRCONbits.TSEN // bit 5
16885 #define FVRRDY FVRCONbits.FVRRDY // bit 6
16886 #define FVREN FVRCONbits.FVREN // bit 7
16888 #define HIDC4 HDRVCbits.HIDC4 // bit 4
16889 #define HIDC5 HDRVCbits.HIDC5 // bit 5
16891 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
16892 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
16893 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
16894 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
16895 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
16896 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
16898 #define INLVLB4 INLVLBbits.INLVLB4 // bit 4
16899 #define INLVLB5 INLVLBbits.INLVLB5 // bit 5
16900 #define INLVLB6 INLVLBbits.INLVLB6 // bit 6
16901 #define INLVLB7 INLVLBbits.INLVLB7 // bit 7
16903 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
16904 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
16905 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
16906 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
16907 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
16908 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
16909 #define INLVLC6 INLVLCbits.INLVLC6 // bit 6
16910 #define INLVLC7 INLVLCbits.INLVLC7 // bit 7
16912 #define IOCIF INTCONbits.IOCIF // bit 0
16913 #define INTF INTCONbits.INTF // bit 1
16914 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
16915 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
16916 #define IOCIE INTCONbits.IOCIE // bit 3
16917 #define INTE INTCONbits.INTE // bit 4
16918 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
16919 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
16920 #define PEIE INTCONbits.PEIE // bit 6
16921 #define GIE INTCONbits.GIE // bit 7
16923 #define INTPPS0 INTPPSbits.INTPPS0 // bit 0
16924 #define INTPPS1 INTPPSbits.INTPPS1 // bit 1
16925 #define INTPPS2 INTPPSbits.INTPPS2 // bit 2
16926 #define INTPPS3 INTPPSbits.INTPPS3 // bit 3
16927 #define INTPPS4 INTPPSbits.INTPPS4 // bit 4
16929 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
16930 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
16931 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
16932 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
16933 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
16934 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
16936 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
16937 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
16938 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
16939 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
16940 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
16941 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
16943 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
16944 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
16945 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
16946 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
16947 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
16948 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
16950 #define IOCBF4 IOCBFbits.IOCBF4 // bit 4
16951 #define IOCBF5 IOCBFbits.IOCBF5 // bit 5
16952 #define IOCBF6 IOCBFbits.IOCBF6 // bit 6
16953 #define IOCBF7 IOCBFbits.IOCBF7 // bit 7
16955 #define IOCBN4 IOCBNbits.IOCBN4 // bit 4
16956 #define IOCBN5 IOCBNbits.IOCBN5 // bit 5
16957 #define IOCBN6 IOCBNbits.IOCBN6 // bit 6
16958 #define IOCBN7 IOCBNbits.IOCBN7 // bit 7
16960 #define IOCBP4 IOCBPbits.IOCBP4 // bit 4
16961 #define IOCBP5 IOCBPbits.IOCBP5 // bit 5
16962 #define IOCBP6 IOCBPbits.IOCBP6 // bit 6
16963 #define IOCBP7 IOCBPbits.IOCBP7 // bit 7
16965 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
16966 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
16967 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
16968 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
16969 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
16970 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
16971 #define IOCCF6 IOCCFbits.IOCCF6 // bit 6
16972 #define IOCCF7 IOCCFbits.IOCCF7 // bit 7
16974 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
16975 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
16976 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
16977 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
16978 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
16979 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
16980 #define IOCCN6 IOCCNbits.IOCCN6 // bit 6
16981 #define IOCCN7 IOCCNbits.IOCCN7 // bit 7
16983 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
16984 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
16985 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
16986 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
16987 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
16988 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
16989 #define IOCCP6 IOCCPbits.IOCCP6 // bit 6
16990 #define IOCCP7 IOCCPbits.IOCCP7 // bit 7
16992 #define LATA0 LATAbits.LATA0 // bit 0
16993 #define LATA1 LATAbits.LATA1 // bit 1
16994 #define LATA2 LATAbits.LATA2 // bit 2
16995 #define LATA3 LATAbits.LATA3 // bit 3
16996 #define LATA4 LATAbits.LATA4 // bit 4
16997 #define LATA5 LATAbits.LATA5 // bit 5
16999 #define LATB4 LATBbits.LATB4 // bit 4
17000 #define LATB5 LATBbits.LATB5 // bit 5
17001 #define LATB6 LATBbits.LATB6 // bit 6
17002 #define LATB7 LATBbits.LATB7 // bit 7
17004 #define LATC0 LATCbits.LATC0 // bit 0
17005 #define LATC1 LATCbits.LATC1 // bit 1
17006 #define LATC2 LATCbits.LATC2 // bit 2
17007 #define LATC3 LATCbits.LATC3 // bit 3
17008 #define LATC4 LATCbits.LATC4 // bit 4
17009 #define LATC5 LATCbits.LATC5 // bit 5
17010 #define LATC6 LATCbits.LATC6 // bit 6
17011 #define LATC7 LATCbits.LATC7 // bit 7
17013 #define ODA0 ODCONAbits.ODA0 // bit 0
17014 #define ODA1 ODCONAbits.ODA1 // bit 1
17015 #define ODA2 ODCONAbits.ODA2 // bit 2
17016 #define ODA4 ODCONAbits.ODA4 // bit 4
17017 #define ODA5 ODCONAbits.ODA5 // bit 5
17019 #define ODB4 ODCONBbits.ODB4 // bit 4
17020 #define ODB5 ODCONBbits.ODB5 // bit 5
17021 #define ODB6 ODCONBbits.ODB6 // bit 6
17022 #define ODB7 ODCONBbits.ODB7 // bit 7
17024 #define ODC0 ODCONCbits.ODC0 // bit 0
17025 #define ODC1 ODCONCbits.ODC1 // bit 1
17026 #define ODC2 ODCONCbits.ODC2 // bit 2
17027 #define ODC3 ODCONCbits.ODC3 // bit 3
17028 #define ODC4 ODCONCbits.ODC4 // bit 4
17029 #define ODC5 ODCONCbits.ODC5 // bit 5
17030 #define ODC6 ODCONCbits.ODC6 // bit 6
17031 #define ODC7 ODCONCbits.ODC7 // bit 7
17033 #define SCS0 OSCCONbits.SCS0 // bit 0
17034 #define SCS1 OSCCONbits.SCS1 // bit 1
17035 #define IRCF0 OSCCONbits.IRCF0 // bit 3
17036 #define IRCF1 OSCCONbits.IRCF1 // bit 4
17037 #define IRCF2 OSCCONbits.IRCF2 // bit 5
17038 #define IRCF3 OSCCONbits.IRCF3 // bit 6
17039 #define SPLLEN OSCCONbits.SPLLEN // bit 7
17041 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
17042 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
17043 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
17044 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
17045 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
17046 #define OSTS OSCSTATbits.OSTS // bit 5
17047 #define PLLR OSCSTATbits.PLLR // bit 6
17049 #define TUN0 OSCTUNEbits.TUN0 // bit 0
17050 #define TUN1 OSCTUNEbits.TUN1 // bit 1
17051 #define TUN2 OSCTUNEbits.TUN2 // bit 2
17052 #define TUN3 OSCTUNEbits.TUN3 // bit 3
17053 #define TUN4 OSCTUNEbits.TUN4 // bit 4
17054 #define TUN5 OSCTUNEbits.TUN5 // bit 5
17056 #define NOT_BOR PCONbits.NOT_BOR // bit 0
17057 #define NOT_POR PCONbits.NOT_POR // bit 1
17058 #define NOT_RI PCONbits.NOT_RI // bit 2
17059 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
17060 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
17061 #define NOT_WDTWV PCONbits.NOT_WDTWV // bit 5
17062 #define STKUNF PCONbits.STKUNF // bit 6
17063 #define STKOVF PCONbits.STKOVF // bit 7
17065 #define PID1ACC24 PID1ACCHHbits.PID1ACC24 // bit 0, shadows bit in PID1ACCHHbits
17066 #define ACC24 PID1ACCHHbits.ACC24 // bit 0, shadows bit in PID1ACCHHbits
17067 #define PID1ACC25 PID1ACCHHbits.PID1ACC25 // bit 1, shadows bit in PID1ACCHHbits
17068 #define ACC25 PID1ACCHHbits.ACC25 // bit 1, shadows bit in PID1ACCHHbits
17069 #define PID1ACC26 PID1ACCHHbits.PID1ACC26 // bit 2, shadows bit in PID1ACCHHbits
17070 #define ACC26 PID1ACCHHbits.ACC26 // bit 2, shadows bit in PID1ACCHHbits
17071 #define PID1ACC27 PID1ACCHHbits.PID1ACC27 // bit 3, shadows bit in PID1ACCHHbits
17072 #define ACC27 PID1ACCHHbits.ACC27 // bit 3, shadows bit in PID1ACCHHbits
17073 #define PID1ACC28 PID1ACCHHbits.PID1ACC28 // bit 4, shadows bit in PID1ACCHHbits
17074 #define ACC28 PID1ACCHHbits.ACC28 // bit 4, shadows bit in PID1ACCHHbits
17075 #define PID1ACC29 PID1ACCHHbits.PID1ACC29 // bit 5, shadows bit in PID1ACCHHbits
17076 #define ACC29 PID1ACCHHbits.ACC29 // bit 5, shadows bit in PID1ACCHHbits
17077 #define PID1ACC30 PID1ACCHHbits.PID1ACC30 // bit 6, shadows bit in PID1ACCHHbits
17078 #define ACC30 PID1ACCHHbits.ACC30 // bit 6, shadows bit in PID1ACCHHbits
17079 #define PID1ACC31 PID1ACCHHbits.PID1ACC31 // bit 7, shadows bit in PID1ACCHHbits
17080 #define ACC31 PID1ACCHHbits.ACC31 // bit 7, shadows bit in PID1ACCHHbits
17082 #define PID1ACC16 PID1ACCHLbits.PID1ACC16 // bit 0, shadows bit in PID1ACCHLbits
17083 #define ACC16 PID1ACCHLbits.ACC16 // bit 0, shadows bit in PID1ACCHLbits
17084 #define PID1ACC17 PID1ACCHLbits.PID1ACC17 // bit 1, shadows bit in PID1ACCHLbits
17085 #define ACC17 PID1ACCHLbits.ACC17 // bit 1, shadows bit in PID1ACCHLbits
17086 #define PID1ACC18 PID1ACCHLbits.PID1ACC18 // bit 2, shadows bit in PID1ACCHLbits
17087 #define ACC18 PID1ACCHLbits.ACC18 // bit 2, shadows bit in PID1ACCHLbits
17088 #define PID1ACC19 PID1ACCHLbits.PID1ACC19 // bit 3, shadows bit in PID1ACCHLbits
17089 #define ACC19 PID1ACCHLbits.ACC19 // bit 3, shadows bit in PID1ACCHLbits
17090 #define PID1ACC20 PID1ACCHLbits.PID1ACC20 // bit 4, shadows bit in PID1ACCHLbits
17091 #define ACC20 PID1ACCHLbits.ACC20 // bit 4, shadows bit in PID1ACCHLbits
17092 #define PID1ACC21 PID1ACCHLbits.PID1ACC21 // bit 5, shadows bit in PID1ACCHLbits
17093 #define ACC21 PID1ACCHLbits.ACC21 // bit 5, shadows bit in PID1ACCHLbits
17094 #define PID1ACC22 PID1ACCHLbits.PID1ACC22 // bit 6, shadows bit in PID1ACCHLbits
17095 #define ACC22 PID1ACCHLbits.ACC22 // bit 6, shadows bit in PID1ACCHLbits
17096 #define PID1ACC23 PID1ACCHLbits.PID1ACC23 // bit 7, shadows bit in PID1ACCHLbits
17097 #define ACC23 PID1ACCHLbits.ACC23 // bit 7, shadows bit in PID1ACCHLbits
17099 #define PID1ACC32 PID1ACCUbits.PID1ACC32 // bit 0, shadows bit in PID1ACCUbits
17100 #define ACC32 PID1ACCUbits.ACC32 // bit 0, shadows bit in PID1ACCUbits
17101 #define PID1ACC33 PID1ACCUbits.PID1ACC33 // bit 1, shadows bit in PID1ACCUbits
17102 #define ACC33 PID1ACCUbits.ACC33 // bit 1, shadows bit in PID1ACCUbits
17103 #define PID1ACC34 PID1ACCUbits.PID1ACC34 // bit 2, shadows bit in PID1ACCUbits
17104 #define ACC34 PID1ACCUbits.ACC34 // bit 2, shadows bit in PID1ACCUbits
17106 #define PID1IN8 PID1INHbits.PID1IN8 // bit 0, shadows bit in PID1INHbits
17107 #define IN8 PID1INHbits.IN8 // bit 0, shadows bit in PID1INHbits
17108 #define PID1IN9 PID1INHbits.PID1IN9 // bit 1, shadows bit in PID1INHbits
17109 #define IN9 PID1INHbits.IN9 // bit 1, shadows bit in PID1INHbits
17110 #define PID1IN10 PID1INHbits.PID1IN10 // bit 2, shadows bit in PID1INHbits
17111 #define IN10 PID1INHbits.IN10 // bit 2, shadows bit in PID1INHbits
17112 #define PID1IN11 PID1INHbits.PID1IN11 // bit 3, shadows bit in PID1INHbits
17113 #define IN11 PID1INHbits.IN11 // bit 3, shadows bit in PID1INHbits
17114 #define PID1IN12 PID1INHbits.PID1IN12 // bit 4, shadows bit in PID1INHbits
17115 #define IN12 PID1INHbits.IN12 // bit 4, shadows bit in PID1INHbits
17116 #define PID1IN13 PID1INHbits.PID1IN13 // bit 5, shadows bit in PID1INHbits
17117 #define IN13 PID1INHbits.IN13 // bit 5, shadows bit in PID1INHbits
17118 #define PID1IN14 PID1INHbits.PID1IN14 // bit 6, shadows bit in PID1INHbits
17119 #define IN14 PID1INHbits.IN14 // bit 6, shadows bit in PID1INHbits
17120 #define PID1IN15 PID1INHbits.PID1IN15 // bit 7, shadows bit in PID1INHbits
17121 #define IN15 PID1INHbits.IN15 // bit 7, shadows bit in PID1INHbits
17123 #define PID1IN0 PID1INLbits.PID1IN0 // bit 0, shadows bit in PID1INLbits
17124 #define IN0 PID1INLbits.IN0 // bit 0, shadows bit in PID1INLbits
17125 #define PID1IN1 PID1INLbits.PID1IN1 // bit 1, shadows bit in PID1INLbits
17126 #define IN1 PID1INLbits.IN1 // bit 1, shadows bit in PID1INLbits
17127 #define PID1IN2 PID1INLbits.PID1IN2 // bit 2, shadows bit in PID1INLbits
17128 #define IN2 PID1INLbits.IN2 // bit 2, shadows bit in PID1INLbits
17129 #define PID1IN3 PID1INLbits.PID1IN3 // bit 3, shadows bit in PID1INLbits
17130 #define IN3 PID1INLbits.IN3 // bit 3, shadows bit in PID1INLbits
17131 #define PID1IN4 PID1INLbits.PID1IN4 // bit 4, shadows bit in PID1INLbits
17132 #define IN4 PID1INLbits.IN4 // bit 4, shadows bit in PID1INLbits
17133 #define PID1IN5 PID1INLbits.PID1IN5 // bit 5, shadows bit in PID1INLbits
17134 #define IN5 PID1INLbits.IN5 // bit 5, shadows bit in PID1INLbits
17135 #define PID1IN6 PID1INLbits.PID1IN6 // bit 6, shadows bit in PID1INLbits
17136 #define IN6 PID1INLbits.IN6 // bit 6, shadows bit in PID1INLbits
17137 #define PID1IN7 PID1INLbits.PID1IN7 // bit 7, shadows bit in PID1INLbits
17138 #define IN7 PID1INLbits.IN7 // bit 7, shadows bit in PID1INLbits
17140 #define PID1K18 PID1K1Hbits.PID1K18 // bit 0, shadows bit in PID1K1Hbits
17141 #define K18 PID1K1Hbits.K18 // bit 0, shadows bit in PID1K1Hbits
17142 #define PID1K19 PID1K1Hbits.PID1K19 // bit 1, shadows bit in PID1K1Hbits
17143 #define K19 PID1K1Hbits.K19 // bit 1, shadows bit in PID1K1Hbits
17144 #define PID1K110 PID1K1Hbits.PID1K110 // bit 2, shadows bit in PID1K1Hbits
17145 #define K110 PID1K1Hbits.K110 // bit 2, shadows bit in PID1K1Hbits
17146 #define PID1K111 PID1K1Hbits.PID1K111 // bit 3, shadows bit in PID1K1Hbits
17147 #define K111 PID1K1Hbits.K111 // bit 3, shadows bit in PID1K1Hbits
17148 #define PID1K112 PID1K1Hbits.PID1K112 // bit 4, shadows bit in PID1K1Hbits
17149 #define K112 PID1K1Hbits.K112 // bit 4, shadows bit in PID1K1Hbits
17150 #define PID1K113 PID1K1Hbits.PID1K113 // bit 5, shadows bit in PID1K1Hbits
17151 #define K113 PID1K1Hbits.K113 // bit 5, shadows bit in PID1K1Hbits
17152 #define PID1K114 PID1K1Hbits.PID1K114 // bit 6, shadows bit in PID1K1Hbits
17153 #define K114 PID1K1Hbits.K114 // bit 6, shadows bit in PID1K1Hbits
17154 #define PID1K115 PID1K1Hbits.PID1K115 // bit 7, shadows bit in PID1K1Hbits
17155 #define K115 PID1K1Hbits.K115 // bit 7, shadows bit in PID1K1Hbits
17157 #define PID1K10 PID1K1Lbits.PID1K10 // bit 0, shadows bit in PID1K1Lbits
17158 #define K10 PID1K1Lbits.K10 // bit 0, shadows bit in PID1K1Lbits
17159 #define PID1K11 PID1K1Lbits.PID1K11 // bit 1, shadows bit in PID1K1Lbits
17160 #define K11 PID1K1Lbits.K11 // bit 1, shadows bit in PID1K1Lbits
17161 #define PID1K12 PID1K1Lbits.PID1K12 // bit 2, shadows bit in PID1K1Lbits
17162 #define K12 PID1K1Lbits.K12 // bit 2, shadows bit in PID1K1Lbits
17163 #define PID1K13 PID1K1Lbits.PID1K13 // bit 3, shadows bit in PID1K1Lbits
17164 #define K13 PID1K1Lbits.K13 // bit 3, shadows bit in PID1K1Lbits
17165 #define PID1K14 PID1K1Lbits.PID1K14 // bit 4, shadows bit in PID1K1Lbits
17166 #define K14 PID1K1Lbits.K14 // bit 4, shadows bit in PID1K1Lbits
17167 #define PID1K15 PID1K1Lbits.PID1K15 // bit 5, shadows bit in PID1K1Lbits
17168 #define K15 PID1K1Lbits.K15 // bit 5, shadows bit in PID1K1Lbits
17169 #define PID1K16 PID1K1Lbits.PID1K16 // bit 6, shadows bit in PID1K1Lbits
17170 #define K16 PID1K1Lbits.K16 // bit 6, shadows bit in PID1K1Lbits
17171 #define PID1K17 PID1K1Lbits.PID1K17 // bit 7, shadows bit in PID1K1Lbits
17172 #define K17 PID1K1Lbits.K17 // bit 7, shadows bit in PID1K1Lbits
17174 #define PID1K28 PID1K2Hbits.PID1K28 // bit 0, shadows bit in PID1K2Hbits
17175 #define K28 PID1K2Hbits.K28 // bit 0, shadows bit in PID1K2Hbits
17176 #define PID1K29 PID1K2Hbits.PID1K29 // bit 1, shadows bit in PID1K2Hbits
17177 #define K29 PID1K2Hbits.K29 // bit 1, shadows bit in PID1K2Hbits
17178 #define PID1K210 PID1K2Hbits.PID1K210 // bit 2, shadows bit in PID1K2Hbits
17179 #define K210 PID1K2Hbits.K210 // bit 2, shadows bit in PID1K2Hbits
17180 #define PID1K211 PID1K2Hbits.PID1K211 // bit 3, shadows bit in PID1K2Hbits
17181 #define K211 PID1K2Hbits.K211 // bit 3, shadows bit in PID1K2Hbits
17182 #define PID1K212 PID1K2Hbits.PID1K212 // bit 4, shadows bit in PID1K2Hbits
17183 #define K212 PID1K2Hbits.K212 // bit 4, shadows bit in PID1K2Hbits
17184 #define PID1K213 PID1K2Hbits.PID1K213 // bit 5, shadows bit in PID1K2Hbits
17185 #define K213 PID1K2Hbits.K213 // bit 5, shadows bit in PID1K2Hbits
17186 #define PID1K214 PID1K2Hbits.PID1K214 // bit 6, shadows bit in PID1K2Hbits
17187 #define K214 PID1K2Hbits.K214 // bit 6, shadows bit in PID1K2Hbits
17188 #define PID1K215 PID1K2Hbits.PID1K215 // bit 7, shadows bit in PID1K2Hbits
17189 #define K215 PID1K2Hbits.K215 // bit 7, shadows bit in PID1K2Hbits
17191 #define PID1K20 PID1K2Lbits.PID1K20 // bit 0, shadows bit in PID1K2Lbits
17192 #define K20 PID1K2Lbits.K20 // bit 0, shadows bit in PID1K2Lbits
17193 #define PID1K21 PID1K2Lbits.PID1K21 // bit 1, shadows bit in PID1K2Lbits
17194 #define K21 PID1K2Lbits.K21 // bit 1, shadows bit in PID1K2Lbits
17195 #define PID1K22 PID1K2Lbits.PID1K22 // bit 2, shadows bit in PID1K2Lbits
17196 #define K22 PID1K2Lbits.K22 // bit 2, shadows bit in PID1K2Lbits
17197 #define PID1K23 PID1K2Lbits.PID1K23 // bit 3, shadows bit in PID1K2Lbits
17198 #define K23 PID1K2Lbits.K23 // bit 3, shadows bit in PID1K2Lbits
17199 #define PID1K24 PID1K2Lbits.PID1K24 // bit 4, shadows bit in PID1K2Lbits
17200 #define K24 PID1K2Lbits.K24 // bit 4, shadows bit in PID1K2Lbits
17201 #define PID1K25 PID1K2Lbits.PID1K25 // bit 5, shadows bit in PID1K2Lbits
17202 #define K25 PID1K2Lbits.K25 // bit 5, shadows bit in PID1K2Lbits
17203 #define PID1K26 PID1K2Lbits.PID1K26 // bit 6, shadows bit in PID1K2Lbits
17204 #define K26 PID1K2Lbits.K26 // bit 6, shadows bit in PID1K2Lbits
17205 #define PID1K27 PID1K2Lbits.PID1K27 // bit 7, shadows bit in PID1K2Lbits
17206 #define K27 PID1K2Lbits.K27 // bit 7, shadows bit in PID1K2Lbits
17208 #define PID1K38 PID1K3Hbits.PID1K38 // bit 0, shadows bit in PID1K3Hbits
17209 #define K38 PID1K3Hbits.K38 // bit 0, shadows bit in PID1K3Hbits
17210 #define PID1K39 PID1K3Hbits.PID1K39 // bit 1, shadows bit in PID1K3Hbits
17211 #define K39 PID1K3Hbits.K39 // bit 1, shadows bit in PID1K3Hbits
17212 #define PID1K310 PID1K3Hbits.PID1K310 // bit 2, shadows bit in PID1K3Hbits
17213 #define K310 PID1K3Hbits.K310 // bit 2, shadows bit in PID1K3Hbits
17214 #define PID1K311 PID1K3Hbits.PID1K311 // bit 3, shadows bit in PID1K3Hbits
17215 #define K311 PID1K3Hbits.K311 // bit 3, shadows bit in PID1K3Hbits
17216 #define PID1K312 PID1K3Hbits.PID1K312 // bit 4, shadows bit in PID1K3Hbits
17217 #define K312 PID1K3Hbits.K312 // bit 4, shadows bit in PID1K3Hbits
17218 #define PID1K313 PID1K3Hbits.PID1K313 // bit 5, shadows bit in PID1K3Hbits
17219 #define K313 PID1K3Hbits.K313 // bit 5, shadows bit in PID1K3Hbits
17220 #define PID1K314 PID1K3Hbits.PID1K314 // bit 6, shadows bit in PID1K3Hbits
17221 #define K314 PID1K3Hbits.K314 // bit 6, shadows bit in PID1K3Hbits
17222 #define PID1K315 PID1K3Hbits.PID1K315 // bit 7, shadows bit in PID1K3Hbits
17223 #define K315 PID1K3Hbits.K315 // bit 7, shadows bit in PID1K3Hbits
17225 #define PID1K30 PID1K3Lbits.PID1K30 // bit 0, shadows bit in PID1K3Lbits
17226 #define K30 PID1K3Lbits.K30 // bit 0, shadows bit in PID1K3Lbits
17227 #define PID1K31 PID1K3Lbits.PID1K31 // bit 1, shadows bit in PID1K3Lbits
17228 #define K31 PID1K3Lbits.K31 // bit 1, shadows bit in PID1K3Lbits
17229 #define PID1K32 PID1K3Lbits.PID1K32 // bit 2, shadows bit in PID1K3Lbits
17230 #define K32 PID1K3Lbits.K32 // bit 2, shadows bit in PID1K3Lbits
17231 #define PID1K33 PID1K3Lbits.PID1K33 // bit 3, shadows bit in PID1K3Lbits
17232 #define K33 PID1K3Lbits.K33 // bit 3, shadows bit in PID1K3Lbits
17233 #define PID1K34 PID1K3Lbits.PID1K34 // bit 4, shadows bit in PID1K3Lbits
17234 #define K34 PID1K3Lbits.K34 // bit 4, shadows bit in PID1K3Lbits
17235 #define PID1K35 PID1K3Lbits.PID1K35 // bit 5, shadows bit in PID1K3Lbits
17236 #define K35 PID1K3Lbits.K35 // bit 5, shadows bit in PID1K3Lbits
17237 #define PID1K36 PID1K3Lbits.PID1K36 // bit 6, shadows bit in PID1K3Lbits
17238 #define K36 PID1K3Lbits.K36 // bit 6, shadows bit in PID1K3Lbits
17239 #define PID1K37 PID1K3Lbits.PID1K37 // bit 7, shadows bit in PID1K3Lbits
17240 #define K37 PID1K3Lbits.K37 // bit 7, shadows bit in PID1K3Lbits
17242 #define PID1OUT24 PID1OUTHHbits.PID1OUT24 // bit 0, shadows bit in PID1OUTHHbits
17243 #define OUT24 PID1OUTHHbits.OUT24 // bit 0, shadows bit in PID1OUTHHbits
17244 #define PID1OUT25 PID1OUTHHbits.PID1OUT25 // bit 1, shadows bit in PID1OUTHHbits
17245 #define OUT25 PID1OUTHHbits.OUT25 // bit 1, shadows bit in PID1OUTHHbits
17246 #define PID1OUT26 PID1OUTHHbits.PID1OUT26 // bit 2, shadows bit in PID1OUTHHbits
17247 #define OUT26 PID1OUTHHbits.OUT26 // bit 2, shadows bit in PID1OUTHHbits
17248 #define PID1OUT27 PID1OUTHHbits.PID1OUT27 // bit 3, shadows bit in PID1OUTHHbits
17249 #define OUT27 PID1OUTHHbits.OUT27 // bit 3, shadows bit in PID1OUTHHbits
17250 #define PID1OUT28 PID1OUTHHbits.PID1OUT28 // bit 4, shadows bit in PID1OUTHHbits
17251 #define OUT28 PID1OUTHHbits.OUT28 // bit 4, shadows bit in PID1OUTHHbits
17252 #define PID1OUT29 PID1OUTHHbits.PID1OUT29 // bit 5, shadows bit in PID1OUTHHbits
17253 #define OUT29 PID1OUTHHbits.OUT29 // bit 5, shadows bit in PID1OUTHHbits
17254 #define PID1OUT30 PID1OUTHHbits.PID1OUT30 // bit 6, shadows bit in PID1OUTHHbits
17255 #define OUT30 PID1OUTHHbits.OUT30 // bit 6, shadows bit in PID1OUTHHbits
17256 #define PID1OUT31 PID1OUTHHbits.PID1OUT31 // bit 7, shadows bit in PID1OUTHHbits
17257 #define OUT31 PID1OUTHHbits.OUT31 // bit 7, shadows bit in PID1OUTHHbits
17259 #define PID1OUT16 PID1OUTHLbits.PID1OUT16 // bit 0, shadows bit in PID1OUTHLbits
17260 #define OUT16 PID1OUTHLbits.OUT16 // bit 0, shadows bit in PID1OUTHLbits
17261 #define PID1OUT17 PID1OUTHLbits.PID1OUT17 // bit 1, shadows bit in PID1OUTHLbits
17262 #define OUT17 PID1OUTHLbits.OUT17 // bit 1, shadows bit in PID1OUTHLbits
17263 #define PID1OUT18 PID1OUTHLbits.PID1OUT18 // bit 2, shadows bit in PID1OUTHLbits
17264 #define OUT18 PID1OUTHLbits.OUT18 // bit 2, shadows bit in PID1OUTHLbits
17265 #define PID1OUT19 PID1OUTHLbits.PID1OUT19 // bit 3, shadows bit in PID1OUTHLbits
17266 #define OUT19 PID1OUTHLbits.OUT19 // bit 3, shadows bit in PID1OUTHLbits
17267 #define PID1OUT20 PID1OUTHLbits.PID1OUT20 // bit 4, shadows bit in PID1OUTHLbits
17268 #define OUT20 PID1OUTHLbits.OUT20 // bit 4, shadows bit in PID1OUTHLbits
17269 #define PID1OUT21 PID1OUTHLbits.PID1OUT21 // bit 5, shadows bit in PID1OUTHLbits
17270 #define OUT21 PID1OUTHLbits.OUT21 // bit 5, shadows bit in PID1OUTHLbits
17271 #define PID1OUT22 PID1OUTHLbits.PID1OUT22 // bit 6, shadows bit in PID1OUTHLbits
17272 #define OUT22 PID1OUTHLbits.OUT22 // bit 6, shadows bit in PID1OUTHLbits
17273 #define PID1OUT23 PID1OUTHLbits.PID1OUT23 // bit 7, shadows bit in PID1OUTHLbits
17274 #define OUT23 PID1OUTHLbits.OUT23 // bit 7, shadows bit in PID1OUTHLbits
17276 #define PID1OUT8 PID1OUTLHbits.PID1OUT8 // bit 0, shadows bit in PID1OUTLHbits
17277 #define OUT8 PID1OUTLHbits.OUT8 // bit 0, shadows bit in PID1OUTLHbits
17278 #define PID1OUT9 PID1OUTLHbits.PID1OUT9 // bit 1, shadows bit in PID1OUTLHbits
17279 #define OUT9 PID1OUTLHbits.OUT9 // bit 1, shadows bit in PID1OUTLHbits
17280 #define PID1OUT10 PID1OUTLHbits.PID1OUT10 // bit 2, shadows bit in PID1OUTLHbits
17281 #define OUT10 PID1OUTLHbits.OUT10 // bit 2, shadows bit in PID1OUTLHbits
17282 #define PID1OUT11 PID1OUTLHbits.PID1OUT11 // bit 3, shadows bit in PID1OUTLHbits
17283 #define OUT11 PID1OUTLHbits.OUT11 // bit 3, shadows bit in PID1OUTLHbits
17284 #define PID1OUT12 PID1OUTLHbits.PID1OUT12 // bit 4, shadows bit in PID1OUTLHbits
17285 #define OUT12 PID1OUTLHbits.OUT12 // bit 4, shadows bit in PID1OUTLHbits
17286 #define PID1OUT13 PID1OUTLHbits.PID1OUT13 // bit 5, shadows bit in PID1OUTLHbits
17287 #define OUT13 PID1OUTLHbits.OUT13 // bit 5, shadows bit in PID1OUTLHbits
17288 #define PID1OUT14 PID1OUTLHbits.PID1OUT14 // bit 6, shadows bit in PID1OUTLHbits
17289 #define OUT14 PID1OUTLHbits.OUT14 // bit 6, shadows bit in PID1OUTLHbits
17290 #define PID1OUT15 PID1OUTLHbits.PID1OUT15 // bit 7, shadows bit in PID1OUTLHbits
17291 #define OUT15 PID1OUTLHbits.OUT15 // bit 7, shadows bit in PID1OUTLHbits
17293 #define PID1OUT0 PID1OUTLLbits.PID1OUT0 // bit 0, shadows bit in PID1OUTLLbits
17294 #define OUT0 PID1OUTLLbits.OUT0 // bit 0, shadows bit in PID1OUTLLbits
17295 #define PID1OUT1 PID1OUTLLbits.PID1OUT1 // bit 1, shadows bit in PID1OUTLLbits
17296 #define OUT1 PID1OUTLLbits.OUT1 // bit 1, shadows bit in PID1OUTLLbits
17297 #define PID1OUT2 PID1OUTLLbits.PID1OUT2 // bit 2, shadows bit in PID1OUTLLbits
17298 #define OUT2 PID1OUTLLbits.OUT2 // bit 2, shadows bit in PID1OUTLLbits
17299 #define PID1OUT3 PID1OUTLLbits.PID1OUT3 // bit 3, shadows bit in PID1OUTLLbits
17300 #define OUT3 PID1OUTLLbits.OUT3 // bit 3, shadows bit in PID1OUTLLbits
17301 #define PID1OUT4 PID1OUTLLbits.PID1OUT4 // bit 4, shadows bit in PID1OUTLLbits
17302 #define OUT4 PID1OUTLLbits.OUT4 // bit 4, shadows bit in PID1OUTLLbits
17303 #define PID1OUT5 PID1OUTLLbits.PID1OUT5 // bit 5, shadows bit in PID1OUTLLbits
17304 #define OUT5 PID1OUTLLbits.OUT5 // bit 5, shadows bit in PID1OUTLLbits
17305 #define PID1OUT6 PID1OUTLLbits.PID1OUT6 // bit 6, shadows bit in PID1OUTLLbits
17306 #define OUT6 PID1OUTLLbits.OUT6 // bit 6, shadows bit in PID1OUTLLbits
17307 #define PID1OUT7 PID1OUTLLbits.PID1OUT7 // bit 7, shadows bit in PID1OUTLLbits
17308 #define OUT7 PID1OUTLLbits.OUT7 // bit 7, shadows bit in PID1OUTLLbits
17310 #define PID1OUT32 PID1OUTUbits.PID1OUT32 // bit 0, shadows bit in PID1OUTUbits
17311 #define OUT32 PID1OUTUbits.OUT32 // bit 0, shadows bit in PID1OUTUbits
17312 #define PID1OUT33 PID1OUTUbits.PID1OUT33 // bit 1, shadows bit in PID1OUTUbits
17313 #define OUT33 PID1OUTUbits.OUT33 // bit 1, shadows bit in PID1OUTUbits
17314 #define PID1OUT34 PID1OUTUbits.PID1OUT34 // bit 2, shadows bit in PID1OUTUbits
17315 #define OUT34 PID1OUTUbits.OUT34 // bit 2, shadows bit in PID1OUTUbits
17316 #define PID1OUT35 PID1OUTUbits.PID1OUT35 // bit 3, shadows bit in PID1OUTUbits
17317 #define OUT35 PID1OUTUbits.OUT35 // bit 3, shadows bit in PID1OUTUbits
17319 #define PID1SET8 PID1SETHbits.PID1SET8 // bit 0, shadows bit in PID1SETHbits
17320 #define SET8 PID1SETHbits.SET8 // bit 0, shadows bit in PID1SETHbits
17321 #define PID1SET9 PID1SETHbits.PID1SET9 // bit 1, shadows bit in PID1SETHbits
17322 #define SET9 PID1SETHbits.SET9 // bit 1, shadows bit in PID1SETHbits
17323 #define PID1SET10 PID1SETHbits.PID1SET10 // bit 2, shadows bit in PID1SETHbits
17324 #define SET10 PID1SETHbits.SET10 // bit 2, shadows bit in PID1SETHbits
17325 #define PID1SET11 PID1SETHbits.PID1SET11 // bit 3, shadows bit in PID1SETHbits
17326 #define SET11 PID1SETHbits.SET11 // bit 3, shadows bit in PID1SETHbits
17327 #define PID1SET12 PID1SETHbits.PID1SET12 // bit 4, shadows bit in PID1SETHbits
17328 #define SET12 PID1SETHbits.SET12 // bit 4, shadows bit in PID1SETHbits
17329 #define PID1SET13 PID1SETHbits.PID1SET13 // bit 5, shadows bit in PID1SETHbits
17330 #define SET13 PID1SETHbits.SET13 // bit 5, shadows bit in PID1SETHbits
17331 #define PID1SET14 PID1SETHbits.PID1SET14 // bit 6, shadows bit in PID1SETHbits
17332 #define SET14 PID1SETHbits.SET14 // bit 6, shadows bit in PID1SETHbits
17333 #define PID1SET15 PID1SETHbits.PID1SET15 // bit 7, shadows bit in PID1SETHbits
17334 #define SET15 PID1SETHbits.SET15 // bit 7, shadows bit in PID1SETHbits
17336 #define PID1SET0 PID1SETLbits.PID1SET0 // bit 0, shadows bit in PID1SETLbits
17337 #define SET0 PID1SETLbits.SET0 // bit 0, shadows bit in PID1SETLbits
17338 #define PID1SET1 PID1SETLbits.PID1SET1 // bit 1, shadows bit in PID1SETLbits
17339 #define SET1 PID1SETLbits.SET1 // bit 1, shadows bit in PID1SETLbits
17340 #define PID1SET2 PID1SETLbits.PID1SET2 // bit 2, shadows bit in PID1SETLbits
17341 #define SET2 PID1SETLbits.SET2 // bit 2, shadows bit in PID1SETLbits
17342 #define PID1SET3 PID1SETLbits.PID1SET3 // bit 3, shadows bit in PID1SETLbits
17343 #define SET3 PID1SETLbits.SET3 // bit 3, shadows bit in PID1SETLbits
17344 #define PID1SET4 PID1SETLbits.PID1SET4 // bit 4, shadows bit in PID1SETLbits
17345 #define SET4 PID1SETLbits.SET4 // bit 4, shadows bit in PID1SETLbits
17346 #define PID1SET5 PID1SETLbits.PID1SET5 // bit 5, shadows bit in PID1SETLbits
17347 #define SET5 PID1SETLbits.SET5 // bit 5, shadows bit in PID1SETLbits
17348 #define PID1SET6 PID1SETLbits.PID1SET6 // bit 6, shadows bit in PID1SETLbits
17349 #define SET6 PID1SETLbits.SET6 // bit 6, shadows bit in PID1SETLbits
17350 #define PID1SET7 PID1SETLbits.PID1SET7 // bit 7, shadows bit in PID1SETLbits
17351 #define SET7 PID1SETLbits.SET7 // bit 7, shadows bit in PID1SETLbits
17353 #define PID1Z18 PID1Z1Hbits.PID1Z18 // bit 0, shadows bit in PID1Z1Hbits
17354 #define Z18 PID1Z1Hbits.Z18 // bit 0, shadows bit in PID1Z1Hbits
17355 #define PID1Z19 PID1Z1Hbits.PID1Z19 // bit 1, shadows bit in PID1Z1Hbits
17356 #define Z19 PID1Z1Hbits.Z19 // bit 1, shadows bit in PID1Z1Hbits
17357 #define PID1Z110 PID1Z1Hbits.PID1Z110 // bit 2, shadows bit in PID1Z1Hbits
17358 #define Z110 PID1Z1Hbits.Z110 // bit 2, shadows bit in PID1Z1Hbits
17359 #define PID1Z111 PID1Z1Hbits.PID1Z111 // bit 3, shadows bit in PID1Z1Hbits
17360 #define Z111 PID1Z1Hbits.Z111 // bit 3, shadows bit in PID1Z1Hbits
17361 #define PID1Z112 PID1Z1Hbits.PID1Z112 // bit 4, shadows bit in PID1Z1Hbits
17362 #define Z112 PID1Z1Hbits.Z112 // bit 4, shadows bit in PID1Z1Hbits
17363 #define PID1Z113 PID1Z1Hbits.PID1Z113 // bit 5, shadows bit in PID1Z1Hbits
17364 #define Z113 PID1Z1Hbits.Z113 // bit 5, shadows bit in PID1Z1Hbits
17365 #define PID1Z114 PID1Z1Hbits.PID1Z114 // bit 6, shadows bit in PID1Z1Hbits
17366 #define Z114 PID1Z1Hbits.Z114 // bit 6, shadows bit in PID1Z1Hbits
17367 #define PID1Z115 PID1Z1Hbits.PID1Z115 // bit 7, shadows bit in PID1Z1Hbits
17368 #define Z115 PID1Z1Hbits.Z115 // bit 7, shadows bit in PID1Z1Hbits
17370 #define PID1Z10 PID1Z1Lbits.PID1Z10 // bit 0, shadows bit in PID1Z1Lbits
17371 #define Z10 PID1Z1Lbits.Z10 // bit 0, shadows bit in PID1Z1Lbits
17372 #define PID1Z11 PID1Z1Lbits.PID1Z11 // bit 1, shadows bit in PID1Z1Lbits
17373 #define Z11 PID1Z1Lbits.Z11 // bit 1, shadows bit in PID1Z1Lbits
17374 #define PID1Z12 PID1Z1Lbits.PID1Z12 // bit 2, shadows bit in PID1Z1Lbits
17375 #define Z12 PID1Z1Lbits.Z12 // bit 2, shadows bit in PID1Z1Lbits
17376 #define PID1Z13 PID1Z1Lbits.PID1Z13 // bit 3, shadows bit in PID1Z1Lbits
17377 #define Z13 PID1Z1Lbits.Z13 // bit 3, shadows bit in PID1Z1Lbits
17378 #define PID1Z14 PID1Z1Lbits.PID1Z14 // bit 4, shadows bit in PID1Z1Lbits
17379 #define Z14 PID1Z1Lbits.Z14 // bit 4, shadows bit in PID1Z1Lbits
17380 #define PID1Z15 PID1Z1Lbits.PID1Z15 // bit 5, shadows bit in PID1Z1Lbits
17381 #define Z15 PID1Z1Lbits.Z15 // bit 5, shadows bit in PID1Z1Lbits
17382 #define PID1Z16 PID1Z1Lbits.PID1Z16 // bit 6, shadows bit in PID1Z1Lbits
17383 #define Z16 PID1Z1Lbits.Z16 // bit 6, shadows bit in PID1Z1Lbits
17384 #define PID1Z17 PID1Z1Lbits.PID1Z17 // bit 7, shadows bit in PID1Z1Lbits
17385 #define Z17 PID1Z1Lbits.Z17 // bit 7, shadows bit in PID1Z1Lbits
17387 #define PID1Z116 PID1Z1Ubits.PID1Z116 // bit 0, shadows bit in PID1Z1Ubits
17388 #define Z116 PID1Z1Ubits.Z116 // bit 0, shadows bit in PID1Z1Ubits
17390 #define PID1Z28 PID1Z2Hbits.PID1Z28 // bit 0, shadows bit in PID1Z2Hbits
17391 #define Z28 PID1Z2Hbits.Z28 // bit 0, shadows bit in PID1Z2Hbits
17392 #define PID1Z29 PID1Z2Hbits.PID1Z29 // bit 1, shadows bit in PID1Z2Hbits
17393 #define Z29 PID1Z2Hbits.Z29 // bit 1, shadows bit in PID1Z2Hbits
17394 #define PID1Z210 PID1Z2Hbits.PID1Z210 // bit 2, shadows bit in PID1Z2Hbits
17395 #define Z210 PID1Z2Hbits.Z210 // bit 2, shadows bit in PID1Z2Hbits
17396 #define PID1Z211 PID1Z2Hbits.PID1Z211 // bit 3, shadows bit in PID1Z2Hbits
17397 #define Z211 PID1Z2Hbits.Z211 // bit 3, shadows bit in PID1Z2Hbits
17398 #define PID1Z212 PID1Z2Hbits.PID1Z212 // bit 4, shadows bit in PID1Z2Hbits
17399 #define Z212 PID1Z2Hbits.Z212 // bit 4, shadows bit in PID1Z2Hbits
17400 #define PID1Z213 PID1Z2Hbits.PID1Z213 // bit 5, shadows bit in PID1Z2Hbits
17401 #define Z213 PID1Z2Hbits.Z213 // bit 5, shadows bit in PID1Z2Hbits
17402 #define PID1Z214 PID1Z2Hbits.PID1Z214 // bit 6, shadows bit in PID1Z2Hbits
17403 #define Z214 PID1Z2Hbits.Z214 // bit 6, shadows bit in PID1Z2Hbits
17404 #define PID1Z215 PID1Z2Hbits.PID1Z215 // bit 7, shadows bit in PID1Z2Hbits
17405 #define Z215 PID1Z2Hbits.Z215 // bit 7, shadows bit in PID1Z2Hbits
17407 #define PID1Z20 PID1Z2Lbits.PID1Z20 // bit 0, shadows bit in PID1Z2Lbits
17408 #define Z20 PID1Z2Lbits.Z20 // bit 0, shadows bit in PID1Z2Lbits
17409 #define PID1Z21 PID1Z2Lbits.PID1Z21 // bit 1, shadows bit in PID1Z2Lbits
17410 #define Z21 PID1Z2Lbits.Z21 // bit 1, shadows bit in PID1Z2Lbits
17411 #define PID1Z22 PID1Z2Lbits.PID1Z22 // bit 2, shadows bit in PID1Z2Lbits
17412 #define Z22 PID1Z2Lbits.Z22 // bit 2, shadows bit in PID1Z2Lbits
17413 #define PID1Z23 PID1Z2Lbits.PID1Z23 // bit 3, shadows bit in PID1Z2Lbits
17414 #define Z23 PID1Z2Lbits.Z23 // bit 3, shadows bit in PID1Z2Lbits
17415 #define PID1Z24 PID1Z2Lbits.PID1Z24 // bit 4, shadows bit in PID1Z2Lbits
17416 #define Z24 PID1Z2Lbits.Z24 // bit 4, shadows bit in PID1Z2Lbits
17417 #define PID1Z25 PID1Z2Lbits.PID1Z25 // bit 5, shadows bit in PID1Z2Lbits
17418 #define Z25 PID1Z2Lbits.Z25 // bit 5, shadows bit in PID1Z2Lbits
17419 #define PID1Z26 PID1Z2Lbits.PID1Z26 // bit 6, shadows bit in PID1Z2Lbits
17420 #define Z26 PID1Z2Lbits.Z26 // bit 6, shadows bit in PID1Z2Lbits
17421 #define PID1Z27 PID1Z2Lbits.PID1Z27 // bit 7, shadows bit in PID1Z2Lbits
17422 #define Z27 PID1Z2Lbits.Z27 // bit 7, shadows bit in PID1Z2Lbits
17424 #define PID1Z216 PID1Z2Ubits.PID1Z216 // bit 0, shadows bit in PID1Z2Ubits
17425 #define Z216 PID1Z2Ubits.Z216 // bit 0, shadows bit in PID1Z2Ubits
17427 #define TMR1IE PIE1bits.TMR1IE // bit 0
17428 #define TMR2IE PIE1bits.TMR2IE // bit 1
17429 #define CCP1IE PIE1bits.CCP1IE // bit 2
17430 #define SSP1IE PIE1bits.SSP1IE // bit 3
17431 #define TXIE PIE1bits.TXIE // bit 4
17432 #define RCIE PIE1bits.RCIE // bit 5
17433 #define ADIE PIE1bits.ADIE // bit 6
17434 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
17436 #define CCP2IE PIE2bits.CCP2IE // bit 0
17437 #define TMR4IE PIE2bits.TMR4IE // bit 1
17438 #define TMR6IE PIE2bits.TMR6IE // bit 2
17439 #define BCL1IE PIE2bits.BCL1IE // bit 3
17440 #define C1IE PIE2bits.C1IE // bit 5
17441 #define C2IE PIE2bits.C2IE // bit 6
17442 #define OSCFIE PIE2bits.OSCFIE // bit 7
17444 #define CLC1IE PIE3bits.CLC1IE // bit 0
17445 #define CLC2IE PIE3bits.CLC2IE // bit 1
17446 #define CLC3IE PIE3bits.CLC3IE // bit 2
17447 #define CLC4IE PIE3bits.CLC4IE // bit 3
17448 #define ZCDIE PIE3bits.ZCDIE // bit 4
17449 #define CWGIE PIE3bits.CWGIE // bit 5
17451 #define SMT1IE PIE4bits.SMT1IE // bit 0
17452 #define SMT1PRAIE PIE4bits.SMT1PRAIE // bit 1
17453 #define SMT1PWAIE PIE4bits.SMT1PWAIE // bit 2
17454 #define SMT2IE PIE4bits.SMT2IE // bit 3
17455 #define SMT2PRAIE PIE4bits.SMT2PRAIE // bit 4
17456 #define SMT2PWAIE PIE4bits.SMT2PWAIE // bit 5
17457 #define CRCIE PIE4bits.CRCIE // bit 6
17458 #define SCANIE PIE4bits.SCANIE // bit 7
17460 #define PID1DIE PIE5bits.PID1DIE // bit 0
17461 #define PID1EIE PIE5bits.PID1EIE // bit 1
17462 #define AT1IE PIE5bits.AT1IE // bit 2
17463 #define TMR5IE PIE5bits.TMR5IE // bit 4
17464 #define TMR5GIE PIE5bits.TMR5GIE // bit 5
17465 #define TMR3IE PIE5bits.TMR3IE // bit 6
17466 #define TMR3GIE PIE5bits.TMR3GIE // bit 7
17468 #define TMR1IF PIR1bits.TMR1IF // bit 0
17469 #define TMR2IF PIR1bits.TMR2IF // bit 1
17470 #define CCP1IF PIR1bits.CCP1IF // bit 2
17471 #define SSP1IF PIR1bits.SSP1IF // bit 3
17472 #define TXIF PIR1bits.TXIF // bit 4
17473 #define RCIF PIR1bits.RCIF // bit 5
17474 #define ADIF PIR1bits.ADIF // bit 6
17475 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
17477 #define CCP2IF PIR2bits.CCP2IF // bit 0
17478 #define TMR4IF PIR2bits.TMR4IF // bit 1
17479 #define TMR6IF PIR2bits.TMR6IF // bit 2
17480 #define BCL1IF PIR2bits.BCL1IF // bit 3
17481 #define C1IF PIR2bits.C1IF // bit 5
17482 #define C2IF PIR2bits.C2IF // bit 6
17483 #define OSFIF PIR2bits.OSFIF // bit 7
17485 #define CLC1IF PIR3bits.CLC1IF // bit 0
17486 #define CLC2IF PIR3bits.CLC2IF // bit 1
17487 #define CLC3IF PIR3bits.CLC3IF // bit 2
17488 #define CLC4IF PIR3bits.CLC4IF // bit 3
17489 #define ZCDIF PIR3bits.ZCDIF // bit 4
17490 #define CWGIF PIR3bits.CWGIF // bit 5
17492 #define SMT1IF PIR4bits.SMT1IF // bit 0
17493 #define SMT1PRAIF PIR4bits.SMT1PRAIF // bit 1
17494 #define SMT1PWAIF PIR4bits.SMT1PWAIF // bit 2
17495 #define SMT2IF PIR4bits.SMT2IF // bit 3
17496 #define SMT2PRAIF PIR4bits.SMT2PRAIF // bit 4
17497 #define SMT2PWAIF PIR4bits.SMT2PWAIF // bit 5
17498 #define CRCIF PIR4bits.CRCIF // bit 6
17499 #define SCANIF PIR4bits.SCANIF // bit 7
17501 #define PID1DIF PIR5bits.PID1DIF // bit 0
17502 #define PID1EIF PIR5bits.PID1EIF // bit 1
17503 #define AT1IF PIR5bits.AT1IF // bit 2
17504 #define TMR5IF PIR5bits.TMR5IF // bit 4
17505 #define TMR5GIF PIR5bits.TMR5GIF // bit 5
17506 #define TMR3IF PIR5bits.TMR3IF // bit 6
17507 #define TMR3GIF PIR5bits.TMR3GIF // bit 7
17509 #define RD PMCON1bits.RD // bit 0
17510 #define WR PMCON1bits.WR // bit 1
17511 #define WREN PMCON1bits.WREN // bit 2
17512 #define WRERR PMCON1bits.WRERR // bit 3
17513 #define FREE PMCON1bits.FREE // bit 4
17514 #define LWLO PMCON1bits.LWLO // bit 5
17515 #define CFGS PMCON1bits.CFGS // bit 6
17517 #define RA0 PORTAbits.RA0 // bit 0
17518 #define RA1 PORTAbits.RA1 // bit 1
17519 #define RA2 PORTAbits.RA2 // bit 2
17520 #define RA3 PORTAbits.RA3 // bit 3
17521 #define RA4 PORTAbits.RA4 // bit 4
17522 #define RA5 PORTAbits.RA5 // bit 5
17524 #define RB4 PORTBbits.RB4 // bit 4
17525 #define RB5 PORTBbits.RB5 // bit 5
17526 #define RB6 PORTBbits.RB6 // bit 6
17527 #define RB7 PORTBbits.RB7 // bit 7
17529 #define RC0 PORTCbits.RC0 // bit 0
17530 #define RC1 PORTCbits.RC1 // bit 1
17531 #define RC2 PORTCbits.RC2 // bit 2
17532 #define RC3 PORTCbits.RC3 // bit 3
17533 #define RC4 PORTCbits.RC4 // bit 4
17534 #define RC5 PORTCbits.RC5 // bit 5
17535 #define RC6 PORTCbits.RC6 // bit 6
17536 #define RC7 PORTCbits.RC7 // bit 7
17538 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
17540 #define DC2 PWM3DCHbits.DC2 // bit 0, shadows bit in PWM3DCHbits
17541 #define PWM3DC2 PWM3DCHbits.PWM3DC2 // bit 0, shadows bit in PWM3DCHbits
17542 #define PWMPW2 PWM3DCHbits.PWMPW2 // bit 0, shadows bit in PWM3DCHbits
17543 #define DC3 PWM3DCHbits.DC3 // bit 1, shadows bit in PWM3DCHbits
17544 #define PWM3DC3 PWM3DCHbits.PWM3DC3 // bit 1, shadows bit in PWM3DCHbits
17545 #define PWMPW3 PWM3DCHbits.PWMPW3 // bit 1, shadows bit in PWM3DCHbits
17546 #define DC4 PWM3DCHbits.DC4 // bit 2, shadows bit in PWM3DCHbits
17547 #define PWM3DC4 PWM3DCHbits.PWM3DC4 // bit 2, shadows bit in PWM3DCHbits
17548 #define PWMPW4 PWM3DCHbits.PWMPW4 // bit 2, shadows bit in PWM3DCHbits
17549 #define DC5 PWM3DCHbits.DC5 // bit 3, shadows bit in PWM3DCHbits
17550 #define PWM3DC5 PWM3DCHbits.PWM3DC5 // bit 3, shadows bit in PWM3DCHbits
17551 #define PWMPW5 PWM3DCHbits.PWMPW5 // bit 3, shadows bit in PWM3DCHbits
17552 #define DC6 PWM3DCHbits.DC6 // bit 4, shadows bit in PWM3DCHbits
17553 #define PWM3DC6 PWM3DCHbits.PWM3DC6 // bit 4, shadows bit in PWM3DCHbits
17554 #define PWMPW6 PWM3DCHbits.PWMPW6 // bit 4, shadows bit in PWM3DCHbits
17555 #define DC7 PWM3DCHbits.DC7 // bit 5, shadows bit in PWM3DCHbits
17556 #define PWM3DC7 PWM3DCHbits.PWM3DC7 // bit 5, shadows bit in PWM3DCHbits
17557 #define PWMPW7 PWM3DCHbits.PWMPW7 // bit 5, shadows bit in PWM3DCHbits
17558 #define DC8 PWM3DCHbits.DC8 // bit 6, shadows bit in PWM3DCHbits
17559 #define PWM3DC8 PWM3DCHbits.PWM3DC8 // bit 6, shadows bit in PWM3DCHbits
17560 #define PWMPW8 PWM3DCHbits.PWMPW8 // bit 6, shadows bit in PWM3DCHbits
17561 #define DC9 PWM3DCHbits.DC9 // bit 7, shadows bit in PWM3DCHbits
17562 #define PWM3DC9 PWM3DCHbits.PWM3DC9 // bit 7, shadows bit in PWM3DCHbits
17563 #define PWMPW9 PWM3DCHbits.PWMPW9 // bit 7, shadows bit in PWM3DCHbits
17565 #define DC0 PWM3DCLbits.DC0 // bit 6, shadows bit in PWM3DCLbits
17566 #define PWM3DC0 PWM3DCLbits.PWM3DC0 // bit 6, shadows bit in PWM3DCLbits
17567 #define PWMPW0 PWM3DCLbits.PWMPW0 // bit 6, shadows bit in PWM3DCLbits
17568 #define DC1 PWM3DCLbits.DC1 // bit 7, shadows bit in PWM3DCLbits
17569 #define PWM3DC1 PWM3DCLbits.PWM3DC1 // bit 7, shadows bit in PWM3DCLbits
17570 #define PWMPW1 PWM3DCLbits.PWMPW1 // bit 7, shadows bit in PWM3DCLbits
17572 #define RA0PPS0 RA0PPSbits.RA0PPS0 // bit 0
17573 #define RA0PPS1 RA0PPSbits.RA0PPS1 // bit 1
17574 #define RA0PPS2 RA0PPSbits.RA0PPS2 // bit 2
17575 #define RA0PPS3 RA0PPSbits.RA0PPS3 // bit 3
17576 #define RA0PPS4 RA0PPSbits.RA0PPS4 // bit 4
17578 #define RA1PPS0 RA1PPSbits.RA1PPS0 // bit 0
17579 #define RA1PPS1 RA1PPSbits.RA1PPS1 // bit 1
17580 #define RA1PPS2 RA1PPSbits.RA1PPS2 // bit 2
17581 #define RA1PPS3 RA1PPSbits.RA1PPS3 // bit 3
17582 #define RA1PPS4 RA1PPSbits.RA1PPS4 // bit 4
17584 #define RA2PPS0 RA2PPSbits.RA2PPS0 // bit 0
17585 #define RA2PPS1 RA2PPSbits.RA2PPS1 // bit 1
17586 #define RA2PPS2 RA2PPSbits.RA2PPS2 // bit 2
17587 #define RA2PPS3 RA2PPSbits.RA2PPS3 // bit 3
17588 #define RA2PPS4 RA2PPSbits.RA2PPS4 // bit 4
17590 #define RA4PPS0 RA4PPSbits.RA4PPS0 // bit 0
17591 #define RA4PPS1 RA4PPSbits.RA4PPS1 // bit 1
17592 #define RA4PPS2 RA4PPSbits.RA4PPS2 // bit 2
17593 #define RA4PPS3 RA4PPSbits.RA4PPS3 // bit 3
17594 #define RA4PPS4 RA4PPSbits.RA4PPS4 // bit 4
17596 #define RA5PPS0 RA5PPSbits.RA5PPS0 // bit 0
17597 #define RA5PPS1 RA5PPSbits.RA5PPS1 // bit 1
17598 #define RA5PPS2 RA5PPSbits.RA5PPS2 // bit 2
17599 #define RA5PPS3 RA5PPSbits.RA5PPS3 // bit 3
17600 #define RA5PPS4 RA5PPSbits.RA5PPS4 // bit 4
17602 #define RB4PPS0 RB4PPSbits.RB4PPS0 // bit 0
17603 #define RB4PPS1 RB4PPSbits.RB4PPS1 // bit 1
17604 #define RB4PPS2 RB4PPSbits.RB4PPS2 // bit 2
17605 #define RB4PPS3 RB4PPSbits.RB4PPS3 // bit 3
17606 #define RB4PPS4 RB4PPSbits.RB4PPS4 // bit 4
17608 #define RB5PPS0 RB5PPSbits.RB5PPS0 // bit 0
17609 #define RB5PPS1 RB5PPSbits.RB5PPS1 // bit 1
17610 #define RB5PPS2 RB5PPSbits.RB5PPS2 // bit 2
17611 #define RB5PPS3 RB5PPSbits.RB5PPS3 // bit 3
17612 #define RB5PPS4 RB5PPSbits.RB5PPS4 // bit 4
17614 #define RB6PPS0 RB6PPSbits.RB6PPS0 // bit 0
17615 #define RB6PPS1 RB6PPSbits.RB6PPS1 // bit 1
17616 #define RB6PPS2 RB6PPSbits.RB6PPS2 // bit 2
17617 #define RB6PPS3 RB6PPSbits.RB6PPS3 // bit 3
17618 #define RB6PPS4 RB6PPSbits.RB6PPS4 // bit 4
17620 #define RB7PPS0 RB7PPSbits.RB7PPS0 // bit 0
17621 #define RB7PPS1 RB7PPSbits.RB7PPS1 // bit 1
17622 #define RB7PPS2 RB7PPSbits.RB7PPS2 // bit 2
17623 #define RB7PPS3 RB7PPSbits.RB7PPS3 // bit 3
17624 #define RB7PPS4 RB7PPSbits.RB7PPS4 // bit 4
17626 #define RC0PPS0 RC0PPSbits.RC0PPS0 // bit 0
17627 #define RC0PPS1 RC0PPSbits.RC0PPS1 // bit 1
17628 #define RC0PPS2 RC0PPSbits.RC0PPS2 // bit 2
17629 #define RC0PPS3 RC0PPSbits.RC0PPS3 // bit 3
17630 #define RC0PPS4 RC0PPSbits.RC0PPS4 // bit 4
17632 #define RC1PPS0 RC1PPSbits.RC1PPS0 // bit 0
17633 #define RC1PPS1 RC1PPSbits.RC1PPS1 // bit 1
17634 #define RC1PPS2 RC1PPSbits.RC1PPS2 // bit 2
17635 #define RC1PPS3 RC1PPSbits.RC1PPS3 // bit 3
17636 #define RC1PPS4 RC1PPSbits.RC1PPS4 // bit 4
17638 #define RX9D RC1STAbits.RX9D // bit 0
17639 #define OERR RC1STAbits.OERR // bit 1
17640 #define FERR RC1STAbits.FERR // bit 2
17641 #define ADDEN RC1STAbits.ADDEN // bit 3
17642 #define CREN RC1STAbits.CREN // bit 4
17643 #define SREN RC1STAbits.SREN // bit 5
17644 #define RX9 RC1STAbits.RX9 // bit 6
17645 #define SPEN RC1STAbits.SPEN // bit 7
17647 #define RC2PPS0 RC2PPSbits.RC2PPS0 // bit 0
17648 #define RC2PPS1 RC2PPSbits.RC2PPS1 // bit 1
17649 #define RC2PPS2 RC2PPSbits.RC2PPS2 // bit 2
17650 #define RC2PPS3 RC2PPSbits.RC2PPS3 // bit 3
17651 #define RC2PPS4 RC2PPSbits.RC2PPS4 // bit 4
17653 #define RC3PPS0 RC3PPSbits.RC3PPS0 // bit 0
17654 #define RC3PPS1 RC3PPSbits.RC3PPS1 // bit 1
17655 #define RC3PPS2 RC3PPSbits.RC3PPS2 // bit 2
17656 #define RC3PPS3 RC3PPSbits.RC3PPS3 // bit 3
17657 #define RC3PPS4 RC3PPSbits.RC3PPS4 // bit 4
17659 #define RC4PPS0 RC4PPSbits.RC4PPS0 // bit 0
17660 #define RC4PPS1 RC4PPSbits.RC4PPS1 // bit 1
17661 #define RC4PPS2 RC4PPSbits.RC4PPS2 // bit 2
17662 #define RC4PPS3 RC4PPSbits.RC4PPS3 // bit 3
17663 #define RC4PPS4 RC4PPSbits.RC4PPS4 // bit 4
17665 #define RC5PPS0 RC5PPSbits.RC5PPS0 // bit 0
17666 #define RC5PPS1 RC5PPSbits.RC5PPS1 // bit 1
17667 #define RC5PPS2 RC5PPSbits.RC5PPS2 // bit 2
17668 #define RC5PPS3 RC5PPSbits.RC5PPS3 // bit 3
17669 #define RC5PPS4 RC5PPSbits.RC5PPS4 // bit 4
17671 #define RC6PPS0 RC6PPSbits.RC6PPS0 // bit 0
17672 #define RC6PPS1 RC6PPSbits.RC6PPS1 // bit 1
17673 #define RC6PPS2 RC6PPSbits.RC6PPS2 // bit 2
17674 #define RC6PPS3 RC6PPSbits.RC6PPS3 // bit 3
17675 #define RC6PPS4 RC6PPSbits.RC6PPS4 // bit 4
17677 #define RC7PPS0 RC7PPSbits.RC7PPS0 // bit 0
17678 #define RC7PPS1 RC7PPSbits.RC7PPS1 // bit 1
17679 #define RC7PPS2 RC7PPSbits.RC7PPS2 // bit 2
17680 #define RC7PPS3 RC7PPSbits.RC7PPS3 // bit 3
17681 #define RC7PPS4 RC7PPSbits.RC7PPS4 // bit 4
17683 #define RXPPS0 RXPPSbits.RXPPS0 // bit 0
17684 #define RXPPS1 RXPPSbits.RXPPS1 // bit 1
17685 #define RXPPS2 RXPPSbits.RXPPS2 // bit 2
17686 #define RXPPS3 RXPPSbits.RXPPS3 // bit 3
17687 #define RXPPS4 RXPPSbits.RXPPS4 // bit 4
17689 #define HADR8 SCANHADRHbits.HADR8 // bit 0, shadows bit in SCANHADRHbits
17690 #define SCANHADR8 SCANHADRHbits.SCANHADR8 // bit 0, shadows bit in SCANHADRHbits
17691 #define HADR9 SCANHADRHbits.HADR9 // bit 1, shadows bit in SCANHADRHbits
17692 #define SCANHADR9 SCANHADRHbits.SCANHADR9 // bit 1, shadows bit in SCANHADRHbits
17693 #define HADR10 SCANHADRHbits.HADR10 // bit 2, shadows bit in SCANHADRHbits
17694 #define SCANHADR10 SCANHADRHbits.SCANHADR10 // bit 2, shadows bit in SCANHADRHbits
17695 #define HADR11 SCANHADRHbits.HADR11 // bit 3, shadows bit in SCANHADRHbits
17696 #define SCANHADR11 SCANHADRHbits.SCANHADR11 // bit 3, shadows bit in SCANHADRHbits
17697 #define HADR12 SCANHADRHbits.HADR12 // bit 4, shadows bit in SCANHADRHbits
17698 #define SCANHADR12 SCANHADRHbits.SCANHADR12 // bit 4, shadows bit in SCANHADRHbits
17699 #define HADR13 SCANHADRHbits.HADR13 // bit 5, shadows bit in SCANHADRHbits
17700 #define SCANHADR13 SCANHADRHbits.SCANHADR13 // bit 5, shadows bit in SCANHADRHbits
17701 #define HADR14 SCANHADRHbits.HADR14 // bit 6, shadows bit in SCANHADRHbits
17702 #define SCANHADR14 SCANHADRHbits.SCANHADR14 // bit 6, shadows bit in SCANHADRHbits
17703 #define HADR15 SCANHADRHbits.HADR15 // bit 7, shadows bit in SCANHADRHbits
17704 #define SCANHADR15 SCANHADRHbits.SCANHADR15 // bit 7, shadows bit in SCANHADRHbits
17706 #define HADR0 SCANHADRLbits.HADR0 // bit 0, shadows bit in SCANHADRLbits
17707 #define SCANHADR0 SCANHADRLbits.SCANHADR0 // bit 0, shadows bit in SCANHADRLbits
17708 #define HADR1 SCANHADRLbits.HADR1 // bit 1, shadows bit in SCANHADRLbits
17709 #define SCANHADR1 SCANHADRLbits.SCANHADR1 // bit 1, shadows bit in SCANHADRLbits
17710 #define HARD2 SCANHADRLbits.HARD2 // bit 2, shadows bit in SCANHADRLbits
17711 #define SCANHADR2 SCANHADRLbits.SCANHADR2 // bit 2, shadows bit in SCANHADRLbits
17712 #define HADR3 SCANHADRLbits.HADR3 // bit 3, shadows bit in SCANHADRLbits
17713 #define SCANHADR3 SCANHADRLbits.SCANHADR3 // bit 3, shadows bit in SCANHADRLbits
17714 #define HADR4 SCANHADRLbits.HADR4 // bit 4, shadows bit in SCANHADRLbits
17715 #define SCANHADR4 SCANHADRLbits.SCANHADR4 // bit 4, shadows bit in SCANHADRLbits
17716 #define HADR5 SCANHADRLbits.HADR5 // bit 5, shadows bit in SCANHADRLbits
17717 #define SCANHADR5 SCANHADRLbits.SCANHADR5 // bit 5, shadows bit in SCANHADRLbits
17718 #define HADR6 SCANHADRLbits.HADR6 // bit 6, shadows bit in SCANHADRLbits
17719 #define SCANHADR6 SCANHADRLbits.SCANHADR6 // bit 6, shadows bit in SCANHADRLbits
17720 #define HADR7 SCANHADRLbits.HADR7 // bit 7, shadows bit in SCANHADRLbits
17721 #define SCANHADR7 SCANHADRLbits.SCANHADR7 // bit 7, shadows bit in SCANHADRLbits
17723 #define LADR8 SCANLADRHbits.LADR8 // bit 0, shadows bit in SCANLADRHbits
17724 #define SCANLADR8 SCANLADRHbits.SCANLADR8 // bit 0, shadows bit in SCANLADRHbits
17725 #define LADR9 SCANLADRHbits.LADR9 // bit 1, shadows bit in SCANLADRHbits
17726 #define SCANLADR9 SCANLADRHbits.SCANLADR9 // bit 1, shadows bit in SCANLADRHbits
17727 #define LADR10 SCANLADRHbits.LADR10 // bit 2, shadows bit in SCANLADRHbits
17728 #define SCANLADR10 SCANLADRHbits.SCANLADR10 // bit 2, shadows bit in SCANLADRHbits
17729 #define LADR11 SCANLADRHbits.LADR11 // bit 3, shadows bit in SCANLADRHbits
17730 #define SCANLADR11 SCANLADRHbits.SCANLADR11 // bit 3, shadows bit in SCANLADRHbits
17731 #define LADR12 SCANLADRHbits.LADR12 // bit 4, shadows bit in SCANLADRHbits
17732 #define SCANLADR12 SCANLADRHbits.SCANLADR12 // bit 4, shadows bit in SCANLADRHbits
17733 #define LADR13 SCANLADRHbits.LADR13 // bit 5, shadows bit in SCANLADRHbits
17734 #define SCANLADR13 SCANLADRHbits.SCANLADR13 // bit 5, shadows bit in SCANLADRHbits
17735 #define LADR14 SCANLADRHbits.LADR14 // bit 6, shadows bit in SCANLADRHbits
17736 #define SCANLADR14 SCANLADRHbits.SCANLADR14 // bit 6, shadows bit in SCANLADRHbits
17737 #define LADR15 SCANLADRHbits.LADR15 // bit 7, shadows bit in SCANLADRHbits
17738 #define SCANLADR15 SCANLADRHbits.SCANLADR15 // bit 7, shadows bit in SCANLADRHbits
17740 #define LDAR0 SCANLADRLbits.LDAR0 // bit 0, shadows bit in SCANLADRLbits
17741 #define SCANLADR0 SCANLADRLbits.SCANLADR0 // bit 0, shadows bit in SCANLADRLbits
17742 #define LDAR1 SCANLADRLbits.LDAR1 // bit 1, shadows bit in SCANLADRLbits
17743 #define SCANLADR1 SCANLADRLbits.SCANLADR1 // bit 1, shadows bit in SCANLADRLbits
17744 #define LADR2 SCANLADRLbits.LADR2 // bit 2, shadows bit in SCANLADRLbits
17745 #define SCANLADR2 SCANLADRLbits.SCANLADR2 // bit 2, shadows bit in SCANLADRLbits
17746 #define LADR3 SCANLADRLbits.LADR3 // bit 3, shadows bit in SCANLADRLbits
17747 #define SCANLADR3 SCANLADRLbits.SCANLADR3 // bit 3, shadows bit in SCANLADRLbits
17748 #define LADR4 SCANLADRLbits.LADR4 // bit 4, shadows bit in SCANLADRLbits
17749 #define SCANLADR4 SCANLADRLbits.SCANLADR4 // bit 4, shadows bit in SCANLADRLbits
17750 #define LADR5 SCANLADRLbits.LADR5 // bit 5, shadows bit in SCANLADRLbits
17751 #define SCANLADR5 SCANLADRLbits.SCANLADR5 // bit 5, shadows bit in SCANLADRLbits
17752 #define LADR6 SCANLADRLbits.LADR6 // bit 6, shadows bit in SCANLADRLbits
17753 #define SCANLADR6 SCANLADRLbits.SCANLADR6 // bit 6, shadows bit in SCANLADRLbits
17754 #define LADR7 SCANLADRLbits.LADR7 // bit 7, shadows bit in SCANLADRLbits
17755 #define SCANLADR7 SCANLADRLbits.SCANLADR7 // bit 7, shadows bit in SCANLADRLbits
17757 #define TSEL0 SCANTRIGbits.TSEL0 // bit 0, shadows bit in SCANTRIGbits
17758 #define SCANTSEL0 SCANTRIGbits.SCANTSEL0 // bit 0, shadows bit in SCANTRIGbits
17759 #define TSEL1 SCANTRIGbits.TSEL1 // bit 1, shadows bit in SCANTRIGbits
17760 #define SCANTSEL1 SCANTRIGbits.SCANTSEL1 // bit 1, shadows bit in SCANTRIGbits
17761 #define TSEL2 SCANTRIGbits.TSEL2 // bit 2, shadows bit in SCANTRIGbits
17762 #define SCANTSEL2 SCANTRIGbits.SCANTSEL2 // bit 2, shadows bit in SCANTRIGbits
17763 #define TSEL3 SCANTRIGbits.TSEL3 // bit 3, shadows bit in SCANTRIGbits
17764 #define SCANTSEL3 SCANTRIGbits.SCANTSEL3 // bit 3, shadows bit in SCANTRIGbits
17766 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
17767 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
17768 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
17769 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
17770 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
17772 #define SLRB4 SLRCONBbits.SLRB4 // bit 4
17773 #define SLRB5 SLRCONBbits.SLRB5 // bit 5
17774 #define SLRB6 SLRCONBbits.SLRB6 // bit 6
17775 #define SLRB7 SLRCONBbits.SLRB7 // bit 7
17777 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
17778 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
17779 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
17780 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
17781 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
17782 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
17783 #define SLRC6 SLRCONCbits.SLRC6 // bit 6
17784 #define SLRC7 SLRCONCbits.SLRC7 // bit 7
17786 #define CSEL0 SMT1CLKbits.CSEL0 // bit 0, shadows bit in SMT1CLKbits
17787 #define SMT1CSEL0 SMT1CLKbits.SMT1CSEL0 // bit 0, shadows bit in SMT1CLKbits
17788 #define CSEL1 SMT1CLKbits.CSEL1 // bit 1, shadows bit in SMT1CLKbits
17789 #define SMT1CSEL1 SMT1CLKbits.SMT1CSEL1 // bit 1, shadows bit in SMT1CLKbits
17790 #define CSEL2 SMT1CLKbits.CSEL2 // bit 2, shadows bit in SMT1CLKbits
17791 #define SMT1CSEL2 SMT1CLKbits.SMT1CSEL2 // bit 2, shadows bit in SMT1CLKbits
17793 #define SMT1CPR8 SMT1CPRHbits.SMT1CPR8 // bit 0
17794 #define SMT1CPR9 SMT1CPRHbits.SMT1CPR9 // bit 1
17795 #define SMT1CPR10 SMT1CPRHbits.SMT1CPR10 // bit 2
17796 #define SMT1CPR11 SMT1CPRHbits.SMT1CPR11 // bit 3
17797 #define SMT1CPR12 SMT1CPRHbits.SMT1CPR12 // bit 4
17798 #define SMT1CPR13 SMT1CPRHbits.SMT1CPR13 // bit 5
17799 #define SMT1CPR14 SMT1CPRHbits.SMT1CPR14 // bit 6
17800 #define SMT1CPR15 SMT1CPRHbits.SMT1CPR15 // bit 7
17802 #define SMT1CPR0 SMT1CPRLbits.SMT1CPR0 // bit 0
17803 #define SMT1CPR1 SMT1CPRLbits.SMT1CPR1 // bit 1
17804 #define SMT1CPR2 SMT1CPRLbits.SMT1CPR2 // bit 2
17805 #define SMT1CPR3 SMT1CPRLbits.SMT1CPR3 // bit 3
17806 #define SMT1CPR4 SMT1CPRLbits.SMT1CPR4 // bit 4
17807 #define SMT1CPR5 SMT1CPRLbits.SMT1CPR5 // bit 5
17808 #define SMT1CPR6 SMT1CPRLbits.SMT1CPR6 // bit 6
17809 #define SMT1CPR7 SMT1CPRLbits.SMT1CPR7 // bit 7
17811 #define SMT1CPR16 SMT1CPRUbits.SMT1CPR16 // bit 0
17812 #define SMT1CPR17 SMT1CPRUbits.SMT1CPR17 // bit 1
17813 #define SMT1CPR18 SMT1CPRUbits.SMT1CPR18 // bit 2
17814 #define SMT1CPR19 SMT1CPRUbits.SMT1CPR19 // bit 3
17815 #define SMT1CPR20 SMT1CPRUbits.SMT1CPR20 // bit 4
17816 #define SMT1CPR21 SMT1CPRUbits.SMT1CPR21 // bit 5
17817 #define SMT1CPR22 SMT1CPRUbits.SMT1CPR22 // bit 6
17818 #define SMT1CPR23 SMT1CPRUbits.SMT1CPR23 // bit 7
17820 #define SMT1CPW8 SMT1CPWHbits.SMT1CPW8 // bit 0
17821 #define SMT1CPW9 SMT1CPWHbits.SMT1CPW9 // bit 1
17822 #define SMT1CPW10 SMT1CPWHbits.SMT1CPW10 // bit 2
17823 #define SMT1CPW11 SMT1CPWHbits.SMT1CPW11 // bit 3
17824 #define SMT1CPW12 SMT1CPWHbits.SMT1CPW12 // bit 4
17825 #define SMT1CPW13 SMT1CPWHbits.SMT1CPW13 // bit 5
17826 #define SMT1CPW14 SMT1CPWHbits.SMT1CPW14 // bit 6
17827 #define SMT1CPW15 SMT1CPWHbits.SMT1CPW15 // bit 7
17829 #define SMT1CPW0 SMT1CPWLbits.SMT1CPW0 // bit 0
17830 #define SMT1CPW1 SMT1CPWLbits.SMT1CPW1 // bit 1
17831 #define SMT1CPW2 SMT1CPWLbits.SMT1CPW2 // bit 2
17832 #define SMT1CPW3 SMT1CPWLbits.SMT1CPW3 // bit 3
17833 #define SMT1CPW4 SMT1CPWLbits.SMT1CPW4 // bit 4
17834 #define SMT1CPW5 SMT1CPWLbits.SMT1CPW5 // bit 5
17835 #define SMT1CPW6 SMT1CPWLbits.SMT1CPW6 // bit 6
17836 #define SMT1CPW7 SMT1CPWLbits.SMT1CPW7 // bit 7
17838 #define SMT1CPW16 SMT1CPWUbits.SMT1CPW16 // bit 0
17839 #define SMT1CPW17 SMT1CPWUbits.SMT1CPW17 // bit 1
17840 #define SMT1CPW18 SMT1CPWUbits.SMT1CPW18 // bit 2
17841 #define SMT1CPW19 SMT1CPWUbits.SMT1CPW19 // bit 3
17842 #define SMT1CPW20 SMT1CPWUbits.SMT1CPW20 // bit 4
17843 #define SMT1CPW21 SMT1CPWUbits.SMT1CPW21 // bit 5
17844 #define SMT1CPW22 SMT1CPWUbits.SMT1CPW22 // bit 6
17845 #define SMT1CPW23 SMT1CPWUbits.SMT1CPW23 // bit 7
17847 #define SMT1PR8 SMT1PRHbits.SMT1PR8 // bit 0
17848 #define SMT1PR9 SMT1PRHbits.SMT1PR9 // bit 1
17849 #define SMT1PR10 SMT1PRHbits.SMT1PR10 // bit 2
17850 #define SMT1PR11 SMT1PRHbits.SMT1PR11 // bit 3
17851 #define SMT1PR12 SMT1PRHbits.SMT1PR12 // bit 4
17852 #define SMT1PR13 SMT1PRHbits.SMT1PR13 // bit 5
17853 #define SMT1PR14 SMT1PRHbits.SMT1PR14 // bit 6
17854 #define SMT1PR15 SMT1PRHbits.SMT1PR15 // bit 7
17856 #define SMT1PR0 SMT1PRLbits.SMT1PR0 // bit 0
17857 #define SMT1PR1 SMT1PRLbits.SMT1PR1 // bit 1
17858 #define SMT1PR2 SMT1PRLbits.SMT1PR2 // bit 2
17859 #define SMT1PR3 SMT1PRLbits.SMT1PR3 // bit 3
17860 #define SMT1PR4 SMT1PRLbits.SMT1PR4 // bit 4
17861 #define SMT1PR5 SMT1PRLbits.SMT1PR5 // bit 5
17862 #define SMT1PR6 SMT1PRLbits.SMT1PR6 // bit 6
17863 #define SMT1PR7 SMT1PRLbits.SMT1PR7 // bit 7
17865 #define SMT1PR16 SMT1PRUbits.SMT1PR16 // bit 0
17866 #define SMT1PR17 SMT1PRUbits.SMT1PR17 // bit 1
17867 #define SMT1PR18 SMT1PRUbits.SMT1PR18 // bit 2
17868 #define SMT1PR19 SMT1PRUbits.SMT1PR19 // bit 3
17869 #define SMT1PR20 SMT1PRUbits.SMT1PR20 // bit 4
17870 #define SMT1PR21 SMT1PRUbits.SMT1PR21 // bit 5
17871 #define SMT1PR22 SMT1PRUbits.SMT1PR22 // bit 6
17872 #define SMT1PR23 SMT1PRUbits.SMT1PR23 // bit 7
17874 #define SMT1SIGPPS0 SMT1SIGPPSbits.SMT1SIGPPS0 // bit 0
17875 #define SMT1SIGPPS1 SMT1SIGPPSbits.SMT1SIGPPS1 // bit 1
17876 #define SMT1SIGPPS2 SMT1SIGPPSbits.SMT1SIGPPS2 // bit 2
17877 #define SMT1SIGPPS3 SMT1SIGPPSbits.SMT1SIGPPS3 // bit 3
17878 #define SMT1SIGPPS4 SMT1SIGPPSbits.SMT1SIGPPS4 // bit 4
17880 #define AS SMT1STATbits.AS // bit 0, shadows bit in SMT1STATbits
17881 #define SMT1AS SMT1STATbits.SMT1AS // bit 0, shadows bit in SMT1STATbits
17882 #define WS SMT1STATbits.WS // bit 1, shadows bit in SMT1STATbits
17883 #define SMT1WS SMT1STATbits.SMT1WS // bit 1, shadows bit in SMT1STATbits
17884 #define TS SMT1STATbits.TS // bit 2, shadows bit in SMT1STATbits
17885 #define SMT1TS SMT1STATbits.SMT1TS // bit 2, shadows bit in SMT1STATbits
17886 #define RST SMT1STATbits.RST // bit 5, shadows bit in SMT1STATbits
17887 #define SMT1RESET SMT1STATbits.SMT1RESET // bit 5, shadows bit in SMT1STATbits
17888 #define CPWUP SMT1STATbits.CPWUP // bit 6, shadows bit in SMT1STATbits
17889 #define SMT1CPWUP SMT1STATbits.SMT1CPWUP // bit 6, shadows bit in SMT1STATbits
17890 #define CPRUP SMT1STATbits.CPRUP // bit 7, shadows bit in SMT1STATbits
17891 #define SMT1CPRUP SMT1STATbits.SMT1CPRUP // bit 7, shadows bit in SMT1STATbits
17893 #define SMT1TMR8 SMT1TMRHbits.SMT1TMR8 // bit 0
17894 #define SMT1TMR9 SMT1TMRHbits.SMT1TMR9 // bit 1
17895 #define SMT1TMR10 SMT1TMRHbits.SMT1TMR10 // bit 2
17896 #define SMT1TMR11 SMT1TMRHbits.SMT1TMR11 // bit 3
17897 #define SMT1TMR12 SMT1TMRHbits.SMT1TMR12 // bit 4
17898 #define SMT1TMR13 SMT1TMRHbits.SMT1TMR13 // bit 5
17899 #define SMT1TMR14 SMT1TMRHbits.SMT1TMR14 // bit 6
17900 #define SMT1TMR15 SMT1TMRHbits.SMT1TMR15 // bit 7
17902 #define SMT1TMR0 SMT1TMRLbits.SMT1TMR0 // bit 0
17903 #define SMT1TMR1 SMT1TMRLbits.SMT1TMR1 // bit 1
17904 #define SMT1TMR2 SMT1TMRLbits.SMT1TMR2 // bit 2
17905 #define SMT1TMR3 SMT1TMRLbits.SMT1TMR3 // bit 3
17906 #define SMT1TMR4 SMT1TMRLbits.SMT1TMR4 // bit 4
17907 #define SMT1TMR5 SMT1TMRLbits.SMT1TMR5 // bit 5
17908 #define SMT1TMR6 SMT1TMRLbits.SMT1TMR6 // bit 6
17909 #define SMT1TMR7 SMT1TMRLbits.SMT1TMR7 // bit 7
17911 #define SMT1TMR16 SMT1TMRUbits.SMT1TMR16 // bit 0
17912 #define SMT1TMR17 SMT1TMRUbits.SMT1TMR17 // bit 1
17913 #define SMT1TMR18 SMT1TMRUbits.SMT1TMR18 // bit 2
17914 #define SMT1TMR19 SMT1TMRUbits.SMT1TMR19 // bit 3
17915 #define SMT1TMR20 SMT1TMRUbits.SMT1TMR20 // bit 4
17916 #define SMT1TMR21 SMT1TMRUbits.SMT1TMR21 // bit 5
17917 #define SMT1TMR22 SMT1TMRUbits.SMT1TMR22 // bit 6
17918 #define SMT1TMR23 SMT1TMRUbits.SMT1TMR23 // bit 7
17920 #define WSEL0 SMT1WINbits.WSEL0 // bit 0, shadows bit in SMT1WINbits
17921 #define SMT1WSEL0 SMT1WINbits.SMT1WSEL0 // bit 0, shadows bit in SMT1WINbits
17922 #define WSEL1 SMT1WINbits.WSEL1 // bit 1, shadows bit in SMT1WINbits
17923 #define SMT1WSEL1 SMT1WINbits.SMT1WSEL1 // bit 1, shadows bit in SMT1WINbits
17924 #define WSEL2 SMT1WINbits.WSEL2 // bit 2, shadows bit in SMT1WINbits
17925 #define SMT1WSEL2 SMT1WINbits.SMT1WSEL2 // bit 2, shadows bit in SMT1WINbits
17926 #define WSEL3 SMT1WINbits.WSEL3 // bit 3, shadows bit in SMT1WINbits
17927 #define SMT1WSEL3 SMT1WINbits.SMT1WSEL3 // bit 3, shadows bit in SMT1WINbits
17928 #define WSEL4 SMT1WINbits.WSEL4 // bit 4, shadows bit in SMT1WINbits
17929 #define SMT1WSEL4 SMT1WINbits.SMT1WSEL4 // bit 4, shadows bit in SMT1WINbits
17931 #define SMTWINPPS0 SMT1WINPPSbits.SMTWINPPS0 // bit 0
17932 #define SMTWINPPS1 SMT1WINPPSbits.SMTWINPPS1 // bit 1
17933 #define SMTWINPPS2 SMT1WINPPSbits.SMTWINPPS2 // bit 2
17934 #define SMTWINPPS3 SMT1WINPPSbits.SMTWINPPS3 // bit 3
17935 #define SMTWINPPS4 SMT1WINPPSbits.SMTWINPPS4 // bit 4
17937 #define SMT2CPR8 SMT2CPRHbits.SMT2CPR8 // bit 0
17938 #define SMT2CPR9 SMT2CPRHbits.SMT2CPR9 // bit 1
17939 #define SMT2CPR10 SMT2CPRHbits.SMT2CPR10 // bit 2
17940 #define SMT2CPR11 SMT2CPRHbits.SMT2CPR11 // bit 3
17941 #define SMT2CPR12 SMT2CPRHbits.SMT2CPR12 // bit 4
17942 #define SMT2CPR13 SMT2CPRHbits.SMT2CPR13 // bit 5
17943 #define SMT2CPR14 SMT2CPRHbits.SMT2CPR14 // bit 6
17944 #define SMT2CPR15 SMT2CPRHbits.SMT2CPR15 // bit 7
17946 #define SMT2CPR0 SMT2CPRLbits.SMT2CPR0 // bit 0
17947 #define SMT2CPR1 SMT2CPRLbits.SMT2CPR1 // bit 1
17948 #define SMT2CPR2 SMT2CPRLbits.SMT2CPR2 // bit 2
17949 #define SMT2CPR3 SMT2CPRLbits.SMT2CPR3 // bit 3
17950 #define SMT2CPR4 SMT2CPRLbits.SMT2CPR4 // bit 4
17951 #define SMT2CPR5 SMT2CPRLbits.SMT2CPR5 // bit 5
17952 #define SMT2CPR6 SMT2CPRLbits.SMT2CPR6 // bit 6
17953 #define SMT2CPR7 SMT2CPRLbits.SMT2CPR7 // bit 7
17955 #define SMT2CPR16 SMT2CPRUbits.SMT2CPR16 // bit 0
17956 #define SMT2CPR17 SMT2CPRUbits.SMT2CPR17 // bit 1
17957 #define SMT2CPR18 SMT2CPRUbits.SMT2CPR18 // bit 2
17958 #define SMT2CPR19 SMT2CPRUbits.SMT2CPR19 // bit 3
17959 #define SMT2CPR20 SMT2CPRUbits.SMT2CPR20 // bit 4
17960 #define SMT2CPR21 SMT2CPRUbits.SMT2CPR21 // bit 5
17961 #define SMT2CPR22 SMT2CPRUbits.SMT2CPR22 // bit 6
17962 #define SMT2CPR23 SMT2CPRUbits.SMT2CPR23 // bit 7
17964 #define SMT2CPW8 SMT2CPWHbits.SMT2CPW8 // bit 0
17965 #define SMT2CPW9 SMT2CPWHbits.SMT2CPW9 // bit 1
17966 #define SMT2CPW10 SMT2CPWHbits.SMT2CPW10 // bit 2
17967 #define SMT2CPW11 SMT2CPWHbits.SMT2CPW11 // bit 3
17968 #define SMT2CPW12 SMT2CPWHbits.SMT2CPW12 // bit 4
17969 #define SMT2CPW13 SMT2CPWHbits.SMT2CPW13 // bit 5
17970 #define SMT2CPW14 SMT2CPWHbits.SMT2CPW14 // bit 6
17971 #define SMT2CPW15 SMT2CPWHbits.SMT2CPW15 // bit 7
17973 #define SMT2CPW0 SMT2CPWLbits.SMT2CPW0 // bit 0
17974 #define SMT2CPW1 SMT2CPWLbits.SMT2CPW1 // bit 1
17975 #define SMT2CPW2 SMT2CPWLbits.SMT2CPW2 // bit 2
17976 #define SMT2CPW3 SMT2CPWLbits.SMT2CPW3 // bit 3
17977 #define SMT2CPW4 SMT2CPWLbits.SMT2CPW4 // bit 4
17978 #define SMT2CPW5 SMT2CPWLbits.SMT2CPW5 // bit 5
17979 #define SMT2CPW6 SMT2CPWLbits.SMT2CPW6 // bit 6
17980 #define SMT2CPW7 SMT2CPWLbits.SMT2CPW7 // bit 7
17982 #define SMT2CPW16 SMT2CPWUbits.SMT2CPW16 // bit 0
17983 #define SMT2CPW17 SMT2CPWUbits.SMT2CPW17 // bit 1
17984 #define SMT2CPW18 SMT2CPWUbits.SMT2CPW18 // bit 2
17985 #define SMT2CPW19 SMT2CPWUbits.SMT2CPW19 // bit 3
17986 #define SMT2CPW20 SMT2CPWUbits.SMT2CPW20 // bit 4
17987 #define SMT2CPW21 SMT2CPWUbits.SMT2CPW21 // bit 5
17988 #define SMT2CPW22 SMT2CPWUbits.SMT2CPW22 // bit 6
17989 #define SMT2CPW23 SMT2CPWUbits.SMT2CPW23 // bit 7
17991 #define SMT2PR8 SMT2PRHbits.SMT2PR8 // bit 0
17992 #define SMT2PR9 SMT2PRHbits.SMT2PR9 // bit 1
17993 #define SMT2PR10 SMT2PRHbits.SMT2PR10 // bit 2
17994 #define SMT2PR11 SMT2PRHbits.SMT2PR11 // bit 3
17995 #define SMT2PR12 SMT2PRHbits.SMT2PR12 // bit 4
17996 #define SMT2PR13 SMT2PRHbits.SMT2PR13 // bit 5
17997 #define SMT2PR14 SMT2PRHbits.SMT2PR14 // bit 6
17998 #define SMT2PR15 SMT2PRHbits.SMT2PR15 // bit 7
18000 #define SMT2PR0 SMT2PRLbits.SMT2PR0 // bit 0
18001 #define SMT2PR1 SMT2PRLbits.SMT2PR1 // bit 1
18002 #define SMT2PR2 SMT2PRLbits.SMT2PR2 // bit 2
18003 #define SMT2PR3 SMT2PRLbits.SMT2PR3 // bit 3
18004 #define SMT2PR4 SMT2PRLbits.SMT2PR4 // bit 4
18005 #define SMT2PR5 SMT2PRLbits.SMT2PR5 // bit 5
18006 #define SMT2PR6 SMT2PRLbits.SMT2PR6 // bit 6
18007 #define SMT2PR7 SMT2PRLbits.SMT2PR7 // bit 7
18009 #define SMT2PR16 SMT2PRUbits.SMT2PR16 // bit 0
18010 #define SMT2PR17 SMT2PRUbits.SMT2PR17 // bit 1
18011 #define SMT2PR18 SMT2PRUbits.SMT2PR18 // bit 2
18012 #define SMT2PR19 SMT2PRUbits.SMT2PR19 // bit 3
18013 #define SMT2PR20 SMT2PRUbits.SMT2PR20 // bit 4
18014 #define SMT2PR21 SMT2PRUbits.SMT2PR21 // bit 5
18015 #define SMT2PR22 SMT2PRUbits.SMT2PR22 // bit 6
18016 #define SMT2PR23 SMT2PRUbits.SMT2PR23 // bit 7
18018 #define SMT2SIGPPS0 SMT2SIGPPSbits.SMT2SIGPPS0 // bit 0
18019 #define SMT2SIGPPS1 SMT2SIGPPSbits.SMT2SIGPPS1 // bit 1
18020 #define SMT2SIGPPS2 SMT2SIGPPSbits.SMT2SIGPPS2 // bit 2
18021 #define SMT2SIGPPS3 SMT2SIGPPSbits.SMT2SIGPPS3 // bit 3
18022 #define SMT2SIGPPS4 SMT2SIGPPSbits.SMT2SIGPPS4 // bit 4
18024 #define SMT2TMR8 SMT2TMRHbits.SMT2TMR8 // bit 0
18025 #define SMT2TMR9 SMT2TMRHbits.SMT2TMR9 // bit 1
18026 #define SMT2TMR10 SMT2TMRHbits.SMT2TMR10 // bit 2
18027 #define SMT2TMR11 SMT2TMRHbits.SMT2TMR11 // bit 3
18028 #define SMT2TMR12 SMT2TMRHbits.SMT2TMR12 // bit 4
18029 #define SMT2TMR13 SMT2TMRHbits.SMT2TMR13 // bit 5
18030 #define SMT2TMR14 SMT2TMRHbits.SMT2TMR14 // bit 6
18031 #define SMT2TMR15 SMT2TMRHbits.SMT2TMR15 // bit 7
18033 #define SMT2TMR0 SMT2TMRLbits.SMT2TMR0 // bit 0
18034 #define SMT2TMR1 SMT2TMRLbits.SMT2TMR1 // bit 1
18035 #define SMT2TMR2 SMT2TMRLbits.SMT2TMR2 // bit 2
18036 #define SMT2TMR3 SMT2TMRLbits.SMT2TMR3 // bit 3
18037 #define SMT2TMR4 SMT2TMRLbits.SMT2TMR4 // bit 4
18038 #define SMT2TMR5 SMT2TMRLbits.SMT2TMR5 // bit 5
18039 #define SMT2TMR6 SMT2TMRLbits.SMT2TMR6 // bit 6
18040 #define SMT2TMR7 SMT2TMRLbits.SMT2TMR7 // bit 7
18042 #define SMT2TMR16 SMT2TMRUbits.SMT2TMR16 // bit 0
18043 #define SMT2TMR17 SMT2TMRUbits.SMT2TMR17 // bit 1
18044 #define SMT2TMR18 SMT2TMRUbits.SMT2TMR18 // bit 2
18045 #define SMT2TMR19 SMT2TMRUbits.SMT2TMR19 // bit 3
18046 #define SMT2TMR20 SMT2TMRUbits.SMT2TMR20 // bit 4
18047 #define SMT2TMR21 SMT2TMRUbits.SMT2TMR21 // bit 5
18048 #define SMT2TMR22 SMT2TMRUbits.SMT2TMR22 // bit 6
18049 #define SMT2TMR23 SMT2TMRUbits.SMT2TMR23 // bit 7
18051 #define SMT2WINPPS0 SMT2WINPPSbits.SMT2WINPPS0 // bit 0
18052 #define SMT2WINPPS1 SMT2WINPPSbits.SMT2WINPPS1 // bit 1
18053 #define SMT2WINPPS2 SMT2WINPPSbits.SMT2WINPPS2 // bit 2
18054 #define SMT2WINPPS3 SMT2WINPPSbits.SMT2WINPPS3 // bit 3
18055 #define SMT2WINPPS4 SMT2WINPPSbits.SMT2WINPPS4 // bit 4
18057 #define SSP1ADD0 SSP1ADDbits.SSP1ADD0 // bit 0, shadows bit in SSP1ADDbits
18058 #define ADD0 SSP1ADDbits.ADD0 // bit 0, shadows bit in SSP1ADDbits
18059 #define SSP1ADD1 SSP1ADDbits.SSP1ADD1 // bit 1, shadows bit in SSP1ADDbits
18060 #define ADD1 SSP1ADDbits.ADD1 // bit 1, shadows bit in SSP1ADDbits
18061 #define SSP1ADD2 SSP1ADDbits.SSP1ADD2 // bit 2, shadows bit in SSP1ADDbits
18062 #define ADD2 SSP1ADDbits.ADD2 // bit 2, shadows bit in SSP1ADDbits
18063 #define SSP1ADD3 SSP1ADDbits.SSP1ADD3 // bit 3, shadows bit in SSP1ADDbits
18064 #define ADD3 SSP1ADDbits.ADD3 // bit 3, shadows bit in SSP1ADDbits
18065 #define SSP1ADD4 SSP1ADDbits.SSP1ADD4 // bit 4, shadows bit in SSP1ADDbits
18066 #define ADD4 SSP1ADDbits.ADD4 // bit 4, shadows bit in SSP1ADDbits
18067 #define SSP1ADD5 SSP1ADDbits.SSP1ADD5 // bit 5, shadows bit in SSP1ADDbits
18068 #define ADD5 SSP1ADDbits.ADD5 // bit 5, shadows bit in SSP1ADDbits
18069 #define SSP1ADD6 SSP1ADDbits.SSP1ADD6 // bit 6, shadows bit in SSP1ADDbits
18070 #define ADD6 SSP1ADDbits.ADD6 // bit 6, shadows bit in SSP1ADDbits
18071 #define SSP1ADD7 SSP1ADDbits.SSP1ADD7 // bit 7, shadows bit in SSP1ADDbits
18072 #define ADD7 SSP1ADDbits.ADD7 // bit 7, shadows bit in SSP1ADDbits
18074 #define SSP1BUF0 SSP1BUFbits.SSP1BUF0 // bit 0, shadows bit in SSP1BUFbits
18075 #define BUF0 SSP1BUFbits.BUF0 // bit 0, shadows bit in SSP1BUFbits
18076 #define SSP1BUF1 SSP1BUFbits.SSP1BUF1 // bit 1, shadows bit in SSP1BUFbits
18077 #define BUF1 SSP1BUFbits.BUF1 // bit 1, shadows bit in SSP1BUFbits
18078 #define SSP1BUF2 SSP1BUFbits.SSP1BUF2 // bit 2, shadows bit in SSP1BUFbits
18079 #define BUF2 SSP1BUFbits.BUF2 // bit 2, shadows bit in SSP1BUFbits
18080 #define SSP1BUF3 SSP1BUFbits.SSP1BUF3 // bit 3, shadows bit in SSP1BUFbits
18081 #define BUF3 SSP1BUFbits.BUF3 // bit 3, shadows bit in SSP1BUFbits
18082 #define SSP1BUF4 SSP1BUFbits.SSP1BUF4 // bit 4, shadows bit in SSP1BUFbits
18083 #define BUF4 SSP1BUFbits.BUF4 // bit 4, shadows bit in SSP1BUFbits
18084 #define SSP1BUF5 SSP1BUFbits.SSP1BUF5 // bit 5, shadows bit in SSP1BUFbits
18085 #define BUF5 SSP1BUFbits.BUF5 // bit 5, shadows bit in SSP1BUFbits
18086 #define SSP1BUF6 SSP1BUFbits.SSP1BUF6 // bit 6, shadows bit in SSP1BUFbits
18087 #define BUF6 SSP1BUFbits.BUF6 // bit 6, shadows bit in SSP1BUFbits
18088 #define SSP1BUF7 SSP1BUFbits.SSP1BUF7 // bit 7, shadows bit in SSP1BUFbits
18089 #define BUF7 SSP1BUFbits.BUF7 // bit 7, shadows bit in SSP1BUFbits
18091 #define SSPM0 SSP1CONbits.SSPM0 // bit 0
18092 #define SSPM1 SSP1CONbits.SSPM1 // bit 1
18093 #define SSPM2 SSP1CONbits.SSPM2 // bit 2
18094 #define SSPM3 SSP1CONbits.SSPM3 // bit 3
18095 #define CKP SSP1CONbits.CKP // bit 4
18096 #define SSPEN SSP1CONbits.SSPEN // bit 5
18097 #define SSPOV SSP1CONbits.SSPOV // bit 6
18098 #define WCOL SSP1CONbits.WCOL // bit 7
18100 #define SEN SSP1CON2bits.SEN // bit 0
18101 #define RSEN SSP1CON2bits.RSEN // bit 1
18102 #define PEN SSP1CON2bits.PEN // bit 2
18103 #define RCEN SSP1CON2bits.RCEN // bit 3
18104 #define ACKEN SSP1CON2bits.ACKEN // bit 4
18105 #define ACKDT SSP1CON2bits.ACKDT // bit 5
18106 #define ACKSTAT SSP1CON2bits.ACKSTAT // bit 6
18107 #define GCEN SSP1CON2bits.GCEN // bit 7
18109 #define DHEN SSP1CON3bits.DHEN // bit 0
18110 #define AHEN SSP1CON3bits.AHEN // bit 1
18111 #define SBCDE SSP1CON3bits.SBCDE // bit 2
18112 #define SDAHT SSP1CON3bits.SDAHT // bit 3
18113 #define BOEN SSP1CON3bits.BOEN // bit 4
18114 #define SCIE SSP1CON3bits.SCIE // bit 5
18115 #define PCIE SSP1CON3bits.PCIE // bit 6
18116 #define ACKTIM SSP1CON3bits.ACKTIM // bit 7
18118 #define SSP1MSK0 SSP1MSKbits.SSP1MSK0 // bit 0, shadows bit in SSP1MSKbits
18119 #define MSK0 SSP1MSKbits.MSK0 // bit 0, shadows bit in SSP1MSKbits
18120 #define SSP1MSK1 SSP1MSKbits.SSP1MSK1 // bit 1, shadows bit in SSP1MSKbits
18121 #define MSK1 SSP1MSKbits.MSK1 // bit 1, shadows bit in SSP1MSKbits
18122 #define SSP1MSK2 SSP1MSKbits.SSP1MSK2 // bit 2, shadows bit in SSP1MSKbits
18123 #define MSK2 SSP1MSKbits.MSK2 // bit 2, shadows bit in SSP1MSKbits
18124 #define SSP1MSK3 SSP1MSKbits.SSP1MSK3 // bit 3, shadows bit in SSP1MSKbits
18125 #define MSK3 SSP1MSKbits.MSK3 // bit 3, shadows bit in SSP1MSKbits
18126 #define SSP1MSK4 SSP1MSKbits.SSP1MSK4 // bit 4, shadows bit in SSP1MSKbits
18127 #define MSK4 SSP1MSKbits.MSK4 // bit 4, shadows bit in SSP1MSKbits
18128 #define SSP1MSK5 SSP1MSKbits.SSP1MSK5 // bit 5, shadows bit in SSP1MSKbits
18129 #define MSK5 SSP1MSKbits.MSK5 // bit 5, shadows bit in SSP1MSKbits
18130 #define SSP1MSK6 SSP1MSKbits.SSP1MSK6 // bit 6, shadows bit in SSP1MSKbits
18131 #define MSK6 SSP1MSKbits.MSK6 // bit 6, shadows bit in SSP1MSKbits
18132 #define SSP1MSK7 SSP1MSKbits.SSP1MSK7 // bit 7, shadows bit in SSP1MSKbits
18133 #define MSK7 SSP1MSKbits.MSK7 // bit 7, shadows bit in SSP1MSKbits
18135 #define BF SSP1STATbits.BF // bit 0
18136 #define UA SSP1STATbits.UA // bit 1
18137 #define R_NOT_W SSP1STATbits.R_NOT_W // bit 2
18138 #define S SSP1STATbits.S // bit 3
18139 #define P SSP1STATbits.P // bit 4
18140 #define D_NOT_A SSP1STATbits.D_NOT_A // bit 5
18141 #define CKE SSP1STATbits.CKE // bit 6
18142 #define SMP SSP1STATbits.SMP // bit 7
18144 #define SSPCLKPPS0 SSPCLKPPSbits.SSPCLKPPS0 // bit 0
18145 #define SSPCLKPPS1 SSPCLKPPSbits.SSPCLKPPS1 // bit 1
18146 #define SSPCLKPPS2 SSPCLKPPSbits.SSPCLKPPS2 // bit 2
18147 #define SSPCLKPPS3 SSPCLKPPSbits.SSPCLKPPS3 // bit 3
18148 #define SSPCLKPPS4 SSPCLKPPSbits.SSPCLKPPS4 // bit 4
18150 #define SSPDATPPS0 SSPDATPPSbits.SSPDATPPS0 // bit 0
18151 #define SSPDATPPS1 SSPDATPPSbits.SSPDATPPS1 // bit 1
18152 #define SSPDATPPS2 SSPDATPPSbits.SSPDATPPS2 // bit 2
18153 #define SSPDATPPS3 SSPDATPPSbits.SSPDATPPS3 // bit 3
18154 #define SSPDATPPS4 SSPDATPPSbits.SSPDATPPS4 // bit 4
18156 #define SSPSSPPS0 SSPSSPPSbits.SSPSSPPS0 // bit 0
18157 #define SSPSSPPS1 SSPSSPPSbits.SSPSSPPS1 // bit 1
18158 #define SSPSSPPS2 SSPSSPPSbits.SSPSSPPS2 // bit 2
18159 #define SSPSSPPS3 SSPSSPPSbits.SSPSSPPS3 // bit 3
18160 #define SSPSSPPS4 SSPSSPPSbits.SSPSSPPS4 // bit 4
18162 #define C STATUSbits.C // bit 0
18163 #define DC STATUSbits.DC // bit 1
18164 #define Z STATUSbits.Z // bit 2
18165 #define NOT_PD STATUSbits.NOT_PD // bit 3
18166 #define NOT_TO STATUSbits.NOT_TO // bit 4
18168 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
18169 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
18170 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
18172 #define T0CKIPPS0 T0CKIPPSbits.T0CKIPPS0 // bit 0
18173 #define T0CKIPPS1 T0CKIPPSbits.T0CKIPPS1 // bit 1
18174 #define T0CKIPPS2 T0CKIPPSbits.T0CKIPPS2 // bit 2
18175 #define T0CKIPPS3 T0CKIPPSbits.T0CKIPPS3 // bit 3
18176 #define T0CKIPPS4 T0CKIPPSbits.T0CKIPPS4 // bit 4
18178 #define T1CKIPPS0 T1CKIPPSbits.T1CKIPPS0 // bit 0
18179 #define T1CKIPPS1 T1CKIPPSbits.T1CKIPPS1 // bit 1
18180 #define T1CKIPPS2 T1CKIPPSbits.T1CKIPPS2 // bit 2
18181 #define T1CKIPPS3 T1CKIPPSbits.T1CKIPPS3 // bit 3
18182 #define T1CKIPPS4 T1CKIPPSbits.T1CKIPPS4 // bit 4
18184 #define TMR1ON T1CONbits.TMR1ON // bit 0
18185 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
18186 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
18187 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
18188 #define TMR1CS0 T1CONbits.TMR1CS0 // bit 6
18189 #define TMR1CS1 T1CONbits.TMR1CS1 // bit 7
18191 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0
18192 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1
18193 #define T1GVAL T1GCONbits.T1GVAL // bit 2
18194 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3
18195 #define T1GSPM T1GCONbits.T1GSPM // bit 4
18196 #define T1GTM T1GCONbits.T1GTM // bit 5
18197 #define T1GPOL T1GCONbits.T1GPOL // bit 6
18198 #define TMR1GE T1GCONbits.TMR1GE // bit 7
18200 #define T1GPPS0 T1GPPSbits.T1GPPS0 // bit 0
18201 #define T1GPPS1 T1GPPSbits.T1GPPS1 // bit 1
18202 #define T1GPPS2 T1GPPSbits.T1GPPS2 // bit 2
18203 #define T1GPPS3 T1GPPSbits.T1GPPS3 // bit 3
18204 #define T1GPPS4 T1GPPSbits.T1GPPS4 // bit 4
18206 #define OUTPS0 T2CONbits.OUTPS0 // bit 0, shadows bit in T2CONbits
18207 #define T2OUTPS0 T2CONbits.T2OUTPS0 // bit 0, shadows bit in T2CONbits
18208 #define OUTPS1 T2CONbits.OUTPS1 // bit 1, shadows bit in T2CONbits
18209 #define T2OUTPS1 T2CONbits.T2OUTPS1 // bit 1, shadows bit in T2CONbits
18210 #define OUTPS2 T2CONbits.OUTPS2 // bit 2, shadows bit in T2CONbits
18211 #define T2OUTPS2 T2CONbits.T2OUTPS2 // bit 2, shadows bit in T2CONbits
18212 #define OUTPS3 T2CONbits.OUTPS3 // bit 3, shadows bit in T2CONbits
18213 #define T2OUTPS3 T2CONbits.T2OUTPS3 // bit 3, shadows bit in T2CONbits
18214 #define CKPS0 T2CONbits.CKPS0 // bit 4, shadows bit in T2CONbits
18215 #define T2CKPS0 T2CONbits.T2CKPS0 // bit 4, shadows bit in T2CONbits
18216 #define CKPS1 T2CONbits.CKPS1 // bit 5, shadows bit in T2CONbits
18217 #define T2CKPS1 T2CONbits.T2CKPS1 // bit 5, shadows bit in T2CONbits
18218 #define CKPS2 T2CONbits.CKPS2 // bit 6, shadows bit in T2CONbits
18219 #define T2CKPS2 T2CONbits.T2CKPS2 // bit 6, shadows bit in T2CONbits
18220 #define ON T2CONbits.ON // bit 7, shadows bit in T2CONbits
18221 #define T2ON T2CONbits.T2ON // bit 7, shadows bit in T2CONbits
18222 #define TMR2ON T2CONbits.TMR2ON // bit 7, shadows bit in T2CONbits
18224 #define T2PPS0 T2PPSbits.T2PPS0 // bit 0
18225 #define T2PPS1 T2PPSbits.T2PPS1 // bit 1
18226 #define T2PPS2 T2PPSbits.T2PPS2 // bit 2
18227 #define T2PPS3 T2PPSbits.T2PPS3 // bit 3
18228 #define T2PPS4 T2PPSbits.T2PPS4 // bit 4
18230 #define RSEL0 T2RSTbits.RSEL0 // bit 0, shadows bit in T2RSTbits
18231 #define T2RSEL0 T2RSTbits.T2RSEL0 // bit 0, shadows bit in T2RSTbits
18232 #define RSEL1 T2RSTbits.RSEL1 // bit 1, shadows bit in T2RSTbits
18233 #define T2RSEL1 T2RSTbits.T2RSEL1 // bit 1, shadows bit in T2RSTbits
18234 #define RSEL2 T2RSTbits.RSEL2 // bit 2, shadows bit in T2RSTbits
18235 #define T2RSEL2 T2RSTbits.T2RSEL2 // bit 2, shadows bit in T2RSTbits
18236 #define RSEL3 T2RSTbits.RSEL3 // bit 3, shadows bit in T2RSTbits
18237 #define T2RSEL3 T2RSTbits.T2RSEL3 // bit 3, shadows bit in T2RSTbits
18239 #define T3CKIPPS0 T3CKIPPSbits.T3CKIPPS0 // bit 0
18240 #define T3CKIPPS1 T3CKIPPSbits.T3CKIPPS1 // bit 1
18241 #define T3CKIPPS2 T3CKIPPSbits.T3CKIPPS2 // bit 2
18242 #define T3CKIPPS3 T3CKIPPSbits.T3CKIPPS3 // bit 3
18243 #define T3CKIPPS4 T3CKIPPSbits.T3CKIPPS4 // bit 4
18245 #define TMR3ON T3CONbits.TMR3ON // bit 0
18246 #define T3SYNC T3CONbits.T3SYNC // bit 2
18247 #define T3CKPS0 T3CONbits.T3CKPS0 // bit 4
18248 #define T3CKPS1 T3CONbits.T3CKPS1 // bit 5
18249 #define TMR3CS0 T3CONbits.TMR3CS0 // bit 6
18250 #define TMR3CS1 T3CONbits.TMR3CS1 // bit 7
18252 #define T3GSS0 T3GCONbits.T3GSS0 // bit 0
18253 #define T3GSS1 T3GCONbits.T3GSS1 // bit 1
18254 #define T3GVAL T3GCONbits.T3GVAL // bit 2
18255 #define T3GGO_NOT_DONE T3GCONbits.T3GGO_NOT_DONE // bit 3
18256 #define T3GSPM T3GCONbits.T3GSPM // bit 4
18257 #define T3GTM T3GCONbits.T3GTM // bit 5
18258 #define T3GPOL T3GCONbits.T3GPOL // bit 6
18259 #define TMR3GE T3GCONbits.TMR3GE // bit 7
18261 #define T3GPPS0 T3GPPSbits.T3GPPS0 // bit 0
18262 #define T3GPPS1 T3GPPSbits.T3GPPS1 // bit 1
18263 #define T3GPPS2 T3GPPSbits.T3GPPS2 // bit 2
18264 #define T3GPPS3 T3GPPSbits.T3GPPS3 // bit 3
18265 #define T3GPPS4 T3GPPSbits.T3GPPS4 // bit 4
18267 #define T4PPS0 T4PPSbits.T4PPS0 // bit 0
18268 #define T4PPS1 T4PPSbits.T4PPS1 // bit 1
18269 #define T4PPS2 T4PPSbits.T4PPS2 // bit 2
18270 #define T4PPS3 T4PPSbits.T4PPS3 // bit 3
18271 #define T4PPS4 T4PPSbits.T4PPS4 // bit 4
18273 #define T5CKIPPS0 T5CKIPPSbits.T5CKIPPS0 // bit 0
18274 #define T5CKIPPS1 T5CKIPPSbits.T5CKIPPS1 // bit 1
18275 #define T5CKIPPS2 T5CKIPPSbits.T5CKIPPS2 // bit 2
18276 #define T5CKIPPS3 T5CKIPPSbits.T5CKIPPS3 // bit 3
18277 #define T5CKIPPS4 T5CKIPPSbits.T5CKIPPS4 // bit 4
18279 #define TMR5ON T5CONbits.TMR5ON // bit 0
18280 #define T5SYNC T5CONbits.T5SYNC // bit 2
18281 #define T5CKPS0 T5CONbits.T5CKPS0 // bit 4
18282 #define T5CKPS1 T5CONbits.T5CKPS1 // bit 5
18283 #define TMR5CS0 T5CONbits.TMR5CS0 // bit 6
18284 #define TMR5CS1 T5CONbits.TMR5CS1 // bit 7
18286 #define T5GSS0 T5GCONbits.T5GSS0 // bit 0
18287 #define T5GSS1 T5GCONbits.T5GSS1 // bit 1
18288 #define T5GVAL T5GCONbits.T5GVAL // bit 2
18289 #define T5GGO_NOT_DONE T5GCONbits.T5GGO_NOT_DONE // bit 3
18290 #define T5GSPM T5GCONbits.T5GSPM // bit 4
18291 #define T5GTM T5GCONbits.T5GTM // bit 5
18292 #define T5GPOL T5GCONbits.T5GPOL // bit 6
18293 #define TMR5GE T5GCONbits.TMR5GE // bit 7
18295 #define T5GPPS0 T5GPPSbits.T5GPPS0 // bit 0
18296 #define T5GPPS1 T5GPPSbits.T5GPPS1 // bit 1
18297 #define T5GPPS2 T5GPPSbits.T5GPPS2 // bit 2
18298 #define T5GPPS3 T5GPPSbits.T5GPPS3 // bit 3
18299 #define T5GPPS4 T5GPPSbits.T5GPPS4 // bit 4
18301 #define T6PPS0 T6PPSbits.T6PPS0 // bit 0
18302 #define T6PPS1 T6PPSbits.T6PPS1 // bit 1
18303 #define T6PPS2 T6PPSbits.T6PPS2 // bit 2
18304 #define T6PPS3 T6PPSbits.T6PPS3 // bit 3
18305 #define T6PPS4 T6PPSbits.T6PPS4 // bit 4
18307 #define TRISA0 TRISAbits.TRISA0 // bit 0
18308 #define TRISA1 TRISAbits.TRISA1 // bit 1
18309 #define TRISA2 TRISAbits.TRISA2 // bit 2
18310 #define TRISA3 TRISAbits.TRISA3 // bit 3
18311 #define TRISA4 TRISAbits.TRISA4 // bit 4
18312 #define TRISA5 TRISAbits.TRISA5 // bit 5
18314 #define TRISB4 TRISBbits.TRISB4 // bit 4
18315 #define TRISB5 TRISBbits.TRISB5 // bit 5
18316 #define TRISB6 TRISBbits.TRISB6 // bit 6
18317 #define TRISB7 TRISBbits.TRISB7 // bit 7
18319 #define TRISC0 TRISCbits.TRISC0 // bit 0
18320 #define TRISC1 TRISCbits.TRISC1 // bit 1
18321 #define TRISC2 TRISCbits.TRISC2 // bit 2
18322 #define TRISC3 TRISCbits.TRISC3 // bit 3
18323 #define TRISC4 TRISCbits.TRISC4 // bit 4
18324 #define TRISC5 TRISCbits.TRISC5 // bit 5
18325 #define TRISC6 TRISCbits.TRISC6 // bit 6
18326 #define TRISC7 TRISCbits.TRISC7 // bit 7
18328 #define TX9D TX1STAbits.TX9D // bit 0
18329 #define TRMT TX1STAbits.TRMT // bit 1
18330 #define BRGH TX1STAbits.BRGH // bit 2
18331 #define SENDB TX1STAbits.SENDB // bit 3
18332 #define SYNC TX1STAbits.SYNC // bit 4
18333 #define TXEN TX1STAbits.TXEN // bit 5
18334 #define TX9 TX1STAbits.TX9 // bit 6
18335 #define CSRC TX1STAbits.CSRC // bit 7
18337 #define WINDOW0 WDTCON1bits.WINDOW0 // bit 0, shadows bit in WDTCON1bits
18338 #define WDTWINDOW0 WDTCON1bits.WDTWINDOW0 // bit 0, shadows bit in WDTCON1bits
18339 #define WINDOW1 WDTCON1bits.WINDOW1 // bit 1, shadows bit in WDTCON1bits
18340 #define WDTWINDOW1 WDTCON1bits.WDTWINDOW1 // bit 1, shadows bit in WDTCON1bits
18341 #define WINDOW2 WDTCON1bits.WINDOW2 // bit 2, shadows bit in WDTCON1bits
18342 #define WDTWINDOW2 WDTCON1bits.WDTWINDOW2 // bit 2, shadows bit in WDTCON1bits
18343 #define WDTCS0 WDTCON1bits.WDTCS0 // bit 4
18344 #define WDTCS1 WDTCON1bits.WDTCS1 // bit 5
18345 #define WDTCS2 WDTCON1bits.WDTCS2 // bit 6
18347 #define PSCNT8 WDTPSHbits.PSCNT8 // bit 0, shadows bit in WDTPSHbits
18348 #define WDTPSCNT8 WDTPSHbits.WDTPSCNT8 // bit 0, shadows bit in WDTPSHbits
18349 #define PSCNT9 WDTPSHbits.PSCNT9 // bit 1, shadows bit in WDTPSHbits
18350 #define WDTPSCNT9 WDTPSHbits.WDTPSCNT9 // bit 1, shadows bit in WDTPSHbits
18351 #define PSCNT10 WDTPSHbits.PSCNT10 // bit 2, shadows bit in WDTPSHbits
18352 #define WDTPSCNT10 WDTPSHbits.WDTPSCNT10 // bit 2, shadows bit in WDTPSHbits
18353 #define PSCNT11 WDTPSHbits.PSCNT11 // bit 3, shadows bit in WDTPSHbits
18354 #define WDTPSCNT11 WDTPSHbits.WDTPSCNT11 // bit 3, shadows bit in WDTPSHbits
18355 #define PSCNT12 WDTPSHbits.PSCNT12 // bit 4, shadows bit in WDTPSHbits
18356 #define WDTPSCNT12 WDTPSHbits.WDTPSCNT12 // bit 4, shadows bit in WDTPSHbits
18357 #define PSCNT13 WDTPSHbits.PSCNT13 // bit 5, shadows bit in WDTPSHbits
18358 #define WDTPSCNT13 WDTPSHbits.WDTPSCNT13 // bit 5, shadows bit in WDTPSHbits
18359 #define PSCNT14 WDTPSHbits.PSCNT14 // bit 6, shadows bit in WDTPSHbits
18360 #define WDTPSCNT14 WDTPSHbits.WDTPSCNT14 // bit 6, shadows bit in WDTPSHbits
18361 #define PSCNT15 WDTPSHbits.PSCNT15 // bit 7, shadows bit in WDTPSHbits
18362 #define WDTPSCNT15 WDTPSHbits.WDTPSCNT15 // bit 7, shadows bit in WDTPSHbits
18364 #define PSCNT0 WDTPSLbits.PSCNT0 // bit 0, shadows bit in WDTPSLbits
18365 #define WDTPSCNT0 WDTPSLbits.WDTPSCNT0 // bit 0, shadows bit in WDTPSLbits
18366 #define PSCNT1 WDTPSLbits.PSCNT1 // bit 1, shadows bit in WDTPSLbits
18367 #define WDTPSCNT1 WDTPSLbits.WDTPSCNT1 // bit 1, shadows bit in WDTPSLbits
18368 #define PSCNT2 WDTPSLbits.PSCNT2 // bit 2, shadows bit in WDTPSLbits
18369 #define WDTPSCNT2 WDTPSLbits.WDTPSCNT2 // bit 2, shadows bit in WDTPSLbits
18370 #define PSCNT3 WDTPSLbits.PSCNT3 // bit 3, shadows bit in WDTPSLbits
18371 #define WDTPSCNT3 WDTPSLbits.WDTPSCNT3 // bit 3, shadows bit in WDTPSLbits
18372 #define PSCNT4 WDTPSLbits.PSCNT4 // bit 4, shadows bit in WDTPSLbits
18373 #define WDTPSCNT4 WDTPSLbits.WDTPSCNT4 // bit 4, shadows bit in WDTPSLbits
18374 #define PSCNT5 WDTPSLbits.PSCNT5 // bit 5, shadows bit in WDTPSLbits
18375 #define WDTPSCNT5 WDTPSLbits.WDTPSCNT5 // bit 5, shadows bit in WDTPSLbits
18376 #define PSCNT6 WDTPSLbits.PSCNT6 // bit 6, shadows bit in WDTPSLbits
18377 #define WDTPSCNT6 WDTPSLbits.WDTPSCNT6 // bit 6, shadows bit in WDTPSLbits
18378 #define PSCNT7 WDTPSLbits.PSCNT7 // bit 7, shadows bit in WDTPSLbits
18379 #define WDTPSCNT7 WDTPSLbits.WDTPSCNT7 // bit 7, shadows bit in WDTPSLbits
18381 #define PSCNT16 WDTTMRbits.PSCNT16 // bit 0, shadows bit in WDTTMRbits
18382 #define WDTPSCNT16 WDTTMRbits.WDTPSCNT16 // bit 0, shadows bit in WDTTMRbits
18383 #define PSCNT17 WDTTMRbits.PSCNT17 // bit 1, shadows bit in WDTTMRbits
18384 #define WDTPSCNT17 WDTTMRbits.WDTPSCNT17 // bit 1, shadows bit in WDTTMRbits
18385 #define STATE WDTTMRbits.STATE // bit 2, shadows bit in WDTTMRbits
18386 #define WDTSTATE WDTTMRbits.WDTSTATE // bit 2, shadows bit in WDTTMRbits
18387 #define WDTTMR0 WDTTMRbits.WDTTMR0 // bit 3
18388 #define WDTTMR1 WDTTMRbits.WDTTMR1 // bit 4
18389 #define WDTTMR2 WDTTMRbits.WDTTMR2 // bit 5
18390 #define WDTTMR3 WDTTMRbits.WDTTMR3 // bit 6
18391 #define WDTTMR4 WDTTMRbits.WDTTMR4 // bit 7
18393 #define WPUA0 WPUAbits.WPUA0 // bit 0
18394 #define WPUA1 WPUAbits.WPUA1 // bit 1
18395 #define WPUA2 WPUAbits.WPUA2 // bit 2
18396 #define WPUA3 WPUAbits.WPUA3 // bit 3
18397 #define WPUA4 WPUAbits.WPUA4 // bit 4
18398 #define WPUA5 WPUAbits.WPUA5 // bit 5
18400 #define WPUB4 WPUBbits.WPUB4 // bit 4
18401 #define WPUB5 WPUBbits.WPUB5 // bit 5
18402 #define WPUB6 WPUBbits.WPUB6 // bit 6
18403 #define WPUB7 WPUBbits.WPUB7 // bit 7
18405 #define WPUC0 WPUCbits.WPUC0 // bit 0
18406 #define WPUC1 WPUCbits.WPUC1 // bit 1
18407 #define WPUC2 WPUCbits.WPUC2 // bit 2
18408 #define WPUC3 WPUCbits.WPUC3 // bit 3
18409 #define WPUC4 WPUCbits.WPUC4 // bit 4
18410 #define WPUC5 WPUCbits.WPUC5 // bit 5
18411 #define WPUC6 WPUCbits.WPUC6 // bit 6
18412 #define WPUC7 WPUCbits.WPUC7 // bit 7
18414 #define ZCD1INTN ZCD1CONbits.ZCD1INTN // bit 0
18415 #define ZCD1INTP ZCD1CONbits.ZCD1INTP // bit 1
18416 #define ZCD1POL ZCD1CONbits.ZCD1POL // bit 4
18417 #define ZCD1OUT ZCD1CONbits.ZCD1OUT // bit 5
18418 #define ZCD1EN ZCD1CONbits.ZCD1EN // bit 7
18420 #endif // #ifndef NO_BIT_DEFINES
18422 #endif // #ifndef __PIC16LF1619_H__