Function esp_idf_svc::hal::sys::uart_set_loop_back
source ยท pub unsafe extern "C" fn uart_set_loop_back(
uart_num: u32,
loop_back_en: bool,
) -> i32
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