![]() |
RTEMS 6.1
|
sai transfer format More...
#include <fsl_sai.h>
Data Fields | |
| uint32_t | sampleRate_Hz |
| uint32_t | bitWidth |
| sai_mono_stereo_t | stereo |
| uint8_t | channel |
| uint8_t | channelMask |
| uint8_t | endChannel |
| uint8_t | channelNums |
| sai_protocol_t | protocol |
| bool | isFrameSyncCompact |
sai transfer format
| uint32_t _sai_transfer_format::bitWidth |
Data length of audio data, usually 8/16/24/32 bits
| uint8_t _sai_transfer_format::channel |
Transfer start channel
| uint8_t _sai_transfer_format::channelMask |
enabled channel mask value, reference _sai_channel_mask
| uint8_t _sai_transfer_format::channelNums |
Total enabled channel numbers
| uint8_t _sai_transfer_format::endChannel |
end channel number
| bool _sai_transfer_format::isFrameSyncCompact |
True means Frame sync length is configurable according to bitWidth, false means frame sync length is 64 times of bit clock.
| sai_protocol_t _sai_transfer_format::protocol |
Which audio protocol used
| uint32_t _sai_transfer_format::sampleRate_Hz |
Sample rate of audio data
| sai_mono_stereo_t _sai_transfer_format::stereo |
Mono or stereo