Rust crate implementing the embedded-hal traits for FreeBSD devices (like linux-embedded-hal but FreeBSD) https://crates.io/crates/freebsd-embedded-hal
Go to file
Val Packett 505443c180 update metadata 2022-10-02 02:12:31 +03:00
examples Add i2c support 2021-12-31 19:03:20 +03:00
src Add i2c support 2021-12-31 19:03:20 +03:00
.gitignore Initial commit 2021-12-31 00:12:08 +03:00
.rustfmt.toml Initial commit 2021-12-31 00:12:08 +03:00
Cargo.toml update metadata 2022-10-02 02:12:31 +03:00
README.md release 0.1.0 2021-12-31 19:12:27 +03:00
UNLICENSE Initial commit 2021-12-31 00:12:08 +03:00

README.md

crates.io unlicense

freebsd-embedded-hal

Implementation of embedded-hal traits for FreeBSD devices:

  • gpio: using libgpio, with stateful and toggleable support, with support for true initial output values if the device is capable, with cool type-state tracking, with open-drain outputs
  • i2c: using iic, with transaction support (not using iterators on-the-fly because many drivers have to reinterpret start/stop flags between neighboring messages for hardware start-stop)
  • TODO: spi
  • TODO: pwm
  • TODO: serial? :D

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.