Enumerated Types

group group_dma_enums

Enums

enum cy_en_dma_intr_cause_t

cy_en_dma_intr_cause_t: Contains the possible interrupt cause values.

Values:

enumerator CY_DMA_INTR_CAUSE_NO_INTR

No interrupt.

enumerator CY_DMA_INTR_CAUSE_COMPLETION

Completion.

enumerator CY_DMA_INTR_CAUSE_SRC_BUS_ERROR

Source bus error.

enumerator CY_DMA_INTR_CAUSE_DST_BUS_ERROR

Destination bus error.

enumerator CY_DMA_INTR_CAUSE_SRC_MISAL

Source address is not aligned.

enumerator CY_DMA_INTR_CAUSE_DST_MISAL

Destination address is not aligned.

enumerator CY_DMA_INTR_CAUSE_CURR_PTR_NULL

Current descriptor pointer is NULL.

enumerator CY_DMA_INTR_CAUSE_ACTIVE_CH_DISABLED

Active channel is disabled.

enumerator CY_DMA_INTR_CAUSE_DESCR_BUS_ERROR

Descriptor bus error.

enum cy_en_dma_descriptor_type_t

cy_en_dma_descriptor_type_t: Contains the options for the descriptor type.

Values:

enumerator CY_DMA_SINGLE_TRANSFER

Single transfer.

enumerator CY_DMA_1D_TRANSFER

1D transfer.

enumerator CY_DMA_2D_TRANSFER

2D transfer.

enumerator CY_DMA_CRC_TRANSFER

CRC transfer.

Supported by the CPUSS_ver2 only.

enum cy_en_dma_trigger_type_t

cy_en_dma_trigger_type_t: Contains the options for the interrupt, trig-in and trig-out type parameters of the descriptor.

Values:

enumerator CY_DMA_1ELEMENT

One element transfer.

enumerator CY_DMA_X_LOOP

One X loop transfer.

enumerator CY_DMA_DESCR

One descriptor transfer.

enumerator CY_DMA_DESCR_CHAIN

Entire descriptor chain transfer.

enum cy_en_dma_data_size_t

cy_en_dma_data_size_t: Contains the options for the data size.

Values:

enumerator CY_DMA_BYTE

One byte.

enumerator CY_DMA_HALFWORD

Half word (two bytes).

enumerator CY_DMA_WORD

Full word (four bytes).

enum cy_en_dma_retrigger_t

cy_en_dma_retrigger_t: Contains the options for descriptor retriggering.

Values:

enumerator CY_DMA_RETRIG_IM

Retrigger immediately.

enumerator CY_DMA_RETRIG_4CYC

Retrigger after 4 Clk_Slow cycles.

enumerator CY_DMA_RETRIG_16CYC

Retrigger after 16 Clk_Slow cycles.

enumerator CY_DMA_WAIT_FOR_REACT

Wait for trigger reactivation.

enum cy_en_dma_transfer_size_t

cy_en_dma_transfer_size_t: Contains the options for the transfer size.

Values:

enumerator CY_DMA_TRANSFER_SIZE_DATA

As specified by dataSize.

enumerator CY_DMA_TRANSFER_SIZE_WORD

A full word (four bytes).

enum cy_en_dma_channel_state_t

cy_en_dma_channel_state_t: Contains the options for the state of the channel when the descriptor is completed.

Values:

enumerator CY_DMA_CHANNEL_ENABLED

Channel stays enabled.

enumerator CY_DMA_CHANNEL_DISABLED

Channel is disabled.

enum cy_en_dma_status_t

cy_en_dma_status_t: Contains the return values of the DMA driver.

Values:

enumerator CY_DMA_SUCCESS

Success.

enumerator CY_DMA_BAD_PARAM

The input parameters passed to the DMA API are not valid.