Searched refs:intr_conf (Results 1 – 2 of 2) sorted by relevance
765 esp_err_t uart_intr_config(uart_port_t uart_num, const uart_intr_config_t *intr_conf) in uart_intr_config() argument768 ESP_RETURN_ON_FALSE((intr_conf), ESP_FAIL, UART_TAG, "param null"); in uart_intr_config()771 if (intr_conf->intr_enable_mask & UART_INTR_RXFIFO_TOUT) { in uart_intr_config()772 uart_hal_set_rx_timeout(&(uart_context[uart_num].hal), intr_conf->rx_timeout_thresh); in uart_intr_config()777 if (intr_conf->intr_enable_mask & UART_INTR_RXFIFO_FULL) { in uart_intr_config()778 uart_hal_set_rxfifo_full_thr(&(uart_context[uart_num].hal), intr_conf->rxfifo_full_thresh); in uart_intr_config()780 if (intr_conf->intr_enable_mask & UART_INTR_TXFIFO_EMPTY) { in uart_intr_config()781 … uart_hal_set_txfifo_empty_thr(&(uart_context[uart_num].hal), intr_conf->txfifo_empty_intr_thresh); in uart_intr_config()783 uart_hal_ena_intr_mask(&(uart_context[uart_num].hal), intr_conf->intr_enable_mask); in uart_intr_config()
478 esp_err_t uart_intr_config(uart_port_t uart_num, const uart_intr_config_t *intr_conf);