Home
last modified time | relevance | path

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

/hal_espressif-latest/components/hal/
Di2s_hal.c117 i2s_ll_tx_set_ws_width(hal->dev, slot_cfg->std.ws_width); in i2s_hal_std_set_tx_slot()
149 i2s_ll_rx_set_ws_width(hal->dev, slot_cfg->std.ws_width); in i2s_hal_std_set_rx_slot()
286 cnt = ((cnt < 2) && (slot_cfg->tdm.ws_width != 1)) ? 2 : cnt; in i2s_hal_tdm_set_tx_slot()
293 if (slot_cfg->tdm.ws_width == 0) { // 0: I2S_TDM_AUTO_WS_WIDTH in i2s_hal_tdm_set_tx_slot()
296 i2s_ll_tx_set_ws_width(hal->dev, slot_cfg->tdm.ws_width); in i2s_hal_tdm_set_tx_slot()
320 cnt = ((cnt < 2) && (slot_cfg->tdm.ws_width != 1)) ? 2 : cnt; in i2s_hal_tdm_set_rx_slot()
327 if (slot_cfg->tdm.ws_width == 0) { // 0: I2S_TDM_AUTO_WS_WIDTH in i2s_hal_tdm_set_rx_slot()
330 i2s_ll_rx_set_ws_width(hal->dev, slot_cfg->tdm.ws_width); in i2s_hal_tdm_set_rx_slot()
/hal_espressif-latest/components/hal/include/hal/
Di2s_hal.h38 …uint32_t ws_width; /*!< WS signal width (i.e. the number of bclk ticks th… member
54 …uint32_t ws_width; /*!< WS signal width ((i.e. the number of bclk ticks t… member
/hal_espressif-latest/components/driver/deprecated/
Di2s_legacy.c1288 SLOT_CFG(std).ws_width = i2s_config->bits_per_sample; in i2s_config_transfer()
1303 SLOT_CFG(std).ws_width = 1; in i2s_config_transfer()
1358 SLOT_CFG(tdm).ws_width = 0; // I2S_TDM_AUTO_WS_WIDTH in i2s_config_transfer()
1365 SLOT_CFG(tdm).ws_width = 1; in i2s_config_transfer()
1369 SLOT_CFG(tdm).ws_width = p_i2s[i2s_num]->slot_cfg.slot_bit_width; in i2s_config_transfer()