Home
last modified time | relevance | path

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

/hal_espressif-latest/components/hal/
Di2s_hal.c287 uint32_t total_slot = slot_cfg->tdm.total_slot > cnt ? slot_cfg->tdm.total_slot : cnt; in i2s_hal_tdm_set_tx_slot() local
294 i2s_ll_tx_set_ws_width(hal->dev, (total_slot * slot_bit_width) / 2); in i2s_hal_tdm_set_tx_slot()
300 i2s_ll_tx_set_chan_num(hal->dev, total_slot); in i2s_hal_tdm_set_tx_slot()
305 i2s_ll_tx_set_half_sample_bit(hal->dev, total_slot * slot_bit_width / 2); in i2s_hal_tdm_set_tx_slot()
321 uint32_t total_slot = slot_cfg->tdm.total_slot > cnt ? slot_cfg->tdm.total_slot : cnt; in i2s_hal_tdm_set_rx_slot() local
328 i2s_ll_rx_set_ws_width(hal->dev, (total_slot * slot_bit_width) / 2); in i2s_hal_tdm_set_rx_slot()
334 i2s_ll_rx_set_chan_num(hal->dev, total_slot); in i2s_hal_tdm_set_rx_slot()
338 i2s_ll_rx_set_half_sample_bit(hal->dev, total_slot * slot_bit_width / 2); in i2s_hal_tdm_set_rx_slot()
/hal_espressif-latest/components/hal/include/hal/
Di2s_hal.h63 …uint32_t total_slot; /*!< I2S total number of slots. If it is smaller than … member
/hal_espressif-latest/components/driver/deprecated/
Di2s_legacy.c134 uint32_t total_slot; /*!< Total slot number */ member
757 uint32_t slot_num = p_i2s[i2s_num]->total_slot < 2 ? 2 : p_i2s[i2s_num]->total_slot; in i2s_calculate_common_clock()
1085 …ESP_RETURN_ON_FALSE(p_i2s[i2s_num]->total_slot >= (32 - __builtin_clz(slot_mask)), ESP_ERR_INVALID… in i2s_set_clk()
1086 … "The max channel number can't be greater than CH%"PRIu32, p_i2s[i2s_num]->total_slot); in i2s_set_clk()
1315 p_i2s[i2s_num]->total_slot = 2; in i2s_config_transfer()
1338 p_i2s[i2s_num]->total_slot = 2; in i2s_config_transfer()
1348 p_i2s[i2s_num]->total_slot = 2; in i2s_config_transfer()
1381 … p_i2s[i2s_num]->total_slot = mx_slot < i2s_config->total_chan ? mx_slot : i2s_config->total_chan; in i2s_config_transfer()
1391 p_i2s[i2s_num]->total_slot = 2; in i2s_config_transfer()