Searched refs:rx_mux (Results 1 – 1 of 1) sorted by relevance
121 SemaphoreHandle_t rx_mux; /*!< UART RX data mutex*/ member1201 if(xSemaphoreTake(p_uart_obj[uart_num]->rx_mux,(portTickType)ticks_to_wait) != pdTRUE) { in uart_read_bytes()1220 xSemaphoreGive(p_uart_obj[uart_num]->rx_mux); in uart_read_bytes()1247 xSemaphoreGive(p_uart_obj[uart_num]->rx_mux); in uart_read_bytes()1270 xSemaphoreTake(p_uart->rx_mux, (portTickType)portMAX_DELAY); in uart_flush_input()1315 xSemaphoreGive(p_uart->rx_mux); in uart_flush_input()1352 p_uart_obj[uart_num]->rx_mux = xSemaphoreCreateMutex(); in uart_driver_install()1438 if(p_uart_obj[uart_num]->rx_mux) { in uart_driver_delete()1439 vSemaphoreDelete(p_uart_obj[uart_num]->rx_mux); in uart_driver_delete()1440 p_uart_obj[uart_num]->rx_mux = NULL; in uart_driver_delete()