1 #ifndef __PIC32_H__ 2 #define __PIC32_H__ 3 4 /* See... 5 * TABLE 4-1: SFR MEMORYMAP 6 * TABLE 11-3: PORTA REGISTER MAP 7 * 11.2 CLR, SET and INV Registers 8 * PIC32MX1XX/2XX 28/36/44-pin Family Data Sheet 9 */ 10 11 #define T1CON 0xBF800600 12 #define TMR1 0xBF800610 13 #define PR1 0xBF800620 14 #define T2CON 0xBF800800 15 #define TMR2 0xBF800810 16 #define PR2 0xBF800820 17 18 #define PMCON 0xBF807000 19 #define PMMODE 0xBF807010 20 #define PMADDR 0xBF807020 21 #define PMDOUT 0xBF807030 22 #define PMDIN 0xBF807040 23 #define PMAEN 0xBF807050 24 #define PMSTAT 0xBF807060 25 26 #define OSCCON 0xBF80F000 27 #define CFGCON 0xBF80F200 28 #define SYSKEY 0xBF80F230 29 30 #define IFS0 0xBF881030 31 #define IFS1 0xBF881040 32 #define IEC0 0xBF881060 33 #define IEC1 0xBF881070 34 #define IPC1 0xBF8810A0 35 #define IPC2 0xBF8810B0 36 #define IPC7 0xBF881100 37 #define IPC8 0xBF881110 38 #define IPC10 0xBF881130 39 40 #define BMXCON 0xBF882000 41 #define BMXDRMSZ 0xBF882040 42 43 #define DMACON 0xBF883000 44 #define DCH0CON 0xBF883060 45 #define DCH0ECON 0xBF883070 46 #define DCH0INT 0xBF883080 47 #define DCH0SSA 0xBF883090 48 #define DCH0DSA 0xBF8830A0 49 #define DCH0SSIZ 0xBF8830B0 50 #define DCH0DSIZ 0xBF8830C0 51 #define DCH0CSIZ 0xBF8830F0 52 #define DCH1CON 0xBF883120 53 #define DCH1ECON 0xBF883130 54 #define DCH1INT 0xBF883140 55 #define DCH1SSA 0xBF883150 56 #define DCH1DSA 0xBF883160 57 #define DCH1SSIZ 0xBF883170 58 #define DCH1DSIZ 0xBF883180 59 #define DCH1CSIZ 0xBF8831B0 60 #define DCH2CON 0xBF8831E0 61 #define DCH2ECON 0xBF8831F0 62 #define DCH2INT 0xBF883200 63 #define DCH2SSA 0xBF883210 64 #define DCH2DSA 0xBF883220 65 #define DCH2SSIZ 0xBF883130 66 #define DCH2DSIZ 0xBF883140 67 #define DCH2CSIZ 0xBF883170 68 69 #define ANSELA 0xBF886000 70 #define TRISA 0xBF886010 71 #define PORTA 0xBF886020 72 #define LATA 0xBF886030 73 #define ODCA 0xBF886040 74 #define ANSELB 0xBF886100 75 #define TRISB 0xBF886110 76 #define PORTB 0xBF886120 77 #define LATB 0xBF886130 78 #define ODCB 0xBF886140 79 80 #define CLR 0x4 81 #define SET 0x8 82 #define INV 0xC 83 84 #endif /* __PIC32_H__ */