Crate linux_embedded_hal[][src]

Expand description

Implementation of embedded-hal traits for Linux devices

Drivers

This crate lets you use a bunch of platform agnostic drivers that are based on the embedded-hal traits. You can find them on crates.io by searching for the embedded-hal keyword.

Re-exports

pub use i2cdev;
pub use nb;
pub use serial_core;
pub use serial_unix;
pub use spidev;
pub use sysfs_gpio;
pub use gpio_cdev;

Structs

Newtype around gpio_cdev::LineHandle that implements the embedded-hal traits

Empty struct that provides delay functionality on top of thread::sleep

Newtype around i2cdev::linux::LinuxI2CDevice that implements the embedded-hal traits

Newtype around serial_unix::TTYPort that implements the embedded-hal traits.

Newtype around spidev::Spidev that implements the embedded-hal traits

A periodic timer based on std::time::Instant, which is a monotonically nondecreasing clock.

Newtype around sysfs_gpio::Pin that implements the embedded-hal traits