# HG changeset patch # User Paul Boddie # Date 1539878325 -7200 # Node ID 6264a477049b3f2366013075c45af662305e0654 # Parent 412fcc6d7b0cac8fb94a14228e53422ac8699b43 Fixed the DCHxDSIZ offset and added some more definitions. diff -r 412fcc6d7b0c -r 6264a477049b pic32.h --- a/pic32.h Thu Oct 18 13:56:21 2018 +0200 +++ b/pic32.h Thu Oct 18 17:58:45 2018 +0200 @@ -100,8 +100,12 @@ #define DCHxSSA 0x30 #define DCHxDSA 0x40 #define DCHxSSIZ 0x50 -#define DCHxDSIZ 0x80 +#define DCHxDSIZ 0x60 +#define DCHxSPTR 0x70 +#define DCHxDPTR 0x80 #define DCHxCSIZ 0x90 +#define DCHxCPTR 0xA0 +#define DCHxDAT 0xB0 #define DMAIEC IEC1 #define DMAIFS IFS1 @@ -187,13 +191,19 @@ * PIC32MX1XX/2XX 28/36/44-pin Family Data Sheet */ +#define DMA0 60 +#define DMA1 61 +#define DMA2 62 +#define DMA3 63 #define T1 4 #define T2 9 #define T3 14 #define T4 19 #define T5 24 #define U1RX 40 +#define U1TX 41 #define U2RX 54 +#define U2TX 55 /* Address modifiers. * See...