Expand description
§Library for USB PD
Modeled after the Universal Serial Bus Power Delivery Specification: USB PD R3.2 v1.1 (2024/10).
The library implements:
- A policy engine for each supported mode,
- the protocol layer, and
- the
DevicePolicyManager
trait, which allows a device user application to talk to the policy engine, and control it.
§Currently supported modes
- SPR Sink with helpers for requesting
- A fixed supply
- A Programmable Power Supply (PPS)
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.