From b39cd9ee93bb80a75e02504ac129bcbd35eb1894 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 17 Jun 2015 12:01:33 -0600 Subject: [PATCH] Refresh SAMV71-Xult configurations --- arch/arm/src/samdl/sam_dmac.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/samdl/sam_dmac.h b/arch/arm/src/samdl/sam_dmac.h index b66fecd45d7..cc1c60e7a0c 100644 --- a/arch/arm/src/samdl/sam_dmac.h +++ b/arch/arm/src/samdl/sam_dmac.h @@ -108,18 +108,20 @@ /* Peripheral endpoint characteristics. * * PERIPH_TXTRIG - The TX ID of the peripheral that provides the DMA trigger. This - * is one of the DMA_TRIGSRC_*_TX definitions. + * is one of the DMA_TRIGSRC_*[_TX] definitions. This trigger source + * is selected when sam_dmatxsetup() is called. * PERIPH_RXTRIG - The RX ID of the peripheral that provides the DMA trigger. This - * is one of the DMA_TRIGSRC_*_RX definitions. + * is one of the DMA_TRIGSRC_*[_RX] definitions. This trigger source + * is selected when sam_dmarxsetup() is called. * PERIPH_INCREMENT - Indicates the that peripheral address should be incremented on * each "beat" * PERIPH_QOS - Quality of service for peripheral accesses */ -#define DMACH_FLAG_PERIPH_TXTRIG_SHIFT (9) /* Bits 9-14: See DMAC_TRIGSRC_*_TX */ +#define DMACH_FLAG_PERIPH_TXTRIG_SHIFT (9) /* Bits 9-14: See DMAC_TRIGSRC_*[_TX] */ #define DMACH_FLAG_PERIPH_TXTRIG_MASK (0x3f << DMACH_FLAG_PERIPH_TXTRIG_SHIFT) # define DMACH_FLAG_PERIPH_TXTRIG(n) ((uint32_t)(n) << DMACH_FLAG_PERIPH_TXTRIG_SHIFT) -#define DMACH_FLAG_PERIPH_RXTRIG_SHIFT (15) /* Bits 15-20: See DMAC_TRIGSRC_*_RX */ +#define DMACH_FLAG_PERIPH_RXTRIG_SHIFT (15) /* Bits 15-20: See DMAC_TRIGSRC_*[_RX] */ #define DMACH_FLAG_PERIPH_RXTRIG_MASK (0x3f << DMACH_FLAG_PERIPH_RXTRIG_SHIFT) # define DMACH_FLAG_PERIPH_RXTRIG(n) ((uint32_t)(n) << DMACH_FLAG_PERIPH_RXTRIG_SHIFT) #define DMACH_FLAG_PERIPH_INCREMENT (1 << 21) /* Bit 21: Autoincrement peripheral address */