Function esp_idf_sys::uart_get_buffered_data_len
source ยท pub unsafe extern "C" fn uart_get_buffered_data_len(
uart_num: uart_port_t,
size: *mut usize,
) -> esp_err_t
Expand description
@brief UART get RX ring buffer cached data length
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param size Pointer of size_t to accept cached data length
@return - ESP_OK Success - ESP_FAIL Parameter error