Public Attributes | List of all members
_sai_handle Struct Reference

SAI handle structure. More...

#include <fsl_sai.h>

Public Attributes

I2S_Typebase
 
uint8_t bitWidth
 
sai_transfer_callback_t callback
 
uint8_t channel
 
uint8_t channelMask
 
uint8_t channelNums
 
uint8_t endChannel
 
volatile uint8_t queueDriver
 
volatile uint8_t queueUser
 
sai_transfer_t saiQueue [SAI_XFER_QUEUE_SIZE]
 
uint32_t state
 
size_t transferSize [SAI_XFER_QUEUE_SIZE]
 
void * userData
 

Detailed Description

SAI handle structure.

Definition at line 426 of file fsl_sai.h.

Member Data Documentation

◆ base

I2S_Type* _sai_handle::base

base address

Definition at line 428 of file fsl_sai.h.

◆ bitWidth

uint8_t _sai_handle::bitWidth

Bit width for transfer, 8/16/24/32 bits

Definition at line 433 of file fsl_sai.h.

◆ callback

sai_transfer_callback_t _sai_handle::callback

Callback function called at transfer event

Definition at line 431 of file fsl_sai.h.

◆ channel

uint8_t _sai_handle::channel

Transfer start channel

Definition at line 442 of file fsl_sai.h.

◆ channelMask

uint8_t _sai_handle::channelMask

enabled channel mask value, refernece _sai_channel_mask

Definition at line 443 of file fsl_sai.h.

◆ channelNums

uint8_t _sai_handle::channelNums

Total enabled channel numbers

Definition at line 445 of file fsl_sai.h.

◆ endChannel

uint8_t _sai_handle::endChannel

end channel number

Definition at line 444 of file fsl_sai.h.

◆ queueDriver

volatile uint8_t _sai_handle::queueDriver

Index for driver to get the transfer data and size

Definition at line 450 of file fsl_sai.h.

◆ queueUser

volatile uint8_t _sai_handle::queueUser

Index for user to queue transfer

Definition at line 449 of file fsl_sai.h.

◆ saiQueue

sai_transfer_t _sai_handle::saiQueue[SAI_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer

Definition at line 447 of file fsl_sai.h.

◆ state

uint32_t _sai_handle::state

Transfer status

Definition at line 430 of file fsl_sai.h.

◆ transferSize

size_t _sai_handle::transferSize[SAI_XFER_QUEUE_SIZE]

Data bytes need to transfer

Definition at line 448 of file fsl_sai.h.

◆ userData

void* _sai_handle::userData

Callback parameter passed to callback function

Definition at line 432 of file fsl_sai.h.


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


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