RTEMS 6.1-rc1
Data Fields
_sai_handle Struct Reference

SAI handle structure. More...

#include <fsl_sai.h>

Data Fields

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

Detailed Description

SAI handle structure.

Field Documentation

◆ base

I2S_Type* _sai_handle::base

base address

◆ bitWidth

uint8_t _sai_handle::bitWidth

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

◆ callback

sai_transfer_callback_t _sai_handle::callback

Callback function called at transfer event

◆ channel

uint8_t _sai_handle::channel

Transfer start channel

◆ channelMask

uint8_t _sai_handle::channelMask

enabled channel mask value, refernece _sai_channel_mask

◆ channelNums

uint8_t _sai_handle::channelNums

Total enabled channel numbers

◆ endChannel

uint8_t _sai_handle::endChannel

end channel number

◆ queueDriver

volatile uint8_t _sai_handle::queueDriver

Index for driver to get the transfer data and size

◆ queueUser

volatile uint8_t _sai_handle::queueUser

Index for user to queue transfer

◆ saiQueue

sai_transfer_t _sai_handle::saiQueue[SAI_XFER_QUEUE_SIZE]

Transfer queue storing queued transfer

◆ state

uint32_t _sai_handle::state

Transfer status

◆ transferSize

size_t _sai_handle::transferSize[SAI_XFER_QUEUE_SIZE]

Data bytes need to transfer

◆ userData

void* _sai_handle::userData

Callback parameter passed to callback function


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