slabruntime 0.1.0

CP210X Runtime library in Rust
Documentation
  • Coverage
  • 93.33%
    14 out of 15 items documented0 out of 0 items with examples
  • Size
  • Source code size: 20.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 689.65 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Micheal-learns-to-code/slabruntime
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Micheal-learns-to-code

slabruntime

slabruntime is a Rust library designed to provide runtime support for the CP210x USB to UART bridge controllers. This library offers a set of functionalities to interact with and manage CP210x devices efficiently. The library is based on the API specification in this document CP210x USB to UART API Specification.

Installation

Add the following to your Cargo.toml:

[dependencies]
slabruntime = "0.1.0"

Usage

Import the slabruntime. The starting point for all the functionality is to create a CP210x object. With a CP210x object, you can get the number of cp210x devices connected to the system, open the devices, retrieve more information from them.

use slabruntime::CP210x;

fn main() {
    // Initialize the CP210x library
    let cp210x_runtime = Cp210xRuntime::new().expect("Something wrong with the library: ");

    // Perform operations with the devices
    // ...
}

Documentation

For detailed documentation, please visit docs.rs/slabruntime.

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.

License

This project is licensed under the MIT License. See the LICENSE file for details.