ssi_pal_dma_defs

nRF5 SDK v14.0.0

This file contains the platform dependent DMA definitions. More...

Typedefs

typedef void * SaSi_PalDmaBufferHandle

Enumerations

enum SaSi_PalDmaBufferDirection_t {
SASI_PAL_DMA_DIR_NONE = 0,
SASI_PAL_DMA_DIR_TO_DEVICE = 1,
SASI_PAL_DMA_DIR_FROM_DEVICE = 2,
SASI_PAL_DMA_DIR_BI_DIRECTION = 3,
SASI_PAL_DMA_DIR_MAX ,
SASI_PAL_DMA_DIR_RESERVE32 = 0x7FFFFFFF
}

Detailed Description

This file contains the platform dependent DMA definitions.

Enumeration Type Documentation

Enumerator
SASI_PAL_DMA_DIR_NONE

No direction.

SASI_PAL_DMA_DIR_TO_DEVICE

The original buffer is the input to the operation, and should be copied/mapped to a temp buffer, prior to activating the HW on the temp buffer.

SASI_PAL_DMA_DIR_FROM_DEVICE

The temp buffer holds the output of the HW, and this API should copy/map it to the original output buffer.

SASI_PAL_DMA_DIR_BI_DIRECTION

Used when the result is written over the original data at the same address. should be treated as 1 & 2.