RTEMS 6.1-rc5
|
SAI handle structure. More...
#include <fsl_sai.h>
Data Fields | |
I2S_Type * | base |
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 |
SAI handle structure.
I2S_Type* _sai_handle::base |
base address
uint8_t _sai_handle::bitWidth |
Bit width for transfer, 8/16/24/32 bits
sai_transfer_callback_t _sai_handle::callback |
Callback function called at transfer event
uint8_t _sai_handle::channel |
Transfer start channel
uint8_t _sai_handle::channelMask |
enabled channel mask value, refernece _sai_channel_mask
uint8_t _sai_handle::channelNums |
Total enabled channel numbers
uint8_t _sai_handle::endChannel |
end channel number
volatile uint8_t _sai_handle::queueDriver |
Index for driver to get the transfer data and size
volatile uint8_t _sai_handle::queueUser |
Index for user to queue transfer
sai_transfer_t _sai_handle::saiQueue[SAI_XFER_QUEUE_SIZE] |
Transfer queue storing queued transfer
uint32_t _sai_handle::state |
Transfer status
size_t _sai_handle::transferSize[SAI_XFER_QUEUE_SIZE] |
Data bytes need to transfer
void* _sai_handle::userData |
Callback parameter passed to callback function