3 * pic18f252.c - PIC18F252 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 <pic18f252.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 __PIE1bits_t at 0xf9d PIE1bits;
48 volatile __PIR1bits_t at 0xf9e PIR1bits;
51 volatile __IPR1bits_t at 0xf9f IPR1bits;
54 volatile __PIE2bits_t at 0xfa0 PIE2bits;
57 volatile __PIR2bits_t at 0xfa1 PIR2bits;
60 volatile __IPR2bits_t at 0xfa2 IPR2bits;
63 volatile __EECON1bits_t at 0xfa6 EECON1bits;
69 volatile __RCSTAbits_t at 0xfab RCSTAbits;
72 volatile __TXSTAbits_t at 0xfac TXSTAbits;
78 volatile __T3CONbits_t at 0xfb1 T3CONbits;
83 volatile __CCP2CONbits_t at 0xfba CCP2CONbits;
88 volatile __CCP1CONbits_t at 0xfbd CCP1CONbits;
93 volatile __ADCON1bits_t at 0xfc1 ADCON1bits;
96 volatile __ADCON0bits_t at 0xfc2 ADCON0bits;
100 sfr at 0xfc5 SSPCON2;
101 volatile __SSPCON2bits_t at 0xfc5 SSPCON2bits;
103 sfr at 0xfc6 SSPCON1;
104 volatile __SSPCON1bits_t at 0xfc6 SSPCON1bits;
106 sfr at 0xfc7 SSPSTAT;
107 volatile __SSPSTATbits_t at 0xfc7 SSPSTATbits;
112 volatile __T2CONbits_t at 0xfca T2CONbits;
117 volatile __T1CONbits_t at 0xfcd T1CONbits;
122 volatile __RCONbits_t at 0xfd0 RCONbits;
125 volatile __WDTCONbits_t at 0xfd1 WDTCONbits;
128 volatile __LVDCONbits_t at 0xfd2 LVDCONbits;
131 volatile __OSCCONbits_t at 0xfd3 OSCCONbits;
137 volatile __STATUSbits_t at 0xfd8 STATUSbits;
142 sfr at 0xfdc PREINC2;
143 sfr at 0xfdd POSTDEC2;
144 sfr at 0xfde POSTINC2;
150 sfr at 0xfe4 PREINC1;
151 sfr at 0xfe5 POSTDEC1;
152 sfr at 0xfe6 POSTINC1;
158 sfr at 0xfec PREINC0;
159 sfr at 0xfed POSTDEC0;
160 sfr at 0xfee POSTINC0;
162 sfr at 0xff0 INTCON3;
163 volatile __INTCON3bits_t at 0xff0 INTCON3bits;
165 sfr at 0xff1 INTCON2;
166 volatile __INTCON2bits_t at 0xff1 INTCON2bits;
169 volatile __INTCONbits_t at 0xff2 INTCONbits;
174 sfr at 0xff6 TBLPTRL;
175 sfr at 0xff7 TBLPTRH;
176 sfr at 0xff8 TBLPTRU;
181 volatile __STKPTRbits_t at 0xffc STKPTRbits;