pub unsafe fn read(params: Params) -> isize
native
Reads from a UART into a buffer.
Returns the number of bytes read. This function does not block and may return zero.