embedded-serial 0.5.0

Some traits to describe the features of embedded Serial (UART) devices.
Documentation
  • Coverage
  • 100%
    53 out of 53 items documented1 out of 37 items with examples
  • Size
  • Source code size: 26.72 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.83 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • thejpster/embedded_serial
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • thejpster

Embedded Serial Traits

Introduction

This crate contains traits that are suitable for embedded development. This allows developers to produce crates that depend upon generic UART functionality (for example, an AT command interface), allowing the application developer to combine the crate with the specific UART available on their board.

It is similar to the C idea of using the functions getc and putc to decouple the IO device from the library, but in a more Rustic fashion.

There are variants of the traits for Receive and Transmit, and for blocking, blocking with timeout and non-blocking.

Unanswered Questions

  • Would it be better if the different traits used the same function names?