Function esp_idf_sys::uart_set_loop_back
source ยท pub unsafe extern "C" fn uart_set_loop_back(
uart_num: uart_port_t,
loop_back_en: bool,
) -> esp_err_t
Expand description
@brief Configure TX signal loop back to RX module, just for the test usage.
@param uart_num UART number @param loop_back_en Set ture to enable the loop back function, else set it false.
- @return
- ESP_OK on success
- ESP_ERR_INVALID_ARG Parameter error
- ESP_FAIL Driver not installed