![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
M480 series PDMA driver source file. More...
#include "NuMicro.h"
Go to the source code of this file.
Functions | |
void | PDMA_Open (PDMA_T *pdma, uint32_t u32Mask) |
PDMA Open. More... | |
void | PDMA_Close (PDMA_T *pdma) |
PDMA Close. More... | |
void | PDMA_SetTransferCnt (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32Width, uint32_t u32TransCount) |
Set PDMA Transfer Count. More... | |
void | PDMA_SetStride (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32DestLen, uint32_t u32SrcLen, uint32_t u32TransCount) |
Set PDMA Stride Mode. More... | |
void | PDMA_SetRepeat (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32DestInterval, uint32_t u32SrcInterval, uint32_t u32RepeatCount) |
Set PDMA Repeat. More... | |
void | PDMA_SetTransferAddr (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32SrcAddr, uint32_t u32SrcCtrl, uint32_t u32DstAddr, uint32_t u32DstCtrl) |
Set PDMA Transfer Address. More... | |
void | PDMA_SetTransferMode (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32Peripheral, uint32_t u32ScatterEn, uint32_t u32DescAddr) |
Set PDMA Transfer Mode. More... | |
void | PDMA_SetBurstType (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32BurstType, uint32_t u32BurstSize) |
Set PDMA Burst Type and Size. More... | |
void | PDMA_EnableTimeout (PDMA_T *pdma, uint32_t u32Mask) |
Enable timeout function. More... | |
void | PDMA_DisableTimeout (PDMA_T *pdma, uint32_t u32Mask) |
Disable timeout function. More... | |
void | PDMA_SetTimeOut (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32OnOff, uint32_t u32TimeOutCnt) |
Set PDMA Timeout Count. More... | |
void | PDMA_Trigger (PDMA_T *pdma, uint32_t u32Ch) |
Trigger PDMA. More... | |
void | PDMA_EnableInt (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32Mask) |
Enable Interrupt. More... | |
void | PDMA_DisableInt (PDMA_T *pdma, uint32_t u32Ch, uint32_t u32Mask) |
Disable Interrupt. More... | |
Variables | |
static uint8_t | u32ChSelect [PDMA_CH_MAX] |
M480 series PDMA driver source file.
SPDX-License-Identifier: Apache-2.0
Definition in file pdma.c.
|
static |