X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fsam3_dmac.h;h=009e4f81fcba8444dc54f8b3b5a173a07bf33a6d;hb=bd769039519285af6d5a5fe999819b4c66020dda;hp=ed6c5c80d50ebe5a85e0e95a74fefd2837415d9f;hpb=d8cb8007c5849ce7ec2fae291a0893a867b98bab;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/sam3_dmac.h b/bertos/cpu/cortex-m3/io/sam3_dmac.h index ed6c5c80..009e4f81 100644 --- a/bertos/cpu/cortex-m3/io/sam3_dmac.h +++ b/bertos/cpu/cortex-m3/io/sam3_dmac.h @@ -346,15 +346,16 @@ #define DMAC_CTRLB_IEN 30 ///< (DMAC_CTRLB). /* DMAC_CFG : (DMAC Offset: N/A) DMAC Channel Configuration Register*/ -#define DMAC_CFG_SRC_PER_MASK 0xf ///< (DMAC_CFG) Source with Peripheral identifier. -#define DMAC_CFG_DST_PER_MASK 0xf0 ///< (DMAC_CFG) Destination with Peripheral identifier. -#define DMAC_CFG_DST_PER_SHIFT 4 ///< (DMAC_CFG) Destination with Peripheral identifier. +#define DMAC_CFG_SRC_PER_MASK 0xf ///< (DMAC_CFG) Source with Peripheral identifier. +#define DMAC_CFG_DST_PER_MASK 0xf0 ///< (DMAC_CFG) Destination with Peripheral identifier. +#define DMAC_CFG_DST_PER_SHIFT 4 ///< (DMAC_CFG) Destination with Peripheral identifier. #define DMAC_CFG_SRC_H2SEL 9 ///< (DMAC_CFG) Software or Hardware Selection for the Source. #define DMAC_CFG_DST_H2SEL 13 ///< (DMAC_CFG) Software or Hardware Selection for the Destination. #define DMAC_CFG_SOD 16 ///< (DMAC_CFG) Stop On Done. #define DMAC_CFG_LOCK_IF 20 ///< (DMAC_CFG) Interface Lock. #define DMAC_CFG_LOCK_B 21 ///< (DMAC_CFG) Bus Lock. #define DMAC_CFG_LOCK_IF_L 22 ///< (DMAC_CFG) Master Interface Arbiter Lock. +#define DMAC_CFG_AHB_PROT_SHIFT 24 ///< (DMAC_CFG) AHB Protection. #define DMAC_CFG_AHB_PROT_MASK 0x7000000 ///< (DMAC_CFG) AHB Protection. #define DMAC_CFG_FIFOCFG_MASK 0x70000000 ///< (DMAC_CFG) FIFO Configuration. #define DMAC_CFG_FIFOCFG_ALAP_CFG 0x00000000 ///< (DMAC_CFG) The largest defined length AHB burst is performed on the destination AHB interface..