Enumerated Types

group group_dmac_enums

Enums

enum cy_en_dmac_descriptor_type_t

cy_en_dmac_descriptor_type_t: Contains the options for the descriptor type.

Values:

enumerator CY_DMAC_SINGLE_TRANSFER

Single transfer.

enumerator CY_DMAC_1D_TRANSFER

1D transfer.

enumerator CY_DMAC_2D_TRANSFER

2D transfer.

enumerator CY_DMAC_MEMORY_COPY

Memory copy.

enumerator CY_DMAC_SCATTER_TRANSFER

Scatter transfer.

enum cy_en_dmac_trigger_type_t

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

Values:

enumerator CY_DMAC_1ELEMENT

One element transfer.

enumerator CY_DMAC_X_LOOP

One X loop transfer.

enumerator CY_DMAC_DESCR

One descriptor transfer.

enumerator CY_DMAC_DESCR_CHAIN

Entire descriptor chain transfer.

enum cy_en_dmac_data_size_t

cy_en_dmac_data_size_t: Contains the options for the data size.

Values:

enumerator CY_DMAC_BYTE

One byte.

enumerator CY_DMAC_HALFWORD

Half word (two bytes).

enumerator CY_DMAC_WORD

Full word (four bytes).

enum cy_en_dmac_retrigger_t

cy_en_dmac_retrigger_t: Contains the options for descriptor retriggering.

Values:

enumerator CY_DMAC_RETRIG_IM

Retrigger immediately.

enumerator CY_DMAC_RETRIG_4CYC

Retrigger after 4 Clk_Slow cycles.

enumerator CY_DMAC_RETRIG_16CYC

Retrigger after 16 Clk_Slow cycles.

enumerator CY_DMAC_WAIT_FOR_REACT

Wait for trigger reactivation.

enum cy_en_dmac_transfer_size_t

cy_en_dmac_transfer_size_t: Contains the options for the transfer size.

Values:

enumerator CY_DMAC_TRANSFER_SIZE_DATA

As specified by dataSize.

enumerator CY_DMAC_TRANSFER_SIZE_WORD

A full word (four bytes).

enum cy_en_dmac_channel_state_t

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

Values:

enumerator CY_DMAC_CHANNEL_ENABLED

Channel stays enabled.

enumerator CY_DMAC_CHANNEL_DISABLED

Channel is disabled.

enum cy_en_dmac_status_t

cy_en_dmac_status_t: Contains the return values of the DMAC driver.

Values:

enumerator CY_DMAC_SUCCESS

Success.

enumerator CY_DMAC_BAD_PARAM

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