opentitanlib
Module uart
Module Items
Structs
Functions
In opentitanlib::
transport::
common
opentitanlib
::
transport
::
common
Module
uart
Copy item path
Source
Structs
§
Serial
Port
Uart
Implementation of the
Uart
trait on top of a serial device, such as
/dev/ttyUSB0
.
Functions
§
flock_
serial
Invoke Linux
flock()
on the given serial port, lock will be released when the file descriptor is closed (or when the process terminates).