3 unstable releases
0.2.1 | Oct 7, 2024 |
---|---|
0.2.0 | Sep 4, 2024 |
0.1.0 | Aug 25, 2024 |
#383 in Embedded development
43 downloads per month
24KB
494 lines
ds4432
Platform-agnostic Rust driver for the Maxim DS4432 Dual-Channel, I2C, 7-Bit Sink/Source Current Digital To Analog (DAC) converter.
Resources
License
Distributed under the AGPLv3 License. See LICENSE.txt for more information.
Features
defmt-03
add support for defmt Formatting of public enums and structs.sync
(default) useembedded_hal::i2c::I2c
trait to provide a sync driver.async
useembedded_hal_async::i2c::I2c
trait to provide an async driver. Bothsync
andasync
can be enable at the same time, but enabling none is pointless.not-recommended-rfs
allow driver to use not recommended Rfs value for microamps convertions
Support
PRs are more than welcome! I don't know how much more needs to be added, but I'm open to ideas.
Feeling generous? Leave me a tip! ⚡️w3irdrobot@vlt.ge.
Think I'm an asshole but still want to tip? Please donate to OpenSats.
Want to tell me how you feel? Hit me up on Nostr.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the AGPLv3 license, shall be licensed as above, without any additional terms or conditions.
Dependencies
~2MB
~42K SLoC