#traits #usb-pd #embedded

no-std usbpd-traits

USB-PD library traits

1 stable release

Uses new Rust 2024

new 1.0.0 May 9, 2025

#806 in Hardware support

MIT license

4KB

USB PD library traits.

Provides a driver trait that allows to add support for various USB PD PHYs.


Traits for the USB PD library

Modeled after the Universal Serial Bus Power Delivery Specification: USB PD R3.2 v1.1 (2024/10).

Defines traits that are required by the main (usbpd)https://crates.io/crates/usbpd library crate

  • Driver provides methods to talk to a device's PHY

Dependencies

~150KB