VSF Documented
|
i2s configuration More...
#include <vsf_template_i2s.h>
Data Fields | |
vsf_i2s_mode_t | mode |
uint32_t | data_sample_rate |
uint32_t | hw_sample_rate |
uint8_t * | buffer |
uint16_t | buffer_size |
uint8_t | channel_num |
vsf_i2s_isr_t | isr |
i2s configuration
vsf_i2s_mode_t vsf_i2s_cfg_t::mode |
i2s mode vsf_i2s_mode_t
uint32_t vsf_i2s_cfg_t::data_sample_rate |
i2s sample rate of audio data (in Hz), valid only if is_src_supported capability is enabled, else ignored
uint32_t vsf_i2s_cfg_t::hw_sample_rate |
i2s sample rate of hw audio data to codec (in Hz)
uint8_t* vsf_i2s_cfg_t::buffer |
i2s channel buffer, valid if is_dbuffer_supported capability is enabled
uint16_t vsf_i2s_cfg_t::buffer_size |
i2s channel buffer byte size, valid if is_dbuffer_supported capability is enabled
uint8_t vsf_i2s_cfg_t::channel_num |
i2s channel number
vsf_i2s_isr_t vsf_i2s_cfg_t::isr |
i2s interrupt