3 * pic18f6520.c - PIC18F6520 Device Library Source
5 * This file is part of the GNU PIC Library.
8 * The GNU PIC Library is maintained by,
9 * Vangelis Rokas <vrokas@otenet.gr>
15 #include <pic18f6520.h>
18 volatile __RCSTA2bits_t at 0xf6b RCSTA2bits;
21 volatile __TXSTA2bits_t at 0xf6c TXSTA2bits;
27 volatile __CCP5CONbits_t at 0xf70 CCP5CONbits;
32 volatile __CCP4CONbits_t at 0xf73 CCP4CONbits;
37 volatile __T4CONbits_t at 0xf76 T4CONbits;
42 volatile __PORTAbits_t at 0xf80 PORTAbits;
45 volatile __PORTBbits_t at 0xf81 PORTBbits;
48 volatile __PORTCbits_t at 0xf82 PORTCbits;
51 volatile __PORTDbits_t at 0xf83 PORTDbits;
54 volatile __PORTEbits_t at 0xf84 PORTEbits;
57 volatile __PORTFbits_t at 0xf85 PORTFbits;
60 volatile __PORTGbits_t at 0xf86 PORTGbits;
63 volatile __LATAbits_t at 0xf89 LATAbits;
66 volatile __LATBbits_t at 0xf8a LATBbits;
69 volatile __LATCbits_t at 0xf8b LATCbits;
72 volatile __LATDbits_t at 0xf8c LATDbits;
75 volatile __LATEbits_t at 0xf8d LATEbits;
78 volatile __LATFbits_t at 0xf8e LATFbits;
81 volatile __LATGbits_t at 0xf8f LATGbits;
84 volatile __TRISAbits_t at 0xf92 TRISAbits;
87 volatile __TRISBbits_t at 0xf93 TRISBbits;
90 volatile __TRISCbits_t at 0xf94 TRISCbits;
93 volatile __TRISDbits_t at 0xf95 TRISDbits;
96 volatile __TRISEbits_t at 0xf96 TRISEbits;
99 volatile __TRISFbits_t at 0xf97 TRISFbits;
102 volatile __TRISGbits_t at 0xf98 TRISGbits;
105 volatile __MEMCONbits_t at 0xf9c MEMCONbits;
108 volatile __PIE1bits_t at 0xf9d PIE1bits;
111 volatile __PIR1bits_t at 0xf9e PIR1bits;
114 volatile __IPR1bits_t at 0xf9f IPR1bits;
117 volatile __PIE2bits_t at 0xfa0 PIE2bits;
120 volatile __PIR2bits_t at 0xfa1 PIR2bits;
123 volatile __IPR2bits_t at 0xfa2 IPR2bits;
126 volatile __PIE3bits_t at 0xfa3 PIE3bits;
129 volatile __PIR3bits_t at 0xfa4 PIR3bits;
132 volatile __IPR3bits_t at 0xfa5 IPR3bits;
135 volatile __EECON1bits_t at 0xfa6 EECON1bits;
142 volatile __RCSTA1bits_t at 0xfab RCSTA1bits;
145 volatile __TXSTA1bits_t at 0xfac TXSTA1bits;
151 volatile __PSPCONbits_t at 0xfb0 PSPCONbits;
154 volatile __T3CONbits_t at 0xfb1 T3CONbits;
159 volatile __CMCONbits_t at 0xfb4 CMCONbits;
162 volatile __CVRCONbits_t at 0xfb5 CVRCONbits;
164 sfr at 0xfb7 CCP3CON;
165 volatile __CCP3CONbits_t at 0xfb7 CCP3CONbits;
169 sfr at 0xfba CCP2CON;
170 volatile __CCP2CONbits_t at 0xfba CCP2CONbits;
174 sfr at 0xfbd CCP1CON;
175 volatile __CCP1CONbits_t at 0xfbd CCP1CONbits;
180 volatile __ADCON2bits_t at 0xfc0 ADCON2bits;
183 volatile __ADCON1bits_t at 0xfc1 ADCON1bits;
186 volatile __ADCON0bits_t at 0xfc2 ADCON0bits;
190 sfr at 0xfc5 SSPCON2;
191 volatile __SSPCON2bits_t at 0xfc5 SSPCON2bits;
193 sfr at 0xfc6 SSPCON1;
194 volatile __SSPCON1bits_t at 0xfc6 SSPCON1bits;
196 sfr at 0xfc7 SSPSTAT;
197 volatile __SSPSTATbits_t at 0xfc7 SSPSTATbits;
202 volatile __T2CONbits_t at 0xfca T2CONbits;
207 volatile __T1CONbits_t at 0xfcd T1CONbits;
212 volatile __RCONbits_t at 0xfd0 RCONbits;
215 volatile __WDTCONbits_t at 0xfd1 WDTCONbits;
218 volatile __LVDCONbits_t at 0xfd2 LVDCONbits;
221 volatile __OSCCONbits_t at 0xfd3 OSCCONbits;
227 volatile __STATUSbits_t at 0xfd8 STATUSbits;
232 sfr at 0xfdc PREINC2;
233 sfr at 0xfdd POSTDEC2;
234 sfr at 0xfde POSTINC2;
240 sfr at 0xfe4 PREINC1;
241 sfr at 0xfe5 POSTDEC1;
242 sfr at 0xfe6 POSTINC1;
248 sfr at 0xfec PREINC0;
249 sfr at 0xfed POSTDEC0;
250 sfr at 0xfee POSTINC0;
252 sfr at 0xff0 INTCON3;
253 volatile __INTCON3bits_t at 0xff0 INTCON3bits;
255 sfr at 0xff1 INTCON2;
256 volatile __INTCON2bits_t at 0xff1 INTCON2bits;
259 volatile __INTCONbits_t at 0xff2 INTCONbits;
264 sfr at 0xff6 TBLPTRL;
265 sfr at 0xff7 TBLPTRH;
266 sfr at 0xff8 TBLPTRU;
271 volatile __STKPTRbits_t at 0xffc STKPTRbits;