Azure Sphere MT3620 M4 API Reference Manual
|
I2S link structure. More...
#include <mhal_i2s.h>
Data Fields | |
hal_i2s_sample_rate | sample_rate |
Specify the sample rate of the I2S link. | |
hal_i2s_channel_number | channel_number |
Specify the channel number of the I2S link. | |
hal_i2s_link_channel_per_sample | channels_per_sample |
Specify the channel number of each frame sync cycle of the I2S link. | |
hal_i2s_link_bits_sample | bits_per_sample |
Specify the bit number of each frame sync cycle of the I2S link. | |
u32 | msb_offset |
Specify the delay cycle from rising edge of sample rate to first channel MSB of the I2S link. | |
i2s_fnen | lr_swap |
Enable or disable swapping the data of the right channel and the left channelof the I2S link. | |
i2s_fnen | word_select_inverse |
Enable or disable word select inverse of the I2S link. | |
I2S link structure.
The hal_i2s_link_config structure is used to configure I2S protocol for external audio codec. It is defined in hal_i2s_config struct.