MTB CAT1 Peripheral driver library

General Description

Enumerations

enum  cy_en_axidmac_descriptor_type_t {
  CY_AXIDMAC_1D_MEMORY_COPY = 0UL,
  CY_AXIDMAC_2D_MEMORY_COPY = 1UL,
  CY_AXIDMAC_3D_MEMORY_COPY = 2UL
}
 Contains the options for the descriptor type. More...
 
enum  cy_en_axidmac_trigger_type_t {
  CY_AXIDMAC_M_LOOP = 0U,
  CY_AXIDMAC_X_LOOP = 1U,
  CY_AXIDMAC_DESCR = 2U,
  CY_AXIDMAC_DESCR_CHAIN = 3U
}
 Contains the options for the interrupt, trig-in and trig-out type parameters of the descriptor. More...
 
enum  cy_en_axidmac_retrigger_t {
  CY_AXIDMAC_RETRIG_IM = 0U,
  CY_AXIDMAC_RETRIG_4CYC = 1U,
  CY_AXIDMAC_RETRIG_16CYC = 2U,
  CY_AXIDMAC_WAIT_FOR_REACT = 3U
}
 Contains the options for descriptor retriggering. More...
 
enum  cy_en_axidmac_channel_state_t {
  CY_AXIDMAC_CHANNEL_ENABLED = 0U,
  CY_AXIDMAC_CHANNEL_DISABLED = 1U
}
 Contains the options for the state of the channel when the descriptor is completed. More...
 
enum  cy_en_axidmac_status_t {
  CY_AXIDMAC_SUCCESS = 0x0UL,
  CY_AXIDMAC_BAD_PARAM = CY_AXIDMAC_ID | CY_PDL_STATUS_ERROR | 0x1UL
}
 Contains the return values of the AXIDMAC driver. More...
 

Enumeration Type Documentation

◆ cy_en_axidmac_descriptor_type_t

Contains the options for the descriptor type.

Enumerator
CY_AXIDMAC_1D_MEMORY_COPY 

1D Memory copy

CY_AXIDMAC_2D_MEMORY_COPY 

2D Memory copy

CY_AXIDMAC_3D_MEMORY_COPY 

3D Memory copy

◆ cy_en_axidmac_trigger_type_t

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

Enumerator
CY_AXIDMAC_M_LOOP 

One M loop transfer.

CY_AXIDMAC_X_LOOP 

One X loop transfer.

CY_AXIDMAC_DESCR 

One descriptor transfer.

CY_AXIDMAC_DESCR_CHAIN 

Entire descriptor chain transfer.

◆ cy_en_axidmac_retrigger_t

Contains the options for descriptor retriggering.

Enumerator
CY_AXIDMAC_RETRIG_IM 

Retrigger immediately.

CY_AXIDMAC_RETRIG_4CYC 

Retrigger after 4 Clk_Slow cycles.

CY_AXIDMAC_RETRIG_16CYC 

Retrigger after 16 Clk_Slow cycles.

CY_AXIDMAC_WAIT_FOR_REACT 

Wait for trigger reactivation.

◆ cy_en_axidmac_channel_state_t

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

Enumerator
CY_AXIDMAC_CHANNEL_ENABLED 

Channel stays enabled.

CY_AXIDMAC_CHANNEL_DISABLED 

Channel is disabled.

◆ cy_en_axidmac_status_t

Contains the return values of the AXIDMAC driver.

Enumerator
CY_AXIDMAC_SUCCESS 

Success.

CY_AXIDMAC_BAD_PARAM 

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