2 * This declarations of the PIC16F1769 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:14 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 __PIC16F1769_H__
26 #define __PIC16F1769_H__
28 //==============================================================================
32 //==============================================================================
34 #ifndef NO_ADDR_DEFINES
36 #define INDF0_ADDR 0x0000
37 #define INDF1_ADDR 0x0001
38 #define PCL_ADDR 0x0002
39 #define STATUS_ADDR 0x0003
40 #define FSR0_ADDR 0x0004
41 #define FSR0L_ADDR 0x0004
42 #define FSR0H_ADDR 0x0005
43 #define FSR1_ADDR 0x0006
44 #define FSR1L_ADDR 0x0006
45 #define FSR1H_ADDR 0x0007
46 #define BSR_ADDR 0x0008
47 #define WREG_ADDR 0x0009
48 #define PCLATH_ADDR 0x000A
49 #define INTCON_ADDR 0x000B
50 #define PORTA_ADDR 0x000C
51 #define PORTB_ADDR 0x000D
52 #define PORTC_ADDR 0x000E
53 #define PIR1_ADDR 0x0011
54 #define PIR2_ADDR 0x0012
55 #define PIR3_ADDR 0x0013
56 #define PIR4_ADDR 0x0014
57 #define TMR0_ADDR 0x0015
58 #define TMR1_ADDR 0x0016
59 #define TMR1L_ADDR 0x0016
60 #define TMR1H_ADDR 0x0017
61 #define T1CON_ADDR 0x0018
62 #define T1GCON_ADDR 0x0019
63 #define T2TMR_ADDR 0x001A
64 #define TMR2_ADDR 0x001A
65 #define PR2_ADDR 0x001B
66 #define T2PR_ADDR 0x001B
67 #define T2CON_ADDR 0x001C
68 #define T2HLT_ADDR 0x001D
69 #define T2CLKCON_ADDR 0x001E
70 #define T2RST_ADDR 0x001F
71 #define TRISA_ADDR 0x008C
72 #define TRISB_ADDR 0x008D
73 #define TRISC_ADDR 0x008E
74 #define PIE1_ADDR 0x0091
75 #define PIE2_ADDR 0x0092
76 #define PIE3_ADDR 0x0093
77 #define PIE4_ADDR 0x0094
78 #define OPTION_REG_ADDR 0x0095
79 #define PCON_ADDR 0x0096
80 #define WDTCON_ADDR 0x0097
81 #define OSCTUNE_ADDR 0x0098
82 #define OSCCON_ADDR 0x0099
83 #define OSCSTAT_ADDR 0x009A
84 #define ADRES_ADDR 0x009B
85 #define ADRESL_ADDR 0x009B
86 #define ADRESH_ADDR 0x009C
87 #define ADCON0_ADDR 0x009D
88 #define ADCON1_ADDR 0x009E
89 #define ADCON2_ADDR 0x009F
90 #define LATA_ADDR 0x010C
91 #define LATB_ADDR 0x010D
92 #define LATC_ADDR 0x010E
93 #define CMOUT_ADDR 0x010F
94 #define CM1CON0_ADDR 0x0110
95 #define CM1CON1_ADDR 0x0111
96 #define CM1NSEL_ADDR 0x0112
97 #define CM1PSEL_ADDR 0x0113
98 #define CM2CON0_ADDR 0x0114
99 #define CM2CON1_ADDR 0x0115
100 #define CM2NSEL_ADDR 0x0116
101 #define CM2PSEL_ADDR 0x0117
102 #define CM3CON0_ADDR 0x0118
103 #define CM3CON1_ADDR 0x0119
104 #define CM3NSEL_ADDR 0x011A
105 #define CM3PSEL_ADDR 0x011B
106 #define CM4CON0_ADDR 0x011C
107 #define CM4CON1_ADDR 0x011D
108 #define CM4NSEL_ADDR 0x011E
109 #define CM4PSEL_ADDR 0x011F
110 #define ANSELA_ADDR 0x018C
111 #define ANSELB_ADDR 0x018D
112 #define ANSELC_ADDR 0x018E
113 #define PMADR_ADDR 0x0191
114 #define PMADRL_ADDR 0x0191
115 #define PMADRH_ADDR 0x0192
116 #define PMDAT_ADDR 0x0193
117 #define PMDATL_ADDR 0x0193
118 #define PMDATH_ADDR 0x0194
119 #define PMCON1_ADDR 0x0195
120 #define PMCON2_ADDR 0x0196
121 #define VREGCON_ADDR 0x0197
122 #define RC1REG_ADDR 0x0199
123 #define RCREG_ADDR 0x0199
124 #define RCREG1_ADDR 0x0199
125 #define TX1REG_ADDR 0x019A
126 #define TXREG_ADDR 0x019A
127 #define TXREG1_ADDR 0x019A
128 #define SP1BRG_ADDR 0x019B
129 #define SP1BRGL_ADDR 0x019B
130 #define SPBRG_ADDR 0x019B
131 #define SPBRG1_ADDR 0x019B
132 #define SPBRGL_ADDR 0x019B
133 #define SP1BRGH_ADDR 0x019C
134 #define SPBRGH_ADDR 0x019C
135 #define SPBRGH1_ADDR 0x019C
136 #define RC1STA_ADDR 0x019D
137 #define RCSTA_ADDR 0x019D
138 #define RCSTA1_ADDR 0x019D
139 #define TX1STA_ADDR 0x019E
140 #define TXSTA_ADDR 0x019E
141 #define TXSTA1_ADDR 0x019E
142 #define BAUD1CON_ADDR 0x019F
143 #define BAUDCON_ADDR 0x019F
144 #define BAUDCON1_ADDR 0x019F
145 #define BAUDCTL_ADDR 0x019F
146 #define BAUDCTL1_ADDR 0x019F
147 #define WPUA_ADDR 0x020C
148 #define WPUB_ADDR 0x020D
149 #define WPUC_ADDR 0x020E
150 #define SSP1BUF_ADDR 0x0211
151 #define SSPBUF_ADDR 0x0211
152 #define SSP1ADD_ADDR 0x0212
153 #define SSPADD_ADDR 0x0212
154 #define SSP1MSK_ADDR 0x0213
155 #define SSPMSK_ADDR 0x0213
156 #define SSP1STAT_ADDR 0x0214
157 #define SSPSTAT_ADDR 0x0214
158 #define SSP1CON_ADDR 0x0215
159 #define SSP1CON1_ADDR 0x0215
160 #define SSPCON_ADDR 0x0215
161 #define SSPCON1_ADDR 0x0215
162 #define SSP1CON2_ADDR 0x0216
163 #define SSPCON2_ADDR 0x0216
164 #define SSP1CON3_ADDR 0x0217
165 #define SSPCON3_ADDR 0x0217
166 #define BORCON_ADDR 0x021D
167 #define FVRCON_ADDR 0x021E
168 #define ZCD1CON_ADDR 0x021F
169 #define ODCONA_ADDR 0x028C
170 #define ODCONB_ADDR 0x028D
171 #define ODCONC_ADDR 0x028E
172 #define CCPR1_ADDR 0x0291
173 #define CCPR1L_ADDR 0x0291
174 #define CCPR1H_ADDR 0x0292
175 #define CCP1CON_ADDR 0x0293
176 #define CCP1CAP_ADDR 0x0294
177 #define CCPR2_ADDR 0x0298
178 #define CCPR2L_ADDR 0x0298
179 #define CCPR2H_ADDR 0x0299
180 #define CCP2CON_ADDR 0x029A
181 #define CCP2CAP_ADDR 0x029B
182 #define CCPTMRS_ADDR 0x029E
183 #define SLRCONA_ADDR 0x030C
184 #define SLRCONB_ADDR 0x030D
185 #define SLRCONC_ADDR 0x030E
186 #define MD2CON0_ADDR 0x031B
187 #define MD2CON1_ADDR 0x031C
188 #define MD2SRC_ADDR 0x031D
189 #define MD2CARL_ADDR 0x031E
190 #define MD2CARH_ADDR 0x031F
191 #define INLVLA_ADDR 0x038C
192 #define INLVLB_ADDR 0x038D
193 #define INLVLC_ADDR 0x038E
194 #define IOCAP_ADDR 0x0391
195 #define IOCAN_ADDR 0x0392
196 #define IOCAF_ADDR 0x0393
197 #define IOCBP_ADDR 0x0394
198 #define IOCBN_ADDR 0x0395
199 #define IOCBF_ADDR 0x0396
200 #define IOCCP_ADDR 0x0397
201 #define IOCCN_ADDR 0x0398
202 #define IOCCF_ADDR 0x0399
203 #define MD1CON0_ADDR 0x039B
204 #define MD1CON1_ADDR 0x039C
205 #define MD1SRC_ADDR 0x039D
206 #define MD1CARL_ADDR 0x039E
207 #define MD1CARH_ADDR 0x039F
208 #define HIDRVC_ADDR 0x040E
209 #define T4TMR_ADDR 0x0413
210 #define TMR4_ADDR 0x0413
211 #define PR4_ADDR 0x0414
212 #define T4PR_ADDR 0x0414
213 #define T4CON_ADDR 0x0415
214 #define T4HLT_ADDR 0x0416
215 #define T4CLKCON_ADDR 0x0417
216 #define T4RST_ADDR 0x0418
217 #define T6TMR_ADDR 0x041A
218 #define TMR6_ADDR 0x041A
219 #define PR6_ADDR 0x041B
220 #define T6PR_ADDR 0x041B
221 #define T6CON_ADDR 0x041C
222 #define T6HLT_ADDR 0x041D
223 #define T6CLKCON_ADDR 0x041E
224 #define T6RST_ADDR 0x041F
225 #define TMR3_ADDR 0x0493
226 #define TMR3L_ADDR 0x0493
227 #define TMR3H_ADDR 0x0494
228 #define T3CON_ADDR 0x0495
229 #define T3GCON_ADDR 0x0496
230 #define TMR5_ADDR 0x049A
231 #define TMR5L_ADDR 0x049A
232 #define TMR5H_ADDR 0x049B
233 #define T5CON_ADDR 0x049C
234 #define T5GCON_ADDR 0x049D
235 #define OPA1NCHS_ADDR 0x050F
236 #define OPA1PCHS_ADDR 0x0510
237 #define OPA1CON_ADDR 0x0511
238 #define OPA1ORS_ADDR 0x0512
239 #define OPA2NCHS_ADDR 0x0513
240 #define OPA2PCHS_ADDR 0x0514
241 #define OPA2CON_ADDR 0x0515
242 #define OPA2ORS_ADDR 0x0516
243 #define DACLD_ADDR 0x0590
244 #define DAC1CON0_ADDR 0x0591
245 #define DAC1CON1_ADDR 0x0592
246 #define DAC1REF_ADDR 0x0592
247 #define DAC1REFL_ADDR 0x0592
248 #define DAC1CON2_ADDR 0x0593
249 #define DAC1REFH_ADDR 0x0593
250 #define DAC2CON0_ADDR 0x0594
251 #define DAC2CON1_ADDR 0x0595
252 #define DAC2REF_ADDR 0x0595
253 #define DAC2REFL_ADDR 0x0595
254 #define DAC2CON2_ADDR 0x0596
255 #define DAC2REFH_ADDR 0x0596
256 #define DAC3CON0_ADDR 0x0597
257 #define DAC3CON1_ADDR 0x0598
258 #define DAC3REF_ADDR 0x0598
259 #define DAC4CON0_ADDR 0x0599
260 #define DAC4CON1_ADDR 0x059A
261 #define DAC4REF_ADDR 0x059A
262 #define PWM3DCL_ADDR 0x0617
263 #define PWM3DCH_ADDR 0x0618
264 #define PWM3CON_ADDR 0x0619
265 #define PWM4DCL_ADDR 0x061A
266 #define PWM4DCH_ADDR 0x061B
267 #define PWM4CON_ADDR 0x061C
268 #define COG1PHR_ADDR 0x068D
269 #define COG1PHF_ADDR 0x068E
270 #define COG1BLKR_ADDR 0x068F
271 #define COG1BLKF_ADDR 0x0690
272 #define COG1DBR_ADDR 0x0691
273 #define COG1DBF_ADDR 0x0692
274 #define COG1CON0_ADDR 0x0693
275 #define COG1CON1_ADDR 0x0694
276 #define COG1RIS0_ADDR 0x0695
277 #define COG1RIS1_ADDR 0x0696
278 #define COG1RSIM0_ADDR 0x0697
279 #define COG1RSIM1_ADDR 0x0698
280 #define COG1FIS0_ADDR 0x0699
281 #define COG1FIS1_ADDR 0x069A
282 #define COG1FSIM0_ADDR 0x069B
283 #define COG1FSIM1_ADDR 0x069C
284 #define COG1ASD0_ADDR 0x069D
285 #define COG1ASD1_ADDR 0x069E
286 #define COG1STR_ADDR 0x069F
287 #define COG2PHR_ADDR 0x070D
288 #define COG2PHF_ADDR 0x070E
289 #define COG2BLKR_ADDR 0x070F
290 #define COG2BLKF_ADDR 0x0710
291 #define COG2DBR_ADDR 0x0711
292 #define COG2DBF_ADDR 0x0712
293 #define COG2CON0_ADDR 0x0713
294 #define COG2CON1_ADDR 0x0714
295 #define COG2RIS0_ADDR 0x0715
296 #define COG2RIS1_ADDR 0x0716
297 #define COG2RSIM0_ADDR 0x0717
298 #define COG2RSIM1_ADDR 0x0718
299 #define COG2FIS0_ADDR 0x0719
300 #define COG2FIS1_ADDR 0x071A
301 #define COG2FSIM0_ADDR 0x071B
302 #define COG2FSIM1_ADDR 0x071C
303 #define COG2ASD0_ADDR 0x071D
304 #define COG2ASD1_ADDR 0x071E
305 #define COG2STR_ADDR 0x071F
306 #define PRG1RTSS_ADDR 0x0794
307 #define PRG1FTSS_ADDR 0x0795
308 #define PRG1INS_ADDR 0x0796
309 #define PRG1CON0_ADDR 0x0797
310 #define PRG1CON1_ADDR 0x0798
311 #define PRG1CON2_ADDR 0x0799
312 #define PRG2RTSS_ADDR 0x079A
313 #define PRG2FTSS_ADDR 0x079B
314 #define PRG2INS_ADDR 0x079C
315 #define PRG2CON0_ADDR 0x079D
316 #define PRG2CON1_ADDR 0x079E
317 #define PRG2CON2_ADDR 0x079F
318 #define PWMEN_ADDR 0x0D8E
319 #define PWMLD_ADDR 0x0D8F
320 #define PWMOUT_ADDR 0x0D90
321 #define PWM5PH_ADDR 0x0D91
322 #define PWM5PHL_ADDR 0x0D91
323 #define PWM5PHH_ADDR 0x0D92
324 #define PWM5DC_ADDR 0x0D93
325 #define PWM5DCL_ADDR 0x0D93
326 #define PWM5DCH_ADDR 0x0D94
327 #define PWM5PR_ADDR 0x0D95
328 #define PWM5PRL_ADDR 0x0D95
329 #define PWM5PRH_ADDR 0x0D96
330 #define PWM5OF_ADDR 0x0D97
331 #define PWM5OFL_ADDR 0x0D97
332 #define PWM5OFH_ADDR 0x0D98
333 #define PWM5TMR_ADDR 0x0D99
334 #define PWM5TMRL_ADDR 0x0D99
335 #define PWM5TMRH_ADDR 0x0D9A
336 #define PWM5CON_ADDR 0x0D9B
337 #define PWM5INTCON_ADDR 0x0D9C
338 #define PWM5INTE_ADDR 0x0D9C
339 #define PWM5INTF_ADDR 0x0D9D
340 #define PWM5INTFLG_ADDR 0x0D9D
341 #define PWM5CLKCON_ADDR 0x0D9E
342 #define PWM5LDCON_ADDR 0x0D9F
343 #define PWM5OFCON_ADDR 0x0DA0
344 #define PWM6PH_ADDR 0x0DA1
345 #define PWM6PHL_ADDR 0x0DA1
346 #define PWM6PHH_ADDR 0x0DA2
347 #define PWM6DC_ADDR 0x0DA3
348 #define PWM6DCL_ADDR 0x0DA3
349 #define PWM6DCH_ADDR 0x0DA4
350 #define PWM6PR_ADDR 0x0DA5
351 #define PWM6PRL_ADDR 0x0DA5
352 #define PWM6PRH_ADDR 0x0DA6
353 #define PWM6OF_ADDR 0x0DA7
354 #define PWM6OFL_ADDR 0x0DA7
355 #define PWM6OFH_ADDR 0x0DA8
356 #define PWM6TMR_ADDR 0x0DA9
357 #define PWM6TMRL_ADDR 0x0DA9
358 #define PWM6TMRH_ADDR 0x0DAA
359 #define PWM6CON_ADDR 0x0DAB
360 #define PWM6INTCON_ADDR 0x0DAC
361 #define PWM6INTE_ADDR 0x0DAC
362 #define PWM6INTF_ADDR 0x0DAD
363 #define PWM6INTFLG_ADDR 0x0DAD
364 #define PWM6CLKCON_ADDR 0x0DAE
365 #define PWM6LDCON_ADDR 0x0DAF
366 #define PWM6OFCON_ADDR 0x0DB0
367 #define PPSLOCK_ADDR 0x0E0F
368 #define INTPPS_ADDR 0x0E10
369 #define T0CKIPPS_ADDR 0x0E11
370 #define T1CKIPPS_ADDR 0x0E12
371 #define T1GPPS_ADDR 0x0E13
372 #define CCP1PPS_ADDR 0x0E14
373 #define CCP2PPS_ADDR 0x0E15
374 #define COG1INPPS_ADDR 0x0E16
375 #define COG2INPPS_ADDR 0x0E17
376 #define T2CKIPPS_ADDR 0x0E19
377 #define T3CKIPPS_ADDR 0x0E1A
378 #define T3GPPS_ADDR 0x0E1B
379 #define T4CKIPPS_ADDR 0x0E1C
380 #define T5CKIPPS_ADDR 0x0E1D
381 #define T5GPPS_ADDR 0x0E1E
382 #define T6CKIPPS_ADDR 0x0E1F
383 #define SSPCLKPPS_ADDR 0x0E20
384 #define SSPDATPPS_ADDR 0x0E21
385 #define SSPSSPPS_ADDR 0x0E22
386 #define RXPPS_ADDR 0x0E24
387 #define CKPPS_ADDR 0x0E25
388 #define CLCIN0PPS_ADDR 0x0E28
389 #define CLCIN1PPS_ADDR 0x0E29
390 #define CLCIN2PPS_ADDR 0x0E2A
391 #define CLCIN3PPS_ADDR 0x0E2B
392 #define PRG1RPPS_ADDR 0x0E2C
393 #define PRG1FPPS_ADDR 0x0E2D
394 #define PRG2RPPS_ADDR 0x0E2E
395 #define PRG2FPPS_ADDR 0x0E2F
396 #define MD1CHPPS_ADDR 0x0E30
397 #define MD1CLPPS_ADDR 0x0E31
398 #define MD1MODPPS_ADDR 0x0E32
399 #define MD2CHPPS_ADDR 0x0E33
400 #define MD2CLPPS_ADDR 0x0E34
401 #define MD2MODPPS_ADDR 0x0E35
402 #define RA0PPS_ADDR 0x0E90
403 #define RA1PPS_ADDR 0x0E91
404 #define RA2PPS_ADDR 0x0E92
405 #define RA4PPS_ADDR 0x0E94
406 #define RA5PPS_ADDR 0x0E95
407 #define RB4PPS_ADDR 0x0E9C
408 #define RB5PPS_ADDR 0x0E9D
409 #define RB6PPS_ADDR 0x0E9E
410 #define RB7PPS_ADDR 0x0E9F
411 #define RC0PPS_ADDR 0x0EA0
412 #define RC1PPS_ADDR 0x0EA1
413 #define RC2PPS_ADDR 0x0EA2
414 #define RC3PPS_ADDR 0x0EA3
415 #define RC4PPS_ADDR 0x0EA4
416 #define RC5PPS_ADDR 0x0EA5
417 #define RC6PPS_ADDR 0x0EA6
418 #define RC7PPS_ADDR 0x0EA7
419 #define CLCDATA_ADDR 0x0F0F
420 #define CLC1CON_ADDR 0x0F10
421 #define CLC1POL_ADDR 0x0F11
422 #define CLC1SEL0_ADDR 0x0F12
423 #define CLC1SEL1_ADDR 0x0F13
424 #define CLC1SEL2_ADDR 0x0F14
425 #define CLC1SEL3_ADDR 0x0F15
426 #define CLC1GLS0_ADDR 0x0F16
427 #define CLC1GLS1_ADDR 0x0F17
428 #define CLC1GLS2_ADDR 0x0F18
429 #define CLC1GLS3_ADDR 0x0F19
430 #define CLC2CON_ADDR 0x0F1A
431 #define CLC2POL_ADDR 0x0F1B
432 #define CLC2SEL0_ADDR 0x0F1C
433 #define CLC2SEL1_ADDR 0x0F1D
434 #define CLC2SEL2_ADDR 0x0F1E
435 #define CLC2SEL3_ADDR 0x0F1F
436 #define CLC2GLS0_ADDR 0x0F20
437 #define CLC2GLS1_ADDR 0x0F21
438 #define CLC2GLS2_ADDR 0x0F22
439 #define CLC2GLS3_ADDR 0x0F23
440 #define CLC3CON_ADDR 0x0F24
441 #define CLC3POL_ADDR 0x0F25
442 #define CLC3SEL0_ADDR 0x0F26
443 #define CLC3SEL1_ADDR 0x0F27
444 #define CLC3SEL2_ADDR 0x0F28
445 #define CLC3SEL3_ADDR 0x0F29
446 #define CLC3GLS0_ADDR 0x0F2A
447 #define CLC3GLS1_ADDR 0x0F2B
448 #define CLC3GLS2_ADDR 0x0F2C
449 #define CLC3GLS3_ADDR 0x0F2D
450 #define STATUS_SHAD_ADDR 0x0FE4
451 #define WREG_SHAD_ADDR 0x0FE5
452 #define BSR_SHAD_ADDR 0x0FE6
453 #define PCLATH_SHAD_ADDR 0x0FE7
454 #define FSR0L_SHAD_ADDR 0x0FE8
455 #define FSR0H_SHAD_ADDR 0x0FE9
456 #define FSR1L_SHAD_ADDR 0x0FEA
457 #define FSR1H_SHAD_ADDR 0x0FEB
458 #define STKPTR_ADDR 0x0FED
459 #define TOSL_ADDR 0x0FEE
460 #define TOSH_ADDR 0x0FEF
462 #endif // #ifndef NO_ADDR_DEFINES
464 //==============================================================================
466 // Register Definitions
468 //==============================================================================
470 extern __at(0x0000) __sfr INDF0
;
471 extern __at(0x0001) __sfr INDF1
;
472 extern __at(0x0002) __sfr PCL
;
474 //==============================================================================
477 extern __at(0x0003) __sfr STATUS
;
491 extern __at(0x0003) volatile __STATUSbits_t STATUSbits
;
499 //==============================================================================
501 extern __at(0x0004) __sfr FSR0
;
502 extern __at(0x0004) __sfr FSR0L
;
503 extern __at(0x0005) __sfr FSR0H
;
504 extern __at(0x0006) __sfr FSR1
;
505 extern __at(0x0006) __sfr FSR1L
;
506 extern __at(0x0007) __sfr FSR1H
;
508 //==============================================================================
511 extern __at(0x0008) __sfr BSR
;
534 extern __at(0x0008) volatile __BSRbits_t BSRbits
;
542 //==============================================================================
544 extern __at(0x0009) __sfr WREG
;
545 extern __at(0x000A) __sfr PCLATH
;
547 //==============================================================================
550 extern __at(0x000B) __sfr INTCON
;
579 extern __at(0x000B) volatile __INTCONbits_t INTCONbits
;
592 //==============================================================================
595 //==============================================================================
598 extern __at(0x000C) __sfr PORTA
;
621 extern __at(0x000C) volatile __PORTAbits_t PORTAbits
;
630 //==============================================================================
633 //==============================================================================
636 extern __at(0x000D) __sfr PORTB
;
650 extern __at(0x000D) volatile __PORTBbits_t PORTBbits
;
657 //==============================================================================
660 //==============================================================================
663 extern __at(0x000E) __sfr PORTC
;
677 extern __at(0x000E) volatile __PORTCbits_t PORTCbits
;
688 //==============================================================================
691 //==============================================================================
694 extern __at(0x0011) __sfr PIR1
;
707 unsigned TMR1GIF
: 1;
723 extern __at(0x0011) volatile __PIR1bits_t PIR1bits
;
733 #define _TMR1GIF 0x80
735 //==============================================================================
738 //==============================================================================
741 extern __at(0x0012) __sfr PIR2
;
755 extern __at(0x0012) volatile __PIR2bits_t PIR2bits
;
765 //==============================================================================
768 //==============================================================================
771 extern __at(0x0013) __sfr PIR3
;
785 extern __at(0x0013) volatile __PIR3bits_t PIR3bits
;
796 //==============================================================================
799 //==============================================================================
802 extern __at(0x0014) __sfr PIR4
;
809 unsigned TMR3GIF
: 1;
811 unsigned TMR5GIF
: 1;
816 extern __at(0x0014) volatile __PIR4bits_t PIR4bits
;
821 #define _TMR3GIF 0x08
823 #define _TMR5GIF 0x20
825 //==============================================================================
827 extern __at(0x0015) __sfr TMR0
;
828 extern __at(0x0016) __sfr TMR1
;
829 extern __at(0x0016) __sfr TMR1L
;
830 extern __at(0x0017) __sfr TMR1H
;
832 //==============================================================================
835 extern __at(0x0018) __sfr T1CON
;
843 unsigned NOT_SYNC
: 1;
857 unsigned T1CKPS0
: 1;
858 unsigned T1CKPS1
: 1;
867 unsigned NOT_T1SYNC
: 1;
868 unsigned T1OSCEN
: 1;
871 unsigned TMR1CS0
: 1;
872 unsigned TMR1CS1
: 1;
920 extern __at(0x0018) volatile __T1CONbits_t T1CONbits
;
922 #define _T1CON_ON 0x01
923 #define _T1CON_TMRON 0x01
924 #define _T1CON_TMR1ON 0x01
925 #define _T1CON_T1ON 0x01
926 #define _T1CON_NOT_SYNC 0x04
927 #define _T1CON_SYNC 0x04
928 #define _T1CON_NOT_T1SYNC 0x04
929 #define _T1CON_OSCEN 0x08
930 #define _T1CON_SOSCEN 0x08
931 #define _T1CON_T1OSCEN 0x08
932 #define _T1CON_CKPS0 0x10
933 #define _T1CON_T1CKPS0 0x10
934 #define _T1CON_CKPS1 0x20
935 #define _T1CON_T1CKPS1 0x20
936 #define _T1CON_CS0 0x40
937 #define _T1CON_T1CS0 0x40
938 #define _T1CON_TMR1CS0 0x40
939 #define _T1CON_CS1 0x80
940 #define _T1CON_T1CS1 0x80
941 #define _T1CON_TMR1CS1 0x80
943 //==============================================================================
946 //==============================================================================
949 extern __at(0x0019) __sfr T1GCON
;
958 unsigned GGO_NOT_DONE
: 1;
970 unsigned T1GGO_NOT_DONE
: 1;
1002 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits
;
1005 #define _T1GSS0 0x01
1007 #define _T1GSS1 0x02
1009 #define _T1GVAL 0x04
1010 #define _GGO_NOT_DONE 0x08
1011 #define _T1GGO_NOT_DONE 0x08
1013 #define _T1GSPM 0x10
1017 #define _T1GPOL 0x40
1020 #define _TMR1GE 0x80
1022 //==============================================================================
1024 extern __at(0x001A) __sfr T2TMR
;
1025 extern __at(0x001A) __sfr TMR2
;
1026 extern __at(0x001B) __sfr PR2
;
1027 extern __at(0x001B) __sfr T2PR
;
1029 //==============================================================================
1032 extern __at(0x001C) __sfr T2CON
;
1038 unsigned OUTPS0
: 1;
1039 unsigned OUTPS1
: 1;
1040 unsigned OUTPS2
: 1;
1041 unsigned OUTPS3
: 1;
1050 unsigned T2OUTPS0
: 1;
1051 unsigned T2OUTPS1
: 1;
1052 unsigned T2OUTPS2
: 1;
1053 unsigned T2OUTPS3
: 1;
1054 unsigned T2CKPS0
: 1;
1055 unsigned T2CKPS1
: 1;
1056 unsigned T2CKPS2
: 1;
1069 unsigned TMR2ON
: 1;
1074 unsigned T2OUTPS
: 4;
1087 unsigned T2CKPS
: 3;
1099 extern __at(0x001C) volatile __T2CONbits_t T2CONbits
;
1101 #define _T2CON_OUTPS0 0x01
1102 #define _T2CON_T2OUTPS0 0x01
1103 #define _T2CON_OUTPS1 0x02
1104 #define _T2CON_T2OUTPS1 0x02
1105 #define _T2CON_OUTPS2 0x04
1106 #define _T2CON_T2OUTPS2 0x04
1107 #define _T2CON_OUTPS3 0x08
1108 #define _T2CON_T2OUTPS3 0x08
1109 #define _T2CON_CKPS0 0x10
1110 #define _T2CON_T2CKPS0 0x10
1111 #define _T2CON_CKPS1 0x20
1112 #define _T2CON_T2CKPS1 0x20
1113 #define _T2CON_CKPS2 0x40
1114 #define _T2CON_T2CKPS2 0x40
1115 #define _T2CON_ON 0x80
1116 #define _T2CON_T2ON 0x80
1117 #define _T2CON_TMR2ON 0x80
1119 //==============================================================================
1122 //==============================================================================
1125 extern __at(0x001D) __sfr T2HLT
;
1136 unsigned CKSYNC
: 1;
1143 unsigned T2MODE0
: 1;
1144 unsigned T2MODE1
: 1;
1145 unsigned T2MODE2
: 1;
1146 unsigned T2MODE3
: 1;
1147 unsigned T2MODE4
: 1;
1148 unsigned T2CKSYNC
: 1;
1149 unsigned T2CKPOL
: 1;
1150 unsigned T2PSYNC
: 1;
1155 unsigned T2MODE
: 5;
1166 extern __at(0x001D) volatile __T2HLTbits_t T2HLTbits
;
1168 #define _T2HLT_MODE0 0x01
1169 #define _T2HLT_T2MODE0 0x01
1170 #define _T2HLT_MODE1 0x02
1171 #define _T2HLT_T2MODE1 0x02
1172 #define _T2HLT_MODE2 0x04
1173 #define _T2HLT_T2MODE2 0x04
1174 #define _T2HLT_MODE3 0x08
1175 #define _T2HLT_T2MODE3 0x08
1176 #define _T2HLT_MODE4 0x10
1177 #define _T2HLT_T2MODE4 0x10
1178 #define _T2HLT_CKSYNC 0x20
1179 #define _T2HLT_T2CKSYNC 0x20
1180 #define _T2HLT_CKPOL 0x40
1181 #define _T2HLT_T2CKPOL 0x40
1182 #define _T2HLT_PSYNC 0x80
1183 #define _T2HLT_T2PSYNC 0x80
1185 //==============================================================================
1188 //==============================================================================
1191 extern __at(0x001E) __sfr T2CLKCON
;
1232 extern __at(0x001E) volatile __T2CLKCONbits_t T2CLKCONbits
;
1234 #define _T2CLKCON_CS0 0x01
1235 #define _T2CLKCON_T2CS0 0x01
1236 #define _T2CLKCON_CS1 0x02
1237 #define _T2CLKCON_T2CS1 0x02
1238 #define _T2CLKCON_CS2 0x04
1239 #define _T2CLKCON_T2CS2 0x04
1240 #define _T2CLKCON_CS3 0x08
1241 #define _T2CLKCON_T2CS3 0x08
1243 //==============================================================================
1246 //==============================================================================
1249 extern __at(0x001F) __sfr T2RST
;
1267 unsigned T2RSEL0
: 1;
1268 unsigned T2RSEL1
: 1;
1269 unsigned T2RSEL2
: 1;
1270 unsigned T2RSEL3
: 1;
1279 unsigned T2RSEL
: 4;
1290 extern __at(0x001F) volatile __T2RSTbits_t T2RSTbits
;
1293 #define _T2RSEL0 0x01
1295 #define _T2RSEL1 0x02
1297 #define _T2RSEL2 0x04
1299 #define _T2RSEL3 0x08
1301 //==============================================================================
1304 //==============================================================================
1307 extern __at(0x008C) __sfr TRISA
;
1311 unsigned TRISA0
: 1;
1312 unsigned TRISA1
: 1;
1313 unsigned TRISA2
: 1;
1315 unsigned TRISA4
: 1;
1316 unsigned TRISA5
: 1;
1321 extern __at(0x008C) volatile __TRISAbits_t TRISAbits
;
1323 #define _TRISA0 0x01
1324 #define _TRISA1 0x02
1325 #define _TRISA2 0x04
1326 #define _TRISA4 0x10
1327 #define _TRISA5 0x20
1329 //==============================================================================
1332 //==============================================================================
1335 extern __at(0x008D) __sfr TRISB
;
1343 unsigned TRISB4
: 1;
1344 unsigned TRISB5
: 1;
1345 unsigned TRISB6
: 1;
1346 unsigned TRISB7
: 1;
1349 extern __at(0x008D) volatile __TRISBbits_t TRISBbits
;
1351 #define _TRISB4 0x10
1352 #define _TRISB5 0x20
1353 #define _TRISB6 0x40
1354 #define _TRISB7 0x80
1356 //==============================================================================
1359 //==============================================================================
1362 extern __at(0x008E) __sfr TRISC
;
1366 unsigned TRISC0
: 1;
1367 unsigned TRISC1
: 1;
1368 unsigned TRISC2
: 1;
1369 unsigned TRISC3
: 1;
1370 unsigned TRISC4
: 1;
1371 unsigned TRISC5
: 1;
1372 unsigned TRISC6
: 1;
1373 unsigned TRISC7
: 1;
1376 extern __at(0x008E) volatile __TRISCbits_t TRISCbits
;
1378 #define _TRISC0 0x01
1379 #define _TRISC1 0x02
1380 #define _TRISC2 0x04
1381 #define _TRISC3 0x08
1382 #define _TRISC4 0x10
1383 #define _TRISC5 0x20
1384 #define _TRISC6 0x40
1385 #define _TRISC7 0x80
1387 //==============================================================================
1390 //==============================================================================
1393 extern __at(0x0091) __sfr PIE1
;
1399 unsigned TMR1IE
: 1;
1400 unsigned TMR2IE
: 1;
1401 unsigned CCP1IE
: 1;
1402 unsigned SSP1IE
: 1;
1406 unsigned TMR1GIE
: 1;
1422 extern __at(0x0091) volatile __PIE1bits_t PIE1bits
;
1424 #define _TMR1IE 0x01
1425 #define _TMR2IE 0x02
1426 #define _CCP1IE 0x04
1428 #define _SSP1IE 0x08
1432 #define _TMR1GIE 0x80
1434 //==============================================================================
1437 //==============================================================================
1440 extern __at(0x0092) __sfr PIE2
;
1444 unsigned CCP2IE
: 1;
1447 unsigned BCL1IE
: 1;
1454 extern __at(0x0092) volatile __PIE2bits_t PIE2bits
;
1456 #define _CCP2IE 0x01
1459 #define _BCL1IE 0x08
1464 //==============================================================================
1467 //==============================================================================
1470 extern __at(0x0093) __sfr PIE3
;
1474 unsigned CLC1IE
: 1;
1475 unsigned CLC2IE
: 1;
1476 unsigned CLC3IE
: 1;
1477 unsigned COG2IE
: 1;
1480 unsigned PWM5IE
: 1;
1481 unsigned PWM6IE
: 1;
1484 extern __at(0x0093) volatile __PIE3bits_t PIE3bits
;
1486 #define _CLC1IE 0x01
1487 #define _CLC2IE 0x02
1488 #define _CLC3IE 0x04
1489 #define _COG2IE 0x08
1492 #define _PWM5IE 0x40
1493 #define _PWM6IE 0x80
1495 //==============================================================================
1498 //==============================================================================
1501 extern __at(0x0094) __sfr PIE4
;
1505 unsigned TMR4IE
: 1;
1506 unsigned TMR6IE
: 1;
1507 unsigned TMR3IE
: 1;
1508 unsigned TMR3GIE
: 1;
1509 unsigned TMR5IE
: 1;
1510 unsigned TMR5GIE
: 1;
1515 extern __at(0x0094) volatile __PIE4bits_t PIE4bits
;
1517 #define _TMR4IE 0x01
1518 #define _TMR6IE 0x02
1519 #define _TMR3IE 0x04
1520 #define _TMR3GIE 0x08
1521 #define _TMR5IE 0x10
1522 #define _TMR5GIE 0x20
1524 //==============================================================================
1527 //==============================================================================
1530 extern __at(0x0095) __sfr OPTION_REG
;
1540 unsigned TMR0SE
: 1;
1541 unsigned TMR0CS
: 1;
1542 unsigned INTEDG
: 1;
1543 unsigned NOT_WPUEN
: 1;
1563 } __OPTION_REGbits_t
;
1565 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits
;
1571 #define _TMR0SE 0x10
1573 #define _TMR0CS 0x20
1575 #define _INTEDG 0x40
1576 #define _NOT_WPUEN 0x80
1578 //==============================================================================
1581 //==============================================================================
1584 extern __at(0x0096) __sfr PCON
;
1588 unsigned NOT_BOR
: 1;
1589 unsigned NOT_POR
: 1;
1590 unsigned NOT_RI
: 1;
1591 unsigned NOT_RMCLR
: 1;
1592 unsigned NOT_RWDT
: 1;
1594 unsigned STKUNF
: 1;
1595 unsigned STKOVF
: 1;
1598 extern __at(0x0096) volatile __PCONbits_t PCONbits
;
1600 #define _NOT_BOR 0x01
1601 #define _NOT_POR 0x02
1602 #define _NOT_RI 0x04
1603 #define _NOT_RMCLR 0x08
1604 #define _NOT_RWDT 0x10
1605 #define _STKUNF 0x40
1606 #define _STKOVF 0x80
1608 //==============================================================================
1611 //==============================================================================
1614 extern __at(0x0097) __sfr WDTCON
;
1620 unsigned SWDTEN
: 1;
1621 unsigned WDTPS0
: 1;
1622 unsigned WDTPS1
: 1;
1623 unsigned WDTPS2
: 1;
1624 unsigned WDTPS3
: 1;
1625 unsigned WDTPS4
: 1;
1638 extern __at(0x0097) volatile __WDTCONbits_t WDTCONbits
;
1640 #define _SWDTEN 0x01
1641 #define _WDTPS0 0x02
1642 #define _WDTPS1 0x04
1643 #define _WDTPS2 0x08
1644 #define _WDTPS3 0x10
1645 #define _WDTPS4 0x20
1647 //==============================================================================
1650 //==============================================================================
1653 extern __at(0x0098) __sfr OSCTUNE
;
1676 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits
;
1685 //==============================================================================
1688 //==============================================================================
1691 extern __at(0x0099) __sfr OSCCON
;
1704 unsigned SPLLEN
: 1;
1721 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits
;
1729 #define _SPLLEN 0x80
1731 //==============================================================================
1734 //==============================================================================
1737 extern __at(0x009A) __sfr OSCSTAT
;
1741 unsigned HFIOFS
: 1;
1742 unsigned LFIOFR
: 1;
1743 unsigned MFIOFR
: 1;
1744 unsigned HFIOFL
: 1;
1745 unsigned HFIOFR
: 1;
1751 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits
;
1753 #define _HFIOFS 0x01
1754 #define _LFIOFR 0x02
1755 #define _MFIOFR 0x04
1756 #define _HFIOFL 0x08
1757 #define _HFIOFR 0x10
1762 //==============================================================================
1764 extern __at(0x009B) __sfr ADRES
;
1765 extern __at(0x009B) __sfr ADRESL
;
1766 extern __at(0x009C) __sfr ADRESH
;
1768 //==============================================================================
1771 extern __at(0x009D) __sfr ADCON0
;
1778 unsigned GO_NOT_DONE
: 1;
1819 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits
;
1822 #define _GO_NOT_DONE 0x02
1831 //==============================================================================
1834 //==============================================================================
1837 extern __at(0x009E) __sfr ADCON1
;
1843 unsigned ADPREF0
: 1;
1844 unsigned ADPREF1
: 1;
1845 unsigned ADNREF
: 1;
1855 unsigned ADPREF
: 2;
1860 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits
;
1862 #define _ADPREF0 0x01
1863 #define _ADPREF1 0x02
1864 #define _ADNREF 0x04
1867 //==============================================================================
1870 //==============================================================================
1873 extern __at(0x009F) __sfr ADCON2
;
1882 unsigned TRIGSEL0
: 1;
1883 unsigned TRIGSEL1
: 1;
1884 unsigned TRIGSEL2
: 1;
1885 unsigned TRIGSEL3
: 1;
1886 unsigned TRIGSEL4
: 1;
1892 unsigned TRIGSEL
: 5;
1896 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits
;
1898 #define _TRIGSEL0 0x08
1899 #define _TRIGSEL1 0x10
1900 #define _TRIGSEL2 0x20
1901 #define _TRIGSEL3 0x40
1902 #define _TRIGSEL4 0x80
1904 //==============================================================================
1907 //==============================================================================
1910 extern __at(0x010C) __sfr LATA
;
1924 extern __at(0x010C) volatile __LATAbits_t LATAbits
;
1932 //==============================================================================
1935 //==============================================================================
1938 extern __at(0x010D) __sfr LATB
;
1952 extern __at(0x010D) volatile __LATBbits_t LATBbits
;
1959 //==============================================================================
1962 //==============================================================================
1965 extern __at(0x010E) __sfr LATC
;
1979 extern __at(0x010E) volatile __LATCbits_t LATCbits
;
1990 //==============================================================================
1993 //==============================================================================
1996 extern __at(0x010F) __sfr CMOUT
;
2000 unsigned MC1OUT
: 1;
2001 unsigned MC2OUT
: 1;
2002 unsigned MC3OUT
: 1;
2003 unsigned MC4OUT
: 1;
2010 extern __at(0x010F) volatile __CMOUTbits_t CMOUTbits
;
2012 #define _MC1OUT 0x01
2013 #define _MC2OUT 0x02
2014 #define _MC3OUT 0x04
2015 #define _MC4OUT 0x08
2017 //==============================================================================
2020 //==============================================================================
2023 extern __at(0x0110) __sfr CM1CON0
;
2031 unsigned Reserved
: 1;
2041 unsigned C1SYNC
: 1;
2052 extern __at(0x0110) volatile __CM1CON0bits_t CM1CON0bits
;
2054 #define _CM1CON0_SYNC 0x01
2055 #define _CM1CON0_C1SYNC 0x01
2056 #define _CM1CON0_HYS 0x02
2057 #define _CM1CON0_C1HYS 0x02
2058 #define _CM1CON0_Reserved 0x04
2059 #define _CM1CON0_C1SP 0x04
2060 #define _CM1CON0_ZLF 0x08
2061 #define _CM1CON0_C1ZLF 0x08
2062 #define _CM1CON0_POL 0x10
2063 #define _CM1CON0_C1POL 0x10
2064 #define _CM1CON0_OUT 0x40
2065 #define _CM1CON0_C1OUT 0x40
2066 #define _CM1CON0_ON 0x80
2067 #define _CM1CON0_C1ON 0x80
2069 //==============================================================================
2072 //==============================================================================
2075 extern __at(0x0111) __sfr CM1CON1
;
2093 unsigned C1INTN
: 1;
2094 unsigned C1INTP
: 1;
2104 extern __at(0x0111) volatile __CM1CON1bits_t CM1CON1bits
;
2106 #define _CM1CON1_INTN 0x01
2107 #define _CM1CON1_C1INTN 0x01
2108 #define _CM1CON1_INTP 0x02
2109 #define _CM1CON1_C1INTP 0x02
2111 //==============================================================================
2114 //==============================================================================
2117 extern __at(0x0112) __sfr CM1NSEL
;
2135 unsigned C1NCH0
: 1;
2136 unsigned C1NCH1
: 1;
2137 unsigned C1NCH2
: 1;
2158 extern __at(0x0112) volatile __CM1NSELbits_t CM1NSELbits
;
2161 #define _C1NCH0 0x01
2163 #define _C1NCH1 0x02
2165 #define _C1NCH2 0x04
2167 //==============================================================================
2170 //==============================================================================
2173 extern __at(0x0113) __sfr CM1PSEL
;
2191 unsigned C1PCH0
: 1;
2192 unsigned C1PCH1
: 1;
2193 unsigned C1PCH2
: 1;
2194 unsigned C1PCH3
: 1;
2214 extern __at(0x0113) volatile __CM1PSELbits_t CM1PSELbits
;
2217 #define _C1PCH0 0x01
2219 #define _C1PCH1 0x02
2221 #define _C1PCH2 0x04
2223 #define _C1PCH3 0x08
2225 //==============================================================================
2228 //==============================================================================
2231 extern __at(0x0114) __sfr CM2CON0
;
2239 unsigned Reserved
: 1;
2249 unsigned C2SYNC
: 1;
2260 extern __at(0x0114) volatile __CM2CON0bits_t CM2CON0bits
;
2262 #define _CM2CON0_SYNC 0x01
2263 #define _CM2CON0_C2SYNC 0x01
2264 #define _CM2CON0_HYS 0x02
2265 #define _CM2CON0_C2HYS 0x02
2266 #define _CM2CON0_Reserved 0x04
2267 #define _CM2CON0_C2SP 0x04
2268 #define _CM2CON0_ZLF 0x08
2269 #define _CM2CON0_C2ZLF 0x08
2270 #define _CM2CON0_POL 0x10
2271 #define _CM2CON0_C2POL 0x10
2272 #define _CM2CON0_OUT 0x40
2273 #define _CM2CON0_C2OUT 0x40
2274 #define _CM2CON0_ON 0x80
2275 #define _CM2CON0_C2ON 0x80
2277 //==============================================================================
2280 //==============================================================================
2283 extern __at(0x0115) __sfr CM2CON1
;
2301 unsigned C2INTN
: 1;
2302 unsigned C2INTP
: 1;
2312 extern __at(0x0115) volatile __CM2CON1bits_t CM2CON1bits
;
2314 #define _CM2CON1_INTN 0x01
2315 #define _CM2CON1_C2INTN 0x01
2316 #define _CM2CON1_INTP 0x02
2317 #define _CM2CON1_C2INTP 0x02
2319 //==============================================================================
2322 //==============================================================================
2325 extern __at(0x0116) __sfr CM2NSEL
;
2343 unsigned C2NCH0
: 1;
2344 unsigned C2NCH1
: 1;
2345 unsigned C2NCH2
: 1;
2366 extern __at(0x0116) volatile __CM2NSELbits_t CM2NSELbits
;
2368 #define _CM2NSEL_NCH0 0x01
2369 #define _CM2NSEL_C2NCH0 0x01
2370 #define _CM2NSEL_NCH1 0x02
2371 #define _CM2NSEL_C2NCH1 0x02
2372 #define _CM2NSEL_NCH2 0x04
2373 #define _CM2NSEL_C2NCH2 0x04
2375 //==============================================================================
2378 //==============================================================================
2381 extern __at(0x0117) __sfr CM2PSEL
;
2399 unsigned C2PCH0
: 1;
2400 unsigned C2PCH1
: 1;
2401 unsigned C2PCH2
: 1;
2402 unsigned C2PCH3
: 1;
2422 extern __at(0x0117) volatile __CM2PSELbits_t CM2PSELbits
;
2424 #define _CM2PSEL_PCH0 0x01
2425 #define _CM2PSEL_C2PCH0 0x01
2426 #define _CM2PSEL_PCH1 0x02
2427 #define _CM2PSEL_C2PCH1 0x02
2428 #define _CM2PSEL_PCH2 0x04
2429 #define _CM2PSEL_C2PCH2 0x04
2430 #define _CM2PSEL_PCH3 0x08
2431 #define _CM2PSEL_C2PCH3 0x08
2433 //==============================================================================
2436 //==============================================================================
2439 extern __at(0x0118) __sfr CM3CON0
;
2447 unsigned Reserved
: 1;
2457 unsigned C3SYNC
: 1;
2468 extern __at(0x0118) volatile __CM3CON0bits_t CM3CON0bits
;
2470 #define _CM3CON0_SYNC 0x01
2471 #define _CM3CON0_C3SYNC 0x01
2472 #define _CM3CON0_HYS 0x02
2473 #define _CM3CON0_C3HYS 0x02
2474 #define _CM3CON0_Reserved 0x04
2475 #define _CM3CON0_C3SP 0x04
2476 #define _CM3CON0_ZLF 0x08
2477 #define _CM3CON0_C3ZLF 0x08
2478 #define _CM3CON0_POL 0x10
2479 #define _CM3CON0_C3POL 0x10
2480 #define _CM3CON0_OUT 0x40
2481 #define _CM3CON0_C3OUT 0x40
2482 #define _CM3CON0_ON 0x80
2483 #define _CM3CON0_C3ON 0x80
2485 //==============================================================================
2488 //==============================================================================
2491 extern __at(0x0119) __sfr CM3CON1
;
2509 unsigned C3INTN
: 1;
2510 unsigned C3INTP
: 1;
2520 extern __at(0x0119) volatile __CM3CON1bits_t CM3CON1bits
;
2522 #define _CM3CON1_INTN 0x01
2523 #define _CM3CON1_C3INTN 0x01
2524 #define _CM3CON1_INTP 0x02
2525 #define _CM3CON1_C3INTP 0x02
2527 //==============================================================================
2530 //==============================================================================
2533 extern __at(0x011A) __sfr CM3NSEL
;
2551 unsigned C3NCH0
: 1;
2552 unsigned C3NCH1
: 1;
2553 unsigned C3NCH2
: 1;
2574 extern __at(0x011A) volatile __CM3NSELbits_t CM3NSELbits
;
2576 #define _CM3NSEL_NCH0 0x01
2577 #define _CM3NSEL_C3NCH0 0x01
2578 #define _CM3NSEL_NCH1 0x02
2579 #define _CM3NSEL_C3NCH1 0x02
2580 #define _CM3NSEL_NCH2 0x04
2581 #define _CM3NSEL_C3NCH2 0x04
2583 //==============================================================================
2586 //==============================================================================
2589 extern __at(0x011B) __sfr CM3PSEL
;
2607 unsigned C3PCH0
: 1;
2608 unsigned C3PCH1
: 1;
2609 unsigned C3PCH2
: 1;
2610 unsigned C3PCH3
: 1;
2630 extern __at(0x011B) volatile __CM3PSELbits_t CM3PSELbits
;
2632 #define _CM3PSEL_PCH0 0x01
2633 #define _CM3PSEL_C3PCH0 0x01
2634 #define _CM3PSEL_PCH1 0x02
2635 #define _CM3PSEL_C3PCH1 0x02
2636 #define _CM3PSEL_PCH2 0x04
2637 #define _CM3PSEL_C3PCH2 0x04
2638 #define _CM3PSEL_PCH3 0x08
2639 #define _CM3PSEL_C3PCH3 0x08
2641 //==============================================================================
2644 //==============================================================================
2647 extern __at(0x011C) __sfr CM4CON0
;
2655 unsigned Reserved
: 1;
2665 unsigned C4SYNC
: 1;
2676 extern __at(0x011C) volatile __CM4CON0bits_t CM4CON0bits
;
2678 #define _CM4CON0_SYNC 0x01
2679 #define _CM4CON0_C4SYNC 0x01
2680 #define _CM4CON0_HYS 0x02
2681 #define _CM4CON0_C4HYS 0x02
2682 #define _CM4CON0_Reserved 0x04
2683 #define _CM4CON0_C4SP 0x04
2684 #define _CM4CON0_ZLF 0x08
2685 #define _CM4CON0_C4ZLF 0x08
2686 #define _CM4CON0_POL 0x10
2687 #define _CM4CON0_C4POL 0x10
2688 #define _CM4CON0_OUT 0x40
2689 #define _CM4CON0_C4OUT 0x40
2690 #define _CM4CON0_ON 0x80
2691 #define _CM4CON0_C4ON 0x80
2693 //==============================================================================
2696 //==============================================================================
2699 extern __at(0x011D) __sfr CM4CON1
;
2717 unsigned C4INTN
: 1;
2718 unsigned C4INTP
: 1;
2728 extern __at(0x011D) volatile __CM4CON1bits_t CM4CON1bits
;
2730 #define _CM4CON1_INTN 0x01
2731 #define _CM4CON1_C4INTN 0x01
2732 #define _CM4CON1_INTP 0x02
2733 #define _CM4CON1_C4INTP 0x02
2735 //==============================================================================
2738 //==============================================================================
2741 extern __at(0x011E) __sfr CM4NSEL
;
2759 unsigned C4NCH0
: 1;
2760 unsigned C4NCH1
: 1;
2761 unsigned C4NCH2
: 1;
2782 extern __at(0x011E) volatile __CM4NSELbits_t CM4NSELbits
;
2784 #define _CM4NSEL_NCH0 0x01
2785 #define _CM4NSEL_C4NCH0 0x01
2786 #define _CM4NSEL_NCH1 0x02
2787 #define _CM4NSEL_C4NCH1 0x02
2788 #define _CM4NSEL_NCH2 0x04
2789 #define _CM4NSEL_C4NCH2 0x04
2791 //==============================================================================
2794 //==============================================================================
2797 extern __at(0x011F) __sfr CM4PSEL
;
2815 unsigned C4PCH0
: 1;
2816 unsigned C4PCH1
: 1;
2817 unsigned C4PCH2
: 1;
2818 unsigned C4PCH3
: 1;
2838 extern __at(0x011F) volatile __CM4PSELbits_t CM4PSELbits
;
2840 #define _CM4PSEL_PCH0 0x01
2841 #define _CM4PSEL_C4PCH0 0x01
2842 #define _CM4PSEL_PCH1 0x02
2843 #define _CM4PSEL_C4PCH1 0x02
2844 #define _CM4PSEL_PCH2 0x04
2845 #define _CM4PSEL_C4PCH2 0x04
2846 #define _CM4PSEL_PCH3 0x08
2847 #define _CM4PSEL_C4PCH3 0x08
2849 //==============================================================================
2852 //==============================================================================
2855 extern __at(0x018C) __sfr ANSELA
;
2869 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits
;
2876 //==============================================================================
2879 //==============================================================================
2882 extern __at(0x018D) __sfr ANSELB
;
2896 extern __at(0x018D) volatile __ANSELBbits_t ANSELBbits
;
2903 //==============================================================================
2906 //==============================================================================
2909 extern __at(0x018E) __sfr ANSELC
;
2923 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits
;
2932 //==============================================================================
2934 extern __at(0x0191) __sfr PMADR
;
2935 extern __at(0x0191) __sfr PMADRL
;
2936 extern __at(0x0192) __sfr PMADRH
;
2937 extern __at(0x0193) __sfr PMDAT
;
2938 extern __at(0x0193) __sfr PMDATL
;
2939 extern __at(0x0194) __sfr PMDATH
;
2941 //==============================================================================
2944 extern __at(0x0195) __sfr PMCON1
;
2958 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits
;
2968 //==============================================================================
2970 extern __at(0x0196) __sfr PMCON2
;
2972 //==============================================================================
2975 extern __at(0x0197) __sfr VREGCON
;
2979 unsigned Reserved
: 1;
2980 unsigned VREGPM
: 1;
2989 extern __at(0x0197) volatile __VREGCONbits_t VREGCONbits
;
2991 #define _VREGCON_Reserved 0x01
2992 #define _VREGCON_VREGPM 0x02
2994 //==============================================================================
2996 extern __at(0x0199) __sfr RC1REG
;
2997 extern __at(0x0199) __sfr RCREG
;
2998 extern __at(0x0199) __sfr RCREG1
;
2999 extern __at(0x019A) __sfr TX1REG
;
3000 extern __at(0x019A) __sfr TXREG
;
3001 extern __at(0x019A) __sfr TXREG1
;
3002 extern __at(0x019B) __sfr SP1BRG
;
3003 extern __at(0x019B) __sfr SP1BRGL
;
3004 extern __at(0x019B) __sfr SPBRG
;
3005 extern __at(0x019B) __sfr SPBRG1
;
3006 extern __at(0x019B) __sfr SPBRGL
;
3007 extern __at(0x019C) __sfr SP1BRGH
;
3008 extern __at(0x019C) __sfr SPBRGH
;
3009 extern __at(0x019C) __sfr SPBRGH1
;
3011 //==============================================================================
3014 extern __at(0x019D) __sfr RC1STA
;
3028 extern __at(0x019D) volatile __RC1STAbits_t RC1STAbits
;
3039 //==============================================================================
3042 //==============================================================================
3045 extern __at(0x019D) __sfr RCSTA
;
3059 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits
;
3061 #define _RCSTA_RX9D 0x01
3062 #define _RCSTA_OERR 0x02
3063 #define _RCSTA_FERR 0x04
3064 #define _RCSTA_ADDEN 0x08
3065 #define _RCSTA_CREN 0x10
3066 #define _RCSTA_SREN 0x20
3067 #define _RCSTA_RX9 0x40
3068 #define _RCSTA_SPEN 0x80
3070 //==============================================================================
3073 //==============================================================================
3076 extern __at(0x019D) __sfr RCSTA1
;
3090 extern __at(0x019D) volatile __RCSTA1bits_t RCSTA1bits
;
3092 #define _RCSTA1_RX9D 0x01
3093 #define _RCSTA1_OERR 0x02
3094 #define _RCSTA1_FERR 0x04
3095 #define _RCSTA1_ADDEN 0x08
3096 #define _RCSTA1_CREN 0x10
3097 #define _RCSTA1_SREN 0x20
3098 #define _RCSTA1_RX9 0x40
3099 #define _RCSTA1_SPEN 0x80
3101 //==============================================================================
3104 //==============================================================================
3107 extern __at(0x019E) __sfr TX1STA
;
3121 extern __at(0x019E) volatile __TX1STAbits_t TX1STAbits
;
3123 #define _TX1STA_TX9D 0x01
3124 #define _TX1STA_TRMT 0x02
3125 #define _TX1STA_BRGH 0x04
3126 #define _TX1STA_SENDB 0x08
3127 #define _TX1STA_SYNC 0x10
3128 #define _TX1STA_TXEN 0x20
3129 #define _TX1STA_TX9 0x40
3130 #define _TX1STA_CSRC 0x80
3132 //==============================================================================
3135 //==============================================================================
3138 extern __at(0x019E) __sfr TXSTA
;
3152 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits
;
3154 #define _TXSTA_TX9D 0x01
3155 #define _TXSTA_TRMT 0x02
3156 #define _TXSTA_BRGH 0x04
3157 #define _TXSTA_SENDB 0x08
3158 #define _TXSTA_SYNC 0x10
3159 #define _TXSTA_TXEN 0x20
3160 #define _TXSTA_TX9 0x40
3161 #define _TXSTA_CSRC 0x80
3163 //==============================================================================
3166 //==============================================================================
3169 extern __at(0x019E) __sfr TXSTA1
;
3183 extern __at(0x019E) volatile __TXSTA1bits_t TXSTA1bits
;
3185 #define _TXSTA1_TX9D 0x01
3186 #define _TXSTA1_TRMT 0x02
3187 #define _TXSTA1_BRGH 0x04
3188 #define _TXSTA1_SENDB 0x08
3189 #define _TXSTA1_SYNC 0x10
3190 #define _TXSTA1_TXEN 0x20
3191 #define _TXSTA1_TX9 0x40
3192 #define _TXSTA1_CSRC 0x80
3194 //==============================================================================
3197 //==============================================================================
3200 extern __at(0x019F) __sfr BAUD1CON
;
3211 unsigned ABDOVF
: 1;
3214 extern __at(0x019F) volatile __BAUD1CONbits_t BAUD1CONbits
;
3221 #define _ABDOVF 0x80
3223 //==============================================================================
3226 //==============================================================================
3229 extern __at(0x019F) __sfr BAUDCON
;
3240 unsigned ABDOVF
: 1;
3243 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits
;
3245 #define _BAUDCON_ABDEN 0x01
3246 #define _BAUDCON_WUE 0x02
3247 #define _BAUDCON_BRG16 0x08
3248 #define _BAUDCON_SCKP 0x10
3249 #define _BAUDCON_RCIDL 0x40
3250 #define _BAUDCON_ABDOVF 0x80
3252 //==============================================================================
3255 //==============================================================================
3258 extern __at(0x019F) __sfr BAUDCON1
;
3269 unsigned ABDOVF
: 1;
3272 extern __at(0x019F) volatile __BAUDCON1bits_t BAUDCON1bits
;
3274 #define _BAUDCON1_ABDEN 0x01
3275 #define _BAUDCON1_WUE 0x02
3276 #define _BAUDCON1_BRG16 0x08
3277 #define _BAUDCON1_SCKP 0x10
3278 #define _BAUDCON1_RCIDL 0x40
3279 #define _BAUDCON1_ABDOVF 0x80
3281 //==============================================================================
3284 //==============================================================================
3287 extern __at(0x019F) __sfr BAUDCTL
;
3298 unsigned ABDOVF
: 1;
3301 extern __at(0x019F) volatile __BAUDCTLbits_t BAUDCTLbits
;
3303 #define _BAUDCTL_ABDEN 0x01
3304 #define _BAUDCTL_WUE 0x02
3305 #define _BAUDCTL_BRG16 0x08
3306 #define _BAUDCTL_SCKP 0x10
3307 #define _BAUDCTL_RCIDL 0x40
3308 #define _BAUDCTL_ABDOVF 0x80
3310 //==============================================================================
3313 //==============================================================================
3316 extern __at(0x019F) __sfr BAUDCTL1
;
3327 unsigned ABDOVF
: 1;
3330 extern __at(0x019F) volatile __BAUDCTL1bits_t BAUDCTL1bits
;
3332 #define _BAUDCTL1_ABDEN 0x01
3333 #define _BAUDCTL1_WUE 0x02
3334 #define _BAUDCTL1_BRG16 0x08
3335 #define _BAUDCTL1_SCKP 0x10
3336 #define _BAUDCTL1_RCIDL 0x40
3337 #define _BAUDCTL1_ABDOVF 0x80
3339 //==============================================================================
3342 //==============================================================================
3345 extern __at(0x020C) __sfr WPUA
;
3368 extern __at(0x020C) volatile __WPUAbits_t WPUAbits
;
3377 //==============================================================================
3380 //==============================================================================
3383 extern __at(0x020D) __sfr WPUB
;
3397 extern __at(0x020D) volatile __WPUBbits_t WPUBbits
;
3404 //==============================================================================
3407 //==============================================================================
3410 extern __at(0x020E) __sfr WPUC
;
3424 extern __at(0x020E) volatile __WPUCbits_t WPUCbits
;
3435 //==============================================================================
3438 //==============================================================================
3441 extern __at(0x0211) __sfr SSP1BUF
;
3447 unsigned SSP1BUF0
: 1;
3448 unsigned SSP1BUF1
: 1;
3449 unsigned SSP1BUF2
: 1;
3450 unsigned SSP1BUF3
: 1;
3451 unsigned SSP1BUF4
: 1;
3452 unsigned SSP1BUF5
: 1;
3453 unsigned SSP1BUF6
: 1;
3454 unsigned SSP1BUF7
: 1;
3470 extern __at(0x0211) volatile __SSP1BUFbits_t SSP1BUFbits
;
3472 #define _SSP1BUF0 0x01
3474 #define _SSP1BUF1 0x02
3476 #define _SSP1BUF2 0x04
3478 #define _SSP1BUF3 0x08
3480 #define _SSP1BUF4 0x10
3482 #define _SSP1BUF5 0x20
3484 #define _SSP1BUF6 0x40
3486 #define _SSP1BUF7 0x80
3489 //==============================================================================
3492 //==============================================================================
3495 extern __at(0x0211) __sfr SSPBUF
;
3501 unsigned SSP1BUF0
: 1;
3502 unsigned SSP1BUF1
: 1;
3503 unsigned SSP1BUF2
: 1;
3504 unsigned SSP1BUF3
: 1;
3505 unsigned SSP1BUF4
: 1;
3506 unsigned SSP1BUF5
: 1;
3507 unsigned SSP1BUF6
: 1;
3508 unsigned SSP1BUF7
: 1;
3524 extern __at(0x0211) volatile __SSPBUFbits_t SSPBUFbits
;
3526 #define _SSPBUF_SSP1BUF0 0x01
3527 #define _SSPBUF_BUF0 0x01
3528 #define _SSPBUF_SSP1BUF1 0x02
3529 #define _SSPBUF_BUF1 0x02
3530 #define _SSPBUF_SSP1BUF2 0x04
3531 #define _SSPBUF_BUF2 0x04
3532 #define _SSPBUF_SSP1BUF3 0x08
3533 #define _SSPBUF_BUF3 0x08
3534 #define _SSPBUF_SSP1BUF4 0x10
3535 #define _SSPBUF_BUF4 0x10
3536 #define _SSPBUF_SSP1BUF5 0x20
3537 #define _SSPBUF_BUF5 0x20
3538 #define _SSPBUF_SSP1BUF6 0x40
3539 #define _SSPBUF_BUF6 0x40
3540 #define _SSPBUF_SSP1BUF7 0x80
3541 #define _SSPBUF_BUF7 0x80
3543 //==============================================================================
3546 //==============================================================================
3549 extern __at(0x0212) __sfr SSP1ADD
;
3555 unsigned SSP1ADD0
: 1;
3556 unsigned SSP1ADD1
: 1;
3557 unsigned SSP1ADD2
: 1;
3558 unsigned SSP1ADD3
: 1;
3559 unsigned SSP1ADD4
: 1;
3560 unsigned SSP1ADD5
: 1;
3561 unsigned SSP1ADD6
: 1;
3562 unsigned SSP1ADD7
: 1;
3578 extern __at(0x0212) volatile __SSP1ADDbits_t SSP1ADDbits
;
3580 #define _SSP1ADD0 0x01
3582 #define _SSP1ADD1 0x02
3584 #define _SSP1ADD2 0x04
3586 #define _SSP1ADD3 0x08
3588 #define _SSP1ADD4 0x10
3590 #define _SSP1ADD5 0x20
3592 #define _SSP1ADD6 0x40
3594 #define _SSP1ADD7 0x80
3597 //==============================================================================
3600 //==============================================================================
3603 extern __at(0x0212) __sfr SSPADD
;
3609 unsigned SSP1ADD0
: 1;
3610 unsigned SSP1ADD1
: 1;
3611 unsigned SSP1ADD2
: 1;
3612 unsigned SSP1ADD3
: 1;
3613 unsigned SSP1ADD4
: 1;
3614 unsigned SSP1ADD5
: 1;
3615 unsigned SSP1ADD6
: 1;
3616 unsigned SSP1ADD7
: 1;
3632 extern __at(0x0212) volatile __SSPADDbits_t SSPADDbits
;
3634 #define _SSPADD_SSP1ADD0 0x01
3635 #define _SSPADD_ADD0 0x01
3636 #define _SSPADD_SSP1ADD1 0x02
3637 #define _SSPADD_ADD1 0x02
3638 #define _SSPADD_SSP1ADD2 0x04
3639 #define _SSPADD_ADD2 0x04
3640 #define _SSPADD_SSP1ADD3 0x08
3641 #define _SSPADD_ADD3 0x08
3642 #define _SSPADD_SSP1ADD4 0x10
3643 #define _SSPADD_ADD4 0x10
3644 #define _SSPADD_SSP1ADD5 0x20
3645 #define _SSPADD_ADD5 0x20
3646 #define _SSPADD_SSP1ADD6 0x40
3647 #define _SSPADD_ADD6 0x40
3648 #define _SSPADD_SSP1ADD7 0x80
3649 #define _SSPADD_ADD7 0x80
3651 //==============================================================================
3654 //==============================================================================
3657 extern __at(0x0213) __sfr SSP1MSK
;
3663 unsigned SSP1MSK0
: 1;
3664 unsigned SSP1MSK1
: 1;
3665 unsigned SSP1MSK2
: 1;
3666 unsigned SSP1MSK3
: 1;
3667 unsigned SSP1MSK4
: 1;
3668 unsigned SSP1MSK5
: 1;
3669 unsigned SSP1MSK6
: 1;
3670 unsigned SSP1MSK7
: 1;
3686 extern __at(0x0213) volatile __SSP1MSKbits_t SSP1MSKbits
;
3688 #define _SSP1MSK0 0x01
3690 #define _SSP1MSK1 0x02
3692 #define _SSP1MSK2 0x04
3694 #define _SSP1MSK3 0x08
3696 #define _SSP1MSK4 0x10
3698 #define _SSP1MSK5 0x20
3700 #define _SSP1MSK6 0x40
3702 #define _SSP1MSK7 0x80
3705 //==============================================================================
3708 //==============================================================================
3711 extern __at(0x0213) __sfr SSPMSK
;
3717 unsigned SSP1MSK0
: 1;
3718 unsigned SSP1MSK1
: 1;
3719 unsigned SSP1MSK2
: 1;
3720 unsigned SSP1MSK3
: 1;
3721 unsigned SSP1MSK4
: 1;
3722 unsigned SSP1MSK5
: 1;
3723 unsigned SSP1MSK6
: 1;
3724 unsigned SSP1MSK7
: 1;
3740 extern __at(0x0213) volatile __SSPMSKbits_t SSPMSKbits
;
3742 #define _SSPMSK_SSP1MSK0 0x01
3743 #define _SSPMSK_MSK0 0x01
3744 #define _SSPMSK_SSP1MSK1 0x02
3745 #define _SSPMSK_MSK1 0x02
3746 #define _SSPMSK_SSP1MSK2 0x04
3747 #define _SSPMSK_MSK2 0x04
3748 #define _SSPMSK_SSP1MSK3 0x08
3749 #define _SSPMSK_MSK3 0x08
3750 #define _SSPMSK_SSP1MSK4 0x10
3751 #define _SSPMSK_MSK4 0x10
3752 #define _SSPMSK_SSP1MSK5 0x20
3753 #define _SSPMSK_MSK5 0x20
3754 #define _SSPMSK_SSP1MSK6 0x40
3755 #define _SSPMSK_MSK6 0x40
3756 #define _SSPMSK_SSP1MSK7 0x80
3757 #define _SSPMSK_MSK7 0x80
3759 //==============================================================================
3762 //==============================================================================
3765 extern __at(0x0214) __sfr SSP1STAT
;
3771 unsigned R_NOT_W
: 1;
3774 unsigned D_NOT_A
: 1;
3779 extern __at(0x0214) volatile __SSP1STATbits_t SSP1STATbits
;
3783 #define _R_NOT_W 0x04
3786 #define _D_NOT_A 0x20
3790 //==============================================================================
3793 //==============================================================================
3796 extern __at(0x0214) __sfr SSPSTAT
;
3802 unsigned R_NOT_W
: 1;
3805 unsigned D_NOT_A
: 1;
3810 extern __at(0x0214) volatile __SSPSTATbits_t SSPSTATbits
;
3812 #define _SSPSTAT_BF 0x01
3813 #define _SSPSTAT_UA 0x02
3814 #define _SSPSTAT_R_NOT_W 0x04
3815 #define _SSPSTAT_S 0x08
3816 #define _SSPSTAT_P 0x10
3817 #define _SSPSTAT_D_NOT_A 0x20
3818 #define _SSPSTAT_CKE 0x40
3819 #define _SSPSTAT_SMP 0x80
3821 //==============================================================================
3824 //==============================================================================
3827 extern __at(0x0215) __sfr SSP1CON
;
3850 extern __at(0x0215) volatile __SSP1CONbits_t SSP1CONbits
;
3861 //==============================================================================
3864 //==============================================================================
3867 extern __at(0x0215) __sfr SSP1CON1
;
3890 extern __at(0x0215) volatile __SSP1CON1bits_t SSP1CON1bits
;
3892 #define _SSP1CON1_SSPM0 0x01
3893 #define _SSP1CON1_SSPM1 0x02
3894 #define _SSP1CON1_SSPM2 0x04
3895 #define _SSP1CON1_SSPM3 0x08
3896 #define _SSP1CON1_CKP 0x10
3897 #define _SSP1CON1_SSPEN 0x20
3898 #define _SSP1CON1_SSPOV 0x40
3899 #define _SSP1CON1_WCOL 0x80
3901 //==============================================================================
3904 //==============================================================================
3907 extern __at(0x0215) __sfr SSPCON
;
3930 extern __at(0x0215) volatile __SSPCONbits_t SSPCONbits
;
3932 #define _SSPCON_SSPM0 0x01
3933 #define _SSPCON_SSPM1 0x02
3934 #define _SSPCON_SSPM2 0x04
3935 #define _SSPCON_SSPM3 0x08
3936 #define _SSPCON_CKP 0x10
3937 #define _SSPCON_SSPEN 0x20
3938 #define _SSPCON_SSPOV 0x40
3939 #define _SSPCON_WCOL 0x80
3941 //==============================================================================
3944 //==============================================================================
3947 extern __at(0x0215) __sfr SSPCON1
;
3970 extern __at(0x0215) volatile __SSPCON1bits_t SSPCON1bits
;
3972 #define _SSPCON1_SSPM0 0x01
3973 #define _SSPCON1_SSPM1 0x02
3974 #define _SSPCON1_SSPM2 0x04
3975 #define _SSPCON1_SSPM3 0x08
3976 #define _SSPCON1_CKP 0x10
3977 #define _SSPCON1_SSPEN 0x20
3978 #define _SSPCON1_SSPOV 0x40
3979 #define _SSPCON1_WCOL 0x80
3981 //==============================================================================
3984 //==============================================================================
3987 extern __at(0x0216) __sfr SSP1CON2
;
3997 unsigned ACKSTAT
: 1;
4001 extern __at(0x0216) volatile __SSP1CON2bits_t SSP1CON2bits
;
4009 #define _ACKSTAT 0x40
4012 //==============================================================================
4015 //==============================================================================
4018 extern __at(0x0216) __sfr SSPCON2
;
4028 unsigned ACKSTAT
: 1;
4032 extern __at(0x0216) volatile __SSPCON2bits_t SSPCON2bits
;
4034 #define _SSPCON2_SEN 0x01
4035 #define _SSPCON2_RSEN 0x02
4036 #define _SSPCON2_PEN 0x04
4037 #define _SSPCON2_RCEN 0x08
4038 #define _SSPCON2_ACKEN 0x10
4039 #define _SSPCON2_ACKDT 0x20
4040 #define _SSPCON2_ACKSTAT 0x40
4041 #define _SSPCON2_GCEN 0x80
4043 //==============================================================================
4046 //==============================================================================
4049 extern __at(0x0217) __sfr SSP1CON3
;
4060 unsigned ACKTIM
: 1;
4063 extern __at(0x0217) volatile __SSP1CON3bits_t SSP1CON3bits
;
4072 #define _ACKTIM 0x80
4074 //==============================================================================
4077 //==============================================================================
4080 extern __at(0x0217) __sfr SSPCON3
;
4091 unsigned ACKTIM
: 1;
4094 extern __at(0x0217) volatile __SSPCON3bits_t SSPCON3bits
;
4096 #define _SSPCON3_DHEN 0x01
4097 #define _SSPCON3_AHEN 0x02
4098 #define _SSPCON3_SBCDE 0x04
4099 #define _SSPCON3_SDAHT 0x08
4100 #define _SSPCON3_BOEN 0x10
4101 #define _SSPCON3_SCIE 0x20
4102 #define _SSPCON3_PCIE 0x40
4103 #define _SSPCON3_ACKTIM 0x80
4105 //==============================================================================
4108 //==============================================================================
4111 extern __at(0x021D) __sfr BORCON
;
4115 unsigned BORRDY
: 1;
4122 unsigned SBOREN
: 1;
4125 extern __at(0x021D) volatile __BORCONbits_t BORCONbits
;
4127 #define _BORRDY 0x01
4129 #define _SBOREN 0x80
4131 //==============================================================================
4134 //==============================================================================
4137 extern __at(0x021E) __sfr FVRCON
;
4147 unsigned FVRRDY
: 1;
4151 extern __at(0x021E) volatile __FVRCONbits_t FVRCONbits
;
4155 #define _FVRRDY 0x40
4158 //==============================================================================
4161 //==============================================================================
4164 extern __at(0x021F) __sfr ZCD1CON
;
4168 unsigned ZCD1INTN
: 1;
4169 unsigned ZCD1INTP
: 1;
4172 unsigned ZCD1POL
: 1;
4173 unsigned ZCD1OUT
: 1;
4175 unsigned ZCD1EN
: 1;
4178 extern __at(0x021F) volatile __ZCD1CONbits_t ZCD1CONbits
;
4180 #define _ZCD1INTN 0x01
4181 #define _ZCD1INTP 0x02
4182 #define _ZCD1POL 0x10
4183 #define _ZCD1OUT 0x20
4184 #define _ZCD1EN 0x80
4186 //==============================================================================
4189 //==============================================================================
4192 extern __at(0x028C) __sfr ODCONA
;
4206 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits
;
4214 //==============================================================================
4217 //==============================================================================
4220 extern __at(0x028D) __sfr ODCONB
;
4234 extern __at(0x028D) volatile __ODCONBbits_t ODCONBbits
;
4241 //==============================================================================
4244 //==============================================================================
4247 extern __at(0x028E) __sfr ODCONC
;
4261 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits
;
4272 //==============================================================================
4274 extern __at(0x0291) __sfr CCPR1
;
4275 extern __at(0x0291) __sfr CCPR1L
;
4276 extern __at(0x0292) __sfr CCPR1H
;
4278 //==============================================================================
4281 extern __at(0x0293) __sfr CCP1CON
;
4299 unsigned CCP1MODE0
: 1;
4300 unsigned CCP1MODE1
: 1;
4301 unsigned CCP1MODE2
: 1;
4302 unsigned CCP1MODE3
: 1;
4303 unsigned CCP1FMT
: 1;
4304 unsigned CCP1OUT
: 1;
4306 unsigned CCP1EN
: 1;
4311 unsigned CCP1MODE
: 4;
4322 extern __at(0x0293) volatile __CCP1CONbits_t CCP1CONbits
;
4325 #define _CCP1MODE0 0x01
4327 #define _CCP1MODE1 0x02
4329 #define _CCP1MODE2 0x04
4331 #define _CCP1MODE3 0x08
4333 #define _CCP1FMT 0x10
4335 #define _CCP1OUT 0x20
4337 #define _CCP1EN 0x80
4339 //==============================================================================
4342 //==============================================================================
4345 extern __at(0x0294) __sfr CCP1CAP
;
4363 unsigned CCP1CTS0
: 1;
4364 unsigned CCP1CTS1
: 1;
4365 unsigned CCP1CTS2
: 1;
4375 unsigned CCP1CTS
: 3;
4386 extern __at(0x0294) volatile __CCP1CAPbits_t CCP1CAPbits
;
4389 #define _CCP1CTS0 0x01
4391 #define _CCP1CTS1 0x02
4393 #define _CCP1CTS2 0x04
4395 //==============================================================================
4397 extern __at(0x0298) __sfr CCPR2
;
4398 extern __at(0x0298) __sfr CCPR2L
;
4399 extern __at(0x0299) __sfr CCPR2H
;
4401 //==============================================================================
4404 extern __at(0x029A) __sfr CCP2CON
;
4422 unsigned CCP2MODE0
: 1;
4423 unsigned CCP2MODE1
: 1;
4424 unsigned CCP2MODE2
: 1;
4425 unsigned CCP2MODE3
: 1;
4426 unsigned CCP2FMT
: 1;
4427 unsigned CCP2OUT
: 1;
4429 unsigned CCP2EN
: 1;
4440 unsigned CCP2MODE
: 4;
4445 extern __at(0x029A) volatile __CCP2CONbits_t CCP2CONbits
;
4447 #define _CCP2CON_MODE0 0x01
4448 #define _CCP2CON_CCP2MODE0 0x01
4449 #define _CCP2CON_MODE1 0x02
4450 #define _CCP2CON_CCP2MODE1 0x02
4451 #define _CCP2CON_MODE2 0x04
4452 #define _CCP2CON_CCP2MODE2 0x04
4453 #define _CCP2CON_MODE3 0x08
4454 #define _CCP2CON_CCP2MODE3 0x08
4455 #define _CCP2CON_FMT 0x10
4456 #define _CCP2CON_CCP2FMT 0x10
4457 #define _CCP2CON_OUT 0x20
4458 #define _CCP2CON_CCP2OUT 0x20
4459 #define _CCP2CON_EN 0x80
4460 #define _CCP2CON_CCP2EN 0x80
4462 //==============================================================================
4465 //==============================================================================
4468 extern __at(0x029B) __sfr CCP2CAP
;
4486 unsigned CCP2CTS0
: 1;
4487 unsigned CCP2CTS1
: 1;
4488 unsigned CCP2CTS2
: 1;
4498 unsigned CCP2CTS
: 3;
4509 extern __at(0x029B) volatile __CCP2CAPbits_t CCP2CAPbits
;
4511 #define _CCP2CAP_CTS0 0x01
4512 #define _CCP2CAP_CCP2CTS0 0x01
4513 #define _CCP2CAP_CTS1 0x02
4514 #define _CCP2CAP_CCP2CTS1 0x02
4515 #define _CCP2CAP_CTS2 0x04
4516 #define _CCP2CAP_CCP2CTS2 0x04
4518 //==============================================================================
4521 //==============================================================================
4524 extern __at(0x029E) __sfr CCPTMRS
;
4530 unsigned C1TSEL0
: 1;
4531 unsigned C1TSEL1
: 1;
4532 unsigned C2TSEL0
: 1;
4533 unsigned C2TSEL1
: 1;
4534 unsigned P3TSEL0
: 1;
4535 unsigned P3TSEL1
: 1;
4536 unsigned P4TSEL0
: 1;
4537 unsigned P4TSEL1
: 1;
4542 unsigned C1TSEL
: 2;
4549 unsigned C2TSEL
: 2;
4556 unsigned P3TSEL
: 2;
4563 unsigned P4TSEL
: 2;
4567 extern __at(0x029E) volatile __CCPTMRSbits_t CCPTMRSbits
;
4569 #define _C1TSEL0 0x01
4570 #define _C1TSEL1 0x02
4571 #define _C2TSEL0 0x04
4572 #define _C2TSEL1 0x08
4573 #define _P3TSEL0 0x10
4574 #define _P3TSEL1 0x20
4575 #define _P4TSEL0 0x40
4576 #define _P4TSEL1 0x80
4578 //==============================================================================
4581 //==============================================================================
4584 extern __at(0x030C) __sfr SLRCONA
;
4598 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits
;
4606 //==============================================================================
4609 //==============================================================================
4612 extern __at(0x030D) __sfr SLRCONB
;
4626 extern __at(0x030D) volatile __SLRCONBbits_t SLRCONBbits
;
4633 //==============================================================================
4636 //==============================================================================
4639 extern __at(0x030E) __sfr SLRCONC
;
4653 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits
;
4664 //==============================================================================
4667 //==============================================================================
4670 extern __at(0x031B) __sfr MD2CON0
;
4688 unsigned MD2BIT
: 1;
4692 unsigned MD2OPOL
: 1;
4693 unsigned MD2OUT
: 1;
4699 extern __at(0x031B) volatile __MD2CON0bits_t MD2CON0bits
;
4701 #define _MD2CON0_BIT 0x01
4702 #define _MD2CON0_MD2BIT 0x01
4703 #define _MD2CON0_OPOL 0x10
4704 #define _MD2CON0_MD2OPOL 0x10
4705 #define _MD2CON0_OUT 0x20
4706 #define _MD2CON0_MD2OUT 0x20
4707 #define _MD2CON0_EN 0x80
4708 #define _MD2CON0_MD2EN 0x80
4710 //==============================================================================
4713 //==============================================================================
4716 extern __at(0x031C) __sfr MD2CON1
;
4722 unsigned CLSYNC
: 1;
4726 unsigned CHSYNC
: 1;
4734 unsigned MD2CLSYNC
: 1;
4735 unsigned MD2CLPOL
: 1;
4738 unsigned MD2CHSYNC
: 1;
4739 unsigned MD2CHPOL
: 1;
4745 extern __at(0x031C) volatile __MD2CON1bits_t MD2CON1bits
;
4747 #define _MD2CON1_CLSYNC 0x01
4748 #define _MD2CON1_MD2CLSYNC 0x01
4749 #define _MD2CON1_CLPOL 0x02
4750 #define _MD2CON1_MD2CLPOL 0x02
4751 #define _MD2CON1_CHSYNC 0x10
4752 #define _MD2CON1_MD2CHSYNC 0x10
4753 #define _MD2CON1_CHPOL 0x20
4754 #define _MD2CON1_MD2CHPOL 0x20
4756 //==============================================================================
4759 //==============================================================================
4762 extern __at(0x031D) __sfr MD2SRC
;
4780 unsigned MD2MS0
: 1;
4781 unsigned MD2MS1
: 1;
4782 unsigned MD2MS2
: 1;
4783 unsigned MD2MS3
: 1;
4784 unsigned MD2MS4
: 1;
4803 extern __at(0x031D) volatile __MD2SRCbits_t MD2SRCbits
;
4805 #define _MD2SRC_MS0 0x01
4806 #define _MD2SRC_MD2MS0 0x01
4807 #define _MD2SRC_MS1 0x02
4808 #define _MD2SRC_MD2MS1 0x02
4809 #define _MD2SRC_MS2 0x04
4810 #define _MD2SRC_MD2MS2 0x04
4811 #define _MD2SRC_MS3 0x08
4812 #define _MD2SRC_MD2MS3 0x08
4813 #define _MD2SRC_MS4 0x10
4814 #define _MD2SRC_MD2MS4 0x10
4816 //==============================================================================
4819 //==============================================================================
4822 extern __at(0x031E) __sfr MD2CARL
;
4840 unsigned MD2CL0
: 1;
4841 unsigned MD2CL1
: 1;
4842 unsigned MD2CL2
: 1;
4843 unsigned MD2CL3
: 1;
4863 extern __at(0x031E) volatile __MD2CARLbits_t MD2CARLbits
;
4865 #define _MD2CARL_CL0 0x01
4866 #define _MD2CARL_MD2CL0 0x01
4867 #define _MD2CARL_CL1 0x02
4868 #define _MD2CARL_MD2CL1 0x02
4869 #define _MD2CARL_CL2 0x04
4870 #define _MD2CARL_MD2CL2 0x04
4871 #define _MD2CARL_CL3 0x08
4872 #define _MD2CARL_MD2CL3 0x08
4874 //==============================================================================
4877 //==============================================================================
4880 extern __at(0x031F) __sfr MD2CARH
;
4898 unsigned MD2CH0
: 1;
4899 unsigned MD2CH1
: 1;
4900 unsigned MD2CH2
: 1;
4901 unsigned MD2CH3
: 1;
4921 extern __at(0x031F) volatile __MD2CARHbits_t MD2CARHbits
;
4923 #define _MD2CARH_CH0 0x01
4924 #define _MD2CARH_MD2CH0 0x01
4925 #define _MD2CARH_CH1 0x02
4926 #define _MD2CARH_MD2CH1 0x02
4927 #define _MD2CARH_CH2 0x04
4928 #define _MD2CARH_MD2CH2 0x04
4929 #define _MD2CARH_CH3 0x08
4930 #define _MD2CARH_MD2CH3 0x08
4932 //==============================================================================
4935 //==============================================================================
4938 extern __at(0x038C) __sfr INLVLA
;
4944 unsigned INLVLA0
: 1;
4945 unsigned INLVLA1
: 1;
4946 unsigned INLVLA2
: 1;
4947 unsigned INLVLA3
: 1;
4948 unsigned INLVLA4
: 1;
4949 unsigned INLVLA5
: 1;
4956 unsigned INLVLA
: 6;
4961 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits
;
4963 #define _INLVLA0 0x01
4964 #define _INLVLA1 0x02
4965 #define _INLVLA2 0x04
4966 #define _INLVLA3 0x08
4967 #define _INLVLA4 0x10
4968 #define _INLVLA5 0x20
4970 //==============================================================================
4973 //==============================================================================
4976 extern __at(0x038D) __sfr INLVLB
;
4984 unsigned INLVLB4
: 1;
4985 unsigned INLVLB5
: 1;
4986 unsigned INLVLB6
: 1;
4987 unsigned INLVLB7
: 1;
4990 extern __at(0x038D) volatile __INLVLBbits_t INLVLBbits
;
4992 #define _INLVLB4 0x10
4993 #define _INLVLB5 0x20
4994 #define _INLVLB6 0x40
4995 #define _INLVLB7 0x80
4997 //==============================================================================
5000 //==============================================================================
5003 extern __at(0x038E) __sfr INLVLC
;
5007 unsigned INLVLC0
: 1;
5008 unsigned INLVLC1
: 1;
5009 unsigned INLVLC2
: 1;
5010 unsigned INLVLC3
: 1;
5011 unsigned INLVLC4
: 1;
5012 unsigned INLVLC5
: 1;
5013 unsigned INLVLC6
: 1;
5014 unsigned INLVLC7
: 1;
5017 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits
;
5019 #define _INLVLC0 0x01
5020 #define _INLVLC1 0x02
5021 #define _INLVLC2 0x04
5022 #define _INLVLC3 0x08
5023 #define _INLVLC4 0x10
5024 #define _INLVLC5 0x20
5025 #define _INLVLC6 0x40
5026 #define _INLVLC7 0x80
5028 //==============================================================================
5031 //==============================================================================
5034 extern __at(0x0391) __sfr IOCAP
;
5040 unsigned IOCAP0
: 1;
5041 unsigned IOCAP1
: 1;
5042 unsigned IOCAP2
: 1;
5043 unsigned IOCAP3
: 1;
5044 unsigned IOCAP4
: 1;
5045 unsigned IOCAP5
: 1;
5057 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits
;
5059 #define _IOCAP0 0x01
5060 #define _IOCAP1 0x02
5061 #define _IOCAP2 0x04
5062 #define _IOCAP3 0x08
5063 #define _IOCAP4 0x10
5064 #define _IOCAP5 0x20
5066 //==============================================================================
5069 //==============================================================================
5072 extern __at(0x0392) __sfr IOCAN
;
5078 unsigned IOCAN0
: 1;
5079 unsigned IOCAN1
: 1;
5080 unsigned IOCAN2
: 1;
5081 unsigned IOCAN3
: 1;
5082 unsigned IOCAN4
: 1;
5083 unsigned IOCAN5
: 1;
5095 extern __at(0x0392) volatile __IOCANbits_t IOCANbits
;
5097 #define _IOCAN0 0x01
5098 #define _IOCAN1 0x02
5099 #define _IOCAN2 0x04
5100 #define _IOCAN3 0x08
5101 #define _IOCAN4 0x10
5102 #define _IOCAN5 0x20
5104 //==============================================================================
5107 //==============================================================================
5110 extern __at(0x0393) __sfr IOCAF
;
5116 unsigned IOCAF0
: 1;
5117 unsigned IOCAF1
: 1;
5118 unsigned IOCAF2
: 1;
5119 unsigned IOCAF3
: 1;
5120 unsigned IOCAF4
: 1;
5121 unsigned IOCAF5
: 1;
5133 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits
;
5135 #define _IOCAF0 0x01
5136 #define _IOCAF1 0x02
5137 #define _IOCAF2 0x04
5138 #define _IOCAF3 0x08
5139 #define _IOCAF4 0x10
5140 #define _IOCAF5 0x20
5142 //==============================================================================
5145 //==============================================================================
5148 extern __at(0x0394) __sfr IOCBP
;
5156 unsigned IOCBP4
: 1;
5157 unsigned IOCBP5
: 1;
5158 unsigned IOCBP6
: 1;
5159 unsigned IOCBP7
: 1;
5162 extern __at(0x0394) volatile __IOCBPbits_t IOCBPbits
;
5164 #define _IOCBP4 0x10
5165 #define _IOCBP5 0x20
5166 #define _IOCBP6 0x40
5167 #define _IOCBP7 0x80
5169 //==============================================================================
5172 //==============================================================================
5175 extern __at(0x0395) __sfr IOCBN
;
5183 unsigned IOCBN4
: 1;
5184 unsigned IOCBN5
: 1;
5185 unsigned IOCBN6
: 1;
5186 unsigned IOCBN7
: 1;
5189 extern __at(0x0395) volatile __IOCBNbits_t IOCBNbits
;
5191 #define _IOCBN4 0x10
5192 #define _IOCBN5 0x20
5193 #define _IOCBN6 0x40
5194 #define _IOCBN7 0x80
5196 //==============================================================================
5199 //==============================================================================
5202 extern __at(0x0396) __sfr IOCBF
;
5210 unsigned IOCBF4
: 1;
5211 unsigned IOCBF5
: 1;
5212 unsigned IOCBF6
: 1;
5213 unsigned IOCBF7
: 1;
5216 extern __at(0x0396) volatile __IOCBFbits_t IOCBFbits
;
5218 #define _IOCBF4 0x10
5219 #define _IOCBF5 0x20
5220 #define _IOCBF6 0x40
5221 #define _IOCBF7 0x80
5223 //==============================================================================
5226 //==============================================================================
5229 extern __at(0x0397) __sfr IOCCP
;
5233 unsigned IOCCP0
: 1;
5234 unsigned IOCCP1
: 1;
5235 unsigned IOCCP2
: 1;
5236 unsigned IOCCP3
: 1;
5237 unsigned IOCCP4
: 1;
5238 unsigned IOCCP5
: 1;
5239 unsigned IOCCP6
: 1;
5240 unsigned IOCCP7
: 1;
5243 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits
;
5245 #define _IOCCP0 0x01
5246 #define _IOCCP1 0x02
5247 #define _IOCCP2 0x04
5248 #define _IOCCP3 0x08
5249 #define _IOCCP4 0x10
5250 #define _IOCCP5 0x20
5251 #define _IOCCP6 0x40
5252 #define _IOCCP7 0x80
5254 //==============================================================================
5257 //==============================================================================
5260 extern __at(0x0398) __sfr IOCCN
;
5264 unsigned IOCCN0
: 1;
5265 unsigned IOCCN1
: 1;
5266 unsigned IOCCN2
: 1;
5267 unsigned IOCCN3
: 1;
5268 unsigned IOCCN4
: 1;
5269 unsigned IOCCN5
: 1;
5270 unsigned IOCCN6
: 1;
5271 unsigned IOCCN7
: 1;
5274 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits
;
5276 #define _IOCCN0 0x01
5277 #define _IOCCN1 0x02
5278 #define _IOCCN2 0x04
5279 #define _IOCCN3 0x08
5280 #define _IOCCN4 0x10
5281 #define _IOCCN5 0x20
5282 #define _IOCCN6 0x40
5283 #define _IOCCN7 0x80
5285 //==============================================================================
5288 //==============================================================================
5291 extern __at(0x0399) __sfr IOCCF
;
5295 unsigned IOCCF0
: 1;
5296 unsigned IOCCF1
: 1;
5297 unsigned IOCCF2
: 1;
5298 unsigned IOCCF3
: 1;
5299 unsigned IOCCF4
: 1;
5300 unsigned IOCCF5
: 1;
5301 unsigned IOCCF6
: 1;
5302 unsigned IOCCF7
: 1;
5305 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits
;
5307 #define _IOCCF0 0x01
5308 #define _IOCCF1 0x02
5309 #define _IOCCF2 0x04
5310 #define _IOCCF3 0x08
5311 #define _IOCCF4 0x10
5312 #define _IOCCF5 0x20
5313 #define _IOCCF6 0x40
5314 #define _IOCCF7 0x80
5316 //==============================================================================
5319 //==============================================================================
5322 extern __at(0x039B) __sfr MD1CON0
;
5340 unsigned MD1BIT
: 1;
5344 unsigned MD1OPOL
: 1;
5345 unsigned MD1OUT
: 1;
5351 extern __at(0x039B) volatile __MD1CON0bits_t MD1CON0bits
;
5353 #define _MD1CON0_BIT 0x01
5354 #define _MD1CON0_MD1BIT 0x01
5355 #define _MD1CON0_OPOL 0x10
5356 #define _MD1CON0_MD1OPOL 0x10
5357 #define _MD1CON0_OUT 0x20
5358 #define _MD1CON0_MD1OUT 0x20
5359 #define _MD1CON0_EN 0x80
5360 #define _MD1CON0_MD1EN 0x80
5362 //==============================================================================
5365 //==============================================================================
5368 extern __at(0x039C) __sfr MD1CON1
;
5374 unsigned CLSYNC
: 1;
5378 unsigned CHSYNC
: 1;
5386 unsigned MD1CLSYNC
: 1;
5387 unsigned MD1CLPOL
: 1;
5390 unsigned MD1CHSYNC
: 1;
5391 unsigned MD1CHPOL
: 1;
5397 extern __at(0x039C) volatile __MD1CON1bits_t MD1CON1bits
;
5399 #define _CLSYNC 0x01
5400 #define _MD1CLSYNC 0x01
5402 #define _MD1CLPOL 0x02
5403 #define _CHSYNC 0x10
5404 #define _MD1CHSYNC 0x10
5406 #define _MD1CHPOL 0x20
5408 //==============================================================================
5411 //==============================================================================
5414 extern __at(0x039D) __sfr MD1SRC
;
5432 unsigned MD1MS0
: 1;
5433 unsigned MD1MS1
: 1;
5434 unsigned MD1MS2
: 1;
5435 unsigned MD1MS3
: 1;
5436 unsigned MD1MS4
: 1;
5455 extern __at(0x039D) volatile __MD1SRCbits_t MD1SRCbits
;
5458 #define _MD1MS0 0x01
5460 #define _MD1MS1 0x02
5462 #define _MD1MS2 0x04
5464 #define _MD1MS3 0x08
5466 #define _MD1MS4 0x10
5468 //==============================================================================
5471 //==============================================================================
5474 extern __at(0x039E) __sfr MD1CARL
;
5492 unsigned MD1CL0
: 1;
5493 unsigned MD1CL1
: 1;
5494 unsigned MD1CL2
: 1;
5495 unsigned MD1CL3
: 1;
5515 extern __at(0x039E) volatile __MD1CARLbits_t MD1CARLbits
;
5518 #define _MD1CL0 0x01
5520 #define _MD1CL1 0x02
5522 #define _MD1CL2 0x04
5524 #define _MD1CL3 0x08
5526 //==============================================================================
5529 //==============================================================================
5532 extern __at(0x039F) __sfr MD1CARH
;
5550 unsigned MD1CH0
: 1;
5551 unsigned MD1CH1
: 1;
5552 unsigned MD1CH2
: 1;
5553 unsigned MD1CH3
: 1;
5573 extern __at(0x039F) volatile __MD1CARHbits_t MD1CARHbits
;
5576 #define _MD1CH0 0x01
5578 #define _MD1CH1 0x02
5580 #define _MD1CH2 0x04
5582 #define _MD1CH3 0x08
5584 //==============================================================================
5587 //==============================================================================
5590 extern __at(0x040E) __sfr HIDRVC
;
5604 extern __at(0x040E) volatile __HIDRVCbits_t HIDRVCbits
;
5609 //==============================================================================
5611 extern __at(0x0413) __sfr T4TMR
;
5612 extern __at(0x0413) __sfr TMR4
;
5613 extern __at(0x0414) __sfr PR4
;
5614 extern __at(0x0414) __sfr T4PR
;
5616 //==============================================================================
5619 extern __at(0x0415) __sfr T4CON
;
5625 unsigned OUTPS0
: 1;
5626 unsigned OUTPS1
: 1;
5627 unsigned OUTPS2
: 1;
5628 unsigned OUTPS3
: 1;
5637 unsigned T4OUTPS0
: 1;
5638 unsigned T4OUTPS1
: 1;
5639 unsigned T4OUTPS2
: 1;
5640 unsigned T4OUTPS3
: 1;
5641 unsigned T4CKPS0
: 1;
5642 unsigned T4CKPS1
: 1;
5643 unsigned T4CKPS2
: 1;
5656 unsigned TMR4ON
: 1;
5667 unsigned T4OUTPS
: 4;
5674 unsigned T4CKPS
: 3;
5686 extern __at(0x0415) volatile __T4CONbits_t T4CONbits
;
5688 #define _T4CON_OUTPS0 0x01
5689 #define _T4CON_T4OUTPS0 0x01
5690 #define _T4CON_OUTPS1 0x02
5691 #define _T4CON_T4OUTPS1 0x02
5692 #define _T4CON_OUTPS2 0x04
5693 #define _T4CON_T4OUTPS2 0x04
5694 #define _T4CON_OUTPS3 0x08
5695 #define _T4CON_T4OUTPS3 0x08
5696 #define _T4CON_CKPS0 0x10
5697 #define _T4CON_T4CKPS0 0x10
5698 #define _T4CON_CKPS1 0x20
5699 #define _T4CON_T4CKPS1 0x20
5700 #define _T4CON_CKPS2 0x40
5701 #define _T4CON_T4CKPS2 0x40
5702 #define _T4CON_ON 0x80
5703 #define _T4CON_T4ON 0x80
5704 #define _T4CON_TMR4ON 0x80
5706 //==============================================================================
5709 //==============================================================================
5712 extern __at(0x0416) __sfr T4HLT
;
5723 unsigned CKSYNC
: 1;
5730 unsigned T4MODE0
: 1;
5731 unsigned T4MODE1
: 1;
5732 unsigned T4MODE2
: 1;
5733 unsigned T4MODE3
: 1;
5734 unsigned T4MODE4
: 1;
5735 unsigned T4CKSYNC
: 1;
5736 unsigned T4CKPOL
: 1;
5737 unsigned T4PSYNC
: 1;
5748 unsigned T4MODE
: 5;
5753 extern __at(0x0416) volatile __T4HLTbits_t T4HLTbits
;
5755 #define _T4HLT_MODE0 0x01
5756 #define _T4HLT_T4MODE0 0x01
5757 #define _T4HLT_MODE1 0x02
5758 #define _T4HLT_T4MODE1 0x02
5759 #define _T4HLT_MODE2 0x04
5760 #define _T4HLT_T4MODE2 0x04
5761 #define _T4HLT_MODE3 0x08
5762 #define _T4HLT_T4MODE3 0x08
5763 #define _T4HLT_MODE4 0x10
5764 #define _T4HLT_T4MODE4 0x10
5765 #define _T4HLT_CKSYNC 0x20
5766 #define _T4HLT_T4CKSYNC 0x20
5767 #define _T4HLT_CKPOL 0x40
5768 #define _T4HLT_T4CKPOL 0x40
5769 #define _T4HLT_PSYNC 0x80
5770 #define _T4HLT_T4PSYNC 0x80
5772 //==============================================================================
5775 //==============================================================================
5778 extern __at(0x0417) __sfr T4CLKCON
;
5819 extern __at(0x0417) volatile __T4CLKCONbits_t T4CLKCONbits
;
5821 #define _T4CLKCON_CS0 0x01
5822 #define _T4CLKCON_T4CS0 0x01
5823 #define _T4CLKCON_CS1 0x02
5824 #define _T4CLKCON_T4CS1 0x02
5825 #define _T4CLKCON_CS2 0x04
5826 #define _T4CLKCON_T4CS2 0x04
5827 #define _T4CLKCON_CS3 0x08
5828 #define _T4CLKCON_T4CS3 0x08
5830 //==============================================================================
5833 //==============================================================================
5836 extern __at(0x0418) __sfr T4RST
;
5854 unsigned T4RSEL0
: 1;
5855 unsigned T4RSEL1
: 1;
5856 unsigned T4RSEL2
: 1;
5857 unsigned T4RSEL3
: 1;
5872 unsigned T4RSEL
: 4;
5877 extern __at(0x0418) volatile __T4RSTbits_t T4RSTbits
;
5879 #define _T4RST_RSEL0 0x01
5880 #define _T4RST_T4RSEL0 0x01
5881 #define _T4RST_RSEL1 0x02
5882 #define _T4RST_T4RSEL1 0x02
5883 #define _T4RST_RSEL2 0x04
5884 #define _T4RST_T4RSEL2 0x04
5885 #define _T4RST_RSEL3 0x08
5886 #define _T4RST_T4RSEL3 0x08
5888 //==============================================================================
5890 extern __at(0x041A) __sfr T6TMR
;
5891 extern __at(0x041A) __sfr TMR6
;
5892 extern __at(0x041B) __sfr PR6
;
5893 extern __at(0x041B) __sfr T6PR
;
5895 //==============================================================================
5898 extern __at(0x041C) __sfr T6CON
;
5904 unsigned OUTPS0
: 1;
5905 unsigned OUTPS1
: 1;
5906 unsigned OUTPS2
: 1;
5907 unsigned OUTPS3
: 1;
5916 unsigned T6OUTPS0
: 1;
5917 unsigned T6OUTPS1
: 1;
5918 unsigned T6OUTPS2
: 1;
5919 unsigned T6OUTPS3
: 1;
5920 unsigned T6CKPS0
: 1;
5921 unsigned T6CKPS1
: 1;
5922 unsigned T6CKPS2
: 1;
5935 unsigned TMR6ON
: 1;
5946 unsigned T6OUTPS
: 4;
5960 unsigned T6CKPS
: 3;
5965 extern __at(0x041C) volatile __T6CONbits_t T6CONbits
;
5967 #define _T6CON_OUTPS0 0x01
5968 #define _T6CON_T6OUTPS0 0x01
5969 #define _T6CON_OUTPS1 0x02
5970 #define _T6CON_T6OUTPS1 0x02
5971 #define _T6CON_OUTPS2 0x04
5972 #define _T6CON_T6OUTPS2 0x04
5973 #define _T6CON_OUTPS3 0x08
5974 #define _T6CON_T6OUTPS3 0x08
5975 #define _T6CON_CKPS0 0x10
5976 #define _T6CON_T6CKPS0 0x10
5977 #define _T6CON_CKPS1 0x20
5978 #define _T6CON_T6CKPS1 0x20
5979 #define _T6CON_CKPS2 0x40
5980 #define _T6CON_T6CKPS2 0x40
5981 #define _T6CON_ON 0x80
5982 #define _T6CON_T6ON 0x80
5983 #define _T6CON_TMR6ON 0x80
5985 //==============================================================================
5988 //==============================================================================
5991 extern __at(0x041D) __sfr T6HLT
;
6002 unsigned CKSYNC
: 1;
6009 unsigned T6MODE0
: 1;
6010 unsigned T6MODE1
: 1;
6011 unsigned T6MODE2
: 1;
6012 unsigned T6MODE3
: 1;
6013 unsigned T6MODE4
: 1;
6014 unsigned T6CKSYNC
: 1;
6015 unsigned T6CKPOL
: 1;
6016 unsigned T6PSYNC
: 1;
6027 unsigned T6MODE
: 5;
6032 extern __at(0x041D) volatile __T6HLTbits_t T6HLTbits
;
6034 #define _T6HLT_MODE0 0x01
6035 #define _T6HLT_T6MODE0 0x01
6036 #define _T6HLT_MODE1 0x02
6037 #define _T6HLT_T6MODE1 0x02
6038 #define _T6HLT_MODE2 0x04
6039 #define _T6HLT_T6MODE2 0x04
6040 #define _T6HLT_MODE3 0x08
6041 #define _T6HLT_T6MODE3 0x08
6042 #define _T6HLT_MODE4 0x10
6043 #define _T6HLT_T6MODE4 0x10
6044 #define _T6HLT_CKSYNC 0x20
6045 #define _T6HLT_T6CKSYNC 0x20
6046 #define _T6HLT_CKPOL 0x40
6047 #define _T6HLT_T6CKPOL 0x40
6048 #define _T6HLT_PSYNC 0x80
6049 #define _T6HLT_T6PSYNC 0x80
6051 //==============================================================================
6054 //==============================================================================
6057 extern __at(0x041E) __sfr T6CLKCON
;
6098 extern __at(0x041E) volatile __T6CLKCONbits_t T6CLKCONbits
;
6100 #define _T6CLKCON_CS0 0x01
6101 #define _T6CLKCON_T6CS0 0x01
6102 #define _T6CLKCON_CS1 0x02
6103 #define _T6CLKCON_T6CS1 0x02
6104 #define _T6CLKCON_CS2 0x04
6105 #define _T6CLKCON_T6CS2 0x04
6106 #define _T6CLKCON_CS3 0x08
6107 #define _T6CLKCON_T6CS3 0x08
6109 //==============================================================================
6112 //==============================================================================
6115 extern __at(0x041F) __sfr T6RST
;
6133 unsigned T6RSEL0
: 1;
6134 unsigned T6RSEL1
: 1;
6135 unsigned T6RSEL2
: 1;
6136 unsigned T6RSEL3
: 1;
6151 unsigned T6RSEL
: 4;
6156 extern __at(0x041F) volatile __T6RSTbits_t T6RSTbits
;
6158 #define _T6RST_RSEL0 0x01
6159 #define _T6RST_T6RSEL0 0x01
6160 #define _T6RST_RSEL1 0x02
6161 #define _T6RST_T6RSEL1 0x02
6162 #define _T6RST_RSEL2 0x04
6163 #define _T6RST_T6RSEL2 0x04
6164 #define _T6RST_RSEL3 0x08
6165 #define _T6RST_T6RSEL3 0x08
6167 //==============================================================================
6169 extern __at(0x0493) __sfr TMR3
;
6170 extern __at(0x0493) __sfr TMR3L
;
6171 extern __at(0x0494) __sfr TMR3H
;
6173 //==============================================================================
6176 extern __at(0x0495) __sfr T3CON
;
6184 unsigned NOT_SYNC
: 1;
6198 unsigned T3CKPS0
: 1;
6199 unsigned T3CKPS1
: 1;
6206 unsigned TMR3ON
: 1;
6208 unsigned NOT_T3SYNC
: 1;
6212 unsigned TMR3CS0
: 1;
6213 unsigned TMR3CS1
: 1;
6238 unsigned T3CKPS
: 2;
6245 unsigned TMR3CS
: 2;
6261 extern __at(0x0495) volatile __T3CONbits_t T3CONbits
;
6263 #define _T3CON_ON 0x01
6264 #define _T3CON_TMRON 0x01
6265 #define _T3CON_TMR3ON 0x01
6266 #define _T3CON_T3ON 0x01
6267 #define _T3CON_NOT_SYNC 0x04
6268 #define _T3CON_SYNC 0x04
6269 #define _T3CON_NOT_T3SYNC 0x04
6270 #define _T3CON_CKPS0 0x10
6271 #define _T3CON_T3CKPS0 0x10
6272 #define _T3CON_CKPS1 0x20
6273 #define _T3CON_T3CKPS1 0x20
6274 #define _T3CON_CS0 0x40
6275 #define _T3CON_T3CS0 0x40
6276 #define _T3CON_TMR3CS0 0x40
6277 #define _T3CON_CS1 0x80
6278 #define _T3CON_T3CS1 0x80
6279 #define _T3CON_TMR3CS1 0x80
6281 //==============================================================================
6284 //==============================================================================
6287 extern __at(0x0496) __sfr T3GCON
;
6296 unsigned GGO_NOT_DONE
: 1;
6305 unsigned T3GSS0
: 1;
6306 unsigned T3GSS1
: 1;
6307 unsigned T3GVAL
: 1;
6308 unsigned T3GGO_NOT_DONE
: 1;
6309 unsigned T3GSPM
: 1;
6311 unsigned T3GPOL
: 1;
6324 unsigned TMR3GE
: 1;
6340 extern __at(0x0496) volatile __T3GCONbits_t T3GCONbits
;
6342 #define _T3GCON_GSS0 0x01
6343 #define _T3GCON_T3GSS0 0x01
6344 #define _T3GCON_GSS1 0x02
6345 #define _T3GCON_T3GSS1 0x02
6346 #define _T3GCON_GVAL 0x04
6347 #define _T3GCON_T3GVAL 0x04
6348 #define _T3GCON_GGO_NOT_DONE 0x08
6349 #define _T3GCON_T3GGO_NOT_DONE 0x08
6350 #define _T3GCON_GSPM 0x10
6351 #define _T3GCON_T3GSPM 0x10
6352 #define _T3GCON_GTM 0x20
6353 #define _T3GCON_T3GTM 0x20
6354 #define _T3GCON_GPOL 0x40
6355 #define _T3GCON_T3GPOL 0x40
6356 #define _T3GCON_GE 0x80
6357 #define _T3GCON_T3GE 0x80
6358 #define _T3GCON_TMR3GE 0x80
6360 //==============================================================================
6362 extern __at(0x049A) __sfr TMR5
;
6363 extern __at(0x049A) __sfr TMR5L
;
6364 extern __at(0x049B) __sfr TMR5H
;
6366 //==============================================================================
6369 extern __at(0x049C) __sfr T5CON
;
6377 unsigned NOT_SYNC
: 1;
6391 unsigned T5CKPS0
: 1;
6392 unsigned T5CKPS1
: 1;
6399 unsigned TMR5ON
: 1;
6401 unsigned NOT_T5SYNC
: 1;
6405 unsigned TMR5CS0
: 1;
6406 unsigned TMR5CS1
: 1;
6424 unsigned T5CKPS
: 2;
6444 unsigned TMR5CS
: 2;
6454 extern __at(0x049C) volatile __T5CONbits_t T5CONbits
;
6456 #define _T5CON_ON 0x01
6457 #define _T5CON_TMRON 0x01
6458 #define _T5CON_TMR5ON 0x01
6459 #define _T5CON_T5ON 0x01
6460 #define _T5CON_NOT_SYNC 0x04
6461 #define _T5CON_SYNC 0x04
6462 #define _T5CON_NOT_T5SYNC 0x04
6463 #define _T5CON_CKPS0 0x10
6464 #define _T5CON_T5CKPS0 0x10
6465 #define _T5CON_CKPS1 0x20
6466 #define _T5CON_T5CKPS1 0x20
6467 #define _T5CON_CS0 0x40
6468 #define _T5CON_T5CS0 0x40
6469 #define _T5CON_TMR5CS0 0x40
6470 #define _T5CON_CS1 0x80
6471 #define _T5CON_T5CS1 0x80
6472 #define _T5CON_TMR5CS1 0x80
6474 //==============================================================================
6477 //==============================================================================
6480 extern __at(0x049D) __sfr T5GCON
;
6489 unsigned GGO_NOT_DONE
: 1;
6498 unsigned T5GSS0
: 1;
6499 unsigned T5GSS1
: 1;
6500 unsigned T5GVAL
: 1;
6501 unsigned T5GGO_NOT_DONE
: 1;
6502 unsigned T5GSPM
: 1;
6504 unsigned T5GPOL
: 1;
6517 unsigned TMR5GE
: 1;
6533 extern __at(0x049D) volatile __T5GCONbits_t T5GCONbits
;
6535 #define _T5GCON_GSS0 0x01
6536 #define _T5GCON_T5GSS0 0x01
6537 #define _T5GCON_GSS1 0x02
6538 #define _T5GCON_T5GSS1 0x02
6539 #define _T5GCON_GVAL 0x04
6540 #define _T5GCON_T5GVAL 0x04
6541 #define _T5GCON_GGO_NOT_DONE 0x08
6542 #define _T5GCON_T5GGO_NOT_DONE 0x08
6543 #define _T5GCON_GSPM 0x10
6544 #define _T5GCON_T5GSPM 0x10
6545 #define _T5GCON_GTM 0x20
6546 #define _T5GCON_T5GTM 0x20
6547 #define _T5GCON_GPOL 0x40
6548 #define _T5GCON_T5GPOL 0x40
6549 #define _T5GCON_GE 0x80
6550 #define _T5GCON_T5GE 0x80
6551 #define _T5GCON_TMR5GE 0x80
6553 //==============================================================================
6555 extern __at(0x050F) __sfr OPA1NCHS
;
6556 extern __at(0x0510) __sfr OPA1PCHS
;
6558 //==============================================================================
6561 extern __at(0x0511) __sfr OPA1CON
;
6579 unsigned OPA1ORM0
: 1;
6580 unsigned OPA1ORM1
: 1;
6581 unsigned OPA1ORPOL
: 1;
6583 unsigned OPA1UG
: 1;
6586 unsigned OPA1EN
: 1;
6597 unsigned OPA1ORM
: 2;
6602 extern __at(0x0511) volatile __OPA1CONbits_t OPA1CONbits
;
6604 #define _OPA1CON_ORM0 0x01
6605 #define _OPA1CON_OPA1ORM0 0x01
6606 #define _OPA1CON_ORM1 0x02
6607 #define _OPA1CON_OPA1ORM1 0x02
6608 #define _OPA1CON_ORPOL 0x04
6609 #define _OPA1CON_OPA1ORPOL 0x04
6610 #define _OPA1CON_UG 0x10
6611 #define _OPA1CON_OPA1UG 0x10
6612 #define _OPA1CON_EN 0x80
6613 #define _OPA1CON_OPA1EN 0x80
6615 //==============================================================================
6617 extern __at(0x0512) __sfr OPA1ORS
;
6618 extern __at(0x0513) __sfr OPA2NCHS
;
6619 extern __at(0x0514) __sfr OPA2PCHS
;
6621 //==============================================================================
6624 extern __at(0x0515) __sfr OPA2CON
;
6642 unsigned OPA2ORM0
: 1;
6643 unsigned OPA2ORM1
: 1;
6644 unsigned OPA2ORPOL
: 1;
6646 unsigned OPA2UG
: 1;
6649 unsigned OPA2EN
: 1;
6654 unsigned OPA2ORM
: 2;
6665 extern __at(0x0515) volatile __OPA2CONbits_t OPA2CONbits
;
6667 #define _OPA2CON_ORM0 0x01
6668 #define _OPA2CON_OPA2ORM0 0x01
6669 #define _OPA2CON_ORM1 0x02
6670 #define _OPA2CON_OPA2ORM1 0x02
6671 #define _OPA2CON_ORPOL 0x04
6672 #define _OPA2CON_OPA2ORPOL 0x04
6673 #define _OPA2CON_UG 0x10
6674 #define _OPA2CON_OPA2UG 0x10
6675 #define _OPA2CON_EN 0x80
6676 #define _OPA2CON_OPA2EN 0x80
6678 //==============================================================================
6680 extern __at(0x0516) __sfr OPA2ORS
;
6682 //==============================================================================
6685 extern __at(0x0590) __sfr DACLD
;
6689 unsigned DAC1LD
: 1;
6690 unsigned DAC2LD
: 1;
6699 extern __at(0x0590) volatile __DACLDbits_t DACLDbits
;
6701 #define _DAC1LD 0x01
6702 #define _DAC2LD 0x02
6704 //==============================================================================
6707 //==============================================================================
6710 extern __at(0x0591) __sfr DAC1CON0
;
6728 unsigned DACNSS0
: 1;
6730 unsigned DACPSS0
: 1;
6731 unsigned DACPSS1
: 1;
6740 unsigned DAC1NSS0
: 1;
6742 unsigned DAC1PSS0
: 1;
6743 unsigned DAC1PSS1
: 1;
6745 unsigned DACOE1
: 1;
6746 unsigned DAC1FM
: 1;
6747 unsigned DAC1EN
: 1;
6769 unsigned DAC1OE1
: 1;
6777 unsigned DAC1PSS
: 2;
6791 unsigned DACPSS
: 2;
6796 extern __at(0x0591) volatile __DAC1CON0bits_t DAC1CON0bits
;
6798 #define _DAC1CON0_NSS0 0x01
6799 #define _DAC1CON0_DACNSS0 0x01
6800 #define _DAC1CON0_DAC1NSS0 0x01
6801 #define _DAC1CON0_PSS0 0x04
6802 #define _DAC1CON0_DACPSS0 0x04
6803 #define _DAC1CON0_DAC1PSS0 0x04
6804 #define _DAC1CON0_PSS1 0x08
6805 #define _DAC1CON0_DACPSS1 0x08
6806 #define _DAC1CON0_DAC1PSS1 0x08
6807 #define _DAC1CON0_OE1 0x20
6808 #define _DAC1CON0_OE 0x20
6809 #define _DAC1CON0_DACOE1 0x20
6810 #define _DAC1CON0_DACOE 0x20
6811 #define _DAC1CON0_DAC1OE1 0x20
6812 #define _DAC1CON0_FM 0x40
6813 #define _DAC1CON0_DACFM 0x40
6814 #define _DAC1CON0_DAC1FM 0x40
6815 #define _DAC1CON0_EN 0x80
6816 #define _DAC1CON0_DACEN 0x80
6817 #define _DAC1CON0_DAC1EN 0x80
6819 //==============================================================================
6822 //==============================================================================
6825 extern __at(0x0592) __sfr DAC1CON1
;
6843 unsigned DAC1REF0
: 1;
6844 unsigned DAC1REF1
: 1;
6845 unsigned DAC1REF2
: 1;
6846 unsigned DAC1REF3
: 1;
6847 unsigned DAC1REF4
: 1;
6848 unsigned DAC1REF5
: 1;
6849 unsigned DAC1REF6
: 1;
6850 unsigned DAC1REF7
: 1;
6867 unsigned DAC1R0
: 1;
6868 unsigned DAC1R1
: 1;
6869 unsigned DAC1R2
: 1;
6870 unsigned DAC1R3
: 1;
6871 unsigned DAC1R4
: 1;
6872 unsigned DAC1R5
: 1;
6873 unsigned DAC1R6
: 1;
6874 unsigned DAC1R7
: 1;
6878 extern __at(0x0592) volatile __DAC1CON1bits_t DAC1CON1bits
;
6881 #define _DAC1REF0 0x01
6883 #define _DAC1R0 0x01
6885 #define _DAC1REF1 0x02
6887 #define _DAC1R1 0x02
6889 #define _DAC1REF2 0x04
6891 #define _DAC1R2 0x04
6893 #define _DAC1REF3 0x08
6895 #define _DAC1R3 0x08
6897 #define _DAC1REF4 0x10
6899 #define _DAC1R4 0x10
6901 #define _DAC1REF5 0x20
6903 #define _DAC1R5 0x20
6905 #define _DAC1REF6 0x40
6907 #define _DAC1R6 0x40
6909 #define _DAC1REF7 0x80
6911 #define _DAC1R7 0x80
6913 //==============================================================================
6915 extern __at(0x0592) __sfr DAC1REF
;
6917 //==============================================================================
6920 extern __at(0x0592) __sfr DAC1REFL
;
6938 unsigned DAC1REF0
: 1;
6939 unsigned DAC1REF1
: 1;
6940 unsigned DAC1REF2
: 1;
6941 unsigned DAC1REF3
: 1;
6942 unsigned DAC1REF4
: 1;
6943 unsigned DAC1REF5
: 1;
6944 unsigned DAC1REF6
: 1;
6945 unsigned DAC1REF7
: 1;
6962 unsigned DAC1R0
: 1;
6963 unsigned DAC1R1
: 1;
6964 unsigned DAC1R2
: 1;
6965 unsigned DAC1R3
: 1;
6966 unsigned DAC1R4
: 1;
6967 unsigned DAC1R5
: 1;
6968 unsigned DAC1R6
: 1;
6969 unsigned DAC1R7
: 1;
6973 extern __at(0x0592) volatile __DAC1REFLbits_t DAC1REFLbits
;
6975 #define _DAC1REFL_REF0 0x01
6976 #define _DAC1REFL_DAC1REF0 0x01
6977 #define _DAC1REFL_R0 0x01
6978 #define _DAC1REFL_DAC1R0 0x01
6979 #define _DAC1REFL_REF1 0x02
6980 #define _DAC1REFL_DAC1REF1 0x02
6981 #define _DAC1REFL_R1 0x02
6982 #define _DAC1REFL_DAC1R1 0x02
6983 #define _DAC1REFL_REF2 0x04
6984 #define _DAC1REFL_DAC1REF2 0x04
6985 #define _DAC1REFL_R2 0x04
6986 #define _DAC1REFL_DAC1R2 0x04
6987 #define _DAC1REFL_REF3 0x08
6988 #define _DAC1REFL_DAC1REF3 0x08
6989 #define _DAC1REFL_R3 0x08
6990 #define _DAC1REFL_DAC1R3 0x08
6991 #define _DAC1REFL_REF4 0x10
6992 #define _DAC1REFL_DAC1REF4 0x10
6993 #define _DAC1REFL_R4 0x10
6994 #define _DAC1REFL_DAC1R4 0x10
6995 #define _DAC1REFL_REF5 0x20
6996 #define _DAC1REFL_DAC1REF5 0x20
6997 #define _DAC1REFL_R5 0x20
6998 #define _DAC1REFL_DAC1R5 0x20
6999 #define _DAC1REFL_REF6 0x40
7000 #define _DAC1REFL_DAC1REF6 0x40
7001 #define _DAC1REFL_R6 0x40
7002 #define _DAC1REFL_DAC1R6 0x40
7003 #define _DAC1REFL_REF7 0x80
7004 #define _DAC1REFL_DAC1REF7 0x80
7005 #define _DAC1REFL_R7 0x80
7006 #define _DAC1REFL_DAC1R7 0x80
7008 //==============================================================================
7011 //==============================================================================
7014 extern __at(0x0593) __sfr DAC1CON2
;
7032 unsigned DAC1REF8
: 1;
7033 unsigned DAC1REF9
: 1;
7034 unsigned DAC1REF10
: 1;
7035 unsigned DAC1REF11
: 1;
7036 unsigned DAC1REF12
: 1;
7037 unsigned DAC1REF13
: 1;
7038 unsigned DAC1REF14
: 1;
7039 unsigned DAC1REF15
: 1;
7056 unsigned DAC1R8
: 1;
7057 unsigned DAC1R9
: 1;
7058 unsigned DAC1R10
: 1;
7059 unsigned DAC1R11
: 1;
7060 unsigned DAC1R12
: 1;
7061 unsigned DAC1R13
: 1;
7062 unsigned DAC1R14
: 1;
7063 unsigned DAC1R15
: 1;
7067 extern __at(0x0593) volatile __DAC1CON2bits_t DAC1CON2bits
;
7070 #define _DAC1REF8 0x01
7072 #define _DAC1R8 0x01
7074 #define _DAC1REF9 0x02
7076 #define _DAC1R9 0x02
7078 #define _DAC1REF10 0x04
7080 #define _DAC1R10 0x04
7082 #define _DAC1REF11 0x08
7084 #define _DAC1R11 0x08
7086 #define _DAC1REF12 0x10
7088 #define _DAC1R12 0x10
7090 #define _DAC1REF13 0x20
7092 #define _DAC1R13 0x20
7094 #define _DAC1REF14 0x40
7096 #define _DAC1R14 0x40
7098 #define _DAC1REF15 0x80
7100 #define _DAC1R15 0x80
7102 //==============================================================================
7105 //==============================================================================
7108 extern __at(0x0593) __sfr DAC1REFH
;
7126 unsigned DAC1REF8
: 1;
7127 unsigned DAC1REF9
: 1;
7128 unsigned DAC1REF10
: 1;
7129 unsigned DAC1REF11
: 1;
7130 unsigned DAC1REF12
: 1;
7131 unsigned DAC1REF13
: 1;
7132 unsigned DAC1REF14
: 1;
7133 unsigned DAC1REF15
: 1;
7150 unsigned DAC1R8
: 1;
7151 unsigned DAC1R9
: 1;
7152 unsigned DAC1R10
: 1;
7153 unsigned DAC1R11
: 1;
7154 unsigned DAC1R12
: 1;
7155 unsigned DAC1R13
: 1;
7156 unsigned DAC1R14
: 1;
7157 unsigned DAC1R15
: 1;
7161 extern __at(0x0593) volatile __DAC1REFHbits_t DAC1REFHbits
;
7163 #define _DAC1REFH_REF8 0x01
7164 #define _DAC1REFH_DAC1REF8 0x01
7165 #define _DAC1REFH_R8 0x01
7166 #define _DAC1REFH_DAC1R8 0x01
7167 #define _DAC1REFH_REF9 0x02
7168 #define _DAC1REFH_DAC1REF9 0x02
7169 #define _DAC1REFH_R9 0x02
7170 #define _DAC1REFH_DAC1R9 0x02
7171 #define _DAC1REFH_REF10 0x04
7172 #define _DAC1REFH_DAC1REF10 0x04
7173 #define _DAC1REFH_R10 0x04
7174 #define _DAC1REFH_DAC1R10 0x04
7175 #define _DAC1REFH_REF11 0x08
7176 #define _DAC1REFH_DAC1REF11 0x08
7177 #define _DAC1REFH_R11 0x08
7178 #define _DAC1REFH_DAC1R11 0x08
7179 #define _DAC1REFH_REF12 0x10
7180 #define _DAC1REFH_DAC1REF12 0x10
7181 #define _DAC1REFH_R12 0x10
7182 #define _DAC1REFH_DAC1R12 0x10
7183 #define _DAC1REFH_REF13 0x20
7184 #define _DAC1REFH_DAC1REF13 0x20
7185 #define _DAC1REFH_R13 0x20
7186 #define _DAC1REFH_DAC1R13 0x20
7187 #define _DAC1REFH_REF14 0x40
7188 #define _DAC1REFH_DAC1REF14 0x40
7189 #define _DAC1REFH_R14 0x40
7190 #define _DAC1REFH_DAC1R14 0x40
7191 #define _DAC1REFH_REF15 0x80
7192 #define _DAC1REFH_DAC1REF15 0x80
7193 #define _DAC1REFH_R15 0x80
7194 #define _DAC1REFH_DAC1R15 0x80
7196 //==============================================================================
7199 //==============================================================================
7202 extern __at(0x0594) __sfr DAC2CON0
;
7220 unsigned DACNSS0
: 1;
7222 unsigned DACPSS0
: 1;
7223 unsigned DACPSS1
: 1;
7232 unsigned DAC2NSS0
: 1;
7234 unsigned DAC2PSS0
: 1;
7235 unsigned DAC2PSS1
: 1;
7237 unsigned DACOE1
: 1;
7238 unsigned DAC2FM
: 1;
7239 unsigned DAC2EN
: 1;
7261 unsigned DAC2OE1
: 1;
7269 unsigned DACPSS
: 2;
7283 unsigned DAC2PSS
: 2;
7288 extern __at(0x0594) volatile __DAC2CON0bits_t DAC2CON0bits
;
7290 #define _DAC2CON0_NSS0 0x01
7291 #define _DAC2CON0_DACNSS0 0x01
7292 #define _DAC2CON0_DAC2NSS0 0x01
7293 #define _DAC2CON0_PSS0 0x04
7294 #define _DAC2CON0_DACPSS0 0x04
7295 #define _DAC2CON0_DAC2PSS0 0x04
7296 #define _DAC2CON0_PSS1 0x08
7297 #define _DAC2CON0_DACPSS1 0x08
7298 #define _DAC2CON0_DAC2PSS1 0x08
7299 #define _DAC2CON0_OE1 0x20
7300 #define _DAC2CON0_OE 0x20
7301 #define _DAC2CON0_DACOE1 0x20
7302 #define _DAC2CON0_DACOE 0x20
7303 #define _DAC2CON0_DAC2OE1 0x20
7304 #define _DAC2CON0_FM 0x40
7305 #define _DAC2CON0_DACFM 0x40
7306 #define _DAC2CON0_DAC2FM 0x40
7307 #define _DAC2CON0_EN 0x80
7308 #define _DAC2CON0_DACEN 0x80
7309 #define _DAC2CON0_DAC2EN 0x80
7311 //==============================================================================
7314 //==============================================================================
7317 extern __at(0x0595) __sfr DAC2CON1
;
7335 unsigned DAC2REF0
: 1;
7336 unsigned DAC2REF1
: 1;
7337 unsigned DAC2REF2
: 1;
7338 unsigned DAC2REF3
: 1;
7339 unsigned DAC2REF4
: 1;
7340 unsigned DAC2REF5
: 1;
7341 unsigned DAC2REF6
: 1;
7342 unsigned DAC2REF7
: 1;
7359 unsigned DAC2R0
: 1;
7360 unsigned DAC2R1
: 1;
7361 unsigned DAC2R2
: 1;
7362 unsigned DAC2R3
: 1;
7363 unsigned DAC2R4
: 1;
7364 unsigned DAC2R5
: 1;
7365 unsigned DAC2R6
: 1;
7366 unsigned DAC2R7
: 1;
7370 extern __at(0x0595) volatile __DAC2CON1bits_t DAC2CON1bits
;
7372 #define _DAC2CON1_REF0 0x01
7373 #define _DAC2CON1_DAC2REF0 0x01
7374 #define _DAC2CON1_R0 0x01
7375 #define _DAC2CON1_DAC2R0 0x01
7376 #define _DAC2CON1_REF1 0x02
7377 #define _DAC2CON1_DAC2REF1 0x02
7378 #define _DAC2CON1_R1 0x02
7379 #define _DAC2CON1_DAC2R1 0x02
7380 #define _DAC2CON1_REF2 0x04
7381 #define _DAC2CON1_DAC2REF2 0x04
7382 #define _DAC2CON1_R2 0x04
7383 #define _DAC2CON1_DAC2R2 0x04
7384 #define _DAC2CON1_REF3 0x08
7385 #define _DAC2CON1_DAC2REF3 0x08
7386 #define _DAC2CON1_R3 0x08
7387 #define _DAC2CON1_DAC2R3 0x08
7388 #define _DAC2CON1_REF4 0x10
7389 #define _DAC2CON1_DAC2REF4 0x10
7390 #define _DAC2CON1_R4 0x10
7391 #define _DAC2CON1_DAC2R4 0x10
7392 #define _DAC2CON1_REF5 0x20
7393 #define _DAC2CON1_DAC2REF5 0x20
7394 #define _DAC2CON1_R5 0x20
7395 #define _DAC2CON1_DAC2R5 0x20
7396 #define _DAC2CON1_REF6 0x40
7397 #define _DAC2CON1_DAC2REF6 0x40
7398 #define _DAC2CON1_R6 0x40
7399 #define _DAC2CON1_DAC2R6 0x40
7400 #define _DAC2CON1_REF7 0x80
7401 #define _DAC2CON1_DAC2REF7 0x80
7402 #define _DAC2CON1_R7 0x80
7403 #define _DAC2CON1_DAC2R7 0x80
7405 //==============================================================================
7407 extern __at(0x0595) __sfr DAC2REF
;
7409 //==============================================================================
7412 extern __at(0x0595) __sfr DAC2REFL
;
7430 unsigned DAC2REF0
: 1;
7431 unsigned DAC2REF1
: 1;
7432 unsigned DAC2REF2
: 1;
7433 unsigned DAC2REF3
: 1;
7434 unsigned DAC2REF4
: 1;
7435 unsigned DAC2REF5
: 1;
7436 unsigned DAC2REF6
: 1;
7437 unsigned DAC2REF7
: 1;
7454 unsigned DAC2R0
: 1;
7455 unsigned DAC2R1
: 1;
7456 unsigned DAC2R2
: 1;
7457 unsigned DAC2R3
: 1;
7458 unsigned DAC2R4
: 1;
7459 unsigned DAC2R5
: 1;
7460 unsigned DAC2R6
: 1;
7461 unsigned DAC2R7
: 1;
7465 extern __at(0x0595) volatile __DAC2REFLbits_t DAC2REFLbits
;
7467 #define _DAC2REFL_REF0 0x01
7468 #define _DAC2REFL_DAC2REF0 0x01
7469 #define _DAC2REFL_R0 0x01
7470 #define _DAC2REFL_DAC2R0 0x01
7471 #define _DAC2REFL_REF1 0x02
7472 #define _DAC2REFL_DAC2REF1 0x02
7473 #define _DAC2REFL_R1 0x02
7474 #define _DAC2REFL_DAC2R1 0x02
7475 #define _DAC2REFL_REF2 0x04
7476 #define _DAC2REFL_DAC2REF2 0x04
7477 #define _DAC2REFL_R2 0x04
7478 #define _DAC2REFL_DAC2R2 0x04
7479 #define _DAC2REFL_REF3 0x08
7480 #define _DAC2REFL_DAC2REF3 0x08
7481 #define _DAC2REFL_R3 0x08
7482 #define _DAC2REFL_DAC2R3 0x08
7483 #define _DAC2REFL_REF4 0x10
7484 #define _DAC2REFL_DAC2REF4 0x10
7485 #define _DAC2REFL_R4 0x10
7486 #define _DAC2REFL_DAC2R4 0x10
7487 #define _DAC2REFL_REF5 0x20
7488 #define _DAC2REFL_DAC2REF5 0x20
7489 #define _DAC2REFL_R5 0x20
7490 #define _DAC2REFL_DAC2R5 0x20
7491 #define _DAC2REFL_REF6 0x40
7492 #define _DAC2REFL_DAC2REF6 0x40
7493 #define _DAC2REFL_R6 0x40
7494 #define _DAC2REFL_DAC2R6 0x40
7495 #define _DAC2REFL_REF7 0x80
7496 #define _DAC2REFL_DAC2REF7 0x80
7497 #define _DAC2REFL_R7 0x80
7498 #define _DAC2REFL_DAC2R7 0x80
7500 //==============================================================================
7503 //==============================================================================
7506 extern __at(0x0596) __sfr DAC2CON2
;
7524 unsigned DAC2REF8
: 1;
7525 unsigned DAC2REF9
: 1;
7526 unsigned DAC2REF10
: 1;
7527 unsigned DAC2REF11
: 1;
7528 unsigned DAC2REF12
: 1;
7529 unsigned DAC2REF13
: 1;
7530 unsigned DAC2REF14
: 1;
7531 unsigned DAC2REF15
: 1;
7548 unsigned DAC2R8
: 1;
7549 unsigned DAC2R9
: 1;
7550 unsigned DAC2R10
: 1;
7551 unsigned DAC2R11
: 1;
7552 unsigned DAC2R12
: 1;
7553 unsigned DAC2R13
: 1;
7554 unsigned DAC2R14
: 1;
7555 unsigned DAC2R15
: 1;
7559 extern __at(0x0596) volatile __DAC2CON2bits_t DAC2CON2bits
;
7561 #define _DAC2CON2_REF8 0x01
7562 #define _DAC2CON2_DAC2REF8 0x01
7563 #define _DAC2CON2_R8 0x01
7564 #define _DAC2CON2_DAC2R8 0x01
7565 #define _DAC2CON2_REF9 0x02
7566 #define _DAC2CON2_DAC2REF9 0x02
7567 #define _DAC2CON2_R9 0x02
7568 #define _DAC2CON2_DAC2R9 0x02
7569 #define _DAC2CON2_REF10 0x04
7570 #define _DAC2CON2_DAC2REF10 0x04
7571 #define _DAC2CON2_R10 0x04
7572 #define _DAC2CON2_DAC2R10 0x04
7573 #define _DAC2CON2_REF11 0x08
7574 #define _DAC2CON2_DAC2REF11 0x08
7575 #define _DAC2CON2_R11 0x08
7576 #define _DAC2CON2_DAC2R11 0x08
7577 #define _DAC2CON2_REF12 0x10
7578 #define _DAC2CON2_DAC2REF12 0x10
7579 #define _DAC2CON2_R12 0x10
7580 #define _DAC2CON2_DAC2R12 0x10
7581 #define _DAC2CON2_REF13 0x20
7582 #define _DAC2CON2_DAC2REF13 0x20
7583 #define _DAC2CON2_R13 0x20
7584 #define _DAC2CON2_DAC2R13 0x20
7585 #define _DAC2CON2_REF14 0x40
7586 #define _DAC2CON2_DAC2REF14 0x40
7587 #define _DAC2CON2_R14 0x40
7588 #define _DAC2CON2_DAC2R14 0x40
7589 #define _DAC2CON2_REF15 0x80
7590 #define _DAC2CON2_DAC2REF15 0x80
7591 #define _DAC2CON2_R15 0x80
7592 #define _DAC2CON2_DAC2R15 0x80
7594 //==============================================================================
7597 //==============================================================================
7600 extern __at(0x0596) __sfr DAC2REFH
;
7618 unsigned DAC2REF8
: 1;
7619 unsigned DAC2REF9
: 1;
7620 unsigned DAC2REF10
: 1;
7621 unsigned DAC2REF11
: 1;
7622 unsigned DAC2REF12
: 1;
7623 unsigned DAC2REF13
: 1;
7624 unsigned DAC2REF14
: 1;
7625 unsigned DAC2REF15
: 1;
7642 unsigned DAC2R8
: 1;
7643 unsigned DAC2R9
: 1;
7644 unsigned DAC2R10
: 1;
7645 unsigned DAC2R11
: 1;
7646 unsigned DAC2R12
: 1;
7647 unsigned DAC2R13
: 1;
7648 unsigned DAC2R14
: 1;
7649 unsigned DAC2R15
: 1;
7653 extern __at(0x0596) volatile __DAC2REFHbits_t DAC2REFHbits
;
7655 #define _DAC2REFH_REF8 0x01
7656 #define _DAC2REFH_DAC2REF8 0x01
7657 #define _DAC2REFH_R8 0x01
7658 #define _DAC2REFH_DAC2R8 0x01
7659 #define _DAC2REFH_REF9 0x02
7660 #define _DAC2REFH_DAC2REF9 0x02
7661 #define _DAC2REFH_R9 0x02
7662 #define _DAC2REFH_DAC2R9 0x02
7663 #define _DAC2REFH_REF10 0x04
7664 #define _DAC2REFH_DAC2REF10 0x04
7665 #define _DAC2REFH_R10 0x04
7666 #define _DAC2REFH_DAC2R10 0x04
7667 #define _DAC2REFH_REF11 0x08
7668 #define _DAC2REFH_DAC2REF11 0x08
7669 #define _DAC2REFH_R11 0x08
7670 #define _DAC2REFH_DAC2R11 0x08
7671 #define _DAC2REFH_REF12 0x10
7672 #define _DAC2REFH_DAC2REF12 0x10
7673 #define _DAC2REFH_R12 0x10
7674 #define _DAC2REFH_DAC2R12 0x10
7675 #define _DAC2REFH_REF13 0x20
7676 #define _DAC2REFH_DAC2REF13 0x20
7677 #define _DAC2REFH_R13 0x20
7678 #define _DAC2REFH_DAC2R13 0x20
7679 #define _DAC2REFH_REF14 0x40
7680 #define _DAC2REFH_DAC2REF14 0x40
7681 #define _DAC2REFH_R14 0x40
7682 #define _DAC2REFH_DAC2R14 0x40
7683 #define _DAC2REFH_REF15 0x80
7684 #define _DAC2REFH_DAC2REF15 0x80
7685 #define _DAC2REFH_R15 0x80
7686 #define _DAC2REFH_DAC2R15 0x80
7688 //==============================================================================
7691 //==============================================================================
7694 extern __at(0x0597) __sfr DAC3CON0
;
7712 unsigned DACNSS
: 1;
7714 unsigned DACPSS0
: 1;
7715 unsigned DACPSS1
: 1;
7717 unsigned DACOE1
: 1;
7724 unsigned DAC3NSS
: 1;
7726 unsigned DAC3PSS0
: 1;
7727 unsigned DAC3PSS1
: 1;
7729 unsigned DAC3OE1
: 1;
7731 unsigned DAC3EN
: 1;
7744 unsigned DACPSS
: 2;
7751 unsigned DAC3PSS
: 2;
7756 extern __at(0x0597) volatile __DAC3CON0bits_t DAC3CON0bits
;
7758 #define _DAC3CON0_NSS 0x01
7759 #define _DAC3CON0_DACNSS 0x01
7760 #define _DAC3CON0_DAC3NSS 0x01
7761 #define _DAC3CON0_PSS0 0x04
7762 #define _DAC3CON0_DACPSS0 0x04
7763 #define _DAC3CON0_DAC3PSS0 0x04
7764 #define _DAC3CON0_PSS1 0x08
7765 #define _DAC3CON0_DACPSS1 0x08
7766 #define _DAC3CON0_DAC3PSS1 0x08
7767 #define _DAC3CON0_OE1 0x20
7768 #define _DAC3CON0_DACOE1 0x20
7769 #define _DAC3CON0_DAC3OE1 0x20
7770 #define _DAC3CON0_EN 0x80
7771 #define _DAC3CON0_DACEN 0x80
7772 #define _DAC3CON0_DAC3EN 0x80
7774 //==============================================================================
7777 //==============================================================================
7780 extern __at(0x0598) __sfr DAC3CON1
;
7803 unsigned DAC3REF5
: 1;
7810 unsigned DAC3R0
: 1;
7811 unsigned DAC3R1
: 1;
7812 unsigned DAC3R2
: 1;
7813 unsigned DAC3R3
: 1;
7814 unsigned DAC3R4
: 1;
7834 unsigned DAC3REF0
: 1;
7835 unsigned DAC3REF1
: 1;
7836 unsigned DAC3REF2
: 1;
7837 unsigned DAC3REF3
: 1;
7838 unsigned DAC3REF4
: 1;
7852 unsigned DAC3REF
: 6;
7875 extern __at(0x0598) volatile __DAC3CON1bits_t DAC3CON1bits
;
7877 #define _DAC3CON1_DACR0 0x01
7878 #define _DAC3CON1_R0 0x01
7879 #define _DAC3CON1_DAC3R0 0x01
7880 #define _DAC3CON1_REF0 0x01
7881 #define _DAC3CON1_DAC3REF0 0x01
7882 #define _DAC3CON1_DACR1 0x02
7883 #define _DAC3CON1_R1 0x02
7884 #define _DAC3CON1_DAC3R1 0x02
7885 #define _DAC3CON1_REF1 0x02
7886 #define _DAC3CON1_DAC3REF1 0x02
7887 #define _DAC3CON1_DACR2 0x04
7888 #define _DAC3CON1_R2 0x04
7889 #define _DAC3CON1_DAC3R2 0x04
7890 #define _DAC3CON1_REF2 0x04
7891 #define _DAC3CON1_DAC3REF2 0x04
7892 #define _DAC3CON1_DACR3 0x08
7893 #define _DAC3CON1_R3 0x08
7894 #define _DAC3CON1_DAC3R3 0x08
7895 #define _DAC3CON1_REF3 0x08
7896 #define _DAC3CON1_DAC3REF3 0x08
7897 #define _DAC3CON1_DACR4 0x10
7898 #define _DAC3CON1_R4 0x10
7899 #define _DAC3CON1_DAC3R4 0x10
7900 #define _DAC3CON1_REF4 0x10
7901 #define _DAC3CON1_DAC3REF4 0x10
7902 #define _DAC3CON1_REF5 0x20
7903 #define _DAC3CON1_DAC3REF5 0x20
7905 //==============================================================================
7908 //==============================================================================
7911 extern __at(0x0598) __sfr DAC3REF
;
7934 unsigned DAC3REF5
: 1;
7941 unsigned DAC3R0
: 1;
7942 unsigned DAC3R1
: 1;
7943 unsigned DAC3R2
: 1;
7944 unsigned DAC3R3
: 1;
7945 unsigned DAC3R4
: 1;
7965 unsigned DAC3REF0
: 1;
7966 unsigned DAC3REF1
: 1;
7967 unsigned DAC3REF2
: 1;
7968 unsigned DAC3REF3
: 1;
7969 unsigned DAC3REF4
: 1;
7983 unsigned DAC3REF
: 6;
8006 extern __at(0x0598) volatile __DAC3REFbits_t DAC3REFbits
;
8008 #define _DAC3REF_DACR0 0x01
8009 #define _DAC3REF_R0 0x01
8010 #define _DAC3REF_DAC3R0 0x01
8011 #define _DAC3REF_REF0 0x01
8012 #define _DAC3REF_DAC3REF0 0x01
8013 #define _DAC3REF_DACR1 0x02
8014 #define _DAC3REF_R1 0x02
8015 #define _DAC3REF_DAC3R1 0x02
8016 #define _DAC3REF_REF1 0x02
8017 #define _DAC3REF_DAC3REF1 0x02
8018 #define _DAC3REF_DACR2 0x04
8019 #define _DAC3REF_R2 0x04
8020 #define _DAC3REF_DAC3R2 0x04
8021 #define _DAC3REF_REF2 0x04
8022 #define _DAC3REF_DAC3REF2 0x04
8023 #define _DAC3REF_DACR3 0x08
8024 #define _DAC3REF_R3 0x08
8025 #define _DAC3REF_DAC3R3 0x08
8026 #define _DAC3REF_REF3 0x08
8027 #define _DAC3REF_DAC3REF3 0x08
8028 #define _DAC3REF_DACR4 0x10
8029 #define _DAC3REF_R4 0x10
8030 #define _DAC3REF_DAC3R4 0x10
8031 #define _DAC3REF_REF4 0x10
8032 #define _DAC3REF_DAC3REF4 0x10
8033 #define _DAC3REF_REF5 0x20
8034 #define _DAC3REF_DAC3REF5 0x20
8036 //==============================================================================
8039 //==============================================================================
8042 extern __at(0x0599) __sfr DAC4CON0
;
8060 unsigned DACNSS
: 1;
8062 unsigned DACPSS0
: 1;
8063 unsigned DACPSS1
: 1;
8065 unsigned DACOE1
: 1;
8072 unsigned DAC4NSS
: 1;
8074 unsigned DAC4PSS0
: 1;
8075 unsigned DAC4PSS1
: 1;
8077 unsigned DAC4OE1
: 1;
8079 unsigned DAC4EN
: 1;
8085 unsigned DACPSS
: 2;
8092 unsigned DAC4PSS
: 2;
8104 extern __at(0x0599) volatile __DAC4CON0bits_t DAC4CON0bits
;
8106 #define _DAC4CON0_NSS 0x01
8107 #define _DAC4CON0_DACNSS 0x01
8108 #define _DAC4CON0_DAC4NSS 0x01
8109 #define _DAC4CON0_PSS0 0x04
8110 #define _DAC4CON0_DACPSS0 0x04
8111 #define _DAC4CON0_DAC4PSS0 0x04
8112 #define _DAC4CON0_PSS1 0x08
8113 #define _DAC4CON0_DACPSS1 0x08
8114 #define _DAC4CON0_DAC4PSS1 0x08
8115 #define _DAC4CON0_OE1 0x20
8116 #define _DAC4CON0_DACOE1 0x20
8117 #define _DAC4CON0_DAC4OE1 0x20
8118 #define _DAC4CON0_EN 0x80
8119 #define _DAC4CON0_DACEN 0x80
8120 #define _DAC4CON0_DAC4EN 0x80
8122 //==============================================================================
8125 //==============================================================================
8128 extern __at(0x059A) __sfr DAC4CON1
;
8151 unsigned DAC4REF5
: 1;
8158 unsigned DAC4R0
: 1;
8159 unsigned DAC4R1
: 1;
8160 unsigned DAC4R2
: 1;
8161 unsigned DAC4R3
: 1;
8162 unsigned DAC4R4
: 1;
8182 unsigned DAC4REF0
: 1;
8183 unsigned DAC4REF1
: 1;
8184 unsigned DAC4REF2
: 1;
8185 unsigned DAC4REF3
: 1;
8186 unsigned DAC4REF4
: 1;
8206 unsigned DAC4REF
: 6;
8223 extern __at(0x059A) volatile __DAC4CON1bits_t DAC4CON1bits
;
8225 #define _DAC4CON1_DACR0 0x01
8226 #define _DAC4CON1_R0 0x01
8227 #define _DAC4CON1_DAC4R0 0x01
8228 #define _DAC4CON1_REF0 0x01
8229 #define _DAC4CON1_DAC4REF0 0x01
8230 #define _DAC4CON1_DACR1 0x02
8231 #define _DAC4CON1_R1 0x02
8232 #define _DAC4CON1_DAC4R1 0x02
8233 #define _DAC4CON1_REF1 0x02
8234 #define _DAC4CON1_DAC4REF1 0x02
8235 #define _DAC4CON1_DACR2 0x04
8236 #define _DAC4CON1_R2 0x04
8237 #define _DAC4CON1_DAC4R2 0x04
8238 #define _DAC4CON1_REF2 0x04
8239 #define _DAC4CON1_DAC4REF2 0x04
8240 #define _DAC4CON1_DACR3 0x08
8241 #define _DAC4CON1_R3 0x08
8242 #define _DAC4CON1_DAC4R3 0x08
8243 #define _DAC4CON1_REF3 0x08
8244 #define _DAC4CON1_DAC4REF3 0x08
8245 #define _DAC4CON1_DACR4 0x10
8246 #define _DAC4CON1_R4 0x10
8247 #define _DAC4CON1_DAC4R4 0x10
8248 #define _DAC4CON1_REF4 0x10
8249 #define _DAC4CON1_DAC4REF4 0x10
8250 #define _DAC4CON1_REF5 0x20
8251 #define _DAC4CON1_DAC4REF5 0x20
8253 //==============================================================================
8256 //==============================================================================
8259 extern __at(0x059A) __sfr DAC4REF
;
8282 unsigned DAC4REF5
: 1;
8289 unsigned DAC4R0
: 1;
8290 unsigned DAC4R1
: 1;
8291 unsigned DAC4R2
: 1;
8292 unsigned DAC4R3
: 1;
8293 unsigned DAC4R4
: 1;
8313 unsigned DAC4REF0
: 1;
8314 unsigned DAC4REF1
: 1;
8315 unsigned DAC4REF2
: 1;
8316 unsigned DAC4REF3
: 1;
8317 unsigned DAC4REF4
: 1;
8349 unsigned DAC4REF
: 6;
8354 extern __at(0x059A) volatile __DAC4REFbits_t DAC4REFbits
;
8356 #define _DAC4REF_DACR0 0x01
8357 #define _DAC4REF_R0 0x01
8358 #define _DAC4REF_DAC4R0 0x01
8359 #define _DAC4REF_REF0 0x01
8360 #define _DAC4REF_DAC4REF0 0x01
8361 #define _DAC4REF_DACR1 0x02
8362 #define _DAC4REF_R1 0x02
8363 #define _DAC4REF_DAC4R1 0x02
8364 #define _DAC4REF_REF1 0x02
8365 #define _DAC4REF_DAC4REF1 0x02
8366 #define _DAC4REF_DACR2 0x04
8367 #define _DAC4REF_R2 0x04
8368 #define _DAC4REF_DAC4R2 0x04
8369 #define _DAC4REF_REF2 0x04
8370 #define _DAC4REF_DAC4REF2 0x04
8371 #define _DAC4REF_DACR3 0x08
8372 #define _DAC4REF_R3 0x08
8373 #define _DAC4REF_DAC4R3 0x08
8374 #define _DAC4REF_REF3 0x08
8375 #define _DAC4REF_DAC4REF3 0x08
8376 #define _DAC4REF_DACR4 0x10
8377 #define _DAC4REF_R4 0x10
8378 #define _DAC4REF_DAC4R4 0x10
8379 #define _DAC4REF_REF4 0x10
8380 #define _DAC4REF_DAC4REF4 0x10
8381 #define _DAC4REF_REF5 0x20
8382 #define _DAC4REF_DAC4REF5 0x20
8384 //==============================================================================
8387 //==============================================================================
8390 extern __at(0x0617) __sfr PWM3DCL
;
8414 unsigned PWM3DC0
: 1;
8415 unsigned PWM3DC1
: 1;
8426 unsigned PWMPW0
: 1;
8427 unsigned PWMPW1
: 1;
8433 unsigned PWM3DC
: 2;
8449 extern __at(0x0617) volatile __PWM3DCLbits_t PWM3DCLbits
;
8452 #define _PWM3DC0 0x40
8453 #define _PWMPW0 0x40
8455 #define _PWM3DC1 0x80
8456 #define _PWMPW1 0x80
8458 //==============================================================================
8461 //==============================================================================
8464 extern __at(0x0618) __sfr PWM3DCH
;
8482 unsigned PWM3DC2
: 1;
8483 unsigned PWM3DC3
: 1;
8484 unsigned PWM3DC4
: 1;
8485 unsigned PWM3DC5
: 1;
8486 unsigned PWM3DC6
: 1;
8487 unsigned PWM3DC7
: 1;
8488 unsigned PWM3DC8
: 1;
8489 unsigned PWM3DC9
: 1;
8494 unsigned PWMPW2
: 1;
8495 unsigned PWMPW3
: 1;
8496 unsigned PWMPW4
: 1;
8497 unsigned PWMPW5
: 1;
8498 unsigned PWMPW6
: 1;
8499 unsigned PWMPW7
: 1;
8500 unsigned PWMPW8
: 1;
8501 unsigned PWMPW9
: 1;
8505 extern __at(0x0618) volatile __PWM3DCHbits_t PWM3DCHbits
;
8508 #define _PWM3DC2 0x01
8509 #define _PWMPW2 0x01
8511 #define _PWM3DC3 0x02
8512 #define _PWMPW3 0x02
8514 #define _PWM3DC4 0x04
8515 #define _PWMPW4 0x04
8517 #define _PWM3DC5 0x08
8518 #define _PWMPW5 0x08
8520 #define _PWM3DC6 0x10
8521 #define _PWMPW6 0x10
8523 #define _PWM3DC7 0x20
8524 #define _PWMPW7 0x20
8526 #define _PWM3DC8 0x40
8527 #define _PWMPW8 0x40
8529 #define _PWM3DC9 0x80
8530 #define _PWMPW9 0x80
8532 //==============================================================================
8535 //==============================================================================
8538 extern __at(0x0619) __sfr PWM3CON
;
8560 unsigned PWM3POL
: 1;
8561 unsigned PWM3OUT
: 1;
8563 unsigned PWM3EN
: 1;
8567 extern __at(0x0619) volatile __PWM3CONbits_t PWM3CONbits
;
8569 #define _PWM3CON_POL 0x10
8570 #define _PWM3CON_PWM3POL 0x10
8571 #define _PWM3CON_OUT 0x20
8572 #define _PWM3CON_PWM3OUT 0x20
8573 #define _PWM3CON_EN 0x80
8574 #define _PWM3CON_PWM3EN 0x80
8576 //==============================================================================
8579 //==============================================================================
8582 extern __at(0x061A) __sfr PWM4DCL
;
8606 unsigned PWM4DC0
: 1;
8607 unsigned PWM4DC1
: 1;
8618 unsigned PWMPW0
: 1;
8619 unsigned PWMPW1
: 1;
8625 unsigned PWM4DC
: 2;
8641 extern __at(0x061A) volatile __PWM4DCLbits_t PWM4DCLbits
;
8643 #define _PWM4DCL_DC0 0x40
8644 #define _PWM4DCL_PWM4DC0 0x40
8645 #define _PWM4DCL_PWMPW0 0x40
8646 #define _PWM4DCL_DC1 0x80
8647 #define _PWM4DCL_PWM4DC1 0x80
8648 #define _PWM4DCL_PWMPW1 0x80
8650 //==============================================================================
8653 //==============================================================================
8656 extern __at(0x061B) __sfr PWM4DCH
;
8674 unsigned PWM4DC2
: 1;
8675 unsigned PWM4DC3
: 1;
8676 unsigned PWM4DC4
: 1;
8677 unsigned PWM4DC5
: 1;
8678 unsigned PWM4DC6
: 1;
8679 unsigned PWM4DC7
: 1;
8680 unsigned PWM4DC8
: 1;
8681 unsigned PWM4DC9
: 1;
8686 unsigned PWMPW2
: 1;
8687 unsigned PWMPW3
: 1;
8688 unsigned PWMPW4
: 1;
8689 unsigned PWMPW5
: 1;
8690 unsigned PWMPW6
: 1;
8691 unsigned PWMPW7
: 1;
8692 unsigned PWMPW8
: 1;
8693 unsigned PWMPW9
: 1;
8697 extern __at(0x061B) volatile __PWM4DCHbits_t PWM4DCHbits
;
8699 #define _PWM4DCH_DC2 0x01
8700 #define _PWM4DCH_PWM4DC2 0x01
8701 #define _PWM4DCH_PWMPW2 0x01
8702 #define _PWM4DCH_DC3 0x02
8703 #define _PWM4DCH_PWM4DC3 0x02
8704 #define _PWM4DCH_PWMPW3 0x02
8705 #define _PWM4DCH_DC4 0x04
8706 #define _PWM4DCH_PWM4DC4 0x04
8707 #define _PWM4DCH_PWMPW4 0x04
8708 #define _PWM4DCH_DC5 0x08
8709 #define _PWM4DCH_PWM4DC5 0x08
8710 #define _PWM4DCH_PWMPW5 0x08
8711 #define _PWM4DCH_DC6 0x10
8712 #define _PWM4DCH_PWM4DC6 0x10
8713 #define _PWM4DCH_PWMPW6 0x10
8714 #define _PWM4DCH_DC7 0x20
8715 #define _PWM4DCH_PWM4DC7 0x20
8716 #define _PWM4DCH_PWMPW7 0x20
8717 #define _PWM4DCH_DC8 0x40
8718 #define _PWM4DCH_PWM4DC8 0x40
8719 #define _PWM4DCH_PWMPW8 0x40
8720 #define _PWM4DCH_DC9 0x80
8721 #define _PWM4DCH_PWM4DC9 0x80
8722 #define _PWM4DCH_PWMPW9 0x80
8724 //==============================================================================
8727 //==============================================================================
8730 extern __at(0x061C) __sfr PWM4CON
;
8752 unsigned PWM4POL
: 1;
8753 unsigned PWM4OUT
: 1;
8755 unsigned PWM4EN
: 1;
8759 extern __at(0x061C) volatile __PWM4CONbits_t PWM4CONbits
;
8761 #define _PWM4CON_POL 0x10
8762 #define _PWM4CON_PWM4POL 0x10
8763 #define _PWM4CON_OUT 0x20
8764 #define _PWM4CON_PWM4OUT 0x20
8765 #define _PWM4CON_EN 0x80
8766 #define _PWM4CON_PWM4EN 0x80
8768 //==============================================================================
8771 //==============================================================================
8774 extern __at(0x068D) __sfr COG1PHR
;
8792 unsigned G1PHR0
: 1;
8793 unsigned G1PHR1
: 1;
8794 unsigned G1PHR2
: 1;
8795 unsigned G1PHR3
: 1;
8796 unsigned G1PHR4
: 1;
8797 unsigned G1PHR5
: 1;
8815 extern __at(0x068D) volatile __COG1PHRbits_t COG1PHRbits
;
8818 #define _G1PHR0 0x01
8820 #define _G1PHR1 0x02
8822 #define _G1PHR2 0x04
8824 #define _G1PHR3 0x08
8826 #define _G1PHR4 0x10
8828 #define _G1PHR5 0x20
8830 //==============================================================================
8833 //==============================================================================
8836 extern __at(0x068E) __sfr COG1PHF
;
8854 unsigned G1PHF0
: 1;
8855 unsigned G1PHF1
: 1;
8856 unsigned G1PHF2
: 1;
8857 unsigned G1PHF3
: 1;
8858 unsigned G1PHF4
: 1;
8859 unsigned G1PHF5
: 1;
8877 extern __at(0x068E) volatile __COG1PHFbits_t COG1PHFbits
;
8880 #define _G1PHF0 0x01
8882 #define _G1PHF1 0x02
8884 #define _G1PHF2 0x04
8886 #define _G1PHF3 0x08
8888 #define _G1PHF4 0x10
8890 #define _G1PHF5 0x20
8892 //==============================================================================
8895 //==============================================================================
8898 extern __at(0x068F) __sfr COG1BLKR
;
8916 unsigned G1BLKR0
: 1;
8917 unsigned G1BLKR1
: 1;
8918 unsigned G1BLKR2
: 1;
8919 unsigned G1BLKR3
: 1;
8920 unsigned G1BLKR4
: 1;
8921 unsigned G1BLKR5
: 1;
8928 unsigned G1BLKR
: 6;
8939 extern __at(0x068F) volatile __COG1BLKRbits_t COG1BLKRbits
;
8942 #define _G1BLKR0 0x01
8944 #define _G1BLKR1 0x02
8946 #define _G1BLKR2 0x04
8948 #define _G1BLKR3 0x08
8950 #define _G1BLKR4 0x10
8952 #define _G1BLKR5 0x20
8954 //==============================================================================
8957 //==============================================================================
8960 extern __at(0x0690) __sfr COG1BLKF
;
8978 unsigned G1BLKF0
: 1;
8979 unsigned G1BLKF1
: 1;
8980 unsigned G1BLKF2
: 1;
8981 unsigned G1BLKF3
: 1;
8982 unsigned G1BLKF4
: 1;
8983 unsigned G1BLKF5
: 1;
8996 unsigned G1BLKF
: 6;
9001 extern __at(0x0690) volatile __COG1BLKFbits_t COG1BLKFbits
;
9004 #define _G1BLKF0 0x01
9006 #define _G1BLKF1 0x02
9008 #define _G1BLKF2 0x04
9010 #define _G1BLKF3 0x08
9012 #define _G1BLKF4 0x10
9014 #define _G1BLKF5 0x20
9016 //==============================================================================
9019 //==============================================================================
9022 extern __at(0x0691) __sfr COG1DBR
;
9040 unsigned G1DBR0
: 1;
9041 unsigned G1DBR1
: 1;
9042 unsigned G1DBR2
: 1;
9043 unsigned G1DBR3
: 1;
9044 unsigned G1DBR4
: 1;
9045 unsigned G1DBR5
: 1;
9063 extern __at(0x0691) volatile __COG1DBRbits_t COG1DBRbits
;
9066 #define _G1DBR0 0x01
9068 #define _G1DBR1 0x02
9070 #define _G1DBR2 0x04
9072 #define _G1DBR3 0x08
9074 #define _G1DBR4 0x10
9076 #define _G1DBR5 0x20
9078 //==============================================================================
9081 //==============================================================================
9084 extern __at(0x0692) __sfr COG1DBF
;
9102 unsigned G1DBF0
: 1;
9103 unsigned G1DBF1
: 1;
9104 unsigned G1DBF2
: 1;
9105 unsigned G1DBF3
: 1;
9106 unsigned G1DBF4
: 1;
9107 unsigned G1DBF5
: 1;
9125 extern __at(0x0692) volatile __COG1DBFbits_t COG1DBFbits
;
9128 #define _G1DBF0 0x01
9130 #define _G1DBF1 0x02
9132 #define _G1DBF2 0x04
9134 #define _G1DBF3 0x08
9136 #define _G1DBF4 0x10
9138 #define _G1DBF5 0x20
9140 //==============================================================================
9143 //==============================================================================
9146 extern __at(0x0693) __sfr COG1CON0
;
9201 extern __at(0x0693) volatile __COG1CON0bits_t COG1CON0bits
;
9203 #define _COG1CON0_MD0 0x01
9204 #define _COG1CON0_G1MD0 0x01
9205 #define _COG1CON0_MD1 0x02
9206 #define _COG1CON0_G1MD1 0x02
9207 #define _COG1CON0_MD2 0x04
9208 #define _COG1CON0_G1MD2 0x04
9209 #define _COG1CON0_CS0 0x08
9210 #define _COG1CON0_G1CS0 0x08
9211 #define _COG1CON0_CS1 0x10
9212 #define _COG1CON0_G1CS1 0x10
9213 #define _COG1CON0_LD 0x40
9214 #define _COG1CON0_G1LD 0x40
9215 #define _COG1CON0_EN 0x80
9216 #define _COG1CON0_G1EN 0x80
9218 //==============================================================================
9221 //==============================================================================
9224 extern __at(0x0694) __sfr COG1CON1
;
9242 unsigned G1POLA
: 1;
9243 unsigned G1POLB
: 1;
9244 unsigned G1POLC
: 1;
9245 unsigned G1POLD
: 1;
9248 unsigned G1FDBS
: 1;
9249 unsigned G1RDBS
: 1;
9253 extern __at(0x0694) volatile __COG1CON1bits_t COG1CON1bits
;
9256 #define _G1POLA 0x01
9258 #define _G1POLB 0x02
9260 #define _G1POLC 0x04
9262 #define _G1POLD 0x08
9264 #define _G1FDBS 0x40
9266 #define _G1RDBS 0x80
9268 //==============================================================================
9271 //==============================================================================
9274 extern __at(0x0695) __sfr COG1RIS0
;
9292 unsigned G1RIS0
: 1;
9293 unsigned G1RIS1
: 1;
9294 unsigned G1RIS2
: 1;
9295 unsigned G1RIS3
: 1;
9296 unsigned G1RIS4
: 1;
9297 unsigned G1RIS5
: 1;
9298 unsigned G1RIS6
: 1;
9299 unsigned G1RIS7
: 1;
9303 extern __at(0x0695) volatile __COG1RIS0bits_t COG1RIS0bits
;
9306 #define _G1RIS0 0x01
9308 #define _G1RIS1 0x02
9310 #define _G1RIS2 0x04
9312 #define _G1RIS3 0x08
9314 #define _G1RIS4 0x10
9316 #define _G1RIS5 0x20
9318 #define _G1RIS6 0x40
9320 #define _G1RIS7 0x80
9322 //==============================================================================
9325 //==============================================================================
9328 extern __at(0x0696) __sfr COG1RIS1
;
9346 unsigned G1RIS8
: 1;
9347 unsigned G1RIS9
: 1;
9348 unsigned G1RIS10
: 1;
9349 unsigned G1RIS11
: 1;
9350 unsigned G1RIS12
: 1;
9351 unsigned G1RIS13
: 1;
9352 unsigned G1RIS14
: 1;
9353 unsigned G1RIS15
: 1;
9357 extern __at(0x0696) volatile __COG1RIS1bits_t COG1RIS1bits
;
9360 #define _G1RIS8 0x01
9362 #define _G1RIS9 0x02
9364 #define _G1RIS10 0x04
9366 #define _G1RIS11 0x08
9368 #define _G1RIS12 0x10
9370 #define _G1RIS13 0x20
9372 #define _G1RIS14 0x40
9374 #define _G1RIS15 0x80
9376 //==============================================================================
9379 //==============================================================================
9382 extern __at(0x0697) __sfr COG1RSIM0
;
9400 unsigned G1RSIM0
: 1;
9401 unsigned G1RSIM1
: 1;
9402 unsigned G1RSIM2
: 1;
9403 unsigned G1RSIM3
: 1;
9404 unsigned G1RSIM4
: 1;
9405 unsigned G1RSIM5
: 1;
9406 unsigned G1RSIM6
: 1;
9407 unsigned G1RSIM7
: 1;
9409 } __COG1RSIM0bits_t
;
9411 extern __at(0x0697) volatile __COG1RSIM0bits_t COG1RSIM0bits
;
9414 #define _G1RSIM0 0x01
9416 #define _G1RSIM1 0x02
9418 #define _G1RSIM2 0x04
9420 #define _G1RSIM3 0x08
9422 #define _G1RSIM4 0x10
9424 #define _G1RSIM5 0x20
9426 #define _G1RSIM6 0x40
9428 #define _G1RSIM7 0x80
9430 //==============================================================================
9433 //==============================================================================
9436 extern __at(0x0698) __sfr COG1RSIM1
;
9444 unsigned RSIM10
: 1;
9445 unsigned RSIM11
: 1;
9446 unsigned RSIM12
: 1;
9447 unsigned RSIM13
: 1;
9448 unsigned RSIM14
: 1;
9449 unsigned RSIM15
: 1;
9454 unsigned G1RSIM8
: 1;
9455 unsigned G1RSIM9
: 1;
9456 unsigned G1RSIM10
: 1;
9457 unsigned G1RSIM11
: 1;
9458 unsigned G1RSIM12
: 1;
9459 unsigned G1RSIM13
: 1;
9460 unsigned G1RSIM14
: 1;
9461 unsigned G1RSIM15
: 1;
9463 } __COG1RSIM1bits_t
;
9465 extern __at(0x0698) volatile __COG1RSIM1bits_t COG1RSIM1bits
;
9468 #define _G1RSIM8 0x01
9470 #define _G1RSIM9 0x02
9471 #define _RSIM10 0x04
9472 #define _G1RSIM10 0x04
9473 #define _RSIM11 0x08
9474 #define _G1RSIM11 0x08
9475 #define _RSIM12 0x10
9476 #define _G1RSIM12 0x10
9477 #define _RSIM13 0x20
9478 #define _G1RSIM13 0x20
9479 #define _RSIM14 0x40
9480 #define _G1RSIM14 0x40
9481 #define _RSIM15 0x80
9482 #define _G1RSIM15 0x80
9484 //==============================================================================
9487 //==============================================================================
9490 extern __at(0x0699) __sfr COG1FIS0
;
9508 unsigned G1FIS0
: 1;
9509 unsigned G1FIS1
: 1;
9510 unsigned G1FIS2
: 1;
9511 unsigned G1FIS3
: 1;
9512 unsigned G1FIS4
: 1;
9513 unsigned G1FIS5
: 1;
9514 unsigned G1FIS6
: 1;
9515 unsigned G1FIS7
: 1;
9519 extern __at(0x0699) volatile __COG1FIS0bits_t COG1FIS0bits
;
9522 #define _G1FIS0 0x01
9524 #define _G1FIS1 0x02
9526 #define _G1FIS2 0x04
9528 #define _G1FIS3 0x08
9530 #define _G1FIS4 0x10
9532 #define _G1FIS5 0x20
9534 #define _G1FIS6 0x40
9536 #define _G1FIS7 0x80
9538 //==============================================================================
9541 //==============================================================================
9544 extern __at(0x069A) __sfr COG1FIS1
;
9562 unsigned G1FIS8
: 1;
9563 unsigned G1FIS9
: 1;
9564 unsigned G1FIS10
: 1;
9565 unsigned G1FIS11
: 1;
9566 unsigned G1FIS12
: 1;
9567 unsigned G1FIS13
: 1;
9568 unsigned G1FIS14
: 1;
9569 unsigned G1FIS15
: 1;
9573 extern __at(0x069A) volatile __COG1FIS1bits_t COG1FIS1bits
;
9576 #define _G1FIS8 0x01
9578 #define _G1FIS9 0x02
9580 #define _G1FIS10 0x04
9582 #define _G1FIS11 0x08
9584 #define _G1FIS12 0x10
9586 #define _G1FIS13 0x20
9588 #define _G1FIS14 0x40
9590 #define _G1FIS15 0x80
9592 //==============================================================================
9595 //==============================================================================
9598 extern __at(0x069B) __sfr COG1FSIM0
;
9616 unsigned G1FSIM0
: 1;
9617 unsigned G1FSIM1
: 1;
9618 unsigned G1FSIM2
: 1;
9619 unsigned G1FSIM3
: 1;
9620 unsigned G1FSIM4
: 1;
9621 unsigned G1FSIM5
: 1;
9622 unsigned G1FSIM6
: 1;
9623 unsigned G1FSIM7
: 1;
9625 } __COG1FSIM0bits_t
;
9627 extern __at(0x069B) volatile __COG1FSIM0bits_t COG1FSIM0bits
;
9630 #define _G1FSIM0 0x01
9632 #define _G1FSIM1 0x02
9634 #define _G1FSIM2 0x04
9636 #define _G1FSIM3 0x08
9638 #define _G1FSIM4 0x10
9640 #define _G1FSIM5 0x20
9642 #define _G1FSIM6 0x40
9644 #define _G1FSIM7 0x80
9646 //==============================================================================
9649 //==============================================================================
9652 extern __at(0x069C) __sfr COG1FSIM1
;
9660 unsigned FSIM10
: 1;
9661 unsigned FSIM11
: 1;
9662 unsigned FSIM12
: 1;
9663 unsigned FSIM13
: 1;
9664 unsigned FSIM14
: 1;
9665 unsigned FSIM15
: 1;
9670 unsigned G1FSIM8
: 1;
9671 unsigned G1FSIM9
: 1;
9672 unsigned G1FSIM10
: 1;
9673 unsigned G1FSIM11
: 1;
9674 unsigned G1FSIM12
: 1;
9675 unsigned G1FSIM13
: 1;
9676 unsigned G1FSIM14
: 1;
9677 unsigned G1FSIM15
: 1;
9679 } __COG1FSIM1bits_t
;
9681 extern __at(0x069C) volatile __COG1FSIM1bits_t COG1FSIM1bits
;
9684 #define _G1FSIM8 0x01
9686 #define _G1FSIM9 0x02
9687 #define _FSIM10 0x04
9688 #define _G1FSIM10 0x04
9689 #define _FSIM11 0x08
9690 #define _G1FSIM11 0x08
9691 #define _FSIM12 0x10
9692 #define _G1FSIM12 0x10
9693 #define _FSIM13 0x20
9694 #define _G1FSIM13 0x20
9695 #define _FSIM14 0x40
9696 #define _G1FSIM14 0x40
9697 #define _FSIM15 0x80
9698 #define _G1FSIM15 0x80
9700 //==============================================================================
9703 //==============================================================================
9706 extern __at(0x069D) __sfr COG1ASD0
;
9714 unsigned ASDAC0
: 1;
9715 unsigned ASDAC1
: 1;
9716 unsigned ASDBD0
: 1;
9717 unsigned ASDBD1
: 1;
9726 unsigned G1ASDAC0
: 1;
9727 unsigned G1ASDAC1
: 1;
9728 unsigned G1ASDBD0
: 1;
9729 unsigned G1ASDBD1
: 1;
9742 unsigned G1ARSEN
: 1;
9754 unsigned G1ASREN
: 1;
9761 unsigned G1ASDAC
: 2;
9782 unsigned G1ASDBD
: 2;
9787 extern __at(0x069D) volatile __COG1ASD0bits_t COG1ASD0bits
;
9789 #define _ASDAC0 0x04
9790 #define _G1ASDAC0 0x04
9791 #define _ASDAC1 0x08
9792 #define _G1ASDAC1 0x08
9793 #define _ASDBD0 0x10
9794 #define _G1ASDBD0 0x10
9795 #define _ASDBD1 0x20
9796 #define _G1ASDBD1 0x20
9799 #define _G1ARSEN 0x40
9800 #define _G1ASREN 0x40
9804 //==============================================================================
9807 //==============================================================================
9810 extern __at(0x069E) __sfr COG1ASD1
;
9828 unsigned G1AS0E
: 1;
9829 unsigned G1AS1E
: 1;
9830 unsigned G1AS2E
: 1;
9831 unsigned G1AS3E
: 1;
9832 unsigned G1AS4E
: 1;
9833 unsigned G1AS5E
: 1;
9834 unsigned G1AS6E
: 1;
9835 unsigned G1AS7E
: 1;
9839 extern __at(0x069E) volatile __COG1ASD1bits_t COG1ASD1bits
;
9842 #define _G1AS0E 0x01
9844 #define _G1AS1E 0x02
9846 #define _G1AS2E 0x04
9848 #define _G1AS3E 0x08
9850 #define _G1AS4E 0x10
9852 #define _G1AS5E 0x20
9854 #define _G1AS6E 0x40
9856 #define _G1AS7E 0x80
9858 //==============================================================================
9861 //==============================================================================
9864 extern __at(0x069F) __sfr COG1STR
;
9882 unsigned G1STRA
: 1;
9883 unsigned G1STRB
: 1;
9884 unsigned G1STRC
: 1;
9885 unsigned G1STRD
: 1;
9886 unsigned G1SDATA
: 1;
9887 unsigned G1SDATB
: 1;
9888 unsigned G1SDATC
: 1;
9889 unsigned G1SDATD
: 1;
9893 extern __at(0x069F) volatile __COG1STRbits_t COG1STRbits
;
9896 #define _G1STRA 0x01
9898 #define _G1STRB 0x02
9900 #define _G1STRC 0x04
9902 #define _G1STRD 0x08
9904 #define _G1SDATA 0x10
9906 #define _G1SDATB 0x20
9908 #define _G1SDATC 0x40
9910 #define _G1SDATD 0x80
9912 //==============================================================================
9915 //==============================================================================
9918 extern __at(0x070D) __sfr COG2PHR
;
9936 unsigned G2PHR0
: 1;
9937 unsigned G2PHR1
: 1;
9938 unsigned G2PHR2
: 1;
9939 unsigned G2PHR3
: 1;
9940 unsigned G2PHR4
: 1;
9941 unsigned G2PHR5
: 1;
9959 extern __at(0x070D) volatile __COG2PHRbits_t COG2PHRbits
;
9961 #define _COG2PHR_PHR0 0x01
9962 #define _COG2PHR_G2PHR0 0x01
9963 #define _COG2PHR_PHR1 0x02
9964 #define _COG2PHR_G2PHR1 0x02
9965 #define _COG2PHR_PHR2 0x04
9966 #define _COG2PHR_G2PHR2 0x04
9967 #define _COG2PHR_PHR3 0x08
9968 #define _COG2PHR_G2PHR3 0x08
9969 #define _COG2PHR_PHR4 0x10
9970 #define _COG2PHR_G2PHR4 0x10
9971 #define _COG2PHR_PHR5 0x20
9972 #define _COG2PHR_G2PHR5 0x20
9974 //==============================================================================
9977 //==============================================================================
9980 extern __at(0x070E) __sfr COG2PHF
;
9998 unsigned G2PHF0
: 1;
9999 unsigned G2PHF1
: 1;
10000 unsigned G2PHF2
: 1;
10001 unsigned G2PHF3
: 1;
10002 unsigned G2PHF4
: 1;
10003 unsigned G2PHF5
: 1;
10010 unsigned G2PHF
: 6;
10021 extern __at(0x070E) volatile __COG2PHFbits_t COG2PHFbits
;
10023 #define _COG2PHF_PHF0 0x01
10024 #define _COG2PHF_G2PHF0 0x01
10025 #define _COG2PHF_PHF1 0x02
10026 #define _COG2PHF_G2PHF1 0x02
10027 #define _COG2PHF_PHF2 0x04
10028 #define _COG2PHF_G2PHF2 0x04
10029 #define _COG2PHF_PHF3 0x08
10030 #define _COG2PHF_G2PHF3 0x08
10031 #define _COG2PHF_PHF4 0x10
10032 #define _COG2PHF_G2PHF4 0x10
10033 #define _COG2PHF_PHF5 0x20
10034 #define _COG2PHF_G2PHF5 0x20
10036 //==============================================================================
10039 //==============================================================================
10042 extern __at(0x070F) __sfr COG2BLKR
;
10048 unsigned BLKR0
: 1;
10049 unsigned BLKR1
: 1;
10050 unsigned BLKR2
: 1;
10051 unsigned BLKR3
: 1;
10052 unsigned BLKR4
: 1;
10053 unsigned BLKR5
: 1;
10060 unsigned G2BLKR0
: 1;
10061 unsigned G2BLKR1
: 1;
10062 unsigned G2BLKR2
: 1;
10063 unsigned G2BLKR3
: 1;
10064 unsigned G2BLKR4
: 1;
10065 unsigned G2BLKR5
: 1;
10072 unsigned G2BLKR
: 6;
10081 } __COG2BLKRbits_t
;
10083 extern __at(0x070F) volatile __COG2BLKRbits_t COG2BLKRbits
;
10085 #define _COG2BLKR_BLKR0 0x01
10086 #define _COG2BLKR_G2BLKR0 0x01
10087 #define _COG2BLKR_BLKR1 0x02
10088 #define _COG2BLKR_G2BLKR1 0x02
10089 #define _COG2BLKR_BLKR2 0x04
10090 #define _COG2BLKR_G2BLKR2 0x04
10091 #define _COG2BLKR_BLKR3 0x08
10092 #define _COG2BLKR_G2BLKR3 0x08
10093 #define _COG2BLKR_BLKR4 0x10
10094 #define _COG2BLKR_G2BLKR4 0x10
10095 #define _COG2BLKR_BLKR5 0x20
10096 #define _COG2BLKR_G2BLKR5 0x20
10098 //==============================================================================
10101 //==============================================================================
10104 extern __at(0x0710) __sfr COG2BLKF
;
10110 unsigned BLKF0
: 1;
10111 unsigned BLKF1
: 1;
10112 unsigned BLKF2
: 1;
10113 unsigned BLKF3
: 1;
10114 unsigned BLKF4
: 1;
10115 unsigned BLKF5
: 1;
10122 unsigned G2BLKF0
: 1;
10123 unsigned G2BLKF1
: 1;
10124 unsigned G2BLKF2
: 1;
10125 unsigned G2BLKF3
: 1;
10126 unsigned G2BLKF4
: 1;
10127 unsigned G2BLKF5
: 1;
10134 unsigned G2BLKF
: 6;
10143 } __COG2BLKFbits_t
;
10145 extern __at(0x0710) volatile __COG2BLKFbits_t COG2BLKFbits
;
10147 #define _COG2BLKF_BLKF0 0x01
10148 #define _COG2BLKF_G2BLKF0 0x01
10149 #define _COG2BLKF_BLKF1 0x02
10150 #define _COG2BLKF_G2BLKF1 0x02
10151 #define _COG2BLKF_BLKF2 0x04
10152 #define _COG2BLKF_G2BLKF2 0x04
10153 #define _COG2BLKF_BLKF3 0x08
10154 #define _COG2BLKF_G2BLKF3 0x08
10155 #define _COG2BLKF_BLKF4 0x10
10156 #define _COG2BLKF_G2BLKF4 0x10
10157 #define _COG2BLKF_BLKF5 0x20
10158 #define _COG2BLKF_G2BLKF5 0x20
10160 //==============================================================================
10163 //==============================================================================
10166 extern __at(0x0711) __sfr COG2DBR
;
10184 unsigned G2DBR0
: 1;
10185 unsigned G2DBR1
: 1;
10186 unsigned G2DBR2
: 1;
10187 unsigned G2DBR3
: 1;
10188 unsigned G2DBR4
: 1;
10189 unsigned G2DBR5
: 1;
10202 unsigned G2DBR
: 6;
10207 extern __at(0x0711) volatile __COG2DBRbits_t COG2DBRbits
;
10209 #define _COG2DBR_DBR0 0x01
10210 #define _COG2DBR_G2DBR0 0x01
10211 #define _COG2DBR_DBR1 0x02
10212 #define _COG2DBR_G2DBR1 0x02
10213 #define _COG2DBR_DBR2 0x04
10214 #define _COG2DBR_G2DBR2 0x04
10215 #define _COG2DBR_DBR3 0x08
10216 #define _COG2DBR_G2DBR3 0x08
10217 #define _COG2DBR_DBR4 0x10
10218 #define _COG2DBR_G2DBR4 0x10
10219 #define _COG2DBR_DBR5 0x20
10220 #define _COG2DBR_G2DBR5 0x20
10222 //==============================================================================
10225 //==============================================================================
10228 extern __at(0x0712) __sfr COG2DBF
;
10246 unsigned G2DBF0
: 1;
10247 unsigned G2DBF1
: 1;
10248 unsigned G2DBF2
: 1;
10249 unsigned G2DBF3
: 1;
10250 unsigned G2DBF4
: 1;
10251 unsigned G2DBF5
: 1;
10258 unsigned G2DBF
: 6;
10269 extern __at(0x0712) volatile __COG2DBFbits_t COG2DBFbits
;
10271 #define _COG2DBF_DBF0 0x01
10272 #define _COG2DBF_G2DBF0 0x01
10273 #define _COG2DBF_DBF1 0x02
10274 #define _COG2DBF_G2DBF1 0x02
10275 #define _COG2DBF_DBF2 0x04
10276 #define _COG2DBF_G2DBF2 0x04
10277 #define _COG2DBF_DBF3 0x08
10278 #define _COG2DBF_G2DBF3 0x08
10279 #define _COG2DBF_DBF4 0x10
10280 #define _COG2DBF_G2DBF4 0x10
10281 #define _COG2DBF_DBF5 0x20
10282 #define _COG2DBF_G2DBF5 0x20
10284 //==============================================================================
10287 //==============================================================================
10290 extern __at(0x0713) __sfr COG2CON0
;
10308 unsigned G2MD0
: 1;
10309 unsigned G2MD1
: 1;
10310 unsigned G2MD2
: 1;
10311 unsigned G2CS0
: 1;
10312 unsigned G2CS1
: 1;
10343 } __COG2CON0bits_t
;
10345 extern __at(0x0713) volatile __COG2CON0bits_t COG2CON0bits
;
10347 #define _COG2CON0_MD0 0x01
10348 #define _COG2CON0_G2MD0 0x01
10349 #define _COG2CON0_MD1 0x02
10350 #define _COG2CON0_G2MD1 0x02
10351 #define _COG2CON0_MD2 0x04
10352 #define _COG2CON0_G2MD2 0x04
10353 #define _COG2CON0_CS0 0x08
10354 #define _COG2CON0_G2CS0 0x08
10355 #define _COG2CON0_CS1 0x10
10356 #define _COG2CON0_G2CS1 0x10
10357 #define _COG2CON0_LD 0x40
10358 #define _COG2CON0_G2LD 0x40
10359 #define _COG2CON0_EN 0x80
10360 #define _COG2CON0_G2EN 0x80
10362 //==============================================================================
10365 //==============================================================================
10368 extern __at(0x0714) __sfr COG2CON1
;
10386 unsigned G2POLA
: 1;
10387 unsigned G2POLB
: 1;
10388 unsigned G2POLC
: 1;
10389 unsigned G2POLD
: 1;
10392 unsigned G2FDBS
: 1;
10393 unsigned G2RDBS
: 1;
10395 } __COG2CON1bits_t
;
10397 extern __at(0x0714) volatile __COG2CON1bits_t COG2CON1bits
;
10399 #define _COG2CON1_POLA 0x01
10400 #define _COG2CON1_G2POLA 0x01
10401 #define _COG2CON1_POLB 0x02
10402 #define _COG2CON1_G2POLB 0x02
10403 #define _COG2CON1_POLC 0x04
10404 #define _COG2CON1_G2POLC 0x04
10405 #define _COG2CON1_POLD 0x08
10406 #define _COG2CON1_G2POLD 0x08
10407 #define _COG2CON1_FDBS 0x40
10408 #define _COG2CON1_G2FDBS 0x40
10409 #define _COG2CON1_RDBS 0x80
10410 #define _COG2CON1_G2RDBS 0x80
10412 //==============================================================================
10415 //==============================================================================
10418 extern __at(0x0715) __sfr COG2RIS0
;
10436 unsigned G2RIS0
: 1;
10437 unsigned G2RIS1
: 1;
10438 unsigned G2RIS2
: 1;
10439 unsigned G2RIS3
: 1;
10440 unsigned G2RIS4
: 1;
10441 unsigned G2RIS5
: 1;
10442 unsigned G2RIS6
: 1;
10443 unsigned G2RIS7
: 1;
10445 } __COG2RIS0bits_t
;
10447 extern __at(0x0715) volatile __COG2RIS0bits_t COG2RIS0bits
;
10449 #define _COG2RIS0_RIS0 0x01
10450 #define _COG2RIS0_G2RIS0 0x01
10451 #define _COG2RIS0_RIS1 0x02
10452 #define _COG2RIS0_G2RIS1 0x02
10453 #define _COG2RIS0_RIS2 0x04
10454 #define _COG2RIS0_G2RIS2 0x04
10455 #define _COG2RIS0_RIS3 0x08
10456 #define _COG2RIS0_G2RIS3 0x08
10457 #define _COG2RIS0_RIS4 0x10
10458 #define _COG2RIS0_G2RIS4 0x10
10459 #define _COG2RIS0_RIS5 0x20
10460 #define _COG2RIS0_G2RIS5 0x20
10461 #define _COG2RIS0_RIS6 0x40
10462 #define _COG2RIS0_G2RIS6 0x40
10463 #define _COG2RIS0_RIS7 0x80
10464 #define _COG2RIS0_G2RIS7 0x80
10466 //==============================================================================
10469 //==============================================================================
10472 extern __at(0x0716) __sfr COG2RIS1
;
10480 unsigned RIS10
: 1;
10481 unsigned RIS11
: 1;
10482 unsigned RIS12
: 1;
10483 unsigned RIS13
: 1;
10490 unsigned G2RIS8
: 1;
10491 unsigned G2RIS9
: 1;
10492 unsigned G2RIS10
: 1;
10493 unsigned G2RIS11
: 1;
10494 unsigned G2RIS12
: 1;
10495 unsigned G2RIS13
: 1;
10499 } __COG2RIS1bits_t
;
10501 extern __at(0x0716) volatile __COG2RIS1bits_t COG2RIS1bits
;
10503 #define _COG2RIS1_RIS8 0x01
10504 #define _COG2RIS1_G2RIS8 0x01
10505 #define _COG2RIS1_RIS9 0x02
10506 #define _COG2RIS1_G2RIS9 0x02
10507 #define _COG2RIS1_RIS10 0x04
10508 #define _COG2RIS1_G2RIS10 0x04
10509 #define _COG2RIS1_RIS11 0x08
10510 #define _COG2RIS1_G2RIS11 0x08
10511 #define _COG2RIS1_RIS12 0x10
10512 #define _COG2RIS1_G2RIS12 0x10
10513 #define _COG2RIS1_RIS13 0x20
10514 #define _COG2RIS1_G2RIS13 0x20
10516 //==============================================================================
10519 //==============================================================================
10522 extern __at(0x0717) __sfr COG2RSIM0
;
10528 unsigned RSIM0
: 1;
10529 unsigned RSIM1
: 1;
10530 unsigned RSIM2
: 1;
10531 unsigned RSIM3
: 1;
10532 unsigned RSIM4
: 1;
10533 unsigned RSIM5
: 1;
10534 unsigned RSIM6
: 1;
10535 unsigned RSIM7
: 1;
10540 unsigned G2RSIM0
: 1;
10541 unsigned G2RSIM1
: 1;
10542 unsigned G2RSIM2
: 1;
10543 unsigned G2RSIM3
: 1;
10544 unsigned G2RSIM4
: 1;
10545 unsigned G2RSIM5
: 1;
10546 unsigned G2RSIM6
: 1;
10547 unsigned G2RSIM7
: 1;
10549 } __COG2RSIM0bits_t
;
10551 extern __at(0x0717) volatile __COG2RSIM0bits_t COG2RSIM0bits
;
10553 #define _COG2RSIM0_RSIM0 0x01
10554 #define _COG2RSIM0_G2RSIM0 0x01
10555 #define _COG2RSIM0_RSIM1 0x02
10556 #define _COG2RSIM0_G2RSIM1 0x02
10557 #define _COG2RSIM0_RSIM2 0x04
10558 #define _COG2RSIM0_G2RSIM2 0x04
10559 #define _COG2RSIM0_RSIM3 0x08
10560 #define _COG2RSIM0_G2RSIM3 0x08
10561 #define _COG2RSIM0_RSIM4 0x10
10562 #define _COG2RSIM0_G2RSIM4 0x10
10563 #define _COG2RSIM0_RSIM5 0x20
10564 #define _COG2RSIM0_G2RSIM5 0x20
10565 #define _COG2RSIM0_RSIM6 0x40
10566 #define _COG2RSIM0_G2RSIM6 0x40
10567 #define _COG2RSIM0_RSIM7 0x80
10568 #define _COG2RSIM0_G2RSIM7 0x80
10570 //==============================================================================
10573 //==============================================================================
10576 extern __at(0x0718) __sfr COG2RSIM1
;
10582 unsigned RSIM8
: 1;
10583 unsigned RSIM9
: 1;
10584 unsigned RSIM10
: 1;
10585 unsigned RSIM11
: 1;
10586 unsigned RSIM12
: 1;
10587 unsigned RSIM13
: 1;
10594 unsigned G2RSIM8
: 1;
10595 unsigned G2RSIM9
: 1;
10596 unsigned G2RSIM10
: 1;
10597 unsigned G2RSIM11
: 1;
10598 unsigned G2RSIM12
: 1;
10599 unsigned G2RSIM13
: 1;
10603 } __COG2RSIM1bits_t
;
10605 extern __at(0x0718) volatile __COG2RSIM1bits_t COG2RSIM1bits
;
10607 #define _COG2RSIM1_RSIM8 0x01
10608 #define _COG2RSIM1_G2RSIM8 0x01
10609 #define _COG2RSIM1_RSIM9 0x02
10610 #define _COG2RSIM1_G2RSIM9 0x02
10611 #define _COG2RSIM1_RSIM10 0x04
10612 #define _COG2RSIM1_G2RSIM10 0x04
10613 #define _COG2RSIM1_RSIM11 0x08
10614 #define _COG2RSIM1_G2RSIM11 0x08
10615 #define _COG2RSIM1_RSIM12 0x10
10616 #define _COG2RSIM1_G2RSIM12 0x10
10617 #define _COG2RSIM1_RSIM13 0x20
10618 #define _COG2RSIM1_G2RSIM13 0x20
10620 //==============================================================================
10623 //==============================================================================
10626 extern __at(0x0719) __sfr COG2FIS0
;
10644 unsigned G2FIS0
: 1;
10645 unsigned G2FIS1
: 1;
10646 unsigned G2FIS2
: 1;
10647 unsigned G2FIS3
: 1;
10648 unsigned G2FIS4
: 1;
10649 unsigned G2FIS5
: 1;
10650 unsigned G2FIS6
: 1;
10651 unsigned G2FIS7
: 1;
10653 } __COG2FIS0bits_t
;
10655 extern __at(0x0719) volatile __COG2FIS0bits_t COG2FIS0bits
;
10657 #define _COG2FIS0_FIS0 0x01
10658 #define _COG2FIS0_G2FIS0 0x01
10659 #define _COG2FIS0_FIS1 0x02
10660 #define _COG2FIS0_G2FIS1 0x02
10661 #define _COG2FIS0_FIS2 0x04
10662 #define _COG2FIS0_G2FIS2 0x04
10663 #define _COG2FIS0_FIS3 0x08
10664 #define _COG2FIS0_G2FIS3 0x08
10665 #define _COG2FIS0_FIS4 0x10
10666 #define _COG2FIS0_G2FIS4 0x10
10667 #define _COG2FIS0_FIS5 0x20
10668 #define _COG2FIS0_G2FIS5 0x20
10669 #define _COG2FIS0_FIS6 0x40
10670 #define _COG2FIS0_G2FIS6 0x40
10671 #define _COG2FIS0_FIS7 0x80
10672 #define _COG2FIS0_G2FIS7 0x80
10674 //==============================================================================
10677 //==============================================================================
10680 extern __at(0x071A) __sfr COG2FIS1
;
10688 unsigned FIS10
: 1;
10689 unsigned FIS11
: 1;
10690 unsigned FIS12
: 1;
10691 unsigned FIS13
: 1;
10698 unsigned G2FIS8
: 1;
10699 unsigned G2FIS9
: 1;
10700 unsigned G2FIS10
: 1;
10701 unsigned G2FIS11
: 1;
10702 unsigned G2FIS12
: 1;
10703 unsigned G2FIS13
: 1;
10707 } __COG2FIS1bits_t
;
10709 extern __at(0x071A) volatile __COG2FIS1bits_t COG2FIS1bits
;
10711 #define _COG2FIS1_FIS8 0x01
10712 #define _COG2FIS1_G2FIS8 0x01
10713 #define _COG2FIS1_FIS9 0x02
10714 #define _COG2FIS1_G2FIS9 0x02
10715 #define _COG2FIS1_FIS10 0x04
10716 #define _COG2FIS1_G2FIS10 0x04
10717 #define _COG2FIS1_FIS11 0x08
10718 #define _COG2FIS1_G2FIS11 0x08
10719 #define _COG2FIS1_FIS12 0x10
10720 #define _COG2FIS1_G2FIS12 0x10
10721 #define _COG2FIS1_FIS13 0x20
10722 #define _COG2FIS1_G2FIS13 0x20
10724 //==============================================================================
10727 //==============================================================================
10730 extern __at(0x071B) __sfr COG2FSIM0
;
10736 unsigned FSIM0
: 1;
10737 unsigned FSIM1
: 1;
10738 unsigned FSIM2
: 1;
10739 unsigned FSIM3
: 1;
10740 unsigned FSIM4
: 1;
10741 unsigned FSIM5
: 1;
10742 unsigned FSIM6
: 1;
10743 unsigned FSIM7
: 1;
10748 unsigned G2FSIM0
: 1;
10749 unsigned G2FSIM1
: 1;
10750 unsigned G2FSIM2
: 1;
10751 unsigned G2FSIM3
: 1;
10752 unsigned G2FSIM4
: 1;
10753 unsigned G2FSIM5
: 1;
10754 unsigned G2FSIM6
: 1;
10755 unsigned G2FSIM7
: 1;
10757 } __COG2FSIM0bits_t
;
10759 extern __at(0x071B) volatile __COG2FSIM0bits_t COG2FSIM0bits
;
10761 #define _COG2FSIM0_FSIM0 0x01
10762 #define _COG2FSIM0_G2FSIM0 0x01
10763 #define _COG2FSIM0_FSIM1 0x02
10764 #define _COG2FSIM0_G2FSIM1 0x02
10765 #define _COG2FSIM0_FSIM2 0x04
10766 #define _COG2FSIM0_G2FSIM2 0x04
10767 #define _COG2FSIM0_FSIM3 0x08
10768 #define _COG2FSIM0_G2FSIM3 0x08
10769 #define _COG2FSIM0_FSIM4 0x10
10770 #define _COG2FSIM0_G2FSIM4 0x10
10771 #define _COG2FSIM0_FSIM5 0x20
10772 #define _COG2FSIM0_G2FSIM5 0x20
10773 #define _COG2FSIM0_FSIM6 0x40
10774 #define _COG2FSIM0_G2FSIM6 0x40
10775 #define _COG2FSIM0_FSIM7 0x80
10776 #define _COG2FSIM0_G2FSIM7 0x80
10778 //==============================================================================
10781 //==============================================================================
10784 extern __at(0x071C) __sfr COG2FSIM1
;
10790 unsigned FSIM8
: 1;
10791 unsigned FSIM9
: 1;
10792 unsigned FSIM10
: 1;
10793 unsigned FSIM11
: 1;
10794 unsigned FSIM12
: 1;
10795 unsigned FSIM13
: 1;
10802 unsigned G2FSIM8
: 1;
10803 unsigned G2FSIM9
: 1;
10804 unsigned G2FSIM10
: 1;
10805 unsigned G2FSIM11
: 1;
10806 unsigned G2FSIM12
: 1;
10807 unsigned G2FSIM13
: 1;
10811 } __COG2FSIM1bits_t
;
10813 extern __at(0x071C) volatile __COG2FSIM1bits_t COG2FSIM1bits
;
10815 #define _COG2FSIM1_FSIM8 0x01
10816 #define _COG2FSIM1_G2FSIM8 0x01
10817 #define _COG2FSIM1_FSIM9 0x02
10818 #define _COG2FSIM1_G2FSIM9 0x02
10819 #define _COG2FSIM1_FSIM10 0x04
10820 #define _COG2FSIM1_G2FSIM10 0x04
10821 #define _COG2FSIM1_FSIM11 0x08
10822 #define _COG2FSIM1_G2FSIM11 0x08
10823 #define _COG2FSIM1_FSIM12 0x10
10824 #define _COG2FSIM1_G2FSIM12 0x10
10825 #define _COG2FSIM1_FSIM13 0x20
10826 #define _COG2FSIM1_G2FSIM13 0x20
10828 //==============================================================================
10831 //==============================================================================
10834 extern __at(0x071D) __sfr COG2ASD0
;
10842 unsigned ASDAC0
: 1;
10843 unsigned ASDAC1
: 1;
10844 unsigned ASDBD0
: 1;
10845 unsigned ASDBD1
: 1;
10846 unsigned ASREN
: 1;
10854 unsigned G2ASDAC0
: 1;
10855 unsigned G2ASDAC1
: 1;
10856 unsigned G2ASDBD0
: 1;
10857 unsigned G2ASDBD1
: 1;
10858 unsigned ARSEN
: 1;
10859 unsigned G2ASE
: 1;
10870 unsigned G2ARSEN
: 1;
10882 unsigned G2ASREN
: 1;
10889 unsigned ASDAC
: 2;
10896 unsigned G2ASDAC
: 2;
10903 unsigned G2ASDBD
: 2;
10910 unsigned ASDBD
: 2;
10913 } __COG2ASD0bits_t
;
10915 extern __at(0x071D) volatile __COG2ASD0bits_t COG2ASD0bits
;
10917 #define _COG2ASD0_ASDAC0 0x04
10918 #define _COG2ASD0_G2ASDAC0 0x04
10919 #define _COG2ASD0_ASDAC1 0x08
10920 #define _COG2ASD0_G2ASDAC1 0x08
10921 #define _COG2ASD0_ASDBD0 0x10
10922 #define _COG2ASD0_G2ASDBD0 0x10
10923 #define _COG2ASD0_ASDBD1 0x20
10924 #define _COG2ASD0_G2ASDBD1 0x20
10925 #define _COG2ASD0_ASREN 0x40
10926 #define _COG2ASD0_ARSEN 0x40
10927 #define _COG2ASD0_G2ARSEN 0x40
10928 #define _COG2ASD0_G2ASREN 0x40
10929 #define _COG2ASD0_ASE 0x80
10930 #define _COG2ASD0_G2ASE 0x80
10932 //==============================================================================
10935 //==============================================================================
10938 extern __at(0x071E) __sfr COG2ASD1
;
10956 unsigned G2AS0E
: 1;
10957 unsigned G2AS1E
: 1;
10958 unsigned G2AS2E
: 1;
10959 unsigned G2AS3E
: 1;
10960 unsigned G2AS4E
: 1;
10961 unsigned G2AS5E
: 1;
10962 unsigned G2AS6E
: 1;
10963 unsigned G2AS7E
: 1;
10965 } __COG2ASD1bits_t
;
10967 extern __at(0x071E) volatile __COG2ASD1bits_t COG2ASD1bits
;
10969 #define _COG2ASD1_AS0E 0x01
10970 #define _COG2ASD1_G2AS0E 0x01
10971 #define _COG2ASD1_AS1E 0x02
10972 #define _COG2ASD1_G2AS1E 0x02
10973 #define _COG2ASD1_AS2E 0x04
10974 #define _COG2ASD1_G2AS2E 0x04
10975 #define _COG2ASD1_AS3E 0x08
10976 #define _COG2ASD1_G2AS3E 0x08
10977 #define _COG2ASD1_AS4E 0x10
10978 #define _COG2ASD1_G2AS4E 0x10
10979 #define _COG2ASD1_AS5E 0x20
10980 #define _COG2ASD1_G2AS5E 0x20
10981 #define _COG2ASD1_AS6E 0x40
10982 #define _COG2ASD1_G2AS6E 0x40
10983 #define _COG2ASD1_AS7E 0x80
10984 #define _COG2ASD1_G2AS7E 0x80
10986 //==============================================================================
10989 //==============================================================================
10992 extern __at(0x071F) __sfr COG2STR
;
11002 unsigned SDATA
: 1;
11003 unsigned SDATB
: 1;
11004 unsigned SDATC
: 1;
11005 unsigned SDATD
: 1;
11010 unsigned G2STRA
: 1;
11011 unsigned G2STRB
: 1;
11012 unsigned G2STRC
: 1;
11013 unsigned G2STRD
: 1;
11014 unsigned G2SDATA
: 1;
11015 unsigned G2SDATB
: 1;
11016 unsigned G2SDATC
: 1;
11017 unsigned G2SDATD
: 1;
11021 extern __at(0x071F) volatile __COG2STRbits_t COG2STRbits
;
11023 #define _COG2STR_STRA 0x01
11024 #define _COG2STR_G2STRA 0x01
11025 #define _COG2STR_STRB 0x02
11026 #define _COG2STR_G2STRB 0x02
11027 #define _COG2STR_STRC 0x04
11028 #define _COG2STR_G2STRC 0x04
11029 #define _COG2STR_STRD 0x08
11030 #define _COG2STR_G2STRD 0x08
11031 #define _COG2STR_SDATA 0x10
11032 #define _COG2STR_G2SDATA 0x10
11033 #define _COG2STR_SDATB 0x20
11034 #define _COG2STR_G2SDATB 0x20
11035 #define _COG2STR_SDATC 0x40
11036 #define _COG2STR_G2SDATC 0x40
11037 #define _COG2STR_SDATD 0x80
11038 #define _COG2STR_G2SDATD 0x80
11040 //==============================================================================
11043 //==============================================================================
11046 extern __at(0x0794) __sfr PRG1RTSS
;
11052 unsigned RTSS0
: 1;
11053 unsigned RTSS1
: 1;
11054 unsigned RTSS2
: 1;
11055 unsigned RTSS3
: 1;
11064 unsigned RG1RTSS0
: 1;
11065 unsigned RG1RTSS1
: 1;
11066 unsigned RG1RTSS2
: 1;
11067 unsigned RG1RTSS3
: 1;
11082 unsigned RG1RTSS
: 4;
11085 } __PRG1RTSSbits_t
;
11087 extern __at(0x0794) volatile __PRG1RTSSbits_t PRG1RTSSbits
;
11089 #define _RTSS0 0x01
11090 #define _RG1RTSS0 0x01
11091 #define _RTSS1 0x02
11092 #define _RG1RTSS1 0x02
11093 #define _RTSS2 0x04
11094 #define _RG1RTSS2 0x04
11095 #define _RTSS3 0x08
11096 #define _RG1RTSS3 0x08
11098 //==============================================================================
11101 //==============================================================================
11104 extern __at(0x0795) __sfr PRG1FTSS
;
11110 unsigned FTSS0
: 1;
11111 unsigned FTSS1
: 1;
11112 unsigned FTSS2
: 1;
11113 unsigned FTSS3
: 1;
11122 unsigned RG1FTSS0
: 1;
11123 unsigned RG1FTSS1
: 1;
11124 unsigned RG1FTSS2
: 1;
11125 unsigned RG1FTSS3
: 1;
11140 unsigned RG1FTSS
: 4;
11143 } __PRG1FTSSbits_t
;
11145 extern __at(0x0795) volatile __PRG1FTSSbits_t PRG1FTSSbits
;
11147 #define _FTSS0 0x01
11148 #define _RG1FTSS0 0x01
11149 #define _FTSS1 0x02
11150 #define _RG1FTSS1 0x02
11151 #define _FTSS2 0x04
11152 #define _RG1FTSS2 0x04
11153 #define _FTSS3 0x08
11154 #define _RG1FTSS3 0x08
11156 //==============================================================================
11159 //==============================================================================
11162 extern __at(0x0796) __sfr PRG1INS
;
11180 unsigned RG1INS0
: 1;
11181 unsigned RG1INS1
: 1;
11182 unsigned RG1INS2
: 1;
11183 unsigned RG1INS3
: 1;
11192 unsigned RG1INS
: 4;
11203 extern __at(0x0796) volatile __PRG1INSbits_t PRG1INSbits
;
11206 #define _RG1INS0 0x01
11208 #define _RG1INS1 0x02
11210 #define _RG1INS2 0x04
11212 #define _RG1INS3 0x08
11214 //==============================================================================
11217 //==============================================================================
11220 extern __at(0x0797) __sfr PRG1CON0
;
11228 unsigned MODE0
: 1;
11229 unsigned MODE1
: 1;
11238 unsigned RG1GO
: 1;
11239 unsigned RG1OS
: 1;
11240 unsigned RG1MODE0
: 1;
11241 unsigned RG1MODE1
: 1;
11242 unsigned RG1REDG
: 1;
11243 unsigned RG1FEDG
: 1;
11245 unsigned RG1EN
: 1;
11251 unsigned RG1MODE
: 2;
11261 } __PRG1CON0bits_t
;
11263 extern __at(0x0797) volatile __PRG1CON0bits_t PRG1CON0bits
;
11265 #define _PRG1CON0_GO 0x01
11266 #define _PRG1CON0_RG1GO 0x01
11267 #define _PRG1CON0_OS 0x02
11268 #define _PRG1CON0_RG1OS 0x02
11269 #define _PRG1CON0_MODE0 0x04
11270 #define _PRG1CON0_RG1MODE0 0x04
11271 #define _PRG1CON0_MODE1 0x08
11272 #define _PRG1CON0_RG1MODE1 0x08
11273 #define _PRG1CON0_REDG 0x10
11274 #define _PRG1CON0_RG1REDG 0x10
11275 #define _PRG1CON0_FEDG 0x20
11276 #define _PRG1CON0_RG1FEDG 0x20
11277 #define _PRG1CON0_EN 0x80
11278 #define _PRG1CON0_RG1EN 0x80
11280 //==============================================================================
11283 //==============================================================================
11286 extern __at(0x0798) __sfr PRG1CON1
;
11304 unsigned RG1RPOL
: 1;
11305 unsigned RG1FPOL
: 1;
11306 unsigned RG1RDY
: 1;
11313 } __PRG1CON1bits_t
;
11315 extern __at(0x0798) volatile __PRG1CON1bits_t PRG1CON1bits
;
11318 #define _RG1RPOL 0x01
11320 #define _RG1FPOL 0x02
11322 #define _RG1RDY 0x04
11324 //==============================================================================
11327 //==============================================================================
11330 extern __at(0x0799) __sfr PRG1CON2
;
11336 unsigned ISET0
: 1;
11337 unsigned ISET1
: 1;
11338 unsigned ISET2
: 1;
11339 unsigned ISET3
: 1;
11340 unsigned ISET4
: 1;
11348 unsigned RG1ISET0
: 1;
11349 unsigned RG1ISET1
: 1;
11350 unsigned RG1ISET2
: 1;
11351 unsigned RG1ISET3
: 1;
11352 unsigned RG1ISET4
: 1;
11360 unsigned RG1ISET
: 5;
11369 } __PRG1CON2bits_t
;
11371 extern __at(0x0799) volatile __PRG1CON2bits_t PRG1CON2bits
;
11373 #define _ISET0 0x01
11374 #define _RG1ISET0 0x01
11375 #define _ISET1 0x02
11376 #define _RG1ISET1 0x02
11377 #define _ISET2 0x04
11378 #define _RG1ISET2 0x04
11379 #define _ISET3 0x08
11380 #define _RG1ISET3 0x08
11381 #define _ISET4 0x10
11382 #define _RG1ISET4 0x10
11384 //==============================================================================
11387 //==============================================================================
11390 extern __at(0x079A) __sfr PRG2RTSS
;
11396 unsigned RTSS0
: 1;
11397 unsigned RTSS1
: 1;
11398 unsigned RTSS2
: 1;
11399 unsigned RTSS3
: 1;
11408 unsigned RG2RTSS0
: 1;
11409 unsigned RG2RTSS1
: 1;
11410 unsigned RG2RTSS2
: 1;
11411 unsigned RG2RTSS3
: 1;
11426 unsigned RG2RTSS
: 4;
11429 } __PRG2RTSSbits_t
;
11431 extern __at(0x079A) volatile __PRG2RTSSbits_t PRG2RTSSbits
;
11433 #define _PRG2RTSS_RTSS0 0x01
11434 #define _PRG2RTSS_RG2RTSS0 0x01
11435 #define _PRG2RTSS_RTSS1 0x02
11436 #define _PRG2RTSS_RG2RTSS1 0x02
11437 #define _PRG2RTSS_RTSS2 0x04
11438 #define _PRG2RTSS_RG2RTSS2 0x04
11439 #define _PRG2RTSS_RTSS3 0x08
11440 #define _PRG2RTSS_RG2RTSS3 0x08
11442 //==============================================================================
11445 //==============================================================================
11448 extern __at(0x079B) __sfr PRG2FTSS
;
11454 unsigned FTSS0
: 1;
11455 unsigned FTSS1
: 1;
11456 unsigned FTSS2
: 1;
11457 unsigned FTSS3
: 1;
11466 unsigned RG2FTSS0
: 1;
11467 unsigned RG2FTSS1
: 1;
11468 unsigned RG2FTSS2
: 1;
11469 unsigned RG2FTSS3
: 1;
11484 unsigned RG2FTSS
: 4;
11487 } __PRG2FTSSbits_t
;
11489 extern __at(0x079B) volatile __PRG2FTSSbits_t PRG2FTSSbits
;
11491 #define _PRG2FTSS_FTSS0 0x01
11492 #define _PRG2FTSS_RG2FTSS0 0x01
11493 #define _PRG2FTSS_FTSS1 0x02
11494 #define _PRG2FTSS_RG2FTSS1 0x02
11495 #define _PRG2FTSS_FTSS2 0x04
11496 #define _PRG2FTSS_RG2FTSS2 0x04
11497 #define _PRG2FTSS_FTSS3 0x08
11498 #define _PRG2FTSS_RG2FTSS3 0x08
11500 //==============================================================================
11503 //==============================================================================
11506 extern __at(0x079C) __sfr PRG2INS
;
11524 unsigned RG2INS0
: 1;
11525 unsigned RG2INS1
: 1;
11526 unsigned RG2INS2
: 1;
11527 unsigned RG2INS3
: 1;
11536 unsigned RG2INS
: 4;
11547 extern __at(0x079C) volatile __PRG2INSbits_t PRG2INSbits
;
11549 #define _PRG2INS_INS0 0x01
11550 #define _PRG2INS_RG2INS0 0x01
11551 #define _PRG2INS_INS1 0x02
11552 #define _PRG2INS_RG2INS1 0x02
11553 #define _PRG2INS_INS2 0x04
11554 #define _PRG2INS_RG2INS2 0x04
11555 #define _PRG2INS_INS3 0x08
11556 #define _PRG2INS_RG2INS3 0x08
11558 //==============================================================================
11561 //==============================================================================
11564 extern __at(0x079D) __sfr PRG2CON0
;
11572 unsigned MODE0
: 1;
11573 unsigned MODE1
: 1;
11582 unsigned RG2GO
: 1;
11583 unsigned RG2OS
: 1;
11584 unsigned RG2MODE0
: 1;
11585 unsigned RG2MODE1
: 1;
11586 unsigned RG2REDG
: 1;
11587 unsigned RG2FEDG
: 1;
11589 unsigned RG2EN
: 1;
11602 unsigned RG2MODE
: 2;
11605 } __PRG2CON0bits_t
;
11607 extern __at(0x079D) volatile __PRG2CON0bits_t PRG2CON0bits
;
11609 #define _PRG2CON0_GO 0x01
11610 #define _PRG2CON0_RG2GO 0x01
11611 #define _PRG2CON0_OS 0x02
11612 #define _PRG2CON0_RG2OS 0x02
11613 #define _PRG2CON0_MODE0 0x04
11614 #define _PRG2CON0_RG2MODE0 0x04
11615 #define _PRG2CON0_MODE1 0x08
11616 #define _PRG2CON0_RG2MODE1 0x08
11617 #define _PRG2CON0_REDG 0x10
11618 #define _PRG2CON0_RG2REDG 0x10
11619 #define _PRG2CON0_FEDG 0x20
11620 #define _PRG2CON0_RG2FEDG 0x20
11621 #define _PRG2CON0_EN 0x80
11622 #define _PRG2CON0_RG2EN 0x80
11624 //==============================================================================
11627 //==============================================================================
11630 extern __at(0x079E) __sfr PRG2CON1
;
11648 unsigned RG2RPOL
: 1;
11649 unsigned RG2FPOL
: 1;
11650 unsigned RG2RDY
: 1;
11657 } __PRG2CON1bits_t
;
11659 extern __at(0x079E) volatile __PRG2CON1bits_t PRG2CON1bits
;
11661 #define _PRG2CON1_RPOL 0x01
11662 #define _PRG2CON1_RG2RPOL 0x01
11663 #define _PRG2CON1_FPOL 0x02
11664 #define _PRG2CON1_RG2FPOL 0x02
11665 #define _PRG2CON1_RDY 0x04
11666 #define _PRG2CON1_RG2RDY 0x04
11668 //==============================================================================
11671 //==============================================================================
11674 extern __at(0x079F) __sfr PRG2CON2
;
11680 unsigned ISET0
: 1;
11681 unsigned ISET1
: 1;
11682 unsigned ISET2
: 1;
11683 unsigned ISET3
: 1;
11684 unsigned ISET4
: 1;
11692 unsigned RG2ISET0
: 1;
11693 unsigned RG2ISET1
: 1;
11694 unsigned RG2ISET2
: 1;
11695 unsigned RG2ISET3
: 1;
11696 unsigned RG2ISET4
: 1;
11710 unsigned RG2ISET
: 5;
11713 } __PRG2CON2bits_t
;
11715 extern __at(0x079F) volatile __PRG2CON2bits_t PRG2CON2bits
;
11717 #define _PRG2CON2_ISET0 0x01
11718 #define _PRG2CON2_RG2ISET0 0x01
11719 #define _PRG2CON2_ISET1 0x02
11720 #define _PRG2CON2_RG2ISET1 0x02
11721 #define _PRG2CON2_ISET2 0x04
11722 #define _PRG2CON2_RG2ISET2 0x04
11723 #define _PRG2CON2_ISET3 0x08
11724 #define _PRG2CON2_RG2ISET3 0x08
11725 #define _PRG2CON2_ISET4 0x10
11726 #define _PRG2CON2_RG2ISET4 0x10
11728 //==============================================================================
11731 //==============================================================================
11734 extern __at(0x0D8E) __sfr PWMEN
;
11742 unsigned MPWM5EN
: 1;
11743 unsigned MPWM6EN
: 1;
11748 extern __at(0x0D8E) volatile __PWMENbits_t PWMENbits
;
11750 #define _MPWM5EN 0x10
11751 #define _MPWM6EN 0x20
11753 //==============================================================================
11756 //==============================================================================
11759 extern __at(0x0D8F) __sfr PWMLD
;
11767 unsigned MPWM5LD
: 1;
11768 unsigned MPWM6LD
: 1;
11773 extern __at(0x0D8F) volatile __PWMLDbits_t PWMLDbits
;
11775 #define _MPWM5LD 0x10
11776 #define _MPWM6LD 0x20
11778 //==============================================================================
11781 //==============================================================================
11784 extern __at(0x0D90) __sfr PWMOUT
;
11792 unsigned MPWM5OUT
: 1;
11793 unsigned MPWM6OUT
: 1;
11798 extern __at(0x0D90) volatile __PWMOUTbits_t PWMOUTbits
;
11800 #define _MPWM5OUT 0x10
11801 #define _MPWM6OUT 0x20
11803 //==============================================================================
11805 extern __at(0x0D91) __sfr PWM5PH
;
11807 //==============================================================================
11810 extern __at(0x0D91) __sfr PWM5PHL
;
11814 unsigned PWM5PHL0
: 1;
11815 unsigned PWM5PHL1
: 1;
11816 unsigned PWM5PHL2
: 1;
11817 unsigned PWM5PHL3
: 1;
11818 unsigned PWM5PHL4
: 1;
11819 unsigned PWM5PHL5
: 1;
11820 unsigned PWM5PHL6
: 1;
11821 unsigned PWM5PHL7
: 1;
11824 extern __at(0x0D91) volatile __PWM5PHLbits_t PWM5PHLbits
;
11826 #define _PWM5PHL0 0x01
11827 #define _PWM5PHL1 0x02
11828 #define _PWM5PHL2 0x04
11829 #define _PWM5PHL3 0x08
11830 #define _PWM5PHL4 0x10
11831 #define _PWM5PHL5 0x20
11832 #define _PWM5PHL6 0x40
11833 #define _PWM5PHL7 0x80
11835 //==============================================================================
11838 //==============================================================================
11841 extern __at(0x0D92) __sfr PWM5PHH
;
11845 unsigned PWM5PHH0
: 1;
11846 unsigned PWM5PHH1
: 1;
11847 unsigned PWM5PHH2
: 1;
11848 unsigned PWM5PHH3
: 1;
11849 unsigned PWM5PHH4
: 1;
11850 unsigned PWM5PHH5
: 1;
11851 unsigned PWM5PHH6
: 1;
11852 unsigned PWM5PHH7
: 1;
11855 extern __at(0x0D92) volatile __PWM5PHHbits_t PWM5PHHbits
;
11857 #define _PWM5PHH0 0x01
11858 #define _PWM5PHH1 0x02
11859 #define _PWM5PHH2 0x04
11860 #define _PWM5PHH3 0x08
11861 #define _PWM5PHH4 0x10
11862 #define _PWM5PHH5 0x20
11863 #define _PWM5PHH6 0x40
11864 #define _PWM5PHH7 0x80
11866 //==============================================================================
11868 extern __at(0x0D93) __sfr PWM5DC
;
11870 //==============================================================================
11873 extern __at(0x0D93) __sfr PWM5DCL
;
11877 unsigned PWM5DCL0
: 1;
11878 unsigned PWM5DCL1
: 1;
11879 unsigned PWM5DCL2
: 1;
11880 unsigned PWM5DCL3
: 1;
11881 unsigned PWM5DCL4
: 1;
11882 unsigned PWM5DCL5
: 1;
11883 unsigned PWM5DCL6
: 1;
11884 unsigned PWM5DCL7
: 1;
11887 extern __at(0x0D93) volatile __PWM5DCLbits_t PWM5DCLbits
;
11889 #define _PWM5DCL0 0x01
11890 #define _PWM5DCL1 0x02
11891 #define _PWM5DCL2 0x04
11892 #define _PWM5DCL3 0x08
11893 #define _PWM5DCL4 0x10
11894 #define _PWM5DCL5 0x20
11895 #define _PWM5DCL6 0x40
11896 #define _PWM5DCL7 0x80
11898 //==============================================================================
11901 //==============================================================================
11904 extern __at(0x0D94) __sfr PWM5DCH
;
11908 unsigned PWM5DCH0
: 1;
11909 unsigned PWM5DCH1
: 1;
11910 unsigned PWM5DCH2
: 1;
11911 unsigned PWM5DCH3
: 1;
11912 unsigned PWM5DCH4
: 1;
11913 unsigned PWM5DCH5
: 1;
11914 unsigned PWM5DCH6
: 1;
11915 unsigned PWM5DCH7
: 1;
11918 extern __at(0x0D94) volatile __PWM5DCHbits_t PWM5DCHbits
;
11920 #define _PWM5DCH0 0x01
11921 #define _PWM5DCH1 0x02
11922 #define _PWM5DCH2 0x04
11923 #define _PWM5DCH3 0x08
11924 #define _PWM5DCH4 0x10
11925 #define _PWM5DCH5 0x20
11926 #define _PWM5DCH6 0x40
11927 #define _PWM5DCH7 0x80
11929 //==============================================================================
11931 extern __at(0x0D95) __sfr PWM5PR
;
11933 //==============================================================================
11936 extern __at(0x0D95) __sfr PWM5PRL
;
11940 unsigned PWM5PRL0
: 1;
11941 unsigned PWM5PRL1
: 1;
11942 unsigned PWM5PRL2
: 1;
11943 unsigned PWM5PRL3
: 1;
11944 unsigned PWM5PRL4
: 1;
11945 unsigned PWM5PRL5
: 1;
11946 unsigned PWM5PRL6
: 1;
11947 unsigned PWM5PRL7
: 1;
11950 extern __at(0x0D95) volatile __PWM5PRLbits_t PWM5PRLbits
;
11952 #define _PWM5PRL0 0x01
11953 #define _PWM5PRL1 0x02
11954 #define _PWM5PRL2 0x04
11955 #define _PWM5PRL3 0x08
11956 #define _PWM5PRL4 0x10
11957 #define _PWM5PRL5 0x20
11958 #define _PWM5PRL6 0x40
11959 #define _PWM5PRL7 0x80
11961 //==============================================================================
11964 //==============================================================================
11967 extern __at(0x0D96) __sfr PWM5PRH
;
11971 unsigned PWM5PRH0
: 1;
11972 unsigned PWM5PRH1
: 1;
11973 unsigned PWM5PRH2
: 1;
11974 unsigned PWM5PRH3
: 1;
11975 unsigned PWM5PRH4
: 1;
11976 unsigned PWM5PRH5
: 1;
11977 unsigned PWM5PRH6
: 1;
11978 unsigned PWM5PRH7
: 1;
11981 extern __at(0x0D96) volatile __PWM5PRHbits_t PWM5PRHbits
;
11983 #define _PWM5PRH0 0x01
11984 #define _PWM5PRH1 0x02
11985 #define _PWM5PRH2 0x04
11986 #define _PWM5PRH3 0x08
11987 #define _PWM5PRH4 0x10
11988 #define _PWM5PRH5 0x20
11989 #define _PWM5PRH6 0x40
11990 #define _PWM5PRH7 0x80
11992 //==============================================================================
11994 extern __at(0x0D97) __sfr PWM5OF
;
11996 //==============================================================================
11999 extern __at(0x0D97) __sfr PWM5OFL
;
12003 unsigned PWM5OFL0
: 1;
12004 unsigned PWM5OFL1
: 1;
12005 unsigned PWM5OFL2
: 1;
12006 unsigned PWM5OFL3
: 1;
12007 unsigned PWM5OFL4
: 1;
12008 unsigned PWM5OFL5
: 1;
12009 unsigned PWM5OFL6
: 1;
12010 unsigned PWM5OFL7
: 1;
12013 extern __at(0x0D97) volatile __PWM5OFLbits_t PWM5OFLbits
;
12015 #define _PWM5OFL0 0x01
12016 #define _PWM5OFL1 0x02
12017 #define _PWM5OFL2 0x04
12018 #define _PWM5OFL3 0x08
12019 #define _PWM5OFL4 0x10
12020 #define _PWM5OFL5 0x20
12021 #define _PWM5OFL6 0x40
12022 #define _PWM5OFL7 0x80
12024 //==============================================================================
12027 //==============================================================================
12030 extern __at(0x0D98) __sfr PWM5OFH
;
12034 unsigned PWM5OFH0
: 1;
12035 unsigned PWM5OFH1
: 1;
12036 unsigned PWM5OFH2
: 1;
12037 unsigned PWM5OFH3
: 1;
12038 unsigned PWM5OFH4
: 1;
12039 unsigned PWM5OFH5
: 1;
12040 unsigned PWM5OFH6
: 1;
12041 unsigned PWM5OFH7
: 1;
12044 extern __at(0x0D98) volatile __PWM5OFHbits_t PWM5OFHbits
;
12046 #define _PWM5OFH0 0x01
12047 #define _PWM5OFH1 0x02
12048 #define _PWM5OFH2 0x04
12049 #define _PWM5OFH3 0x08
12050 #define _PWM5OFH4 0x10
12051 #define _PWM5OFH5 0x20
12052 #define _PWM5OFH6 0x40
12053 #define _PWM5OFH7 0x80
12055 //==============================================================================
12057 extern __at(0x0D99) __sfr PWM5TMR
;
12059 //==============================================================================
12062 extern __at(0x0D99) __sfr PWM5TMRL
;
12066 unsigned PWM5TMRL0
: 1;
12067 unsigned PWM5TMRL1
: 1;
12068 unsigned PWM5TMRL2
: 1;
12069 unsigned PWM5TMRL3
: 1;
12070 unsigned PWM5TMRL4
: 1;
12071 unsigned PWM5TMRL5
: 1;
12072 unsigned PWM5TMRL6
: 1;
12073 unsigned PWM5TMRL7
: 1;
12074 } __PWM5TMRLbits_t
;
12076 extern __at(0x0D99) volatile __PWM5TMRLbits_t PWM5TMRLbits
;
12078 #define _PWM5TMRL0 0x01
12079 #define _PWM5TMRL1 0x02
12080 #define _PWM5TMRL2 0x04
12081 #define _PWM5TMRL3 0x08
12082 #define _PWM5TMRL4 0x10
12083 #define _PWM5TMRL5 0x20
12084 #define _PWM5TMRL6 0x40
12085 #define _PWM5TMRL7 0x80
12087 //==============================================================================
12090 //==============================================================================
12093 extern __at(0x0D9A) __sfr PWM5TMRH
;
12097 unsigned PWM5TMRH0
: 1;
12098 unsigned PWM5TMRH1
: 1;
12099 unsigned PWM5TMRH2
: 1;
12100 unsigned PWM5TMRH3
: 1;
12101 unsigned PWM5TMRH4
: 1;
12102 unsigned PWM5TMRH5
: 1;
12103 unsigned PWM5TMRH6
: 1;
12104 unsigned PWM5TMRH7
: 1;
12105 } __PWM5TMRHbits_t
;
12107 extern __at(0x0D9A) volatile __PWM5TMRHbits_t PWM5TMRHbits
;
12109 #define _PWM5TMRH0 0x01
12110 #define _PWM5TMRH1 0x02
12111 #define _PWM5TMRH2 0x04
12112 #define _PWM5TMRH3 0x08
12113 #define _PWM5TMRH4 0x10
12114 #define _PWM5TMRH5 0x20
12115 #define _PWM5TMRH6 0x40
12116 #define _PWM5TMRH7 0x80
12118 //==============================================================================
12121 //==============================================================================
12124 extern __at(0x0D9B) __sfr PWM5CON
;
12132 unsigned PWM5MODE0
: 1;
12133 unsigned PWM5MODE1
: 1;
12144 unsigned MODE0
: 1;
12145 unsigned MODE1
: 1;
12146 unsigned PWM5POL
: 1;
12147 unsigned PWM5OUT
: 1;
12149 unsigned PWM5EN
: 1;
12155 unsigned PWM5MODE
: 2;
12167 extern __at(0x0D9B) volatile __PWM5CONbits_t PWM5CONbits
;
12169 #define _PWM5CON_PWM5MODE0 0x04
12170 #define _PWM5CON_MODE0 0x04
12171 #define _PWM5CON_PWM5MODE1 0x08
12172 #define _PWM5CON_MODE1 0x08
12173 #define _PWM5CON_POL 0x10
12174 #define _PWM5CON_PWM5POL 0x10
12175 #define _PWM5CON_OUT 0x20
12176 #define _PWM5CON_PWM5OUT 0x20
12177 #define _PWM5CON_EN 0x80
12178 #define _PWM5CON_PWM5EN 0x80
12180 //==============================================================================
12183 //==============================================================================
12186 extern __at(0x0D9C) __sfr PWM5INTCON
;
12204 unsigned PWM5PRIE
: 1;
12205 unsigned PWM5DCIE
: 1;
12206 unsigned PWM5PHIE
: 1;
12207 unsigned PWM5OFIE
: 1;
12213 } __PWM5INTCONbits_t
;
12215 extern __at(0x0D9C) volatile __PWM5INTCONbits_t PWM5INTCONbits
;
12218 #define _PWM5PRIE 0x01
12220 #define _PWM5DCIE 0x02
12222 #define _PWM5PHIE 0x04
12224 #define _PWM5OFIE 0x08
12226 //==============================================================================
12229 //==============================================================================
12232 extern __at(0x0D9C) __sfr PWM5INTE
;
12250 unsigned PWM5PRIE
: 1;
12251 unsigned PWM5DCIE
: 1;
12252 unsigned PWM5PHIE
: 1;
12253 unsigned PWM5OFIE
: 1;
12259 } __PWM5INTEbits_t
;
12261 extern __at(0x0D9C) volatile __PWM5INTEbits_t PWM5INTEbits
;
12263 #define _PWM5INTE_PRIE 0x01
12264 #define _PWM5INTE_PWM5PRIE 0x01
12265 #define _PWM5INTE_DCIE 0x02
12266 #define _PWM5INTE_PWM5DCIE 0x02
12267 #define _PWM5INTE_PHIE 0x04
12268 #define _PWM5INTE_PWM5PHIE 0x04
12269 #define _PWM5INTE_OFIE 0x08
12270 #define _PWM5INTE_PWM5OFIE 0x08
12272 //==============================================================================
12275 //==============================================================================
12278 extern __at(0x0D9D) __sfr PWM5INTF
;
12296 unsigned PWM5PRIF
: 1;
12297 unsigned PWM5DCIF
: 1;
12298 unsigned PWM5PHIF
: 1;
12299 unsigned PWM5OFIF
: 1;
12305 } __PWM5INTFbits_t
;
12307 extern __at(0x0D9D) volatile __PWM5INTFbits_t PWM5INTFbits
;
12310 #define _PWM5PRIF 0x01
12312 #define _PWM5DCIF 0x02
12314 #define _PWM5PHIF 0x04
12316 #define _PWM5OFIF 0x08
12318 //==============================================================================
12321 //==============================================================================
12324 extern __at(0x0D9D) __sfr PWM5INTFLG
;
12342 unsigned PWM5PRIF
: 1;
12343 unsigned PWM5DCIF
: 1;
12344 unsigned PWM5PHIF
: 1;
12345 unsigned PWM5OFIF
: 1;
12351 } __PWM5INTFLGbits_t
;
12353 extern __at(0x0D9D) volatile __PWM5INTFLGbits_t PWM5INTFLGbits
;
12355 #define _PWM5INTFLG_PRIF 0x01
12356 #define _PWM5INTFLG_PWM5PRIF 0x01
12357 #define _PWM5INTFLG_DCIF 0x02
12358 #define _PWM5INTFLG_PWM5DCIF 0x02
12359 #define _PWM5INTFLG_PHIF 0x04
12360 #define _PWM5INTFLG_PWM5PHIF 0x04
12361 #define _PWM5INTFLG_OFIF 0x08
12362 #define _PWM5INTFLG_PWM5OFIF 0x08
12364 //==============================================================================
12367 //==============================================================================
12370 extern __at(0x0D9E) __sfr PWM5CLKCON
;
12376 unsigned PWM5CS0
: 1;
12377 unsigned PWM5CS1
: 1;
12378 unsigned PWM5CS2
: 1;
12380 unsigned PWM5PS0
: 1;
12381 unsigned PWM5PS1
: 1;
12382 unsigned PWM5PS2
: 1;
12400 unsigned PWM5CS
: 3;
12420 unsigned PWM5PS
: 3;
12423 } __PWM5CLKCONbits_t
;
12425 extern __at(0x0D9E) volatile __PWM5CLKCONbits_t PWM5CLKCONbits
;
12427 #define _PWM5CLKCON_PWM5CS0 0x01
12428 #define _PWM5CLKCON_CS0 0x01
12429 #define _PWM5CLKCON_PWM5CS1 0x02
12430 #define _PWM5CLKCON_CS1 0x02
12431 #define _PWM5CLKCON_PWM5CS2 0x04
12432 #define _PWM5CLKCON_CS2 0x04
12433 #define _PWM5CLKCON_PWM5PS0 0x10
12434 #define _PWM5CLKCON_PS0 0x10
12435 #define _PWM5CLKCON_PWM5PS1 0x20
12436 #define _PWM5CLKCON_PS1 0x20
12437 #define _PWM5CLKCON_PWM5PS2 0x40
12438 #define _PWM5CLKCON_PS2 0x40
12440 //==============================================================================
12443 //==============================================================================
12446 extern __at(0x0D9F) __sfr PWM5LDCON
;
12452 unsigned PWM5LDS0
: 1;
12470 unsigned PWM5LDM
: 1;
12471 unsigned PWM5LD
: 1;
12473 } __PWM5LDCONbits_t
;
12475 extern __at(0x0D9F) volatile __PWM5LDCONbits_t PWM5LDCONbits
;
12477 #define _PWM5LDS0 0x01
12480 #define _PWM5LDM 0x40
12482 #define _PWM5LD 0x80
12484 //==============================================================================
12487 //==============================================================================
12490 extern __at(0x0DA0) __sfr PWM5OFCON
;
12496 unsigned PWM5OFS0
: 1;
12501 unsigned PWM5OFM0
: 1;
12502 unsigned PWM5OFM1
: 1;
12512 unsigned PWM5OFMC
: 1;
12521 unsigned PWM5OFM
: 2;
12531 } __PWM5OFCONbits_t
;
12533 extern __at(0x0DA0) volatile __PWM5OFCONbits_t PWM5OFCONbits
;
12535 #define _PWM5OFS0 0x01
12538 #define _PWM5OFMC 0x10
12539 #define _PWM5OFM0 0x20
12541 #define _PWM5OFM1 0x40
12544 //==============================================================================
12546 extern __at(0x0DA1) __sfr PWM6PH
;
12548 //==============================================================================
12551 extern __at(0x0DA1) __sfr PWM6PHL
;
12555 unsigned PWM6PHL0
: 1;
12556 unsigned PWM6PHL1
: 1;
12557 unsigned PWM6PHL2
: 1;
12558 unsigned PWM6PHL3
: 1;
12559 unsigned PWM6PHL4
: 1;
12560 unsigned PWM6PHL5
: 1;
12561 unsigned PWM6PHL6
: 1;
12562 unsigned PWM6PHL7
: 1;
12565 extern __at(0x0DA1) volatile __PWM6PHLbits_t PWM6PHLbits
;
12567 #define _PWM6PHL0 0x01
12568 #define _PWM6PHL1 0x02
12569 #define _PWM6PHL2 0x04
12570 #define _PWM6PHL3 0x08
12571 #define _PWM6PHL4 0x10
12572 #define _PWM6PHL5 0x20
12573 #define _PWM6PHL6 0x40
12574 #define _PWM6PHL7 0x80
12576 //==============================================================================
12579 //==============================================================================
12582 extern __at(0x0DA2) __sfr PWM6PHH
;
12586 unsigned PWM6PHH0
: 1;
12587 unsigned PWM6PHH1
: 1;
12588 unsigned PWM6PHH2
: 1;
12589 unsigned PWM6PHH3
: 1;
12590 unsigned PWM6PHH4
: 1;
12591 unsigned PWM6PHH5
: 1;
12592 unsigned PWM6PHH6
: 1;
12593 unsigned PWM6PHH7
: 1;
12596 extern __at(0x0DA2) volatile __PWM6PHHbits_t PWM6PHHbits
;
12598 #define _PWM6PHH0 0x01
12599 #define _PWM6PHH1 0x02
12600 #define _PWM6PHH2 0x04
12601 #define _PWM6PHH3 0x08
12602 #define _PWM6PHH4 0x10
12603 #define _PWM6PHH5 0x20
12604 #define _PWM6PHH6 0x40
12605 #define _PWM6PHH7 0x80
12607 //==============================================================================
12609 extern __at(0x0DA3) __sfr PWM6DC
;
12611 //==============================================================================
12614 extern __at(0x0DA3) __sfr PWM6DCL
;
12618 unsigned PWM6DCL0
: 1;
12619 unsigned PWM6DCL1
: 1;
12620 unsigned PWM6DCL2
: 1;
12621 unsigned PWM6DCL3
: 1;
12622 unsigned PWM6DCL4
: 1;
12623 unsigned PWM6DCL5
: 1;
12624 unsigned PWM6DCL6
: 1;
12625 unsigned PWM6DCL7
: 1;
12628 extern __at(0x0DA3) volatile __PWM6DCLbits_t PWM6DCLbits
;
12630 #define _PWM6DCL0 0x01
12631 #define _PWM6DCL1 0x02
12632 #define _PWM6DCL2 0x04
12633 #define _PWM6DCL3 0x08
12634 #define _PWM6DCL4 0x10
12635 #define _PWM6DCL5 0x20
12636 #define _PWM6DCL6 0x40
12637 #define _PWM6DCL7 0x80
12639 //==============================================================================
12642 //==============================================================================
12645 extern __at(0x0DA4) __sfr PWM6DCH
;
12649 unsigned PWM6DCH0
: 1;
12650 unsigned PWM6DCH1
: 1;
12651 unsigned PWM6DCH2
: 1;
12652 unsigned PWM6DCH3
: 1;
12653 unsigned PWM6DCH4
: 1;
12654 unsigned PWM6DCH5
: 1;
12655 unsigned PWM6DCH6
: 1;
12656 unsigned PWM6DCH7
: 1;
12659 extern __at(0x0DA4) volatile __PWM6DCHbits_t PWM6DCHbits
;
12661 #define _PWM6DCH0 0x01
12662 #define _PWM6DCH1 0x02
12663 #define _PWM6DCH2 0x04
12664 #define _PWM6DCH3 0x08
12665 #define _PWM6DCH4 0x10
12666 #define _PWM6DCH5 0x20
12667 #define _PWM6DCH6 0x40
12668 #define _PWM6DCH7 0x80
12670 //==============================================================================
12672 extern __at(0x0DA5) __sfr PWM6PR
;
12674 //==============================================================================
12677 extern __at(0x0DA5) __sfr PWM6PRL
;
12681 unsigned PWM6PRL0
: 1;
12682 unsigned PWM6PRL1
: 1;
12683 unsigned PWM6PRL2
: 1;
12684 unsigned PWM6PRL3
: 1;
12685 unsigned PWM6PRL4
: 1;
12686 unsigned PWM6PRL5
: 1;
12687 unsigned PWM6PRL6
: 1;
12688 unsigned PWM6PRL7
: 1;
12691 extern __at(0x0DA5) volatile __PWM6PRLbits_t PWM6PRLbits
;
12693 #define _PWM6PRL0 0x01
12694 #define _PWM6PRL1 0x02
12695 #define _PWM6PRL2 0x04
12696 #define _PWM6PRL3 0x08
12697 #define _PWM6PRL4 0x10
12698 #define _PWM6PRL5 0x20
12699 #define _PWM6PRL6 0x40
12700 #define _PWM6PRL7 0x80
12702 //==============================================================================
12705 //==============================================================================
12708 extern __at(0x0DA6) __sfr PWM6PRH
;
12712 unsigned PWM6PRH0
: 1;
12713 unsigned PWM6PRH1
: 1;
12714 unsigned PWM6PRH2
: 1;
12715 unsigned PWM6PRH3
: 1;
12716 unsigned PWM6PRH4
: 1;
12717 unsigned PWM6PRH5
: 1;
12718 unsigned PWM6PRH6
: 1;
12719 unsigned PWM6PRH7
: 1;
12722 extern __at(0x0DA6) volatile __PWM6PRHbits_t PWM6PRHbits
;
12724 #define _PWM6PRH0 0x01
12725 #define _PWM6PRH1 0x02
12726 #define _PWM6PRH2 0x04
12727 #define _PWM6PRH3 0x08
12728 #define _PWM6PRH4 0x10
12729 #define _PWM6PRH5 0x20
12730 #define _PWM6PRH6 0x40
12731 #define _PWM6PRH7 0x80
12733 //==============================================================================
12735 extern __at(0x0DA7) __sfr PWM6OF
;
12737 //==============================================================================
12740 extern __at(0x0DA7) __sfr PWM6OFL
;
12744 unsigned PWM6OFL0
: 1;
12745 unsigned PWM6OFL1
: 1;
12746 unsigned PWM6OFL2
: 1;
12747 unsigned PWM6OFL3
: 1;
12748 unsigned PWM6OFL4
: 1;
12749 unsigned PWM6OFL5
: 1;
12750 unsigned PWM6OFL6
: 1;
12751 unsigned PWM6OFL7
: 1;
12754 extern __at(0x0DA7) volatile __PWM6OFLbits_t PWM6OFLbits
;
12756 #define _PWM6OFL0 0x01
12757 #define _PWM6OFL1 0x02
12758 #define _PWM6OFL2 0x04
12759 #define _PWM6OFL3 0x08
12760 #define _PWM6OFL4 0x10
12761 #define _PWM6OFL5 0x20
12762 #define _PWM6OFL6 0x40
12763 #define _PWM6OFL7 0x80
12765 //==============================================================================
12768 //==============================================================================
12771 extern __at(0x0DA8) __sfr PWM6OFH
;
12775 unsigned PWM6OFH0
: 1;
12776 unsigned PWM6OFH1
: 1;
12777 unsigned PWM6OFH2
: 1;
12778 unsigned PWM6OFH3
: 1;
12779 unsigned PWM6OFH4
: 1;
12780 unsigned PWM6OFH5
: 1;
12781 unsigned PWM6OFH6
: 1;
12782 unsigned PWM6OFH7
: 1;
12785 extern __at(0x0DA8) volatile __PWM6OFHbits_t PWM6OFHbits
;
12787 #define _PWM6OFH0 0x01
12788 #define _PWM6OFH1 0x02
12789 #define _PWM6OFH2 0x04
12790 #define _PWM6OFH3 0x08
12791 #define _PWM6OFH4 0x10
12792 #define _PWM6OFH5 0x20
12793 #define _PWM6OFH6 0x40
12794 #define _PWM6OFH7 0x80
12796 //==============================================================================
12798 extern __at(0x0DA9) __sfr PWM6TMR
;
12800 //==============================================================================
12803 extern __at(0x0DA9) __sfr PWM6TMRL
;
12807 unsigned PWM6TMRL0
: 1;
12808 unsigned PWM6TMRL1
: 1;
12809 unsigned PWM6TMRL2
: 1;
12810 unsigned PWM6TMRL3
: 1;
12811 unsigned PWM6TMRL4
: 1;
12812 unsigned PWM6TMRL5
: 1;
12813 unsigned PWM6TMRL6
: 1;
12814 unsigned PWM6TMRL7
: 1;
12815 } __PWM6TMRLbits_t
;
12817 extern __at(0x0DA9) volatile __PWM6TMRLbits_t PWM6TMRLbits
;
12819 #define _PWM6TMRL0 0x01
12820 #define _PWM6TMRL1 0x02
12821 #define _PWM6TMRL2 0x04
12822 #define _PWM6TMRL3 0x08
12823 #define _PWM6TMRL4 0x10
12824 #define _PWM6TMRL5 0x20
12825 #define _PWM6TMRL6 0x40
12826 #define _PWM6TMRL7 0x80
12828 //==============================================================================
12831 //==============================================================================
12834 extern __at(0x0DAA) __sfr PWM6TMRH
;
12838 unsigned PWM6TMRH0
: 1;
12839 unsigned PWM6TMRH1
: 1;
12840 unsigned PWM6TMRH2
: 1;
12841 unsigned PWM6TMRH3
: 1;
12842 unsigned PWM6TMRH4
: 1;
12843 unsigned PWM6TMRH5
: 1;
12844 unsigned PWM6TMRH6
: 1;
12845 unsigned PWM6TMRH7
: 1;
12846 } __PWM6TMRHbits_t
;
12848 extern __at(0x0DAA) volatile __PWM6TMRHbits_t PWM6TMRHbits
;
12850 #define _PWM6TMRH0 0x01
12851 #define _PWM6TMRH1 0x02
12852 #define _PWM6TMRH2 0x04
12853 #define _PWM6TMRH3 0x08
12854 #define _PWM6TMRH4 0x10
12855 #define _PWM6TMRH5 0x20
12856 #define _PWM6TMRH6 0x40
12857 #define _PWM6TMRH7 0x80
12859 //==============================================================================
12862 //==============================================================================
12865 extern __at(0x0DAB) __sfr PWM6CON
;
12873 unsigned PWM6MODE0
: 1;
12874 unsigned PWM6MODE1
: 1;
12885 unsigned MODE0
: 1;
12886 unsigned MODE1
: 1;
12887 unsigned PWM6POL
: 1;
12888 unsigned PWM6OUT
: 1;
12890 unsigned PWM6EN
: 1;
12903 unsigned PWM6MODE
: 2;
12908 extern __at(0x0DAB) volatile __PWM6CONbits_t PWM6CONbits
;
12910 #define _PWM6CON_PWM6MODE0 0x04
12911 #define _PWM6CON_MODE0 0x04
12912 #define _PWM6CON_PWM6MODE1 0x08
12913 #define _PWM6CON_MODE1 0x08
12914 #define _PWM6CON_POL 0x10
12915 #define _PWM6CON_PWM6POL 0x10
12916 #define _PWM6CON_OUT 0x20
12917 #define _PWM6CON_PWM6OUT 0x20
12918 #define _PWM6CON_EN 0x80
12919 #define _PWM6CON_PWM6EN 0x80
12921 //==============================================================================
12924 //==============================================================================
12927 extern __at(0x0DAC) __sfr PWM6INTCON
;
12945 unsigned PWM6PRIE
: 1;
12946 unsigned PWM6DCIE
: 1;
12947 unsigned PWM6PHIE
: 1;
12948 unsigned PWM6OFIE
: 1;
12954 } __PWM6INTCONbits_t
;
12956 extern __at(0x0DAC) volatile __PWM6INTCONbits_t PWM6INTCONbits
;
12958 #define _PWM6INTCON_PRIE 0x01
12959 #define _PWM6INTCON_PWM6PRIE 0x01
12960 #define _PWM6INTCON_DCIE 0x02
12961 #define _PWM6INTCON_PWM6DCIE 0x02
12962 #define _PWM6INTCON_PHIE 0x04
12963 #define _PWM6INTCON_PWM6PHIE 0x04
12964 #define _PWM6INTCON_OFIE 0x08
12965 #define _PWM6INTCON_PWM6OFIE 0x08
12967 //==============================================================================
12970 //==============================================================================
12973 extern __at(0x0DAC) __sfr PWM6INTE
;
12991 unsigned PWM6PRIE
: 1;
12992 unsigned PWM6DCIE
: 1;
12993 unsigned PWM6PHIE
: 1;
12994 unsigned PWM6OFIE
: 1;
13000 } __PWM6INTEbits_t
;
13002 extern __at(0x0DAC) volatile __PWM6INTEbits_t PWM6INTEbits
;
13004 #define _PWM6INTE_PRIE 0x01
13005 #define _PWM6INTE_PWM6PRIE 0x01
13006 #define _PWM6INTE_DCIE 0x02
13007 #define _PWM6INTE_PWM6DCIE 0x02
13008 #define _PWM6INTE_PHIE 0x04
13009 #define _PWM6INTE_PWM6PHIE 0x04
13010 #define _PWM6INTE_OFIE 0x08
13011 #define _PWM6INTE_PWM6OFIE 0x08
13013 //==============================================================================
13016 //==============================================================================
13019 extern __at(0x0DAD) __sfr PWM6INTF
;
13037 unsigned PWM6PRIF
: 1;
13038 unsigned PWM6DCIF
: 1;
13039 unsigned PWM6PHIF
: 1;
13040 unsigned PWM6OFIF
: 1;
13046 } __PWM6INTFbits_t
;
13048 extern __at(0x0DAD) volatile __PWM6INTFbits_t PWM6INTFbits
;
13050 #define _PWM6INTF_PRIF 0x01
13051 #define _PWM6INTF_PWM6PRIF 0x01
13052 #define _PWM6INTF_DCIF 0x02
13053 #define _PWM6INTF_PWM6DCIF 0x02
13054 #define _PWM6INTF_PHIF 0x04
13055 #define _PWM6INTF_PWM6PHIF 0x04
13056 #define _PWM6INTF_OFIF 0x08
13057 #define _PWM6INTF_PWM6OFIF 0x08
13059 //==============================================================================
13062 //==============================================================================
13065 extern __at(0x0DAD) __sfr PWM6INTFLG
;
13083 unsigned PWM6PRIF
: 1;
13084 unsigned PWM6DCIF
: 1;
13085 unsigned PWM6PHIF
: 1;
13086 unsigned PWM6OFIF
: 1;
13092 } __PWM6INTFLGbits_t
;
13094 extern __at(0x0DAD) volatile __PWM6INTFLGbits_t PWM6INTFLGbits
;
13096 #define _PWM6INTFLG_PRIF 0x01
13097 #define _PWM6INTFLG_PWM6PRIF 0x01
13098 #define _PWM6INTFLG_DCIF 0x02
13099 #define _PWM6INTFLG_PWM6DCIF 0x02
13100 #define _PWM6INTFLG_PHIF 0x04
13101 #define _PWM6INTFLG_PWM6PHIF 0x04
13102 #define _PWM6INTFLG_OFIF 0x08
13103 #define _PWM6INTFLG_PWM6OFIF 0x08
13105 //==============================================================================
13108 //==============================================================================
13111 extern __at(0x0DAE) __sfr PWM6CLKCON
;
13117 unsigned PWM6CS0
: 1;
13118 unsigned PWM6CS1
: 1;
13119 unsigned PWM6CS2
: 1;
13121 unsigned PWM6PS0
: 1;
13122 unsigned PWM6PS1
: 1;
13123 unsigned PWM6PS2
: 1;
13141 unsigned PWM6CS
: 3;
13161 unsigned PWM6PS
: 3;
13164 } __PWM6CLKCONbits_t
;
13166 extern __at(0x0DAE) volatile __PWM6CLKCONbits_t PWM6CLKCONbits
;
13168 #define _PWM6CLKCON_PWM6CS0 0x01
13169 #define _PWM6CLKCON_CS0 0x01
13170 #define _PWM6CLKCON_PWM6CS1 0x02
13171 #define _PWM6CLKCON_CS1 0x02
13172 #define _PWM6CLKCON_PWM6CS2 0x04
13173 #define _PWM6CLKCON_CS2 0x04
13174 #define _PWM6CLKCON_PWM6PS0 0x10
13175 #define _PWM6CLKCON_PS0 0x10
13176 #define _PWM6CLKCON_PWM6PS1 0x20
13177 #define _PWM6CLKCON_PS1 0x20
13178 #define _PWM6CLKCON_PWM6PS2 0x40
13179 #define _PWM6CLKCON_PS2 0x40
13181 //==============================================================================
13184 //==============================================================================
13187 extern __at(0x0DAF) __sfr PWM6LDCON
;
13193 unsigned PWM6LDS0
: 1;
13211 unsigned PWM6LDM
: 1;
13212 unsigned PWM6LD
: 1;
13214 } __PWM6LDCONbits_t
;
13216 extern __at(0x0DAF) volatile __PWM6LDCONbits_t PWM6LDCONbits
;
13218 #define _PWM6LDCON_PWM6LDS0 0x01
13219 #define _PWM6LDCON_LDS0 0x01
13220 #define _PWM6LDCON_LDT 0x40
13221 #define _PWM6LDCON_PWM6LDM 0x40
13222 #define _PWM6LDCON_LDA 0x80
13223 #define _PWM6LDCON_PWM6LD 0x80
13225 //==============================================================================
13228 //==============================================================================
13231 extern __at(0x0DB0) __sfr PWM6OFCON
;
13237 unsigned PWM6OFS0
: 1;
13242 unsigned PWM6OFM0
: 1;
13243 unsigned PWM6OFM1
: 1;
13253 unsigned PWM6OFMC
: 1;
13269 unsigned PWM6OFM
: 2;
13272 } __PWM6OFCONbits_t
;
13274 extern __at(0x0DB0) volatile __PWM6OFCONbits_t PWM6OFCONbits
;
13276 #define _PWM6OFCON_PWM6OFS0 0x01
13277 #define _PWM6OFCON_OFS0 0x01
13278 #define _PWM6OFCON_OFO 0x10
13279 #define _PWM6OFCON_PWM6OFMC 0x10
13280 #define _PWM6OFCON_PWM6OFM0 0x20
13281 #define _PWM6OFCON_OFM0 0x20
13282 #define _PWM6OFCON_PWM6OFM1 0x40
13283 #define _PWM6OFCON_OFM1 0x40
13285 //==============================================================================
13288 //==============================================================================
13291 extern __at(0x0E0F) __sfr PPSLOCK
;
13295 unsigned PPSLOCKED
: 1;
13305 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits
;
13307 #define _PPSLOCKED 0x01
13309 //==============================================================================
13311 extern __at(0x0E10) __sfr INTPPS
;
13312 extern __at(0x0E11) __sfr T0CKIPPS
;
13313 extern __at(0x0E12) __sfr T1CKIPPS
;
13314 extern __at(0x0E13) __sfr T1GPPS
;
13315 extern __at(0x0E14) __sfr CCP1PPS
;
13316 extern __at(0x0E15) __sfr CCP2PPS
;
13317 extern __at(0x0E16) __sfr COG1INPPS
;
13318 extern __at(0x0E17) __sfr COG2INPPS
;
13319 extern __at(0x0E19) __sfr T2CKIPPS
;
13320 extern __at(0x0E1A) __sfr T3CKIPPS
;
13321 extern __at(0x0E1B) __sfr T3GPPS
;
13322 extern __at(0x0E1C) __sfr T4CKIPPS
;
13323 extern __at(0x0E1D) __sfr T5CKIPPS
;
13324 extern __at(0x0E1E) __sfr T5GPPS
;
13325 extern __at(0x0E1F) __sfr T6CKIPPS
;
13326 extern __at(0x0E20) __sfr SSPCLKPPS
;
13327 extern __at(0x0E21) __sfr SSPDATPPS
;
13328 extern __at(0x0E22) __sfr SSPSSPPS
;
13329 extern __at(0x0E24) __sfr RXPPS
;
13330 extern __at(0x0E25) __sfr CKPPS
;
13331 extern __at(0x0E28) __sfr CLCIN0PPS
;
13332 extern __at(0x0E29) __sfr CLCIN1PPS
;
13333 extern __at(0x0E2A) __sfr CLCIN2PPS
;
13334 extern __at(0x0E2B) __sfr CLCIN3PPS
;
13335 extern __at(0x0E2C) __sfr PRG1RPPS
;
13336 extern __at(0x0E2D) __sfr PRG1FPPS
;
13337 extern __at(0x0E2E) __sfr PRG2RPPS
;
13338 extern __at(0x0E2F) __sfr PRG2FPPS
;
13339 extern __at(0x0E30) __sfr MD1CHPPS
;
13340 extern __at(0x0E31) __sfr MD1CLPPS
;
13341 extern __at(0x0E32) __sfr MD1MODPPS
;
13342 extern __at(0x0E33) __sfr MD2CHPPS
;
13343 extern __at(0x0E34) __sfr MD2CLPPS
;
13344 extern __at(0x0E35) __sfr MD2MODPPS
;
13345 extern __at(0x0E90) __sfr RA0PPS
;
13346 extern __at(0x0E91) __sfr RA1PPS
;
13347 extern __at(0x0E92) __sfr RA2PPS
;
13348 extern __at(0x0E94) __sfr RA4PPS
;
13349 extern __at(0x0E95) __sfr RA5PPS
;
13350 extern __at(0x0E9C) __sfr RB4PPS
;
13351 extern __at(0x0E9D) __sfr RB5PPS
;
13352 extern __at(0x0E9E) __sfr RB6PPS
;
13353 extern __at(0x0E9F) __sfr RB7PPS
;
13354 extern __at(0x0EA0) __sfr RC0PPS
;
13355 extern __at(0x0EA1) __sfr RC1PPS
;
13356 extern __at(0x0EA2) __sfr RC2PPS
;
13357 extern __at(0x0EA3) __sfr RC3PPS
;
13358 extern __at(0x0EA4) __sfr RC4PPS
;
13359 extern __at(0x0EA5) __sfr RC5PPS
;
13360 extern __at(0x0EA6) __sfr RC6PPS
;
13361 extern __at(0x0EA7) __sfr RC7PPS
;
13363 //==============================================================================
13366 extern __at(0x0F0F) __sfr CLCDATA
;
13370 unsigned MCLC1OUT
: 1;
13371 unsigned MCLC2OUT
: 1;
13372 unsigned MCLC3OUT
: 1;
13380 extern __at(0x0F0F) volatile __CLCDATAbits_t CLCDATAbits
;
13382 #define _MCLC1OUT 0x01
13383 #define _MCLC2OUT 0x02
13384 #define _MCLC3OUT 0x04
13386 //==============================================================================
13389 //==============================================================================
13392 extern __at(0x0F10) __sfr CLC1CON
;
13398 unsigned LC1MODE0
: 1;
13399 unsigned LC1MODE1
: 1;
13400 unsigned LC1MODE2
: 1;
13401 unsigned LC1INTN
: 1;
13402 unsigned LC1INTP
: 1;
13403 unsigned LC1OUT
: 1;
13405 unsigned LC1EN
: 1;
13410 unsigned MODE0
: 1;
13411 unsigned MODE1
: 1;
13412 unsigned MODE2
: 1;
13428 unsigned LC1MODE
: 3;
13433 extern __at(0x0F10) volatile __CLC1CONbits_t CLC1CONbits
;
13435 #define _CLC1CON_LC1MODE0 0x01
13436 #define _CLC1CON_MODE0 0x01
13437 #define _CLC1CON_LC1MODE1 0x02
13438 #define _CLC1CON_MODE1 0x02
13439 #define _CLC1CON_LC1MODE2 0x04
13440 #define _CLC1CON_MODE2 0x04
13441 #define _CLC1CON_LC1INTN 0x08
13442 #define _CLC1CON_INTN 0x08
13443 #define _CLC1CON_LC1INTP 0x10
13444 #define _CLC1CON_INTP 0x10
13445 #define _CLC1CON_LC1OUT 0x20
13446 #define _CLC1CON_OUT 0x20
13447 #define _CLC1CON_LC1EN 0x80
13448 #define _CLC1CON_EN 0x80
13450 //==============================================================================
13453 //==============================================================================
13456 extern __at(0x0F11) __sfr CLC1POL
;
13462 unsigned LC1G1POL
: 1;
13463 unsigned LC1G2POL
: 1;
13464 unsigned LC1G3POL
: 1;
13465 unsigned LC1G4POL
: 1;
13469 unsigned LC1POL
: 1;
13474 unsigned G1POL
: 1;
13475 unsigned G2POL
: 1;
13476 unsigned G3POL
: 1;
13477 unsigned G4POL
: 1;
13485 extern __at(0x0F11) volatile __CLC1POLbits_t CLC1POLbits
;
13487 #define _LC1G1POL 0x01
13488 #define _G1POL 0x01
13489 #define _LC1G2POL 0x02
13490 #define _G2POL 0x02
13491 #define _LC1G3POL 0x04
13492 #define _G3POL 0x04
13493 #define _LC1G4POL 0x08
13494 #define _G4POL 0x08
13495 #define _LC1POL 0x80
13498 //==============================================================================
13501 //==============================================================================
13504 extern __at(0x0F12) __sfr CLC1SEL0
;
13510 unsigned LC1D1S0
: 1;
13511 unsigned LC1D1S1
: 1;
13512 unsigned LC1D1S2
: 1;
13513 unsigned LC1D1S3
: 1;
13514 unsigned LC1D1S4
: 1;
13540 unsigned LC1D1S
: 5;
13543 } __CLC1SEL0bits_t
;
13545 extern __at(0x0F12) volatile __CLC1SEL0bits_t CLC1SEL0bits
;
13547 #define _LC1D1S0 0x01
13549 #define _LC1D1S1 0x02
13551 #define _LC1D1S2 0x04
13553 #define _LC1D1S3 0x08
13555 #define _LC1D1S4 0x10
13558 //==============================================================================
13561 //==============================================================================
13564 extern __at(0x0F13) __sfr CLC1SEL1
;
13570 unsigned LC1D2S0
: 1;
13571 unsigned LC1D2S1
: 1;
13572 unsigned LC1D2S2
: 1;
13573 unsigned LC1D2S3
: 1;
13574 unsigned LC1D2S4
: 1;
13600 unsigned LC1D2S
: 5;
13603 } __CLC1SEL1bits_t
;
13605 extern __at(0x0F13) volatile __CLC1SEL1bits_t CLC1SEL1bits
;
13607 #define _LC1D2S0 0x01
13609 #define _LC1D2S1 0x02
13611 #define _LC1D2S2 0x04
13613 #define _LC1D2S3 0x08
13615 #define _LC1D2S4 0x10
13618 //==============================================================================
13621 //==============================================================================
13624 extern __at(0x0F14) __sfr CLC1SEL2
;
13630 unsigned LC1D3S0
: 1;
13631 unsigned LC1D3S1
: 1;
13632 unsigned LC1D3S2
: 1;
13633 unsigned LC1D3S3
: 1;
13634 unsigned LC1D3S4
: 1;
13654 unsigned LC1D3S
: 5;
13663 } __CLC1SEL2bits_t
;
13665 extern __at(0x0F14) volatile __CLC1SEL2bits_t CLC1SEL2bits
;
13667 #define _LC1D3S0 0x01
13669 #define _LC1D3S1 0x02
13671 #define _LC1D3S2 0x04
13673 #define _LC1D3S3 0x08
13675 #define _LC1D3S4 0x10
13678 //==============================================================================
13681 //==============================================================================
13684 extern __at(0x0F15) __sfr CLC1SEL3
;
13690 unsigned LC1D4S0
: 1;
13691 unsigned LC1D4S1
: 1;
13692 unsigned LC1D4S2
: 1;
13693 unsigned LC1D4S3
: 1;
13694 unsigned LC1D4S4
: 1;
13714 unsigned LC1D4S
: 5;
13723 } __CLC1SEL3bits_t
;
13725 extern __at(0x0F15) volatile __CLC1SEL3bits_t CLC1SEL3bits
;
13727 #define _LC1D4S0 0x01
13729 #define _LC1D4S1 0x02
13731 #define _LC1D4S2 0x04
13733 #define _LC1D4S3 0x08
13735 #define _LC1D4S4 0x10
13738 //==============================================================================
13741 //==============================================================================
13744 extern __at(0x0F16) __sfr CLC1GLS0
;
13750 unsigned LC1G1D1N
: 1;
13751 unsigned LC1G1D1T
: 1;
13752 unsigned LC1G1D2N
: 1;
13753 unsigned LC1G1D2T
: 1;
13754 unsigned LC1G1D3N
: 1;
13755 unsigned LC1G1D3T
: 1;
13756 unsigned LC1G1D4N
: 1;
13757 unsigned LC1G1D4T
: 1;
13771 } __CLC1GLS0bits_t
;
13773 extern __at(0x0F16) volatile __CLC1GLS0bits_t CLC1GLS0bits
;
13775 #define _LC1G1D1N 0x01
13777 #define _LC1G1D1T 0x02
13779 #define _LC1G1D2N 0x04
13781 #define _LC1G1D2T 0x08
13783 #define _LC1G1D3N 0x10
13785 #define _LC1G1D3T 0x20
13787 #define _LC1G1D4N 0x40
13789 #define _LC1G1D4T 0x80
13792 //==============================================================================
13795 //==============================================================================
13798 extern __at(0x0F17) __sfr CLC1GLS1
;
13804 unsigned LC1G2D1N
: 1;
13805 unsigned LC1G2D1T
: 1;
13806 unsigned LC1G2D2N
: 1;
13807 unsigned LC1G2D2T
: 1;
13808 unsigned LC1G2D3N
: 1;
13809 unsigned LC1G2D3T
: 1;
13810 unsigned LC1G2D4N
: 1;
13811 unsigned LC1G2D4T
: 1;
13825 } __CLC1GLS1bits_t
;
13827 extern __at(0x0F17) volatile __CLC1GLS1bits_t CLC1GLS1bits
;
13829 #define _CLC1GLS1_LC1G2D1N 0x01
13830 #define _CLC1GLS1_D1N 0x01
13831 #define _CLC1GLS1_LC1G2D1T 0x02
13832 #define _CLC1GLS1_D1T 0x02
13833 #define _CLC1GLS1_LC1G2D2N 0x04
13834 #define _CLC1GLS1_D2N 0x04
13835 #define _CLC1GLS1_LC1G2D2T 0x08
13836 #define _CLC1GLS1_D2T 0x08
13837 #define _CLC1GLS1_LC1G2D3N 0x10
13838 #define _CLC1GLS1_D3N 0x10
13839 #define _CLC1GLS1_LC1G2D3T 0x20
13840 #define _CLC1GLS1_D3T 0x20
13841 #define _CLC1GLS1_LC1G2D4N 0x40
13842 #define _CLC1GLS1_D4N 0x40
13843 #define _CLC1GLS1_LC1G2D4T 0x80
13844 #define _CLC1GLS1_D4T 0x80
13846 //==============================================================================
13849 //==============================================================================
13852 extern __at(0x0F18) __sfr CLC1GLS2
;
13858 unsigned LC1G3D1N
: 1;
13859 unsigned LC1G3D1T
: 1;
13860 unsigned LC1G3D2N
: 1;
13861 unsigned LC1G3D2T
: 1;
13862 unsigned LC1G3D3N
: 1;
13863 unsigned LC1G3D3T
: 1;
13864 unsigned LC1G3D4N
: 1;
13865 unsigned LC1G3D4T
: 1;
13879 } __CLC1GLS2bits_t
;
13881 extern __at(0x0F18) volatile __CLC1GLS2bits_t CLC1GLS2bits
;
13883 #define _CLC1GLS2_LC1G3D1N 0x01
13884 #define _CLC1GLS2_D1N 0x01
13885 #define _CLC1GLS2_LC1G3D1T 0x02
13886 #define _CLC1GLS2_D1T 0x02
13887 #define _CLC1GLS2_LC1G3D2N 0x04
13888 #define _CLC1GLS2_D2N 0x04
13889 #define _CLC1GLS2_LC1G3D2T 0x08
13890 #define _CLC1GLS2_D2T 0x08
13891 #define _CLC1GLS2_LC1G3D3N 0x10
13892 #define _CLC1GLS2_D3N 0x10
13893 #define _CLC1GLS2_LC1G3D3T 0x20
13894 #define _CLC1GLS2_D3T 0x20
13895 #define _CLC1GLS2_LC1G3D4N 0x40
13896 #define _CLC1GLS2_D4N 0x40
13897 #define _CLC1GLS2_LC1G3D4T 0x80
13898 #define _CLC1GLS2_D4T 0x80
13900 //==============================================================================
13903 //==============================================================================
13906 extern __at(0x0F19) __sfr CLC1GLS3
;
13912 unsigned LC1G4D1N
: 1;
13913 unsigned LC1G4D1T
: 1;
13914 unsigned LC1G4D2N
: 1;
13915 unsigned LC1G4D2T
: 1;
13916 unsigned LC1G4D3N
: 1;
13917 unsigned LC1G4D3T
: 1;
13918 unsigned LC1G4D4N
: 1;
13919 unsigned LC1G4D4T
: 1;
13924 unsigned G4D1N
: 1;
13925 unsigned G4D1T
: 1;
13926 unsigned G4D2N
: 1;
13927 unsigned G4D2T
: 1;
13928 unsigned G4D3N
: 1;
13929 unsigned G4D3T
: 1;
13930 unsigned G4D4N
: 1;
13931 unsigned G4D4T
: 1;
13933 } __CLC1GLS3bits_t
;
13935 extern __at(0x0F19) volatile __CLC1GLS3bits_t CLC1GLS3bits
;
13937 #define _LC1G4D1N 0x01
13938 #define _G4D1N 0x01
13939 #define _LC1G4D1T 0x02
13940 #define _G4D1T 0x02
13941 #define _LC1G4D2N 0x04
13942 #define _G4D2N 0x04
13943 #define _LC1G4D2T 0x08
13944 #define _G4D2T 0x08
13945 #define _LC1G4D3N 0x10
13946 #define _G4D3N 0x10
13947 #define _LC1G4D3T 0x20
13948 #define _G4D3T 0x20
13949 #define _LC1G4D4N 0x40
13950 #define _G4D4N 0x40
13951 #define _LC1G4D4T 0x80
13952 #define _G4D4T 0x80
13954 //==============================================================================
13957 //==============================================================================
13960 extern __at(0x0F1A) __sfr CLC2CON
;
13966 unsigned LC2MODE0
: 1;
13967 unsigned LC2MODE1
: 1;
13968 unsigned LC2MODE2
: 1;
13969 unsigned LC2INTN
: 1;
13970 unsigned LC2INTP
: 1;
13971 unsigned LC2OUT
: 1;
13973 unsigned LC2EN
: 1;
13978 unsigned MODE0
: 1;
13979 unsigned MODE1
: 1;
13980 unsigned MODE2
: 1;
13990 unsigned LC2MODE
: 3;
14001 extern __at(0x0F1A) volatile __CLC2CONbits_t CLC2CONbits
;
14003 #define _CLC2CON_LC2MODE0 0x01
14004 #define _CLC2CON_MODE0 0x01
14005 #define _CLC2CON_LC2MODE1 0x02
14006 #define _CLC2CON_MODE1 0x02
14007 #define _CLC2CON_LC2MODE2 0x04
14008 #define _CLC2CON_MODE2 0x04
14009 #define _CLC2CON_LC2INTN 0x08
14010 #define _CLC2CON_INTN 0x08
14011 #define _CLC2CON_LC2INTP 0x10
14012 #define _CLC2CON_INTP 0x10
14013 #define _CLC2CON_LC2OUT 0x20
14014 #define _CLC2CON_OUT 0x20
14015 #define _CLC2CON_LC2EN 0x80
14016 #define _CLC2CON_EN 0x80
14018 //==============================================================================
14021 //==============================================================================
14024 extern __at(0x0F1B) __sfr CLC2POL
;
14030 unsigned LC2G1POL
: 1;
14031 unsigned LC2G2POL
: 1;
14032 unsigned LC2G3POL
: 1;
14033 unsigned LC2G4POL
: 1;
14037 unsigned LC2POL
: 1;
14042 unsigned G1POL
: 1;
14043 unsigned G2POL
: 1;
14044 unsigned G3POL
: 1;
14045 unsigned G4POL
: 1;
14053 extern __at(0x0F1B) volatile __CLC2POLbits_t CLC2POLbits
;
14055 #define _CLC2POL_LC2G1POL 0x01
14056 #define _CLC2POL_G1POL 0x01
14057 #define _CLC2POL_LC2G2POL 0x02
14058 #define _CLC2POL_G2POL 0x02
14059 #define _CLC2POL_LC2G3POL 0x04
14060 #define _CLC2POL_G3POL 0x04
14061 #define _CLC2POL_LC2G4POL 0x08
14062 #define _CLC2POL_G4POL 0x08
14063 #define _CLC2POL_LC2POL 0x80
14064 #define _CLC2POL_POL 0x80
14066 //==============================================================================
14069 //==============================================================================
14072 extern __at(0x0F1C) __sfr CLC2SEL0
;
14078 unsigned LC2D1S0
: 1;
14079 unsigned LC2D1S1
: 1;
14080 unsigned LC2D1S2
: 1;
14081 unsigned LC2D1S3
: 1;
14082 unsigned LC2D1S4
: 1;
14102 unsigned LC2D1S
: 5;
14111 } __CLC2SEL0bits_t
;
14113 extern __at(0x0F1C) volatile __CLC2SEL0bits_t CLC2SEL0bits
;
14115 #define _CLC2SEL0_LC2D1S0 0x01
14116 #define _CLC2SEL0_D1S0 0x01
14117 #define _CLC2SEL0_LC2D1S1 0x02
14118 #define _CLC2SEL0_D1S1 0x02
14119 #define _CLC2SEL0_LC2D1S2 0x04
14120 #define _CLC2SEL0_D1S2 0x04
14121 #define _CLC2SEL0_LC2D1S3 0x08
14122 #define _CLC2SEL0_D1S3 0x08
14123 #define _CLC2SEL0_LC2D1S4 0x10
14124 #define _CLC2SEL0_D1S4 0x10
14126 //==============================================================================
14129 //==============================================================================
14132 extern __at(0x0F1D) __sfr CLC2SEL1
;
14138 unsigned LC2D2S0
: 1;
14139 unsigned LC2D2S1
: 1;
14140 unsigned LC2D2S2
: 1;
14141 unsigned LC2D2S3
: 1;
14142 unsigned LC2D2S4
: 1;
14162 unsigned LC2D2S
: 5;
14171 } __CLC2SEL1bits_t
;
14173 extern __at(0x0F1D) volatile __CLC2SEL1bits_t CLC2SEL1bits
;
14175 #define _CLC2SEL1_LC2D2S0 0x01
14176 #define _CLC2SEL1_D2S0 0x01
14177 #define _CLC2SEL1_LC2D2S1 0x02
14178 #define _CLC2SEL1_D2S1 0x02
14179 #define _CLC2SEL1_LC2D2S2 0x04
14180 #define _CLC2SEL1_D2S2 0x04
14181 #define _CLC2SEL1_LC2D2S3 0x08
14182 #define _CLC2SEL1_D2S3 0x08
14183 #define _CLC2SEL1_LC2D2S4 0x10
14184 #define _CLC2SEL1_D2S4 0x10
14186 //==============================================================================
14189 //==============================================================================
14192 extern __at(0x0F1E) __sfr CLC2SEL2
;
14198 unsigned LC2D3S0
: 1;
14199 unsigned LC2D3S1
: 1;
14200 unsigned LC2D3S2
: 1;
14201 unsigned LC2D3S3
: 1;
14202 unsigned LC2D3S4
: 1;
14222 unsigned LC2D3S
: 5;
14231 } __CLC2SEL2bits_t
;
14233 extern __at(0x0F1E) volatile __CLC2SEL2bits_t CLC2SEL2bits
;
14235 #define _CLC2SEL2_LC2D3S0 0x01
14236 #define _CLC2SEL2_D3S0 0x01
14237 #define _CLC2SEL2_LC2D3S1 0x02
14238 #define _CLC2SEL2_D3S1 0x02
14239 #define _CLC2SEL2_LC2D3S2 0x04
14240 #define _CLC2SEL2_D3S2 0x04
14241 #define _CLC2SEL2_LC2D3S3 0x08
14242 #define _CLC2SEL2_D3S3 0x08
14243 #define _CLC2SEL2_LC2D3S4 0x10
14244 #define _CLC2SEL2_D3S4 0x10
14246 //==============================================================================
14249 //==============================================================================
14252 extern __at(0x0F1F) __sfr CLC2SEL3
;
14258 unsigned LC2D4S0
: 1;
14259 unsigned LC2D4S1
: 1;
14260 unsigned LC2D4S2
: 1;
14261 unsigned LC2D4S3
: 1;
14262 unsigned LC2D4S4
: 1;
14282 unsigned LC2D4S
: 5;
14291 } __CLC2SEL3bits_t
;
14293 extern __at(0x0F1F) volatile __CLC2SEL3bits_t CLC2SEL3bits
;
14295 #define _CLC2SEL3_LC2D4S0 0x01
14296 #define _CLC2SEL3_D4S0 0x01
14297 #define _CLC2SEL3_LC2D4S1 0x02
14298 #define _CLC2SEL3_D4S1 0x02
14299 #define _CLC2SEL3_LC2D4S2 0x04
14300 #define _CLC2SEL3_D4S2 0x04
14301 #define _CLC2SEL3_LC2D4S3 0x08
14302 #define _CLC2SEL3_D4S3 0x08
14303 #define _CLC2SEL3_LC2D4S4 0x10
14304 #define _CLC2SEL3_D4S4 0x10
14306 //==============================================================================
14309 //==============================================================================
14312 extern __at(0x0F20) __sfr CLC2GLS0
;
14318 unsigned LC2G1D1N
: 1;
14319 unsigned LC2G1D1T
: 1;
14320 unsigned LC2G1D2N
: 1;
14321 unsigned LC2G1D2T
: 1;
14322 unsigned LC2G1D3N
: 1;
14323 unsigned LC2G1D3T
: 1;
14324 unsigned LC2G1D4N
: 1;
14325 unsigned LC2G1D4T
: 1;
14339 } __CLC2GLS0bits_t
;
14341 extern __at(0x0F20) volatile __CLC2GLS0bits_t CLC2GLS0bits
;
14343 #define _CLC2GLS0_LC2G1D1N 0x01
14344 #define _CLC2GLS0_D1N 0x01
14345 #define _CLC2GLS0_LC2G1D1T 0x02
14346 #define _CLC2GLS0_D1T 0x02
14347 #define _CLC2GLS0_LC2G1D2N 0x04
14348 #define _CLC2GLS0_D2N 0x04
14349 #define _CLC2GLS0_LC2G1D2T 0x08
14350 #define _CLC2GLS0_D2T 0x08
14351 #define _CLC2GLS0_LC2G1D3N 0x10
14352 #define _CLC2GLS0_D3N 0x10
14353 #define _CLC2GLS0_LC2G1D3T 0x20
14354 #define _CLC2GLS0_D3T 0x20
14355 #define _CLC2GLS0_LC2G1D4N 0x40
14356 #define _CLC2GLS0_D4N 0x40
14357 #define _CLC2GLS0_LC2G1D4T 0x80
14358 #define _CLC2GLS0_D4T 0x80
14360 //==============================================================================
14363 //==============================================================================
14366 extern __at(0x0F21) __sfr CLC2GLS1
;
14372 unsigned LC2G2D1N
: 1;
14373 unsigned LC2G2D1T
: 1;
14374 unsigned LC2G2D2N
: 1;
14375 unsigned LC2G2D2T
: 1;
14376 unsigned LC2G2D3N
: 1;
14377 unsigned LC2G2D3T
: 1;
14378 unsigned LC2G2D4N
: 1;
14379 unsigned LC2G2D4T
: 1;
14393 } __CLC2GLS1bits_t
;
14395 extern __at(0x0F21) volatile __CLC2GLS1bits_t CLC2GLS1bits
;
14397 #define _CLC2GLS1_LC2G2D1N 0x01
14398 #define _CLC2GLS1_D1N 0x01
14399 #define _CLC2GLS1_LC2G2D1T 0x02
14400 #define _CLC2GLS1_D1T 0x02
14401 #define _CLC2GLS1_LC2G2D2N 0x04
14402 #define _CLC2GLS1_D2N 0x04
14403 #define _CLC2GLS1_LC2G2D2T 0x08
14404 #define _CLC2GLS1_D2T 0x08
14405 #define _CLC2GLS1_LC2G2D3N 0x10
14406 #define _CLC2GLS1_D3N 0x10
14407 #define _CLC2GLS1_LC2G2D3T 0x20
14408 #define _CLC2GLS1_D3T 0x20
14409 #define _CLC2GLS1_LC2G2D4N 0x40
14410 #define _CLC2GLS1_D4N 0x40
14411 #define _CLC2GLS1_LC2G2D4T 0x80
14412 #define _CLC2GLS1_D4T 0x80
14414 //==============================================================================
14417 //==============================================================================
14420 extern __at(0x0F22) __sfr CLC2GLS2
;
14426 unsigned LC2G3D1N
: 1;
14427 unsigned LC2G3D1T
: 1;
14428 unsigned LC2G3D2N
: 1;
14429 unsigned LC2G3D2T
: 1;
14430 unsigned LC2G3D3N
: 1;
14431 unsigned LC2G3D3T
: 1;
14432 unsigned LC2G3D4N
: 1;
14433 unsigned LC2G3D4T
: 1;
14447 } __CLC2GLS2bits_t
;
14449 extern __at(0x0F22) volatile __CLC2GLS2bits_t CLC2GLS2bits
;
14451 #define _CLC2GLS2_LC2G3D1N 0x01
14452 #define _CLC2GLS2_D1N 0x01
14453 #define _CLC2GLS2_LC2G3D1T 0x02
14454 #define _CLC2GLS2_D1T 0x02
14455 #define _CLC2GLS2_LC2G3D2N 0x04
14456 #define _CLC2GLS2_D2N 0x04
14457 #define _CLC2GLS2_LC2G3D2T 0x08
14458 #define _CLC2GLS2_D2T 0x08
14459 #define _CLC2GLS2_LC2G3D3N 0x10
14460 #define _CLC2GLS2_D3N 0x10
14461 #define _CLC2GLS2_LC2G3D3T 0x20
14462 #define _CLC2GLS2_D3T 0x20
14463 #define _CLC2GLS2_LC2G3D4N 0x40
14464 #define _CLC2GLS2_D4N 0x40
14465 #define _CLC2GLS2_LC2G3D4T 0x80
14466 #define _CLC2GLS2_D4T 0x80
14468 //==============================================================================
14471 //==============================================================================
14474 extern __at(0x0F23) __sfr CLC2GLS3
;
14480 unsigned LC2G4D1N
: 1;
14481 unsigned LC2G4D1T
: 1;
14482 unsigned LC2G4D2N
: 1;
14483 unsigned LC2G4D2T
: 1;
14484 unsigned LC2G4D3N
: 1;
14485 unsigned LC2G4D3T
: 1;
14486 unsigned LC2G4D4N
: 1;
14487 unsigned LC2G4D4T
: 1;
14492 unsigned G4D1N
: 1;
14493 unsigned G4D1T
: 1;
14494 unsigned G4D2N
: 1;
14495 unsigned G4D2T
: 1;
14496 unsigned G4D3N
: 1;
14497 unsigned G4D3T
: 1;
14498 unsigned G4D4N
: 1;
14499 unsigned G4D4T
: 1;
14501 } __CLC2GLS3bits_t
;
14503 extern __at(0x0F23) volatile __CLC2GLS3bits_t CLC2GLS3bits
;
14505 #define _CLC2GLS3_LC2G4D1N 0x01
14506 #define _CLC2GLS3_G4D1N 0x01
14507 #define _CLC2GLS3_LC2G4D1T 0x02
14508 #define _CLC2GLS3_G4D1T 0x02
14509 #define _CLC2GLS3_LC2G4D2N 0x04
14510 #define _CLC2GLS3_G4D2N 0x04
14511 #define _CLC2GLS3_LC2G4D2T 0x08
14512 #define _CLC2GLS3_G4D2T 0x08
14513 #define _CLC2GLS3_LC2G4D3N 0x10
14514 #define _CLC2GLS3_G4D3N 0x10
14515 #define _CLC2GLS3_LC2G4D3T 0x20
14516 #define _CLC2GLS3_G4D3T 0x20
14517 #define _CLC2GLS3_LC2G4D4N 0x40
14518 #define _CLC2GLS3_G4D4N 0x40
14519 #define _CLC2GLS3_LC2G4D4T 0x80
14520 #define _CLC2GLS3_G4D4T 0x80
14522 //==============================================================================
14525 //==============================================================================
14528 extern __at(0x0F24) __sfr CLC3CON
;
14534 unsigned LC3MODE0
: 1;
14535 unsigned LC3MODE1
: 1;
14536 unsigned LC3MODE2
: 1;
14537 unsigned LC3INTN
: 1;
14538 unsigned LC3INTP
: 1;
14539 unsigned LC3OUT
: 1;
14541 unsigned LC3EN
: 1;
14546 unsigned MODE0
: 1;
14547 unsigned MODE1
: 1;
14548 unsigned MODE2
: 1;
14558 unsigned LC3MODE
: 3;
14569 extern __at(0x0F24) volatile __CLC3CONbits_t CLC3CONbits
;
14571 #define _CLC3CON_LC3MODE0 0x01
14572 #define _CLC3CON_MODE0 0x01
14573 #define _CLC3CON_LC3MODE1 0x02
14574 #define _CLC3CON_MODE1 0x02
14575 #define _CLC3CON_LC3MODE2 0x04
14576 #define _CLC3CON_MODE2 0x04
14577 #define _CLC3CON_LC3INTN 0x08
14578 #define _CLC3CON_INTN 0x08
14579 #define _CLC3CON_LC3INTP 0x10
14580 #define _CLC3CON_INTP 0x10
14581 #define _CLC3CON_LC3OUT 0x20
14582 #define _CLC3CON_OUT 0x20
14583 #define _CLC3CON_LC3EN 0x80
14584 #define _CLC3CON_EN 0x80
14586 //==============================================================================
14589 //==============================================================================
14592 extern __at(0x0F25) __sfr CLC3POL
;
14598 unsigned LC3G1POL
: 1;
14599 unsigned LC3G2POL
: 1;
14600 unsigned LC3G3POL
: 1;
14601 unsigned LC3G4POL
: 1;
14605 unsigned LC3POL
: 1;
14610 unsigned G1POL
: 1;
14611 unsigned G2POL
: 1;
14612 unsigned G3POL
: 1;
14613 unsigned G4POL
: 1;
14621 extern __at(0x0F25) volatile __CLC3POLbits_t CLC3POLbits
;
14623 #define _CLC3POL_LC3G1POL 0x01
14624 #define _CLC3POL_G1POL 0x01
14625 #define _CLC3POL_LC3G2POL 0x02
14626 #define _CLC3POL_G2POL 0x02
14627 #define _CLC3POL_LC3G3POL 0x04
14628 #define _CLC3POL_G3POL 0x04
14629 #define _CLC3POL_LC3G4POL 0x08
14630 #define _CLC3POL_G4POL 0x08
14631 #define _CLC3POL_LC3POL 0x80
14632 #define _CLC3POL_POL 0x80
14634 //==============================================================================
14637 //==============================================================================
14640 extern __at(0x0F26) __sfr CLC3SEL0
;
14646 unsigned LC3D1S0
: 1;
14647 unsigned LC3D1S1
: 1;
14648 unsigned LC3D1S2
: 1;
14649 unsigned LC3D1S3
: 1;
14650 unsigned LC3D1S4
: 1;
14670 unsigned LC3D1S
: 5;
14679 } __CLC3SEL0bits_t
;
14681 extern __at(0x0F26) volatile __CLC3SEL0bits_t CLC3SEL0bits
;
14683 #define _CLC3SEL0_LC3D1S0 0x01
14684 #define _CLC3SEL0_D1S0 0x01
14685 #define _CLC3SEL0_LC3D1S1 0x02
14686 #define _CLC3SEL0_D1S1 0x02
14687 #define _CLC3SEL0_LC3D1S2 0x04
14688 #define _CLC3SEL0_D1S2 0x04
14689 #define _CLC3SEL0_LC3D1S3 0x08
14690 #define _CLC3SEL0_D1S3 0x08
14691 #define _CLC3SEL0_LC3D1S4 0x10
14692 #define _CLC3SEL0_D1S4 0x10
14694 //==============================================================================
14697 //==============================================================================
14700 extern __at(0x0F27) __sfr CLC3SEL1
;
14706 unsigned LC3D2S0
: 1;
14707 unsigned LC3D2S1
: 1;
14708 unsigned LC3D2S2
: 1;
14709 unsigned LC3D2S3
: 1;
14710 unsigned LC3D2S4
: 1;
14736 unsigned LC3D2S
: 5;
14739 } __CLC3SEL1bits_t
;
14741 extern __at(0x0F27) volatile __CLC3SEL1bits_t CLC3SEL1bits
;
14743 #define _CLC3SEL1_LC3D2S0 0x01
14744 #define _CLC3SEL1_D2S0 0x01
14745 #define _CLC3SEL1_LC3D2S1 0x02
14746 #define _CLC3SEL1_D2S1 0x02
14747 #define _CLC3SEL1_LC3D2S2 0x04
14748 #define _CLC3SEL1_D2S2 0x04
14749 #define _CLC3SEL1_LC3D2S3 0x08
14750 #define _CLC3SEL1_D2S3 0x08
14751 #define _CLC3SEL1_LC3D2S4 0x10
14752 #define _CLC3SEL1_D2S4 0x10
14754 //==============================================================================
14757 //==============================================================================
14760 extern __at(0x0F28) __sfr CLC3SEL2
;
14766 unsigned LC3D3S0
: 1;
14767 unsigned LC3D3S1
: 1;
14768 unsigned LC3D3S2
: 1;
14769 unsigned LC3D3S3
: 1;
14770 unsigned LC3D3S4
: 1;
14790 unsigned LC3D3S
: 5;
14799 } __CLC3SEL2bits_t
;
14801 extern __at(0x0F28) volatile __CLC3SEL2bits_t CLC3SEL2bits
;
14803 #define _CLC3SEL2_LC3D3S0 0x01
14804 #define _CLC3SEL2_D3S0 0x01
14805 #define _CLC3SEL2_LC3D3S1 0x02
14806 #define _CLC3SEL2_D3S1 0x02
14807 #define _CLC3SEL2_LC3D3S2 0x04
14808 #define _CLC3SEL2_D3S2 0x04
14809 #define _CLC3SEL2_LC3D3S3 0x08
14810 #define _CLC3SEL2_D3S3 0x08
14811 #define _CLC3SEL2_LC3D3S4 0x10
14812 #define _CLC3SEL2_D3S4 0x10
14814 //==============================================================================
14817 //==============================================================================
14820 extern __at(0x0F29) __sfr CLC3SEL3
;
14826 unsigned LC3D4S0
: 1;
14827 unsigned LC3D4S1
: 1;
14828 unsigned LC3D4S2
: 1;
14829 unsigned LC3D4S3
: 1;
14830 unsigned LC3D4S4
: 1;
14850 unsigned LC3D4S
: 5;
14859 } __CLC3SEL3bits_t
;
14861 extern __at(0x0F29) volatile __CLC3SEL3bits_t CLC3SEL3bits
;
14863 #define _CLC3SEL3_LC3D4S0 0x01
14864 #define _CLC3SEL3_D4S0 0x01
14865 #define _CLC3SEL3_LC3D4S1 0x02
14866 #define _CLC3SEL3_D4S1 0x02
14867 #define _CLC3SEL3_LC3D4S2 0x04
14868 #define _CLC3SEL3_D4S2 0x04
14869 #define _CLC3SEL3_LC3D4S3 0x08
14870 #define _CLC3SEL3_D4S3 0x08
14871 #define _CLC3SEL3_LC3D4S4 0x10
14872 #define _CLC3SEL3_D4S4 0x10
14874 //==============================================================================
14877 //==============================================================================
14880 extern __at(0x0F2A) __sfr CLC3GLS0
;
14886 unsigned LC3G1D1N
: 1;
14887 unsigned LC3G1D1T
: 1;
14888 unsigned LC3G1D2N
: 1;
14889 unsigned LC3G1D2T
: 1;
14890 unsigned LC3G1D3N
: 1;
14891 unsigned LC3G1D3T
: 1;
14892 unsigned LC3G1D4N
: 1;
14893 unsigned LC3G1D4T
: 1;
14907 } __CLC3GLS0bits_t
;
14909 extern __at(0x0F2A) volatile __CLC3GLS0bits_t CLC3GLS0bits
;
14911 #define _CLC3GLS0_LC3G1D1N 0x01
14912 #define _CLC3GLS0_D1N 0x01
14913 #define _CLC3GLS0_LC3G1D1T 0x02
14914 #define _CLC3GLS0_D1T 0x02
14915 #define _CLC3GLS0_LC3G1D2N 0x04
14916 #define _CLC3GLS0_D2N 0x04
14917 #define _CLC3GLS0_LC3G1D2T 0x08
14918 #define _CLC3GLS0_D2T 0x08
14919 #define _CLC3GLS0_LC3G1D3N 0x10
14920 #define _CLC3GLS0_D3N 0x10
14921 #define _CLC3GLS0_LC3G1D3T 0x20
14922 #define _CLC3GLS0_D3T 0x20
14923 #define _CLC3GLS0_LC3G1D4N 0x40
14924 #define _CLC3GLS0_D4N 0x40
14925 #define _CLC3GLS0_LC3G1D4T 0x80
14926 #define _CLC3GLS0_D4T 0x80
14928 //==============================================================================
14931 //==============================================================================
14934 extern __at(0x0F2B) __sfr CLC3GLS1
;
14940 unsigned LC3G2D1N
: 1;
14941 unsigned LC3G2D1T
: 1;
14942 unsigned LC3G2D2N
: 1;
14943 unsigned LC3G2D2T
: 1;
14944 unsigned LC3G2D3N
: 1;
14945 unsigned LC3G2D3T
: 1;
14946 unsigned LC3G2D4N
: 1;
14947 unsigned LC3G2D4T
: 1;
14961 } __CLC3GLS1bits_t
;
14963 extern __at(0x0F2B) volatile __CLC3GLS1bits_t CLC3GLS1bits
;
14965 #define _CLC3GLS1_LC3G2D1N 0x01
14966 #define _CLC3GLS1_D1N 0x01
14967 #define _CLC3GLS1_LC3G2D1T 0x02
14968 #define _CLC3GLS1_D1T 0x02
14969 #define _CLC3GLS1_LC3G2D2N 0x04
14970 #define _CLC3GLS1_D2N 0x04
14971 #define _CLC3GLS1_LC3G2D2T 0x08
14972 #define _CLC3GLS1_D2T 0x08
14973 #define _CLC3GLS1_LC3G2D3N 0x10
14974 #define _CLC3GLS1_D3N 0x10
14975 #define _CLC3GLS1_LC3G2D3T 0x20
14976 #define _CLC3GLS1_D3T 0x20
14977 #define _CLC3GLS1_LC3G2D4N 0x40
14978 #define _CLC3GLS1_D4N 0x40
14979 #define _CLC3GLS1_LC3G2D4T 0x80
14980 #define _CLC3GLS1_D4T 0x80
14982 //==============================================================================
14985 //==============================================================================
14988 extern __at(0x0F2C) __sfr CLC3GLS2
;
14994 unsigned LC3G3D1N
: 1;
14995 unsigned LC3G3D1T
: 1;
14996 unsigned LC3G3D2N
: 1;
14997 unsigned LC3G3D2T
: 1;
14998 unsigned LC3G3D3N
: 1;
14999 unsigned LC3G3D3T
: 1;
15000 unsigned LC3G3D4N
: 1;
15001 unsigned LC3G3D4T
: 1;
15015 } __CLC3GLS2bits_t
;
15017 extern __at(0x0F2C) volatile __CLC3GLS2bits_t CLC3GLS2bits
;
15019 #define _CLC3GLS2_LC3G3D1N 0x01
15020 #define _CLC3GLS2_D1N 0x01
15021 #define _CLC3GLS2_LC3G3D1T 0x02
15022 #define _CLC3GLS2_D1T 0x02
15023 #define _CLC3GLS2_LC3G3D2N 0x04
15024 #define _CLC3GLS2_D2N 0x04
15025 #define _CLC3GLS2_LC3G3D2T 0x08
15026 #define _CLC3GLS2_D2T 0x08
15027 #define _CLC3GLS2_LC3G3D3N 0x10
15028 #define _CLC3GLS2_D3N 0x10
15029 #define _CLC3GLS2_LC3G3D3T 0x20
15030 #define _CLC3GLS2_D3T 0x20
15031 #define _CLC3GLS2_LC3G3D4N 0x40
15032 #define _CLC3GLS2_D4N 0x40
15033 #define _CLC3GLS2_LC3G3D4T 0x80
15034 #define _CLC3GLS2_D4T 0x80
15036 //==============================================================================
15039 //==============================================================================
15042 extern __at(0x0F2D) __sfr CLC3GLS3
;
15048 unsigned LC3G4D1N
: 1;
15049 unsigned LC3G4D1T
: 1;
15050 unsigned LC3G4D2N
: 1;
15051 unsigned LC3G4D2T
: 1;
15052 unsigned LC3G4D3N
: 1;
15053 unsigned LC3G4D3T
: 1;
15054 unsigned LC3G4D4N
: 1;
15055 unsigned LC3G4D4T
: 1;
15060 unsigned G4D1N
: 1;
15061 unsigned G4D1T
: 1;
15062 unsigned G4D2N
: 1;
15063 unsigned G4D2T
: 1;
15064 unsigned G4D3N
: 1;
15065 unsigned G4D3T
: 1;
15066 unsigned G4D4N
: 1;
15067 unsigned G4D4T
: 1;
15069 } __CLC3GLS3bits_t
;
15071 extern __at(0x0F2D) volatile __CLC3GLS3bits_t CLC3GLS3bits
;
15073 #define _CLC3GLS3_LC3G4D1N 0x01
15074 #define _CLC3GLS3_G4D1N 0x01
15075 #define _CLC3GLS3_LC3G4D1T 0x02
15076 #define _CLC3GLS3_G4D1T 0x02
15077 #define _CLC3GLS3_LC3G4D2N 0x04
15078 #define _CLC3GLS3_G4D2N 0x04
15079 #define _CLC3GLS3_LC3G4D2T 0x08
15080 #define _CLC3GLS3_G4D2T 0x08
15081 #define _CLC3GLS3_LC3G4D3N 0x10
15082 #define _CLC3GLS3_G4D3N 0x10
15083 #define _CLC3GLS3_LC3G4D3T 0x20
15084 #define _CLC3GLS3_G4D3T 0x20
15085 #define _CLC3GLS3_LC3G4D4N 0x40
15086 #define _CLC3GLS3_G4D4N 0x40
15087 #define _CLC3GLS3_LC3G4D4T 0x80
15088 #define _CLC3GLS3_G4D4T 0x80
15090 //==============================================================================
15093 //==============================================================================
15094 // STATUS_SHAD Bits
15096 extern __at(0x0FE4) __sfr STATUS_SHAD
;
15100 unsigned C_SHAD
: 1;
15101 unsigned DC_SHAD
: 1;
15102 unsigned Z_SHAD
: 1;
15108 } __STATUS_SHADbits_t
;
15110 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits
;
15112 #define _C_SHAD 0x01
15113 #define _DC_SHAD 0x02
15114 #define _Z_SHAD 0x04
15116 //==============================================================================
15118 extern __at(0x0FE5) __sfr WREG_SHAD
;
15119 extern __at(0x0FE6) __sfr BSR_SHAD
;
15120 extern __at(0x0FE7) __sfr PCLATH_SHAD
;
15121 extern __at(0x0FE8) __sfr FSR0L_SHAD
;
15122 extern __at(0x0FE9) __sfr FSR0H_SHAD
;
15123 extern __at(0x0FEA) __sfr FSR1L_SHAD
;
15124 extern __at(0x0FEB) __sfr FSR1H_SHAD
;
15125 extern __at(0x0FED) __sfr STKPTR
;
15126 extern __at(0x0FEE) __sfr TOSL
;
15127 extern __at(0x0FEF) __sfr TOSH
;
15129 //==============================================================================
15131 // Configuration Bits
15133 //==============================================================================
15135 #define _CONFIG1 0x8007
15136 #define _CONFIG2 0x8008
15138 //----------------------------- CONFIG1 Options -------------------------------
15140 #define _FOSC_LP 0x3FF8 // LP Oscillator, Low-power crystal connected between OSC1 and OSC2 pins.
15141 #define _FOSC_XT 0x3FF9 // XT Oscillator, Crystal/resonator connected between OSC1 and OSC2 pins.
15142 #define _FOSC_HS 0x3FFA // HS Oscillator, High-speed crystal/resonator connected between OSC1 and OSC2 pins.
15143 #define _FOSC_EXTRC 0x3FFB // EXTRC oscillator: External RC circuit connected to CLKIN pin.
15144 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator: I/O function on CLKIN pin.
15145 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins.
15146 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins.
15147 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins.
15148 #define _WDTE_OFF 0x3FE7 // WDT disabled.
15149 #define _WDTE_SWDTEN 0x3FEF // WDT controlled by the SWDTEN bit in the WDTCON register.
15150 #define _WDTE_NSLEEP 0x3FF7 // WDT enabled while running and disabled in Sleep.
15151 #define _WDTE_ON 0x3FFF // WDT enabled.
15152 #define _PWRTE_ON 0x3FDF // PWRT enabled.
15153 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
15154 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
15155 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
15156 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
15157 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
15158 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
15159 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
15160 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
15161 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
15162 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
15163 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
15164 #define _IESO_OFF 0x2FFF // Internal/External Switchover Mode is disabled.
15165 #define _IESO_ON 0x3FFF // Internal/External Switchover Mode is enabled.
15166 #define _FCMEN_OFF 0x1FFF // Fail-Safe Clock Monitor is disabled.
15167 #define _FCMEN_ON 0x3FFF // Fail-Safe Clock Monitor is enabled.
15169 //----------------------------- CONFIG2 Options -------------------------------
15171 #define _WRT_ALL 0x3FFC // 000h to 1FFFh write protected, no addresses may be modified by EECON control.
15172 #define _WRT_HALF 0x3FFD // 000h to FFFh write protected, 1000h to 1FFFh may be modified by EECON control.
15173 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to 1FFFh may be modified by EECON control.
15174 #define _WRT_OFF 0x3FFF // Write protection off.
15175 #define _PPS1WAY_OFF 0x3FFB // The PPSLOCK bit can be set and cleared repeatedly by software.
15176 #define _PPS1WAY_ON 0x3FFF // The PPSLOCK bit cannot be cleared once it is set by software.
15177 #define _ZCD_ON 0x3F7F // Zero-cross detect circuit is enabled at POR.
15178 #define _ZCD_OFF 0x3FFF // Zero-cross detect circuit is disabled at POR.
15179 #define _PLLEN_OFF 0x3EFF // 4x PLL is enabled when software sets the SPLLEN bit.
15180 #define _PLLEN_ON 0x3FFF // 4x PLL is always enabled.
15181 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
15182 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
15183 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
15184 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
15185 #define _LPBOR_ON 0x37FF // Low-Power BOR is enabled.
15186 #define _LPBOR_OFF 0x3FFF // Low-Power BOR is disabled.
15187 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
15188 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
15189 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
15190 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
15192 //==============================================================================
15194 #define _DEVID1 0x8006
15196 #define _IDLOC0 0x8000
15197 #define _IDLOC1 0x8001
15198 #define _IDLOC2 0x8002
15199 #define _IDLOC3 0x8003
15201 //==============================================================================
15203 #ifndef NO_BIT_DEFINES
15205 #define ADON ADCON0bits.ADON // bit 0
15206 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
15207 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
15208 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
15209 #define CHS0 ADCON0bits.CHS0 // bit 2
15210 #define CHS1 ADCON0bits.CHS1 // bit 3
15211 #define CHS2 ADCON0bits.CHS2 // bit 4
15212 #define CHS3 ADCON0bits.CHS3 // bit 5
15213 #define CHS4 ADCON0bits.CHS4 // bit 6
15215 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
15216 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
15217 #define ADNREF ADCON1bits.ADNREF // bit 2
15218 #define ADFM ADCON1bits.ADFM // bit 7
15220 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 3
15221 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 4
15222 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 5
15223 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 6
15224 #define TRIGSEL4 ADCON2bits.TRIGSEL4 // bit 7
15226 #define ANSA0 ANSELAbits.ANSA0 // bit 0
15227 #define ANSA1 ANSELAbits.ANSA1 // bit 1
15228 #define ANSA2 ANSELAbits.ANSA2 // bit 2
15229 #define ANSA4 ANSELAbits.ANSA4 // bit 4
15231 #define ANSB4 ANSELBbits.ANSB4 // bit 4
15232 #define ANSB5 ANSELBbits.ANSB5 // bit 5
15233 #define ANSB6 ANSELBbits.ANSB6 // bit 6
15234 #define ANSB7 ANSELBbits.ANSB7 // bit 7
15236 #define ANSC0 ANSELCbits.ANSC0 // bit 0
15237 #define ANSC1 ANSELCbits.ANSC1 // bit 1
15238 #define ANSC2 ANSELCbits.ANSC2 // bit 2
15239 #define ANSC3 ANSELCbits.ANSC3 // bit 3
15240 #define ANSC6 ANSELCbits.ANSC6 // bit 6
15241 #define ANSC7 ANSELCbits.ANSC7 // bit 7
15243 #define ABDEN BAUD1CONbits.ABDEN // bit 0
15244 #define WUE BAUD1CONbits.WUE // bit 1
15245 #define BRG16 BAUD1CONbits.BRG16 // bit 3
15246 #define SCKP BAUD1CONbits.SCKP // bit 4
15247 #define RCIDL BAUD1CONbits.RCIDL // bit 6
15248 #define ABDOVF BAUD1CONbits.ABDOVF // bit 7
15250 #define BORRDY BORCONbits.BORRDY // bit 0
15251 #define BORFS BORCONbits.BORFS // bit 6
15252 #define SBOREN BORCONbits.SBOREN // bit 7
15254 #define BSR0 BSRbits.BSR0 // bit 0
15255 #define BSR1 BSRbits.BSR1 // bit 1
15256 #define BSR2 BSRbits.BSR2 // bit 2
15257 #define BSR3 BSRbits.BSR3 // bit 3
15258 #define BSR4 BSRbits.BSR4 // bit 4
15260 #define CTS0 CCP1CAPbits.CTS0 // bit 0, shadows bit in CCP1CAPbits
15261 #define CCP1CTS0 CCP1CAPbits.CCP1CTS0 // bit 0, shadows bit in CCP1CAPbits
15262 #define CTS1 CCP1CAPbits.CTS1 // bit 1, shadows bit in CCP1CAPbits
15263 #define CCP1CTS1 CCP1CAPbits.CCP1CTS1 // bit 1, shadows bit in CCP1CAPbits
15264 #define CTS2 CCP1CAPbits.CTS2 // bit 2, shadows bit in CCP1CAPbits
15265 #define CCP1CTS2 CCP1CAPbits.CCP1CTS2 // bit 2, shadows bit in CCP1CAPbits
15267 #define MODE0 CCP1CONbits.MODE0 // bit 0, shadows bit in CCP1CONbits
15268 #define CCP1MODE0 CCP1CONbits.CCP1MODE0 // bit 0, shadows bit in CCP1CONbits
15269 #define MODE1 CCP1CONbits.MODE1 // bit 1, shadows bit in CCP1CONbits
15270 #define CCP1MODE1 CCP1CONbits.CCP1MODE1 // bit 1, shadows bit in CCP1CONbits
15271 #define MODE2 CCP1CONbits.MODE2 // bit 2, shadows bit in CCP1CONbits
15272 #define CCP1MODE2 CCP1CONbits.CCP1MODE2 // bit 2, shadows bit in CCP1CONbits
15273 #define MODE3 CCP1CONbits.MODE3 // bit 3, shadows bit in CCP1CONbits
15274 #define CCP1MODE3 CCP1CONbits.CCP1MODE3 // bit 3, shadows bit in CCP1CONbits
15275 #define FMT CCP1CONbits.FMT // bit 4, shadows bit in CCP1CONbits
15276 #define CCP1FMT CCP1CONbits.CCP1FMT // bit 4, shadows bit in CCP1CONbits
15277 #define OUT CCP1CONbits.OUT // bit 5, shadows bit in CCP1CONbits
15278 #define CCP1OUT CCP1CONbits.CCP1OUT // bit 5, shadows bit in CCP1CONbits
15279 #define EN CCP1CONbits.EN // bit 7, shadows bit in CCP1CONbits
15280 #define CCP1EN CCP1CONbits.CCP1EN // bit 7, shadows bit in CCP1CONbits
15282 #define C1TSEL0 CCPTMRSbits.C1TSEL0 // bit 0
15283 #define C1TSEL1 CCPTMRSbits.C1TSEL1 // bit 1
15284 #define C2TSEL0 CCPTMRSbits.C2TSEL0 // bit 2
15285 #define C2TSEL1 CCPTMRSbits.C2TSEL1 // bit 3
15286 #define P3TSEL0 CCPTMRSbits.P3TSEL0 // bit 4
15287 #define P3TSEL1 CCPTMRSbits.P3TSEL1 // bit 5
15288 #define P4TSEL0 CCPTMRSbits.P4TSEL0 // bit 6
15289 #define P4TSEL1 CCPTMRSbits.P4TSEL1 // bit 7
15291 #define LC1G1D1N CLC1GLS0bits.LC1G1D1N // bit 0, shadows bit in CLC1GLS0bits
15292 #define D1N CLC1GLS0bits.D1N // bit 0, shadows bit in CLC1GLS0bits
15293 #define LC1G1D1T CLC1GLS0bits.LC1G1D1T // bit 1, shadows bit in CLC1GLS0bits
15294 #define D1T CLC1GLS0bits.D1T // bit 1, shadows bit in CLC1GLS0bits
15295 #define LC1G1D2N CLC1GLS0bits.LC1G1D2N // bit 2, shadows bit in CLC1GLS0bits
15296 #define D2N CLC1GLS0bits.D2N // bit 2, shadows bit in CLC1GLS0bits
15297 #define LC1G1D2T CLC1GLS0bits.LC1G1D2T // bit 3, shadows bit in CLC1GLS0bits
15298 #define D2T CLC1GLS0bits.D2T // bit 3, shadows bit in CLC1GLS0bits
15299 #define LC1G1D3N CLC1GLS0bits.LC1G1D3N // bit 4, shadows bit in CLC1GLS0bits
15300 #define D3N CLC1GLS0bits.D3N // bit 4, shadows bit in CLC1GLS0bits
15301 #define LC1G1D3T CLC1GLS0bits.LC1G1D3T // bit 5, shadows bit in CLC1GLS0bits
15302 #define D3T CLC1GLS0bits.D3T // bit 5, shadows bit in CLC1GLS0bits
15303 #define LC1G1D4N CLC1GLS0bits.LC1G1D4N // bit 6, shadows bit in CLC1GLS0bits
15304 #define D4N CLC1GLS0bits.D4N // bit 6, shadows bit in CLC1GLS0bits
15305 #define LC1G1D4T CLC1GLS0bits.LC1G1D4T // bit 7, shadows bit in CLC1GLS0bits
15306 #define D4T CLC1GLS0bits.D4T // bit 7, shadows bit in CLC1GLS0bits
15308 #define LC1G4D1N CLC1GLS3bits.LC1G4D1N // bit 0, shadows bit in CLC1GLS3bits
15309 #define G4D1N CLC1GLS3bits.G4D1N // bit 0, shadows bit in CLC1GLS3bits
15310 #define LC1G4D1T CLC1GLS3bits.LC1G4D1T // bit 1, shadows bit in CLC1GLS3bits
15311 #define G4D1T CLC1GLS3bits.G4D1T // bit 1, shadows bit in CLC1GLS3bits
15312 #define LC1G4D2N CLC1GLS3bits.LC1G4D2N // bit 2, shadows bit in CLC1GLS3bits
15313 #define G4D2N CLC1GLS3bits.G4D2N // bit 2, shadows bit in CLC1GLS3bits
15314 #define LC1G4D2T CLC1GLS3bits.LC1G4D2T // bit 3, shadows bit in CLC1GLS3bits
15315 #define G4D2T CLC1GLS3bits.G4D2T // bit 3, shadows bit in CLC1GLS3bits
15316 #define LC1G4D3N CLC1GLS3bits.LC1G4D3N // bit 4, shadows bit in CLC1GLS3bits
15317 #define G4D3N CLC1GLS3bits.G4D3N // bit 4, shadows bit in CLC1GLS3bits
15318 #define LC1G4D3T CLC1GLS3bits.LC1G4D3T // bit 5, shadows bit in CLC1GLS3bits
15319 #define G4D3T CLC1GLS3bits.G4D3T // bit 5, shadows bit in CLC1GLS3bits
15320 #define LC1G4D4N CLC1GLS3bits.LC1G4D4N // bit 6, shadows bit in CLC1GLS3bits
15321 #define G4D4N CLC1GLS3bits.G4D4N // bit 6, shadows bit in CLC1GLS3bits
15322 #define LC1G4D4T CLC1GLS3bits.LC1G4D4T // bit 7, shadows bit in CLC1GLS3bits
15323 #define G4D4T CLC1GLS3bits.G4D4T // bit 7, shadows bit in CLC1GLS3bits
15325 #define LC1G1POL CLC1POLbits.LC1G1POL // bit 0, shadows bit in CLC1POLbits
15326 #define G1POL CLC1POLbits.G1POL // bit 0, shadows bit in CLC1POLbits
15327 #define LC1G2POL CLC1POLbits.LC1G2POL // bit 1, shadows bit in CLC1POLbits
15328 #define G2POL CLC1POLbits.G2POL // bit 1, shadows bit in CLC1POLbits
15329 #define LC1G3POL CLC1POLbits.LC1G3POL // bit 2, shadows bit in CLC1POLbits
15330 #define G3POL CLC1POLbits.G3POL // bit 2, shadows bit in CLC1POLbits
15331 #define LC1G4POL CLC1POLbits.LC1G4POL // bit 3, shadows bit in CLC1POLbits
15332 #define G4POL CLC1POLbits.G4POL // bit 3, shadows bit in CLC1POLbits
15333 #define LC1POL CLC1POLbits.LC1POL // bit 7, shadows bit in CLC1POLbits
15334 #define POL CLC1POLbits.POL // bit 7, shadows bit in CLC1POLbits
15336 #define LC1D1S0 CLC1SEL0bits.LC1D1S0 // bit 0, shadows bit in CLC1SEL0bits
15337 #define D1S0 CLC1SEL0bits.D1S0 // bit 0, shadows bit in CLC1SEL0bits
15338 #define LC1D1S1 CLC1SEL0bits.LC1D1S1 // bit 1, shadows bit in CLC1SEL0bits
15339 #define D1S1 CLC1SEL0bits.D1S1 // bit 1, shadows bit in CLC1SEL0bits
15340 #define LC1D1S2 CLC1SEL0bits.LC1D1S2 // bit 2, shadows bit in CLC1SEL0bits
15341 #define D1S2 CLC1SEL0bits.D1S2 // bit 2, shadows bit in CLC1SEL0bits
15342 #define LC1D1S3 CLC1SEL0bits.LC1D1S3 // bit 3, shadows bit in CLC1SEL0bits
15343 #define D1S3 CLC1SEL0bits.D1S3 // bit 3, shadows bit in CLC1SEL0bits
15344 #define LC1D1S4 CLC1SEL0bits.LC1D1S4 // bit 4, shadows bit in CLC1SEL0bits
15345 #define D1S4 CLC1SEL0bits.D1S4 // bit 4, shadows bit in CLC1SEL0bits
15347 #define LC1D2S0 CLC1SEL1bits.LC1D2S0 // bit 0, shadows bit in CLC1SEL1bits
15348 #define D2S0 CLC1SEL1bits.D2S0 // bit 0, shadows bit in CLC1SEL1bits
15349 #define LC1D2S1 CLC1SEL1bits.LC1D2S1 // bit 1, shadows bit in CLC1SEL1bits
15350 #define D2S1 CLC1SEL1bits.D2S1 // bit 1, shadows bit in CLC1SEL1bits
15351 #define LC1D2S2 CLC1SEL1bits.LC1D2S2 // bit 2, shadows bit in CLC1SEL1bits
15352 #define D2S2 CLC1SEL1bits.D2S2 // bit 2, shadows bit in CLC1SEL1bits
15353 #define LC1D2S3 CLC1SEL1bits.LC1D2S3 // bit 3, shadows bit in CLC1SEL1bits
15354 #define D2S3 CLC1SEL1bits.D2S3 // bit 3, shadows bit in CLC1SEL1bits
15355 #define LC1D2S4 CLC1SEL1bits.LC1D2S4 // bit 4, shadows bit in CLC1SEL1bits
15356 #define D2S4 CLC1SEL1bits.D2S4 // bit 4, shadows bit in CLC1SEL1bits
15358 #define LC1D3S0 CLC1SEL2bits.LC1D3S0 // bit 0, shadows bit in CLC1SEL2bits
15359 #define D3S0 CLC1SEL2bits.D3S0 // bit 0, shadows bit in CLC1SEL2bits
15360 #define LC1D3S1 CLC1SEL2bits.LC1D3S1 // bit 1, shadows bit in CLC1SEL2bits
15361 #define D3S1 CLC1SEL2bits.D3S1 // bit 1, shadows bit in CLC1SEL2bits
15362 #define LC1D3S2 CLC1SEL2bits.LC1D3S2 // bit 2, shadows bit in CLC1SEL2bits
15363 #define D3S2 CLC1SEL2bits.D3S2 // bit 2, shadows bit in CLC1SEL2bits
15364 #define LC1D3S3 CLC1SEL2bits.LC1D3S3 // bit 3, shadows bit in CLC1SEL2bits
15365 #define D3S3 CLC1SEL2bits.D3S3 // bit 3, shadows bit in CLC1SEL2bits
15366 #define LC1D3S4 CLC1SEL2bits.LC1D3S4 // bit 4, shadows bit in CLC1SEL2bits
15367 #define D3S4 CLC1SEL2bits.D3S4 // bit 4, shadows bit in CLC1SEL2bits
15369 #define LC1D4S0 CLC1SEL3bits.LC1D4S0 // bit 0, shadows bit in CLC1SEL3bits
15370 #define D4S0 CLC1SEL3bits.D4S0 // bit 0, shadows bit in CLC1SEL3bits
15371 #define LC1D4S1 CLC1SEL3bits.LC1D4S1 // bit 1, shadows bit in CLC1SEL3bits
15372 #define D4S1 CLC1SEL3bits.D4S1 // bit 1, shadows bit in CLC1SEL3bits
15373 #define LC1D4S2 CLC1SEL3bits.LC1D4S2 // bit 2, shadows bit in CLC1SEL3bits
15374 #define D4S2 CLC1SEL3bits.D4S2 // bit 2, shadows bit in CLC1SEL3bits
15375 #define LC1D4S3 CLC1SEL3bits.LC1D4S3 // bit 3, shadows bit in CLC1SEL3bits
15376 #define D4S3 CLC1SEL3bits.D4S3 // bit 3, shadows bit in CLC1SEL3bits
15377 #define LC1D4S4 CLC1SEL3bits.LC1D4S4 // bit 4, shadows bit in CLC1SEL3bits
15378 #define D4S4 CLC1SEL3bits.D4S4 // bit 4, shadows bit in CLC1SEL3bits
15380 #define MCLC1OUT CLCDATAbits.MCLC1OUT // bit 0
15381 #define MCLC2OUT CLCDATAbits.MCLC2OUT // bit 1
15382 #define MCLC3OUT CLCDATAbits.MCLC3OUT // bit 2
15384 #define NCH0 CM1NSELbits.NCH0 // bit 0, shadows bit in CM1NSELbits
15385 #define C1NCH0 CM1NSELbits.C1NCH0 // bit 0, shadows bit in CM1NSELbits
15386 #define NCH1 CM1NSELbits.NCH1 // bit 1, shadows bit in CM1NSELbits
15387 #define C1NCH1 CM1NSELbits.C1NCH1 // bit 1, shadows bit in CM1NSELbits
15388 #define NCH2 CM1NSELbits.NCH2 // bit 2, shadows bit in CM1NSELbits
15389 #define C1NCH2 CM1NSELbits.C1NCH2 // bit 2, shadows bit in CM1NSELbits
15391 #define PCH0 CM1PSELbits.PCH0 // bit 0, shadows bit in CM1PSELbits
15392 #define C1PCH0 CM1PSELbits.C1PCH0 // bit 0, shadows bit in CM1PSELbits
15393 #define PCH1 CM1PSELbits.PCH1 // bit 1, shadows bit in CM1PSELbits
15394 #define C1PCH1 CM1PSELbits.C1PCH1 // bit 1, shadows bit in CM1PSELbits
15395 #define PCH2 CM1PSELbits.PCH2 // bit 2, shadows bit in CM1PSELbits
15396 #define C1PCH2 CM1PSELbits.C1PCH2 // bit 2, shadows bit in CM1PSELbits
15397 #define PCH3 CM1PSELbits.PCH3 // bit 3, shadows bit in CM1PSELbits
15398 #define C1PCH3 CM1PSELbits.C1PCH3 // bit 3, shadows bit in CM1PSELbits
15400 #define MC1OUT CMOUTbits.MC1OUT // bit 0
15401 #define MC2OUT CMOUTbits.MC2OUT // bit 1
15402 #define MC3OUT CMOUTbits.MC3OUT // bit 2
15403 #define MC4OUT CMOUTbits.MC4OUT // bit 3
15405 #define ASDAC0 COG1ASD0bits.ASDAC0 // bit 2, shadows bit in COG1ASD0bits
15406 #define G1ASDAC0 COG1ASD0bits.G1ASDAC0 // bit 2, shadows bit in COG1ASD0bits
15407 #define ASDAC1 COG1ASD0bits.ASDAC1 // bit 3, shadows bit in COG1ASD0bits
15408 #define G1ASDAC1 COG1ASD0bits.G1ASDAC1 // bit 3, shadows bit in COG1ASD0bits
15409 #define ASDBD0 COG1ASD0bits.ASDBD0 // bit 4, shadows bit in COG1ASD0bits
15410 #define G1ASDBD0 COG1ASD0bits.G1ASDBD0 // bit 4, shadows bit in COG1ASD0bits
15411 #define ASDBD1 COG1ASD0bits.ASDBD1 // bit 5, shadows bit in COG1ASD0bits
15412 #define G1ASDBD1 COG1ASD0bits.G1ASDBD1 // bit 5, shadows bit in COG1ASD0bits
15413 #define ASREN COG1ASD0bits.ASREN // bit 6, shadows bit in COG1ASD0bits
15414 #define ARSEN COG1ASD0bits.ARSEN // bit 6, shadows bit in COG1ASD0bits
15415 #define G1ARSEN COG1ASD0bits.G1ARSEN // bit 6, shadows bit in COG1ASD0bits
15416 #define G1ASREN COG1ASD0bits.G1ASREN // bit 6, shadows bit in COG1ASD0bits
15417 #define ASE COG1ASD0bits.ASE // bit 7, shadows bit in COG1ASD0bits
15418 #define G1ASE COG1ASD0bits.G1ASE // bit 7, shadows bit in COG1ASD0bits
15420 #define AS0E COG1ASD1bits.AS0E // bit 0, shadows bit in COG1ASD1bits
15421 #define G1AS0E COG1ASD1bits.G1AS0E // bit 0, shadows bit in COG1ASD1bits
15422 #define AS1E COG1ASD1bits.AS1E // bit 1, shadows bit in COG1ASD1bits
15423 #define G1AS1E COG1ASD1bits.G1AS1E // bit 1, shadows bit in COG1ASD1bits
15424 #define AS2E COG1ASD1bits.AS2E // bit 2, shadows bit in COG1ASD1bits
15425 #define G1AS2E COG1ASD1bits.G1AS2E // bit 2, shadows bit in COG1ASD1bits
15426 #define AS3E COG1ASD1bits.AS3E // bit 3, shadows bit in COG1ASD1bits
15427 #define G1AS3E COG1ASD1bits.G1AS3E // bit 3, shadows bit in COG1ASD1bits
15428 #define AS4E COG1ASD1bits.AS4E // bit 4, shadows bit in COG1ASD1bits
15429 #define G1AS4E COG1ASD1bits.G1AS4E // bit 4, shadows bit in COG1ASD1bits
15430 #define AS5E COG1ASD1bits.AS5E // bit 5, shadows bit in COG1ASD1bits
15431 #define G1AS5E COG1ASD1bits.G1AS5E // bit 5, shadows bit in COG1ASD1bits
15432 #define AS6E COG1ASD1bits.AS6E // bit 6, shadows bit in COG1ASD1bits
15433 #define G1AS6E COG1ASD1bits.G1AS6E // bit 6, shadows bit in COG1ASD1bits
15434 #define AS7E COG1ASD1bits.AS7E // bit 7, shadows bit in COG1ASD1bits
15435 #define G1AS7E COG1ASD1bits.G1AS7E // bit 7, shadows bit in COG1ASD1bits
15437 #define BLKF0 COG1BLKFbits.BLKF0 // bit 0, shadows bit in COG1BLKFbits
15438 #define G1BLKF0 COG1BLKFbits.G1BLKF0 // bit 0, shadows bit in COG1BLKFbits
15439 #define BLKF1 COG1BLKFbits.BLKF1 // bit 1, shadows bit in COG1BLKFbits
15440 #define G1BLKF1 COG1BLKFbits.G1BLKF1 // bit 1, shadows bit in COG1BLKFbits
15441 #define BLKF2 COG1BLKFbits.BLKF2 // bit 2, shadows bit in COG1BLKFbits
15442 #define G1BLKF2 COG1BLKFbits.G1BLKF2 // bit 2, shadows bit in COG1BLKFbits
15443 #define BLKF3 COG1BLKFbits.BLKF3 // bit 3, shadows bit in COG1BLKFbits
15444 #define G1BLKF3 COG1BLKFbits.G1BLKF3 // bit 3, shadows bit in COG1BLKFbits
15445 #define BLKF4 COG1BLKFbits.BLKF4 // bit 4, shadows bit in COG1BLKFbits
15446 #define G1BLKF4 COG1BLKFbits.G1BLKF4 // bit 4, shadows bit in COG1BLKFbits
15447 #define BLKF5 COG1BLKFbits.BLKF5 // bit 5, shadows bit in COG1BLKFbits
15448 #define G1BLKF5 COG1BLKFbits.G1BLKF5 // bit 5, shadows bit in COG1BLKFbits
15450 #define BLKR0 COG1BLKRbits.BLKR0 // bit 0, shadows bit in COG1BLKRbits
15451 #define G1BLKR0 COG1BLKRbits.G1BLKR0 // bit 0, shadows bit in COG1BLKRbits
15452 #define BLKR1 COG1BLKRbits.BLKR1 // bit 1, shadows bit in COG1BLKRbits
15453 #define G1BLKR1 COG1BLKRbits.G1BLKR1 // bit 1, shadows bit in COG1BLKRbits
15454 #define BLKR2 COG1BLKRbits.BLKR2 // bit 2, shadows bit in COG1BLKRbits
15455 #define G1BLKR2 COG1BLKRbits.G1BLKR2 // bit 2, shadows bit in COG1BLKRbits
15456 #define BLKR3 COG1BLKRbits.BLKR3 // bit 3, shadows bit in COG1BLKRbits
15457 #define G1BLKR3 COG1BLKRbits.G1BLKR3 // bit 3, shadows bit in COG1BLKRbits
15458 #define BLKR4 COG1BLKRbits.BLKR4 // bit 4, shadows bit in COG1BLKRbits
15459 #define G1BLKR4 COG1BLKRbits.G1BLKR4 // bit 4, shadows bit in COG1BLKRbits
15460 #define BLKR5 COG1BLKRbits.BLKR5 // bit 5, shadows bit in COG1BLKRbits
15461 #define G1BLKR5 COG1BLKRbits.G1BLKR5 // bit 5, shadows bit in COG1BLKRbits
15463 #define POLA COG1CON1bits.POLA // bit 0, shadows bit in COG1CON1bits
15464 #define G1POLA COG1CON1bits.G1POLA // bit 0, shadows bit in COG1CON1bits
15465 #define POLB COG1CON1bits.POLB // bit 1, shadows bit in COG1CON1bits
15466 #define G1POLB COG1CON1bits.G1POLB // bit 1, shadows bit in COG1CON1bits
15467 #define POLC COG1CON1bits.POLC // bit 2, shadows bit in COG1CON1bits
15468 #define G1POLC COG1CON1bits.G1POLC // bit 2, shadows bit in COG1CON1bits
15469 #define POLD COG1CON1bits.POLD // bit 3, shadows bit in COG1CON1bits
15470 #define G1POLD COG1CON1bits.G1POLD // bit 3, shadows bit in COG1CON1bits
15471 #define FDBS COG1CON1bits.FDBS // bit 6, shadows bit in COG1CON1bits
15472 #define G1FDBS COG1CON1bits.G1FDBS // bit 6, shadows bit in COG1CON1bits
15473 #define RDBS COG1CON1bits.RDBS // bit 7, shadows bit in COG1CON1bits
15474 #define G1RDBS COG1CON1bits.G1RDBS // bit 7, shadows bit in COG1CON1bits
15476 #define DBF0 COG1DBFbits.DBF0 // bit 0, shadows bit in COG1DBFbits
15477 #define G1DBF0 COG1DBFbits.G1DBF0 // bit 0, shadows bit in COG1DBFbits
15478 #define DBF1 COG1DBFbits.DBF1 // bit 1, shadows bit in COG1DBFbits
15479 #define G1DBF1 COG1DBFbits.G1DBF1 // bit 1, shadows bit in COG1DBFbits
15480 #define DBF2 COG1DBFbits.DBF2 // bit 2, shadows bit in COG1DBFbits
15481 #define G1DBF2 COG1DBFbits.G1DBF2 // bit 2, shadows bit in COG1DBFbits
15482 #define DBF3 COG1DBFbits.DBF3 // bit 3, shadows bit in COG1DBFbits
15483 #define G1DBF3 COG1DBFbits.G1DBF3 // bit 3, shadows bit in COG1DBFbits
15484 #define DBF4 COG1DBFbits.DBF4 // bit 4, shadows bit in COG1DBFbits
15485 #define G1DBF4 COG1DBFbits.G1DBF4 // bit 4, shadows bit in COG1DBFbits
15486 #define DBF5 COG1DBFbits.DBF5 // bit 5, shadows bit in COG1DBFbits
15487 #define G1DBF5 COG1DBFbits.G1DBF5 // bit 5, shadows bit in COG1DBFbits
15489 #define DBR0 COG1DBRbits.DBR0 // bit 0, shadows bit in COG1DBRbits
15490 #define G1DBR0 COG1DBRbits.G1DBR0 // bit 0, shadows bit in COG1DBRbits
15491 #define DBR1 COG1DBRbits.DBR1 // bit 1, shadows bit in COG1DBRbits
15492 #define G1DBR1 COG1DBRbits.G1DBR1 // bit 1, shadows bit in COG1DBRbits
15493 #define DBR2 COG1DBRbits.DBR2 // bit 2, shadows bit in COG1DBRbits
15494 #define G1DBR2 COG1DBRbits.G1DBR2 // bit 2, shadows bit in COG1DBRbits
15495 #define DBR3 COG1DBRbits.DBR3 // bit 3, shadows bit in COG1DBRbits
15496 #define G1DBR3 COG1DBRbits.G1DBR3 // bit 3, shadows bit in COG1DBRbits
15497 #define DBR4 COG1DBRbits.DBR4 // bit 4, shadows bit in COG1DBRbits
15498 #define G1DBR4 COG1DBRbits.G1DBR4 // bit 4, shadows bit in COG1DBRbits
15499 #define DBR5 COG1DBRbits.DBR5 // bit 5, shadows bit in COG1DBRbits
15500 #define G1DBR5 COG1DBRbits.G1DBR5 // bit 5, shadows bit in COG1DBRbits
15502 #define FIS0 COG1FIS0bits.FIS0 // bit 0, shadows bit in COG1FIS0bits
15503 #define G1FIS0 COG1FIS0bits.G1FIS0 // bit 0, shadows bit in COG1FIS0bits
15504 #define FIS1 COG1FIS0bits.FIS1 // bit 1, shadows bit in COG1FIS0bits
15505 #define G1FIS1 COG1FIS0bits.G1FIS1 // bit 1, shadows bit in COG1FIS0bits
15506 #define FIS2 COG1FIS0bits.FIS2 // bit 2, shadows bit in COG1FIS0bits
15507 #define G1FIS2 COG1FIS0bits.G1FIS2 // bit 2, shadows bit in COG1FIS0bits
15508 #define FIS3 COG1FIS0bits.FIS3 // bit 3, shadows bit in COG1FIS0bits
15509 #define G1FIS3 COG1FIS0bits.G1FIS3 // bit 3, shadows bit in COG1FIS0bits
15510 #define FIS4 COG1FIS0bits.FIS4 // bit 4, shadows bit in COG1FIS0bits
15511 #define G1FIS4 COG1FIS0bits.G1FIS4 // bit 4, shadows bit in COG1FIS0bits
15512 #define FIS5 COG1FIS0bits.FIS5 // bit 5, shadows bit in COG1FIS0bits
15513 #define G1FIS5 COG1FIS0bits.G1FIS5 // bit 5, shadows bit in COG1FIS0bits
15514 #define FIS6 COG1FIS0bits.FIS6 // bit 6, shadows bit in COG1FIS0bits
15515 #define G1FIS6 COG1FIS0bits.G1FIS6 // bit 6, shadows bit in COG1FIS0bits
15516 #define FIS7 COG1FIS0bits.FIS7 // bit 7, shadows bit in COG1FIS0bits
15517 #define G1FIS7 COG1FIS0bits.G1FIS7 // bit 7, shadows bit in COG1FIS0bits
15519 #define FIS8 COG1FIS1bits.FIS8 // bit 0, shadows bit in COG1FIS1bits
15520 #define G1FIS8 COG1FIS1bits.G1FIS8 // bit 0, shadows bit in COG1FIS1bits
15521 #define FIS9 COG1FIS1bits.FIS9 // bit 1, shadows bit in COG1FIS1bits
15522 #define G1FIS9 COG1FIS1bits.G1FIS9 // bit 1, shadows bit in COG1FIS1bits
15523 #define FIS10 COG1FIS1bits.FIS10 // bit 2, shadows bit in COG1FIS1bits
15524 #define G1FIS10 COG1FIS1bits.G1FIS10 // bit 2, shadows bit in COG1FIS1bits
15525 #define FIS11 COG1FIS1bits.FIS11 // bit 3, shadows bit in COG1FIS1bits
15526 #define G1FIS11 COG1FIS1bits.G1FIS11 // bit 3, shadows bit in COG1FIS1bits
15527 #define FIS12 COG1FIS1bits.FIS12 // bit 4, shadows bit in COG1FIS1bits
15528 #define G1FIS12 COG1FIS1bits.G1FIS12 // bit 4, shadows bit in COG1FIS1bits
15529 #define FIS13 COG1FIS1bits.FIS13 // bit 5, shadows bit in COG1FIS1bits
15530 #define G1FIS13 COG1FIS1bits.G1FIS13 // bit 5, shadows bit in COG1FIS1bits
15531 #define FIS14 COG1FIS1bits.FIS14 // bit 6, shadows bit in COG1FIS1bits
15532 #define G1FIS14 COG1FIS1bits.G1FIS14 // bit 6, shadows bit in COG1FIS1bits
15533 #define FIS15 COG1FIS1bits.FIS15 // bit 7, shadows bit in COG1FIS1bits
15534 #define G1FIS15 COG1FIS1bits.G1FIS15 // bit 7, shadows bit in COG1FIS1bits
15536 #define FSIM0 COG1FSIM0bits.FSIM0 // bit 0, shadows bit in COG1FSIM0bits
15537 #define G1FSIM0 COG1FSIM0bits.G1FSIM0 // bit 0, shadows bit in COG1FSIM0bits
15538 #define FSIM1 COG1FSIM0bits.FSIM1 // bit 1, shadows bit in COG1FSIM0bits
15539 #define G1FSIM1 COG1FSIM0bits.G1FSIM1 // bit 1, shadows bit in COG1FSIM0bits
15540 #define FSIM2 COG1FSIM0bits.FSIM2 // bit 2, shadows bit in COG1FSIM0bits
15541 #define G1FSIM2 COG1FSIM0bits.G1FSIM2 // bit 2, shadows bit in COG1FSIM0bits
15542 #define FSIM3 COG1FSIM0bits.FSIM3 // bit 3, shadows bit in COG1FSIM0bits
15543 #define G1FSIM3 COG1FSIM0bits.G1FSIM3 // bit 3, shadows bit in COG1FSIM0bits
15544 #define FSIM4 COG1FSIM0bits.FSIM4 // bit 4, shadows bit in COG1FSIM0bits
15545 #define G1FSIM4 COG1FSIM0bits.G1FSIM4 // bit 4, shadows bit in COG1FSIM0bits
15546 #define FSIM5 COG1FSIM0bits.FSIM5 // bit 5, shadows bit in COG1FSIM0bits
15547 #define G1FSIM5 COG1FSIM0bits.G1FSIM5 // bit 5, shadows bit in COG1FSIM0bits
15548 #define FSIM6 COG1FSIM0bits.FSIM6 // bit 6, shadows bit in COG1FSIM0bits
15549 #define G1FSIM6 COG1FSIM0bits.G1FSIM6 // bit 6, shadows bit in COG1FSIM0bits
15550 #define FSIM7 COG1FSIM0bits.FSIM7 // bit 7, shadows bit in COG1FSIM0bits
15551 #define G1FSIM7 COG1FSIM0bits.G1FSIM7 // bit 7, shadows bit in COG1FSIM0bits
15553 #define FSIM8 COG1FSIM1bits.FSIM8 // bit 0, shadows bit in COG1FSIM1bits
15554 #define G1FSIM8 COG1FSIM1bits.G1FSIM8 // bit 0, shadows bit in COG1FSIM1bits
15555 #define FSIM9 COG1FSIM1bits.FSIM9 // bit 1, shadows bit in COG1FSIM1bits
15556 #define G1FSIM9 COG1FSIM1bits.G1FSIM9 // bit 1, shadows bit in COG1FSIM1bits
15557 #define FSIM10 COG1FSIM1bits.FSIM10 // bit 2, shadows bit in COG1FSIM1bits
15558 #define G1FSIM10 COG1FSIM1bits.G1FSIM10 // bit 2, shadows bit in COG1FSIM1bits
15559 #define FSIM11 COG1FSIM1bits.FSIM11 // bit 3, shadows bit in COG1FSIM1bits
15560 #define G1FSIM11 COG1FSIM1bits.G1FSIM11 // bit 3, shadows bit in COG1FSIM1bits
15561 #define FSIM12 COG1FSIM1bits.FSIM12 // bit 4, shadows bit in COG1FSIM1bits
15562 #define G1FSIM12 COG1FSIM1bits.G1FSIM12 // bit 4, shadows bit in COG1FSIM1bits
15563 #define FSIM13 COG1FSIM1bits.FSIM13 // bit 5, shadows bit in COG1FSIM1bits
15564 #define G1FSIM13 COG1FSIM1bits.G1FSIM13 // bit 5, shadows bit in COG1FSIM1bits
15565 #define FSIM14 COG1FSIM1bits.FSIM14 // bit 6, shadows bit in COG1FSIM1bits
15566 #define G1FSIM14 COG1FSIM1bits.G1FSIM14 // bit 6, shadows bit in COG1FSIM1bits
15567 #define FSIM15 COG1FSIM1bits.FSIM15 // bit 7, shadows bit in COG1FSIM1bits
15568 #define G1FSIM15 COG1FSIM1bits.G1FSIM15 // bit 7, shadows bit in COG1FSIM1bits
15570 #define PHF0 COG1PHFbits.PHF0 // bit 0, shadows bit in COG1PHFbits
15571 #define G1PHF0 COG1PHFbits.G1PHF0 // bit 0, shadows bit in COG1PHFbits
15572 #define PHF1 COG1PHFbits.PHF1 // bit 1, shadows bit in COG1PHFbits
15573 #define G1PHF1 COG1PHFbits.G1PHF1 // bit 1, shadows bit in COG1PHFbits
15574 #define PHF2 COG1PHFbits.PHF2 // bit 2, shadows bit in COG1PHFbits
15575 #define G1PHF2 COG1PHFbits.G1PHF2 // bit 2, shadows bit in COG1PHFbits
15576 #define PHF3 COG1PHFbits.PHF3 // bit 3, shadows bit in COG1PHFbits
15577 #define G1PHF3 COG1PHFbits.G1PHF3 // bit 3, shadows bit in COG1PHFbits
15578 #define PHF4 COG1PHFbits.PHF4 // bit 4, shadows bit in COG1PHFbits
15579 #define G1PHF4 COG1PHFbits.G1PHF4 // bit 4, shadows bit in COG1PHFbits
15580 #define PHF5 COG1PHFbits.PHF5 // bit 5, shadows bit in COG1PHFbits
15581 #define G1PHF5 COG1PHFbits.G1PHF5 // bit 5, shadows bit in COG1PHFbits
15583 #define PHR0 COG1PHRbits.PHR0 // bit 0, shadows bit in COG1PHRbits
15584 #define G1PHR0 COG1PHRbits.G1PHR0 // bit 0, shadows bit in COG1PHRbits
15585 #define PHR1 COG1PHRbits.PHR1 // bit 1, shadows bit in COG1PHRbits
15586 #define G1PHR1 COG1PHRbits.G1PHR1 // bit 1, shadows bit in COG1PHRbits
15587 #define PHR2 COG1PHRbits.PHR2 // bit 2, shadows bit in COG1PHRbits
15588 #define G1PHR2 COG1PHRbits.G1PHR2 // bit 2, shadows bit in COG1PHRbits
15589 #define PHR3 COG1PHRbits.PHR3 // bit 3, shadows bit in COG1PHRbits
15590 #define G1PHR3 COG1PHRbits.G1PHR3 // bit 3, shadows bit in COG1PHRbits
15591 #define PHR4 COG1PHRbits.PHR4 // bit 4, shadows bit in COG1PHRbits
15592 #define G1PHR4 COG1PHRbits.G1PHR4 // bit 4, shadows bit in COG1PHRbits
15593 #define PHR5 COG1PHRbits.PHR5 // bit 5, shadows bit in COG1PHRbits
15594 #define G1PHR5 COG1PHRbits.G1PHR5 // bit 5, shadows bit in COG1PHRbits
15596 #define RIS0 COG1RIS0bits.RIS0 // bit 0, shadows bit in COG1RIS0bits
15597 #define G1RIS0 COG1RIS0bits.G1RIS0 // bit 0, shadows bit in COG1RIS0bits
15598 #define RIS1 COG1RIS0bits.RIS1 // bit 1, shadows bit in COG1RIS0bits
15599 #define G1RIS1 COG1RIS0bits.G1RIS1 // bit 1, shadows bit in COG1RIS0bits
15600 #define RIS2 COG1RIS0bits.RIS2 // bit 2, shadows bit in COG1RIS0bits
15601 #define G1RIS2 COG1RIS0bits.G1RIS2 // bit 2, shadows bit in COG1RIS0bits
15602 #define RIS3 COG1RIS0bits.RIS3 // bit 3, shadows bit in COG1RIS0bits
15603 #define G1RIS3 COG1RIS0bits.G1RIS3 // bit 3, shadows bit in COG1RIS0bits
15604 #define RIS4 COG1RIS0bits.RIS4 // bit 4, shadows bit in COG1RIS0bits
15605 #define G1RIS4 COG1RIS0bits.G1RIS4 // bit 4, shadows bit in COG1RIS0bits
15606 #define RIS5 COG1RIS0bits.RIS5 // bit 5, shadows bit in COG1RIS0bits
15607 #define G1RIS5 COG1RIS0bits.G1RIS5 // bit 5, shadows bit in COG1RIS0bits
15608 #define RIS6 COG1RIS0bits.RIS6 // bit 6, shadows bit in COG1RIS0bits
15609 #define G1RIS6 COG1RIS0bits.G1RIS6 // bit 6, shadows bit in COG1RIS0bits
15610 #define RIS7 COG1RIS0bits.RIS7 // bit 7, shadows bit in COG1RIS0bits
15611 #define G1RIS7 COG1RIS0bits.G1RIS7 // bit 7, shadows bit in COG1RIS0bits
15613 #define RIS8 COG1RIS1bits.RIS8 // bit 0, shadows bit in COG1RIS1bits
15614 #define G1RIS8 COG1RIS1bits.G1RIS8 // bit 0, shadows bit in COG1RIS1bits
15615 #define RIS9 COG1RIS1bits.RIS9 // bit 1, shadows bit in COG1RIS1bits
15616 #define G1RIS9 COG1RIS1bits.G1RIS9 // bit 1, shadows bit in COG1RIS1bits
15617 #define RIS10 COG1RIS1bits.RIS10 // bit 2, shadows bit in COG1RIS1bits
15618 #define G1RIS10 COG1RIS1bits.G1RIS10 // bit 2, shadows bit in COG1RIS1bits
15619 #define RIS11 COG1RIS1bits.RIS11 // bit 3, shadows bit in COG1RIS1bits
15620 #define G1RIS11 COG1RIS1bits.G1RIS11 // bit 3, shadows bit in COG1RIS1bits
15621 #define RIS12 COG1RIS1bits.RIS12 // bit 4, shadows bit in COG1RIS1bits
15622 #define G1RIS12 COG1RIS1bits.G1RIS12 // bit 4, shadows bit in COG1RIS1bits
15623 #define RIS13 COG1RIS1bits.RIS13 // bit 5, shadows bit in COG1RIS1bits
15624 #define G1RIS13 COG1RIS1bits.G1RIS13 // bit 5, shadows bit in COG1RIS1bits
15625 #define RIS14 COG1RIS1bits.RIS14 // bit 6, shadows bit in COG1RIS1bits
15626 #define G1RIS14 COG1RIS1bits.G1RIS14 // bit 6, shadows bit in COG1RIS1bits
15627 #define RIS15 COG1RIS1bits.RIS15 // bit 7, shadows bit in COG1RIS1bits
15628 #define G1RIS15 COG1RIS1bits.G1RIS15 // bit 7, shadows bit in COG1RIS1bits
15630 #define RSIM0 COG1RSIM0bits.RSIM0 // bit 0, shadows bit in COG1RSIM0bits
15631 #define G1RSIM0 COG1RSIM0bits.G1RSIM0 // bit 0, shadows bit in COG1RSIM0bits
15632 #define RSIM1 COG1RSIM0bits.RSIM1 // bit 1, shadows bit in COG1RSIM0bits
15633 #define G1RSIM1 COG1RSIM0bits.G1RSIM1 // bit 1, shadows bit in COG1RSIM0bits
15634 #define RSIM2 COG1RSIM0bits.RSIM2 // bit 2, shadows bit in COG1RSIM0bits
15635 #define G1RSIM2 COG1RSIM0bits.G1RSIM2 // bit 2, shadows bit in COG1RSIM0bits
15636 #define RSIM3 COG1RSIM0bits.RSIM3 // bit 3, shadows bit in COG1RSIM0bits
15637 #define G1RSIM3 COG1RSIM0bits.G1RSIM3 // bit 3, shadows bit in COG1RSIM0bits
15638 #define RSIM4 COG1RSIM0bits.RSIM4 // bit 4, shadows bit in COG1RSIM0bits
15639 #define G1RSIM4 COG1RSIM0bits.G1RSIM4 // bit 4, shadows bit in COG1RSIM0bits
15640 #define RSIM5 COG1RSIM0bits.RSIM5 // bit 5, shadows bit in COG1RSIM0bits
15641 #define G1RSIM5 COG1RSIM0bits.G1RSIM5 // bit 5, shadows bit in COG1RSIM0bits
15642 #define RSIM6 COG1RSIM0bits.RSIM6 // bit 6, shadows bit in COG1RSIM0bits
15643 #define G1RSIM6 COG1RSIM0bits.G1RSIM6 // bit 6, shadows bit in COG1RSIM0bits
15644 #define RSIM7 COG1RSIM0bits.RSIM7 // bit 7, shadows bit in COG1RSIM0bits
15645 #define G1RSIM7 COG1RSIM0bits.G1RSIM7 // bit 7, shadows bit in COG1RSIM0bits
15647 #define RSIM8 COG1RSIM1bits.RSIM8 // bit 0, shadows bit in COG1RSIM1bits
15648 #define G1RSIM8 COG1RSIM1bits.G1RSIM8 // bit 0, shadows bit in COG1RSIM1bits
15649 #define RSIM9 COG1RSIM1bits.RSIM9 // bit 1, shadows bit in COG1RSIM1bits
15650 #define G1RSIM9 COG1RSIM1bits.G1RSIM9 // bit 1, shadows bit in COG1RSIM1bits
15651 #define RSIM10 COG1RSIM1bits.RSIM10 // bit 2, shadows bit in COG1RSIM1bits
15652 #define G1RSIM10 COG1RSIM1bits.G1RSIM10 // bit 2, shadows bit in COG1RSIM1bits
15653 #define RSIM11 COG1RSIM1bits.RSIM11 // bit 3, shadows bit in COG1RSIM1bits
15654 #define G1RSIM11 COG1RSIM1bits.G1RSIM11 // bit 3, shadows bit in COG1RSIM1bits
15655 #define RSIM12 COG1RSIM1bits.RSIM12 // bit 4, shadows bit in COG1RSIM1bits
15656 #define G1RSIM12 COG1RSIM1bits.G1RSIM12 // bit 4, shadows bit in COG1RSIM1bits
15657 #define RSIM13 COG1RSIM1bits.RSIM13 // bit 5, shadows bit in COG1RSIM1bits
15658 #define G1RSIM13 COG1RSIM1bits.G1RSIM13 // bit 5, shadows bit in COG1RSIM1bits
15659 #define RSIM14 COG1RSIM1bits.RSIM14 // bit 6, shadows bit in COG1RSIM1bits
15660 #define G1RSIM14 COG1RSIM1bits.G1RSIM14 // bit 6, shadows bit in COG1RSIM1bits
15661 #define RSIM15 COG1RSIM1bits.RSIM15 // bit 7, shadows bit in COG1RSIM1bits
15662 #define G1RSIM15 COG1RSIM1bits.G1RSIM15 // bit 7, shadows bit in COG1RSIM1bits
15664 #define STRA COG1STRbits.STRA // bit 0, shadows bit in COG1STRbits
15665 #define G1STRA COG1STRbits.G1STRA // bit 0, shadows bit in COG1STRbits
15666 #define STRB COG1STRbits.STRB // bit 1, shadows bit in COG1STRbits
15667 #define G1STRB COG1STRbits.G1STRB // bit 1, shadows bit in COG1STRbits
15668 #define STRC COG1STRbits.STRC // bit 2, shadows bit in COG1STRbits
15669 #define G1STRC COG1STRbits.G1STRC // bit 2, shadows bit in COG1STRbits
15670 #define STRD COG1STRbits.STRD // bit 3, shadows bit in COG1STRbits
15671 #define G1STRD COG1STRbits.G1STRD // bit 3, shadows bit in COG1STRbits
15672 #define SDATA COG1STRbits.SDATA // bit 4, shadows bit in COG1STRbits
15673 #define G1SDATA COG1STRbits.G1SDATA // bit 4, shadows bit in COG1STRbits
15674 #define SDATB COG1STRbits.SDATB // bit 5, shadows bit in COG1STRbits
15675 #define G1SDATB COG1STRbits.G1SDATB // bit 5, shadows bit in COG1STRbits
15676 #define SDATC COG1STRbits.SDATC // bit 6, shadows bit in COG1STRbits
15677 #define G1SDATC COG1STRbits.G1SDATC // bit 6, shadows bit in COG1STRbits
15678 #define SDATD COG1STRbits.SDATD // bit 7, shadows bit in COG1STRbits
15679 #define G1SDATD COG1STRbits.G1SDATD // bit 7, shadows bit in COG1STRbits
15681 #define REF0 DAC1CON1bits.REF0 // bit 0, shadows bit in DAC1CON1bits
15682 #define DAC1REF0 DAC1CON1bits.DAC1REF0 // bit 0, shadows bit in DAC1CON1bits
15683 #define R0 DAC1CON1bits.R0 // bit 0, shadows bit in DAC1CON1bits
15684 #define DAC1R0 DAC1CON1bits.DAC1R0 // bit 0, shadows bit in DAC1CON1bits
15685 #define REF1 DAC1CON1bits.REF1 // bit 1, shadows bit in DAC1CON1bits
15686 #define DAC1REF1 DAC1CON1bits.DAC1REF1 // bit 1, shadows bit in DAC1CON1bits
15687 #define R1 DAC1CON1bits.R1 // bit 1, shadows bit in DAC1CON1bits
15688 #define DAC1R1 DAC1CON1bits.DAC1R1 // bit 1, shadows bit in DAC1CON1bits
15689 #define REF2 DAC1CON1bits.REF2 // bit 2, shadows bit in DAC1CON1bits
15690 #define DAC1REF2 DAC1CON1bits.DAC1REF2 // bit 2, shadows bit in DAC1CON1bits
15691 #define R2 DAC1CON1bits.R2 // bit 2, shadows bit in DAC1CON1bits
15692 #define DAC1R2 DAC1CON1bits.DAC1R2 // bit 2, shadows bit in DAC1CON1bits
15693 #define REF3 DAC1CON1bits.REF3 // bit 3, shadows bit in DAC1CON1bits
15694 #define DAC1REF3 DAC1CON1bits.DAC1REF3 // bit 3, shadows bit in DAC1CON1bits
15695 #define R3 DAC1CON1bits.R3 // bit 3, shadows bit in DAC1CON1bits
15696 #define DAC1R3 DAC1CON1bits.DAC1R3 // bit 3, shadows bit in DAC1CON1bits
15697 #define REF4 DAC1CON1bits.REF4 // bit 4, shadows bit in DAC1CON1bits
15698 #define DAC1REF4 DAC1CON1bits.DAC1REF4 // bit 4, shadows bit in DAC1CON1bits
15699 #define R4 DAC1CON1bits.R4 // bit 4, shadows bit in DAC1CON1bits
15700 #define DAC1R4 DAC1CON1bits.DAC1R4 // bit 4, shadows bit in DAC1CON1bits
15701 #define REF5 DAC1CON1bits.REF5 // bit 5, shadows bit in DAC1CON1bits
15702 #define DAC1REF5 DAC1CON1bits.DAC1REF5 // bit 5, shadows bit in DAC1CON1bits
15703 #define R5 DAC1CON1bits.R5 // bit 5, shadows bit in DAC1CON1bits
15704 #define DAC1R5 DAC1CON1bits.DAC1R5 // bit 5, shadows bit in DAC1CON1bits
15705 #define REF6 DAC1CON1bits.REF6 // bit 6, shadows bit in DAC1CON1bits
15706 #define DAC1REF6 DAC1CON1bits.DAC1REF6 // bit 6, shadows bit in DAC1CON1bits
15707 #define R6 DAC1CON1bits.R6 // bit 6, shadows bit in DAC1CON1bits
15708 #define DAC1R6 DAC1CON1bits.DAC1R6 // bit 6, shadows bit in DAC1CON1bits
15709 #define REF7 DAC1CON1bits.REF7 // bit 7, shadows bit in DAC1CON1bits
15710 #define DAC1REF7 DAC1CON1bits.DAC1REF7 // bit 7, shadows bit in DAC1CON1bits
15711 #define R7 DAC1CON1bits.R7 // bit 7, shadows bit in DAC1CON1bits
15712 #define DAC1R7 DAC1CON1bits.DAC1R7 // bit 7, shadows bit in DAC1CON1bits
15714 #define REF8 DAC1CON2bits.REF8 // bit 0, shadows bit in DAC1CON2bits
15715 #define DAC1REF8 DAC1CON2bits.DAC1REF8 // bit 0, shadows bit in DAC1CON2bits
15716 #define R8 DAC1CON2bits.R8 // bit 0, shadows bit in DAC1CON2bits
15717 #define DAC1R8 DAC1CON2bits.DAC1R8 // bit 0, shadows bit in DAC1CON2bits
15718 #define REF9 DAC1CON2bits.REF9 // bit 1, shadows bit in DAC1CON2bits
15719 #define DAC1REF9 DAC1CON2bits.DAC1REF9 // bit 1, shadows bit in DAC1CON2bits
15720 #define R9 DAC1CON2bits.R9 // bit 1, shadows bit in DAC1CON2bits
15721 #define DAC1R9 DAC1CON2bits.DAC1R9 // bit 1, shadows bit in DAC1CON2bits
15722 #define REF10 DAC1CON2bits.REF10 // bit 2, shadows bit in DAC1CON2bits
15723 #define DAC1REF10 DAC1CON2bits.DAC1REF10 // bit 2, shadows bit in DAC1CON2bits
15724 #define R10 DAC1CON2bits.R10 // bit 2, shadows bit in DAC1CON2bits
15725 #define DAC1R10 DAC1CON2bits.DAC1R10 // bit 2, shadows bit in DAC1CON2bits
15726 #define REF11 DAC1CON2bits.REF11 // bit 3, shadows bit in DAC1CON2bits
15727 #define DAC1REF11 DAC1CON2bits.DAC1REF11 // bit 3, shadows bit in DAC1CON2bits
15728 #define R11 DAC1CON2bits.R11 // bit 3, shadows bit in DAC1CON2bits
15729 #define DAC1R11 DAC1CON2bits.DAC1R11 // bit 3, shadows bit in DAC1CON2bits
15730 #define REF12 DAC1CON2bits.REF12 // bit 4, shadows bit in DAC1CON2bits
15731 #define DAC1REF12 DAC1CON2bits.DAC1REF12 // bit 4, shadows bit in DAC1CON2bits
15732 #define R12 DAC1CON2bits.R12 // bit 4, shadows bit in DAC1CON2bits
15733 #define DAC1R12 DAC1CON2bits.DAC1R12 // bit 4, shadows bit in DAC1CON2bits
15734 #define REF13 DAC1CON2bits.REF13 // bit 5, shadows bit in DAC1CON2bits
15735 #define DAC1REF13 DAC1CON2bits.DAC1REF13 // bit 5, shadows bit in DAC1CON2bits
15736 #define R13 DAC1CON2bits.R13 // bit 5, shadows bit in DAC1CON2bits
15737 #define DAC1R13 DAC1CON2bits.DAC1R13 // bit 5, shadows bit in DAC1CON2bits
15738 #define REF14 DAC1CON2bits.REF14 // bit 6, shadows bit in DAC1CON2bits
15739 #define DAC1REF14 DAC1CON2bits.DAC1REF14 // bit 6, shadows bit in DAC1CON2bits
15740 #define R14 DAC1CON2bits.R14 // bit 6, shadows bit in DAC1CON2bits
15741 #define DAC1R14 DAC1CON2bits.DAC1R14 // bit 6, shadows bit in DAC1CON2bits
15742 #define REF15 DAC1CON2bits.REF15 // bit 7, shadows bit in DAC1CON2bits
15743 #define DAC1REF15 DAC1CON2bits.DAC1REF15 // bit 7, shadows bit in DAC1CON2bits
15744 #define R15 DAC1CON2bits.R15 // bit 7, shadows bit in DAC1CON2bits
15745 #define DAC1R15 DAC1CON2bits.DAC1R15 // bit 7, shadows bit in DAC1CON2bits
15747 #define DAC1LD DACLDbits.DAC1LD // bit 0
15748 #define DAC2LD DACLDbits.DAC2LD // bit 1
15750 #define TSRNG FVRCONbits.TSRNG // bit 4
15751 #define TSEN FVRCONbits.TSEN // bit 5
15752 #define FVRRDY FVRCONbits.FVRRDY // bit 6
15753 #define FVREN FVRCONbits.FVREN // bit 7
15755 #define HIDC4 HIDRVCbits.HIDC4 // bit 4
15756 #define HIDC5 HIDRVCbits.HIDC5 // bit 5
15758 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
15759 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
15760 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
15761 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
15762 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
15763 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
15765 #define INLVLB4 INLVLBbits.INLVLB4 // bit 4
15766 #define INLVLB5 INLVLBbits.INLVLB5 // bit 5
15767 #define INLVLB6 INLVLBbits.INLVLB6 // bit 6
15768 #define INLVLB7 INLVLBbits.INLVLB7 // bit 7
15770 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
15771 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
15772 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
15773 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
15774 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
15775 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
15776 #define INLVLC6 INLVLCbits.INLVLC6 // bit 6
15777 #define INLVLC7 INLVLCbits.INLVLC7 // bit 7
15779 #define IOCIF INTCONbits.IOCIF // bit 0
15780 #define INTF INTCONbits.INTF // bit 1
15781 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
15782 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
15783 #define IOCIE INTCONbits.IOCIE // bit 3
15784 #define INTE INTCONbits.INTE // bit 4
15785 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
15786 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
15787 #define PEIE INTCONbits.PEIE // bit 6
15788 #define GIE INTCONbits.GIE // bit 7
15790 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
15791 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
15792 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
15793 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
15794 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
15795 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
15797 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
15798 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
15799 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
15800 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
15801 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
15802 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
15804 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
15805 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
15806 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
15807 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
15808 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
15809 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
15811 #define IOCBF4 IOCBFbits.IOCBF4 // bit 4
15812 #define IOCBF5 IOCBFbits.IOCBF5 // bit 5
15813 #define IOCBF6 IOCBFbits.IOCBF6 // bit 6
15814 #define IOCBF7 IOCBFbits.IOCBF7 // bit 7
15816 #define IOCBN4 IOCBNbits.IOCBN4 // bit 4
15817 #define IOCBN5 IOCBNbits.IOCBN5 // bit 5
15818 #define IOCBN6 IOCBNbits.IOCBN6 // bit 6
15819 #define IOCBN7 IOCBNbits.IOCBN7 // bit 7
15821 #define IOCBP4 IOCBPbits.IOCBP4 // bit 4
15822 #define IOCBP5 IOCBPbits.IOCBP5 // bit 5
15823 #define IOCBP6 IOCBPbits.IOCBP6 // bit 6
15824 #define IOCBP7 IOCBPbits.IOCBP7 // bit 7
15826 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
15827 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
15828 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
15829 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
15830 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
15831 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
15832 #define IOCCF6 IOCCFbits.IOCCF6 // bit 6
15833 #define IOCCF7 IOCCFbits.IOCCF7 // bit 7
15835 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
15836 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
15837 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
15838 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
15839 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
15840 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
15841 #define IOCCN6 IOCCNbits.IOCCN6 // bit 6
15842 #define IOCCN7 IOCCNbits.IOCCN7 // bit 7
15844 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
15845 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
15846 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
15847 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
15848 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
15849 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
15850 #define IOCCP6 IOCCPbits.IOCCP6 // bit 6
15851 #define IOCCP7 IOCCPbits.IOCCP7 // bit 7
15853 #define LATA0 LATAbits.LATA0 // bit 0
15854 #define LATA1 LATAbits.LATA1 // bit 1
15855 #define LATA2 LATAbits.LATA2 // bit 2
15856 #define LATA4 LATAbits.LATA4 // bit 4
15857 #define LATA5 LATAbits.LATA5 // bit 5
15859 #define LATB4 LATBbits.LATB4 // bit 4
15860 #define LATB5 LATBbits.LATB5 // bit 5
15861 #define LATB6 LATBbits.LATB6 // bit 6
15862 #define LATB7 LATBbits.LATB7 // bit 7
15864 #define LATC0 LATCbits.LATC0 // bit 0
15865 #define LATC1 LATCbits.LATC1 // bit 1
15866 #define LATC2 LATCbits.LATC2 // bit 2
15867 #define LATC3 LATCbits.LATC3 // bit 3
15868 #define LATC4 LATCbits.LATC4 // bit 4
15869 #define LATC5 LATCbits.LATC5 // bit 5
15870 #define LATC6 LATCbits.LATC6 // bit 6
15871 #define LATC7 LATCbits.LATC7 // bit 7
15873 #define CH0 MD1CARHbits.CH0 // bit 0, shadows bit in MD1CARHbits
15874 #define MD1CH0 MD1CARHbits.MD1CH0 // bit 0, shadows bit in MD1CARHbits
15875 #define CH1 MD1CARHbits.CH1 // bit 1, shadows bit in MD1CARHbits
15876 #define MD1CH1 MD1CARHbits.MD1CH1 // bit 1, shadows bit in MD1CARHbits
15877 #define CH2 MD1CARHbits.CH2 // bit 2, shadows bit in MD1CARHbits
15878 #define MD1CH2 MD1CARHbits.MD1CH2 // bit 2, shadows bit in MD1CARHbits
15879 #define CH3 MD1CARHbits.CH3 // bit 3, shadows bit in MD1CARHbits
15880 #define MD1CH3 MD1CARHbits.MD1CH3 // bit 3, shadows bit in MD1CARHbits
15882 #define CL0 MD1CARLbits.CL0 // bit 0, shadows bit in MD1CARLbits
15883 #define MD1CL0 MD1CARLbits.MD1CL0 // bit 0, shadows bit in MD1CARLbits
15884 #define CL1 MD1CARLbits.CL1 // bit 1, shadows bit in MD1CARLbits
15885 #define MD1CL1 MD1CARLbits.MD1CL1 // bit 1, shadows bit in MD1CARLbits
15886 #define CL2 MD1CARLbits.CL2 // bit 2, shadows bit in MD1CARLbits
15887 #define MD1CL2 MD1CARLbits.MD1CL2 // bit 2, shadows bit in MD1CARLbits
15888 #define CL3 MD1CARLbits.CL3 // bit 3, shadows bit in MD1CARLbits
15889 #define MD1CL3 MD1CARLbits.MD1CL3 // bit 3, shadows bit in MD1CARLbits
15891 #define CLSYNC MD1CON1bits.CLSYNC // bit 0, shadows bit in MD1CON1bits
15892 #define MD1CLSYNC MD1CON1bits.MD1CLSYNC // bit 0, shadows bit in MD1CON1bits
15893 #define CLPOL MD1CON1bits.CLPOL // bit 1, shadows bit in MD1CON1bits
15894 #define MD1CLPOL MD1CON1bits.MD1CLPOL // bit 1, shadows bit in MD1CON1bits
15895 #define CHSYNC MD1CON1bits.CHSYNC // bit 4, shadows bit in MD1CON1bits
15896 #define MD1CHSYNC MD1CON1bits.MD1CHSYNC // bit 4, shadows bit in MD1CON1bits
15897 #define CHPOL MD1CON1bits.CHPOL // bit 5, shadows bit in MD1CON1bits
15898 #define MD1CHPOL MD1CON1bits.MD1CHPOL // bit 5, shadows bit in MD1CON1bits
15900 #define MS0 MD1SRCbits.MS0 // bit 0, shadows bit in MD1SRCbits
15901 #define MD1MS0 MD1SRCbits.MD1MS0 // bit 0, shadows bit in MD1SRCbits
15902 #define MS1 MD1SRCbits.MS1 // bit 1, shadows bit in MD1SRCbits
15903 #define MD1MS1 MD1SRCbits.MD1MS1 // bit 1, shadows bit in MD1SRCbits
15904 #define MS2 MD1SRCbits.MS2 // bit 2, shadows bit in MD1SRCbits
15905 #define MD1MS2 MD1SRCbits.MD1MS2 // bit 2, shadows bit in MD1SRCbits
15906 #define MS3 MD1SRCbits.MS3 // bit 3, shadows bit in MD1SRCbits
15907 #define MD1MS3 MD1SRCbits.MD1MS3 // bit 3, shadows bit in MD1SRCbits
15908 #define MS4 MD1SRCbits.MS4 // bit 4, shadows bit in MD1SRCbits
15909 #define MD1MS4 MD1SRCbits.MD1MS4 // bit 4, shadows bit in MD1SRCbits
15911 #define ODA0 ODCONAbits.ODA0 // bit 0
15912 #define ODA1 ODCONAbits.ODA1 // bit 1
15913 #define ODA2 ODCONAbits.ODA2 // bit 2
15914 #define ODA4 ODCONAbits.ODA4 // bit 4
15915 #define ODA5 ODCONAbits.ODA5 // bit 5
15917 #define ODB4 ODCONBbits.ODB4 // bit 4
15918 #define ODB5 ODCONBbits.ODB5 // bit 5
15919 #define ODB6 ODCONBbits.ODB6 // bit 6
15920 #define ODB7 ODCONBbits.ODB7 // bit 7
15922 #define ODC0 ODCONCbits.ODC0 // bit 0
15923 #define ODC1 ODCONCbits.ODC1 // bit 1
15924 #define ODC2 ODCONCbits.ODC2 // bit 2
15925 #define ODC3 ODCONCbits.ODC3 // bit 3
15926 #define ODC4 ODCONCbits.ODC4 // bit 4
15927 #define ODC5 ODCONCbits.ODC5 // bit 5
15928 #define ODC6 ODCONCbits.ODC6 // bit 6
15929 #define ODC7 ODCONCbits.ODC7 // bit 7
15931 #define PS0 OPTION_REGbits.PS0 // bit 0
15932 #define PS1 OPTION_REGbits.PS1 // bit 1
15933 #define PS2 OPTION_REGbits.PS2 // bit 2
15934 #define PSA OPTION_REGbits.PSA // bit 3
15935 #define TMR0SE OPTION_REGbits.TMR0SE // bit 4, shadows bit in OPTION_REGbits
15936 #define T0SE OPTION_REGbits.T0SE // bit 4, shadows bit in OPTION_REGbits
15937 #define TMR0CS OPTION_REGbits.TMR0CS // bit 5, shadows bit in OPTION_REGbits
15938 #define T0CS OPTION_REGbits.T0CS // bit 5, shadows bit in OPTION_REGbits
15939 #define INTEDG OPTION_REGbits.INTEDG // bit 6
15940 #define NOT_WPUEN OPTION_REGbits.NOT_WPUEN // bit 7
15942 #define SCS0 OSCCONbits.SCS0 // bit 0
15943 #define SCS1 OSCCONbits.SCS1 // bit 1
15944 #define IRCF0 OSCCONbits.IRCF0 // bit 3
15945 #define IRCF1 OSCCONbits.IRCF1 // bit 4
15946 #define IRCF2 OSCCONbits.IRCF2 // bit 5
15947 #define IRCF3 OSCCONbits.IRCF3 // bit 6
15948 #define SPLLEN OSCCONbits.SPLLEN // bit 7
15950 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
15951 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
15952 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
15953 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
15954 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
15955 #define OSTS OSCSTATbits.OSTS // bit 5
15956 #define PLLR OSCSTATbits.PLLR // bit 6
15957 #define SOSCR OSCSTATbits.SOSCR // bit 7
15959 #define TUN0 OSCTUNEbits.TUN0 // bit 0
15960 #define TUN1 OSCTUNEbits.TUN1 // bit 1
15961 #define TUN2 OSCTUNEbits.TUN2 // bit 2
15962 #define TUN3 OSCTUNEbits.TUN3 // bit 3
15963 #define TUN4 OSCTUNEbits.TUN4 // bit 4
15964 #define TUN5 OSCTUNEbits.TUN5 // bit 5
15966 #define NOT_BOR PCONbits.NOT_BOR // bit 0
15967 #define NOT_POR PCONbits.NOT_POR // bit 1
15968 #define NOT_RI PCONbits.NOT_RI // bit 2
15969 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
15970 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
15971 #define STKUNF PCONbits.STKUNF // bit 6
15972 #define STKOVF PCONbits.STKOVF // bit 7
15974 #define TMR1IE PIE1bits.TMR1IE // bit 0
15975 #define TMR2IE PIE1bits.TMR2IE // bit 1
15976 #define CCP1IE PIE1bits.CCP1IE // bit 2, shadows bit in PIE1bits
15977 #define CCPIE PIE1bits.CCPIE // bit 2, shadows bit in PIE1bits
15978 #define SSP1IE PIE1bits.SSP1IE // bit 3
15979 #define TXIE PIE1bits.TXIE // bit 4
15980 #define RCIE PIE1bits.RCIE // bit 5
15981 #define ADIE PIE1bits.ADIE // bit 6
15982 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
15984 #define CCP2IE PIE2bits.CCP2IE // bit 0
15985 #define C3IE PIE2bits.C3IE // bit 1
15986 #define C4IE PIE2bits.C4IE // bit 2
15987 #define BCL1IE PIE2bits.BCL1IE // bit 3
15988 #define C1IE PIE2bits.C1IE // bit 5
15989 #define C2IE PIE2bits.C2IE // bit 6
15990 #define OSFIE PIE2bits.OSFIE // bit 7
15992 #define CLC1IE PIE3bits.CLC1IE // bit 0
15993 #define CLC2IE PIE3bits.CLC2IE // bit 1
15994 #define CLC3IE PIE3bits.CLC3IE // bit 2
15995 #define COG2IE PIE3bits.COG2IE // bit 3
15996 #define ZCDIE PIE3bits.ZCDIE // bit 4
15997 #define COGIE PIE3bits.COGIE // bit 5
15998 #define PWM5IE PIE3bits.PWM5IE // bit 6
15999 #define PWM6IE PIE3bits.PWM6IE // bit 7
16001 #define TMR4IE PIE4bits.TMR4IE // bit 0
16002 #define TMR6IE PIE4bits.TMR6IE // bit 1
16003 #define TMR3IE PIE4bits.TMR3IE // bit 2
16004 #define TMR3GIE PIE4bits.TMR3GIE // bit 3
16005 #define TMR5IE PIE4bits.TMR5IE // bit 4
16006 #define TMR5GIE PIE4bits.TMR5GIE // bit 5
16008 #define TMR1IF PIR1bits.TMR1IF // bit 0
16009 #define TMR2IF PIR1bits.TMR2IF // bit 1
16010 #define CCP1IF PIR1bits.CCP1IF // bit 2, shadows bit in PIR1bits
16011 #define CCPIF PIR1bits.CCPIF // bit 2, shadows bit in PIR1bits
16012 #define SSP1IF PIR1bits.SSP1IF // bit 3
16013 #define TXIF PIR1bits.TXIF // bit 4
16014 #define RCIF PIR1bits.RCIF // bit 5
16015 #define ADIF PIR1bits.ADIF // bit 6
16016 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
16018 #define CCP2IF PIR2bits.CCP2IF // bit 0
16019 #define C3IF PIR2bits.C3IF // bit 1
16020 #define C4IF PIR2bits.C4IF // bit 2
16021 #define BCL1IF PIR2bits.BCL1IF // bit 3
16022 #define C1IF PIR2bits.C1IF // bit 5
16023 #define C2IF PIR2bits.C2IF // bit 6
16024 #define OSFIF PIR2bits.OSFIF // bit 7
16026 #define CLC1IF PIR3bits.CLC1IF // bit 0
16027 #define CLC2IF PIR3bits.CLC2IF // bit 1
16028 #define CLC3IF PIR3bits.CLC3IF // bit 2
16029 #define COG2IF PIR3bits.COG2IF // bit 3
16030 #define ZCDIF PIR3bits.ZCDIF // bit 4
16031 #define COG1IF PIR3bits.COG1IF // bit 5
16032 #define PWM5IF PIR3bits.PWM5IF // bit 6
16033 #define PWM6IF PIR3bits.PWM6IF // bit 7
16035 #define TMR4IF PIR4bits.TMR4IF // bit 0
16036 #define TMR6IF PIR4bits.TMR6IF // bit 1
16037 #define TMR3IF PIR4bits.TMR3IF // bit 2
16038 #define TMR3GIF PIR4bits.TMR3GIF // bit 3
16039 #define TMR5IF PIR4bits.TMR5IF // bit 4
16040 #define TMR5GIF PIR4bits.TMR5GIF // bit 5
16042 #define RD PMCON1bits.RD // bit 0
16043 #define WR PMCON1bits.WR // bit 1
16044 #define WREN PMCON1bits.WREN // bit 2
16045 #define WRERR PMCON1bits.WRERR // bit 3
16046 #define FREE PMCON1bits.FREE // bit 4
16047 #define LWLO PMCON1bits.LWLO // bit 5
16048 #define CFGS PMCON1bits.CFGS // bit 6
16050 #define RA0 PORTAbits.RA0 // bit 0
16051 #define RA1 PORTAbits.RA1 // bit 1
16052 #define RA2 PORTAbits.RA2 // bit 2
16053 #define RA3 PORTAbits.RA3 // bit 3
16054 #define RA4 PORTAbits.RA4 // bit 4
16055 #define RA5 PORTAbits.RA5 // bit 5
16057 #define RB4 PORTBbits.RB4 // bit 4
16058 #define RB5 PORTBbits.RB5 // bit 5
16059 #define RB6 PORTBbits.RB6 // bit 6
16060 #define RB7 PORTBbits.RB7 // bit 7
16062 #define RC0 PORTCbits.RC0 // bit 0
16063 #define RC1 PORTCbits.RC1 // bit 1
16064 #define RC2 PORTCbits.RC2 // bit 2
16065 #define RC3 PORTCbits.RC3 // bit 3
16066 #define RC4 PORTCbits.RC4 // bit 4
16067 #define RC5 PORTCbits.RC5 // bit 5
16068 #define RC6 PORTCbits.RC6 // bit 6
16069 #define RC7 PORTCbits.RC7 // bit 7
16071 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
16073 #define RPOL PRG1CON1bits.RPOL // bit 0, shadows bit in PRG1CON1bits
16074 #define RG1RPOL PRG1CON1bits.RG1RPOL // bit 0, shadows bit in PRG1CON1bits
16075 #define FPOL PRG1CON1bits.FPOL // bit 1, shadows bit in PRG1CON1bits
16076 #define RG1FPOL PRG1CON1bits.RG1FPOL // bit 1, shadows bit in PRG1CON1bits
16077 #define RDY PRG1CON1bits.RDY // bit 2, shadows bit in PRG1CON1bits
16078 #define RG1RDY PRG1CON1bits.RG1RDY // bit 2, shadows bit in PRG1CON1bits
16080 #define ISET0 PRG1CON2bits.ISET0 // bit 0, shadows bit in PRG1CON2bits
16081 #define RG1ISET0 PRG1CON2bits.RG1ISET0 // bit 0, shadows bit in PRG1CON2bits
16082 #define ISET1 PRG1CON2bits.ISET1 // bit 1, shadows bit in PRG1CON2bits
16083 #define RG1ISET1 PRG1CON2bits.RG1ISET1 // bit 1, shadows bit in PRG1CON2bits
16084 #define ISET2 PRG1CON2bits.ISET2 // bit 2, shadows bit in PRG1CON2bits
16085 #define RG1ISET2 PRG1CON2bits.RG1ISET2 // bit 2, shadows bit in PRG1CON2bits
16086 #define ISET3 PRG1CON2bits.ISET3 // bit 3, shadows bit in PRG1CON2bits
16087 #define RG1ISET3 PRG1CON2bits.RG1ISET3 // bit 3, shadows bit in PRG1CON2bits
16088 #define ISET4 PRG1CON2bits.ISET4 // bit 4, shadows bit in PRG1CON2bits
16089 #define RG1ISET4 PRG1CON2bits.RG1ISET4 // bit 4, shadows bit in PRG1CON2bits
16091 #define FTSS0 PRG1FTSSbits.FTSS0 // bit 0, shadows bit in PRG1FTSSbits
16092 #define RG1FTSS0 PRG1FTSSbits.RG1FTSS0 // bit 0, shadows bit in PRG1FTSSbits
16093 #define FTSS1 PRG1FTSSbits.FTSS1 // bit 1, shadows bit in PRG1FTSSbits
16094 #define RG1FTSS1 PRG1FTSSbits.RG1FTSS1 // bit 1, shadows bit in PRG1FTSSbits
16095 #define FTSS2 PRG1FTSSbits.FTSS2 // bit 2, shadows bit in PRG1FTSSbits
16096 #define RG1FTSS2 PRG1FTSSbits.RG1FTSS2 // bit 2, shadows bit in PRG1FTSSbits
16097 #define FTSS3 PRG1FTSSbits.FTSS3 // bit 3, shadows bit in PRG1FTSSbits
16098 #define RG1FTSS3 PRG1FTSSbits.RG1FTSS3 // bit 3, shadows bit in PRG1FTSSbits
16100 #define INS0 PRG1INSbits.INS0 // bit 0, shadows bit in PRG1INSbits
16101 #define RG1INS0 PRG1INSbits.RG1INS0 // bit 0, shadows bit in PRG1INSbits
16102 #define INS1 PRG1INSbits.INS1 // bit 1, shadows bit in PRG1INSbits
16103 #define RG1INS1 PRG1INSbits.RG1INS1 // bit 1, shadows bit in PRG1INSbits
16104 #define INS2 PRG1INSbits.INS2 // bit 2, shadows bit in PRG1INSbits
16105 #define RG1INS2 PRG1INSbits.RG1INS2 // bit 2, shadows bit in PRG1INSbits
16106 #define INS3 PRG1INSbits.INS3 // bit 3, shadows bit in PRG1INSbits
16107 #define RG1INS3 PRG1INSbits.RG1INS3 // bit 3, shadows bit in PRG1INSbits
16109 #define RTSS0 PRG1RTSSbits.RTSS0 // bit 0, shadows bit in PRG1RTSSbits
16110 #define RG1RTSS0 PRG1RTSSbits.RG1RTSS0 // bit 0, shadows bit in PRG1RTSSbits
16111 #define RTSS1 PRG1RTSSbits.RTSS1 // bit 1, shadows bit in PRG1RTSSbits
16112 #define RG1RTSS1 PRG1RTSSbits.RG1RTSS1 // bit 1, shadows bit in PRG1RTSSbits
16113 #define RTSS2 PRG1RTSSbits.RTSS2 // bit 2, shadows bit in PRG1RTSSbits
16114 #define RG1RTSS2 PRG1RTSSbits.RG1RTSS2 // bit 2, shadows bit in PRG1RTSSbits
16115 #define RTSS3 PRG1RTSSbits.RTSS3 // bit 3, shadows bit in PRG1RTSSbits
16116 #define RG1RTSS3 PRG1RTSSbits.RG1RTSS3 // bit 3, shadows bit in PRG1RTSSbits
16118 #define DC2 PWM3DCHbits.DC2 // bit 0, shadows bit in PWM3DCHbits
16119 #define PWM3DC2 PWM3DCHbits.PWM3DC2 // bit 0, shadows bit in PWM3DCHbits
16120 #define PWMPW2 PWM3DCHbits.PWMPW2 // bit 0, shadows bit in PWM3DCHbits
16121 #define DC3 PWM3DCHbits.DC3 // bit 1, shadows bit in PWM3DCHbits
16122 #define PWM3DC3 PWM3DCHbits.PWM3DC3 // bit 1, shadows bit in PWM3DCHbits
16123 #define PWMPW3 PWM3DCHbits.PWMPW3 // bit 1, shadows bit in PWM3DCHbits
16124 #define DC4 PWM3DCHbits.DC4 // bit 2, shadows bit in PWM3DCHbits
16125 #define PWM3DC4 PWM3DCHbits.PWM3DC4 // bit 2, shadows bit in PWM3DCHbits
16126 #define PWMPW4 PWM3DCHbits.PWMPW4 // bit 2, shadows bit in PWM3DCHbits
16127 #define DC5 PWM3DCHbits.DC5 // bit 3, shadows bit in PWM3DCHbits
16128 #define PWM3DC5 PWM3DCHbits.PWM3DC5 // bit 3, shadows bit in PWM3DCHbits
16129 #define PWMPW5 PWM3DCHbits.PWMPW5 // bit 3, shadows bit in PWM3DCHbits
16130 #define DC6 PWM3DCHbits.DC6 // bit 4, shadows bit in PWM3DCHbits
16131 #define PWM3DC6 PWM3DCHbits.PWM3DC6 // bit 4, shadows bit in PWM3DCHbits
16132 #define PWMPW6 PWM3DCHbits.PWMPW6 // bit 4, shadows bit in PWM3DCHbits
16133 #define DC7 PWM3DCHbits.DC7 // bit 5, shadows bit in PWM3DCHbits
16134 #define PWM3DC7 PWM3DCHbits.PWM3DC7 // bit 5, shadows bit in PWM3DCHbits
16135 #define PWMPW7 PWM3DCHbits.PWMPW7 // bit 5, shadows bit in PWM3DCHbits
16136 #define DC8 PWM3DCHbits.DC8 // bit 6, shadows bit in PWM3DCHbits
16137 #define PWM3DC8 PWM3DCHbits.PWM3DC8 // bit 6, shadows bit in PWM3DCHbits
16138 #define PWMPW8 PWM3DCHbits.PWMPW8 // bit 6, shadows bit in PWM3DCHbits
16139 #define DC9 PWM3DCHbits.DC9 // bit 7, shadows bit in PWM3DCHbits
16140 #define PWM3DC9 PWM3DCHbits.PWM3DC9 // bit 7, shadows bit in PWM3DCHbits
16141 #define PWMPW9 PWM3DCHbits.PWMPW9 // bit 7, shadows bit in PWM3DCHbits
16143 #define DC0 PWM3DCLbits.DC0 // bit 6, shadows bit in PWM3DCLbits
16144 #define PWM3DC0 PWM3DCLbits.PWM3DC0 // bit 6, shadows bit in PWM3DCLbits
16145 #define PWMPW0 PWM3DCLbits.PWMPW0 // bit 6, shadows bit in PWM3DCLbits
16146 #define DC1 PWM3DCLbits.DC1 // bit 7, shadows bit in PWM3DCLbits
16147 #define PWM3DC1 PWM3DCLbits.PWM3DC1 // bit 7, shadows bit in PWM3DCLbits
16148 #define PWMPW1 PWM3DCLbits.PWMPW1 // bit 7, shadows bit in PWM3DCLbits
16150 #define PWM5DCH0 PWM5DCHbits.PWM5DCH0 // bit 0
16151 #define PWM5DCH1 PWM5DCHbits.PWM5DCH1 // bit 1
16152 #define PWM5DCH2 PWM5DCHbits.PWM5DCH2 // bit 2
16153 #define PWM5DCH3 PWM5DCHbits.PWM5DCH3 // bit 3
16154 #define PWM5DCH4 PWM5DCHbits.PWM5DCH4 // bit 4
16155 #define PWM5DCH5 PWM5DCHbits.PWM5DCH5 // bit 5
16156 #define PWM5DCH6 PWM5DCHbits.PWM5DCH6 // bit 6
16157 #define PWM5DCH7 PWM5DCHbits.PWM5DCH7 // bit 7
16159 #define PWM5DCL0 PWM5DCLbits.PWM5DCL0 // bit 0
16160 #define PWM5DCL1 PWM5DCLbits.PWM5DCL1 // bit 1
16161 #define PWM5DCL2 PWM5DCLbits.PWM5DCL2 // bit 2
16162 #define PWM5DCL3 PWM5DCLbits.PWM5DCL3 // bit 3
16163 #define PWM5DCL4 PWM5DCLbits.PWM5DCL4 // bit 4
16164 #define PWM5DCL5 PWM5DCLbits.PWM5DCL5 // bit 5
16165 #define PWM5DCL6 PWM5DCLbits.PWM5DCL6 // bit 6
16166 #define PWM5DCL7 PWM5DCLbits.PWM5DCL7 // bit 7
16168 #define PRIE PWM5INTCONbits.PRIE // bit 0, shadows bit in PWM5INTCONbits
16169 #define PWM5PRIE PWM5INTCONbits.PWM5PRIE // bit 0, shadows bit in PWM5INTCONbits
16170 #define DCIE PWM5INTCONbits.DCIE // bit 1, shadows bit in PWM5INTCONbits
16171 #define PWM5DCIE PWM5INTCONbits.PWM5DCIE // bit 1, shadows bit in PWM5INTCONbits
16172 #define PHIE PWM5INTCONbits.PHIE // bit 2, shadows bit in PWM5INTCONbits
16173 #define PWM5PHIE PWM5INTCONbits.PWM5PHIE // bit 2, shadows bit in PWM5INTCONbits
16174 #define OFIE PWM5INTCONbits.OFIE // bit 3, shadows bit in PWM5INTCONbits
16175 #define PWM5OFIE PWM5INTCONbits.PWM5OFIE // bit 3, shadows bit in PWM5INTCONbits
16177 #define PRIF PWM5INTFbits.PRIF // bit 0, shadows bit in PWM5INTFbits
16178 #define PWM5PRIF PWM5INTFbits.PWM5PRIF // bit 0, shadows bit in PWM5INTFbits
16179 #define DCIF PWM5INTFbits.DCIF // bit 1, shadows bit in PWM5INTFbits
16180 #define PWM5DCIF PWM5INTFbits.PWM5DCIF // bit 1, shadows bit in PWM5INTFbits
16181 #define PHIF PWM5INTFbits.PHIF // bit 2, shadows bit in PWM5INTFbits
16182 #define PWM5PHIF PWM5INTFbits.PWM5PHIF // bit 2, shadows bit in PWM5INTFbits
16183 #define OFIF PWM5INTFbits.OFIF // bit 3, shadows bit in PWM5INTFbits
16184 #define PWM5OFIF PWM5INTFbits.PWM5OFIF // bit 3, shadows bit in PWM5INTFbits
16186 #define PWM5LDS0 PWM5LDCONbits.PWM5LDS0 // bit 0, shadows bit in PWM5LDCONbits
16187 #define LDS0 PWM5LDCONbits.LDS0 // bit 0, shadows bit in PWM5LDCONbits
16188 #define LDT PWM5LDCONbits.LDT // bit 6, shadows bit in PWM5LDCONbits
16189 #define PWM5LDM PWM5LDCONbits.PWM5LDM // bit 6, shadows bit in PWM5LDCONbits
16190 #define LDA PWM5LDCONbits.LDA // bit 7, shadows bit in PWM5LDCONbits
16191 #define PWM5LD PWM5LDCONbits.PWM5LD // bit 7, shadows bit in PWM5LDCONbits
16193 #define PWM5OFS0 PWM5OFCONbits.PWM5OFS0 // bit 0, shadows bit in PWM5OFCONbits
16194 #define OFS0 PWM5OFCONbits.OFS0 // bit 0, shadows bit in PWM5OFCONbits
16195 #define OFO PWM5OFCONbits.OFO // bit 4, shadows bit in PWM5OFCONbits
16196 #define PWM5OFMC PWM5OFCONbits.PWM5OFMC // bit 4, shadows bit in PWM5OFCONbits
16197 #define PWM5OFM0 PWM5OFCONbits.PWM5OFM0 // bit 5, shadows bit in PWM5OFCONbits
16198 #define OFM0 PWM5OFCONbits.OFM0 // bit 5, shadows bit in PWM5OFCONbits
16199 #define PWM5OFM1 PWM5OFCONbits.PWM5OFM1 // bit 6, shadows bit in PWM5OFCONbits
16200 #define OFM1 PWM5OFCONbits.OFM1 // bit 6, shadows bit in PWM5OFCONbits
16202 #define PWM5OFH0 PWM5OFHbits.PWM5OFH0 // bit 0
16203 #define PWM5OFH1 PWM5OFHbits.PWM5OFH1 // bit 1
16204 #define PWM5OFH2 PWM5OFHbits.PWM5OFH2 // bit 2
16205 #define PWM5OFH3 PWM5OFHbits.PWM5OFH3 // bit 3
16206 #define PWM5OFH4 PWM5OFHbits.PWM5OFH4 // bit 4
16207 #define PWM5OFH5 PWM5OFHbits.PWM5OFH5 // bit 5
16208 #define PWM5OFH6 PWM5OFHbits.PWM5OFH6 // bit 6
16209 #define PWM5OFH7 PWM5OFHbits.PWM5OFH7 // bit 7
16211 #define PWM5OFL0 PWM5OFLbits.PWM5OFL0 // bit 0
16212 #define PWM5OFL1 PWM5OFLbits.PWM5OFL1 // bit 1
16213 #define PWM5OFL2 PWM5OFLbits.PWM5OFL2 // bit 2
16214 #define PWM5OFL3 PWM5OFLbits.PWM5OFL3 // bit 3
16215 #define PWM5OFL4 PWM5OFLbits.PWM5OFL4 // bit 4
16216 #define PWM5OFL5 PWM5OFLbits.PWM5OFL5 // bit 5
16217 #define PWM5OFL6 PWM5OFLbits.PWM5OFL6 // bit 6
16218 #define PWM5OFL7 PWM5OFLbits.PWM5OFL7 // bit 7
16220 #define PWM5PHH0 PWM5PHHbits.PWM5PHH0 // bit 0
16221 #define PWM5PHH1 PWM5PHHbits.PWM5PHH1 // bit 1
16222 #define PWM5PHH2 PWM5PHHbits.PWM5PHH2 // bit 2
16223 #define PWM5PHH3 PWM5PHHbits.PWM5PHH3 // bit 3
16224 #define PWM5PHH4 PWM5PHHbits.PWM5PHH4 // bit 4
16225 #define PWM5PHH5 PWM5PHHbits.PWM5PHH5 // bit 5
16226 #define PWM5PHH6 PWM5PHHbits.PWM5PHH6 // bit 6
16227 #define PWM5PHH7 PWM5PHHbits.PWM5PHH7 // bit 7
16229 #define PWM5PHL0 PWM5PHLbits.PWM5PHL0 // bit 0
16230 #define PWM5PHL1 PWM5PHLbits.PWM5PHL1 // bit 1
16231 #define PWM5PHL2 PWM5PHLbits.PWM5PHL2 // bit 2
16232 #define PWM5PHL3 PWM5PHLbits.PWM5PHL3 // bit 3
16233 #define PWM5PHL4 PWM5PHLbits.PWM5PHL4 // bit 4
16234 #define PWM5PHL5 PWM5PHLbits.PWM5PHL5 // bit 5
16235 #define PWM5PHL6 PWM5PHLbits.PWM5PHL6 // bit 6
16236 #define PWM5PHL7 PWM5PHLbits.PWM5PHL7 // bit 7
16238 #define PWM5PRH0 PWM5PRHbits.PWM5PRH0 // bit 0
16239 #define PWM5PRH1 PWM5PRHbits.PWM5PRH1 // bit 1
16240 #define PWM5PRH2 PWM5PRHbits.PWM5PRH2 // bit 2
16241 #define PWM5PRH3 PWM5PRHbits.PWM5PRH3 // bit 3
16242 #define PWM5PRH4 PWM5PRHbits.PWM5PRH4 // bit 4
16243 #define PWM5PRH5 PWM5PRHbits.PWM5PRH5 // bit 5
16244 #define PWM5PRH6 PWM5PRHbits.PWM5PRH6 // bit 6
16245 #define PWM5PRH7 PWM5PRHbits.PWM5PRH7 // bit 7
16247 #define PWM5PRL0 PWM5PRLbits.PWM5PRL0 // bit 0
16248 #define PWM5PRL1 PWM5PRLbits.PWM5PRL1 // bit 1
16249 #define PWM5PRL2 PWM5PRLbits.PWM5PRL2 // bit 2
16250 #define PWM5PRL3 PWM5PRLbits.PWM5PRL3 // bit 3
16251 #define PWM5PRL4 PWM5PRLbits.PWM5PRL4 // bit 4
16252 #define PWM5PRL5 PWM5PRLbits.PWM5PRL5 // bit 5
16253 #define PWM5PRL6 PWM5PRLbits.PWM5PRL6 // bit 6
16254 #define PWM5PRL7 PWM5PRLbits.PWM5PRL7 // bit 7
16256 #define PWM5TMRH0 PWM5TMRHbits.PWM5TMRH0 // bit 0
16257 #define PWM5TMRH1 PWM5TMRHbits.PWM5TMRH1 // bit 1
16258 #define PWM5TMRH2 PWM5TMRHbits.PWM5TMRH2 // bit 2
16259 #define PWM5TMRH3 PWM5TMRHbits.PWM5TMRH3 // bit 3
16260 #define PWM5TMRH4 PWM5TMRHbits.PWM5TMRH4 // bit 4
16261 #define PWM5TMRH5 PWM5TMRHbits.PWM5TMRH5 // bit 5
16262 #define PWM5TMRH6 PWM5TMRHbits.PWM5TMRH6 // bit 6
16263 #define PWM5TMRH7 PWM5TMRHbits.PWM5TMRH7 // bit 7
16265 #define PWM5TMRL0 PWM5TMRLbits.PWM5TMRL0 // bit 0
16266 #define PWM5TMRL1 PWM5TMRLbits.PWM5TMRL1 // bit 1
16267 #define PWM5TMRL2 PWM5TMRLbits.PWM5TMRL2 // bit 2
16268 #define PWM5TMRL3 PWM5TMRLbits.PWM5TMRL3 // bit 3
16269 #define PWM5TMRL4 PWM5TMRLbits.PWM5TMRL4 // bit 4
16270 #define PWM5TMRL5 PWM5TMRLbits.PWM5TMRL5 // bit 5
16271 #define PWM5TMRL6 PWM5TMRLbits.PWM5TMRL6 // bit 6
16272 #define PWM5TMRL7 PWM5TMRLbits.PWM5TMRL7 // bit 7
16274 #define PWM6DCH0 PWM6DCHbits.PWM6DCH0 // bit 0
16275 #define PWM6DCH1 PWM6DCHbits.PWM6DCH1 // bit 1
16276 #define PWM6DCH2 PWM6DCHbits.PWM6DCH2 // bit 2
16277 #define PWM6DCH3 PWM6DCHbits.PWM6DCH3 // bit 3
16278 #define PWM6DCH4 PWM6DCHbits.PWM6DCH4 // bit 4
16279 #define PWM6DCH5 PWM6DCHbits.PWM6DCH5 // bit 5
16280 #define PWM6DCH6 PWM6DCHbits.PWM6DCH6 // bit 6
16281 #define PWM6DCH7 PWM6DCHbits.PWM6DCH7 // bit 7
16283 #define PWM6DCL0 PWM6DCLbits.PWM6DCL0 // bit 0
16284 #define PWM6DCL1 PWM6DCLbits.PWM6DCL1 // bit 1
16285 #define PWM6DCL2 PWM6DCLbits.PWM6DCL2 // bit 2
16286 #define PWM6DCL3 PWM6DCLbits.PWM6DCL3 // bit 3
16287 #define PWM6DCL4 PWM6DCLbits.PWM6DCL4 // bit 4
16288 #define PWM6DCL5 PWM6DCLbits.PWM6DCL5 // bit 5
16289 #define PWM6DCL6 PWM6DCLbits.PWM6DCL6 // bit 6
16290 #define PWM6DCL7 PWM6DCLbits.PWM6DCL7 // bit 7
16292 #define PWM6OFH0 PWM6OFHbits.PWM6OFH0 // bit 0
16293 #define PWM6OFH1 PWM6OFHbits.PWM6OFH1 // bit 1
16294 #define PWM6OFH2 PWM6OFHbits.PWM6OFH2 // bit 2
16295 #define PWM6OFH3 PWM6OFHbits.PWM6OFH3 // bit 3
16296 #define PWM6OFH4 PWM6OFHbits.PWM6OFH4 // bit 4
16297 #define PWM6OFH5 PWM6OFHbits.PWM6OFH5 // bit 5
16298 #define PWM6OFH6 PWM6OFHbits.PWM6OFH6 // bit 6
16299 #define PWM6OFH7 PWM6OFHbits.PWM6OFH7 // bit 7
16301 #define PWM6OFL0 PWM6OFLbits.PWM6OFL0 // bit 0
16302 #define PWM6OFL1 PWM6OFLbits.PWM6OFL1 // bit 1
16303 #define PWM6OFL2 PWM6OFLbits.PWM6OFL2 // bit 2
16304 #define PWM6OFL3 PWM6OFLbits.PWM6OFL3 // bit 3
16305 #define PWM6OFL4 PWM6OFLbits.PWM6OFL4 // bit 4
16306 #define PWM6OFL5 PWM6OFLbits.PWM6OFL5 // bit 5
16307 #define PWM6OFL6 PWM6OFLbits.PWM6OFL6 // bit 6
16308 #define PWM6OFL7 PWM6OFLbits.PWM6OFL7 // bit 7
16310 #define PWM6PHH0 PWM6PHHbits.PWM6PHH0 // bit 0
16311 #define PWM6PHH1 PWM6PHHbits.PWM6PHH1 // bit 1
16312 #define PWM6PHH2 PWM6PHHbits.PWM6PHH2 // bit 2
16313 #define PWM6PHH3 PWM6PHHbits.PWM6PHH3 // bit 3
16314 #define PWM6PHH4 PWM6PHHbits.PWM6PHH4 // bit 4
16315 #define PWM6PHH5 PWM6PHHbits.PWM6PHH5 // bit 5
16316 #define PWM6PHH6 PWM6PHHbits.PWM6PHH6 // bit 6
16317 #define PWM6PHH7 PWM6PHHbits.PWM6PHH7 // bit 7
16319 #define PWM6PHL0 PWM6PHLbits.PWM6PHL0 // bit 0
16320 #define PWM6PHL1 PWM6PHLbits.PWM6PHL1 // bit 1
16321 #define PWM6PHL2 PWM6PHLbits.PWM6PHL2 // bit 2
16322 #define PWM6PHL3 PWM6PHLbits.PWM6PHL3 // bit 3
16323 #define PWM6PHL4 PWM6PHLbits.PWM6PHL4 // bit 4
16324 #define PWM6PHL5 PWM6PHLbits.PWM6PHL5 // bit 5
16325 #define PWM6PHL6 PWM6PHLbits.PWM6PHL6 // bit 6
16326 #define PWM6PHL7 PWM6PHLbits.PWM6PHL7 // bit 7
16328 #define PWM6PRH0 PWM6PRHbits.PWM6PRH0 // bit 0
16329 #define PWM6PRH1 PWM6PRHbits.PWM6PRH1 // bit 1
16330 #define PWM6PRH2 PWM6PRHbits.PWM6PRH2 // bit 2
16331 #define PWM6PRH3 PWM6PRHbits.PWM6PRH3 // bit 3
16332 #define PWM6PRH4 PWM6PRHbits.PWM6PRH4 // bit 4
16333 #define PWM6PRH5 PWM6PRHbits.PWM6PRH5 // bit 5
16334 #define PWM6PRH6 PWM6PRHbits.PWM6PRH6 // bit 6
16335 #define PWM6PRH7 PWM6PRHbits.PWM6PRH7 // bit 7
16337 #define PWM6PRL0 PWM6PRLbits.PWM6PRL0 // bit 0
16338 #define PWM6PRL1 PWM6PRLbits.PWM6PRL1 // bit 1
16339 #define PWM6PRL2 PWM6PRLbits.PWM6PRL2 // bit 2
16340 #define PWM6PRL3 PWM6PRLbits.PWM6PRL3 // bit 3
16341 #define PWM6PRL4 PWM6PRLbits.PWM6PRL4 // bit 4
16342 #define PWM6PRL5 PWM6PRLbits.PWM6PRL5 // bit 5
16343 #define PWM6PRL6 PWM6PRLbits.PWM6PRL6 // bit 6
16344 #define PWM6PRL7 PWM6PRLbits.PWM6PRL7 // bit 7
16346 #define PWM6TMRH0 PWM6TMRHbits.PWM6TMRH0 // bit 0
16347 #define PWM6TMRH1 PWM6TMRHbits.PWM6TMRH1 // bit 1
16348 #define PWM6TMRH2 PWM6TMRHbits.PWM6TMRH2 // bit 2
16349 #define PWM6TMRH3 PWM6TMRHbits.PWM6TMRH3 // bit 3
16350 #define PWM6TMRH4 PWM6TMRHbits.PWM6TMRH4 // bit 4
16351 #define PWM6TMRH5 PWM6TMRHbits.PWM6TMRH5 // bit 5
16352 #define PWM6TMRH6 PWM6TMRHbits.PWM6TMRH6 // bit 6
16353 #define PWM6TMRH7 PWM6TMRHbits.PWM6TMRH7 // bit 7
16355 #define PWM6TMRL0 PWM6TMRLbits.PWM6TMRL0 // bit 0
16356 #define PWM6TMRL1 PWM6TMRLbits.PWM6TMRL1 // bit 1
16357 #define PWM6TMRL2 PWM6TMRLbits.PWM6TMRL2 // bit 2
16358 #define PWM6TMRL3 PWM6TMRLbits.PWM6TMRL3 // bit 3
16359 #define PWM6TMRL4 PWM6TMRLbits.PWM6TMRL4 // bit 4
16360 #define PWM6TMRL5 PWM6TMRLbits.PWM6TMRL5 // bit 5
16361 #define PWM6TMRL6 PWM6TMRLbits.PWM6TMRL6 // bit 6
16362 #define PWM6TMRL7 PWM6TMRLbits.PWM6TMRL7 // bit 7
16364 #define MPWM5EN PWMENbits.MPWM5EN // bit 4
16365 #define MPWM6EN PWMENbits.MPWM6EN // bit 5
16367 #define MPWM5LD PWMLDbits.MPWM5LD // bit 4
16368 #define MPWM6LD PWMLDbits.MPWM6LD // bit 5
16370 #define MPWM5OUT PWMOUTbits.MPWM5OUT // bit 4
16371 #define MPWM6OUT PWMOUTbits.MPWM6OUT // bit 5
16373 #define RX9D RC1STAbits.RX9D // bit 0
16374 #define OERR RC1STAbits.OERR // bit 1
16375 #define FERR RC1STAbits.FERR // bit 2
16376 #define ADDEN RC1STAbits.ADDEN // bit 3
16377 #define CREN RC1STAbits.CREN // bit 4
16378 #define SREN RC1STAbits.SREN // bit 5
16379 #define RX9 RC1STAbits.RX9 // bit 6
16380 #define SPEN RC1STAbits.SPEN // bit 7
16382 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
16383 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
16384 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
16385 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
16386 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
16388 #define SLRB4 SLRCONBbits.SLRB4 // bit 4
16389 #define SLRB5 SLRCONBbits.SLRB5 // bit 5
16390 #define SLRB6 SLRCONBbits.SLRB6 // bit 6
16391 #define SLRB7 SLRCONBbits.SLRB7 // bit 7
16393 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
16394 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
16395 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
16396 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
16397 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
16398 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
16399 #define SLRC6 SLRCONCbits.SLRC6 // bit 6
16400 #define SLRC7 SLRCONCbits.SLRC7 // bit 7
16402 #define SSP1ADD0 SSP1ADDbits.SSP1ADD0 // bit 0, shadows bit in SSP1ADDbits
16403 #define ADD0 SSP1ADDbits.ADD0 // bit 0, shadows bit in SSP1ADDbits
16404 #define SSP1ADD1 SSP1ADDbits.SSP1ADD1 // bit 1, shadows bit in SSP1ADDbits
16405 #define ADD1 SSP1ADDbits.ADD1 // bit 1, shadows bit in SSP1ADDbits
16406 #define SSP1ADD2 SSP1ADDbits.SSP1ADD2 // bit 2, shadows bit in SSP1ADDbits
16407 #define ADD2 SSP1ADDbits.ADD2 // bit 2, shadows bit in SSP1ADDbits
16408 #define SSP1ADD3 SSP1ADDbits.SSP1ADD3 // bit 3, shadows bit in SSP1ADDbits
16409 #define ADD3 SSP1ADDbits.ADD3 // bit 3, shadows bit in SSP1ADDbits
16410 #define SSP1ADD4 SSP1ADDbits.SSP1ADD4 // bit 4, shadows bit in SSP1ADDbits
16411 #define ADD4 SSP1ADDbits.ADD4 // bit 4, shadows bit in SSP1ADDbits
16412 #define SSP1ADD5 SSP1ADDbits.SSP1ADD5 // bit 5, shadows bit in SSP1ADDbits
16413 #define ADD5 SSP1ADDbits.ADD5 // bit 5, shadows bit in SSP1ADDbits
16414 #define SSP1ADD6 SSP1ADDbits.SSP1ADD6 // bit 6, shadows bit in SSP1ADDbits
16415 #define ADD6 SSP1ADDbits.ADD6 // bit 6, shadows bit in SSP1ADDbits
16416 #define SSP1ADD7 SSP1ADDbits.SSP1ADD7 // bit 7, shadows bit in SSP1ADDbits
16417 #define ADD7 SSP1ADDbits.ADD7 // bit 7, shadows bit in SSP1ADDbits
16419 #define SSP1BUF0 SSP1BUFbits.SSP1BUF0 // bit 0, shadows bit in SSP1BUFbits
16420 #define BUF0 SSP1BUFbits.BUF0 // bit 0, shadows bit in SSP1BUFbits
16421 #define SSP1BUF1 SSP1BUFbits.SSP1BUF1 // bit 1, shadows bit in SSP1BUFbits
16422 #define BUF1 SSP1BUFbits.BUF1 // bit 1, shadows bit in SSP1BUFbits
16423 #define SSP1BUF2 SSP1BUFbits.SSP1BUF2 // bit 2, shadows bit in SSP1BUFbits
16424 #define BUF2 SSP1BUFbits.BUF2 // bit 2, shadows bit in SSP1BUFbits
16425 #define SSP1BUF3 SSP1BUFbits.SSP1BUF3 // bit 3, shadows bit in SSP1BUFbits
16426 #define BUF3 SSP1BUFbits.BUF3 // bit 3, shadows bit in SSP1BUFbits
16427 #define SSP1BUF4 SSP1BUFbits.SSP1BUF4 // bit 4, shadows bit in SSP1BUFbits
16428 #define BUF4 SSP1BUFbits.BUF4 // bit 4, shadows bit in SSP1BUFbits
16429 #define SSP1BUF5 SSP1BUFbits.SSP1BUF5 // bit 5, shadows bit in SSP1BUFbits
16430 #define BUF5 SSP1BUFbits.BUF5 // bit 5, shadows bit in SSP1BUFbits
16431 #define SSP1BUF6 SSP1BUFbits.SSP1BUF6 // bit 6, shadows bit in SSP1BUFbits
16432 #define BUF6 SSP1BUFbits.BUF6 // bit 6, shadows bit in SSP1BUFbits
16433 #define SSP1BUF7 SSP1BUFbits.SSP1BUF7 // bit 7, shadows bit in SSP1BUFbits
16434 #define BUF7 SSP1BUFbits.BUF7 // bit 7, shadows bit in SSP1BUFbits
16436 #define SSPM0 SSP1CONbits.SSPM0 // bit 0
16437 #define SSPM1 SSP1CONbits.SSPM1 // bit 1
16438 #define SSPM2 SSP1CONbits.SSPM2 // bit 2
16439 #define SSPM3 SSP1CONbits.SSPM3 // bit 3
16440 #define CKP SSP1CONbits.CKP // bit 4
16441 #define SSPEN SSP1CONbits.SSPEN // bit 5
16442 #define SSPOV SSP1CONbits.SSPOV // bit 6
16443 #define WCOL SSP1CONbits.WCOL // bit 7
16445 #define SEN SSP1CON2bits.SEN // bit 0
16446 #define RSEN SSP1CON2bits.RSEN // bit 1
16447 #define PEN SSP1CON2bits.PEN // bit 2
16448 #define RCEN SSP1CON2bits.RCEN // bit 3
16449 #define ACKEN SSP1CON2bits.ACKEN // bit 4
16450 #define ACKDT SSP1CON2bits.ACKDT // bit 5
16451 #define ACKSTAT SSP1CON2bits.ACKSTAT // bit 6
16452 #define GCEN SSP1CON2bits.GCEN // bit 7
16454 #define DHEN SSP1CON3bits.DHEN // bit 0
16455 #define AHEN SSP1CON3bits.AHEN // bit 1
16456 #define SBCDE SSP1CON3bits.SBCDE // bit 2
16457 #define SDAHT SSP1CON3bits.SDAHT // bit 3
16458 #define BOEN SSP1CON3bits.BOEN // bit 4
16459 #define SCIE SSP1CON3bits.SCIE // bit 5
16460 #define PCIE SSP1CON3bits.PCIE // bit 6
16461 #define ACKTIM SSP1CON3bits.ACKTIM // bit 7
16463 #define SSP1MSK0 SSP1MSKbits.SSP1MSK0 // bit 0, shadows bit in SSP1MSKbits
16464 #define MSK0 SSP1MSKbits.MSK0 // bit 0, shadows bit in SSP1MSKbits
16465 #define SSP1MSK1 SSP1MSKbits.SSP1MSK1 // bit 1, shadows bit in SSP1MSKbits
16466 #define MSK1 SSP1MSKbits.MSK1 // bit 1, shadows bit in SSP1MSKbits
16467 #define SSP1MSK2 SSP1MSKbits.SSP1MSK2 // bit 2, shadows bit in SSP1MSKbits
16468 #define MSK2 SSP1MSKbits.MSK2 // bit 2, shadows bit in SSP1MSKbits
16469 #define SSP1MSK3 SSP1MSKbits.SSP1MSK3 // bit 3, shadows bit in SSP1MSKbits
16470 #define MSK3 SSP1MSKbits.MSK3 // bit 3, shadows bit in SSP1MSKbits
16471 #define SSP1MSK4 SSP1MSKbits.SSP1MSK4 // bit 4, shadows bit in SSP1MSKbits
16472 #define MSK4 SSP1MSKbits.MSK4 // bit 4, shadows bit in SSP1MSKbits
16473 #define SSP1MSK5 SSP1MSKbits.SSP1MSK5 // bit 5, shadows bit in SSP1MSKbits
16474 #define MSK5 SSP1MSKbits.MSK5 // bit 5, shadows bit in SSP1MSKbits
16475 #define SSP1MSK6 SSP1MSKbits.SSP1MSK6 // bit 6, shadows bit in SSP1MSKbits
16476 #define MSK6 SSP1MSKbits.MSK6 // bit 6, shadows bit in SSP1MSKbits
16477 #define SSP1MSK7 SSP1MSKbits.SSP1MSK7 // bit 7, shadows bit in SSP1MSKbits
16478 #define MSK7 SSP1MSKbits.MSK7 // bit 7, shadows bit in SSP1MSKbits
16480 #define BF SSP1STATbits.BF // bit 0
16481 #define UA SSP1STATbits.UA // bit 1
16482 #define R_NOT_W SSP1STATbits.R_NOT_W // bit 2
16483 #define S SSP1STATbits.S // bit 3
16484 #define P SSP1STATbits.P // bit 4
16485 #define D_NOT_A SSP1STATbits.D_NOT_A // bit 5
16486 #define CKE SSP1STATbits.CKE // bit 6
16487 #define SMP SSP1STATbits.SMP // bit 7
16489 #define C STATUSbits.C // bit 0
16490 #define DC STATUSbits.DC // bit 1
16491 #define Z STATUSbits.Z // bit 2
16492 #define NOT_PD STATUSbits.NOT_PD // bit 3
16493 #define NOT_TO STATUSbits.NOT_TO // bit 4
16495 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
16496 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
16497 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
16499 #define GSS0 T1GCONbits.GSS0 // bit 0, shadows bit in T1GCONbits
16500 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0, shadows bit in T1GCONbits
16501 #define GSS1 T1GCONbits.GSS1 // bit 1, shadows bit in T1GCONbits
16502 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1, shadows bit in T1GCONbits
16503 #define GVAL T1GCONbits.GVAL // bit 2, shadows bit in T1GCONbits
16504 #define T1GVAL T1GCONbits.T1GVAL // bit 2, shadows bit in T1GCONbits
16505 #define GGO_NOT_DONE T1GCONbits.GGO_NOT_DONE // bit 3, shadows bit in T1GCONbits
16506 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3, shadows bit in T1GCONbits
16507 #define GSPM T1GCONbits.GSPM // bit 4, shadows bit in T1GCONbits
16508 #define T1GSPM T1GCONbits.T1GSPM // bit 4, shadows bit in T1GCONbits
16509 #define GTM T1GCONbits.GTM // bit 5, shadows bit in T1GCONbits
16510 #define T1GTM T1GCONbits.T1GTM // bit 5, shadows bit in T1GCONbits
16511 #define GPOL T1GCONbits.GPOL // bit 6, shadows bit in T1GCONbits
16512 #define T1GPOL T1GCONbits.T1GPOL // bit 6, shadows bit in T1GCONbits
16513 #define GE T1GCONbits.GE // bit 7, shadows bit in T1GCONbits
16514 #define T1GE T1GCONbits.T1GE // bit 7, shadows bit in T1GCONbits
16515 #define TMR1GE T1GCONbits.TMR1GE // bit 7, shadows bit in T1GCONbits
16517 #define RSEL0 T2RSTbits.RSEL0 // bit 0, shadows bit in T2RSTbits
16518 #define T2RSEL0 T2RSTbits.T2RSEL0 // bit 0, shadows bit in T2RSTbits
16519 #define RSEL1 T2RSTbits.RSEL1 // bit 1, shadows bit in T2RSTbits
16520 #define T2RSEL1 T2RSTbits.T2RSEL1 // bit 1, shadows bit in T2RSTbits
16521 #define RSEL2 T2RSTbits.RSEL2 // bit 2, shadows bit in T2RSTbits
16522 #define T2RSEL2 T2RSTbits.T2RSEL2 // bit 2, shadows bit in T2RSTbits
16523 #define RSEL3 T2RSTbits.RSEL3 // bit 3, shadows bit in T2RSTbits
16524 #define T2RSEL3 T2RSTbits.T2RSEL3 // bit 3, shadows bit in T2RSTbits
16526 #define TRISA0 TRISAbits.TRISA0 // bit 0
16527 #define TRISA1 TRISAbits.TRISA1 // bit 1
16528 #define TRISA2 TRISAbits.TRISA2 // bit 2
16529 #define TRISA4 TRISAbits.TRISA4 // bit 4
16530 #define TRISA5 TRISAbits.TRISA5 // bit 5
16532 #define TRISB4 TRISBbits.TRISB4 // bit 4
16533 #define TRISB5 TRISBbits.TRISB5 // bit 5
16534 #define TRISB6 TRISBbits.TRISB6 // bit 6
16535 #define TRISB7 TRISBbits.TRISB7 // bit 7
16537 #define TRISC0 TRISCbits.TRISC0 // bit 0
16538 #define TRISC1 TRISCbits.TRISC1 // bit 1
16539 #define TRISC2 TRISCbits.TRISC2 // bit 2
16540 #define TRISC3 TRISCbits.TRISC3 // bit 3
16541 #define TRISC4 TRISCbits.TRISC4 // bit 4
16542 #define TRISC5 TRISCbits.TRISC5 // bit 5
16543 #define TRISC6 TRISCbits.TRISC6 // bit 6
16544 #define TRISC7 TRISCbits.TRISC7 // bit 7
16546 #define SWDTEN WDTCONbits.SWDTEN // bit 0
16547 #define WDTPS0 WDTCONbits.WDTPS0 // bit 1
16548 #define WDTPS1 WDTCONbits.WDTPS1 // bit 2
16549 #define WDTPS2 WDTCONbits.WDTPS2 // bit 3
16550 #define WDTPS3 WDTCONbits.WDTPS3 // bit 4
16551 #define WDTPS4 WDTCONbits.WDTPS4 // bit 5
16553 #define WPUA0 WPUAbits.WPUA0 // bit 0
16554 #define WPUA1 WPUAbits.WPUA1 // bit 1
16555 #define WPUA2 WPUAbits.WPUA2 // bit 2
16556 #define WPUA3 WPUAbits.WPUA3 // bit 3
16557 #define WPUA4 WPUAbits.WPUA4 // bit 4
16558 #define WPUA5 WPUAbits.WPUA5 // bit 5
16560 #define WPUB4 WPUBbits.WPUB4 // bit 4
16561 #define WPUB5 WPUBbits.WPUB5 // bit 5
16562 #define WPUB6 WPUBbits.WPUB6 // bit 6
16563 #define WPUB7 WPUBbits.WPUB7 // bit 7
16565 #define WPUC0 WPUCbits.WPUC0 // bit 0
16566 #define WPUC1 WPUCbits.WPUC1 // bit 1
16567 #define WPUC2 WPUCbits.WPUC2 // bit 2
16568 #define WPUC3 WPUCbits.WPUC3 // bit 3
16569 #define WPUC4 WPUCbits.WPUC4 // bit 4
16570 #define WPUC5 WPUCbits.WPUC5 // bit 5
16571 #define WPUC6 WPUCbits.WPUC6 // bit 6
16572 #define WPUC7 WPUCbits.WPUC7 // bit 7
16574 #define ZCD1INTN ZCD1CONbits.ZCD1INTN // bit 0
16575 #define ZCD1INTP ZCD1CONbits.ZCD1INTP // bit 1
16576 #define ZCD1POL ZCD1CONbits.ZCD1POL // bit 4
16577 #define ZCD1OUT ZCD1CONbits.ZCD1OUT // bit 5
16578 #define ZCD1EN ZCD1CONbits.ZCD1EN // bit 7
16580 #endif // #ifndef NO_BIT_DEFINES
16582 #endif // #ifndef __PIC16F1769_H__