2 * This declarations of the PIC16LF1579 MCU.
4 * This file is part of the GNU PIC library for SDCC, originally
5 * created by Molnar Karoly <molnarkaroly@users.sf.net> 2016.
7 * This file is generated automatically by the cinc2h.pl, 2016-04-13 17:23:09 UTC.
9 * SDCC is licensed under the GNU Public license (GPL) v2. Note that
10 * this license covers the code to the compiler and other executables,
11 * but explicitly does not cover any code or objects generated by sdcc.
13 * For pic device libraries and header files which are derived from
14 * Microchip header (.inc) and linker script (.lkr) files Microchip
15 * requires that "The header files should state that they are only to be
16 * used with authentic Microchip devices" which makes them incompatible
17 * with the GPL. Pic device libraries and header files are located at
18 * non-free/lib and non-free/include directories respectively.
19 * Sdcc should be run with the --use-non-free command line option in
20 * order to include non-free header files and libraries.
22 * See http://sdcc.sourceforge.net/ for the latest information on sdcc.
25 #ifndef __PIC16LF1579_H__
26 #define __PIC16LF1579_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 TMR0_ADDR 0x0015
57 #define TMR1_ADDR 0x0016
58 #define TMR1L_ADDR 0x0016
59 #define TMR1H_ADDR 0x0017
60 #define T1CON_ADDR 0x0018
61 #define T1GCON_ADDR 0x0019
62 #define TMR2_ADDR 0x001A
63 #define PR2_ADDR 0x001B
64 #define T2CON_ADDR 0x001C
65 #define TRISA_ADDR 0x008C
66 #define TRISB_ADDR 0x008D
67 #define TRISC_ADDR 0x008E
68 #define PIE1_ADDR 0x0091
69 #define PIE2_ADDR 0x0092
70 #define PIE3_ADDR 0x0093
71 #define OPTION_REG_ADDR 0x0095
72 #define PCON_ADDR 0x0096
73 #define WDTCON_ADDR 0x0097
74 #define OSCTUNE_ADDR 0x0098
75 #define OSCCON_ADDR 0x0099
76 #define OSCSTAT_ADDR 0x009A
77 #define ADRES_ADDR 0x009B
78 #define ADRESL_ADDR 0x009B
79 #define ADRESH_ADDR 0x009C
80 #define ADCON0_ADDR 0x009D
81 #define ADCON1_ADDR 0x009E
82 #define ADCON2_ADDR 0x009F
83 #define LATA_ADDR 0x010C
84 #define LATB_ADDR 0x010D
85 #define LATC_ADDR 0x010E
86 #define CM1CON0_ADDR 0x0111
87 #define CM1CON1_ADDR 0x0112
88 #define CM2CON0_ADDR 0x0113
89 #define CM2CON1_ADDR 0x0114
90 #define CMOUT_ADDR 0x0115
91 #define BORCON_ADDR 0x0116
92 #define FVRCON_ADDR 0x0117
93 #define DACCON0_ADDR 0x0118
94 #define DACCON1_ADDR 0x0119
95 #define ANSELA_ADDR 0x018C
96 #define ANSELB_ADDR 0x018D
97 #define ANSELC_ADDR 0x018E
98 #define PMADR_ADDR 0x0191
99 #define PMADRL_ADDR 0x0191
100 #define PMADRH_ADDR 0x0192
101 #define PMDAT_ADDR 0x0193
102 #define PMDATL_ADDR 0x0193
103 #define PMDATH_ADDR 0x0194
104 #define PMCON1_ADDR 0x0195
105 #define PMCON2_ADDR 0x0196
106 #define RCREG_ADDR 0x0199
107 #define TXREG_ADDR 0x019A
108 #define SPBRG_ADDR 0x019B
109 #define SPBRGL_ADDR 0x019B
110 #define SPBRGH_ADDR 0x019C
111 #define RCSTA_ADDR 0x019D
112 #define TXSTA_ADDR 0x019E
113 #define BAUDCON_ADDR 0x019F
114 #define WPUA_ADDR 0x020C
115 #define WPUB_ADDR 0x020D
116 #define WPUC_ADDR 0x020E
117 #define ODCONA_ADDR 0x028C
118 #define ODCONB_ADDR 0x028D
119 #define ODCONC_ADDR 0x028E
120 #define SLRCONA_ADDR 0x030C
121 #define SLRCONB_ADDR 0x030D
122 #define SLRCONC_ADDR 0x030E
123 #define INLVLA_ADDR 0x038C
124 #define INLVLB_ADDR 0x038D
125 #define INLVLC_ADDR 0x038E
126 #define IOCAP_ADDR 0x0391
127 #define IOCAN_ADDR 0x0392
128 #define IOCAF_ADDR 0x0393
129 #define IOCBP_ADDR 0x0394
130 #define IOCBN_ADDR 0x0395
131 #define IOCBF_ADDR 0x0396
132 #define IOCCP_ADDR 0x0397
133 #define IOCCN_ADDR 0x0398
134 #define IOCCF_ADDR 0x0399
135 #define CWG1DBR_ADDR 0x0691
136 #define CWG1DBF_ADDR 0x0692
137 #define CWG1CON0_ADDR 0x0693
138 #define CWG1CON1_ADDR 0x0694
139 #define CWG1CON2_ADDR 0x0695
140 #define PWMEN_ADDR 0x0D8E
141 #define PWMLD_ADDR 0x0D8F
142 #define PWMOUT_ADDR 0x0D90
143 #define PWM1PH_ADDR 0x0D91
144 #define PWM1PHL_ADDR 0x0D91
145 #define PWM1PHH_ADDR 0x0D92
146 #define PWM1DC_ADDR 0x0D93
147 #define PWM1DCL_ADDR 0x0D93
148 #define PWM1DCH_ADDR 0x0D94
149 #define PWM1PR_ADDR 0x0D95
150 #define PWM1PRL_ADDR 0x0D95
151 #define PWM1PRH_ADDR 0x0D96
152 #define PWM1OF_ADDR 0x0D97
153 #define PWM1OFL_ADDR 0x0D97
154 #define PWM1OFH_ADDR 0x0D98
155 #define PWM1TMR_ADDR 0x0D99
156 #define PWM1TMRL_ADDR 0x0D99
157 #define PWM1TMRH_ADDR 0x0D9A
158 #define PWM1CON_ADDR 0x0D9B
159 #define PWM1INTCON_ADDR 0x0D9C
160 #define PWM1INTE_ADDR 0x0D9C
161 #define PWM1INTF_ADDR 0x0D9D
162 #define PWM1INTFLG_ADDR 0x0D9D
163 #define PWM1CLKCON_ADDR 0x0D9E
164 #define PWM1LDCON_ADDR 0x0D9F
165 #define PWM1OFCON_ADDR 0x0DA0
166 #define PWM2PH_ADDR 0x0DA1
167 #define PWM2PHL_ADDR 0x0DA1
168 #define PWM2PHH_ADDR 0x0DA2
169 #define PWM2DC_ADDR 0x0DA3
170 #define PWM2DCL_ADDR 0x0DA3
171 #define PWM2DCH_ADDR 0x0DA4
172 #define PWM2PR_ADDR 0x0DA5
173 #define PWM2PRL_ADDR 0x0DA5
174 #define PWM2PRH_ADDR 0x0DA6
175 #define PWM2OF_ADDR 0x0DA7
176 #define PWM2OFL_ADDR 0x0DA7
177 #define PWM2OFH_ADDR 0x0DA8
178 #define PWM2TMR_ADDR 0x0DA9
179 #define PWM2TMRL_ADDR 0x0DA9
180 #define PWM2TMRH_ADDR 0x0DAA
181 #define PWM2CON_ADDR 0x0DAB
182 #define PWM2INTCON_ADDR 0x0DAC
183 #define PWM2INTE_ADDR 0x0DAC
184 #define PWM2INTF_ADDR 0x0DAD
185 #define PWM2INTFLG_ADDR 0x0DAD
186 #define PWM2CLKCON_ADDR 0x0DAE
187 #define PWM2LDCON_ADDR 0x0DAF
188 #define PWM2OFCON_ADDR 0x0DB0
189 #define PWM3PH_ADDR 0x0DB1
190 #define PWM3PHL_ADDR 0x0DB1
191 #define PWM3PHH_ADDR 0x0DB2
192 #define PWM3DC_ADDR 0x0DB3
193 #define PWM3DCL_ADDR 0x0DB3
194 #define PWM3DCH_ADDR 0x0DB4
195 #define PWM3PR_ADDR 0x0DB5
196 #define PWM3PRL_ADDR 0x0DB5
197 #define PWM3PRH_ADDR 0x0DB6
198 #define PWM3OF_ADDR 0x0DB7
199 #define PWM3OFL_ADDR 0x0DB7
200 #define PWM3OFH_ADDR 0x0DB8
201 #define PWM3TMR_ADDR 0x0DB9
202 #define PWM3TMRL_ADDR 0x0DB9
203 #define PWM3TMRH_ADDR 0x0DBA
204 #define PWM3CON_ADDR 0x0DBB
205 #define PWM3INTCON_ADDR 0x0DBC
206 #define PWM3INTE_ADDR 0x0DBC
207 #define PWM3INTF_ADDR 0x0DBD
208 #define PWM3INTFLG_ADDR 0x0DBD
209 #define PWM3CLKCON_ADDR 0x0DBE
210 #define PWM3LDCON_ADDR 0x0DBF
211 #define PWM3OFCON_ADDR 0x0DC0
212 #define PWM4PH_ADDR 0x0DC1
213 #define PWM4PHL_ADDR 0x0DC1
214 #define PWM4PHH_ADDR 0x0DC2
215 #define PWM4DC_ADDR 0x0DC3
216 #define PWM4DCL_ADDR 0x0DC3
217 #define PWM4DCH_ADDR 0x0DC4
218 #define PWM4PR_ADDR 0x0DC5
219 #define PWM4PRL_ADDR 0x0DC5
220 #define PWM4PRH_ADDR 0x0DC6
221 #define PWM4OF_ADDR 0x0DC7
222 #define PWM4OFL_ADDR 0x0DC7
223 #define PWM4OFH_ADDR 0x0DC8
224 #define PWM4TMR_ADDR 0x0DC9
225 #define PWM4TMRL_ADDR 0x0DC9
226 #define PWM4TMRH_ADDR 0x0DCA
227 #define PWM4CON_ADDR 0x0DCB
228 #define PWM4INTCON_ADDR 0x0DCC
229 #define PWM4INTE_ADDR 0x0DCC
230 #define PWM4INTF_ADDR 0x0DCD
231 #define PWM4INTFLG_ADDR 0x0DCD
232 #define PWM4CLKCON_ADDR 0x0DCE
233 #define PWM4LDCON_ADDR 0x0DCF
234 #define PWM4OFCON_ADDR 0x0DD0
235 #define PPSLOCK_ADDR 0x0E0F
236 #define INTPPS_ADDR 0x0E10
237 #define T0CKIPPS_ADDR 0x0E11
238 #define T1CKIPPS_ADDR 0x0E12
239 #define T1GPPS_ADDR 0x0E13
240 #define CWG1INPPS_ADDR 0x0E14
241 #define RXPPS_ADDR 0x0E15
242 #define CKPPS_ADDR 0x0E16
243 #define ADCACTPPS_ADDR 0x0E17
244 #define RA0PPS_ADDR 0x0E90
245 #define RA1PPS_ADDR 0x0E91
246 #define RA2PPS_ADDR 0x0E92
247 #define RA4PPS_ADDR 0x0E94
248 #define RA5PPS_ADDR 0x0E95
249 #define RB4PPS_ADDR 0x0E9C
250 #define RB5PPS_ADDR 0x0E9D
251 #define RB6PPS_ADDR 0x0E9E
252 #define RB7PPS_ADDR 0x0E9F
253 #define RC0PPS_ADDR 0x0EA0
254 #define RC1PPS_ADDR 0x0EA1
255 #define RC2PPS_ADDR 0x0EA2
256 #define RC3PPS_ADDR 0x0EA3
257 #define RC4PPS_ADDR 0x0EA4
258 #define RC5PPS_ADDR 0x0EA5
259 #define RC6PPS_ADDR 0x0EA6
260 #define RC7PPS_ADDR 0x0EA7
261 #define STATUS_SHAD_ADDR 0x0FE4
262 #define WREG_SHAD_ADDR 0x0FE5
263 #define BSR_SHAD_ADDR 0x0FE6
264 #define PCLATH_SHAD_ADDR 0x0FE7
265 #define FSR0L_SHAD_ADDR 0x0FE8
266 #define FSR0_SHAD_ADDR 0x0FE8
267 #define FSR0H_SHAD_ADDR 0x0FE9
268 #define FSR1L_SHAD_ADDR 0x0FEA
269 #define FSR1_SHAD_ADDR 0x0FEA
270 #define FSR1H_SHAD_ADDR 0x0FEB
271 #define STKPTR_ADDR 0x0FED
272 #define TOS_ADDR 0x0FEE
273 #define TOSL_ADDR 0x0FEE
274 #define TOSH_ADDR 0x0FEF
276 #endif // #ifndef NO_ADDR_DEFINES
278 //==============================================================================
280 // Register Definitions
282 //==============================================================================
284 extern __at(0x0000) __sfr INDF0
;
285 extern __at(0x0001) __sfr INDF1
;
286 extern __at(0x0002) __sfr PCL
;
288 //==============================================================================
291 extern __at(0x0003) __sfr STATUS
;
305 extern __at(0x0003) volatile __STATUSbits_t STATUSbits
;
313 //==============================================================================
315 extern __at(0x0004) __sfr FSR0
;
316 extern __at(0x0004) __sfr FSR0L
;
317 extern __at(0x0005) __sfr FSR0H
;
318 extern __at(0x0006) __sfr FSR1
;
319 extern __at(0x0006) __sfr FSR1L
;
320 extern __at(0x0007) __sfr FSR1H
;
322 //==============================================================================
325 extern __at(0x0008) __sfr BSR
;
348 extern __at(0x0008) volatile __BSRbits_t BSRbits
;
356 //==============================================================================
358 extern __at(0x0009) __sfr WREG
;
359 extern __at(0x000A) __sfr PCLATH
;
361 //==============================================================================
364 extern __at(0x000B) __sfr INTCON
;
393 extern __at(0x000B) volatile __INTCONbits_t INTCONbits
;
406 //==============================================================================
409 //==============================================================================
412 extern __at(0x000C) __sfr PORTA
;
435 extern __at(0x000C) volatile __PORTAbits_t PORTAbits
;
444 //==============================================================================
447 //==============================================================================
450 extern __at(0x000D) __sfr PORTB
;
464 extern __at(0x000D) volatile __PORTBbits_t PORTBbits
;
471 //==============================================================================
474 //==============================================================================
477 extern __at(0x000E) __sfr PORTC
;
491 extern __at(0x000E) volatile __PORTCbits_t PORTCbits
;
502 //==============================================================================
505 //==============================================================================
508 extern __at(0x0011) __sfr PIR1
;
519 unsigned TMR1GIF
: 1;
522 extern __at(0x0011) volatile __PIR1bits_t PIR1bits
;
529 #define _TMR1GIF 0x80
531 //==============================================================================
534 //==============================================================================
537 extern __at(0x0012) __sfr PIR2
;
551 extern __at(0x0012) volatile __PIR2bits_t PIR2bits
;
556 //==============================================================================
559 //==============================================================================
562 extern __at(0x0013) __sfr PIR3
;
576 extern __at(0x0013) volatile __PIR3bits_t PIR3bits
;
583 //==============================================================================
585 extern __at(0x0015) __sfr TMR0
;
586 extern __at(0x0016) __sfr TMR1
;
587 extern __at(0x0016) __sfr TMR1L
;
588 extern __at(0x0017) __sfr TMR1H
;
590 //==============================================================================
593 extern __at(0x0018) __sfr T1CON
;
601 unsigned NOT_T1SYNC
: 1;
602 unsigned T1OSCEN
: 1;
603 unsigned T1CKPS0
: 1;
604 unsigned T1CKPS1
: 1;
605 unsigned TMR1CS0
: 1;
606 unsigned TMR1CS1
: 1;
623 extern __at(0x0018) volatile __T1CONbits_t T1CONbits
;
626 #define _NOT_T1SYNC 0x04
627 #define _T1OSCEN 0x08
628 #define _T1CKPS0 0x10
629 #define _T1CKPS1 0x20
630 #define _TMR1CS0 0x40
631 #define _TMR1CS1 0x80
633 //==============================================================================
636 //==============================================================================
639 extern __at(0x0019) __sfr T1GCON
;
648 unsigned T1GGO_NOT_DONE
: 1;
674 extern __at(0x0019) volatile __T1GCONbits_t T1GCONbits
;
679 #define _T1GGO_NOT_DONE 0x08
686 //==============================================================================
688 extern __at(0x001A) __sfr TMR2
;
689 extern __at(0x001B) __sfr PR2
;
691 //==============================================================================
694 extern __at(0x001C) __sfr T2CON
;
700 unsigned T2CKPS0
: 1;
701 unsigned T2CKPS1
: 1;
703 unsigned T2OUTPS0
: 1;
704 unsigned T2OUTPS1
: 1;
705 unsigned T2OUTPS2
: 1;
706 unsigned T2OUTPS3
: 1;
719 unsigned T2OUTPS
: 4;
724 extern __at(0x001C) volatile __T2CONbits_t T2CONbits
;
726 #define _T2CKPS0 0x01
727 #define _T2CKPS1 0x02
729 #define _T2OUTPS0 0x08
730 #define _T2OUTPS1 0x10
731 #define _T2OUTPS2 0x20
732 #define _T2OUTPS3 0x40
734 //==============================================================================
737 //==============================================================================
740 extern __at(0x008C) __sfr TRISA
;
763 extern __at(0x008C) volatile __TRISAbits_t TRISAbits
;
772 //==============================================================================
775 //==============================================================================
778 extern __at(0x008D) __sfr TRISB
;
792 extern __at(0x008D) volatile __TRISBbits_t TRISBbits
;
799 //==============================================================================
802 //==============================================================================
805 extern __at(0x008E) __sfr TRISC
;
819 extern __at(0x008E) volatile __TRISCbits_t TRISCbits
;
830 //==============================================================================
833 //==============================================================================
836 extern __at(0x0091) __sfr PIE1
;
847 unsigned TMR1GIE
: 1;
850 extern __at(0x0091) volatile __PIE1bits_t PIE1bits
;
857 #define _TMR1GIE 0x80
859 //==============================================================================
862 //==============================================================================
865 extern __at(0x0092) __sfr PIE2
;
879 extern __at(0x0092) volatile __PIE2bits_t PIE2bits
;
884 //==============================================================================
887 //==============================================================================
890 extern __at(0x0093) __sfr PIE3
;
904 extern __at(0x0093) volatile __PIE3bits_t PIE3bits
;
911 //==============================================================================
914 //==============================================================================
917 extern __at(0x0095) __sfr OPTION_REG
;
930 unsigned NOT_WPUEN
: 1;
950 } __OPTION_REGbits_t
;
952 extern __at(0x0095) volatile __OPTION_REGbits_t OPTION_REGbits
;
963 #define _NOT_WPUEN 0x80
965 //==============================================================================
968 //==============================================================================
971 extern __at(0x0096) __sfr PCON
;
975 unsigned NOT_BOR
: 1;
976 unsigned NOT_POR
: 1;
978 unsigned NOT_RMCLR
: 1;
979 unsigned NOT_RWDT
: 1;
985 extern __at(0x0096) volatile __PCONbits_t PCONbits
;
987 #define _NOT_BOR 0x01
988 #define _NOT_POR 0x02
990 #define _NOT_RMCLR 0x08
991 #define _NOT_RWDT 0x10
995 //==============================================================================
998 //==============================================================================
1001 extern __at(0x0097) __sfr WDTCON
;
1007 unsigned SWDTEN
: 1;
1008 unsigned WDTPS0
: 1;
1009 unsigned WDTPS1
: 1;
1010 unsigned WDTPS2
: 1;
1011 unsigned WDTPS3
: 1;
1012 unsigned WDTPS4
: 1;
1025 extern __at(0x0097) volatile __WDTCONbits_t WDTCONbits
;
1027 #define _SWDTEN 0x01
1028 #define _WDTPS0 0x02
1029 #define _WDTPS1 0x04
1030 #define _WDTPS2 0x08
1031 #define _WDTPS3 0x10
1032 #define _WDTPS4 0x20
1034 //==============================================================================
1037 //==============================================================================
1040 extern __at(0x0098) __sfr OSCTUNE
;
1063 extern __at(0x0098) volatile __OSCTUNEbits_t OSCTUNEbits
;
1072 //==============================================================================
1075 //==============================================================================
1078 extern __at(0x0099) __sfr OSCCON
;
1091 unsigned SPLLEN
: 1;
1108 extern __at(0x0099) volatile __OSCCONbits_t OSCCONbits
;
1116 #define _SPLLEN 0x80
1118 //==============================================================================
1121 //==============================================================================
1124 extern __at(0x009A) __sfr OSCSTAT
;
1128 unsigned HFIOFS
: 1;
1129 unsigned LFIOFR
: 1;
1130 unsigned MFIOFR
: 1;
1131 unsigned HFIOFL
: 1;
1132 unsigned HFIOFR
: 1;
1138 extern __at(0x009A) volatile __OSCSTATbits_t OSCSTATbits
;
1140 #define _HFIOFS 0x01
1141 #define _LFIOFR 0x02
1142 #define _MFIOFR 0x04
1143 #define _HFIOFL 0x08
1144 #define _HFIOFR 0x10
1148 //==============================================================================
1150 extern __at(0x009B) __sfr ADRES
;
1151 extern __at(0x009B) __sfr ADRESL
;
1152 extern __at(0x009C) __sfr ADRESH
;
1154 //==============================================================================
1157 extern __at(0x009D) __sfr ADCON0
;
1164 unsigned GO_NOT_DONE
: 1;
1200 unsigned NOT_DONE
: 1;
1217 extern __at(0x009D) volatile __ADCON0bits_t ADCON0bits
;
1220 #define _GO_NOT_DONE 0x02
1223 #define _NOT_DONE 0x02
1230 //==============================================================================
1233 //==============================================================================
1236 extern __at(0x009E) __sfr ADCON1
;
1242 unsigned ADPREF0
: 1;
1243 unsigned ADPREF1
: 1;
1254 unsigned ADPREF
: 2;
1266 extern __at(0x009E) volatile __ADCON1bits_t ADCON1bits
;
1268 #define _ADPREF0 0x01
1269 #define _ADPREF1 0x02
1275 //==============================================================================
1278 //==============================================================================
1281 extern __at(0x009F) __sfr ADCON2
;
1291 unsigned TRIGSEL0
: 1;
1292 unsigned TRIGSEL1
: 1;
1293 unsigned TRIGSEL2
: 1;
1294 unsigned TRIGSEL3
: 1;
1300 unsigned TRIGSEL
: 4;
1304 extern __at(0x009F) volatile __ADCON2bits_t ADCON2bits
;
1306 #define _TRIGSEL0 0x10
1307 #define _TRIGSEL1 0x20
1308 #define _TRIGSEL2 0x40
1309 #define _TRIGSEL3 0x80
1311 //==============================================================================
1314 //==============================================================================
1317 extern __at(0x010C) __sfr LATA
;
1331 extern __at(0x010C) volatile __LATAbits_t LATAbits
;
1339 //==============================================================================
1342 //==============================================================================
1345 extern __at(0x010D) __sfr LATB
;
1359 extern __at(0x010D) volatile __LATBbits_t LATBbits
;
1366 //==============================================================================
1369 //==============================================================================
1372 extern __at(0x010E) __sfr LATC
;
1386 extern __at(0x010E) volatile __LATCbits_t LATCbits
;
1397 //==============================================================================
1400 //==============================================================================
1403 extern __at(0x0111) __sfr CM1CON0
;
1407 unsigned C1SYNC
: 1;
1417 extern __at(0x0111) volatile __CM1CON0bits_t CM1CON0bits
;
1419 #define _C1SYNC 0x01
1427 //==============================================================================
1430 //==============================================================================
1433 extern __at(0x0112) __sfr CM1CON1
;
1439 unsigned C1NCH0
: 1;
1440 unsigned C1NCH1
: 1;
1441 unsigned C1NCH2
: 1;
1443 unsigned C1PCH0
: 1;
1444 unsigned C1PCH1
: 1;
1445 unsigned C1INTN
: 1;
1446 unsigned C1INTP
: 1;
1463 extern __at(0x0112) volatile __CM1CON1bits_t CM1CON1bits
;
1465 #define _C1NCH0 0x01
1466 #define _C1NCH1 0x02
1467 #define _C1NCH2 0x04
1468 #define _C1PCH0 0x10
1469 #define _C1PCH1 0x20
1470 #define _C1INTN 0x40
1471 #define _C1INTP 0x80
1473 //==============================================================================
1476 //==============================================================================
1479 extern __at(0x0113) __sfr CM2CON0
;
1483 unsigned C2SYNC
: 1;
1493 extern __at(0x0113) volatile __CM2CON0bits_t CM2CON0bits
;
1495 #define _C2SYNC 0x01
1503 //==============================================================================
1506 //==============================================================================
1509 extern __at(0x0114) __sfr CM2CON1
;
1515 unsigned C2NCH0
: 1;
1516 unsigned C2NCH1
: 1;
1517 unsigned C2NCH2
: 1;
1519 unsigned C2PCH0
: 1;
1520 unsigned C2PCH1
: 1;
1521 unsigned C2INTN
: 1;
1522 unsigned C2INTP
: 1;
1539 extern __at(0x0114) volatile __CM2CON1bits_t CM2CON1bits
;
1541 #define _C2NCH0 0x01
1542 #define _C2NCH1 0x02
1543 #define _C2NCH2 0x04
1544 #define _C2PCH0 0x10
1545 #define _C2PCH1 0x20
1546 #define _C2INTN 0x40
1547 #define _C2INTP 0x80
1549 //==============================================================================
1552 //==============================================================================
1555 extern __at(0x0115) __sfr CMOUT
;
1559 unsigned MC1OUT
: 1;
1560 unsigned MC2OUT
: 1;
1569 extern __at(0x0115) volatile __CMOUTbits_t CMOUTbits
;
1571 #define _MC1OUT 0x01
1572 #define _MC2OUT 0x02
1574 //==============================================================================
1577 //==============================================================================
1580 extern __at(0x0116) __sfr BORCON
;
1584 unsigned BORRDY
: 1;
1591 unsigned SBOREN
: 1;
1594 extern __at(0x0116) volatile __BORCONbits_t BORCONbits
;
1596 #define _BORRDY 0x01
1598 #define _SBOREN 0x80
1600 //==============================================================================
1603 //==============================================================================
1606 extern __at(0x0117) __sfr FVRCON
;
1612 unsigned ADFVR0
: 1;
1613 unsigned ADFVR1
: 1;
1614 unsigned CDAFVR0
: 1;
1615 unsigned CDAFVR1
: 1;
1618 unsigned FVRRDY
: 1;
1631 unsigned CDAFVR
: 2;
1636 extern __at(0x0117) volatile __FVRCONbits_t FVRCONbits
;
1638 #define _ADFVR0 0x01
1639 #define _ADFVR1 0x02
1640 #define _CDAFVR0 0x04
1641 #define _CDAFVR1 0x08
1644 #define _FVRRDY 0x40
1647 //==============================================================================
1650 //==============================================================================
1653 extern __at(0x0118) __sfr DACCON0
;
1661 unsigned DACPSS0
: 1;
1662 unsigned DACPSS1
: 1;
1665 unsigned DACLPS
: 1;
1672 unsigned DACPSS
: 2;
1677 extern __at(0x0118) volatile __DACCON0bits_t DACCON0bits
;
1679 #define _DACPSS0 0x04
1680 #define _DACPSS1 0x08
1682 #define _DACLPS 0x40
1685 //==============================================================================
1688 //==============================================================================
1691 extern __at(0x0119) __sfr DACCON1
;
1714 extern __at(0x0119) volatile __DACCON1bits_t DACCON1bits
;
1722 //==============================================================================
1725 //==============================================================================
1728 extern __at(0x018C) __sfr ANSELA
;
1742 extern __at(0x018C) volatile __ANSELAbits_t ANSELAbits
;
1749 //==============================================================================
1752 //==============================================================================
1755 extern __at(0x018D) __sfr ANSELB
;
1769 extern __at(0x018D) volatile __ANSELBbits_t ANSELBbits
;
1774 //==============================================================================
1777 //==============================================================================
1780 extern __at(0x018E) __sfr ANSELC
;
1794 extern __at(0x018E) volatile __ANSELCbits_t ANSELCbits
;
1803 //==============================================================================
1805 extern __at(0x0191) __sfr PMADR
;
1806 extern __at(0x0191) __sfr PMADRL
;
1807 extern __at(0x0192) __sfr PMADRH
;
1808 extern __at(0x0193) __sfr PMDAT
;
1809 extern __at(0x0193) __sfr PMDATL
;
1810 extern __at(0x0194) __sfr PMDATH
;
1812 //==============================================================================
1815 extern __at(0x0195) __sfr PMCON1
;
1829 extern __at(0x0195) volatile __PMCON1bits_t PMCON1bits
;
1839 //==============================================================================
1841 extern __at(0x0196) __sfr PMCON2
;
1842 extern __at(0x0199) __sfr RCREG
;
1843 extern __at(0x019A) __sfr TXREG
;
1844 extern __at(0x019B) __sfr SPBRG
;
1845 extern __at(0x019B) __sfr SPBRGL
;
1846 extern __at(0x019C) __sfr SPBRGH
;
1848 //==============================================================================
1851 extern __at(0x019D) __sfr RCSTA
;
1865 extern __at(0x019D) volatile __RCSTAbits_t RCSTAbits
;
1876 //==============================================================================
1879 //==============================================================================
1882 extern __at(0x019E) __sfr TXSTA
;
1896 extern __at(0x019E) volatile __TXSTAbits_t TXSTAbits
;
1907 //==============================================================================
1910 //==============================================================================
1913 extern __at(0x019F) __sfr BAUDCON
;
1924 unsigned ABDOVF
: 1;
1927 extern __at(0x019F) volatile __BAUDCONbits_t BAUDCONbits
;
1934 #define _ABDOVF 0x80
1936 //==============================================================================
1939 //==============================================================================
1942 extern __at(0x020C) __sfr WPUA
;
1965 extern __at(0x020C) volatile __WPUAbits_t WPUAbits
;
1974 //==============================================================================
1977 //==============================================================================
1980 extern __at(0x020D) __sfr WPUB
;
1994 extern __at(0x020D) volatile __WPUBbits_t WPUBbits
;
2001 //==============================================================================
2004 //==============================================================================
2007 extern __at(0x020E) __sfr WPUC
;
2021 extern __at(0x020E) volatile __WPUCbits_t WPUCbits
;
2032 //==============================================================================
2035 //==============================================================================
2038 extern __at(0x028C) __sfr ODCONA
;
2052 extern __at(0x028C) volatile __ODCONAbits_t ODCONAbits
;
2060 //==============================================================================
2063 //==============================================================================
2066 extern __at(0x028D) __sfr ODCONB
;
2080 extern __at(0x028D) volatile __ODCONBbits_t ODCONBbits
;
2087 //==============================================================================
2090 //==============================================================================
2093 extern __at(0x028E) __sfr ODCONC
;
2107 extern __at(0x028E) volatile __ODCONCbits_t ODCONCbits
;
2118 //==============================================================================
2121 //==============================================================================
2124 extern __at(0x030C) __sfr SLRCONA
;
2138 extern __at(0x030C) volatile __SLRCONAbits_t SLRCONAbits
;
2146 //==============================================================================
2149 //==============================================================================
2152 extern __at(0x030D) __sfr SLRCONB
;
2166 extern __at(0x030D) volatile __SLRCONBbits_t SLRCONBbits
;
2173 //==============================================================================
2176 //==============================================================================
2179 extern __at(0x030E) __sfr SLRCONC
;
2193 extern __at(0x030E) volatile __SLRCONCbits_t SLRCONCbits
;
2204 //==============================================================================
2207 //==============================================================================
2210 extern __at(0x038C) __sfr INLVLA
;
2216 unsigned INLVLA0
: 1;
2217 unsigned INLVLA1
: 1;
2218 unsigned INLVLA2
: 1;
2219 unsigned INLVLA3
: 1;
2220 unsigned INLVLA4
: 1;
2221 unsigned INLVLA5
: 1;
2228 unsigned INLVLA
: 6;
2233 extern __at(0x038C) volatile __INLVLAbits_t INLVLAbits
;
2235 #define _INLVLA0 0x01
2236 #define _INLVLA1 0x02
2237 #define _INLVLA2 0x04
2238 #define _INLVLA3 0x08
2239 #define _INLVLA4 0x10
2240 #define _INLVLA5 0x20
2242 //==============================================================================
2245 //==============================================================================
2248 extern __at(0x038D) __sfr INLVLB
;
2256 unsigned INLVLB4
: 1;
2257 unsigned INLVLB5
: 1;
2258 unsigned INLVLB6
: 1;
2259 unsigned INLVLB7
: 1;
2262 extern __at(0x038D) volatile __INLVLBbits_t INLVLBbits
;
2264 #define _INLVLB4 0x10
2265 #define _INLVLB5 0x20
2266 #define _INLVLB6 0x40
2267 #define _INLVLB7 0x80
2269 //==============================================================================
2272 //==============================================================================
2275 extern __at(0x038E) __sfr INLVLC
;
2279 unsigned INLVLC0
: 1;
2280 unsigned INLVLC1
: 1;
2281 unsigned INLVLC2
: 1;
2282 unsigned INLVLC3
: 1;
2283 unsigned INLVLC4
: 1;
2284 unsigned INLVLC5
: 1;
2285 unsigned INLVLC6
: 1;
2286 unsigned INLVLC7
: 1;
2289 extern __at(0x038E) volatile __INLVLCbits_t INLVLCbits
;
2291 #define _INLVLC0 0x01
2292 #define _INLVLC1 0x02
2293 #define _INLVLC2 0x04
2294 #define _INLVLC3 0x08
2295 #define _INLVLC4 0x10
2296 #define _INLVLC5 0x20
2297 #define _INLVLC6 0x40
2298 #define _INLVLC7 0x80
2300 //==============================================================================
2303 //==============================================================================
2306 extern __at(0x0391) __sfr IOCAP
;
2312 unsigned IOCAP0
: 1;
2313 unsigned IOCAP1
: 1;
2314 unsigned IOCAP2
: 1;
2315 unsigned IOCAP3
: 1;
2316 unsigned IOCAP4
: 1;
2317 unsigned IOCAP5
: 1;
2329 extern __at(0x0391) volatile __IOCAPbits_t IOCAPbits
;
2331 #define _IOCAP0 0x01
2332 #define _IOCAP1 0x02
2333 #define _IOCAP2 0x04
2334 #define _IOCAP3 0x08
2335 #define _IOCAP4 0x10
2336 #define _IOCAP5 0x20
2338 //==============================================================================
2341 //==============================================================================
2344 extern __at(0x0392) __sfr IOCAN
;
2350 unsigned IOCAN0
: 1;
2351 unsigned IOCAN1
: 1;
2352 unsigned IOCAN2
: 1;
2353 unsigned IOCAN3
: 1;
2354 unsigned IOCAN4
: 1;
2355 unsigned IOCAN5
: 1;
2367 extern __at(0x0392) volatile __IOCANbits_t IOCANbits
;
2369 #define _IOCAN0 0x01
2370 #define _IOCAN1 0x02
2371 #define _IOCAN2 0x04
2372 #define _IOCAN3 0x08
2373 #define _IOCAN4 0x10
2374 #define _IOCAN5 0x20
2376 //==============================================================================
2379 //==============================================================================
2382 extern __at(0x0393) __sfr IOCAF
;
2388 unsigned IOCAF0
: 1;
2389 unsigned IOCAF1
: 1;
2390 unsigned IOCAF2
: 1;
2391 unsigned IOCAF3
: 1;
2392 unsigned IOCAF4
: 1;
2393 unsigned IOCAF5
: 1;
2405 extern __at(0x0393) volatile __IOCAFbits_t IOCAFbits
;
2407 #define _IOCAF0 0x01
2408 #define _IOCAF1 0x02
2409 #define _IOCAF2 0x04
2410 #define _IOCAF3 0x08
2411 #define _IOCAF4 0x10
2412 #define _IOCAF5 0x20
2414 //==============================================================================
2417 //==============================================================================
2420 extern __at(0x0394) __sfr IOCBP
;
2428 unsigned IOCBP4
: 1;
2429 unsigned IOCBP5
: 1;
2430 unsigned IOCBP6
: 1;
2431 unsigned IOCBP7
: 1;
2434 extern __at(0x0394) volatile __IOCBPbits_t IOCBPbits
;
2436 #define _IOCBP4 0x10
2437 #define _IOCBP5 0x20
2438 #define _IOCBP6 0x40
2439 #define _IOCBP7 0x80
2441 //==============================================================================
2444 //==============================================================================
2447 extern __at(0x0395) __sfr IOCBN
;
2455 unsigned IOCBN4
: 1;
2456 unsigned IOCBN5
: 1;
2457 unsigned IOCBN6
: 1;
2458 unsigned IOCBN7
: 1;
2461 extern __at(0x0395) volatile __IOCBNbits_t IOCBNbits
;
2463 #define _IOCBN4 0x10
2464 #define _IOCBN5 0x20
2465 #define _IOCBN6 0x40
2466 #define _IOCBN7 0x80
2468 //==============================================================================
2471 //==============================================================================
2474 extern __at(0x0396) __sfr IOCBF
;
2482 unsigned IOCBF4
: 1;
2483 unsigned IOCBF5
: 1;
2484 unsigned IOCBF6
: 1;
2485 unsigned IOCBF7
: 1;
2488 extern __at(0x0396) volatile __IOCBFbits_t IOCBFbits
;
2490 #define _IOCBF4 0x10
2491 #define _IOCBF5 0x20
2492 #define _IOCBF6 0x40
2493 #define _IOCBF7 0x80
2495 //==============================================================================
2498 //==============================================================================
2501 extern __at(0x0397) __sfr IOCCP
;
2505 unsigned IOCCP0
: 1;
2506 unsigned IOCCP1
: 1;
2507 unsigned IOCCP2
: 1;
2508 unsigned IOCCP3
: 1;
2509 unsigned IOCCP4
: 1;
2510 unsigned IOCCP5
: 1;
2511 unsigned IOCCP6
: 1;
2512 unsigned IOCCP7
: 1;
2515 extern __at(0x0397) volatile __IOCCPbits_t IOCCPbits
;
2517 #define _IOCCP0 0x01
2518 #define _IOCCP1 0x02
2519 #define _IOCCP2 0x04
2520 #define _IOCCP3 0x08
2521 #define _IOCCP4 0x10
2522 #define _IOCCP5 0x20
2523 #define _IOCCP6 0x40
2524 #define _IOCCP7 0x80
2526 //==============================================================================
2529 //==============================================================================
2532 extern __at(0x0398) __sfr IOCCN
;
2536 unsigned IOCCN0
: 1;
2537 unsigned IOCCN1
: 1;
2538 unsigned IOCCN2
: 1;
2539 unsigned IOCCN3
: 1;
2540 unsigned IOCCN4
: 1;
2541 unsigned IOCCN5
: 1;
2542 unsigned IOCCN6
: 1;
2543 unsigned IOCCN7
: 1;
2546 extern __at(0x0398) volatile __IOCCNbits_t IOCCNbits
;
2548 #define _IOCCN0 0x01
2549 #define _IOCCN1 0x02
2550 #define _IOCCN2 0x04
2551 #define _IOCCN3 0x08
2552 #define _IOCCN4 0x10
2553 #define _IOCCN5 0x20
2554 #define _IOCCN6 0x40
2555 #define _IOCCN7 0x80
2557 //==============================================================================
2560 //==============================================================================
2563 extern __at(0x0399) __sfr IOCCF
;
2567 unsigned IOCCF0
: 1;
2568 unsigned IOCCF1
: 1;
2569 unsigned IOCCF2
: 1;
2570 unsigned IOCCF3
: 1;
2571 unsigned IOCCF4
: 1;
2572 unsigned IOCCF5
: 1;
2573 unsigned IOCCF6
: 1;
2574 unsigned IOCCF7
: 1;
2577 extern __at(0x0399) volatile __IOCCFbits_t IOCCFbits
;
2579 #define _IOCCF0 0x01
2580 #define _IOCCF1 0x02
2581 #define _IOCCF2 0x04
2582 #define _IOCCF3 0x08
2583 #define _IOCCF4 0x10
2584 #define _IOCCF5 0x20
2585 #define _IOCCF6 0x40
2586 #define _IOCCF7 0x80
2588 //==============================================================================
2591 //==============================================================================
2594 extern __at(0x0691) __sfr CWG1DBR
;
2600 unsigned CWG1DBR0
: 1;
2601 unsigned CWG1DBR1
: 1;
2602 unsigned CWG1DBR2
: 1;
2603 unsigned CWG1DBR3
: 1;
2604 unsigned CWG1DBR4
: 1;
2605 unsigned CWG1DBR5
: 1;
2612 unsigned CWG1DBR
: 6;
2617 extern __at(0x0691) volatile __CWG1DBRbits_t CWG1DBRbits
;
2619 #define _CWG1DBR0 0x01
2620 #define _CWG1DBR1 0x02
2621 #define _CWG1DBR2 0x04
2622 #define _CWG1DBR3 0x08
2623 #define _CWG1DBR4 0x10
2624 #define _CWG1DBR5 0x20
2626 //==============================================================================
2629 //==============================================================================
2632 extern __at(0x0692) __sfr CWG1DBF
;
2638 unsigned CWG1DBF0
: 1;
2639 unsigned CWG1DBF1
: 1;
2640 unsigned CWG1DBF2
: 1;
2641 unsigned CWG1DBF3
: 1;
2642 unsigned CWG1DBF4
: 1;
2643 unsigned CWG1DBF5
: 1;
2650 unsigned CWG1DBF
: 6;
2655 extern __at(0x0692) volatile __CWG1DBFbits_t CWG1DBFbits
;
2657 #define _CWG1DBF0 0x01
2658 #define _CWG1DBF1 0x02
2659 #define _CWG1DBF2 0x04
2660 #define _CWG1DBF3 0x08
2661 #define _CWG1DBF4 0x10
2662 #define _CWG1DBF5 0x20
2664 //==============================================================================
2667 //==============================================================================
2670 extern __at(0x0693) __sfr CWG1CON0
;
2677 unsigned G1POLA
: 1;
2678 unsigned G1POLB
: 1;
2684 extern __at(0x0693) volatile __CWG1CON0bits_t CWG1CON0bits
;
2687 #define _G1POLA 0x08
2688 #define _G1POLB 0x10
2693 //==============================================================================
2696 //==============================================================================
2699 extern __at(0x0694) __sfr CWG1CON1
;
2709 unsigned G1ASDLA0
: 1;
2710 unsigned G1ASDLA1
: 1;
2711 unsigned G1ASDLB0
: 1;
2712 unsigned G1ASDLB1
: 1;
2724 unsigned G1ASDLA
: 2;
2731 unsigned G1ASDLB
: 2;
2735 extern __at(0x0694) volatile __CWG1CON1bits_t CWG1CON1bits
;
2740 #define _G1ASDLA0 0x10
2741 #define _G1ASDLA1 0x20
2742 #define _G1ASDLB0 0x40
2743 #define _G1ASDLB1 0x80
2745 //==============================================================================
2748 //==============================================================================
2751 extern __at(0x0695) __sfr CWG1CON2
;
2756 unsigned G1ASDSPPS
: 1;
2757 unsigned G1ASDSC1
: 1;
2758 unsigned G1ASDSC2
: 1;
2761 unsigned G1ARSEN
: 1;
2765 extern __at(0x0695) volatile __CWG1CON2bits_t CWG1CON2bits
;
2767 #define _G1ASDSPPS 0x02
2768 #define _G1ASDSC1 0x04
2769 #define _G1ASDSC2 0x08
2770 #define _G1ARSEN 0x40
2773 //==============================================================================
2776 //==============================================================================
2779 extern __at(0x0D8E) __sfr PWMEN
;
2785 unsigned PWM1EN_A
: 1;
2786 unsigned PWM2EN_A
: 1;
2787 unsigned PWM3EN_A
: 1;
2788 unsigned PWM4EN_A
: 1;
2797 unsigned MPWM1EN
: 1;
2798 unsigned MPWM2EN
: 1;
2799 unsigned MPWM3EN
: 1;
2808 extern __at(0x0D8E) volatile __PWMENbits_t PWMENbits
;
2810 #define _PWM1EN_A 0x01
2811 #define _MPWM1EN 0x01
2812 #define _PWM2EN_A 0x02
2813 #define _MPWM2EN 0x02
2814 #define _PWM3EN_A 0x04
2815 #define _MPWM3EN 0x04
2816 #define _PWM4EN_A 0x08
2818 //==============================================================================
2821 //==============================================================================
2824 extern __at(0x0D8F) __sfr PWMLD
;
2830 unsigned PWM1LDA_A
: 1;
2831 unsigned PWM2LDA_A
: 1;
2832 unsigned PWM3LDA_A
: 1;
2833 unsigned PWM4LDA_A
: 1;
2842 unsigned MPWM1LD
: 1;
2843 unsigned MPWM2LD
: 1;
2844 unsigned MPWM3LD
: 1;
2853 extern __at(0x0D8F) volatile __PWMLDbits_t PWMLDbits
;
2855 #define _PWM1LDA_A 0x01
2856 #define _MPWM1LD 0x01
2857 #define _PWM2LDA_A 0x02
2858 #define _MPWM2LD 0x02
2859 #define _PWM3LDA_A 0x04
2860 #define _MPWM3LD 0x04
2861 #define _PWM4LDA_A 0x08
2863 //==============================================================================
2866 //==============================================================================
2869 extern __at(0x0D90) __sfr PWMOUT
;
2875 unsigned PWM1OUT_A
: 1;
2876 unsigned PWM2OUT_A
: 1;
2877 unsigned PWM3OUT_A
: 1;
2878 unsigned PWM4OUT_A
: 1;
2887 unsigned MPWM1OUT
: 1;
2888 unsigned MPWM2OUT
: 1;
2889 unsigned MPWM3OUT
: 1;
2898 extern __at(0x0D90) volatile __PWMOUTbits_t PWMOUTbits
;
2900 #define _PWM1OUT_A 0x01
2901 #define _MPWM1OUT 0x01
2902 #define _PWM2OUT_A 0x02
2903 #define _MPWM2OUT 0x02
2904 #define _PWM3OUT_A 0x04
2905 #define _MPWM3OUT 0x04
2906 #define _PWM4OUT_A 0x08
2908 //==============================================================================
2910 extern __at(0x0D91) __sfr PWM1PH
;
2912 //==============================================================================
2915 extern __at(0x0D91) __sfr PWM1PHL
;
2919 unsigned PWM1PHL0
: 1;
2920 unsigned PWM1PHL1
: 1;
2921 unsigned PWM1PHL2
: 1;
2922 unsigned PWM1PHL3
: 1;
2923 unsigned PWM1PHL4
: 1;
2924 unsigned PWM1PHL5
: 1;
2925 unsigned PWM1PHL6
: 1;
2926 unsigned PWM1PHL7
: 1;
2929 extern __at(0x0D91) volatile __PWM1PHLbits_t PWM1PHLbits
;
2931 #define _PWM1PHL0 0x01
2932 #define _PWM1PHL1 0x02
2933 #define _PWM1PHL2 0x04
2934 #define _PWM1PHL3 0x08
2935 #define _PWM1PHL4 0x10
2936 #define _PWM1PHL5 0x20
2937 #define _PWM1PHL6 0x40
2938 #define _PWM1PHL7 0x80
2940 //==============================================================================
2943 //==============================================================================
2946 extern __at(0x0D92) __sfr PWM1PHH
;
2950 unsigned PWM1PHH0
: 1;
2951 unsigned PWM1PHH1
: 1;
2952 unsigned PWM1PHH2
: 1;
2953 unsigned PWM1PHH3
: 1;
2954 unsigned PWM1PHH4
: 1;
2955 unsigned PWM1PHH5
: 1;
2956 unsigned PWM1PHH6
: 1;
2957 unsigned PWM1PHH7
: 1;
2960 extern __at(0x0D92) volatile __PWM1PHHbits_t PWM1PHHbits
;
2962 #define _PWM1PHH0 0x01
2963 #define _PWM1PHH1 0x02
2964 #define _PWM1PHH2 0x04
2965 #define _PWM1PHH3 0x08
2966 #define _PWM1PHH4 0x10
2967 #define _PWM1PHH5 0x20
2968 #define _PWM1PHH6 0x40
2969 #define _PWM1PHH7 0x80
2971 //==============================================================================
2973 extern __at(0x0D93) __sfr PWM1DC
;
2975 //==============================================================================
2978 extern __at(0x0D93) __sfr PWM1DCL
;
2982 unsigned PWM1DCL0
: 1;
2983 unsigned PWM1DCL1
: 1;
2984 unsigned PWM1DCL2
: 1;
2985 unsigned PWM1DCL3
: 1;
2986 unsigned PWM1DCL4
: 1;
2987 unsigned PWM1DCL5
: 1;
2988 unsigned PWM1DCL6
: 1;
2989 unsigned PWM1DCL7
: 1;
2992 extern __at(0x0D93) volatile __PWM1DCLbits_t PWM1DCLbits
;
2994 #define _PWM1DCL0 0x01
2995 #define _PWM1DCL1 0x02
2996 #define _PWM1DCL2 0x04
2997 #define _PWM1DCL3 0x08
2998 #define _PWM1DCL4 0x10
2999 #define _PWM1DCL5 0x20
3000 #define _PWM1DCL6 0x40
3001 #define _PWM1DCL7 0x80
3003 //==============================================================================
3006 //==============================================================================
3009 extern __at(0x0D94) __sfr PWM1DCH
;
3013 unsigned PWM1DCH0
: 1;
3014 unsigned PWM1DCH1
: 1;
3015 unsigned PWM1DCH2
: 1;
3016 unsigned PWM1DCH3
: 1;
3017 unsigned PWM1DCH4
: 1;
3018 unsigned PWM1DCH5
: 1;
3019 unsigned PWM1DCH6
: 1;
3020 unsigned PWM1DCH7
: 1;
3023 extern __at(0x0D94) volatile __PWM1DCHbits_t PWM1DCHbits
;
3025 #define _PWM1DCH0 0x01
3026 #define _PWM1DCH1 0x02
3027 #define _PWM1DCH2 0x04
3028 #define _PWM1DCH3 0x08
3029 #define _PWM1DCH4 0x10
3030 #define _PWM1DCH5 0x20
3031 #define _PWM1DCH6 0x40
3032 #define _PWM1DCH7 0x80
3034 //==============================================================================
3036 extern __at(0x0D95) __sfr PWM1PR
;
3038 //==============================================================================
3041 extern __at(0x0D95) __sfr PWM1PRL
;
3045 unsigned PWM1PRL0
: 1;
3046 unsigned PWM1PRL1
: 1;
3047 unsigned PWM1PRL2
: 1;
3048 unsigned PWM1PRL3
: 1;
3049 unsigned PWM1PRL4
: 1;
3050 unsigned PWM1PRL5
: 1;
3051 unsigned PWM1PRL6
: 1;
3052 unsigned PWM1PRL7
: 1;
3055 extern __at(0x0D95) volatile __PWM1PRLbits_t PWM1PRLbits
;
3057 #define _PWM1PRL0 0x01
3058 #define _PWM1PRL1 0x02
3059 #define _PWM1PRL2 0x04
3060 #define _PWM1PRL3 0x08
3061 #define _PWM1PRL4 0x10
3062 #define _PWM1PRL5 0x20
3063 #define _PWM1PRL6 0x40
3064 #define _PWM1PRL7 0x80
3066 //==============================================================================
3069 //==============================================================================
3072 extern __at(0x0D96) __sfr PWM1PRH
;
3076 unsigned PWM1PRH0
: 1;
3077 unsigned PWM1PRH1
: 1;
3078 unsigned PWM1PRH2
: 1;
3079 unsigned PWM1PRH3
: 1;
3080 unsigned PWM1PRH4
: 1;
3081 unsigned PWM1PRH5
: 1;
3082 unsigned PWM1PRH6
: 1;
3083 unsigned PWM1PRH7
: 1;
3086 extern __at(0x0D96) volatile __PWM1PRHbits_t PWM1PRHbits
;
3088 #define _PWM1PRH0 0x01
3089 #define _PWM1PRH1 0x02
3090 #define _PWM1PRH2 0x04
3091 #define _PWM1PRH3 0x08
3092 #define _PWM1PRH4 0x10
3093 #define _PWM1PRH5 0x20
3094 #define _PWM1PRH6 0x40
3095 #define _PWM1PRH7 0x80
3097 //==============================================================================
3099 extern __at(0x0D97) __sfr PWM1OF
;
3101 //==============================================================================
3104 extern __at(0x0D97) __sfr PWM1OFL
;
3108 unsigned PWM1OFL0
: 1;
3109 unsigned PWM1OFL1
: 1;
3110 unsigned PWM1OFL2
: 1;
3111 unsigned PWM1OFL3
: 1;
3112 unsigned PWM1OFL4
: 1;
3113 unsigned PWM1OFL5
: 1;
3114 unsigned PWM1OFL6
: 1;
3115 unsigned PWM1OFL7
: 1;
3118 extern __at(0x0D97) volatile __PWM1OFLbits_t PWM1OFLbits
;
3120 #define _PWM1OFL0 0x01
3121 #define _PWM1OFL1 0x02
3122 #define _PWM1OFL2 0x04
3123 #define _PWM1OFL3 0x08
3124 #define _PWM1OFL4 0x10
3125 #define _PWM1OFL5 0x20
3126 #define _PWM1OFL6 0x40
3127 #define _PWM1OFL7 0x80
3129 //==============================================================================
3132 //==============================================================================
3135 extern __at(0x0D98) __sfr PWM1OFH
;
3139 unsigned PWM1OFH0
: 1;
3140 unsigned PWM1OFH1
: 1;
3141 unsigned PWM1OFH2
: 1;
3142 unsigned PWM1OFH3
: 1;
3143 unsigned PWM1OFH4
: 1;
3144 unsigned PWM1OFH5
: 1;
3145 unsigned PWM1OFH6
: 1;
3146 unsigned PWM1OFH7
: 1;
3149 extern __at(0x0D98) volatile __PWM1OFHbits_t PWM1OFHbits
;
3151 #define _PWM1OFH0 0x01
3152 #define _PWM1OFH1 0x02
3153 #define _PWM1OFH2 0x04
3154 #define _PWM1OFH3 0x08
3155 #define _PWM1OFH4 0x10
3156 #define _PWM1OFH5 0x20
3157 #define _PWM1OFH6 0x40
3158 #define _PWM1OFH7 0x80
3160 //==============================================================================
3162 extern __at(0x0D99) __sfr PWM1TMR
;
3164 //==============================================================================
3167 extern __at(0x0D99) __sfr PWM1TMRL
;
3171 unsigned PWM1TMRL0
: 1;
3172 unsigned PWM1TMRL1
: 1;
3173 unsigned PWM1TMRL2
: 1;
3174 unsigned PWM1TMRL3
: 1;
3175 unsigned PWM1TMRL4
: 1;
3176 unsigned PWM1TMRL5
: 1;
3177 unsigned PWM1TMRL6
: 1;
3178 unsigned PWM1TMRL7
: 1;
3181 extern __at(0x0D99) volatile __PWM1TMRLbits_t PWM1TMRLbits
;
3183 #define _PWM1TMRL0 0x01
3184 #define _PWM1TMRL1 0x02
3185 #define _PWM1TMRL2 0x04
3186 #define _PWM1TMRL3 0x08
3187 #define _PWM1TMRL4 0x10
3188 #define _PWM1TMRL5 0x20
3189 #define _PWM1TMRL6 0x40
3190 #define _PWM1TMRL7 0x80
3192 //==============================================================================
3195 //==============================================================================
3198 extern __at(0x0D9A) __sfr PWM1TMRH
;
3202 unsigned PWM1TMRH0
: 1;
3203 unsigned PWM1TMRH1
: 1;
3204 unsigned PWM1TMRH2
: 1;
3205 unsigned PWM1TMRH3
: 1;
3206 unsigned PWM1TMRH4
: 1;
3207 unsigned PWM1TMRH5
: 1;
3208 unsigned PWM1TMRH6
: 1;
3209 unsigned PWM1TMRH7
: 1;
3212 extern __at(0x0D9A) volatile __PWM1TMRHbits_t PWM1TMRHbits
;
3214 #define _PWM1TMRH0 0x01
3215 #define _PWM1TMRH1 0x02
3216 #define _PWM1TMRH2 0x04
3217 #define _PWM1TMRH3 0x08
3218 #define _PWM1TMRH4 0x10
3219 #define _PWM1TMRH5 0x20
3220 #define _PWM1TMRH6 0x40
3221 #define _PWM1TMRH7 0x80
3223 //==============================================================================
3226 //==============================================================================
3229 extern __at(0x0D9B) __sfr PWM1CON
;
3237 unsigned PWM1MODE0
: 1;
3238 unsigned PWM1MODE1
: 1;
3251 unsigned PWM1POL
: 1;
3252 unsigned PWM1OUT
: 1;
3253 unsigned PWM1OE
: 1;
3254 unsigned PWM1EN
: 1;
3260 unsigned PWM1MODE
: 2;
3272 extern __at(0x0D9B) volatile __PWM1CONbits_t PWM1CONbits
;
3274 #define _PWM1MODE0 0x04
3276 #define _PWM1MODE1 0x08
3279 #define _PWM1POL 0x10
3281 #define _PWM1OUT 0x20
3283 #define _PWM1OE 0x40
3285 #define _PWM1EN 0x80
3287 //==============================================================================
3290 //==============================================================================
3293 extern __at(0x0D9C) __sfr PWM1INTCON
;
3311 unsigned PWM1PRIE
: 1;
3312 unsigned PWM1DCIE
: 1;
3313 unsigned PWM1PHIE
: 1;
3314 unsigned PWM1OFIE
: 1;
3320 } __PWM1INTCONbits_t
;
3322 extern __at(0x0D9C) volatile __PWM1INTCONbits_t PWM1INTCONbits
;
3325 #define _PWM1PRIE 0x01
3327 #define _PWM1DCIE 0x02
3329 #define _PWM1PHIE 0x04
3331 #define _PWM1OFIE 0x08
3333 //==============================================================================
3336 //==============================================================================
3339 extern __at(0x0D9C) __sfr PWM1INTE
;
3357 unsigned PWM1PRIE
: 1;
3358 unsigned PWM1DCIE
: 1;
3359 unsigned PWM1PHIE
: 1;
3360 unsigned PWM1OFIE
: 1;
3368 extern __at(0x0D9C) volatile __PWM1INTEbits_t PWM1INTEbits
;
3370 #define _PWM1INTE_PRIE 0x01
3371 #define _PWM1INTE_PWM1PRIE 0x01
3372 #define _PWM1INTE_DCIE 0x02
3373 #define _PWM1INTE_PWM1DCIE 0x02
3374 #define _PWM1INTE_PHIE 0x04
3375 #define _PWM1INTE_PWM1PHIE 0x04
3376 #define _PWM1INTE_OFIE 0x08
3377 #define _PWM1INTE_PWM1OFIE 0x08
3379 //==============================================================================
3382 //==============================================================================
3385 extern __at(0x0D9D) __sfr PWM1INTF
;
3403 unsigned PWM1PRIF
: 1;
3404 unsigned PWM1DCIF
: 1;
3405 unsigned PWM1PHIF
: 1;
3406 unsigned PWM1OFIF
: 1;
3414 extern __at(0x0D9D) volatile __PWM1INTFbits_t PWM1INTFbits
;
3417 #define _PWM1PRIF 0x01
3419 #define _PWM1DCIF 0x02
3421 #define _PWM1PHIF 0x04
3423 #define _PWM1OFIF 0x08
3425 //==============================================================================
3428 //==============================================================================
3431 extern __at(0x0D9D) __sfr PWM1INTFLG
;
3449 unsigned PWM1PRIF
: 1;
3450 unsigned PWM1DCIF
: 1;
3451 unsigned PWM1PHIF
: 1;
3452 unsigned PWM1OFIF
: 1;
3458 } __PWM1INTFLGbits_t
;
3460 extern __at(0x0D9D) volatile __PWM1INTFLGbits_t PWM1INTFLGbits
;
3462 #define _PWM1INTFLG_PRIF 0x01
3463 #define _PWM1INTFLG_PWM1PRIF 0x01
3464 #define _PWM1INTFLG_DCIF 0x02
3465 #define _PWM1INTFLG_PWM1DCIF 0x02
3466 #define _PWM1INTFLG_PHIF 0x04
3467 #define _PWM1INTFLG_PWM1PHIF 0x04
3468 #define _PWM1INTFLG_OFIF 0x08
3469 #define _PWM1INTFLG_PWM1OFIF 0x08
3471 //==============================================================================
3474 //==============================================================================
3477 extern __at(0x0D9E) __sfr PWM1CLKCON
;
3483 unsigned PWM1CS0
: 1;
3484 unsigned PWM1CS1
: 1;
3487 unsigned PWM1PS0
: 1;
3488 unsigned PWM1PS1
: 1;
3489 unsigned PWM1PS2
: 1;
3507 unsigned PWM1CS
: 2;
3520 unsigned PWM1PS
: 3;
3530 } __PWM1CLKCONbits_t
;
3532 extern __at(0x0D9E) volatile __PWM1CLKCONbits_t PWM1CLKCONbits
;
3534 #define _PWM1CLKCON_PWM1CS0 0x01
3535 #define _PWM1CLKCON_CS0 0x01
3536 #define _PWM1CLKCON_PWM1CS1 0x02
3537 #define _PWM1CLKCON_CS1 0x02
3538 #define _PWM1CLKCON_PWM1PS0 0x10
3539 #define _PWM1CLKCON_PS0 0x10
3540 #define _PWM1CLKCON_PWM1PS1 0x20
3541 #define _PWM1CLKCON_PS1 0x20
3542 #define _PWM1CLKCON_PWM1PS2 0x40
3543 #define _PWM1CLKCON_PS2 0x40
3545 //==============================================================================
3548 //==============================================================================
3551 extern __at(0x0D9F) __sfr PWM1LDCON
;
3557 unsigned PWM1LDS0
: 1;
3558 unsigned PWM1LDS1
: 1;
3575 unsigned PWM1LDM
: 1;
3576 unsigned PWM1LD
: 1;
3581 unsigned PWM1LDS
: 2;
3590 } __PWM1LDCONbits_t
;
3592 extern __at(0x0D9F) volatile __PWM1LDCONbits_t PWM1LDCONbits
;
3594 #define _PWM1LDS0 0x01
3596 #define _PWM1LDS1 0x02
3599 #define _PWM1LDM 0x40
3601 #define _PWM1LD 0x80
3603 //==============================================================================
3606 //==============================================================================
3609 extern __at(0x0DA0) __sfr PWM1OFCON
;
3615 unsigned PWM1OFS0
: 1;
3616 unsigned PWM1OFS1
: 1;
3620 unsigned PWM1OFM0
: 1;
3621 unsigned PWM1OFM1
: 1;
3631 unsigned PWM1OFMC
: 1;
3645 unsigned PWM1OFS
: 2;
3659 unsigned PWM1OFM
: 2;
3662 } __PWM1OFCONbits_t
;
3664 extern __at(0x0DA0) volatile __PWM1OFCONbits_t PWM1OFCONbits
;
3666 #define _PWM1OFS0 0x01
3668 #define _PWM1OFS1 0x02
3671 #define _PWM1OFMC 0x10
3672 #define _PWM1OFM0 0x20
3674 #define _PWM1OFM1 0x40
3677 //==============================================================================
3679 extern __at(0x0DA1) __sfr PWM2PH
;
3681 //==============================================================================
3684 extern __at(0x0DA1) __sfr PWM2PHL
;
3688 unsigned PWM2PHL0
: 1;
3689 unsigned PWM2PHL1
: 1;
3690 unsigned PWM2PHL2
: 1;
3691 unsigned PWM2PHL3
: 1;
3692 unsigned PWM2PHL4
: 1;
3693 unsigned PWM2PHL5
: 1;
3694 unsigned PWM2PHL6
: 1;
3695 unsigned PWM2PHL7
: 1;
3698 extern __at(0x0DA1) volatile __PWM2PHLbits_t PWM2PHLbits
;
3700 #define _PWM2PHL0 0x01
3701 #define _PWM2PHL1 0x02
3702 #define _PWM2PHL2 0x04
3703 #define _PWM2PHL3 0x08
3704 #define _PWM2PHL4 0x10
3705 #define _PWM2PHL5 0x20
3706 #define _PWM2PHL6 0x40
3707 #define _PWM2PHL7 0x80
3709 //==============================================================================
3712 //==============================================================================
3715 extern __at(0x0DA2) __sfr PWM2PHH
;
3719 unsigned PWM2PHH0
: 1;
3720 unsigned PWM2PHH1
: 1;
3721 unsigned PWM2PHH2
: 1;
3722 unsigned PWM2PHH3
: 1;
3723 unsigned PWM2PHH4
: 1;
3724 unsigned PWM2PHH5
: 1;
3725 unsigned PWM2PHH6
: 1;
3726 unsigned PWM2PHH7
: 1;
3729 extern __at(0x0DA2) volatile __PWM2PHHbits_t PWM2PHHbits
;
3731 #define _PWM2PHH0 0x01
3732 #define _PWM2PHH1 0x02
3733 #define _PWM2PHH2 0x04
3734 #define _PWM2PHH3 0x08
3735 #define _PWM2PHH4 0x10
3736 #define _PWM2PHH5 0x20
3737 #define _PWM2PHH6 0x40
3738 #define _PWM2PHH7 0x80
3740 //==============================================================================
3742 extern __at(0x0DA3) __sfr PWM2DC
;
3744 //==============================================================================
3747 extern __at(0x0DA3) __sfr PWM2DCL
;
3751 unsigned PWM2DCL0
: 1;
3752 unsigned PWM2DCL1
: 1;
3753 unsigned PWM2DCL2
: 1;
3754 unsigned PWM2DCL3
: 1;
3755 unsigned PWM2DCL4
: 1;
3756 unsigned PWM2DCL5
: 1;
3757 unsigned PWM2DCL6
: 1;
3758 unsigned PWM2DCL7
: 1;
3761 extern __at(0x0DA3) volatile __PWM2DCLbits_t PWM2DCLbits
;
3763 #define _PWM2DCL0 0x01
3764 #define _PWM2DCL1 0x02
3765 #define _PWM2DCL2 0x04
3766 #define _PWM2DCL3 0x08
3767 #define _PWM2DCL4 0x10
3768 #define _PWM2DCL5 0x20
3769 #define _PWM2DCL6 0x40
3770 #define _PWM2DCL7 0x80
3772 //==============================================================================
3775 //==============================================================================
3778 extern __at(0x0DA4) __sfr PWM2DCH
;
3782 unsigned PWM2DCH0
: 1;
3783 unsigned PWM2DCH1
: 1;
3784 unsigned PWM2DCH2
: 1;
3785 unsigned PWM2DCH3
: 1;
3786 unsigned PWM2DCH4
: 1;
3787 unsigned PWM2DCH5
: 1;
3788 unsigned PWM2DCH6
: 1;
3789 unsigned PWM2DCH7
: 1;
3792 extern __at(0x0DA4) volatile __PWM2DCHbits_t PWM2DCHbits
;
3794 #define _PWM2DCH0 0x01
3795 #define _PWM2DCH1 0x02
3796 #define _PWM2DCH2 0x04
3797 #define _PWM2DCH3 0x08
3798 #define _PWM2DCH4 0x10
3799 #define _PWM2DCH5 0x20
3800 #define _PWM2DCH6 0x40
3801 #define _PWM2DCH7 0x80
3803 //==============================================================================
3805 extern __at(0x0DA5) __sfr PWM2PR
;
3807 //==============================================================================
3810 extern __at(0x0DA5) __sfr PWM2PRL
;
3814 unsigned PWM2PRL0
: 1;
3815 unsigned PWM2PRL1
: 1;
3816 unsigned PWM2PRL2
: 1;
3817 unsigned PWM2PRL3
: 1;
3818 unsigned PWM2PRL4
: 1;
3819 unsigned PWM2PRL5
: 1;
3820 unsigned PWM2PRL6
: 1;
3821 unsigned PWM2PRL7
: 1;
3824 extern __at(0x0DA5) volatile __PWM2PRLbits_t PWM2PRLbits
;
3826 #define _PWM2PRL0 0x01
3827 #define _PWM2PRL1 0x02
3828 #define _PWM2PRL2 0x04
3829 #define _PWM2PRL3 0x08
3830 #define _PWM2PRL4 0x10
3831 #define _PWM2PRL5 0x20
3832 #define _PWM2PRL6 0x40
3833 #define _PWM2PRL7 0x80
3835 //==============================================================================
3838 //==============================================================================
3841 extern __at(0x0DA6) __sfr PWM2PRH
;
3845 unsigned PWM2PRH0
: 1;
3846 unsigned PWM2PRH1
: 1;
3847 unsigned PWM2PRH2
: 1;
3848 unsigned PWM2PRH3
: 1;
3849 unsigned PWM2PRH4
: 1;
3850 unsigned PWM2PRH5
: 1;
3851 unsigned PWM2PRH6
: 1;
3852 unsigned PWM2PRH7
: 1;
3855 extern __at(0x0DA6) volatile __PWM2PRHbits_t PWM2PRHbits
;
3857 #define _PWM2PRH0 0x01
3858 #define _PWM2PRH1 0x02
3859 #define _PWM2PRH2 0x04
3860 #define _PWM2PRH3 0x08
3861 #define _PWM2PRH4 0x10
3862 #define _PWM2PRH5 0x20
3863 #define _PWM2PRH6 0x40
3864 #define _PWM2PRH7 0x80
3866 //==============================================================================
3868 extern __at(0x0DA7) __sfr PWM2OF
;
3870 //==============================================================================
3873 extern __at(0x0DA7) __sfr PWM2OFL
;
3877 unsigned PWM2OFL0
: 1;
3878 unsigned PWM2OFL1
: 1;
3879 unsigned PWM2OFL2
: 1;
3880 unsigned PWM2OFL3
: 1;
3881 unsigned PWM2OFL4
: 1;
3882 unsigned PWM2OFL5
: 1;
3883 unsigned PWM2OFL6
: 1;
3884 unsigned PWM2OFL7
: 1;
3887 extern __at(0x0DA7) volatile __PWM2OFLbits_t PWM2OFLbits
;
3889 #define _PWM2OFL0 0x01
3890 #define _PWM2OFL1 0x02
3891 #define _PWM2OFL2 0x04
3892 #define _PWM2OFL3 0x08
3893 #define _PWM2OFL4 0x10
3894 #define _PWM2OFL5 0x20
3895 #define _PWM2OFL6 0x40
3896 #define _PWM2OFL7 0x80
3898 //==============================================================================
3901 //==============================================================================
3904 extern __at(0x0DA8) __sfr PWM2OFH
;
3908 unsigned PWM2OFH0
: 1;
3909 unsigned PWM2OFH1
: 1;
3910 unsigned PWM2OFH2
: 1;
3911 unsigned PWM2OFH3
: 1;
3912 unsigned PWM2OFH4
: 1;
3913 unsigned PWM2OFH5
: 1;
3914 unsigned PWM2OFH6
: 1;
3915 unsigned PWM2OFH7
: 1;
3918 extern __at(0x0DA8) volatile __PWM2OFHbits_t PWM2OFHbits
;
3920 #define _PWM2OFH0 0x01
3921 #define _PWM2OFH1 0x02
3922 #define _PWM2OFH2 0x04
3923 #define _PWM2OFH3 0x08
3924 #define _PWM2OFH4 0x10
3925 #define _PWM2OFH5 0x20
3926 #define _PWM2OFH6 0x40
3927 #define _PWM2OFH7 0x80
3929 //==============================================================================
3931 extern __at(0x0DA9) __sfr PWM2TMR
;
3933 //==============================================================================
3936 extern __at(0x0DA9) __sfr PWM2TMRL
;
3940 unsigned PWM2TMRL0
: 1;
3941 unsigned PWM2TMRL1
: 1;
3942 unsigned PWM2TMRL2
: 1;
3943 unsigned PWM2TMRL3
: 1;
3944 unsigned PWM2TMRL4
: 1;
3945 unsigned PWM2TMRL5
: 1;
3946 unsigned PWM2TMRL6
: 1;
3947 unsigned PWM2TMRL7
: 1;
3950 extern __at(0x0DA9) volatile __PWM2TMRLbits_t PWM2TMRLbits
;
3952 #define _PWM2TMRL0 0x01
3953 #define _PWM2TMRL1 0x02
3954 #define _PWM2TMRL2 0x04
3955 #define _PWM2TMRL3 0x08
3956 #define _PWM2TMRL4 0x10
3957 #define _PWM2TMRL5 0x20
3958 #define _PWM2TMRL6 0x40
3959 #define _PWM2TMRL7 0x80
3961 //==============================================================================
3964 //==============================================================================
3967 extern __at(0x0DAA) __sfr PWM2TMRH
;
3971 unsigned PWM2TMRH0
: 1;
3972 unsigned PWM2TMRH1
: 1;
3973 unsigned PWM2TMRH2
: 1;
3974 unsigned PWM2TMRH3
: 1;
3975 unsigned PWM2TMRH4
: 1;
3976 unsigned PWM2TMRH5
: 1;
3977 unsigned PWM2TMRH6
: 1;
3978 unsigned PWM2TMRH7
: 1;
3981 extern __at(0x0DAA) volatile __PWM2TMRHbits_t PWM2TMRHbits
;
3983 #define _PWM2TMRH0 0x01
3984 #define _PWM2TMRH1 0x02
3985 #define _PWM2TMRH2 0x04
3986 #define _PWM2TMRH3 0x08
3987 #define _PWM2TMRH4 0x10
3988 #define _PWM2TMRH5 0x20
3989 #define _PWM2TMRH6 0x40
3990 #define _PWM2TMRH7 0x80
3992 //==============================================================================
3995 //==============================================================================
3998 extern __at(0x0DAB) __sfr PWM2CON
;
4006 unsigned PWM2MODE0
: 1;
4007 unsigned PWM2MODE1
: 1;
4020 unsigned PWM2POL
: 1;
4021 unsigned PWM2OUT
: 1;
4022 unsigned PWM2OE
: 1;
4023 unsigned PWM2EN
: 1;
4036 unsigned PWM2MODE
: 2;
4041 extern __at(0x0DAB) volatile __PWM2CONbits_t PWM2CONbits
;
4043 #define _PWM2CON_PWM2MODE0 0x04
4044 #define _PWM2CON_MODE0 0x04
4045 #define _PWM2CON_PWM2MODE1 0x08
4046 #define _PWM2CON_MODE1 0x08
4047 #define _PWM2CON_POL 0x10
4048 #define _PWM2CON_PWM2POL 0x10
4049 #define _PWM2CON_OUT 0x20
4050 #define _PWM2CON_PWM2OUT 0x20
4051 #define _PWM2CON_OE 0x40
4052 #define _PWM2CON_PWM2OE 0x40
4053 #define _PWM2CON_EN 0x80
4054 #define _PWM2CON_PWM2EN 0x80
4056 //==============================================================================
4059 //==============================================================================
4062 extern __at(0x0DAC) __sfr PWM2INTCON
;
4080 unsigned PWM2PRIE
: 1;
4081 unsigned PWM2DCIE
: 1;
4082 unsigned PWM2PHIE
: 1;
4083 unsigned PWM2OFIE
: 1;
4089 } __PWM2INTCONbits_t
;
4091 extern __at(0x0DAC) volatile __PWM2INTCONbits_t PWM2INTCONbits
;
4093 #define _PWM2INTCON_PRIE 0x01
4094 #define _PWM2INTCON_PWM2PRIE 0x01
4095 #define _PWM2INTCON_DCIE 0x02
4096 #define _PWM2INTCON_PWM2DCIE 0x02
4097 #define _PWM2INTCON_PHIE 0x04
4098 #define _PWM2INTCON_PWM2PHIE 0x04
4099 #define _PWM2INTCON_OFIE 0x08
4100 #define _PWM2INTCON_PWM2OFIE 0x08
4102 //==============================================================================
4105 //==============================================================================
4108 extern __at(0x0DAC) __sfr PWM2INTE
;
4126 unsigned PWM2PRIE
: 1;
4127 unsigned PWM2DCIE
: 1;
4128 unsigned PWM2PHIE
: 1;
4129 unsigned PWM2OFIE
: 1;
4137 extern __at(0x0DAC) volatile __PWM2INTEbits_t PWM2INTEbits
;
4139 #define _PWM2INTE_PRIE 0x01
4140 #define _PWM2INTE_PWM2PRIE 0x01
4141 #define _PWM2INTE_DCIE 0x02
4142 #define _PWM2INTE_PWM2DCIE 0x02
4143 #define _PWM2INTE_PHIE 0x04
4144 #define _PWM2INTE_PWM2PHIE 0x04
4145 #define _PWM2INTE_OFIE 0x08
4146 #define _PWM2INTE_PWM2OFIE 0x08
4148 //==============================================================================
4151 //==============================================================================
4154 extern __at(0x0DAD) __sfr PWM2INTF
;
4172 unsigned PWM2PRIF
: 1;
4173 unsigned PWM2DCIF
: 1;
4174 unsigned PWM2PHIF
: 1;
4175 unsigned PWM2OFIF
: 1;
4183 extern __at(0x0DAD) volatile __PWM2INTFbits_t PWM2INTFbits
;
4185 #define _PWM2INTF_PRIF 0x01
4186 #define _PWM2INTF_PWM2PRIF 0x01
4187 #define _PWM2INTF_DCIF 0x02
4188 #define _PWM2INTF_PWM2DCIF 0x02
4189 #define _PWM2INTF_PHIF 0x04
4190 #define _PWM2INTF_PWM2PHIF 0x04
4191 #define _PWM2INTF_OFIF 0x08
4192 #define _PWM2INTF_PWM2OFIF 0x08
4194 //==============================================================================
4197 //==============================================================================
4200 extern __at(0x0DAD) __sfr PWM2INTFLG
;
4218 unsigned PWM2PRIF
: 1;
4219 unsigned PWM2DCIF
: 1;
4220 unsigned PWM2PHIF
: 1;
4221 unsigned PWM2OFIF
: 1;
4227 } __PWM2INTFLGbits_t
;
4229 extern __at(0x0DAD) volatile __PWM2INTFLGbits_t PWM2INTFLGbits
;
4231 #define _PWM2INTFLG_PRIF 0x01
4232 #define _PWM2INTFLG_PWM2PRIF 0x01
4233 #define _PWM2INTFLG_DCIF 0x02
4234 #define _PWM2INTFLG_PWM2DCIF 0x02
4235 #define _PWM2INTFLG_PHIF 0x04
4236 #define _PWM2INTFLG_PWM2PHIF 0x04
4237 #define _PWM2INTFLG_OFIF 0x08
4238 #define _PWM2INTFLG_PWM2OFIF 0x08
4240 //==============================================================================
4243 //==============================================================================
4246 extern __at(0x0DAE) __sfr PWM2CLKCON
;
4252 unsigned PWM2CS0
: 1;
4253 unsigned PWM2CS1
: 1;
4256 unsigned PWM2PS0
: 1;
4257 unsigned PWM2PS1
: 1;
4258 unsigned PWM2PS2
: 1;
4276 unsigned PWM2CS
: 2;
4296 unsigned PWM2PS
: 3;
4299 } __PWM2CLKCONbits_t
;
4301 extern __at(0x0DAE) volatile __PWM2CLKCONbits_t PWM2CLKCONbits
;
4303 #define _PWM2CLKCON_PWM2CS0 0x01
4304 #define _PWM2CLKCON_CS0 0x01
4305 #define _PWM2CLKCON_PWM2CS1 0x02
4306 #define _PWM2CLKCON_CS1 0x02
4307 #define _PWM2CLKCON_PWM2PS0 0x10
4308 #define _PWM2CLKCON_PS0 0x10
4309 #define _PWM2CLKCON_PWM2PS1 0x20
4310 #define _PWM2CLKCON_PS1 0x20
4311 #define _PWM2CLKCON_PWM2PS2 0x40
4312 #define _PWM2CLKCON_PS2 0x40
4314 //==============================================================================
4317 //==============================================================================
4320 extern __at(0x0DAF) __sfr PWM2LDCON
;
4326 unsigned PWM2LDS0
: 1;
4327 unsigned PWM2LDS1
: 1;
4344 unsigned PWM2LDM
: 1;
4345 unsigned PWM2LD
: 1;
4350 unsigned PWM2LDS
: 2;
4359 } __PWM2LDCONbits_t
;
4361 extern __at(0x0DAF) volatile __PWM2LDCONbits_t PWM2LDCONbits
;
4363 #define _PWM2LDCON_PWM2LDS0 0x01
4364 #define _PWM2LDCON_LDS0 0x01
4365 #define _PWM2LDCON_PWM2LDS1 0x02
4366 #define _PWM2LDCON_LDS1 0x02
4367 #define _PWM2LDCON_LDT 0x40
4368 #define _PWM2LDCON_PWM2LDM 0x40
4369 #define _PWM2LDCON_LDA 0x80
4370 #define _PWM2LDCON_PWM2LD 0x80
4372 //==============================================================================
4375 //==============================================================================
4378 extern __at(0x0DB0) __sfr PWM2OFCON
;
4384 unsigned PWM2OFS0
: 1;
4385 unsigned PWM2OFS1
: 1;
4389 unsigned PWM2OFM0
: 1;
4390 unsigned PWM2OFM1
: 1;
4400 unsigned PWM2OFMC
: 1;
4414 unsigned PWM2OFS
: 2;
4421 unsigned PWM2OFM
: 2;
4431 } __PWM2OFCONbits_t
;
4433 extern __at(0x0DB0) volatile __PWM2OFCONbits_t PWM2OFCONbits
;
4435 #define _PWM2OFCON_PWM2OFS0 0x01
4436 #define _PWM2OFCON_OFS0 0x01
4437 #define _PWM2OFCON_PWM2OFS1 0x02
4438 #define _PWM2OFCON_OFS1 0x02
4439 #define _PWM2OFCON_OFO 0x10
4440 #define _PWM2OFCON_PWM2OFMC 0x10
4441 #define _PWM2OFCON_PWM2OFM0 0x20
4442 #define _PWM2OFCON_OFM0 0x20
4443 #define _PWM2OFCON_PWM2OFM1 0x40
4444 #define _PWM2OFCON_OFM1 0x40
4446 //==============================================================================
4448 extern __at(0x0DB1) __sfr PWM3PH
;
4450 //==============================================================================
4453 extern __at(0x0DB1) __sfr PWM3PHL
;
4457 unsigned PWM3PHL0
: 1;
4458 unsigned PWM3PHL1
: 1;
4459 unsigned PWM3PHL2
: 1;
4460 unsigned PWM3PHL3
: 1;
4461 unsigned PWM3PHL4
: 1;
4462 unsigned PWM3PHL5
: 1;
4463 unsigned PWM3PHL6
: 1;
4464 unsigned PWM3PHL7
: 1;
4467 extern __at(0x0DB1) volatile __PWM3PHLbits_t PWM3PHLbits
;
4469 #define _PWM3PHL0 0x01
4470 #define _PWM3PHL1 0x02
4471 #define _PWM3PHL2 0x04
4472 #define _PWM3PHL3 0x08
4473 #define _PWM3PHL4 0x10
4474 #define _PWM3PHL5 0x20
4475 #define _PWM3PHL6 0x40
4476 #define _PWM3PHL7 0x80
4478 //==============================================================================
4481 //==============================================================================
4484 extern __at(0x0DB2) __sfr PWM3PHH
;
4488 unsigned PWM3PHH0
: 1;
4489 unsigned PWM3PHH1
: 1;
4490 unsigned PWM3PHH2
: 1;
4491 unsigned PWM3PHH3
: 1;
4492 unsigned PWM3PHH4
: 1;
4493 unsigned PWM3PHH5
: 1;
4494 unsigned PWM3PHH6
: 1;
4495 unsigned PWM3PHH7
: 1;
4498 extern __at(0x0DB2) volatile __PWM3PHHbits_t PWM3PHHbits
;
4500 #define _PWM3PHH0 0x01
4501 #define _PWM3PHH1 0x02
4502 #define _PWM3PHH2 0x04
4503 #define _PWM3PHH3 0x08
4504 #define _PWM3PHH4 0x10
4505 #define _PWM3PHH5 0x20
4506 #define _PWM3PHH6 0x40
4507 #define _PWM3PHH7 0x80
4509 //==============================================================================
4511 extern __at(0x0DB3) __sfr PWM3DC
;
4513 //==============================================================================
4516 extern __at(0x0DB3) __sfr PWM3DCL
;
4520 unsigned PWM3DCL0
: 1;
4521 unsigned PWM3DCL1
: 1;
4522 unsigned PWM3DCL2
: 1;
4523 unsigned PWM3DCL3
: 1;
4524 unsigned PWM3DCL4
: 1;
4525 unsigned PWM3DCL5
: 1;
4526 unsigned PWM3DCL6
: 1;
4527 unsigned PWM3DCL7
: 1;
4530 extern __at(0x0DB3) volatile __PWM3DCLbits_t PWM3DCLbits
;
4532 #define _PWM3DCL0 0x01
4533 #define _PWM3DCL1 0x02
4534 #define _PWM3DCL2 0x04
4535 #define _PWM3DCL3 0x08
4536 #define _PWM3DCL4 0x10
4537 #define _PWM3DCL5 0x20
4538 #define _PWM3DCL6 0x40
4539 #define _PWM3DCL7 0x80
4541 //==============================================================================
4544 //==============================================================================
4547 extern __at(0x0DB4) __sfr PWM3DCH
;
4551 unsigned PWM3DCH0
: 1;
4552 unsigned PWM3DCH1
: 1;
4553 unsigned PWM3DCH2
: 1;
4554 unsigned PWM3DCH3
: 1;
4555 unsigned PWM3DCH4
: 1;
4556 unsigned PWM3DCH5
: 1;
4557 unsigned PWM3DCH6
: 1;
4558 unsigned PWM3DCH7
: 1;
4561 extern __at(0x0DB4) volatile __PWM3DCHbits_t PWM3DCHbits
;
4563 #define _PWM3DCH0 0x01
4564 #define _PWM3DCH1 0x02
4565 #define _PWM3DCH2 0x04
4566 #define _PWM3DCH3 0x08
4567 #define _PWM3DCH4 0x10
4568 #define _PWM3DCH5 0x20
4569 #define _PWM3DCH6 0x40
4570 #define _PWM3DCH7 0x80
4572 //==============================================================================
4574 extern __at(0x0DB5) __sfr PWM3PR
;
4576 //==============================================================================
4579 extern __at(0x0DB5) __sfr PWM3PRL
;
4583 unsigned PWM3PRL0
: 1;
4584 unsigned PWM3PRL1
: 1;
4585 unsigned PWM3PRL2
: 1;
4586 unsigned PWM3PRL3
: 1;
4587 unsigned PWM3PRL4
: 1;
4588 unsigned PWM3PRL5
: 1;
4589 unsigned PWM3PRL6
: 1;
4590 unsigned PWM3PRL7
: 1;
4593 extern __at(0x0DB5) volatile __PWM3PRLbits_t PWM3PRLbits
;
4595 #define _PWM3PRL0 0x01
4596 #define _PWM3PRL1 0x02
4597 #define _PWM3PRL2 0x04
4598 #define _PWM3PRL3 0x08
4599 #define _PWM3PRL4 0x10
4600 #define _PWM3PRL5 0x20
4601 #define _PWM3PRL6 0x40
4602 #define _PWM3PRL7 0x80
4604 //==============================================================================
4607 //==============================================================================
4610 extern __at(0x0DB6) __sfr PWM3PRH
;
4614 unsigned PWM3PRH0
: 1;
4615 unsigned PWM3PRH1
: 1;
4616 unsigned PWM3PRH2
: 1;
4617 unsigned PWM3PRH3
: 1;
4618 unsigned PWM3PRH4
: 1;
4619 unsigned PWM3PRH5
: 1;
4620 unsigned PWM3PRH6
: 1;
4621 unsigned PWM3PRH7
: 1;
4624 extern __at(0x0DB6) volatile __PWM3PRHbits_t PWM3PRHbits
;
4626 #define _PWM3PRH0 0x01
4627 #define _PWM3PRH1 0x02
4628 #define _PWM3PRH2 0x04
4629 #define _PWM3PRH3 0x08
4630 #define _PWM3PRH4 0x10
4631 #define _PWM3PRH5 0x20
4632 #define _PWM3PRH6 0x40
4633 #define _PWM3PRH7 0x80
4635 //==============================================================================
4637 extern __at(0x0DB7) __sfr PWM3OF
;
4639 //==============================================================================
4642 extern __at(0x0DB7) __sfr PWM3OFL
;
4646 unsigned PWM3OFL0
: 1;
4647 unsigned PWM3OFL1
: 1;
4648 unsigned PWM3OFL2
: 1;
4649 unsigned PWM3OFL3
: 1;
4650 unsigned PWM3OFL4
: 1;
4651 unsigned PWM3OFL5
: 1;
4652 unsigned PWM3OFL6
: 1;
4653 unsigned PWM3OFL7
: 1;
4656 extern __at(0x0DB7) volatile __PWM3OFLbits_t PWM3OFLbits
;
4658 #define _PWM3OFL0 0x01
4659 #define _PWM3OFL1 0x02
4660 #define _PWM3OFL2 0x04
4661 #define _PWM3OFL3 0x08
4662 #define _PWM3OFL4 0x10
4663 #define _PWM3OFL5 0x20
4664 #define _PWM3OFL6 0x40
4665 #define _PWM3OFL7 0x80
4667 //==============================================================================
4670 //==============================================================================
4673 extern __at(0x0DB8) __sfr PWM3OFH
;
4677 unsigned PWM3OFH0
: 1;
4678 unsigned PWM3OFH1
: 1;
4679 unsigned PWM3OFH2
: 1;
4680 unsigned PWM3OFH3
: 1;
4681 unsigned PWM3OFH4
: 1;
4682 unsigned PWM3OFH5
: 1;
4683 unsigned PWM3OFH6
: 1;
4684 unsigned PWM3OFH7
: 1;
4687 extern __at(0x0DB8) volatile __PWM3OFHbits_t PWM3OFHbits
;
4689 #define _PWM3OFH0 0x01
4690 #define _PWM3OFH1 0x02
4691 #define _PWM3OFH2 0x04
4692 #define _PWM3OFH3 0x08
4693 #define _PWM3OFH4 0x10
4694 #define _PWM3OFH5 0x20
4695 #define _PWM3OFH6 0x40
4696 #define _PWM3OFH7 0x80
4698 //==============================================================================
4700 extern __at(0x0DB9) __sfr PWM3TMR
;
4702 //==============================================================================
4705 extern __at(0x0DB9) __sfr PWM3TMRL
;
4709 unsigned PWM3TMRL0
: 1;
4710 unsigned PWM3TMRL1
: 1;
4711 unsigned PWM3TMRL2
: 1;
4712 unsigned PWM3TMRL3
: 1;
4713 unsigned PWM3TMRL4
: 1;
4714 unsigned PWM3TMRL5
: 1;
4715 unsigned PWM3TMRL6
: 1;
4716 unsigned PWM3TMRL7
: 1;
4719 extern __at(0x0DB9) volatile __PWM3TMRLbits_t PWM3TMRLbits
;
4721 #define _PWM3TMRL0 0x01
4722 #define _PWM3TMRL1 0x02
4723 #define _PWM3TMRL2 0x04
4724 #define _PWM3TMRL3 0x08
4725 #define _PWM3TMRL4 0x10
4726 #define _PWM3TMRL5 0x20
4727 #define _PWM3TMRL6 0x40
4728 #define _PWM3TMRL7 0x80
4730 //==============================================================================
4733 //==============================================================================
4736 extern __at(0x0DBA) __sfr PWM3TMRH
;
4740 unsigned PWM3TMRH0
: 1;
4741 unsigned PWM3TMRH1
: 1;
4742 unsigned PWM3TMRH2
: 1;
4743 unsigned PWM3TMRH3
: 1;
4744 unsigned PWM3TMRH4
: 1;
4745 unsigned PWM3TMRH5
: 1;
4746 unsigned PWM3TMRH6
: 1;
4747 unsigned PWM3TMRH7
: 1;
4750 extern __at(0x0DBA) volatile __PWM3TMRHbits_t PWM3TMRHbits
;
4752 #define _PWM3TMRH0 0x01
4753 #define _PWM3TMRH1 0x02
4754 #define _PWM3TMRH2 0x04
4755 #define _PWM3TMRH3 0x08
4756 #define _PWM3TMRH4 0x10
4757 #define _PWM3TMRH5 0x20
4758 #define _PWM3TMRH6 0x40
4759 #define _PWM3TMRH7 0x80
4761 //==============================================================================
4764 //==============================================================================
4767 extern __at(0x0DBB) __sfr PWM3CON
;
4775 unsigned PWM3MODE0
: 1;
4776 unsigned PWM3MODE1
: 1;
4789 unsigned PWM3POL
: 1;
4790 unsigned PWM3OUT
: 1;
4791 unsigned PWM3OE
: 1;
4792 unsigned PWM3EN
: 1;
4798 unsigned PWM3MODE
: 2;
4810 extern __at(0x0DBB) volatile __PWM3CONbits_t PWM3CONbits
;
4812 #define _PWM3CON_PWM3MODE0 0x04
4813 #define _PWM3CON_MODE0 0x04
4814 #define _PWM3CON_PWM3MODE1 0x08
4815 #define _PWM3CON_MODE1 0x08
4816 #define _PWM3CON_POL 0x10
4817 #define _PWM3CON_PWM3POL 0x10
4818 #define _PWM3CON_OUT 0x20
4819 #define _PWM3CON_PWM3OUT 0x20
4820 #define _PWM3CON_OE 0x40
4821 #define _PWM3CON_PWM3OE 0x40
4822 #define _PWM3CON_EN 0x80
4823 #define _PWM3CON_PWM3EN 0x80
4825 //==============================================================================
4828 //==============================================================================
4831 extern __at(0x0DBC) __sfr PWM3INTCON
;
4849 unsigned PWM3PRIE
: 1;
4850 unsigned PWM3DCIE
: 1;
4851 unsigned PWM3PHIE
: 1;
4852 unsigned PWM3OFIE
: 1;
4858 } __PWM3INTCONbits_t
;
4860 extern __at(0x0DBC) volatile __PWM3INTCONbits_t PWM3INTCONbits
;
4862 #define _PWM3INTCON_PRIE 0x01
4863 #define _PWM3INTCON_PWM3PRIE 0x01
4864 #define _PWM3INTCON_DCIE 0x02
4865 #define _PWM3INTCON_PWM3DCIE 0x02
4866 #define _PWM3INTCON_PHIE 0x04
4867 #define _PWM3INTCON_PWM3PHIE 0x04
4868 #define _PWM3INTCON_OFIE 0x08
4869 #define _PWM3INTCON_PWM3OFIE 0x08
4871 //==============================================================================
4874 //==============================================================================
4877 extern __at(0x0DBC) __sfr PWM3INTE
;
4895 unsigned PWM3PRIE
: 1;
4896 unsigned PWM3DCIE
: 1;
4897 unsigned PWM3PHIE
: 1;
4898 unsigned PWM3OFIE
: 1;
4906 extern __at(0x0DBC) volatile __PWM3INTEbits_t PWM3INTEbits
;
4908 #define _PWM3INTE_PRIE 0x01
4909 #define _PWM3INTE_PWM3PRIE 0x01
4910 #define _PWM3INTE_DCIE 0x02
4911 #define _PWM3INTE_PWM3DCIE 0x02
4912 #define _PWM3INTE_PHIE 0x04
4913 #define _PWM3INTE_PWM3PHIE 0x04
4914 #define _PWM3INTE_OFIE 0x08
4915 #define _PWM3INTE_PWM3OFIE 0x08
4917 //==============================================================================
4920 //==============================================================================
4923 extern __at(0x0DBD) __sfr PWM3INTF
;
4941 unsigned PWM3PRIF
: 1;
4942 unsigned PWM3DCIF
: 1;
4943 unsigned PWM3PHIF
: 1;
4944 unsigned PWM3OFIF
: 1;
4952 extern __at(0x0DBD) volatile __PWM3INTFbits_t PWM3INTFbits
;
4954 #define _PWM3INTF_PRIF 0x01
4955 #define _PWM3INTF_PWM3PRIF 0x01
4956 #define _PWM3INTF_DCIF 0x02
4957 #define _PWM3INTF_PWM3DCIF 0x02
4958 #define _PWM3INTF_PHIF 0x04
4959 #define _PWM3INTF_PWM3PHIF 0x04
4960 #define _PWM3INTF_OFIF 0x08
4961 #define _PWM3INTF_PWM3OFIF 0x08
4963 //==============================================================================
4966 //==============================================================================
4969 extern __at(0x0DBD) __sfr PWM3INTFLG
;
4987 unsigned PWM3PRIF
: 1;
4988 unsigned PWM3DCIF
: 1;
4989 unsigned PWM3PHIF
: 1;
4990 unsigned PWM3OFIF
: 1;
4996 } __PWM3INTFLGbits_t
;
4998 extern __at(0x0DBD) volatile __PWM3INTFLGbits_t PWM3INTFLGbits
;
5000 #define _PWM3INTFLG_PRIF 0x01
5001 #define _PWM3INTFLG_PWM3PRIF 0x01
5002 #define _PWM3INTFLG_DCIF 0x02
5003 #define _PWM3INTFLG_PWM3DCIF 0x02
5004 #define _PWM3INTFLG_PHIF 0x04
5005 #define _PWM3INTFLG_PWM3PHIF 0x04
5006 #define _PWM3INTFLG_OFIF 0x08
5007 #define _PWM3INTFLG_PWM3OFIF 0x08
5009 //==============================================================================
5012 //==============================================================================
5015 extern __at(0x0DBE) __sfr PWM3CLKCON
;
5021 unsigned PWM3CS0
: 1;
5022 unsigned PWM3CS1
: 1;
5025 unsigned PWM3PS0
: 1;
5026 unsigned PWM3PS1
: 1;
5027 unsigned PWM3PS2
: 1;
5045 unsigned PWM3CS
: 2;
5058 unsigned PWM3PS
: 3;
5068 } __PWM3CLKCONbits_t
;
5070 extern __at(0x0DBE) volatile __PWM3CLKCONbits_t PWM3CLKCONbits
;
5072 #define _PWM3CLKCON_PWM3CS0 0x01
5073 #define _PWM3CLKCON_CS0 0x01
5074 #define _PWM3CLKCON_PWM3CS1 0x02
5075 #define _PWM3CLKCON_CS1 0x02
5076 #define _PWM3CLKCON_PWM3PS0 0x10
5077 #define _PWM3CLKCON_PS0 0x10
5078 #define _PWM3CLKCON_PWM3PS1 0x20
5079 #define _PWM3CLKCON_PS1 0x20
5080 #define _PWM3CLKCON_PWM3PS2 0x40
5081 #define _PWM3CLKCON_PS2 0x40
5083 //==============================================================================
5086 //==============================================================================
5089 extern __at(0x0DBF) __sfr PWM3LDCON
;
5095 unsigned PWM3LDS0
: 1;
5096 unsigned PWM3LDS1
: 1;
5113 unsigned PWM3LDM
: 1;
5114 unsigned PWM3LD
: 1;
5125 unsigned PWM3LDS
: 2;
5128 } __PWM3LDCONbits_t
;
5130 extern __at(0x0DBF) volatile __PWM3LDCONbits_t PWM3LDCONbits
;
5132 #define _PWM3LDCON_PWM3LDS0 0x01
5133 #define _PWM3LDCON_LDS0 0x01
5134 #define _PWM3LDCON_PWM3LDS1 0x02
5135 #define _PWM3LDCON_LDS1 0x02
5136 #define _PWM3LDCON_LDT 0x40
5137 #define _PWM3LDCON_PWM3LDM 0x40
5138 #define _PWM3LDCON_LDA 0x80
5139 #define _PWM3LDCON_PWM3LD 0x80
5141 //==============================================================================
5144 //==============================================================================
5147 extern __at(0x0DC0) __sfr PWM3OFCON
;
5153 unsigned PWM3OFS0
: 1;
5154 unsigned PWM3OFS1
: 1;
5158 unsigned PWM3OFM0
: 1;
5159 unsigned PWM3OFM1
: 1;
5169 unsigned PWM3OFMC
: 1;
5183 unsigned PWM3OFS
: 2;
5197 unsigned PWM3OFM
: 2;
5200 } __PWM3OFCONbits_t
;
5202 extern __at(0x0DC0) volatile __PWM3OFCONbits_t PWM3OFCONbits
;
5204 #define _PWM3OFCON_PWM3OFS0 0x01
5205 #define _PWM3OFCON_OFS0 0x01
5206 #define _PWM3OFCON_PWM3OFS1 0x02
5207 #define _PWM3OFCON_OFS1 0x02
5208 #define _PWM3OFCON_OFO 0x10
5209 #define _PWM3OFCON_PWM3OFMC 0x10
5210 #define _PWM3OFCON_PWM3OFM0 0x20
5211 #define _PWM3OFCON_OFM0 0x20
5212 #define _PWM3OFCON_PWM3OFM1 0x40
5213 #define _PWM3OFCON_OFM1 0x40
5215 //==============================================================================
5217 extern __at(0x0DC1) __sfr PWM4PH
;
5219 //==============================================================================
5222 extern __at(0x0DC1) __sfr PWM4PHL
;
5226 unsigned PWM4PHL0
: 1;
5227 unsigned PWM4PHL1
: 1;
5228 unsigned PWM4PHL2
: 1;
5229 unsigned PWM4PHL3
: 1;
5230 unsigned PWM4PHL4
: 1;
5231 unsigned PWM4PHL5
: 1;
5232 unsigned PWM4PHL6
: 1;
5233 unsigned PWM4PHL7
: 1;
5236 extern __at(0x0DC1) volatile __PWM4PHLbits_t PWM4PHLbits
;
5238 #define _PWM4PHL0 0x01
5239 #define _PWM4PHL1 0x02
5240 #define _PWM4PHL2 0x04
5241 #define _PWM4PHL3 0x08
5242 #define _PWM4PHL4 0x10
5243 #define _PWM4PHL5 0x20
5244 #define _PWM4PHL6 0x40
5245 #define _PWM4PHL7 0x80
5247 //==============================================================================
5250 //==============================================================================
5253 extern __at(0x0DC2) __sfr PWM4PHH
;
5257 unsigned PWM4PHH0
: 1;
5258 unsigned PWM4PHH1
: 1;
5259 unsigned PWM4PHH2
: 1;
5260 unsigned PWM4PHH3
: 1;
5261 unsigned PWM4PHH4
: 1;
5262 unsigned PWM4PHH5
: 1;
5263 unsigned PWM4PHH6
: 1;
5264 unsigned PWM4PHH7
: 1;
5267 extern __at(0x0DC2) volatile __PWM4PHHbits_t PWM4PHHbits
;
5269 #define _PWM4PHH0 0x01
5270 #define _PWM4PHH1 0x02
5271 #define _PWM4PHH2 0x04
5272 #define _PWM4PHH3 0x08
5273 #define _PWM4PHH4 0x10
5274 #define _PWM4PHH5 0x20
5275 #define _PWM4PHH6 0x40
5276 #define _PWM4PHH7 0x80
5278 //==============================================================================
5280 extern __at(0x0DC3) __sfr PWM4DC
;
5282 //==============================================================================
5285 extern __at(0x0DC3) __sfr PWM4DCL
;
5289 unsigned PWM4DCL0
: 1;
5290 unsigned PWM4DCL1
: 1;
5291 unsigned PWM4DCL2
: 1;
5292 unsigned PWM4DCL3
: 1;
5293 unsigned PWM4DCL4
: 1;
5294 unsigned PWM4DCL5
: 1;
5295 unsigned PWM4DCL6
: 1;
5296 unsigned PWM4DCL7
: 1;
5299 extern __at(0x0DC3) volatile __PWM4DCLbits_t PWM4DCLbits
;
5301 #define _PWM4DCL0 0x01
5302 #define _PWM4DCL1 0x02
5303 #define _PWM4DCL2 0x04
5304 #define _PWM4DCL3 0x08
5305 #define _PWM4DCL4 0x10
5306 #define _PWM4DCL5 0x20
5307 #define _PWM4DCL6 0x40
5308 #define _PWM4DCL7 0x80
5310 //==============================================================================
5313 //==============================================================================
5316 extern __at(0x0DC4) __sfr PWM4DCH
;
5320 unsigned PWM4DCH0
: 1;
5321 unsigned PWM4DCH1
: 1;
5322 unsigned PWM4DCH2
: 1;
5323 unsigned PWM4DCH3
: 1;
5324 unsigned PWM4DCH4
: 1;
5325 unsigned PWM4DCH5
: 1;
5326 unsigned PWM4DCH6
: 1;
5327 unsigned PWM4DCH7
: 1;
5330 extern __at(0x0DC4) volatile __PWM4DCHbits_t PWM4DCHbits
;
5332 #define _PWM4DCH0 0x01
5333 #define _PWM4DCH1 0x02
5334 #define _PWM4DCH2 0x04
5335 #define _PWM4DCH3 0x08
5336 #define _PWM4DCH4 0x10
5337 #define _PWM4DCH5 0x20
5338 #define _PWM4DCH6 0x40
5339 #define _PWM4DCH7 0x80
5341 //==============================================================================
5343 extern __at(0x0DC5) __sfr PWM4PR
;
5345 //==============================================================================
5348 extern __at(0x0DC5) __sfr PWM4PRL
;
5352 unsigned PWM4PRL0
: 1;
5353 unsigned PWM4PRL1
: 1;
5354 unsigned PWM4PRL2
: 1;
5355 unsigned PWM4PRL3
: 1;
5356 unsigned PWM4PRL4
: 1;
5357 unsigned PWM4PRL5
: 1;
5358 unsigned PWM4PRL6
: 1;
5359 unsigned PWM4PRL7
: 1;
5362 extern __at(0x0DC5) volatile __PWM4PRLbits_t PWM4PRLbits
;
5364 #define _PWM4PRL0 0x01
5365 #define _PWM4PRL1 0x02
5366 #define _PWM4PRL2 0x04
5367 #define _PWM4PRL3 0x08
5368 #define _PWM4PRL4 0x10
5369 #define _PWM4PRL5 0x20
5370 #define _PWM4PRL6 0x40
5371 #define _PWM4PRL7 0x80
5373 //==============================================================================
5376 //==============================================================================
5379 extern __at(0x0DC6) __sfr PWM4PRH
;
5383 unsigned PWM4PRH0
: 1;
5384 unsigned PWM4PRH1
: 1;
5385 unsigned PWM4PRH2
: 1;
5386 unsigned PWM4PRH3
: 1;
5387 unsigned PWM4PRH4
: 1;
5388 unsigned PWM4PRH5
: 1;
5389 unsigned PWM4PRH6
: 1;
5390 unsigned PWM4PRH7
: 1;
5393 extern __at(0x0DC6) volatile __PWM4PRHbits_t PWM4PRHbits
;
5395 #define _PWM4PRH0 0x01
5396 #define _PWM4PRH1 0x02
5397 #define _PWM4PRH2 0x04
5398 #define _PWM4PRH3 0x08
5399 #define _PWM4PRH4 0x10
5400 #define _PWM4PRH5 0x20
5401 #define _PWM4PRH6 0x40
5402 #define _PWM4PRH7 0x80
5404 //==============================================================================
5406 extern __at(0x0DC7) __sfr PWM4OF
;
5408 //==============================================================================
5411 extern __at(0x0DC7) __sfr PWM4OFL
;
5415 unsigned PWM4OFL0
: 1;
5416 unsigned PWM4OFL1
: 1;
5417 unsigned PWM4OFL2
: 1;
5418 unsigned PWM4OFL3
: 1;
5419 unsigned PWM4OFL4
: 1;
5420 unsigned PWM4OFL5
: 1;
5421 unsigned PWM4OFL6
: 1;
5422 unsigned PWM4OFL7
: 1;
5425 extern __at(0x0DC7) volatile __PWM4OFLbits_t PWM4OFLbits
;
5427 #define _PWM4OFL0 0x01
5428 #define _PWM4OFL1 0x02
5429 #define _PWM4OFL2 0x04
5430 #define _PWM4OFL3 0x08
5431 #define _PWM4OFL4 0x10
5432 #define _PWM4OFL5 0x20
5433 #define _PWM4OFL6 0x40
5434 #define _PWM4OFL7 0x80
5436 //==============================================================================
5439 //==============================================================================
5442 extern __at(0x0DC8) __sfr PWM4OFH
;
5446 unsigned PWM4OFH0
: 1;
5447 unsigned PWM4OFH1
: 1;
5448 unsigned PWM4OFH2
: 1;
5449 unsigned PWM4OFH3
: 1;
5450 unsigned PWM4OFH4
: 1;
5451 unsigned PWM4OFH5
: 1;
5452 unsigned PWM4OFH6
: 1;
5453 unsigned PWM4OFH7
: 1;
5456 extern __at(0x0DC8) volatile __PWM4OFHbits_t PWM4OFHbits
;
5458 #define _PWM4OFH0 0x01
5459 #define _PWM4OFH1 0x02
5460 #define _PWM4OFH2 0x04
5461 #define _PWM4OFH3 0x08
5462 #define _PWM4OFH4 0x10
5463 #define _PWM4OFH5 0x20
5464 #define _PWM4OFH6 0x40
5465 #define _PWM4OFH7 0x80
5467 //==============================================================================
5469 extern __at(0x0DC9) __sfr PWM4TMR
;
5471 //==============================================================================
5474 extern __at(0x0DC9) __sfr PWM4TMRL
;
5478 unsigned PWM4TMRL0
: 1;
5479 unsigned PWM4TMRL1
: 1;
5480 unsigned PWM4TMRL2
: 1;
5481 unsigned PWM4TMRL3
: 1;
5482 unsigned PWM4TMRL4
: 1;
5483 unsigned PWM4TMRL5
: 1;
5484 unsigned PWM4TMRL6
: 1;
5485 unsigned PWM4TMRL7
: 1;
5488 extern __at(0x0DC9) volatile __PWM4TMRLbits_t PWM4TMRLbits
;
5490 #define _PWM4TMRL0 0x01
5491 #define _PWM4TMRL1 0x02
5492 #define _PWM4TMRL2 0x04
5493 #define _PWM4TMRL3 0x08
5494 #define _PWM4TMRL4 0x10
5495 #define _PWM4TMRL5 0x20
5496 #define _PWM4TMRL6 0x40
5497 #define _PWM4TMRL7 0x80
5499 //==============================================================================
5502 //==============================================================================
5505 extern __at(0x0DCA) __sfr PWM4TMRH
;
5509 unsigned PWM4TMRH0
: 1;
5510 unsigned PWM4TMRH1
: 1;
5511 unsigned PWM4TMRH2
: 1;
5512 unsigned PWM4TMRH3
: 1;
5513 unsigned PWM4TMRH4
: 1;
5514 unsigned PWM4TMRH5
: 1;
5515 unsigned PWM4TMRH6
: 1;
5516 unsigned PWM4TMRH7
: 1;
5519 extern __at(0x0DCA) volatile __PWM4TMRHbits_t PWM4TMRHbits
;
5521 #define _PWM4TMRH0 0x01
5522 #define _PWM4TMRH1 0x02
5523 #define _PWM4TMRH2 0x04
5524 #define _PWM4TMRH3 0x08
5525 #define _PWM4TMRH4 0x10
5526 #define _PWM4TMRH5 0x20
5527 #define _PWM4TMRH6 0x40
5528 #define _PWM4TMRH7 0x80
5530 //==============================================================================
5533 //==============================================================================
5536 extern __at(0x0DCB) __sfr PWM4CON
;
5544 unsigned PWM4MODE0
: 1;
5545 unsigned PWM4MODE1
: 1;
5558 unsigned PWM4POL
: 1;
5559 unsigned PWM4OUT
: 1;
5560 unsigned PWM4OE
: 1;
5561 unsigned PWM4EN
: 1;
5567 unsigned PWM4MODE
: 2;
5579 extern __at(0x0DCB) volatile __PWM4CONbits_t PWM4CONbits
;
5581 #define _PWM4CON_PWM4MODE0 0x04
5582 #define _PWM4CON_MODE0 0x04
5583 #define _PWM4CON_PWM4MODE1 0x08
5584 #define _PWM4CON_MODE1 0x08
5585 #define _PWM4CON_POL 0x10
5586 #define _PWM4CON_PWM4POL 0x10
5587 #define _PWM4CON_OUT 0x20
5588 #define _PWM4CON_PWM4OUT 0x20
5589 #define _PWM4CON_OE 0x40
5590 #define _PWM4CON_PWM4OE 0x40
5591 #define _PWM4CON_EN 0x80
5592 #define _PWM4CON_PWM4EN 0x80
5594 //==============================================================================
5597 //==============================================================================
5600 extern __at(0x0DCC) __sfr PWM4INTCON
;
5618 unsigned PWM4PRIE
: 1;
5619 unsigned PWM4DCIE
: 1;
5620 unsigned PWM4PHIE
: 1;
5621 unsigned PWM4OFIE
: 1;
5627 } __PWM4INTCONbits_t
;
5629 extern __at(0x0DCC) volatile __PWM4INTCONbits_t PWM4INTCONbits
;
5631 #define _PWM4INTCON_PRIE 0x01
5632 #define _PWM4INTCON_PWM4PRIE 0x01
5633 #define _PWM4INTCON_DCIE 0x02
5634 #define _PWM4INTCON_PWM4DCIE 0x02
5635 #define _PWM4INTCON_PHIE 0x04
5636 #define _PWM4INTCON_PWM4PHIE 0x04
5637 #define _PWM4INTCON_OFIE 0x08
5638 #define _PWM4INTCON_PWM4OFIE 0x08
5640 //==============================================================================
5643 //==============================================================================
5646 extern __at(0x0DCC) __sfr PWM4INTE
;
5664 unsigned PWM4PRIE
: 1;
5665 unsigned PWM4DCIE
: 1;
5666 unsigned PWM4PHIE
: 1;
5667 unsigned PWM4OFIE
: 1;
5675 extern __at(0x0DCC) volatile __PWM4INTEbits_t PWM4INTEbits
;
5677 #define _PWM4INTE_PRIE 0x01
5678 #define _PWM4INTE_PWM4PRIE 0x01
5679 #define _PWM4INTE_DCIE 0x02
5680 #define _PWM4INTE_PWM4DCIE 0x02
5681 #define _PWM4INTE_PHIE 0x04
5682 #define _PWM4INTE_PWM4PHIE 0x04
5683 #define _PWM4INTE_OFIE 0x08
5684 #define _PWM4INTE_PWM4OFIE 0x08
5686 //==============================================================================
5689 //==============================================================================
5692 extern __at(0x0DCD) __sfr PWM4INTF
;
5710 unsigned PWM4PRIF
: 1;
5711 unsigned PWM4DCIF
: 1;
5712 unsigned PWM4PHIF
: 1;
5713 unsigned PWM4OFIF
: 1;
5721 extern __at(0x0DCD) volatile __PWM4INTFbits_t PWM4INTFbits
;
5723 #define _PWM4INTF_PRIF 0x01
5724 #define _PWM4INTF_PWM4PRIF 0x01
5725 #define _PWM4INTF_DCIF 0x02
5726 #define _PWM4INTF_PWM4DCIF 0x02
5727 #define _PWM4INTF_PHIF 0x04
5728 #define _PWM4INTF_PWM4PHIF 0x04
5729 #define _PWM4INTF_OFIF 0x08
5730 #define _PWM4INTF_PWM4OFIF 0x08
5732 //==============================================================================
5735 //==============================================================================
5738 extern __at(0x0DCD) __sfr PWM4INTFLG
;
5756 unsigned PWM4PRIF
: 1;
5757 unsigned PWM4DCIF
: 1;
5758 unsigned PWM4PHIF
: 1;
5759 unsigned PWM4OFIF
: 1;
5765 } __PWM4INTFLGbits_t
;
5767 extern __at(0x0DCD) volatile __PWM4INTFLGbits_t PWM4INTFLGbits
;
5769 #define _PWM4INTFLG_PRIF 0x01
5770 #define _PWM4INTFLG_PWM4PRIF 0x01
5771 #define _PWM4INTFLG_DCIF 0x02
5772 #define _PWM4INTFLG_PWM4DCIF 0x02
5773 #define _PWM4INTFLG_PHIF 0x04
5774 #define _PWM4INTFLG_PWM4PHIF 0x04
5775 #define _PWM4INTFLG_OFIF 0x08
5776 #define _PWM4INTFLG_PWM4OFIF 0x08
5778 //==============================================================================
5781 //==============================================================================
5784 extern __at(0x0DCE) __sfr PWM4CLKCON
;
5790 unsigned PWM4CS0
: 1;
5791 unsigned PWM4CS1
: 1;
5794 unsigned PWM4PS0
: 1;
5795 unsigned PWM4PS1
: 1;
5796 unsigned PWM4PS2
: 1;
5820 unsigned PWM4CS
: 2;
5834 unsigned PWM4PS
: 3;
5837 } __PWM4CLKCONbits_t
;
5839 extern __at(0x0DCE) volatile __PWM4CLKCONbits_t PWM4CLKCONbits
;
5841 #define _PWM4CLKCON_PWM4CS0 0x01
5842 #define _PWM4CLKCON_CS0 0x01
5843 #define _PWM4CLKCON_PWM4CS1 0x02
5844 #define _PWM4CLKCON_CS1 0x02
5845 #define _PWM4CLKCON_PWM4PS0 0x10
5846 #define _PWM4CLKCON_PS0 0x10
5847 #define _PWM4CLKCON_PWM4PS1 0x20
5848 #define _PWM4CLKCON_PS1 0x20
5849 #define _PWM4CLKCON_PWM4PS2 0x40
5850 #define _PWM4CLKCON_PS2 0x40
5852 //==============================================================================
5855 //==============================================================================
5858 extern __at(0x0DCF) __sfr PWM4LDCON
;
5864 unsigned PWM4LDS0
: 1;
5865 unsigned PWM4LDS1
: 1;
5882 unsigned PWM4LDM
: 1;
5883 unsigned PWM4LD
: 1;
5894 unsigned PWM4LDS
: 2;
5897 } __PWM4LDCONbits_t
;
5899 extern __at(0x0DCF) volatile __PWM4LDCONbits_t PWM4LDCONbits
;
5901 #define _PWM4LDCON_PWM4LDS0 0x01
5902 #define _PWM4LDCON_LDS0 0x01
5903 #define _PWM4LDCON_PWM4LDS1 0x02
5904 #define _PWM4LDCON_LDS1 0x02
5905 #define _PWM4LDCON_LDT 0x40
5906 #define _PWM4LDCON_PWM4LDM 0x40
5907 #define _PWM4LDCON_LDA 0x80
5908 #define _PWM4LDCON_PWM4LD 0x80
5910 //==============================================================================
5913 //==============================================================================
5916 extern __at(0x0DD0) __sfr PWM4OFCON
;
5922 unsigned PWM4OFS0
: 1;
5923 unsigned PWM4OFS1
: 1;
5927 unsigned PWM4OFM0
: 1;
5928 unsigned PWM4OFM1
: 1;
5938 unsigned PWM4OFMC
: 1;
5952 unsigned PWM4OFS
: 2;
5959 unsigned PWM4OFM
: 2;
5969 } __PWM4OFCONbits_t
;
5971 extern __at(0x0DD0) volatile __PWM4OFCONbits_t PWM4OFCONbits
;
5973 #define _PWM4OFCON_PWM4OFS0 0x01
5974 #define _PWM4OFCON_OFS0 0x01
5975 #define _PWM4OFCON_PWM4OFS1 0x02
5976 #define _PWM4OFCON_OFS1 0x02
5977 #define _PWM4OFCON_OFO 0x10
5978 #define _PWM4OFCON_PWM4OFMC 0x10
5979 #define _PWM4OFCON_PWM4OFM0 0x20
5980 #define _PWM4OFCON_OFM0 0x20
5981 #define _PWM4OFCON_PWM4OFM1 0x40
5982 #define _PWM4OFCON_OFM1 0x40
5984 //==============================================================================
5987 //==============================================================================
5990 extern __at(0x0E0F) __sfr PPSLOCK
;
5994 unsigned PPSLOCKED
: 1;
6004 extern __at(0x0E0F) volatile __PPSLOCKbits_t PPSLOCKbits
;
6006 #define _PPSLOCKED 0x01
6008 //==============================================================================
6011 //==============================================================================
6014 extern __at(0x0E10) __sfr INTPPS
;
6020 unsigned INTPPS0
: 1;
6021 unsigned INTPPS1
: 1;
6022 unsigned INTPPS2
: 1;
6023 unsigned INTPPS3
: 1;
6024 unsigned INTPPS4
: 1;
6032 unsigned INTPPS
: 5;
6037 extern __at(0x0E10) volatile __INTPPSbits_t INTPPSbits
;
6039 #define _INTPPS0 0x01
6040 #define _INTPPS1 0x02
6041 #define _INTPPS2 0x04
6042 #define _INTPPS3 0x08
6043 #define _INTPPS4 0x10
6045 //==============================================================================
6048 //==============================================================================
6051 extern __at(0x0E11) __sfr T0CKIPPS
;
6057 unsigned T0CKIPPS0
: 1;
6058 unsigned T0CKIPPS1
: 1;
6059 unsigned T0CKIPPS2
: 1;
6060 unsigned T0CKIPPS3
: 1;
6061 unsigned T0CKIPPS4
: 1;
6069 unsigned T0CKIPPS
: 5;
6074 extern __at(0x0E11) volatile __T0CKIPPSbits_t T0CKIPPSbits
;
6076 #define _T0CKIPPS0 0x01
6077 #define _T0CKIPPS1 0x02
6078 #define _T0CKIPPS2 0x04
6079 #define _T0CKIPPS3 0x08
6080 #define _T0CKIPPS4 0x10
6082 //==============================================================================
6085 //==============================================================================
6088 extern __at(0x0E12) __sfr T1CKIPPS
;
6094 unsigned T1CKIPPS0
: 1;
6095 unsigned T1CKIPPS1
: 1;
6096 unsigned T1CKIPPS2
: 1;
6097 unsigned T1CKIPPS3
: 1;
6098 unsigned T1CKIPPS4
: 1;
6106 unsigned T1CKIPPS
: 5;
6111 extern __at(0x0E12) volatile __T1CKIPPSbits_t T1CKIPPSbits
;
6113 #define _T1CKIPPS0 0x01
6114 #define _T1CKIPPS1 0x02
6115 #define _T1CKIPPS2 0x04
6116 #define _T1CKIPPS3 0x08
6117 #define _T1CKIPPS4 0x10
6119 //==============================================================================
6122 //==============================================================================
6125 extern __at(0x0E13) __sfr T1GPPS
;
6131 unsigned T1GPPS0
: 1;
6132 unsigned T1GPPS1
: 1;
6133 unsigned T1GPPS2
: 1;
6134 unsigned T1GPPS3
: 1;
6135 unsigned T1GPPS4
: 1;
6143 unsigned T1GPPS
: 5;
6148 extern __at(0x0E13) volatile __T1GPPSbits_t T1GPPSbits
;
6150 #define _T1GPPS0 0x01
6151 #define _T1GPPS1 0x02
6152 #define _T1GPPS2 0x04
6153 #define _T1GPPS3 0x08
6154 #define _T1GPPS4 0x10
6156 //==============================================================================
6159 //==============================================================================
6162 extern __at(0x0E14) __sfr CWG1INPPS
;
6168 unsigned CWG1INPPS0
: 1;
6169 unsigned CWG1INPPS1
: 1;
6170 unsigned CWG1INPPS2
: 1;
6171 unsigned CWG1INPPS3
: 1;
6172 unsigned CWG1INPPS4
: 1;
6180 unsigned CWG1INPPS
: 5;
6183 } __CWG1INPPSbits_t
;
6185 extern __at(0x0E14) volatile __CWG1INPPSbits_t CWG1INPPSbits
;
6187 #define _CWG1INPPS0 0x01
6188 #define _CWG1INPPS1 0x02
6189 #define _CWG1INPPS2 0x04
6190 #define _CWG1INPPS3 0x08
6191 #define _CWG1INPPS4 0x10
6193 //==============================================================================
6196 //==============================================================================
6199 extern __at(0x0E15) __sfr RXPPS
;
6205 unsigned RXPPS0
: 1;
6206 unsigned RXPPS1
: 1;
6207 unsigned RXPPS2
: 1;
6208 unsigned RXPPS3
: 1;
6209 unsigned RXPPS4
: 1;
6222 extern __at(0x0E15) volatile __RXPPSbits_t RXPPSbits
;
6224 #define _RXPPS0 0x01
6225 #define _RXPPS1 0x02
6226 #define _RXPPS2 0x04
6227 #define _RXPPS3 0x08
6228 #define _RXPPS4 0x10
6230 //==============================================================================
6233 //==============================================================================
6236 extern __at(0x0E16) __sfr CKPPS
;
6242 unsigned CKPPS0
: 1;
6243 unsigned CKPPS1
: 1;
6244 unsigned CKPPS2
: 1;
6245 unsigned CKPPS3
: 1;
6246 unsigned CKPPS4
: 1;
6259 extern __at(0x0E16) volatile __CKPPSbits_t CKPPSbits
;
6261 #define _CKPPS0 0x01
6262 #define _CKPPS1 0x02
6263 #define _CKPPS2 0x04
6264 #define _CKPPS3 0x08
6265 #define _CKPPS4 0x10
6267 //==============================================================================
6270 //==============================================================================
6273 extern __at(0x0E17) __sfr ADCACTPPS
;
6279 unsigned ADCACTPPS0
: 1;
6280 unsigned ADCACTPPS1
: 1;
6281 unsigned ADCACTPPS2
: 1;
6282 unsigned ADCACTPPS3
: 1;
6283 unsigned ADCACTPPS4
: 1;
6291 unsigned ADCACTPPS
: 5;
6294 } __ADCACTPPSbits_t
;
6296 extern __at(0x0E17) volatile __ADCACTPPSbits_t ADCACTPPSbits
;
6298 #define _ADCACTPPS0 0x01
6299 #define _ADCACTPPS1 0x02
6300 #define _ADCACTPPS2 0x04
6301 #define _ADCACTPPS3 0x08
6302 #define _ADCACTPPS4 0x10
6304 //==============================================================================
6307 //==============================================================================
6310 extern __at(0x0E90) __sfr RA0PPS
;
6316 unsigned RA0PPS0
: 1;
6317 unsigned RA0PPS1
: 1;
6318 unsigned RA0PPS2
: 1;
6319 unsigned RA0PPS3
: 1;
6328 unsigned RA0PPS
: 4;
6333 extern __at(0x0E90) volatile __RA0PPSbits_t RA0PPSbits
;
6335 #define _RA0PPS0 0x01
6336 #define _RA0PPS1 0x02
6337 #define _RA0PPS2 0x04
6338 #define _RA0PPS3 0x08
6340 //==============================================================================
6343 //==============================================================================
6346 extern __at(0x0E91) __sfr RA1PPS
;
6352 unsigned RA1PPS0
: 1;
6353 unsigned RA1PPS1
: 1;
6354 unsigned RA1PPS2
: 1;
6355 unsigned RA1PPS3
: 1;
6364 unsigned RA1PPS
: 4;
6369 extern __at(0x0E91) volatile __RA1PPSbits_t RA1PPSbits
;
6371 #define _RA1PPS0 0x01
6372 #define _RA1PPS1 0x02
6373 #define _RA1PPS2 0x04
6374 #define _RA1PPS3 0x08
6376 //==============================================================================
6379 //==============================================================================
6382 extern __at(0x0E92) __sfr RA2PPS
;
6388 unsigned RA2PPS0
: 1;
6389 unsigned RA2PPS1
: 1;
6390 unsigned RA2PPS2
: 1;
6391 unsigned RA2PPS3
: 1;
6400 unsigned RA2PPS
: 4;
6405 extern __at(0x0E92) volatile __RA2PPSbits_t RA2PPSbits
;
6407 #define _RA2PPS0 0x01
6408 #define _RA2PPS1 0x02
6409 #define _RA2PPS2 0x04
6410 #define _RA2PPS3 0x08
6412 //==============================================================================
6415 //==============================================================================
6418 extern __at(0x0E94) __sfr RA4PPS
;
6424 unsigned RA4PPS0
: 1;
6425 unsigned RA4PPS1
: 1;
6426 unsigned RA4PPS2
: 1;
6427 unsigned RA4PPS3
: 1;
6436 unsigned RA4PPS
: 4;
6441 extern __at(0x0E94) volatile __RA4PPSbits_t RA4PPSbits
;
6443 #define _RA4PPS0 0x01
6444 #define _RA4PPS1 0x02
6445 #define _RA4PPS2 0x04
6446 #define _RA4PPS3 0x08
6448 //==============================================================================
6451 //==============================================================================
6454 extern __at(0x0E95) __sfr RA5PPS
;
6460 unsigned RA5PPS0
: 1;
6461 unsigned RA5PPS1
: 1;
6462 unsigned RA5PPS2
: 1;
6463 unsigned RA5PPS3
: 1;
6472 unsigned RA5PPS
: 4;
6477 extern __at(0x0E95) volatile __RA5PPSbits_t RA5PPSbits
;
6479 #define _RA5PPS0 0x01
6480 #define _RA5PPS1 0x02
6481 #define _RA5PPS2 0x04
6482 #define _RA5PPS3 0x08
6484 //==============================================================================
6487 //==============================================================================
6490 extern __at(0x0E9C) __sfr RB4PPS
;
6496 unsigned RB4PPS0
: 1;
6497 unsigned RB4PPS1
: 1;
6498 unsigned RB4PPS2
: 1;
6499 unsigned RB4PPS3
: 1;
6508 unsigned RB4PPS
: 4;
6513 extern __at(0x0E9C) volatile __RB4PPSbits_t RB4PPSbits
;
6515 #define _RB4PPS0 0x01
6516 #define _RB4PPS1 0x02
6517 #define _RB4PPS2 0x04
6518 #define _RB4PPS3 0x08
6520 //==============================================================================
6523 //==============================================================================
6526 extern __at(0x0E9D) __sfr RB5PPS
;
6532 unsigned RB5PPS0
: 1;
6533 unsigned RB5PPS1
: 1;
6534 unsigned RB5PPS2
: 1;
6535 unsigned RB5PPS3
: 1;
6544 unsigned RB5PPS
: 4;
6549 extern __at(0x0E9D) volatile __RB5PPSbits_t RB5PPSbits
;
6551 #define _RB5PPS0 0x01
6552 #define _RB5PPS1 0x02
6553 #define _RB5PPS2 0x04
6554 #define _RB5PPS3 0x08
6556 //==============================================================================
6559 //==============================================================================
6562 extern __at(0x0E9E) __sfr RB6PPS
;
6568 unsigned RB6PPS0
: 1;
6569 unsigned RB6PPS1
: 1;
6570 unsigned RB6PPS2
: 1;
6571 unsigned RB6PPS3
: 1;
6580 unsigned RB6PPS
: 4;
6585 extern __at(0x0E9E) volatile __RB6PPSbits_t RB6PPSbits
;
6587 #define _RB6PPS0 0x01
6588 #define _RB6PPS1 0x02
6589 #define _RB6PPS2 0x04
6590 #define _RB6PPS3 0x08
6592 //==============================================================================
6595 //==============================================================================
6598 extern __at(0x0E9F) __sfr RB7PPS
;
6604 unsigned RB7PPS0
: 1;
6605 unsigned RB7PPS1
: 1;
6606 unsigned RB7PPS2
: 1;
6607 unsigned RB7PPS3
: 1;
6616 unsigned RB7PPS
: 4;
6621 extern __at(0x0E9F) volatile __RB7PPSbits_t RB7PPSbits
;
6623 #define _RB7PPS0 0x01
6624 #define _RB7PPS1 0x02
6625 #define _RB7PPS2 0x04
6626 #define _RB7PPS3 0x08
6628 //==============================================================================
6631 //==============================================================================
6634 extern __at(0x0EA0) __sfr RC0PPS
;
6640 unsigned RC0PPS0
: 1;
6641 unsigned RC0PPS1
: 1;
6642 unsigned RC0PPS2
: 1;
6643 unsigned RC0PPS3
: 1;
6652 unsigned RC0PPS
: 4;
6657 extern __at(0x0EA0) volatile __RC0PPSbits_t RC0PPSbits
;
6659 #define _RC0PPS0 0x01
6660 #define _RC0PPS1 0x02
6661 #define _RC0PPS2 0x04
6662 #define _RC0PPS3 0x08
6664 //==============================================================================
6667 //==============================================================================
6670 extern __at(0x0EA1) __sfr RC1PPS
;
6676 unsigned RC1PPS0
: 1;
6677 unsigned RC1PPS1
: 1;
6678 unsigned RC1PPS2
: 1;
6679 unsigned RC1PPS3
: 1;
6688 unsigned RC1PPS
: 4;
6693 extern __at(0x0EA1) volatile __RC1PPSbits_t RC1PPSbits
;
6695 #define _RC1PPS0 0x01
6696 #define _RC1PPS1 0x02
6697 #define _RC1PPS2 0x04
6698 #define _RC1PPS3 0x08
6700 //==============================================================================
6703 //==============================================================================
6706 extern __at(0x0EA2) __sfr RC2PPS
;
6712 unsigned RC1PPS0
: 1;
6713 unsigned RC1PPS1
: 1;
6714 unsigned RC1PPS2
: 1;
6715 unsigned RC1PPS3
: 1;
6724 unsigned RC1PPS
: 4;
6729 extern __at(0x0EA2) volatile __RC2PPSbits_t RC2PPSbits
;
6731 #define _RC2PPS_RC1PPS0 0x01
6732 #define _RC2PPS_RC1PPS1 0x02
6733 #define _RC2PPS_RC1PPS2 0x04
6734 #define _RC2PPS_RC1PPS3 0x08
6736 //==============================================================================
6739 //==============================================================================
6742 extern __at(0x0EA3) __sfr RC3PPS
;
6748 unsigned RC3PPS0
: 1;
6749 unsigned RC3PPS1
: 1;
6750 unsigned RC3PPS2
: 1;
6751 unsigned RC3PPS3
: 1;
6760 unsigned RC3PPS
: 4;
6765 extern __at(0x0EA3) volatile __RC3PPSbits_t RC3PPSbits
;
6767 #define _RC3PPS0 0x01
6768 #define _RC3PPS1 0x02
6769 #define _RC3PPS2 0x04
6770 #define _RC3PPS3 0x08
6772 //==============================================================================
6775 //==============================================================================
6778 extern __at(0x0EA4) __sfr RC4PPS
;
6784 unsigned RC4PPS0
: 1;
6785 unsigned RC4PPS1
: 1;
6786 unsigned RC4PPS2
: 1;
6787 unsigned RC4PPS3
: 1;
6796 unsigned RC4PPS
: 4;
6801 extern __at(0x0EA4) volatile __RC4PPSbits_t RC4PPSbits
;
6803 #define _RC4PPS0 0x01
6804 #define _RC4PPS1 0x02
6805 #define _RC4PPS2 0x04
6806 #define _RC4PPS3 0x08
6808 //==============================================================================
6811 //==============================================================================
6814 extern __at(0x0EA5) __sfr RC5PPS
;
6820 unsigned RC5PPS0
: 1;
6821 unsigned RC5PPS1
: 1;
6822 unsigned RC5PPS2
: 1;
6823 unsigned RC5PPS3
: 1;
6832 unsigned RC5PPS
: 4;
6837 extern __at(0x0EA5) volatile __RC5PPSbits_t RC5PPSbits
;
6839 #define _RC5PPS0 0x01
6840 #define _RC5PPS1 0x02
6841 #define _RC5PPS2 0x04
6842 #define _RC5PPS3 0x08
6844 //==============================================================================
6847 //==============================================================================
6850 extern __at(0x0EA6) __sfr RC6PPS
;
6856 unsigned RC6PPS0
: 1;
6857 unsigned RC6PPS1
: 1;
6858 unsigned RC6PPS2
: 1;
6859 unsigned RC6PPS3
: 1;
6868 unsigned RC6PPS
: 4;
6873 extern __at(0x0EA6) volatile __RC6PPSbits_t RC6PPSbits
;
6875 #define _RC6PPS0 0x01
6876 #define _RC6PPS1 0x02
6877 #define _RC6PPS2 0x04
6878 #define _RC6PPS3 0x08
6880 //==============================================================================
6883 //==============================================================================
6886 extern __at(0x0EA7) __sfr RC7PPS
;
6892 unsigned RC7PPS0
: 1;
6893 unsigned RC7PPS1
: 1;
6894 unsigned RC7PPS2
: 1;
6895 unsigned RC7PPS3
: 1;
6904 unsigned RC7PPS
: 4;
6909 extern __at(0x0EA7) volatile __RC7PPSbits_t RC7PPSbits
;
6911 #define _RC7PPS0 0x01
6912 #define _RC7PPS1 0x02
6913 #define _RC7PPS2 0x04
6914 #define _RC7PPS3 0x08
6916 //==============================================================================
6919 //==============================================================================
6922 extern __at(0x0FE4) __sfr STATUS_SHAD
;
6926 unsigned C_SHAD
: 1;
6927 unsigned DC_SHAD
: 1;
6928 unsigned Z_SHAD
: 1;
6934 } __STATUS_SHADbits_t
;
6936 extern __at(0x0FE4) volatile __STATUS_SHADbits_t STATUS_SHADbits
;
6938 #define _C_SHAD 0x01
6939 #define _DC_SHAD 0x02
6940 #define _Z_SHAD 0x04
6942 //==============================================================================
6944 extern __at(0x0FE5) __sfr WREG_SHAD
;
6945 extern __at(0x0FE6) __sfr BSR_SHAD
;
6946 extern __at(0x0FE7) __sfr PCLATH_SHAD
;
6947 extern __at(0x0FE8) __sfr FSR0L_SHAD
;
6948 extern __at(0x0FE8) __sfr FSR0_SHAD
;
6949 extern __at(0x0FE9) __sfr FSR0H_SHAD
;
6950 extern __at(0x0FEA) __sfr FSR1L_SHAD
;
6951 extern __at(0x0FEA) __sfr FSR1_SHAD
;
6952 extern __at(0x0FEB) __sfr FSR1H_SHAD
;
6953 extern __at(0x0FED) __sfr STKPTR
;
6954 extern __at(0x0FEE) __sfr TOS
;
6955 extern __at(0x0FEE) __sfr TOSL
;
6956 extern __at(0x0FEF) __sfr TOSH
;
6958 //==============================================================================
6960 // Configuration Bits
6962 //==============================================================================
6964 #define _CONFIG1 0x8007
6965 #define _CONFIG2 0x8008
6967 //----------------------------- CONFIG1 Options -------------------------------
6969 #define _FOSC_INTOSC 0x3FFC // INTOSC oscillator; I/O function on CLKIN pin.
6970 #define _FOSC_ECL 0x3FFD // ECL, External Clock, Low Power Mode (0-0.5 MHz); device clock supplied to CLKIN pin.
6971 #define _FOSC_ECM 0x3FFE // ECM, External Clock, Medium Power Mode (0.5-4 MHz); device clock supplied to CLKIN pin.
6972 #define _FOSC_ECH 0x3FFF // ECH, External Clock, High Power Mode (4-32 MHz); device clock supplied to CLKIN pin.
6973 #define _WDTE_OFF 0x3FE7 // WDT disabled.
6974 #define _WDTE_SWDTEN 0x3FEF // WDT controlled by the SWDTEN bit in the WDTCON register.
6975 #define _WDTE_NSLEEP 0x3FF7 // WDT enabled while running and disabled in Sleep.
6976 #define _WDTE_ON 0x3FFF // WDT enabled.
6977 #define _PWRTE_ON 0x3FDF // PWRT enabled.
6978 #define _PWRTE_OFF 0x3FFF // PWRT disabled.
6979 #define _MCLRE_OFF 0x3FBF // MCLR/VPP pin function is digital input.
6980 #define _MCLRE_ON 0x3FFF // MCLR/VPP pin function is MCLR.
6981 #define _CP_ON 0x3F7F // Program memory code protection is enabled.
6982 #define _CP_OFF 0x3FFF // Program memory code protection is disabled.
6983 #define _BOREN_OFF 0x39FF // Brown-out Reset disabled.
6984 #define _BOREN_SBODEN 0x3BFF // Brown-out Reset controlled by the SBOREN bit in the BORCON register.
6985 #define _BOREN_NSLEEP 0x3DFF // Brown-out Reset enabled while running and disabled in Sleep.
6986 #define _BOREN_ON 0x3FFF // Brown-out Reset enabled.
6987 #define _CLKOUTEN_ON 0x37FF // CLKOUT function is enabled on the CLKOUT pin.
6988 #define _CLKOUTEN_OFF 0x3FFF // CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin.
6990 //----------------------------- CONFIG2 Options -------------------------------
6992 #define _WRT_ALL 0x3FFC // 000h to FFFh write protected, no addresses may be modified by EECON control.
6993 #define _WRT_HALF 0x3FFD // 000h to 7FFh write protected, 800h to FFFh may be modified by EECON control.
6994 #define _WRT_BOOT 0x3FFE // 000h to 1FFh write protected, 200h to FFFh may be modified by EECON control.
6995 #define _WRT_OFF 0x3FFF // Write protection off.
6996 #define _PPS1WAY_OFF 0x3FFB // PPSLOCKED Bit Can Be Cleared & Set Repeatedly.
6997 #define _PPS1WAY_ON 0x3FFF // PPSLOCKED Bit Can Be Cleared & Set Once.
6998 #define _PLLEN_OFF 0x3EFF // 4x PLL disabled.
6999 #define _PLLEN_ON 0x3FFF // 4x PLL enabled.
7000 #define _STVREN_OFF 0x3DFF // Stack Overflow or Underflow will not cause a Reset.
7001 #define _STVREN_ON 0x3FFF // Stack Overflow or Underflow will cause a Reset.
7002 #define _BORV_HI 0x3BFF // Brown-out Reset Voltage (Vbor), high trip point selected.
7003 #define _BORV_LO 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
7004 #define _BORV_19 0x3FFF // Brown-out Reset Voltage (Vbor), low trip point selected.
7005 #define _LPBOREN_ON 0x37FF // LPBOR is enabled.
7006 #define _LPBOREN_OFF 0x3FFF // LPBOR is disabled.
7007 #define _DEBUG_ON 0x2FFF // In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger.
7008 #define _DEBUG_OFF 0x3FFF // In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins.
7009 #define _LVP_OFF 0x1FFF // High-voltage on MCLR/VPP must be used for programming.
7010 #define _LVP_ON 0x3FFF // Low-voltage programming enabled.
7012 //==============================================================================
7014 #define _DEVID1 0x8006
7016 #define _IDLOC0 0x8000
7017 #define _IDLOC1 0x8001
7018 #define _IDLOC2 0x8002
7019 #define _IDLOC3 0x8003
7021 //==============================================================================
7023 #ifndef NO_BIT_DEFINES
7025 #define ADCACTPPS0 ADCACTPPSbits.ADCACTPPS0 // bit 0
7026 #define ADCACTPPS1 ADCACTPPSbits.ADCACTPPS1 // bit 1
7027 #define ADCACTPPS2 ADCACTPPSbits.ADCACTPPS2 // bit 2
7028 #define ADCACTPPS3 ADCACTPPSbits.ADCACTPPS3 // bit 3
7029 #define ADCACTPPS4 ADCACTPPSbits.ADCACTPPS4 // bit 4
7031 #define ADON ADCON0bits.ADON // bit 0
7032 #define GO_NOT_DONE ADCON0bits.GO_NOT_DONE // bit 1, shadows bit in ADCON0bits
7033 #define ADGO ADCON0bits.ADGO // bit 1, shadows bit in ADCON0bits
7034 #define GO ADCON0bits.GO // bit 1, shadows bit in ADCON0bits
7035 #define NOT_DONE ADCON0bits.NOT_DONE // bit 1, shadows bit in ADCON0bits
7036 #define CHS0 ADCON0bits.CHS0 // bit 2
7037 #define CHS1 ADCON0bits.CHS1 // bit 3
7038 #define CHS2 ADCON0bits.CHS2 // bit 4
7039 #define CHS3 ADCON0bits.CHS3 // bit 5
7040 #define CHS4 ADCON0bits.CHS4 // bit 6
7042 #define ADPREF0 ADCON1bits.ADPREF0 // bit 0
7043 #define ADPREF1 ADCON1bits.ADPREF1 // bit 1
7044 #define ADCS0 ADCON1bits.ADCS0 // bit 4
7045 #define ADCS1 ADCON1bits.ADCS1 // bit 5
7046 #define ADCS2 ADCON1bits.ADCS2 // bit 6
7047 #define ADFM ADCON1bits.ADFM // bit 7
7049 #define TRIGSEL0 ADCON2bits.TRIGSEL0 // bit 4
7050 #define TRIGSEL1 ADCON2bits.TRIGSEL1 // bit 5
7051 #define TRIGSEL2 ADCON2bits.TRIGSEL2 // bit 6
7052 #define TRIGSEL3 ADCON2bits.TRIGSEL3 // bit 7
7054 #define ANSA0 ANSELAbits.ANSA0 // bit 0
7055 #define ANSA1 ANSELAbits.ANSA1 // bit 1
7056 #define ANSA2 ANSELAbits.ANSA2 // bit 2
7057 #define ANSA4 ANSELAbits.ANSA4 // bit 4
7059 #define ANSB4 ANSELBbits.ANSB4 // bit 4
7060 #define ANSB5 ANSELBbits.ANSB5 // bit 5
7062 #define ANSC0 ANSELCbits.ANSC0 // bit 0
7063 #define ANSC1 ANSELCbits.ANSC1 // bit 1
7064 #define ANSC2 ANSELCbits.ANSC2 // bit 2
7065 #define ANSC3 ANSELCbits.ANSC3 // bit 3
7066 #define ANSC6 ANSELCbits.ANSC6 // bit 6
7067 #define ANSC7 ANSELCbits.ANSC7 // bit 7
7069 #define ABDEN BAUDCONbits.ABDEN // bit 0
7070 #define WUE BAUDCONbits.WUE // bit 1
7071 #define BRG16 BAUDCONbits.BRG16 // bit 3
7072 #define SCKP BAUDCONbits.SCKP // bit 4
7073 #define RCIDL BAUDCONbits.RCIDL // bit 6
7074 #define ABDOVF BAUDCONbits.ABDOVF // bit 7
7076 #define BORRDY BORCONbits.BORRDY // bit 0
7077 #define BORFS BORCONbits.BORFS // bit 6
7078 #define SBOREN BORCONbits.SBOREN // bit 7
7080 #define BSR0 BSRbits.BSR0 // bit 0
7081 #define BSR1 BSRbits.BSR1 // bit 1
7082 #define BSR2 BSRbits.BSR2 // bit 2
7083 #define BSR3 BSRbits.BSR3 // bit 3
7084 #define BSR4 BSRbits.BSR4 // bit 4
7086 #define CKPPS0 CKPPSbits.CKPPS0 // bit 0
7087 #define CKPPS1 CKPPSbits.CKPPS1 // bit 1
7088 #define CKPPS2 CKPPSbits.CKPPS2 // bit 2
7089 #define CKPPS3 CKPPSbits.CKPPS3 // bit 3
7090 #define CKPPS4 CKPPSbits.CKPPS4 // bit 4
7092 #define C1SYNC CM1CON0bits.C1SYNC // bit 0
7093 #define C1HYS CM1CON0bits.C1HYS // bit 1
7094 #define C1SP CM1CON0bits.C1SP // bit 2
7095 #define C1POL CM1CON0bits.C1POL // bit 4
7096 #define C1OE CM1CON0bits.C1OE // bit 5
7097 #define C1OUT CM1CON0bits.C1OUT // bit 6
7098 #define C1ON CM1CON0bits.C1ON // bit 7
7100 #define C1NCH0 CM1CON1bits.C1NCH0 // bit 0
7101 #define C1NCH1 CM1CON1bits.C1NCH1 // bit 1
7102 #define C1NCH2 CM1CON1bits.C1NCH2 // bit 2
7103 #define C1PCH0 CM1CON1bits.C1PCH0 // bit 4
7104 #define C1PCH1 CM1CON1bits.C1PCH1 // bit 5
7105 #define C1INTN CM1CON1bits.C1INTN // bit 6
7106 #define C1INTP CM1CON1bits.C1INTP // bit 7
7108 #define C2SYNC CM2CON0bits.C2SYNC // bit 0
7109 #define C2HYS CM2CON0bits.C2HYS // bit 1
7110 #define C2SP CM2CON0bits.C2SP // bit 2
7111 #define C2POL CM2CON0bits.C2POL // bit 4
7112 #define C2OE CM2CON0bits.C2OE // bit 5
7113 #define C2OUT CM2CON0bits.C2OUT // bit 6
7114 #define C2ON CM2CON0bits.C2ON // bit 7
7116 #define C2NCH0 CM2CON1bits.C2NCH0 // bit 0
7117 #define C2NCH1 CM2CON1bits.C2NCH1 // bit 1
7118 #define C2NCH2 CM2CON1bits.C2NCH2 // bit 2
7119 #define C2PCH0 CM2CON1bits.C2PCH0 // bit 4
7120 #define C2PCH1 CM2CON1bits.C2PCH1 // bit 5
7121 #define C2INTN CM2CON1bits.C2INTN // bit 6
7122 #define C2INTP CM2CON1bits.C2INTP // bit 7
7124 #define MC1OUT CMOUTbits.MC1OUT // bit 0
7125 #define MC2OUT CMOUTbits.MC2OUT // bit 1
7127 #define G1CS0 CWG1CON0bits.G1CS0 // bit 0
7128 #define G1POLA CWG1CON0bits.G1POLA // bit 3
7129 #define G1POLB CWG1CON0bits.G1POLB // bit 4
7130 #define G1OEA CWG1CON0bits.G1OEA // bit 5
7131 #define G1OEB CWG1CON0bits.G1OEB // bit 6
7132 #define G1EN CWG1CON0bits.G1EN // bit 7
7134 #define G1IS0 CWG1CON1bits.G1IS0 // bit 0
7135 #define G1IS1 CWG1CON1bits.G1IS1 // bit 1
7136 #define G1IS2 CWG1CON1bits.G1IS2 // bit 2
7137 #define G1ASDLA0 CWG1CON1bits.G1ASDLA0 // bit 4
7138 #define G1ASDLA1 CWG1CON1bits.G1ASDLA1 // bit 5
7139 #define G1ASDLB0 CWG1CON1bits.G1ASDLB0 // bit 6
7140 #define G1ASDLB1 CWG1CON1bits.G1ASDLB1 // bit 7
7142 #define G1ASDSPPS CWG1CON2bits.G1ASDSPPS // bit 1
7143 #define G1ASDSC1 CWG1CON2bits.G1ASDSC1 // bit 2
7144 #define G1ASDSC2 CWG1CON2bits.G1ASDSC2 // bit 3
7145 #define G1ARSEN CWG1CON2bits.G1ARSEN // bit 6
7146 #define G1ASE CWG1CON2bits.G1ASE // bit 7
7148 #define CWG1DBF0 CWG1DBFbits.CWG1DBF0 // bit 0
7149 #define CWG1DBF1 CWG1DBFbits.CWG1DBF1 // bit 1
7150 #define CWG1DBF2 CWG1DBFbits.CWG1DBF2 // bit 2
7151 #define CWG1DBF3 CWG1DBFbits.CWG1DBF3 // bit 3
7152 #define CWG1DBF4 CWG1DBFbits.CWG1DBF4 // bit 4
7153 #define CWG1DBF5 CWG1DBFbits.CWG1DBF5 // bit 5
7155 #define CWG1DBR0 CWG1DBRbits.CWG1DBR0 // bit 0
7156 #define CWG1DBR1 CWG1DBRbits.CWG1DBR1 // bit 1
7157 #define CWG1DBR2 CWG1DBRbits.CWG1DBR2 // bit 2
7158 #define CWG1DBR3 CWG1DBRbits.CWG1DBR3 // bit 3
7159 #define CWG1DBR4 CWG1DBRbits.CWG1DBR4 // bit 4
7160 #define CWG1DBR5 CWG1DBRbits.CWG1DBR5 // bit 5
7162 #define CWG1INPPS0 CWG1INPPSbits.CWG1INPPS0 // bit 0
7163 #define CWG1INPPS1 CWG1INPPSbits.CWG1INPPS1 // bit 1
7164 #define CWG1INPPS2 CWG1INPPSbits.CWG1INPPS2 // bit 2
7165 #define CWG1INPPS3 CWG1INPPSbits.CWG1INPPS3 // bit 3
7166 #define CWG1INPPS4 CWG1INPPSbits.CWG1INPPS4 // bit 4
7168 #define DACPSS0 DACCON0bits.DACPSS0 // bit 2
7169 #define DACPSS1 DACCON0bits.DACPSS1 // bit 3
7170 #define DACOE DACCON0bits.DACOE // bit 5
7171 #define DACLPS DACCON0bits.DACLPS // bit 6
7172 #define DACEN DACCON0bits.DACEN // bit 7
7174 #define DACR0 DACCON1bits.DACR0 // bit 0
7175 #define DACR1 DACCON1bits.DACR1 // bit 1
7176 #define DACR2 DACCON1bits.DACR2 // bit 2
7177 #define DACR3 DACCON1bits.DACR3 // bit 3
7178 #define DACR4 DACCON1bits.DACR4 // bit 4
7180 #define ADFVR0 FVRCONbits.ADFVR0 // bit 0
7181 #define ADFVR1 FVRCONbits.ADFVR1 // bit 1
7182 #define CDAFVR0 FVRCONbits.CDAFVR0 // bit 2
7183 #define CDAFVR1 FVRCONbits.CDAFVR1 // bit 3
7184 #define TSRNG FVRCONbits.TSRNG // bit 4
7185 #define TSEN FVRCONbits.TSEN // bit 5
7186 #define FVRRDY FVRCONbits.FVRRDY // bit 6
7187 #define FVREN FVRCONbits.FVREN // bit 7
7189 #define INLVLA0 INLVLAbits.INLVLA0 // bit 0
7190 #define INLVLA1 INLVLAbits.INLVLA1 // bit 1
7191 #define INLVLA2 INLVLAbits.INLVLA2 // bit 2
7192 #define INLVLA3 INLVLAbits.INLVLA3 // bit 3
7193 #define INLVLA4 INLVLAbits.INLVLA4 // bit 4
7194 #define INLVLA5 INLVLAbits.INLVLA5 // bit 5
7196 #define INLVLB4 INLVLBbits.INLVLB4 // bit 4
7197 #define INLVLB5 INLVLBbits.INLVLB5 // bit 5
7198 #define INLVLB6 INLVLBbits.INLVLB6 // bit 6
7199 #define INLVLB7 INLVLBbits.INLVLB7 // bit 7
7201 #define INLVLC0 INLVLCbits.INLVLC0 // bit 0
7202 #define INLVLC1 INLVLCbits.INLVLC1 // bit 1
7203 #define INLVLC2 INLVLCbits.INLVLC2 // bit 2
7204 #define INLVLC3 INLVLCbits.INLVLC3 // bit 3
7205 #define INLVLC4 INLVLCbits.INLVLC4 // bit 4
7206 #define INLVLC5 INLVLCbits.INLVLC5 // bit 5
7207 #define INLVLC6 INLVLCbits.INLVLC6 // bit 6
7208 #define INLVLC7 INLVLCbits.INLVLC7 // bit 7
7210 #define IOCIF INTCONbits.IOCIF // bit 0
7211 #define INTF INTCONbits.INTF // bit 1
7212 #define TMR0IF INTCONbits.TMR0IF // bit 2, shadows bit in INTCONbits
7213 #define T0IF INTCONbits.T0IF // bit 2, shadows bit in INTCONbits
7214 #define IOCIE INTCONbits.IOCIE // bit 3
7215 #define INTE INTCONbits.INTE // bit 4
7216 #define TMR0IE INTCONbits.TMR0IE // bit 5, shadows bit in INTCONbits
7217 #define T0IE INTCONbits.T0IE // bit 5, shadows bit in INTCONbits
7218 #define PEIE INTCONbits.PEIE // bit 6
7219 #define GIE INTCONbits.GIE // bit 7
7221 #define INTPPS0 INTPPSbits.INTPPS0 // bit 0
7222 #define INTPPS1 INTPPSbits.INTPPS1 // bit 1
7223 #define INTPPS2 INTPPSbits.INTPPS2 // bit 2
7224 #define INTPPS3 INTPPSbits.INTPPS3 // bit 3
7225 #define INTPPS4 INTPPSbits.INTPPS4 // bit 4
7227 #define IOCAF0 IOCAFbits.IOCAF0 // bit 0
7228 #define IOCAF1 IOCAFbits.IOCAF1 // bit 1
7229 #define IOCAF2 IOCAFbits.IOCAF2 // bit 2
7230 #define IOCAF3 IOCAFbits.IOCAF3 // bit 3
7231 #define IOCAF4 IOCAFbits.IOCAF4 // bit 4
7232 #define IOCAF5 IOCAFbits.IOCAF5 // bit 5
7234 #define IOCAN0 IOCANbits.IOCAN0 // bit 0
7235 #define IOCAN1 IOCANbits.IOCAN1 // bit 1
7236 #define IOCAN2 IOCANbits.IOCAN2 // bit 2
7237 #define IOCAN3 IOCANbits.IOCAN3 // bit 3
7238 #define IOCAN4 IOCANbits.IOCAN4 // bit 4
7239 #define IOCAN5 IOCANbits.IOCAN5 // bit 5
7241 #define IOCAP0 IOCAPbits.IOCAP0 // bit 0
7242 #define IOCAP1 IOCAPbits.IOCAP1 // bit 1
7243 #define IOCAP2 IOCAPbits.IOCAP2 // bit 2
7244 #define IOCAP3 IOCAPbits.IOCAP3 // bit 3
7245 #define IOCAP4 IOCAPbits.IOCAP4 // bit 4
7246 #define IOCAP5 IOCAPbits.IOCAP5 // bit 5
7248 #define IOCBF4 IOCBFbits.IOCBF4 // bit 4
7249 #define IOCBF5 IOCBFbits.IOCBF5 // bit 5
7250 #define IOCBF6 IOCBFbits.IOCBF6 // bit 6
7251 #define IOCBF7 IOCBFbits.IOCBF7 // bit 7
7253 #define IOCBN4 IOCBNbits.IOCBN4 // bit 4
7254 #define IOCBN5 IOCBNbits.IOCBN5 // bit 5
7255 #define IOCBN6 IOCBNbits.IOCBN6 // bit 6
7256 #define IOCBN7 IOCBNbits.IOCBN7 // bit 7
7258 #define IOCBP4 IOCBPbits.IOCBP4 // bit 4
7259 #define IOCBP5 IOCBPbits.IOCBP5 // bit 5
7260 #define IOCBP6 IOCBPbits.IOCBP6 // bit 6
7261 #define IOCBP7 IOCBPbits.IOCBP7 // bit 7
7263 #define IOCCF0 IOCCFbits.IOCCF0 // bit 0
7264 #define IOCCF1 IOCCFbits.IOCCF1 // bit 1
7265 #define IOCCF2 IOCCFbits.IOCCF2 // bit 2
7266 #define IOCCF3 IOCCFbits.IOCCF3 // bit 3
7267 #define IOCCF4 IOCCFbits.IOCCF4 // bit 4
7268 #define IOCCF5 IOCCFbits.IOCCF5 // bit 5
7269 #define IOCCF6 IOCCFbits.IOCCF6 // bit 6
7270 #define IOCCF7 IOCCFbits.IOCCF7 // bit 7
7272 #define IOCCN0 IOCCNbits.IOCCN0 // bit 0
7273 #define IOCCN1 IOCCNbits.IOCCN1 // bit 1
7274 #define IOCCN2 IOCCNbits.IOCCN2 // bit 2
7275 #define IOCCN3 IOCCNbits.IOCCN3 // bit 3
7276 #define IOCCN4 IOCCNbits.IOCCN4 // bit 4
7277 #define IOCCN5 IOCCNbits.IOCCN5 // bit 5
7278 #define IOCCN6 IOCCNbits.IOCCN6 // bit 6
7279 #define IOCCN7 IOCCNbits.IOCCN7 // bit 7
7281 #define IOCCP0 IOCCPbits.IOCCP0 // bit 0
7282 #define IOCCP1 IOCCPbits.IOCCP1 // bit 1
7283 #define IOCCP2 IOCCPbits.IOCCP2 // bit 2
7284 #define IOCCP3 IOCCPbits.IOCCP3 // bit 3
7285 #define IOCCP4 IOCCPbits.IOCCP4 // bit 4
7286 #define IOCCP5 IOCCPbits.IOCCP5 // bit 5
7287 #define IOCCP6 IOCCPbits.IOCCP6 // bit 6
7288 #define IOCCP7 IOCCPbits.IOCCP7 // bit 7
7290 #define LATA0 LATAbits.LATA0 // bit 0
7291 #define LATA1 LATAbits.LATA1 // bit 1
7292 #define LATA2 LATAbits.LATA2 // bit 2
7293 #define LATA4 LATAbits.LATA4 // bit 4
7294 #define LATA5 LATAbits.LATA5 // bit 5
7296 #define LATB4 LATBbits.LATB4 // bit 4
7297 #define LATB5 LATBbits.LATB5 // bit 5
7298 #define LATB6 LATBbits.LATB6 // bit 6
7299 #define LATB7 LATBbits.LATB7 // bit 7
7301 #define LATC0 LATCbits.LATC0 // bit 0
7302 #define LATC1 LATCbits.LATC1 // bit 1
7303 #define LATC2 LATCbits.LATC2 // bit 2
7304 #define LATC3 LATCbits.LATC3 // bit 3
7305 #define LATC4 LATCbits.LATC4 // bit 4
7306 #define LATC5 LATCbits.LATC5 // bit 5
7307 #define LATC6 LATCbits.LATC6 // bit 6
7308 #define LATC7 LATCbits.LATC7 // bit 7
7310 #define ODA0 ODCONAbits.ODA0 // bit 0
7311 #define ODA1 ODCONAbits.ODA1 // bit 1
7312 #define ODA2 ODCONAbits.ODA2 // bit 2
7313 #define ODA4 ODCONAbits.ODA4 // bit 4
7314 #define ODA5 ODCONAbits.ODA5 // bit 5
7316 #define ODB4 ODCONBbits.ODB4 // bit 4
7317 #define ODB5 ODCONBbits.ODB5 // bit 5
7318 #define ODB6 ODCONBbits.ODB6 // bit 6
7319 #define ODB7 ODCONBbits.ODB7 // bit 7
7321 #define ODC0 ODCONCbits.ODC0 // bit 0
7322 #define ODC1 ODCONCbits.ODC1 // bit 1
7323 #define ODC2 ODCONCbits.ODC2 // bit 2
7324 #define ODC3 ODCONCbits.ODC3 // bit 3
7325 #define ODC4 ODCONCbits.ODC4 // bit 4
7326 #define ODC5 ODCONCbits.ODC5 // bit 5
7327 #define ODC6 ODCONCbits.ODC6 // bit 6
7328 #define ODC7 ODCONCbits.ODC7 // bit 7
7330 #define PS0 OPTION_REGbits.PS0 // bit 0
7331 #define PS1 OPTION_REGbits.PS1 // bit 1
7332 #define PS2 OPTION_REGbits.PS2 // bit 2
7333 #define PSA OPTION_REGbits.PSA // bit 3
7334 #define TMR0SE OPTION_REGbits.TMR0SE // bit 4, shadows bit in OPTION_REGbits
7335 #define T0SE OPTION_REGbits.T0SE // bit 4, shadows bit in OPTION_REGbits
7336 #define TMR0CS OPTION_REGbits.TMR0CS // bit 5, shadows bit in OPTION_REGbits
7337 #define T0CS OPTION_REGbits.T0CS // bit 5, shadows bit in OPTION_REGbits
7338 #define INTEDG OPTION_REGbits.INTEDG // bit 6
7339 #define NOT_WPUEN OPTION_REGbits.NOT_WPUEN // bit 7
7341 #define SCS0 OSCCONbits.SCS0 // bit 0
7342 #define SCS1 OSCCONbits.SCS1 // bit 1
7343 #define IRCF0 OSCCONbits.IRCF0 // bit 3
7344 #define IRCF1 OSCCONbits.IRCF1 // bit 4
7345 #define IRCF2 OSCCONbits.IRCF2 // bit 5
7346 #define IRCF3 OSCCONbits.IRCF3 // bit 6
7347 #define SPLLEN OSCCONbits.SPLLEN // bit 7
7349 #define HFIOFS OSCSTATbits.HFIOFS // bit 0
7350 #define LFIOFR OSCSTATbits.LFIOFR // bit 1
7351 #define MFIOFR OSCSTATbits.MFIOFR // bit 2
7352 #define HFIOFL OSCSTATbits.HFIOFL // bit 3
7353 #define HFIOFR OSCSTATbits.HFIOFR // bit 4
7354 #define OSTS OSCSTATbits.OSTS // bit 5
7355 #define PLLR OSCSTATbits.PLLR // bit 6
7357 #define TUN0 OSCTUNEbits.TUN0 // bit 0
7358 #define TUN1 OSCTUNEbits.TUN1 // bit 1
7359 #define TUN2 OSCTUNEbits.TUN2 // bit 2
7360 #define TUN3 OSCTUNEbits.TUN3 // bit 3
7361 #define TUN4 OSCTUNEbits.TUN4 // bit 4
7362 #define TUN5 OSCTUNEbits.TUN5 // bit 5
7364 #define NOT_BOR PCONbits.NOT_BOR // bit 0
7365 #define NOT_POR PCONbits.NOT_POR // bit 1
7366 #define NOT_RI PCONbits.NOT_RI // bit 2
7367 #define NOT_RMCLR PCONbits.NOT_RMCLR // bit 3
7368 #define NOT_RWDT PCONbits.NOT_RWDT // bit 4
7369 #define STKUNF PCONbits.STKUNF // bit 6
7370 #define STKOVF PCONbits.STKOVF // bit 7
7372 #define TMR1IE PIE1bits.TMR1IE // bit 0
7373 #define TMR2IE PIE1bits.TMR2IE // bit 1
7374 #define TXIE PIE1bits.TXIE // bit 4
7375 #define RCIE PIE1bits.RCIE // bit 5
7376 #define ADIE PIE1bits.ADIE // bit 6
7377 #define TMR1GIE PIE1bits.TMR1GIE // bit 7
7379 #define C1IE PIE2bits.C1IE // bit 5
7380 #define C2IE PIE2bits.C2IE // bit 6
7382 #define PWM1IE PIE3bits.PWM1IE // bit 4
7383 #define PWM2IE PIE3bits.PWM2IE // bit 5
7384 #define PWM3IE PIE3bits.PWM3IE // bit 6
7385 #define PWM4IE PIE3bits.PWM4IE // bit 7
7387 #define TMR1IF PIR1bits.TMR1IF // bit 0
7388 #define TMR2IF PIR1bits.TMR2IF // bit 1
7389 #define TXIF PIR1bits.TXIF // bit 4
7390 #define RCIF PIR1bits.RCIF // bit 5
7391 #define ADIF PIR1bits.ADIF // bit 6
7392 #define TMR1GIF PIR1bits.TMR1GIF // bit 7
7394 #define C1IF PIR2bits.C1IF // bit 5
7395 #define C2IF PIR2bits.C2IF // bit 6
7397 #define PWM1IF PIR3bits.PWM1IF // bit 4
7398 #define PWM2IF PIR3bits.PWM2IF // bit 5
7399 #define PWM3IF PIR3bits.PWM3IF // bit 6
7400 #define PWM4IF PIR3bits.PWM4IF // bit 7
7402 #define RD PMCON1bits.RD // bit 0
7403 #define WR PMCON1bits.WR // bit 1
7404 #define WREN PMCON1bits.WREN // bit 2
7405 #define WRERR PMCON1bits.WRERR // bit 3
7406 #define FREE PMCON1bits.FREE // bit 4
7407 #define LWLO PMCON1bits.LWLO // bit 5
7408 #define CFGS PMCON1bits.CFGS // bit 6
7410 #define RA0 PORTAbits.RA0 // bit 0
7411 #define RA1 PORTAbits.RA1 // bit 1
7412 #define RA2 PORTAbits.RA2 // bit 2
7413 #define RA3 PORTAbits.RA3 // bit 3
7414 #define RA4 PORTAbits.RA4 // bit 4
7415 #define RA5 PORTAbits.RA5 // bit 5
7417 #define RB4 PORTBbits.RB4 // bit 4
7418 #define RB5 PORTBbits.RB5 // bit 5
7419 #define RB6 PORTBbits.RB6 // bit 6
7420 #define RB7 PORTBbits.RB7 // bit 7
7422 #define RC0 PORTCbits.RC0 // bit 0
7423 #define RC1 PORTCbits.RC1 // bit 1
7424 #define RC2 PORTCbits.RC2 // bit 2
7425 #define RC3 PORTCbits.RC3 // bit 3
7426 #define RC4 PORTCbits.RC4 // bit 4
7427 #define RC5 PORTCbits.RC5 // bit 5
7428 #define RC6 PORTCbits.RC6 // bit 6
7429 #define RC7 PORTCbits.RC7 // bit 7
7431 #define PPSLOCKED PPSLOCKbits.PPSLOCKED // bit 0
7433 #define PWM1MODE0 PWM1CONbits.PWM1MODE0 // bit 2, shadows bit in PWM1CONbits
7434 #define MODE0 PWM1CONbits.MODE0 // bit 2, shadows bit in PWM1CONbits
7435 #define PWM1MODE1 PWM1CONbits.PWM1MODE1 // bit 3, shadows bit in PWM1CONbits
7436 #define MODE1 PWM1CONbits.MODE1 // bit 3, shadows bit in PWM1CONbits
7437 #define POL PWM1CONbits.POL // bit 4, shadows bit in PWM1CONbits
7438 #define PWM1POL PWM1CONbits.PWM1POL // bit 4, shadows bit in PWM1CONbits
7439 #define OUT PWM1CONbits.OUT // bit 5, shadows bit in PWM1CONbits
7440 #define PWM1OUT PWM1CONbits.PWM1OUT // bit 5, shadows bit in PWM1CONbits
7441 #define OE PWM1CONbits.OE // bit 6, shadows bit in PWM1CONbits
7442 #define PWM1OE PWM1CONbits.PWM1OE // bit 6, shadows bit in PWM1CONbits
7443 #define EN PWM1CONbits.EN // bit 7, shadows bit in PWM1CONbits
7444 #define PWM1EN PWM1CONbits.PWM1EN // bit 7, shadows bit in PWM1CONbits
7446 #define PWM1DCH0 PWM1DCHbits.PWM1DCH0 // bit 0
7447 #define PWM1DCH1 PWM1DCHbits.PWM1DCH1 // bit 1
7448 #define PWM1DCH2 PWM1DCHbits.PWM1DCH2 // bit 2
7449 #define PWM1DCH3 PWM1DCHbits.PWM1DCH3 // bit 3
7450 #define PWM1DCH4 PWM1DCHbits.PWM1DCH4 // bit 4
7451 #define PWM1DCH5 PWM1DCHbits.PWM1DCH5 // bit 5
7452 #define PWM1DCH6 PWM1DCHbits.PWM1DCH6 // bit 6
7453 #define PWM1DCH7 PWM1DCHbits.PWM1DCH7 // bit 7
7455 #define PWM1DCL0 PWM1DCLbits.PWM1DCL0 // bit 0
7456 #define PWM1DCL1 PWM1DCLbits.PWM1DCL1 // bit 1
7457 #define PWM1DCL2 PWM1DCLbits.PWM1DCL2 // bit 2
7458 #define PWM1DCL3 PWM1DCLbits.PWM1DCL3 // bit 3
7459 #define PWM1DCL4 PWM1DCLbits.PWM1DCL4 // bit 4
7460 #define PWM1DCL5 PWM1DCLbits.PWM1DCL5 // bit 5
7461 #define PWM1DCL6 PWM1DCLbits.PWM1DCL6 // bit 6
7462 #define PWM1DCL7 PWM1DCLbits.PWM1DCL7 // bit 7
7464 #define PRIE PWM1INTCONbits.PRIE // bit 0, shadows bit in PWM1INTCONbits
7465 #define PWM1PRIE PWM1INTCONbits.PWM1PRIE // bit 0, shadows bit in PWM1INTCONbits
7466 #define DCIE PWM1INTCONbits.DCIE // bit 1, shadows bit in PWM1INTCONbits
7467 #define PWM1DCIE PWM1INTCONbits.PWM1DCIE // bit 1, shadows bit in PWM1INTCONbits
7468 #define PHIE PWM1INTCONbits.PHIE // bit 2, shadows bit in PWM1INTCONbits
7469 #define PWM1PHIE PWM1INTCONbits.PWM1PHIE // bit 2, shadows bit in PWM1INTCONbits
7470 #define OFIE PWM1INTCONbits.OFIE // bit 3, shadows bit in PWM1INTCONbits
7471 #define PWM1OFIE PWM1INTCONbits.PWM1OFIE // bit 3, shadows bit in PWM1INTCONbits
7473 #define PRIF PWM1INTFbits.PRIF // bit 0, shadows bit in PWM1INTFbits
7474 #define PWM1PRIF PWM1INTFbits.PWM1PRIF // bit 0, shadows bit in PWM1INTFbits
7475 #define DCIF PWM1INTFbits.DCIF // bit 1, shadows bit in PWM1INTFbits
7476 #define PWM1DCIF PWM1INTFbits.PWM1DCIF // bit 1, shadows bit in PWM1INTFbits
7477 #define PHIF PWM1INTFbits.PHIF // bit 2, shadows bit in PWM1INTFbits
7478 #define PWM1PHIF PWM1INTFbits.PWM1PHIF // bit 2, shadows bit in PWM1INTFbits
7479 #define OFIF PWM1INTFbits.OFIF // bit 3, shadows bit in PWM1INTFbits
7480 #define PWM1OFIF PWM1INTFbits.PWM1OFIF // bit 3, shadows bit in PWM1INTFbits
7482 #define PWM1LDS0 PWM1LDCONbits.PWM1LDS0 // bit 0, shadows bit in PWM1LDCONbits
7483 #define LDS0 PWM1LDCONbits.LDS0 // bit 0, shadows bit in PWM1LDCONbits
7484 #define PWM1LDS1 PWM1LDCONbits.PWM1LDS1 // bit 1, shadows bit in PWM1LDCONbits
7485 #define LDS1 PWM1LDCONbits.LDS1 // bit 1, shadows bit in PWM1LDCONbits
7486 #define LDT PWM1LDCONbits.LDT // bit 6, shadows bit in PWM1LDCONbits
7487 #define PWM1LDM PWM1LDCONbits.PWM1LDM // bit 6, shadows bit in PWM1LDCONbits
7488 #define LDA PWM1LDCONbits.LDA // bit 7, shadows bit in PWM1LDCONbits
7489 #define PWM1LD PWM1LDCONbits.PWM1LD // bit 7, shadows bit in PWM1LDCONbits
7491 #define PWM1OFS0 PWM1OFCONbits.PWM1OFS0 // bit 0, shadows bit in PWM1OFCONbits
7492 #define OFS0 PWM1OFCONbits.OFS0 // bit 0, shadows bit in PWM1OFCONbits
7493 #define PWM1OFS1 PWM1OFCONbits.PWM1OFS1 // bit 1, shadows bit in PWM1OFCONbits
7494 #define OFS1 PWM1OFCONbits.OFS1 // bit 1, shadows bit in PWM1OFCONbits
7495 #define OFO PWM1OFCONbits.OFO // bit 4, shadows bit in PWM1OFCONbits
7496 #define PWM1OFMC PWM1OFCONbits.PWM1OFMC // bit 4, shadows bit in PWM1OFCONbits
7497 #define PWM1OFM0 PWM1OFCONbits.PWM1OFM0 // bit 5, shadows bit in PWM1OFCONbits
7498 #define OFM0 PWM1OFCONbits.OFM0 // bit 5, shadows bit in PWM1OFCONbits
7499 #define PWM1OFM1 PWM1OFCONbits.PWM1OFM1 // bit 6, shadows bit in PWM1OFCONbits
7500 #define OFM1 PWM1OFCONbits.OFM1 // bit 6, shadows bit in PWM1OFCONbits
7502 #define PWM1OFH0 PWM1OFHbits.PWM1OFH0 // bit 0
7503 #define PWM1OFH1 PWM1OFHbits.PWM1OFH1 // bit 1
7504 #define PWM1OFH2 PWM1OFHbits.PWM1OFH2 // bit 2
7505 #define PWM1OFH3 PWM1OFHbits.PWM1OFH3 // bit 3
7506 #define PWM1OFH4 PWM1OFHbits.PWM1OFH4 // bit 4
7507 #define PWM1OFH5 PWM1OFHbits.PWM1OFH5 // bit 5
7508 #define PWM1OFH6 PWM1OFHbits.PWM1OFH6 // bit 6
7509 #define PWM1OFH7 PWM1OFHbits.PWM1OFH7 // bit 7
7511 #define PWM1OFL0 PWM1OFLbits.PWM1OFL0 // bit 0
7512 #define PWM1OFL1 PWM1OFLbits.PWM1OFL1 // bit 1
7513 #define PWM1OFL2 PWM1OFLbits.PWM1OFL2 // bit 2
7514 #define PWM1OFL3 PWM1OFLbits.PWM1OFL3 // bit 3
7515 #define PWM1OFL4 PWM1OFLbits.PWM1OFL4 // bit 4
7516 #define PWM1OFL5 PWM1OFLbits.PWM1OFL5 // bit 5
7517 #define PWM1OFL6 PWM1OFLbits.PWM1OFL6 // bit 6
7518 #define PWM1OFL7 PWM1OFLbits.PWM1OFL7 // bit 7
7520 #define PWM1PHH0 PWM1PHHbits.PWM1PHH0 // bit 0
7521 #define PWM1PHH1 PWM1PHHbits.PWM1PHH1 // bit 1
7522 #define PWM1PHH2 PWM1PHHbits.PWM1PHH2 // bit 2
7523 #define PWM1PHH3 PWM1PHHbits.PWM1PHH3 // bit 3
7524 #define PWM1PHH4 PWM1PHHbits.PWM1PHH4 // bit 4
7525 #define PWM1PHH5 PWM1PHHbits.PWM1PHH5 // bit 5
7526 #define PWM1PHH6 PWM1PHHbits.PWM1PHH6 // bit 6
7527 #define PWM1PHH7 PWM1PHHbits.PWM1PHH7 // bit 7
7529 #define PWM1PHL0 PWM1PHLbits.PWM1PHL0 // bit 0
7530 #define PWM1PHL1 PWM1PHLbits.PWM1PHL1 // bit 1
7531 #define PWM1PHL2 PWM1PHLbits.PWM1PHL2 // bit 2
7532 #define PWM1PHL3 PWM1PHLbits.PWM1PHL3 // bit 3
7533 #define PWM1PHL4 PWM1PHLbits.PWM1PHL4 // bit 4
7534 #define PWM1PHL5 PWM1PHLbits.PWM1PHL5 // bit 5
7535 #define PWM1PHL6 PWM1PHLbits.PWM1PHL6 // bit 6
7536 #define PWM1PHL7 PWM1PHLbits.PWM1PHL7 // bit 7
7538 #define PWM1PRH0 PWM1PRHbits.PWM1PRH0 // bit 0
7539 #define PWM1PRH1 PWM1PRHbits.PWM1PRH1 // bit 1
7540 #define PWM1PRH2 PWM1PRHbits.PWM1PRH2 // bit 2
7541 #define PWM1PRH3 PWM1PRHbits.PWM1PRH3 // bit 3
7542 #define PWM1PRH4 PWM1PRHbits.PWM1PRH4 // bit 4
7543 #define PWM1PRH5 PWM1PRHbits.PWM1PRH5 // bit 5
7544 #define PWM1PRH6 PWM1PRHbits.PWM1PRH6 // bit 6
7545 #define PWM1PRH7 PWM1PRHbits.PWM1PRH7 // bit 7
7547 #define PWM1PRL0 PWM1PRLbits.PWM1PRL0 // bit 0
7548 #define PWM1PRL1 PWM1PRLbits.PWM1PRL1 // bit 1
7549 #define PWM1PRL2 PWM1PRLbits.PWM1PRL2 // bit 2
7550 #define PWM1PRL3 PWM1PRLbits.PWM1PRL3 // bit 3
7551 #define PWM1PRL4 PWM1PRLbits.PWM1PRL4 // bit 4
7552 #define PWM1PRL5 PWM1PRLbits.PWM1PRL5 // bit 5
7553 #define PWM1PRL6 PWM1PRLbits.PWM1PRL6 // bit 6
7554 #define PWM1PRL7 PWM1PRLbits.PWM1PRL7 // bit 7
7556 #define PWM1TMRH0 PWM1TMRHbits.PWM1TMRH0 // bit 0
7557 #define PWM1TMRH1 PWM1TMRHbits.PWM1TMRH1 // bit 1
7558 #define PWM1TMRH2 PWM1TMRHbits.PWM1TMRH2 // bit 2
7559 #define PWM1TMRH3 PWM1TMRHbits.PWM1TMRH3 // bit 3
7560 #define PWM1TMRH4 PWM1TMRHbits.PWM1TMRH4 // bit 4
7561 #define PWM1TMRH5 PWM1TMRHbits.PWM1TMRH5 // bit 5
7562 #define PWM1TMRH6 PWM1TMRHbits.PWM1TMRH6 // bit 6
7563 #define PWM1TMRH7 PWM1TMRHbits.PWM1TMRH7 // bit 7
7565 #define PWM1TMRL0 PWM1TMRLbits.PWM1TMRL0 // bit 0
7566 #define PWM1TMRL1 PWM1TMRLbits.PWM1TMRL1 // bit 1
7567 #define PWM1TMRL2 PWM1TMRLbits.PWM1TMRL2 // bit 2
7568 #define PWM1TMRL3 PWM1TMRLbits.PWM1TMRL3 // bit 3
7569 #define PWM1TMRL4 PWM1TMRLbits.PWM1TMRL4 // bit 4
7570 #define PWM1TMRL5 PWM1TMRLbits.PWM1TMRL5 // bit 5
7571 #define PWM1TMRL6 PWM1TMRLbits.PWM1TMRL6 // bit 6
7572 #define PWM1TMRL7 PWM1TMRLbits.PWM1TMRL7 // bit 7
7574 #define PWM2DCH0 PWM2DCHbits.PWM2DCH0 // bit 0
7575 #define PWM2DCH1 PWM2DCHbits.PWM2DCH1 // bit 1
7576 #define PWM2DCH2 PWM2DCHbits.PWM2DCH2 // bit 2
7577 #define PWM2DCH3 PWM2DCHbits.PWM2DCH3 // bit 3
7578 #define PWM2DCH4 PWM2DCHbits.PWM2DCH4 // bit 4
7579 #define PWM2DCH5 PWM2DCHbits.PWM2DCH5 // bit 5
7580 #define PWM2DCH6 PWM2DCHbits.PWM2DCH6 // bit 6
7581 #define PWM2DCH7 PWM2DCHbits.PWM2DCH7 // bit 7
7583 #define PWM2DCL0 PWM2DCLbits.PWM2DCL0 // bit 0
7584 #define PWM2DCL1 PWM2DCLbits.PWM2DCL1 // bit 1
7585 #define PWM2DCL2 PWM2DCLbits.PWM2DCL2 // bit 2
7586 #define PWM2DCL3 PWM2DCLbits.PWM2DCL3 // bit 3
7587 #define PWM2DCL4 PWM2DCLbits.PWM2DCL4 // bit 4
7588 #define PWM2DCL5 PWM2DCLbits.PWM2DCL5 // bit 5
7589 #define PWM2DCL6 PWM2DCLbits.PWM2DCL6 // bit 6
7590 #define PWM2DCL7 PWM2DCLbits.PWM2DCL7 // bit 7
7592 #define PWM2OFH0 PWM2OFHbits.PWM2OFH0 // bit 0
7593 #define PWM2OFH1 PWM2OFHbits.PWM2OFH1 // bit 1
7594 #define PWM2OFH2 PWM2OFHbits.PWM2OFH2 // bit 2
7595 #define PWM2OFH3 PWM2OFHbits.PWM2OFH3 // bit 3
7596 #define PWM2OFH4 PWM2OFHbits.PWM2OFH4 // bit 4
7597 #define PWM2OFH5 PWM2OFHbits.PWM2OFH5 // bit 5
7598 #define PWM2OFH6 PWM2OFHbits.PWM2OFH6 // bit 6
7599 #define PWM2OFH7 PWM2OFHbits.PWM2OFH7 // bit 7
7601 #define PWM2OFL0 PWM2OFLbits.PWM2OFL0 // bit 0
7602 #define PWM2OFL1 PWM2OFLbits.PWM2OFL1 // bit 1
7603 #define PWM2OFL2 PWM2OFLbits.PWM2OFL2 // bit 2
7604 #define PWM2OFL3 PWM2OFLbits.PWM2OFL3 // bit 3
7605 #define PWM2OFL4 PWM2OFLbits.PWM2OFL4 // bit 4
7606 #define PWM2OFL5 PWM2OFLbits.PWM2OFL5 // bit 5
7607 #define PWM2OFL6 PWM2OFLbits.PWM2OFL6 // bit 6
7608 #define PWM2OFL7 PWM2OFLbits.PWM2OFL7 // bit 7
7610 #define PWM2PHH0 PWM2PHHbits.PWM2PHH0 // bit 0
7611 #define PWM2PHH1 PWM2PHHbits.PWM2PHH1 // bit 1
7612 #define PWM2PHH2 PWM2PHHbits.PWM2PHH2 // bit 2
7613 #define PWM2PHH3 PWM2PHHbits.PWM2PHH3 // bit 3
7614 #define PWM2PHH4 PWM2PHHbits.PWM2PHH4 // bit 4
7615 #define PWM2PHH5 PWM2PHHbits.PWM2PHH5 // bit 5
7616 #define PWM2PHH6 PWM2PHHbits.PWM2PHH6 // bit 6
7617 #define PWM2PHH7 PWM2PHHbits.PWM2PHH7 // bit 7
7619 #define PWM2PHL0 PWM2PHLbits.PWM2PHL0 // bit 0
7620 #define PWM2PHL1 PWM2PHLbits.PWM2PHL1 // bit 1
7621 #define PWM2PHL2 PWM2PHLbits.PWM2PHL2 // bit 2
7622 #define PWM2PHL3 PWM2PHLbits.PWM2PHL3 // bit 3
7623 #define PWM2PHL4 PWM2PHLbits.PWM2PHL4 // bit 4
7624 #define PWM2PHL5 PWM2PHLbits.PWM2PHL5 // bit 5
7625 #define PWM2PHL6 PWM2PHLbits.PWM2PHL6 // bit 6
7626 #define PWM2PHL7 PWM2PHLbits.PWM2PHL7 // bit 7
7628 #define PWM2PRH0 PWM2PRHbits.PWM2PRH0 // bit 0
7629 #define PWM2PRH1 PWM2PRHbits.PWM2PRH1 // bit 1
7630 #define PWM2PRH2 PWM2PRHbits.PWM2PRH2 // bit 2
7631 #define PWM2PRH3 PWM2PRHbits.PWM2PRH3 // bit 3
7632 #define PWM2PRH4 PWM2PRHbits.PWM2PRH4 // bit 4
7633 #define PWM2PRH5 PWM2PRHbits.PWM2PRH5 // bit 5
7634 #define PWM2PRH6 PWM2PRHbits.PWM2PRH6 // bit 6
7635 #define PWM2PRH7 PWM2PRHbits.PWM2PRH7 // bit 7
7637 #define PWM2PRL0 PWM2PRLbits.PWM2PRL0 // bit 0
7638 #define PWM2PRL1 PWM2PRLbits.PWM2PRL1 // bit 1
7639 #define PWM2PRL2 PWM2PRLbits.PWM2PRL2 // bit 2
7640 #define PWM2PRL3 PWM2PRLbits.PWM2PRL3 // bit 3
7641 #define PWM2PRL4 PWM2PRLbits.PWM2PRL4 // bit 4
7642 #define PWM2PRL5 PWM2PRLbits.PWM2PRL5 // bit 5
7643 #define PWM2PRL6 PWM2PRLbits.PWM2PRL6 // bit 6
7644 #define PWM2PRL7 PWM2PRLbits.PWM2PRL7 // bit 7
7646 #define PWM2TMRH0 PWM2TMRHbits.PWM2TMRH0 // bit 0
7647 #define PWM2TMRH1 PWM2TMRHbits.PWM2TMRH1 // bit 1
7648 #define PWM2TMRH2 PWM2TMRHbits.PWM2TMRH2 // bit 2
7649 #define PWM2TMRH3 PWM2TMRHbits.PWM2TMRH3 // bit 3
7650 #define PWM2TMRH4 PWM2TMRHbits.PWM2TMRH4 // bit 4
7651 #define PWM2TMRH5 PWM2TMRHbits.PWM2TMRH5 // bit 5
7652 #define PWM2TMRH6 PWM2TMRHbits.PWM2TMRH6 // bit 6
7653 #define PWM2TMRH7 PWM2TMRHbits.PWM2TMRH7 // bit 7
7655 #define PWM2TMRL0 PWM2TMRLbits.PWM2TMRL0 // bit 0
7656 #define PWM2TMRL1 PWM2TMRLbits.PWM2TMRL1 // bit 1
7657 #define PWM2TMRL2 PWM2TMRLbits.PWM2TMRL2 // bit 2
7658 #define PWM2TMRL3 PWM2TMRLbits.PWM2TMRL3 // bit 3
7659 #define PWM2TMRL4 PWM2TMRLbits.PWM2TMRL4 // bit 4
7660 #define PWM2TMRL5 PWM2TMRLbits.PWM2TMRL5 // bit 5
7661 #define PWM2TMRL6 PWM2TMRLbits.PWM2TMRL6 // bit 6
7662 #define PWM2TMRL7 PWM2TMRLbits.PWM2TMRL7 // bit 7
7664 #define PWM3DCH0 PWM3DCHbits.PWM3DCH0 // bit 0
7665 #define PWM3DCH1 PWM3DCHbits.PWM3DCH1 // bit 1
7666 #define PWM3DCH2 PWM3DCHbits.PWM3DCH2 // bit 2
7667 #define PWM3DCH3 PWM3DCHbits.PWM3DCH3 // bit 3
7668 #define PWM3DCH4 PWM3DCHbits.PWM3DCH4 // bit 4
7669 #define PWM3DCH5 PWM3DCHbits.PWM3DCH5 // bit 5
7670 #define PWM3DCH6 PWM3DCHbits.PWM3DCH6 // bit 6
7671 #define PWM3DCH7 PWM3DCHbits.PWM3DCH7 // bit 7
7673 #define PWM3DCL0 PWM3DCLbits.PWM3DCL0 // bit 0
7674 #define PWM3DCL1 PWM3DCLbits.PWM3DCL1 // bit 1
7675 #define PWM3DCL2 PWM3DCLbits.PWM3DCL2 // bit 2
7676 #define PWM3DCL3 PWM3DCLbits.PWM3DCL3 // bit 3
7677 #define PWM3DCL4 PWM3DCLbits.PWM3DCL4 // bit 4
7678 #define PWM3DCL5 PWM3DCLbits.PWM3DCL5 // bit 5
7679 #define PWM3DCL6 PWM3DCLbits.PWM3DCL6 // bit 6
7680 #define PWM3DCL7 PWM3DCLbits.PWM3DCL7 // bit 7
7682 #define PWM3OFH0 PWM3OFHbits.PWM3OFH0 // bit 0
7683 #define PWM3OFH1 PWM3OFHbits.PWM3OFH1 // bit 1
7684 #define PWM3OFH2 PWM3OFHbits.PWM3OFH2 // bit 2
7685 #define PWM3OFH3 PWM3OFHbits.PWM3OFH3 // bit 3
7686 #define PWM3OFH4 PWM3OFHbits.PWM3OFH4 // bit 4
7687 #define PWM3OFH5 PWM3OFHbits.PWM3OFH5 // bit 5
7688 #define PWM3OFH6 PWM3OFHbits.PWM3OFH6 // bit 6
7689 #define PWM3OFH7 PWM3OFHbits.PWM3OFH7 // bit 7
7691 #define PWM3OFL0 PWM3OFLbits.PWM3OFL0 // bit 0
7692 #define PWM3OFL1 PWM3OFLbits.PWM3OFL1 // bit 1
7693 #define PWM3OFL2 PWM3OFLbits.PWM3OFL2 // bit 2
7694 #define PWM3OFL3 PWM3OFLbits.PWM3OFL3 // bit 3
7695 #define PWM3OFL4 PWM3OFLbits.PWM3OFL4 // bit 4
7696 #define PWM3OFL5 PWM3OFLbits.PWM3OFL5 // bit 5
7697 #define PWM3OFL6 PWM3OFLbits.PWM3OFL6 // bit 6
7698 #define PWM3OFL7 PWM3OFLbits.PWM3OFL7 // bit 7
7700 #define PWM3PHH0 PWM3PHHbits.PWM3PHH0 // bit 0
7701 #define PWM3PHH1 PWM3PHHbits.PWM3PHH1 // bit 1
7702 #define PWM3PHH2 PWM3PHHbits.PWM3PHH2 // bit 2
7703 #define PWM3PHH3 PWM3PHHbits.PWM3PHH3 // bit 3
7704 #define PWM3PHH4 PWM3PHHbits.PWM3PHH4 // bit 4
7705 #define PWM3PHH5 PWM3PHHbits.PWM3PHH5 // bit 5
7706 #define PWM3PHH6 PWM3PHHbits.PWM3PHH6 // bit 6
7707 #define PWM3PHH7 PWM3PHHbits.PWM3PHH7 // bit 7
7709 #define PWM3PHL0 PWM3PHLbits.PWM3PHL0 // bit 0
7710 #define PWM3PHL1 PWM3PHLbits.PWM3PHL1 // bit 1
7711 #define PWM3PHL2 PWM3PHLbits.PWM3PHL2 // bit 2
7712 #define PWM3PHL3 PWM3PHLbits.PWM3PHL3 // bit 3
7713 #define PWM3PHL4 PWM3PHLbits.PWM3PHL4 // bit 4
7714 #define PWM3PHL5 PWM3PHLbits.PWM3PHL5 // bit 5
7715 #define PWM3PHL6 PWM3PHLbits.PWM3PHL6 // bit 6
7716 #define PWM3PHL7 PWM3PHLbits.PWM3PHL7 // bit 7
7718 #define PWM3PRH0 PWM3PRHbits.PWM3PRH0 // bit 0
7719 #define PWM3PRH1 PWM3PRHbits.PWM3PRH1 // bit 1
7720 #define PWM3PRH2 PWM3PRHbits.PWM3PRH2 // bit 2
7721 #define PWM3PRH3 PWM3PRHbits.PWM3PRH3 // bit 3
7722 #define PWM3PRH4 PWM3PRHbits.PWM3PRH4 // bit 4
7723 #define PWM3PRH5 PWM3PRHbits.PWM3PRH5 // bit 5
7724 #define PWM3PRH6 PWM3PRHbits.PWM3PRH6 // bit 6
7725 #define PWM3PRH7 PWM3PRHbits.PWM3PRH7 // bit 7
7727 #define PWM3PRL0 PWM3PRLbits.PWM3PRL0 // bit 0
7728 #define PWM3PRL1 PWM3PRLbits.PWM3PRL1 // bit 1
7729 #define PWM3PRL2 PWM3PRLbits.PWM3PRL2 // bit 2
7730 #define PWM3PRL3 PWM3PRLbits.PWM3PRL3 // bit 3
7731 #define PWM3PRL4 PWM3PRLbits.PWM3PRL4 // bit 4
7732 #define PWM3PRL5 PWM3PRLbits.PWM3PRL5 // bit 5
7733 #define PWM3PRL6 PWM3PRLbits.PWM3PRL6 // bit 6
7734 #define PWM3PRL7 PWM3PRLbits.PWM3PRL7 // bit 7
7736 #define PWM3TMRH0 PWM3TMRHbits.PWM3TMRH0 // bit 0
7737 #define PWM3TMRH1 PWM3TMRHbits.PWM3TMRH1 // bit 1
7738 #define PWM3TMRH2 PWM3TMRHbits.PWM3TMRH2 // bit 2
7739 #define PWM3TMRH3 PWM3TMRHbits.PWM3TMRH3 // bit 3
7740 #define PWM3TMRH4 PWM3TMRHbits.PWM3TMRH4 // bit 4
7741 #define PWM3TMRH5 PWM3TMRHbits.PWM3TMRH5 // bit 5
7742 #define PWM3TMRH6 PWM3TMRHbits.PWM3TMRH6 // bit 6
7743 #define PWM3TMRH7 PWM3TMRHbits.PWM3TMRH7 // bit 7
7745 #define PWM3TMRL0 PWM3TMRLbits.PWM3TMRL0 // bit 0
7746 #define PWM3TMRL1 PWM3TMRLbits.PWM3TMRL1 // bit 1
7747 #define PWM3TMRL2 PWM3TMRLbits.PWM3TMRL2 // bit 2
7748 #define PWM3TMRL3 PWM3TMRLbits.PWM3TMRL3 // bit 3
7749 #define PWM3TMRL4 PWM3TMRLbits.PWM3TMRL4 // bit 4
7750 #define PWM3TMRL5 PWM3TMRLbits.PWM3TMRL5 // bit 5
7751 #define PWM3TMRL6 PWM3TMRLbits.PWM3TMRL6 // bit 6
7752 #define PWM3TMRL7 PWM3TMRLbits.PWM3TMRL7 // bit 7
7754 #define PWM4DCH0 PWM4DCHbits.PWM4DCH0 // bit 0
7755 #define PWM4DCH1 PWM4DCHbits.PWM4DCH1 // bit 1
7756 #define PWM4DCH2 PWM4DCHbits.PWM4DCH2 // bit 2
7757 #define PWM4DCH3 PWM4DCHbits.PWM4DCH3 // bit 3
7758 #define PWM4DCH4 PWM4DCHbits.PWM4DCH4 // bit 4
7759 #define PWM4DCH5 PWM4DCHbits.PWM4DCH5 // bit 5
7760 #define PWM4DCH6 PWM4DCHbits.PWM4DCH6 // bit 6
7761 #define PWM4DCH7 PWM4DCHbits.PWM4DCH7 // bit 7
7763 #define PWM4DCL0 PWM4DCLbits.PWM4DCL0 // bit 0
7764 #define PWM4DCL1 PWM4DCLbits.PWM4DCL1 // bit 1
7765 #define PWM4DCL2 PWM4DCLbits.PWM4DCL2 // bit 2
7766 #define PWM4DCL3 PWM4DCLbits.PWM4DCL3 // bit 3
7767 #define PWM4DCL4 PWM4DCLbits.PWM4DCL4 // bit 4
7768 #define PWM4DCL5 PWM4DCLbits.PWM4DCL5 // bit 5
7769 #define PWM4DCL6 PWM4DCLbits.PWM4DCL6 // bit 6
7770 #define PWM4DCL7 PWM4DCLbits.PWM4DCL7 // bit 7
7772 #define PWM4OFH0 PWM4OFHbits.PWM4OFH0 // bit 0
7773 #define PWM4OFH1 PWM4OFHbits.PWM4OFH1 // bit 1
7774 #define PWM4OFH2 PWM4OFHbits.PWM4OFH2 // bit 2
7775 #define PWM4OFH3 PWM4OFHbits.PWM4OFH3 // bit 3
7776 #define PWM4OFH4 PWM4OFHbits.PWM4OFH4 // bit 4
7777 #define PWM4OFH5 PWM4OFHbits.PWM4OFH5 // bit 5
7778 #define PWM4OFH6 PWM4OFHbits.PWM4OFH6 // bit 6
7779 #define PWM4OFH7 PWM4OFHbits.PWM4OFH7 // bit 7
7781 #define PWM4OFL0 PWM4OFLbits.PWM4OFL0 // bit 0
7782 #define PWM4OFL1 PWM4OFLbits.PWM4OFL1 // bit 1
7783 #define PWM4OFL2 PWM4OFLbits.PWM4OFL2 // bit 2
7784 #define PWM4OFL3 PWM4OFLbits.PWM4OFL3 // bit 3
7785 #define PWM4OFL4 PWM4OFLbits.PWM4OFL4 // bit 4
7786 #define PWM4OFL5 PWM4OFLbits.PWM4OFL5 // bit 5
7787 #define PWM4OFL6 PWM4OFLbits.PWM4OFL6 // bit 6
7788 #define PWM4OFL7 PWM4OFLbits.PWM4OFL7 // bit 7
7790 #define PWM4PHH0 PWM4PHHbits.PWM4PHH0 // bit 0
7791 #define PWM4PHH1 PWM4PHHbits.PWM4PHH1 // bit 1
7792 #define PWM4PHH2 PWM4PHHbits.PWM4PHH2 // bit 2
7793 #define PWM4PHH3 PWM4PHHbits.PWM4PHH3 // bit 3
7794 #define PWM4PHH4 PWM4PHHbits.PWM4PHH4 // bit 4
7795 #define PWM4PHH5 PWM4PHHbits.PWM4PHH5 // bit 5
7796 #define PWM4PHH6 PWM4PHHbits.PWM4PHH6 // bit 6
7797 #define PWM4PHH7 PWM4PHHbits.PWM4PHH7 // bit 7
7799 #define PWM4PHL0 PWM4PHLbits.PWM4PHL0 // bit 0
7800 #define PWM4PHL1 PWM4PHLbits.PWM4PHL1 // bit 1
7801 #define PWM4PHL2 PWM4PHLbits.PWM4PHL2 // bit 2
7802 #define PWM4PHL3 PWM4PHLbits.PWM4PHL3 // bit 3
7803 #define PWM4PHL4 PWM4PHLbits.PWM4PHL4 // bit 4
7804 #define PWM4PHL5 PWM4PHLbits.PWM4PHL5 // bit 5
7805 #define PWM4PHL6 PWM4PHLbits.PWM4PHL6 // bit 6
7806 #define PWM4PHL7 PWM4PHLbits.PWM4PHL7 // bit 7
7808 #define PWM4PRH0 PWM4PRHbits.PWM4PRH0 // bit 0
7809 #define PWM4PRH1 PWM4PRHbits.PWM4PRH1 // bit 1
7810 #define PWM4PRH2 PWM4PRHbits.PWM4PRH2 // bit 2
7811 #define PWM4PRH3 PWM4PRHbits.PWM4PRH3 // bit 3
7812 #define PWM4PRH4 PWM4PRHbits.PWM4PRH4 // bit 4
7813 #define PWM4PRH5 PWM4PRHbits.PWM4PRH5 // bit 5
7814 #define PWM4PRH6 PWM4PRHbits.PWM4PRH6 // bit 6
7815 #define PWM4PRH7 PWM4PRHbits.PWM4PRH7 // bit 7
7817 #define PWM4PRL0 PWM4PRLbits.PWM4PRL0 // bit 0
7818 #define PWM4PRL1 PWM4PRLbits.PWM4PRL1 // bit 1
7819 #define PWM4PRL2 PWM4PRLbits.PWM4PRL2 // bit 2
7820 #define PWM4PRL3 PWM4PRLbits.PWM4PRL3 // bit 3
7821 #define PWM4PRL4 PWM4PRLbits.PWM4PRL4 // bit 4
7822 #define PWM4PRL5 PWM4PRLbits.PWM4PRL5 // bit 5
7823 #define PWM4PRL6 PWM4PRLbits.PWM4PRL6 // bit 6
7824 #define PWM4PRL7 PWM4PRLbits.PWM4PRL7 // bit 7
7826 #define PWM4TMRH0 PWM4TMRHbits.PWM4TMRH0 // bit 0
7827 #define PWM4TMRH1 PWM4TMRHbits.PWM4TMRH1 // bit 1
7828 #define PWM4TMRH2 PWM4TMRHbits.PWM4TMRH2 // bit 2
7829 #define PWM4TMRH3 PWM4TMRHbits.PWM4TMRH3 // bit 3
7830 #define PWM4TMRH4 PWM4TMRHbits.PWM4TMRH4 // bit 4
7831 #define PWM4TMRH5 PWM4TMRHbits.PWM4TMRH5 // bit 5
7832 #define PWM4TMRH6 PWM4TMRHbits.PWM4TMRH6 // bit 6
7833 #define PWM4TMRH7 PWM4TMRHbits.PWM4TMRH7 // bit 7
7835 #define PWM4TMRL0 PWM4TMRLbits.PWM4TMRL0 // bit 0
7836 #define PWM4TMRL1 PWM4TMRLbits.PWM4TMRL1 // bit 1
7837 #define PWM4TMRL2 PWM4TMRLbits.PWM4TMRL2 // bit 2
7838 #define PWM4TMRL3 PWM4TMRLbits.PWM4TMRL3 // bit 3
7839 #define PWM4TMRL4 PWM4TMRLbits.PWM4TMRL4 // bit 4
7840 #define PWM4TMRL5 PWM4TMRLbits.PWM4TMRL5 // bit 5
7841 #define PWM4TMRL6 PWM4TMRLbits.PWM4TMRL6 // bit 6
7842 #define PWM4TMRL7 PWM4TMRLbits.PWM4TMRL7 // bit 7
7844 #define PWM1EN_A PWMENbits.PWM1EN_A // bit 0, shadows bit in PWMENbits
7845 #define MPWM1EN PWMENbits.MPWM1EN // bit 0, shadows bit in PWMENbits
7846 #define PWM2EN_A PWMENbits.PWM2EN_A // bit 1, shadows bit in PWMENbits
7847 #define MPWM2EN PWMENbits.MPWM2EN // bit 1, shadows bit in PWMENbits
7848 #define PWM3EN_A PWMENbits.PWM3EN_A // bit 2, shadows bit in PWMENbits
7849 #define MPWM3EN PWMENbits.MPWM3EN // bit 2, shadows bit in PWMENbits
7850 #define PWM4EN_A PWMENbits.PWM4EN_A // bit 3
7852 #define PWM1LDA_A PWMLDbits.PWM1LDA_A // bit 0, shadows bit in PWMLDbits
7853 #define MPWM1LD PWMLDbits.MPWM1LD // bit 0, shadows bit in PWMLDbits
7854 #define PWM2LDA_A PWMLDbits.PWM2LDA_A // bit 1, shadows bit in PWMLDbits
7855 #define MPWM2LD PWMLDbits.MPWM2LD // bit 1, shadows bit in PWMLDbits
7856 #define PWM3LDA_A PWMLDbits.PWM3LDA_A // bit 2, shadows bit in PWMLDbits
7857 #define MPWM3LD PWMLDbits.MPWM3LD // bit 2, shadows bit in PWMLDbits
7858 #define PWM4LDA_A PWMLDbits.PWM4LDA_A // bit 3
7860 #define PWM1OUT_A PWMOUTbits.PWM1OUT_A // bit 0, shadows bit in PWMOUTbits
7861 #define MPWM1OUT PWMOUTbits.MPWM1OUT // bit 0, shadows bit in PWMOUTbits
7862 #define PWM2OUT_A PWMOUTbits.PWM2OUT_A // bit 1, shadows bit in PWMOUTbits
7863 #define MPWM2OUT PWMOUTbits.MPWM2OUT // bit 1, shadows bit in PWMOUTbits
7864 #define PWM3OUT_A PWMOUTbits.PWM3OUT_A // bit 2, shadows bit in PWMOUTbits
7865 #define MPWM3OUT PWMOUTbits.MPWM3OUT // bit 2, shadows bit in PWMOUTbits
7866 #define PWM4OUT_A PWMOUTbits.PWM4OUT_A // bit 3
7868 #define RA0PPS0 RA0PPSbits.RA0PPS0 // bit 0
7869 #define RA0PPS1 RA0PPSbits.RA0PPS1 // bit 1
7870 #define RA0PPS2 RA0PPSbits.RA0PPS2 // bit 2
7871 #define RA0PPS3 RA0PPSbits.RA0PPS3 // bit 3
7873 #define RA1PPS0 RA1PPSbits.RA1PPS0 // bit 0
7874 #define RA1PPS1 RA1PPSbits.RA1PPS1 // bit 1
7875 #define RA1PPS2 RA1PPSbits.RA1PPS2 // bit 2
7876 #define RA1PPS3 RA1PPSbits.RA1PPS3 // bit 3
7878 #define RA2PPS0 RA2PPSbits.RA2PPS0 // bit 0
7879 #define RA2PPS1 RA2PPSbits.RA2PPS1 // bit 1
7880 #define RA2PPS2 RA2PPSbits.RA2PPS2 // bit 2
7881 #define RA2PPS3 RA2PPSbits.RA2PPS3 // bit 3
7883 #define RA4PPS0 RA4PPSbits.RA4PPS0 // bit 0
7884 #define RA4PPS1 RA4PPSbits.RA4PPS1 // bit 1
7885 #define RA4PPS2 RA4PPSbits.RA4PPS2 // bit 2
7886 #define RA4PPS3 RA4PPSbits.RA4PPS3 // bit 3
7888 #define RA5PPS0 RA5PPSbits.RA5PPS0 // bit 0
7889 #define RA5PPS1 RA5PPSbits.RA5PPS1 // bit 1
7890 #define RA5PPS2 RA5PPSbits.RA5PPS2 // bit 2
7891 #define RA5PPS3 RA5PPSbits.RA5PPS3 // bit 3
7893 #define RB4PPS0 RB4PPSbits.RB4PPS0 // bit 0
7894 #define RB4PPS1 RB4PPSbits.RB4PPS1 // bit 1
7895 #define RB4PPS2 RB4PPSbits.RB4PPS2 // bit 2
7896 #define RB4PPS3 RB4PPSbits.RB4PPS3 // bit 3
7898 #define RB5PPS0 RB5PPSbits.RB5PPS0 // bit 0
7899 #define RB5PPS1 RB5PPSbits.RB5PPS1 // bit 1
7900 #define RB5PPS2 RB5PPSbits.RB5PPS2 // bit 2
7901 #define RB5PPS3 RB5PPSbits.RB5PPS3 // bit 3
7903 #define RB6PPS0 RB6PPSbits.RB6PPS0 // bit 0
7904 #define RB6PPS1 RB6PPSbits.RB6PPS1 // bit 1
7905 #define RB6PPS2 RB6PPSbits.RB6PPS2 // bit 2
7906 #define RB6PPS3 RB6PPSbits.RB6PPS3 // bit 3
7908 #define RB7PPS0 RB7PPSbits.RB7PPS0 // bit 0
7909 #define RB7PPS1 RB7PPSbits.RB7PPS1 // bit 1
7910 #define RB7PPS2 RB7PPSbits.RB7PPS2 // bit 2
7911 #define RB7PPS3 RB7PPSbits.RB7PPS3 // bit 3
7913 #define RC0PPS0 RC0PPSbits.RC0PPS0 // bit 0
7914 #define RC0PPS1 RC0PPSbits.RC0PPS1 // bit 1
7915 #define RC0PPS2 RC0PPSbits.RC0PPS2 // bit 2
7916 #define RC0PPS3 RC0PPSbits.RC0PPS3 // bit 3
7918 #define RC1PPS0 RC1PPSbits.RC1PPS0 // bit 0
7919 #define RC1PPS1 RC1PPSbits.RC1PPS1 // bit 1
7920 #define RC1PPS2 RC1PPSbits.RC1PPS2 // bit 2
7921 #define RC1PPS3 RC1PPSbits.RC1PPS3 // bit 3
7923 #define RC3PPS0 RC3PPSbits.RC3PPS0 // bit 0
7924 #define RC3PPS1 RC3PPSbits.RC3PPS1 // bit 1
7925 #define RC3PPS2 RC3PPSbits.RC3PPS2 // bit 2
7926 #define RC3PPS3 RC3PPSbits.RC3PPS3 // bit 3
7928 #define RC4PPS0 RC4PPSbits.RC4PPS0 // bit 0
7929 #define RC4PPS1 RC4PPSbits.RC4PPS1 // bit 1
7930 #define RC4PPS2 RC4PPSbits.RC4PPS2 // bit 2
7931 #define RC4PPS3 RC4PPSbits.RC4PPS3 // bit 3
7933 #define RC5PPS0 RC5PPSbits.RC5PPS0 // bit 0
7934 #define RC5PPS1 RC5PPSbits.RC5PPS1 // bit 1
7935 #define RC5PPS2 RC5PPSbits.RC5PPS2 // bit 2
7936 #define RC5PPS3 RC5PPSbits.RC5PPS3 // bit 3
7938 #define RC6PPS0 RC6PPSbits.RC6PPS0 // bit 0
7939 #define RC6PPS1 RC6PPSbits.RC6PPS1 // bit 1
7940 #define RC6PPS2 RC6PPSbits.RC6PPS2 // bit 2
7941 #define RC6PPS3 RC6PPSbits.RC6PPS3 // bit 3
7943 #define RC7PPS0 RC7PPSbits.RC7PPS0 // bit 0
7944 #define RC7PPS1 RC7PPSbits.RC7PPS1 // bit 1
7945 #define RC7PPS2 RC7PPSbits.RC7PPS2 // bit 2
7946 #define RC7PPS3 RC7PPSbits.RC7PPS3 // bit 3
7948 #define RX9D RCSTAbits.RX9D // bit 0
7949 #define OERR RCSTAbits.OERR // bit 1
7950 #define FERR RCSTAbits.FERR // bit 2
7951 #define ADDEN RCSTAbits.ADDEN // bit 3
7952 #define CREN RCSTAbits.CREN // bit 4
7953 #define SREN RCSTAbits.SREN // bit 5
7954 #define RX9 RCSTAbits.RX9 // bit 6
7955 #define SPEN RCSTAbits.SPEN // bit 7
7957 #define RXPPS0 RXPPSbits.RXPPS0 // bit 0
7958 #define RXPPS1 RXPPSbits.RXPPS1 // bit 1
7959 #define RXPPS2 RXPPSbits.RXPPS2 // bit 2
7960 #define RXPPS3 RXPPSbits.RXPPS3 // bit 3
7961 #define RXPPS4 RXPPSbits.RXPPS4 // bit 4
7963 #define SLRA0 SLRCONAbits.SLRA0 // bit 0
7964 #define SLRA1 SLRCONAbits.SLRA1 // bit 1
7965 #define SLRA2 SLRCONAbits.SLRA2 // bit 2
7966 #define SLRA4 SLRCONAbits.SLRA4 // bit 4
7967 #define SLRA5 SLRCONAbits.SLRA5 // bit 5
7969 #define SLRB4 SLRCONBbits.SLRB4 // bit 4
7970 #define SLRB5 SLRCONBbits.SLRB5 // bit 5
7971 #define SLRB6 SLRCONBbits.SLRB6 // bit 6
7972 #define SLRB7 SLRCONBbits.SLRB7 // bit 7
7974 #define SLRC0 SLRCONCbits.SLRC0 // bit 0
7975 #define SLRC1 SLRCONCbits.SLRC1 // bit 1
7976 #define SLRC2 SLRCONCbits.SLRC2 // bit 2
7977 #define SLRC3 SLRCONCbits.SLRC3 // bit 3
7978 #define SLRC4 SLRCONCbits.SLRC4 // bit 4
7979 #define SLRC5 SLRCONCbits.SLRC5 // bit 5
7980 #define SLRC6 SLRCONCbits.SLRC6 // bit 6
7981 #define SLRC7 SLRCONCbits.SLRC7 // bit 7
7983 #define C STATUSbits.C // bit 0
7984 #define DC STATUSbits.DC // bit 1
7985 #define Z STATUSbits.Z // bit 2
7986 #define NOT_PD STATUSbits.NOT_PD // bit 3
7987 #define NOT_TO STATUSbits.NOT_TO // bit 4
7989 #define C_SHAD STATUS_SHADbits.C_SHAD // bit 0
7990 #define DC_SHAD STATUS_SHADbits.DC_SHAD // bit 1
7991 #define Z_SHAD STATUS_SHADbits.Z_SHAD // bit 2
7993 #define T0CKIPPS0 T0CKIPPSbits.T0CKIPPS0 // bit 0
7994 #define T0CKIPPS1 T0CKIPPSbits.T0CKIPPS1 // bit 1
7995 #define T0CKIPPS2 T0CKIPPSbits.T0CKIPPS2 // bit 2
7996 #define T0CKIPPS3 T0CKIPPSbits.T0CKIPPS3 // bit 3
7997 #define T0CKIPPS4 T0CKIPPSbits.T0CKIPPS4 // bit 4
7999 #define T1CKIPPS0 T1CKIPPSbits.T1CKIPPS0 // bit 0
8000 #define T1CKIPPS1 T1CKIPPSbits.T1CKIPPS1 // bit 1
8001 #define T1CKIPPS2 T1CKIPPSbits.T1CKIPPS2 // bit 2
8002 #define T1CKIPPS3 T1CKIPPSbits.T1CKIPPS3 // bit 3
8003 #define T1CKIPPS4 T1CKIPPSbits.T1CKIPPS4 // bit 4
8005 #define TMR1ON T1CONbits.TMR1ON // bit 0
8006 #define NOT_T1SYNC T1CONbits.NOT_T1SYNC // bit 2
8007 #define T1OSCEN T1CONbits.T1OSCEN // bit 3
8008 #define T1CKPS0 T1CONbits.T1CKPS0 // bit 4
8009 #define T1CKPS1 T1CONbits.T1CKPS1 // bit 5
8010 #define TMR1CS0 T1CONbits.TMR1CS0 // bit 6
8011 #define TMR1CS1 T1CONbits.TMR1CS1 // bit 7
8013 #define T1GSS0 T1GCONbits.T1GSS0 // bit 0
8014 #define T1GSS1 T1GCONbits.T1GSS1 // bit 1
8015 #define T1GVAL T1GCONbits.T1GVAL // bit 2
8016 #define T1GGO_NOT_DONE T1GCONbits.T1GGO_NOT_DONE // bit 3, shadows bit in T1GCONbits
8017 #define T1GGO T1GCONbits.T1GGO // bit 3, shadows bit in T1GCONbits
8018 #define T1GSPM T1GCONbits.T1GSPM // bit 4
8019 #define T1GTM T1GCONbits.T1GTM // bit 5
8020 #define T1GPOL T1GCONbits.T1GPOL // bit 6
8021 #define TMR1GE T1GCONbits.TMR1GE // bit 7
8023 #define T1GPPS0 T1GPPSbits.T1GPPS0 // bit 0
8024 #define T1GPPS1 T1GPPSbits.T1GPPS1 // bit 1
8025 #define T1GPPS2 T1GPPSbits.T1GPPS2 // bit 2
8026 #define T1GPPS3 T1GPPSbits.T1GPPS3 // bit 3
8027 #define T1GPPS4 T1GPPSbits.T1GPPS4 // bit 4
8029 #define T2CKPS0 T2CONbits.T2CKPS0 // bit 0
8030 #define T2CKPS1 T2CONbits.T2CKPS1 // bit 1
8031 #define TMR2ON T2CONbits.TMR2ON // bit 2
8032 #define T2OUTPS0 T2CONbits.T2OUTPS0 // bit 3
8033 #define T2OUTPS1 T2CONbits.T2OUTPS1 // bit 4
8034 #define T2OUTPS2 T2CONbits.T2OUTPS2 // bit 5
8035 #define T2OUTPS3 T2CONbits.T2OUTPS3 // bit 6
8037 #define TRISA0 TRISAbits.TRISA0 // bit 0
8038 #define TRISA1 TRISAbits.TRISA1 // bit 1
8039 #define TRISA2 TRISAbits.TRISA2 // bit 2
8040 #define TRISA3 TRISAbits.TRISA3 // bit 3
8041 #define TRISA4 TRISAbits.TRISA4 // bit 4
8042 #define TRISA5 TRISAbits.TRISA5 // bit 5
8044 #define TRISB3 TRISBbits.TRISB3 // bit 4
8045 #define TRISB5 TRISBbits.TRISB5 // bit 5
8046 #define TRISB6 TRISBbits.TRISB6 // bit 6
8047 #define TRISB7 TRISBbits.TRISB7 // bit 7
8049 #define TRISC0 TRISCbits.TRISC0 // bit 0
8050 #define TRISC1 TRISCbits.TRISC1 // bit 1
8051 #define TRISC2 TRISCbits.TRISC2 // bit 2
8052 #define TRISC3 TRISCbits.TRISC3 // bit 3
8053 #define TRISC4 TRISCbits.TRISC4 // bit 4
8054 #define TRISC5 TRISCbits.TRISC5 // bit 5
8055 #define TRISC6 TRISCbits.TRISC6 // bit 6
8056 #define TRISC7 TRISCbits.TRISC7 // bit 7
8058 #define TX9D TXSTAbits.TX9D // bit 0
8059 #define TRMT TXSTAbits.TRMT // bit 1
8060 #define BRGH TXSTAbits.BRGH // bit 2
8061 #define SENDB TXSTAbits.SENDB // bit 3
8062 #define SYNC TXSTAbits.SYNC // bit 4
8063 #define TXEN TXSTAbits.TXEN // bit 5
8064 #define TX9 TXSTAbits.TX9 // bit 6
8065 #define CSRC TXSTAbits.CSRC // bit 7
8067 #define SWDTEN WDTCONbits.SWDTEN // bit 0
8068 #define WDTPS0 WDTCONbits.WDTPS0 // bit 1
8069 #define WDTPS1 WDTCONbits.WDTPS1 // bit 2
8070 #define WDTPS2 WDTCONbits.WDTPS2 // bit 3
8071 #define WDTPS3 WDTCONbits.WDTPS3 // bit 4
8072 #define WDTPS4 WDTCONbits.WDTPS4 // bit 5
8074 #define WPUA0 WPUAbits.WPUA0 // bit 0
8075 #define WPUA1 WPUAbits.WPUA1 // bit 1
8076 #define WPUA2 WPUAbits.WPUA2 // bit 2
8077 #define WPUA3 WPUAbits.WPUA3 // bit 3
8078 #define WPUA4 WPUAbits.WPUA4 // bit 4
8079 #define WPUA5 WPUAbits.WPUA5 // bit 5
8081 #define WPUB4 WPUBbits.WPUB4 // bit 4
8082 #define WPUB5 WPUBbits.WPUB5 // bit 5
8083 #define WPUB6 WPUBbits.WPUB6 // bit 6
8084 #define WPUB7 WPUBbits.WPUB7 // bit 7
8086 #define WPUC0 WPUCbits.WPUC0 // bit 0
8087 #define WPUC1 WPUCbits.WPUC1 // bit 1
8088 #define WPUC2 WPUCbits.WPUC2 // bit 2
8089 #define WPUC3 WPUCbits.WPUC3 // bit 3
8090 #define WPUC4 WPUCbits.WPUC4 // bit 4
8091 #define WPUC5 WPUCbits.WPUC5 // bit 5
8092 #define WPUC6 WPUCbits.WPUC6 // bit 6
8093 #define WPUC7 WPUCbits.WPUC7 // bit 7
8095 #endif // #ifndef NO_BIT_DEFINES
8097 #endif // #ifndef __PIC16LF1579_H__