Home
last modified time | relevance | path

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

/hal_espressif-latest/components/hal/esp32s2/include/hal/
Duart_ll.h439 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
442 if(flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
448 if(flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
463 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
465 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
467 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_R… in uart_ll_get_hw_flow_ctrl()
470 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_C… in uart_ll_get_hw_flow_ctrl()
483 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
488 hw->swfc_conf1.xon_threshold = flow_ctrl->xon_thrd; in uart_ll_set_sw_flow_ctrl()
489 hw->swfc_conf0.xoff_threshold = flow_ctrl->xoff_thrd; in uart_ll_set_sw_flow_ctrl()
[all …]
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Duart_ll.h482 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
485 if (flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
491 if (flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
506 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
508 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
510 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_R… in uart_ll_get_hw_flow_ctrl()
513 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_C… in uart_ll_get_hw_flow_ctrl()
526 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
531 hw->swfc_conf1.xon_threshold = flow_ctrl->xon_thrd; in uart_ll_set_sw_flow_ctrl()
532 hw->swfc_conf0.xoff_threshold = flow_ctrl->xoff_thrd; in uart_ll_set_sw_flow_ctrl()
[all …]
/hal_espressif-latest/components/hal/esp32c2/include/hal/
Duart_ll.h508 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
511 if (flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
517 if (flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
532 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
534 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
536 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_R… in uart_ll_get_hw_flow_ctrl()
539 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_C… in uart_ll_get_hw_flow_ctrl()
552 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
557 hw->swfc_conf1.xon_threshold = flow_ctrl->xon_thrd; in uart_ll_set_sw_flow_ctrl()
558 hw->swfc_conf0.xoff_threshold = flow_ctrl->xoff_thrd; in uart_ll_set_sw_flow_ctrl()
[all …]
/hal_espressif-latest/components/hal/
Duart_hal.c51 void uart_hal_set_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t flow_ctrl, uint8_t rx… in uart_hal_set_hw_flow_ctrl() argument
53 uart_ll_set_hw_flow_ctrl(hal->dev, flow_ctrl, rx_thresh); in uart_hal_set_hw_flow_ctrl()
56 void uart_hal_get_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t *flow_ctrl) in uart_hal_get_hw_flow_ctrl() argument
58 uart_ll_get_hw_flow_ctrl(hal->dev, flow_ctrl); in uart_hal_get_hw_flow_ctrl()
61 void uart_hal_set_sw_flow_ctrl(uart_hal_context_t *hal, uart_sw_flowctrl_t *flow_ctrl, bool sw_flow… in uart_hal_set_sw_flow_ctrl() argument
63 uart_ll_set_sw_flow_ctrl(hal->dev, flow_ctrl, sw_flow_ctrl_en); in uart_hal_set_sw_flow_ctrl()
/hal_espressif-latest/components/hal/esp32/include/hal/
Duart_ll.h469 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
472 if(flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
478 if(flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
493 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
495 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
497 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_R… in uart_ll_get_hw_flow_ctrl()
500 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_C… in uart_ll_get_hw_flow_ctrl()
513 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
518 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->swfc_conf, xon_threshold, flow_ctrl->xon_thrd); in uart_ll_set_sw_flow_ctrl()
519 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->swfc_conf, xoff_threshold, flow_ctrl->xoff_thrd); in uart_ll_set_sw_flow_ctrl()
[all …]
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Duart_ll.h508 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
511 if (flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
517 if (flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
532 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
534 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
536 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_R… in uart_ll_get_hw_flow_ctrl()
539 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_C… in uart_ll_get_hw_flow_ctrl()
552 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
557 hw->swfc_conf1.xon_threshold = flow_ctrl->xon_thrd; in uart_ll_set_sw_flow_ctrl()
558 hw->swfc_conf0.xoff_threshold = flow_ctrl->xoff_thrd; in uart_ll_set_sw_flow_ctrl()
[all …]
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Duart_ll.h530 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
533 if (flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
539 if (flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
555 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
557 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
559 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_R… in uart_ll_get_hw_flow_ctrl()
562 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_C… in uart_ll_get_hw_flow_ctrl()
575 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
580 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->swfc_conf1, xon_threshold, flow_ctrl->xon_thrd); in uart_ll_set_sw_flow_ctrl()
581 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->swfc_conf1, xoff_threshold, flow_ctrl->xoff_thrd); in uart_ll_set_sw_flow_ctrl()
[all …]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Duart_ll.h551 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
554 if (flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
560 if (flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
576 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
578 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
580 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_R… in uart_ll_get_hw_flow_ctrl()
583 …*flow_ctrl = (uart_hw_flowcontrol_t)((unsigned int)(*flow_ctrl) | (unsigned int)UART_HW_FLOWCTRL_C… in uart_ll_get_hw_flow_ctrl()
596 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
601 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->swfc_conf1, xon_threshold, flow_ctrl->xon_thrd); in uart_ll_set_sw_flow_ctrl()
602 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->swfc_conf1, xoff_threshold, flow_ctrl->xoff_thrd); in uart_ll_set_sw_flow_ctrl()
[all …]
/hal_espressif-latest/components/hal/include/hal/
Duart_hal.h250 void uart_hal_set_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t flow_ctrl, uint8_t rx…
291 void uart_hal_set_sw_flow_ctrl(uart_hal_context_t *hal, uart_sw_flowctrl_t *flow_ctrl, bool sw_flow…
425 void uart_hal_get_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t *flow_ctrl);
/hal_espressif-latest/components/bt/porting/transport/driver/uart/
Dhci_driver_uart_config.c25 uart_cfg->flow_ctrl = uart_config->hci_uart_flow_ctrl; in hci_driver_uart_config()
/hal_espressif-latest/components/esp_rom/include/esp32c3/rom/
Duart.h149 UartFlowCtrl flow_ctrl; member
/hal_espressif-latest/components/esp_rom/include/esp32c2/rom/
Duart.h149 UartFlowCtrl flow_ctrl; member
/hal_espressif-latest/components/esp_rom/include/esp32c6/rom/
Duart.h149 UartFlowCtrl flow_ctrl; member
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/
Duart.h147 UartFlowCtrl flow_ctrl; member
/hal_espressif-latest/components/esp_rom/include/esp32h2/rom/
Duart.h149 UartFlowCtrl flow_ctrl; member
/hal_espressif-latest/components/esp_rom/include/esp32/rom/
Duart.h148 UartFlowCtrl flow_ctrl; member
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/
Duart.h149 UartFlowCtrl flow_ctrl; member
/hal_espressif-latest/components/driver/uart/
Duart.c320 esp_err_t uart_set_hw_flow_ctrl(uart_port_t uart_num, uart_hw_flowcontrol_t flow_ctrl, uint8_t rx_t… in uart_set_hw_flow_ctrl() argument
324 …ESP_RETURN_ON_FALSE((flow_ctrl < UART_HW_FLOWCTRL_MAX), ESP_FAIL, UART_TAG, "hw_flowctrl mode erro… in uart_set_hw_flow_ctrl()
326 uart_hal_set_hw_flow_ctrl(&(uart_context[uart_num].hal), flow_ctrl, rx_thresh); in uart_set_hw_flow_ctrl()
331 esp_err_t uart_get_hw_flow_ctrl(uart_port_t uart_num, uart_hw_flowcontrol_t *flow_ctrl) in uart_get_hw_flow_ctrl() argument
335 uart_hal_get_hw_flow_ctrl(&(uart_context[uart_num].hal), flow_ctrl); in uart_get_hw_flow_ctrl()
681 …ESP_RETURN_ON_FALSE((uart_config->flow_ctrl < UART_HW_FLOWCTRL_MAX), ESP_FAIL, UART_TAG, "hw_flowc… in uart_param_config()
701 …uart_hal_set_hw_flow_ctrl(&(uart_context[uart_num].hal), uart_config->flow_ctrl, uart_config->rx_f… in uart_param_config()
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/
Drom_functions.h174 int flow_ctrl; member