Skip to content

Platform-agnostic Rust driver for the Maxim DS4432 Dual-Channel, I^2C, 7-Bit Sink/Source Current Digital To Analog (DAC) converter.

License

Notifications You must be signed in to change notification settings

w3irdrobot/ds4432

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ds4432

Crate Docs AGPVv3 licensed

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) use embedded_hal::i2c::I2c trait to provide a sync driver.
  • async use embedded_hal_async::i2c::I2c trait to provide an async driver. Both sync and async 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.

About

Platform-agnostic Rust driver for the Maxim DS4432 Dual-Channel, I^2C, 7-Bit Sink/Source Current Digital To Analog (DAC) converter.

Topics

Resources

License

Stars

Watchers

Forks

Languages