3 * pic18f442.h - 18F442 Device Library Header
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 #ifndef __PIC18F442_H__
16 #define __PIC18F442_H__
18 extern sfr at 0xfff TOSU;
19 extern sfr at 0xffe TOSH;
20 extern sfr at 0xffd TOSL;
21 extern sfr at 0xffc STKPTR;
22 extern sfr at 0xffb PCLATU;
23 extern sfr at 0xffa PCLATH;
24 extern sfr at 0xff9 PCL;
25 extern sfr at 0xff8 TBLPTRU;
26 extern sfr at 0xff7 TBLPTRH;
27 extern sfr at 0xff6 TBLPTRL;
28 extern sfr at 0xff5 TABLAT;
29 extern sfr at 0xff4 PRODH;
30 extern sfr at 0xff3 PRODL;
31 extern sfr at 0xff2 INTCON;
32 extern sfr at 0xfef INDF0;
33 extern sfr at 0xfee POSTINC0;
34 extern sfr at 0xfed POSTDEC0;
35 extern sfr at 0xfec PREINC0;
36 extern sfr at 0xfeb PLUSW0;
37 extern sfr at 0xfea FSR0H;
38 extern sfr at 0xfe9 FSR0L;
39 extern sfr at 0xfe8 WREG;
40 extern sfr at 0xfe7 INDF1;
41 extern sfr at 0xfe6 POSTINC1;
42 extern sfr at 0xfe5 POSTDEC1;
43 extern sfr at 0xfe4 PREINC1;
44 extern sfr at 0xfe3 PLUSW1;
45 extern sfr at 0xfe2 FSR1H;
46 extern sfr at 0xfe1 FSR1L;
47 extern sfr at 0xfe0 BSR;
48 extern sfr at 0xfdf INDF2;
49 extern sfr at 0xfde POSTINC2;
50 extern sfr at 0xfdd POSTDEC2;
51 extern sfr at 0xfdc PREINC2;
52 extern sfr at 0xfdb PLUSW2;
53 extern sfr at 0xfda FSR2H;
54 extern sfr at 0xfd9 FSR2L;
55 extern sfr at 0xfd8 STATUS;
56 extern sfr at 0xfd3 OSCCON;
57 extern sfr at 0xfd2 LVDCON;
58 extern sfr at 0xfd1 WDTCON;
59 extern sfr at 0xfd0 RCON;
60 extern sfr at 0xf9f IPR1;
61 extern sfr at 0xf9e PIR1;
62 extern sfr at 0xf9d PIE1;
63 extern sfr at 0xff1 INTCON2;
64 extern sfr at 0xff0 INTCON3;
65 extern sfr at 0xfa2 IPR2;
66 extern sfr at 0xfa1 PIR2;
67 extern sfr at 0xfa0 PIE2;
68 extern sfr at 0xf80 PORTA;
69 extern sfr at 0xf89 LATA;
70 extern sfr at 0xf92 TRISA;
71 extern sfr at 0xf81 PORTB;
72 extern sfr at 0xf93 TRISB;
73 extern sfr at 0xf8a LATB;
74 extern sfr at 0xf82 PORTC;
75 extern sfr at 0xf8b LATC;
76 extern sfr at 0xf94 TRISC;
77 extern sfr at 0xf83 PORTD;
78 extern sfr at 0xf8c LATD;
79 extern sfr at 0xf95 TRISD;
80 extern sfr at 0xf84 PORTE;
81 extern sfr at 0xf8d LATE;
82 extern sfr at 0xf96 TRISE;
83 extern sfr at 0xfc4 ADRESH;
84 extern sfr at 0xfc3 ADRESL;
85 extern sfr at 0xfc2 ADCON0;
86 extern sfr at 0xfc1 ADCON1;
87 extern sfr at 0xfbf CCPR1H;
88 extern sfr at 0xfbe CCPR1L;
89 extern sfr at 0xfbd CCP1CON;
90 extern sfr at 0xfbc CCPR2H;
91 extern sfr at 0xfbb CCPR2L;
92 extern sfr at 0xfba CCP2CON;
93 extern sfr at 0xfa9 EEADR;
94 extern sfr at 0xfa8 EEDATA;
95 extern sfr at 0xfa7 EECON2;
96 extern sfr at 0xfa6 EECON1;
97 extern sfr at 0xfc9 SSPBUF;
98 extern sfr at 0xfc8 SSPADD;
99 extern sfr at 0xfc7 SSPSTAT;
100 extern sfr at 0xfc6 SSPCON1;
101 extern sfr at 0xfc5 SSPCON2;
102 extern sfr at 0xfd7 TMR0H;
103 extern sfr at 0xfd6 TMR0L;
104 extern sfr at 0xfd5 T0CON;
105 extern sfr at 0xfcf TMR1H;
106 extern sfr at 0xfce TMR1L;
107 extern sfr at 0xfcd T1CON;
108 extern sfr at 0xfcc TMR2;
109 extern sfr at 0xfcb PR2;
110 extern sfr at 0xfca T2CON;
111 extern sfr at 0xfb3 TMR3H;
112 extern sfr at 0xfb2 TMR3L;
113 extern sfr at 0xfb1 T3CON;
114 extern sfr at 0xfaf SPBRG;
115 extern sfr at 0xfae RCREG;
116 extern sfr at 0xfad TXREG;
117 extern sfr at 0xfac TXSTA;
118 extern sfr at 0xfab RCSTA;