uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
GPDMA Public Macros

Macros

#define GPDMA_CONN_SSP0_Tx   ((0UL))
 
#define GPDMA_CONN_SSP0_Rx   ((1UL))
 
#define GPDMA_CONN_SSP1_Tx   ((2UL))
 
#define GPDMA_CONN_SSP1_Rx   ((3UL))
 
#define GPDMA_CONN_ADC   ((4UL))
 
#define GPDMA_CONN_I2S_Channel_0   ((5UL))
 
#define GPDMA_CONN_I2S_Channel_1   ((6UL))
 
#define GPDMA_CONN_DAC   ((7UL))
 
#define GPDMA_CONN_UART0_Tx   ((8UL))
 
#define GPDMA_CONN_UART0_Rx   ((9UL))
 
#define GPDMA_CONN_UART1_Tx   ((10UL))
 
#define GPDMA_CONN_UART1_Rx   ((11UL))
 
#define GPDMA_CONN_UART2_Tx   ((12UL))
 
#define GPDMA_CONN_UART2_Rx   ((13UL))
 
#define GPDMA_CONN_UART3_Tx   ((14UL))
 
#define GPDMA_CONN_UART3_Rx   ((15UL))
 
#define GPDMA_CONN_MAT0_0   ((16UL))
 
#define GPDMA_CONN_MAT0_1   ((17UL))
 
#define GPDMA_CONN_MAT1_0   ((18UL))
 
#define GPDMA_CONN_MAT1_1   ((19UL))
 
#define GPDMA_CONN_MAT2_0   ((20UL))
 
#define GPDMA_CONN_MAT2_1   ((21UL))
 
#define GPDMA_CONN_MAT3_0   ((22UL))
 
#define GPDMA_CONN_MAT3_1   ((23UL))
 
#define GPDMA_TRANSFERTYPE_M2M   ((0UL))
 
#define GPDMA_TRANSFERTYPE_M2P   ((1UL))
 
#define GPDMA_TRANSFERTYPE_P2M   ((2UL))
 
#define GPDMA_TRANSFERTYPE_P2P   ((3UL))
 
#define GPDMA_BSIZE_1   ((0UL))
 
#define GPDMA_BSIZE_4   ((1UL))
 
#define GPDMA_BSIZE_8   ((2UL))
 
#define GPDMA_BSIZE_16   ((3UL))
 
#define GPDMA_BSIZE_32   ((4UL))
 
#define GPDMA_BSIZE_64   ((5UL))
 
#define GPDMA_BSIZE_128   ((6UL))
 
#define GPDMA_BSIZE_256   ((7UL))
 
#define GPDMA_WIDTH_BYTE   ((0UL))
 
#define GPDMA_WIDTH_HALFWORD   ((1UL))
 
#define GPDMA_WIDTH_WORD   ((2UL))
 
#define GPDMA_REQSEL_UART   ((0UL))
 
#define GPDMA_REQSEL_TIMER   ((1UL))
 

Detailed Description

Macro Definition Documentation

#define GPDMA_BSIZE_1   ((0UL))

Burst size in Source and Destination definitions Burst size = 1

Definition at line 78 of file lpc17xx_gpdma.h.

#define GPDMA_BSIZE_128   ((6UL))

Burst size = 128

Definition at line 84 of file lpc17xx_gpdma.h.

#define GPDMA_BSIZE_16   ((3UL))

Burst size = 16

Definition at line 81 of file lpc17xx_gpdma.h.

#define GPDMA_BSIZE_256   ((7UL))

Burst size = 256

Definition at line 85 of file lpc17xx_gpdma.h.

#define GPDMA_BSIZE_32   ((4UL))

Burst size = 32

Definition at line 82 of file lpc17xx_gpdma.h.

#define GPDMA_BSIZE_4   ((1UL))

Burst size = 4

Definition at line 79 of file lpc17xx_gpdma.h.

#define GPDMA_BSIZE_64   ((5UL))

Burst size = 64

Definition at line 83 of file lpc17xx_gpdma.h.

#define GPDMA_BSIZE_8   ((2UL))

Burst size = 8

Definition at line 80 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_ADC   ((4UL))

ADC

Definition at line 50 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_DAC   ((7UL))

DAC

Definition at line 53 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_I2S_Channel_0   ((5UL))

I2S channel 0

Definition at line 51 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_I2S_Channel_1   ((6UL))

I2S channel 1

Definition at line 52 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT0_0   ((16UL))

MAT0.0

Definition at line 62 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT0_1   ((17UL))

MAT0.1

Definition at line 63 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT1_0   ((18UL))

MAT1.0

Definition at line 64 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT1_1   ((19UL))

MAT1.1

Definition at line 65 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT2_0   ((20UL))

MAT2.0

Definition at line 66 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT2_1   ((21UL))

MAT2.1

Definition at line 67 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT3_0   ((22UL))

MAT3.0

Definition at line 68 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_MAT3_1   ((23UL))

MAT3.1

Definition at line 69 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_SSP0_Rx   ((1UL))

SSP0 Rx

Definition at line 47 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_SSP0_Tx   ((0UL))

DMA Connection number definitions SSP0 Tx

Definition at line 46 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_SSP1_Rx   ((3UL))

SSP1 Rx

Definition at line 49 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_SSP1_Tx   ((2UL))

SSP1 Tx

Definition at line 48 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART0_Rx   ((9UL))

UART0 Rx

Definition at line 55 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART0_Tx   ((8UL))

UART0 Tx

Definition at line 54 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART1_Rx   ((11UL))

UART1 Rx

Definition at line 57 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART1_Tx   ((10UL))

UART1 Tx

Definition at line 56 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART2_Rx   ((13UL))

UART2 Rx

Definition at line 59 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART2_Tx   ((12UL))

UART2 Tx

Definition at line 58 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART3_Rx   ((15UL))

UART3 Rx

Definition at line 61 of file lpc17xx_gpdma.h.

#define GPDMA_CONN_UART3_Tx   ((14UL))

UART3 Tx

Definition at line 60 of file lpc17xx_gpdma.h.

#define GPDMA_REQSEL_TIMER   ((1UL))

Timer match is selected

Definition at line 94 of file lpc17xx_gpdma.h.

#define GPDMA_REQSEL_UART   ((0UL))

DMA Request Select Mode definitions UART TX/RX is selected

Definition at line 93 of file lpc17xx_gpdma.h.

#define GPDMA_TRANSFERTYPE_M2M   ((0UL))

GPDMA Transfer type definitions Memory to memory - DMA control

Definition at line 72 of file lpc17xx_gpdma.h.

#define GPDMA_TRANSFERTYPE_M2P   ((1UL))

Memory to peripheral - DMA control

Definition at line 73 of file lpc17xx_gpdma.h.

#define GPDMA_TRANSFERTYPE_P2M   ((2UL))

Peripheral to memory - DMA control

Definition at line 74 of file lpc17xx_gpdma.h.

#define GPDMA_TRANSFERTYPE_P2P   ((3UL))

Source peripheral to destination peripheral - DMA control

Definition at line 75 of file lpc17xx_gpdma.h.

#define GPDMA_WIDTH_BYTE   ((0UL))

Width in Source transfer width and Destination transfer width definitions Width = 1 byte

Definition at line 88 of file lpc17xx_gpdma.h.

#define GPDMA_WIDTH_HALFWORD   ((1UL))

Width = 2 bytes

Definition at line 89 of file lpc17xx_gpdma.h.

#define GPDMA_WIDTH_WORD   ((2UL))

Width = 4 bytes

Definition at line 90 of file lpc17xx_gpdma.h.