1.24.21.7 sqi_dma_desc_t Struct

C

typedef struct sqi_dma_desc {
    /* Holds the value to be written in the Buffer Descriptor Control Word (BD_CTRL) register. */
    uint32_t bd_ctrl;
    
    /* Holds the values to be written in the Buffer Descriptor Status Word (BD_STAT) register. */
    uint32_t bd_stat;
    
    /* Holds the address of the buffer in system memory to be written in the Buffer Descriptor
    Current Buffer Address Word (BD_BUFFADDR) register. */
    uint32_t *bd_bufaddr;
    
    /* Holds the next buffer descriptor address to be written in Buffer Descriptor Next Buffer
    Descriptor Address Word (BD_NXTPTR) register.*/
    struct sqi_dma_desc *bd_nxtptr;
    
    /* Dummy bytes to align the structure objects to cache line size */
    uint8_t cache_align_dummy[16];
} sqi_dma_desc_t;

Summary

Defines the data type for the SQI DMA based transfer.

Description

SQI DMA Descriptor structure should be used to to create the dma descriptors for SQI DMA based transfers. Multiple descriptor object of this type can be chained and used with a single request to SQIx_DMATransfer().

Remarks

None.