Searched refs:slot_cfg (Results 1 – 1 of 1) sorted by relevance
585 i2s_hal_slot_config_t slot_cfg = {0}; in i2s_esp32_configure() local587 slot_cfg.data_bit_width = i2s_cfg->word_size; in i2s_esp32_configure()588 slot_cfg.slot_mode = I2S_SLOT_MODE_STEREO; in i2s_esp32_configure()589 slot_cfg.slot_bit_width = i2s_cfg->word_size > 16 ? 32 : 16; in i2s_esp32_configure()591 slot_cfg.std.ws_pol = i2s_cfg->format & I2S_FMT_FRAME_CLK_INV ? true : false; in i2s_esp32_configure()592 slot_cfg.std.bit_shift = true; in i2s_esp32_configure()593 slot_cfg.std.left_align = true; in i2s_esp32_configure()595 slot_cfg.std.ws_pol = i2s_cfg->format & I2S_FMT_FRAME_CLK_INV ? false : true; in i2s_esp32_configure()596 slot_cfg.std.bit_shift = false; in i2s_esp32_configure()598 slot_cfg.std.left_align = true; in i2s_esp32_configure()[all …]