3 * pic18f452.c - PIC18F452 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 <pic18f452.h>
18 volatile __PORTAbits_t at 0xf80 PORTAbits;
21 volatile __PORTBbits_t at 0xf81 PORTBbits;
24 volatile __PORTCbits_t at 0xf82 PORTCbits;
27 volatile __PORTDbits_t at 0xf83 PORTDbits;
30 volatile __PORTEbits_t at 0xf84 PORTEbits;
33 volatile __LATAbits_t at 0xf89 LATAbits;
36 volatile __LATBbits_t at 0xf8a LATBbits;
39 volatile __LATCbits_t at 0xf8b LATCbits;
42 volatile __LATDbits_t at 0xf8c LATDbits;
45 volatile __LATEbits_t at 0xf8d LATEbits;
48 volatile __TRISAbits_t at 0xf92 TRISAbits;
51 volatile __TRISBbits_t at 0xf93 TRISBbits;
54 volatile __TRISCbits_t at 0xf94 TRISCbits;
57 volatile __TRISDbits_t at 0xf95 TRISDbits;
60 volatile __TRISEbits_t at 0xf96 TRISEbits;
63 volatile __PIE1bits_t at 0xf9d PIE1bits;
66 volatile __PIR1bits_t at 0xf9e PIR1bits;
69 volatile __IPR1bits_t at 0xf9f IPR1bits;
72 volatile __PIE2bits_t at 0xfa0 PIE2bits;
75 volatile __PIR2bits_t at 0xfa1 PIR2bits;
78 volatile __IPR2bits_t at 0xfa2 IPR2bits;
81 volatile __EECON1bits_t at 0xfa6 EECON1bits;
87 volatile __RCSTAbits_t at 0xfab RCSTAbits;
90 volatile __TXSTAbits_t at 0xfac TXSTAbits;
96 volatile __T3CONbits_t at 0xfb1 T3CONbits;
100 sfr at 0xfba CCP2CON;
101 volatile __CCP2CONbits_t at 0xfba CCP2CONbits;
105 sfr at 0xfbd CCP1CON;
106 volatile __CCP1CONbits_t at 0xfbd CCP1CONbits;
111 volatile __ADCON1bits_t at 0xfc1 ADCON1bits;
114 volatile __ADCON0bits_t at 0xfc2 ADCON0bits;
118 sfr at 0xfc5 SSPCON2;
119 volatile __SSPCON2bits_t at 0xfc5 SSPCON2bits;
121 sfr at 0xfc6 SSPCON1;
122 volatile __SSPCON1bits_t at 0xfc6 SSPCON1bits;
124 sfr at 0xfc7 SSPSTAT;
125 volatile __SSPSTATbits_t at 0xfc7 SSPSTATbits;
130 volatile __T2CONbits_t at 0xfca T2CONbits;
135 volatile __T1CONbits_t at 0xfcd T1CONbits;
140 volatile __RCONbits_t at 0xfd0 RCONbits;
143 volatile __WDTCONbits_t at 0xfd1 WDTCONbits;
146 volatile __LVDCONbits_t at 0xfd2 LVDCONbits;
149 volatile __OSCCONbits_t at 0xfd3 OSCCONbits;
155 volatile __STATUSbits_t at 0xfd8 STATUSbits;
160 sfr at 0xfdc PREINC2;
161 sfr at 0xfdd POSTDEC2;
162 sfr at 0xfde POSTINC2;
168 sfr at 0xfe4 PREINC1;
169 sfr at 0xfe5 POSTDEC1;
170 sfr at 0xfe6 POSTINC1;
176 sfr at 0xfec PREINC0;
177 sfr at 0xfed POSTDEC0;
178 sfr at 0xfee POSTINC0;
180 sfr at 0xff0 INTCON3;
181 volatile __INTCON3bits_t at 0xff0 INTCON3bits;
183 sfr at 0xff1 INTCON2;
184 volatile __INTCON2bits_t at 0xff1 INTCON2bits;
187 volatile __INTCONbits_t at 0xff2 INTCONbits;
192 sfr at 0xff6 TBLPTRL;
193 sfr at 0xff7 TBLPTRH;
194 sfr at 0xff8 TBLPTRU;
199 volatile __STKPTRbits_t at 0xffc STKPTRbits;