| Nano103 BSP V3.01.002 The Board Support Package for Nano103 Series

Macros
PDMA Exported Constants
NANO103 Device Driver » PDMA Driver

## Macros
#define | PDMA_WIDTH_8 0x00080000UL
#define | PDMA_WIDTH_16 0x00100000UL
#define | PDMA_WIDTH_32 0x00000000UL
#define | PDMA_SAR_INC 0x00000000UL
#define | PDMA_SAR_FIX 0x00000020UL
#define | PDMA_SAR_WRA 0x00000030UL
#define | PDMA_DAR_INC 0x00000000UL
#define | PDMA_DAR_FIX 0x00000080UL
#define | PDMA_DAR_WRA 0x000000C0UL
#define | PDMA_SPI0_TX 0x00000000UL
#define | PDMA_SPI1_TX 0x00000001UL
#define | PDMA_UART0_TX 0x00000002UL
#define | PDMA_UART1_TX 0x00000003UL
#define | PDMA_SPI3_TX 0x00000005UL
#define | PDMA_SPI2_TX 0x00000008UL
#define | PDMA_TMR0 0x00000009UL
#define | PDMA_TMR1 0x0000000AUL
#define | PDMA_TMR2 0x0000000BUL
#define | PDMA_TMR3 0x0000000CUL
#define | PDMA_SPI0_RX 0x00000010UL
#define | PDMA_SPI1_RX 0x00000011UL
#define | PDMA_UART0_RX 0x00000012UL
#define | PDMA_UART1_RX 0x00000013UL
#define | PDMA_SPI3_RX 0x00000015UL
#define | PDMA_ADC 0x00000016UL
#define | PDMA_SPI2_RX 0x00000018UL
#define | PDMA_MEM 0x0000001FUL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW8 0x00000000UL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW9 0x00000000UL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW10 0x00000000UL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW11 0x00000000UL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW12 0x00000000UL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW13 0x00000000UL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW14 0x00000000UL
#define | PDMA_TOC_TPSC_HCLK_DIV_2POW15 0x00000000UL

## Detailed Description

## Macro Definition Documentation

## ◆ PDMA_ADC

#define PDMA_ADC 0x00000016UL

DMA Connect to I2S1 RX

Definition at line 69 of file pdma.h.

## ◆ PDMA_DAR_FIX

#define PDMA_DAR_FIX 0x00000080UL

DMA DAR fix address

Definition at line 47 of file pdma.h.

## ◆ PDMA_DAR_INC

#define PDMA_DAR_INC 0x00000000UL

DMA DAR increment

Definition at line 46 of file pdma.h.

## ◆ PDMA_DAR_WRA

#define PDMA_DAR_WRA 0x000000C0UL

DMA DAR wrap around

Definition at line 48 of file pdma.h.

## ◆ PDMA_MEM

#define PDMA_MEM 0x0000001FUL

DMA Connect to Memory

Definition at line 71 of file pdma.h.

## ◆ PDMA_SAR_FIX

#define PDMA_SAR_FIX 0x00000020UL

DMA SAR fix address

Definition at line 44 of file pdma.h.

## ◆ PDMA_SAR_INC

#define PDMA_SAR_INC 0x00000000UL

DMA SAR increment

Definition at line 43 of file pdma.h.

## ◆ PDMA_SAR_WRA

#define PDMA_SAR_WRA 0x00000030UL

DMA SAR wrap around

Definition at line 45 of file pdma.h.

## ◆ PDMA_SPI0_RX

#define PDMA_SPI0_RX 0x00000010UL

DMA Connect to SPI0 RX

Definition at line 64 of file pdma.h.

## ◆ PDMA_SPI0_TX

#define PDMA_SPI0_TX 0x00000000UL

DMA Connect to SPI0 TX

Definition at line 53 of file pdma.h.

## ◆ PDMA_SPI1_RX

#define PDMA_SPI1_RX 0x00000011UL

DMA Connect to SPI1 RX

Definition at line 65 of file pdma.h.

## ◆ PDMA_SPI1_TX

#define PDMA_SPI1_TX 0x00000001UL

DMA Connect to SPI1 TX

