![]() |
Nano102_112 Series BSP
V3.03.002
The Board Support Package for Nano102_112 Series
|
Nano102/112 series PDMA driver header file. More...
Go to the source code of this file.
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_TMR0_TX 0x00000009UL |
#define | PDMA_TMR1_TX 0x0000000AUL |
#define | PDMA_TMR2_TX 0x0000000BUL |
#define | PDMA_TMR3_TX 0x0000000CUL |
#define | PDMA_SPI0_RX 0x00000010UL |
#define | PDMA_SPI1_RX 0x00000011UL |
#define | PDMA_UART0_RX 0x00000012UL |
#define | PDMA_UART1_RX 0x00000013UL |
#define | PDMA_ADC 0x00000016UL |
#define | PDMA_PWM0_CH0 0x00000019UL |
#define | PDMA_PWM0_CH2 0x0000001AUL |
#define | PDMA_MEM 0x0000001FUL |
#define | PDMA_GET_INT_STATUS() |
Get PDMA Interrupt Status. More... | |
#define | PDMA_GET_CH_INT_STS(u32Ch) |
Get PDMA Channel Interrupt Status. More... | |
#define | PDMA_CLR_CH_INT_FLAG(u32Ch, u32Mask) |
Clear PDMA Channel Interrupt Flag. More... | |
#define | PDMA_IS_CH_BUSY(u32Ch) |
Check Channel Status. More... | |
#define | PDMA_SET_SRC_ADDR(u32Ch, u32Addr) |
Set Source Address. More... | |
#define | PDMA_SET_DST_ADDR(u32Ch, u32Addr) |
Set Destination Address. More... | |
#define | PDMA_SET_TRANS_CNT(u32Ch, u32Count) |
Set Transfer Count. More... | |
#define | PDMA_STOP(u32Ch) |
Stop the channel. More... | |
Functions | |
void | PDMA_Open (uint32_t u32Mask) |
PDMA Open. More... | |
void | PDMA_Close (void) |
PDMA Close. More... | |
void | PDMA_SetTransferCnt (uint32_t u32Ch, uint32_t u32Width, uint32_t u32TransCount) |
Set PDMA Transfer Count. More... | |
void | PDMA_SetTransferAddr (uint32_t u32Ch, uint32_t u32SrcAddr, uint32_t u32SrcCtrl, uint32_t u32DstAddr, uint32_t u32DstCtrl) |
Set PDMA Transfer Address. More... | |
void | PDMA_SetTransferMode (uint32_t u32Ch, uint32_t u32Peripheral, uint32_t u32ScatterEn, uint32_t u32DescAddr) |
Set PDMA Transfer Mode. More... | |
void | PDMA_SetTimeOut (uint32_t u32Ch, uint32_t u32OnOff, uint32_t u32TimeOutCnt) |
Set PDMA Timeout. More... | |
void | PDMA_Trigger (uint32_t u32Ch) |
Trigger PDMA. More... | |
void | PDMA_EnableInt (uint32_t u32Ch, uint32_t u32Mask) |
Enable Interrupt. More... | |
void | PDMA_DisableInt (uint32_t u32Ch, uint32_t u32Mask) |
Disable Interrupt. More... | |
Nano102/112 series PDMA driver header file.
Definition in file pdma.h.