driver-cp2130

Crates.iodriver-cp2130
lib.rsdriver-cp2130
version1.1.0
sourcesrc
created_at2019-12-13 04:37:01.747129
updated_at2024-04-18 06:09:26.555533
descriptionlibusb based driver for the CP2130 USB-SPI bridge by Silicon Labs
homepage
repositoryhttps://github.com/ryankurte/rust-driver-cp2130
max_upload_size
id188979
size78,216
core (github:rust-iot:core)

documentation

README

Rust CP2130 Driver

A driver for the Silicon Labs CP2130 USB->SPI bridge IC, exposing an embedded-hal compatible interface as well as a command line utility for interacting with (and testing interaction with) CP2130 devices.

Status

WIP. Basic functionality working, PRs for extended features (non-volatile programming, alternate pin modes, etc.) are absolutely welcome.

Build Status GitHub tag Crates.io Docs.rs

Open Issues

Getting started

You can install the utility with cargo install driver-cp2130 or grab a pre-compiled release from here

You may wish to copy 40-cp2130.rules to /etc/udev/rules.d to allow all users with plugdev permissions to interact with the CP2130 device.

References

Commit count: 92

cargo fmt