| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Macros | Functions
pdma.h File Reference

NUC472/NUC442 PDMA driver header file. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | PDMA_CH_MAX
#define | PDMA_OP_STOP
#define | PDMA_OP_BASIC
#define | PDMA_OP_SCATTER
#define | PDMA_WIDTH_8
#define | PDMA_WIDTH_16
#define | PDMA_WIDTH_32
#define | PDMA_SAR_INC
#define | PDMA_SAR_FIX
#define | PDMA_DAR_INC
#define | PDMA_DAR_FIX
#define | PDMA_REQ_SINGLE
#define | PDMA_REQ_BURST
#define | PDMA_BURST_128
#define | PDMA_BURST_64
#define | PDMA_BURST_32
#define | PDMA_BURST_16
#define | PDMA_BURST_8
#define | PDMA_BURST_4
#define | PDMA_BURST_2
#define | PDMA_BURST_1
#define | PDMA_SPI0_TX
#define | PDMA_SPI1_TX
#define | PDMA_SPI2_TX
#define | PDMA_SPI3_TX
#define | PDMA_UART0_TX
#define | PDMA_UART1_TX
#define | PDMA_UART2_TX
#define | PDMA_UART3_TX
#define | PDMA_UART4_TX
#define | PDMA_UART5_TX
#define | PDMA_I2S0_TX
#define | PDMA_I2S1_TX
#define | PDMA_SPI0_RX
#define | PDMA_SPI1_RX
#define | PDMA_SPI2_RX
#define | PDMA_SPI3_RX
#define | PDMA_UART0_RX
#define | PDMA_UART1_RX
#define | PDMA_UART2_RX
#define | PDMA_UART3_RX
#define | PDMA_UART4_RX
#define | PDMA_UART5_RX
#define | PDMA_ADC
#define | PDMA_I2S0_RX
#define | PDMA_I2S1_RX
#define | PDMA_MEM
#define | PDMA_GET_INT_STATUS()
| Get PDMA Interrupt Status. More...
#define | PDMA_GET_TD_STS()
| Get Transfer Done Interrupt Status. More...
#define | PDMA_CLR_TD_FLAG(u32Mask)
| Clear Transfer Done Interrupt Status. More...
#define | PDMA_GET_ABORT_STS()
| Get Target Abort Interrupt Status. More...
#define | PDMA_CLR_ABORT_FLAG(u32Mask)
| Clear Target Abort Interrupt Status. More...
#define | PDMA_GET_EMPTY_STS()
| Get Scatter-Gather Table Empty Interrupt Status. More...
#define | PDMA_CLR_EMPTY_FLAG(u32Mask)
| Clear Scatter-Gather Table Empty Interrupt Status. 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_SET_SCATTER_DESC(u32Ch, u32Addr)
| Set Scatter-gather descriptor Address. 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_SetBurstType (uint32_t u32Ch, uint32_t u32BurstType, uint32_t u32BurstSize)
| Set PDMA Burst Type. 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...

## Detailed Description

NUC472/NUC442 PDMA driver header file.

Version
  V1.00

Revision
  8

Date
  14/06/05 5:16p

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.

Definition in file pdma.h.