Module opentitanlib::transport
source · Modules
Structs
- Used by Transport implementations dealing with emulated OpenTitan chips, allowing e.g. more efficient direct means of programming emulated flash storage. (As opposed to running an actual bootloater on the emulated target, which would receive data via SPI to be flashed.)
- A struct which represents what features a particular Transport instance supports.
- A bitmap of capabilities which may be provided by a transport.
- An
EmptyTransport
provides no communications backend. - A struct which can check that needed capability requirements are met.
- Some transports allow dynamically changing which pins are used for JTAG.
- Command for Transport::dispatch().
Enums
- Contains all the errors that any method on the
Transport
trait could generate. This struct is serializable, such that it can be transmitted across a network for instance as part of the session proxy functionality. - Enum value used by
TransportError::InvalidInstance
.
Traits
- As long as this object is kept alive, the
Transport
driver may assume that no otheropentitantool
processes attempt to access the same debugger device. This allows for optimzations such as keeping USB handles open across function invocations. - Methods available only on the Proxy implementation of the Transport trait.
- A transport object is a factory for the low-level interfaces provided by a given communications backend.