Rust crate implementing the embedded-hal traits for FreeBSD devices (like linux-embedded-hal but FreeBSD)
https://crates.io/crates/freebsd-embedded-hal
|
||
---|---|---|
examples | ||
src | ||
.gitignore | ||
.rustfmt.toml | ||
Cargo.toml | ||
README.md | ||
UNLICENSE |
README.md
freebsd-embedded-hal
Implementation of embedded-hal
traits for FreeBSD devices:
gpio
: usinglibgpio
, 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 outputsi2c
: usingiic
, 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.