3 * pic18f2220.c - PIC18F2220 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 <pic18f2220.h>
18 volatile __PORTAbits_t at 0xf80 PORTAbits;
21 volatile __PORTBbits_t at 0xf81 PORTBbits;
24 volatile __PORTCbits_t at 0xf82 PORTCbits;
27 volatile __LATAbits_t at 0xf89 LATAbits;
30 volatile __LATBbits_t at 0xf8a LATBbits;
33 volatile __LATCbits_t at 0xf8b LATCbits;
36 volatile __TRISAbits_t at 0xf92 TRISAbits;
39 volatile __TRISBbits_t at 0xf93 TRISBbits;
42 volatile __TRISCbits_t at 0xf94 TRISCbits;
45 volatile __OSCTUNEbits_t at 0xf9b OSCTUNEbits;
48 volatile __PIE1bits_t at 0xf9d PIE1bits;
51 volatile __PIR1bits_t at 0xf9e PIR1bits;
54 volatile __IPR1bits_t at 0xf9f IPR1bits;
57 volatile __PIE2bits_t at 0xfa0 PIE2bits;
60 volatile __PIR2bits_t at 0xfa1 PIR2bits;
63 volatile __IPR2bits_t at 0xfa2 IPR2bits;
66 volatile __EECON1bits_t at 0xfa6 EECON1bits;
72 volatile __RCSTAbits_t at 0xfab RCSTAbits;
75 volatile __TXSTAbits_t at 0xfac TXSTAbits;
81 volatile __T3CONbits_t at 0xfb1 T3CONbits;
86 volatile __CMCONbits_t at 0xfb4 CMCONbits;
89 volatile __CVRCONbits_t at 0xfb5 CVRCONbits;
92 volatile __CCP2CONbits_t at 0xfba CCP2CONbits;
97 volatile __CCP1CONbits_t at 0xfbd CCP1CONbits;
102 volatile __ADCON2bits_t at 0xfc0 ADCON2bits;
105 volatile __ADCON1bits_t at 0xfc1 ADCON1bits;
108 volatile __ADCON0bits_t at 0xfc2 ADCON0bits;
112 sfr at 0xfc5 SSPCON2;
113 volatile __SSPCON2bits_t at 0xfc5 SSPCON2bits;
115 sfr at 0xfc6 SSPCON1;
116 volatile __SSPCON1bits_t at 0xfc6 SSPCON1bits;
118 sfr at 0xfc7 SSPSTAT;
119 volatile __SSPSTATbits_t at 0xfc7 SSPSTATbits;
124 volatile __T2CONbits_t at 0xfca T2CONbits;
129 volatile __T1CONbits_t at 0xfcd T1CONbits;
134 volatile __RCONbits_t at 0xfd0 RCONbits;
137 volatile __WDTCONbits_t at 0xfd1 WDTCONbits;
140 volatile __LVDCONbits_t at 0xfd2 LVDCONbits;
143 volatile __OSCCONbits_t at 0xfd3 OSCCONbits;
149 volatile __STATUSbits_t at 0xfd8 STATUSbits;
154 sfr at 0xfdc PREINC2;
155 sfr at 0xfdd POSTDEC2;
156 sfr at 0xfde POSTINC2;
162 sfr at 0xfe4 PREINC1;
163 sfr at 0xfe5 POSTDEC1;
164 sfr at 0xfe6 POSTINC1;
170 sfr at 0xfec PREINC0;
171 sfr at 0xfed POSTDEC0;
172 sfr at 0xfee POSTINC0;
174 sfr at 0xff0 INTCON3;
175 volatile __INTCON3bits_t at 0xff0 INTCON3bits;
177 sfr at 0xff1 INTCON2;
178 volatile __INTCON2bits_t at 0xff1 INTCON2bits;
181 volatile __INTCONbits_t at 0xff2 INTCONbits;
186 sfr at 0xff6 TBLPTRL;
187 sfr at 0xff7 TBLPTRH;
188 sfr at 0xff8 TBLPTRU;
193 volatile __STKPTRbits_t at 0xffc STKPTRbits;