Data Structures | |
| struct | cy_stc_dma_descriptor_t |
| DMA descriptor structure type. More... | |
| struct | cy_stc_dma_descriptor_config_t |
| This structure is a configuration structure pre-initialized by the user and passed as a parameter to the Cy_DMA_Descriptor_Init(). More... | |
| struct | cy_stc_dma_channel_config_t |
| This structure holds the initialization values for the DMA channel. More... | |
| struct | cy_stc_dma_crc_config_t |
| This structure holds the initialization values for the CRC feature, only for CPUSS_ver2. More... | |
| struct cy_stc_dma_descriptor_t |
| struct cy_stc_dma_descriptor_config_t |
| Data Fields | ||
|---|---|---|
| cy_en_dma_retrigger_t | retrigger | Specifies whether the DW controller should wait for the input trigger to be deactivated. |
| cy_en_dma_trigger_type_t | interruptType | Sets the event that triggers an interrupt. |
| cy_en_dma_trigger_type_t | triggerOutType | Sets the event that triggers an output. |
| cy_en_dma_channel_state_t | channelState | Specifies whether the channel is enabled or disabled on completion of descriptor. |
| cy_en_dma_trigger_type_t | triggerInType | Sets what type of transfer is triggered. |
| cy_en_dma_data_size_t | dataSize | The size of the data bus for transfer. |
| cy_en_dma_transfer_size_t | srcTransferSize | The source transfer size. |
| cy_en_dma_transfer_size_t | dstTransferSize | The destination transfer size. |
| cy_en_dma_descriptor_type_t | descriptorType | The type of the descriptor. |
| void * | srcAddress | The source address of the transfer. |
| void * | dstAddress |
The destination address of the transfer. For CPUSS_ver2 only: for CRC transfer, the CRC result without post-processing (reversing and/or XORing, if used) is placed into the dstAddress. |
| int32_t | srcXincrement |
The address increment of the source after each X-loop transfer. Valid range is -2048 ... 2047. |
| int32_t | dstXincrement |
The address increment of the destination after each X-loop transfer. Valid range is -2048 ... 2047. |
| uint32_t | xCount |
The number of transfers in an X-loop. Valid range is 1 ... 256. |
| int32_t | srcYincrement |
The address increment of the source after each Y-loop transfer. Valid range is -2048 ... 2047. |
| int32_t | dstYincrement |
The address increment of the destination after each Y-loop transfer. Valid range is -2048 ... 2047. |
| uint32_t | yCount |
The number of X-loops in the Y-loop. Valid range is 1 ... 256. |
| cy_stc_dma_descriptor_t * | nextDescriptor |
The next descriptor to chain after completion. A NULL value will signify no chaining. |
| struct cy_stc_dma_channel_config_t |
| Data Fields | ||
|---|---|---|
| cy_stc_dma_descriptor_t * | descriptor |
The DMA descriptor associated with the channel being initialized.
|
| bool | preemptable | Specifies whether the channel is preemptable by another higher-priority channel. |
| uint32_t | priority |
This parameter specifies the channel's priority.
|
| bool | enable |
This parameter specifies whether the channel is enabled after initializing.
|
| bool | bufferable |
This parameter specifies whether a write transaction can complete. without waiting for the destination to accept the write transaction data. |
| struct cy_stc_dma_crc_config_t |