#async #embedded-hal-driver #embedded-hal-async #no-std #usb-pd

no-std husb238

A HUSB238 driver based on embedded-hal. Support async and sync features. The HUSB238 is a highly integrated USB Power Delivery (PD) controller as sink role for up to 100W power rating.

2 releases

0.1.1 Nov 6, 2024
0.1.0 Nov 5, 2024

#724 in Hardware support

Download history 61/week @ 2024-10-30 190/week @ 2024-11-06

251 downloads per month

MIT/Apache

13KB
285 lines

HUSB238

This is a HUSB238 driver based on embedded-hal. Support async and sync features.

You can check out power-desk to see how to use this driver in your project.

Usage

To add the HUSB238 driver to your project, run the following command:

# sync
cargo add husb238

# async
cargo add husb238 --features async

License

Rand is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~2MB
~43K SLoC