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