[][src]Function rpi_pico_sdk_sys::uart_is_readable_within_us

pub unsafe extern "C" fn uart_is_readable_within_us(
    uart: *mut uart_inst_t,
    us: u32
) -> bool

\brief Wait for up to a certain number of microseconds for the RX FIFO to be non empty \ingroup hardware_uart

\param uart UART instance. \ref uart0 or \ref uart1 \param us the number of microseconds to wait at most (may be 0 for an instantaneous check) \return true if the RX FIFO became non empty before the timeout, false otherwise