Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/
Di2c.c161 xSemaphoreHandle slv_tx_mux; /*!< slave tx buffer mux */ member
297 p_i2c->slv_tx_mux = xSemaphoreCreateMutex(); in i2c_driver_install()
298 if (p_i2c->slv_rx_mux == NULL || p_i2c->slv_tx_mux == NULL) { in i2c_driver_install()
379 if (p_i2c_obj[i2c_num]->slv_tx_mux) { in i2c_driver_install()
380 vSemaphoreDelete(p_i2c_obj[i2c_num]->slv_tx_mux); in i2c_driver_install()
423 if (p_i2c->slv_tx_mux) { in i2c_driver_delete()
424 vSemaphoreDelete(p_i2c->slv_tx_mux); in i2c_driver_delete()
1517 res = xSemaphoreTake(p_i2c->slv_tx_mux, ticks_to_wait); in i2c_slave_write_buffer()
1531 xSemaphoreGive(p_i2c->slv_tx_mux); in i2c_slave_write_buffer()