Public Attributes | List of all members
sai_edma_handle Struct Reference

SAI DMA transfer handle, users should not touch the content of the handle. More...

#include <fsl_sai_edma.h>

Public Attributes

uint8_t bytesPerFrame
 
sai_edma_callback_t callback
 
uint8_t channel
 
uint8_t count
 
edma_handle_tdmaHandle
 
uint8_t nbytes
 
volatile uint8_t queueDriver
 
volatile uint8_t queueUser
 
sai_transfer_t saiQueue [SAI_XFER_QUEUE_SIZE]
 
uint32_t state
 
uint8_t tcd [(SAI_XFER_QUEUE_SIZE+1U) *sizeof(edma_tcd_t)]
 
size_t transferSize [SAI_XFER_QUEUE_SIZE]
 
void * userData
 

Detailed Description

SAI DMA transfer handle, users should not touch the content of the handle.

Definition at line 34 of file fsl_sai_edma.h.

Member Data Documentation

◆ bytesPerFrame

uint8_t sai_edma_handle::bytesPerFrame

Bytes in a frame

Definition at line 38 of file fsl_sai_edma.h.

◆ callback

sai_edma_callback_t sai_edma_handle::callback

Callback for users while transfer finish or error occurs

Definition at line 42 of file fsl_sai_edma.h.

◆ channel

uint8_t sai_edma_handle::channel

Which data channel

Definition at line 39 of file fsl_sai_edma.h.

◆ count

uint8_t sai_edma_handle::count

The transfer data count in a DMA request

Definition at line 40 of file fsl_sai_edma.h.

◆ dmaHandle

edma_handle_t* sai_edma_handle::dmaHandle

DMA handler for SAI send

Definition at line 36 of file fsl_sai_edma.h.

◆ nbytes

uint8_t sai_edma_handle::nbytes

eDMA minor byte transfer count initially configured.

Definition at line 37 of file fsl_sai_edma.h.

◆ queueDriver

volatile uint8_t sai_edma_handle::queueDriver

Index for driver to get the transfer data and size

Definition at line 48 of file fsl_sai_edma.h.

◆ queueUser

volatile uint8_t sai_edma_handle::queueUser

Index for user to queue transfer.

Definition at line 47 of file fsl_sai_edma.h.

◆ saiQueue

sai_transfer_t sai_edma_handle::saiQueue[SAI_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer.

Definition at line 45 of file fsl_sai_edma.h.

◆ state

uint32_t sai_edma_handle::state

Internal state for SAI eDMA transfer

Definition at line 41 of file fsl_sai_edma.h.

◆ tcd

uint8_t sai_edma_handle::tcd[(SAI_XFER_QUEUE_SIZE+1U) *sizeof(edma_tcd_t)]

TCD pool for eDMA transfer.

Definition at line 44 of file fsl_sai_edma.h.

◆ transferSize

size_t sai_edma_handle::transferSize[SAI_XFER_QUEUE_SIZE]

Data bytes need to transfer

Definition at line 46 of file fsl_sai_edma.h.

◆ userData

void* sai_edma_handle::userData

User callback parameter

Definition at line 43 of file fsl_sai_edma.h.


The documentation for this struct was generated from the following file:


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20