Function esp_idf_sys::uart_set_rts
source ยท pub unsafe extern "C" fn uart_set_rts(
uart_num: uart_port_t,
level: c_int,
) -> esp_err_t
Expand description
@brief Manually set the UART RTS pin level. @note UART must be configured with hardware flow control disabled.
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param level 1: RTS output low (active); 0: RTS output high (block)
@return - ESP_OK Success - ESP_FAIL Parameter error