1 unstable release
0.1.1 |
|
---|---|
0.1.0 | Feb 22, 2022 |
#215 in #host
3MB
64K
SLoC
TinyUSB Rust Bindings
This crate provides Rust bindings for the TinyUSB library.
Declare the dependency as such, for example to host a mass storage class device on an MCU from the STM32F1 family:
[dependencies]
tinyusb-sys = { version = "0.1", features = ["host", "msc", "stm32f1"] }
Feature definitions
The following describes the available features of the crate:
Mode
host
device
Host Features
msc
cdc
vendor
hub
hid
midi
Device Features
bth
video
ecm_rndis
dfu
midi
ncm
dfu_runtime
hid
vendor
usbtmc
audio
msc
cdc
MCU
lpc11uxx
NXP LPC11Uxxlpc13xx
NXP LPC13xxlpc15xx
NXP LPC15xxlpc175x_6x
NXP LPC175x, LPC176xlpc177x_8x
NXP LPC177x, LPC178xlpc18xx
NXP LPC18xxlpc40xx
NXP LPC40xxlpc43xx
NXP LPC43xxlpc51uxx
NXP LPC51U6xlpc54xxx
NXP LPC54xxxlpc55xx
NXP LPC55xxnrf5x
Nordic nRF5x seriessamd21
MicroChip SAMD21samd51
MicroChip SAMD51samg
MicroChip SAMDG seriessame5x
MicroChip SAM E5xsamd11
MicroChip SAMD11saml22
MicroChip SAML22saml21
MicroChip SAML21samx7x
MicroChip SAME70, S70, V70, V71 familystm32f0
ST F0stm32f1
ST F1stm32f2
ST F2stm32f3
ST F3stm32f4
ST F4stm32f7
ST F7stm32h7
ST H7stm32l1
ST L1stm32l0
ST L0stm32l4
ST L4stm32g0
ST G0stm32g4
ST G4cxd56
SONY CXD56msp430x5xx
TI MSP430x5xxmsp432e4
TI MSP432E4xxtm4c123
TI Tiva-C 123xtm4c129
TI Tiva-C 129xvalentyusb_eptri
Fomu eptri configmimxrt10xx
NXP iMX RT10xxnuc121
nuc126
nuc120
nuc505
esp32s2
Espressif ESP32-S2esp32s3
Espressif ESP32-S3da1469x
Dialog Semiconductor DA1469xrp2040
Raspberry Pi RP2040mkl25zxx
NXP MKL25Zxxk32l2bxx
NXP K32L2Bxxefm32gg
Silabs EFM32GGrx63x
Renesas RX63N/631rx65x
Renesas RX65N/RX651rx72n
Renesas RX72Nmm32f327x
Mind Motion MM32F327gd32vf103
GigaDevice GD32VF103bcm2711
Broadcom BCM2711bcm2835
Broadcom BCM2835bcm2837
Broadcom BCM2837xmc4000
Infineon XMC4000pic32mz
MicroChip PIC32MZ familyft90x
BridgeTek FT90xft93x
BridgeTek FT93xf1c100s
Allwinner F1C100s family