You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
musb(Mentor USB) Registers and embassy-usb-driver , usb-device Implementation.
The MUSBMHDRC (musb) is a USB 2.0 Multi-Point, Dual-Role Controller designed by Mentor Graphics Corp. It is widely used by various manufacturers in microcontrollers and SoCs, including companies like TI, MediaTek, Puya, Allwinner, and others.
Quick Start
These built-in profiles are used via Cargo features (see below), with only one selectable:
builtin-py32f07x (py32m070, py32f071, py32f072)
builtin-py32f403
builtin-sf32lb52x
builtin-std-8bep-2048 (8 bidirectional endpoints, 2048K FIFO size in total, without instance)
Add musb to your Cargo.toml:
[dependencies]
musb = { version = "0.3.0", features = ["builtin-std-8bep-2048"] }
You can use the std profile by enabling the builtin-std-xxx feature. This profile doesn't include a base_address, so it won't generate a UsbInstance (explained in Porting Guide).
If your chip is not included, you'll need to create a new profile. Refer to the Porting Guide for more details.