Skip to content

USB-PD and associated hardware driver libraries in Rust

License

Notifications You must be signed in to change notification settings

fmckeogh/usb-pd-rs

Repository files navigation

usb-pd-rs

CI fusb302b docs usb_pd docs

Rust USB-PD library, driver for the FUSB302B, and firmware for the ZY12PDN USB-PD trigger board (ported from manuelbl/zy12pdn-oss).

Structure

The usb-pd library implements the USB-PD logic. A Source or Sink have corresponding Driver traits which are implemented by USB hardware drivers, such as fusb302b.

Usage

$ DEFMT_LOG=trace DEFMT_RTT_BUFFER_SIZE=128 cargo r -r

MCU has limited flash so it will not build without the release profile and it's recommend to reduce the RTT buffer size.

About

USB-PD and associated hardware driver libraries in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages