Home
last modified time | relevance | path

Searched refs:i2s_tx_cfg (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.4.0/samples/boards/litex/i2s/src/
Dmain.c31 static struct i2s_config i2s_tx_cfg; variable
71 i2s_tx_cfg.word_size = AUDIO_SAMPLE_BIT_WIDTH; in init()
72 i2s_tx_cfg.channels = AUDIO_NUM_CHANNELS; in init()
73 i2s_tx_cfg.format = I2S_FMT_DATA_FORMAT_I2S; in init()
74 i2s_tx_cfg.options = I2S_OPT_FRAME_CLK_SLAVE; in init()
75 i2s_tx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init()
76 i2s_tx_cfg.block_size = AUDIO_FRAME_BUF_BYTES; in init()
77 i2s_tx_cfg.mem_slab = &i2s_tx_mem_slab; in init()
78 i2s_tx_cfg.timeout = -1; in init()
79 ret = i2s_configure(host_i2s_tx_dev, I2S_DIR_TX, &i2s_tx_cfg); in init()