kernel_
thread
0.1.0
In kernel_
thread::
device::
uart
kernel_thread
::
device
::
uart
Function
get_char
Copy item path
Source
pub fn get_char() -> Option<u8>
Expand description
从 UartService 中读取一个字符 (u8)
如果没有读取到任何的数,直接返回 [Option::None]