Expand description
USB PD library.
Includes capabilities for implementing:
- SPR sink
Provides a policy engine (depending on selected capability), protocol layer, and relevant traits for the user applation to implement.
Modules§
- protocol_
layer - The protocol layer is controlled by the policy engine, and commands the PHY layer.
- sink
- The sink implementation.
- timers
- Timers that are used by the protocol layer and policy engine.
Enums§
- Data
Role - The data role of the port.
- Driver
RxError - Receive Error.
- Driver
TxError - Transmit Error.
- Power
Role - The power role of the port.
Traits§
- Driver
- Driver trait, through which the protocol layer talks to the PHY.