3 * pic18f8520.c - PIC18F8520 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 <pic18f8520.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 __PORTHbits_t at 0xf87 PORTHbits;
66 volatile __PORTJbits_t at 0xf88 PORTJbits;
69 volatile __LATAbits_t at 0xf89 LATAbits;
72 volatile __LATBbits_t at 0xf8a LATBbits;
75 volatile __LATCbits_t at 0xf8b LATCbits;
78 volatile __LATDbits_t at 0xf8c LATDbits;
81 volatile __LATEbits_t at 0xf8d LATEbits;
84 volatile __LATFbits_t at 0xf8e LATFbits;
87 volatile __LATGbits_t at 0xf8f LATGbits;
90 volatile __LATHbits_t at 0xf90 LATHbits;
93 volatile __LATJbits_t at 0xf91 LATJbits;
96 volatile __TRISAbits_t at 0xf92 TRISAbits;
99 volatile __TRISBbits_t at 0xf93 TRISBbits;
102 volatile __TRISCbits_t at 0xf94 TRISCbits;
105 volatile __TRISDbits_t at 0xf95 TRISDbits;
108 volatile __TRISEbits_t at 0xf96 TRISEbits;
111 volatile __TRISFbits_t at 0xf97 TRISFbits;
114 volatile __TRISGbits_t at 0xf98 TRISGbits;
117 volatile __TRISHbits_t at 0xf99 TRISHbits;
120 volatile __TRISJbits_t at 0xf9a TRISJbits;
123 volatile __MEMCONbits_t at 0xf9c MEMCONbits;
126 volatile __PIE1bits_t at 0xf9d PIE1bits;
129 volatile __PIR1bits_t at 0xf9e PIR1bits;
132 volatile __IPR1bits_t at 0xf9f IPR1bits;
135 volatile __PIE2bits_t at 0xfa0 PIE2bits;
138 volatile __PIR2bits_t at 0xfa1 PIR2bits;
141 volatile __IPR2bits_t at 0xfa2 IPR2bits;
144 volatile __PIE3bits_t at 0xfa3 PIE3bits;
147 volatile __PIR3bits_t at 0xfa4 PIR3bits;
150 volatile __IPR3bits_t at 0xfa5 IPR3bits;
153 volatile __EECON1bits_t at 0xfa6 EECON1bits;
160 volatile __RCSTA1bits_t at 0xfab RCSTA1bits;
163 volatile __TXSTA1bits_t at 0xfac TXSTA1bits;
169 volatile __PSPCONbits_t at 0xfb0 PSPCONbits;
172 volatile __T3CONbits_t at 0xfb1 T3CONbits;
177 volatile __CMCONbits_t at 0xfb4 CMCONbits;
180 volatile __CVRCONbits_t at 0xfb5 CVRCONbits;
182 sfr at 0xfb7 CCP3CON;
183 volatile __CCP3CONbits_t at 0xfb7 CCP3CONbits;
187 sfr at 0xfba CCP2CON;
188 volatile __CCP2CONbits_t at 0xfba CCP2CONbits;
192 sfr at 0xfbd CCP1CON;
193 volatile __CCP1CONbits_t at 0xfbd CCP1CONbits;
198 volatile __ADCON2bits_t at 0xfc0 ADCON2bits;
201 volatile __ADCON1bits_t at 0xfc1 ADCON1bits;
204 volatile __ADCON0bits_t at 0xfc2 ADCON0bits;
208 sfr at 0xfc5 SSPCON2;
209 volatile __SSPCON2bits_t at 0xfc5 SSPCON2bits;
211 sfr at 0xfc6 SSPCON1;
212 volatile __SSPCON1bits_t at 0xfc6 SSPCON1bits;
214 sfr at 0xfc7 SSPSTAT;
215 volatile __SSPSTATbits_t at 0xfc7 SSPSTATbits;
220 volatile __T2CONbits_t at 0xfca T2CONbits;
225 volatile __T1CONbits_t at 0xfcd T1CONbits;
230 volatile __RCONbits_t at 0xfd0 RCONbits;
233 volatile __WDTCONbits_t at 0xfd1 WDTCONbits;
236 volatile __LVDCONbits_t at 0xfd2 LVDCONbits;
239 volatile __OSCCONbits_t at 0xfd3 OSCCONbits;
245 volatile __STATUSbits_t at 0xfd8 STATUSbits;
250 sfr at 0xfdc PREINC2;
251 sfr at 0xfdd POSTDEC2;
252 sfr at 0xfde POSTINC2;
258 sfr at 0xfe4 PREINC1;
259 sfr at 0xfe5 POSTDEC1;
260 sfr at 0xfe6 POSTINC1;
266 sfr at 0xfec PREINC0;
267 sfr at 0xfed POSTDEC0;
268 sfr at 0xfee POSTINC0;
270 sfr at 0xff0 INTCON3;
271 volatile __INTCON3bits_t at 0xff0 INTCON3bits;
273 sfr at 0xff1 INTCON2;
274 volatile __INTCON2bits_t at 0xff1 INTCON2bits;
277 volatile __INTCONbits_t at 0xff2 INTCONbits;
282 sfr at 0xff6 TBLPTRL;
283 sfr at 0xff7 TBLPTRH;
284 sfr at 0xff8 TBLPTRU;
289 volatile __STKPTRbits_t at 0xffc STKPTRbits;