[][src]Function rpi_pico_sdk_sys::getchar_timeout_us

pub unsafe extern "C" fn getchar_timeout_us(timeout_us: u32) -> c_int

\brief Return a character from stdin if there is one available within a timeout \ingroup pico_stdio

\param timeout_us the timeout in microseconds, or 0 to not wait for a character if none available. \return the character from 0-255 or PICO_ERROR_TIMEOUT if timeout occurs