Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/
Di2c.c160 xSemaphoreHandle slv_rx_mux; /*!< slave rx buffer mux */ member
296 p_i2c->slv_rx_mux = xSemaphoreCreateMutex(); in i2c_driver_install()
298 if (p_i2c->slv_rx_mux == NULL || p_i2c->slv_tx_mux == NULL) { in i2c_driver_install()
376 if (p_i2c_obj[i2c_num]->slv_rx_mux) { in i2c_driver_install()
377 vSemaphoreDelete(p_i2c_obj[i2c_num]->slv_rx_mux); in i2c_driver_install()
420 if (p_i2c->slv_rx_mux) { in i2c_driver_delete()
421 vSemaphoreDelete(p_i2c->slv_rx_mux); in i2c_driver_delete()
1545 if (xSemaphoreTake(p_i2c->slv_rx_mux, ticks_to_wait) == pdFALSE) { in i2c_slave_read_buffer()
1565 xSemaphoreGive(p_i2c->slv_rx_mux); in i2c_slave_read_buffer()