Definition at line 54 of file pdma.h.

## ◆ PDMA_SPI2_RX

#define PDMA_SPI2_RX 0x00000018UL

DMA Connect to SPI2 RX

Definition at line 70 of file pdma.h.

## ◆ PDMA_SPI2_TX

#define PDMA_SPI2_TX 0x00000008UL

DMA Connect to SPI2 TX

Definition at line 58 of file pdma.h.

## ◆ PDMA_SPI3_RX

#define PDMA_SPI3_RX 0x00000015UL

DMA Connect to SPI3 RX

Definition at line 68 of file pdma.h.

## ◆ PDMA_SPI3_TX

#define PDMA_SPI3_TX 0x00000005UL

DMA Connect to SPI3 TX

Definition at line 57 of file pdma.h.

## ◆ PDMA_TMR0

#define PDMA_TMR0 0x00000009UL

DMA Connect to TMR0

Definition at line 59 of file pdma.h.

## ◆ PDMA_TMR1

#define PDMA_TMR1 0x0000000AUL

DMA Connect to TMR1

Definition at line 60 of file pdma.h.

## ◆ PDMA_TMR2

#define PDMA_TMR2 0x0000000BUL

DMA Connect to TMR2

Definition at line 61 of file pdma.h.

## ◆ PDMA_TMR3

#define PDMA_TMR3 0x0000000CUL

DMA Connect to TMR3

Definition at line 62 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW10

#define PDMA_TOC_TPSC_HCLK_DIV_2POW10 0x00000000UL

DMA time-out clock source is HCLK/2^10

Definition at line 78 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW11

#define PDMA_TOC_TPSC_HCLK_DIV_2POW11 0x00000000UL

DMA time-out clock source is HCLK/2^11

Definition at line 79 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW12

#define PDMA_TOC_TPSC_HCLK_DIV_2POW12 0x00000000UL

DMA time-out clock source is HCLK/2^12

Definition at line 80 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW13

#define PDMA_TOC_TPSC_HCLK_DIV_2POW13 0x00000000UL

DMA time-out clock source is HCLK/2^13

Definition at line 81 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW14

#define PDMA_TOC_TPSC_HCLK_DIV_2POW14 0x00000000UL

DMA time-out clock source is HCLK/2^14

Definition at line 82 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW15

#define PDMA_TOC_TPSC_HCLK_DIV_2POW15 0x00000000UL

DMA time-out clock source is HCLK/2^15

Definition at line 83 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW8

#define PDMA_TOC_TPSC_HCLK_DIV_2POW8 0x00000000UL

DMA time-out clock source is HCLK/2^8

Definition at line 76 of file pdma.h.

## ◆ PDMA_TOC_TPSC_HCLK_DIV_2POW9

#define PDMA_TOC_TPSC_HCLK_DIV_2POW9 0x00000000UL

DMA time-out clock source is HCLK/2^9

Definition at line 77 of file pdma.h.

## ◆ PDMA_UART0_RX

#define PDMA_UART0_RX 0x00000012UL

DMA Connect to UART0 RX

Definition at line 66 of file pdma.h.

## ◆ PDMA_UART0_TX

#define PDMA_UART0_TX 0x00000002UL

DMA Connect to UART0 TX

Definition at line 55 of file pdma.h.

## ◆ PDMA_UART1_RX

#define PDMA_UART1_RX 0x00000013UL

DMA Connect to UART1 RX

Definition at line 67 of file pdma.h.

## ◆ PDMA_UART1_TX

#define PDMA_UART1_TX 0x00000003UL

DMA Connect to UART1 TX

Definition at line 56 of file pdma.h.

## ◆ PDMA_WIDTH_16

#define PDMA_WIDTH_16 0x00100000UL

DMA Transfer Width 16-bit

Definition at line 37 of file pdma.h.

## ◆ PDMA_WIDTH_32

#define PDMA_WIDTH_32 0x00000000UL

DMA Transfer Width 32-bit

Definition at line 38 of file pdma.h.

## ◆ PDMA_WIDTH_8

#define PDMA_WIDTH_8 0x00080000UL

DMA Transfer Width 8-bit

Definition at line 36 of file pdma.h.