MTB CAT1 Peripheral driver library

General Description

Enumerations

enum  cy_en_dmac_descriptor_type_t {
  CY_DMAC_SINGLE_TRANSFER = 0U,
  CY_DMAC_1D_TRANSFER = 1U,
  CY_DMAC_2D_TRANSFER = 2U,
  CY_DMAC_MEMORY_COPY = 3U,
  CY_DMAC_SCATTER_TRANSFER = 4U
}
 Contains the options for the descriptor type. More...
 
enum  cy_en_dmac_trigger_type_t {
  CY_DMAC_1ELEMENT = 0U,
  CY_DMAC_X_LOOP = 1U,
  CY_DMAC_DESCR = 2U,
  CY_DMAC_DESCR_CHAIN = 3U
}
 Contains the options for the interrupt, trig-in and trig-out type parameters of the descriptor. More...
 
enum  cy_en_dmac_data_size_t {
  CY_DMAC_BYTE = 0U,
  CY_DMAC_HALFWORD = 1U,
  CY_DMAC_WORD = 2U
}
 Contains the options for the data size. More...
 
enum  cy_en_dmac_retrigger_t {
  CY_DMAC_RETRIG_IM = 0U,
  CY_DMAC_RETRIG_4CYC = 1U,
  CY_DMAC_RETRIG_16CYC = 2U,
  CY_DMAC_WAIT_FOR_REACT = 3U
}
 Contains the options for descriptor retriggering. More...
 
enum  cy_en_dmac_transfer_size_t {
  CY_DMAC_TRANSFER_SIZE_DATA = 0U,
  CY_DMAC_TRANSFER_SIZE_WORD = 1U
}
 Contains the options for the transfer size. More...
 
enum  cy_en_dmac_channel_state_t {
  CY_DMAC_CHANNEL_ENABLED = 0U,
  CY_DMAC_CHANNEL_DISABLED = 1U
}
 Contains the options for the state of the channel when the descriptor is completed. More...
 
enum  cy_en_dmac_status_t {
  CY_DMAC_SUCCESS = 0x0UL,
  CY_DMAC_BAD_PARAM = CY_DMAC_ID | CY_PDL_STATUS_ERROR | 0x1UL
}
 Contains the return values of the DMAC driver. More...
 

Enumeration Type Documentation

◆ cy_en_dmac_descriptor_type_t

Contains the options for the descriptor type.

Enumerator
CY_DMAC_SINGLE_TRANSFER 

Single transfer.

CY_DMAC_1D_TRANSFER 

1D transfer.

CY_DMAC_2D_TRANSFER 

2D transfer.

CY_DMAC_MEMORY_COPY 

Memory copy.

CY_DMAC_SCATTER_TRANSFER 

Scatter transfer.

◆ cy_en_dmac_trigger_type_t

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

Enumerator
CY_DMAC_1ELEMENT 

One element transfer.

CY_DMAC_X_LOOP 

One X loop transfer.

CY_DMAC_DESCR 

One descriptor transfer.

CY_DMAC_DESCR_CHAIN 

Entire descriptor chain transfer.

◆ cy_en_dmac_data_size_t

Contains the options for the data size.

Enumerator
CY_DMAC_BYTE 

One byte.

CY_DMAC_HALFWORD 

Half word (two bytes).

CY_DMAC_WORD 

Full word (four bytes).

◆ cy_en_dmac_retrigger_t

Contains the options for descriptor retriggering.

Enumerator
CY_DMAC_RETRIG_IM 

Retrigger immediately.

CY_DMAC_RETRIG_4CYC 

Retrigger after 4 Clk_Slow cycles.

CY_DMAC_RETRIG_16CYC 

Retrigger after 16 Clk_Slow cycles.

CY_DMAC_WAIT_FOR_REACT 

Wait for trigger reactivation.

◆ cy_en_dmac_transfer_size_t

Contains the options for the transfer size.

Enumerator
CY_DMAC_TRANSFER_SIZE_DATA 

As specified by dataSize.

CY_DMAC_TRANSFER_SIZE_WORD 

A full word (four bytes).

◆ cy_en_dmac_channel_state_t

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

Enumerator
CY_DMAC_CHANNEL_ENABLED 

Channel stays enabled.

CY_DMAC_CHANNEL_DISABLED 

Channel is disabled.

◆ cy_en_dmac_status_t

Contains the return values of the DMAC driver.

Enumerator
CY_DMAC_SUCCESS 

Success.

CY_DMAC_BAD_PARAM 

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