ds2484

Crates.iods2484
lib.rsds2484
version0.0.5
created_at2025-06-03 19:09:45.850902+00
updated_at2025-06-24 20:40:15.261087+00
descriptionA no-std driver implementation of the OneWire traits from embedded-onewire for the Analog Devices DS2484 I2C to 1-Wire bridge.
homepage
repository
max_upload_size
id1699391
size63,124
Sunip Mukherjee (sunipkm)

documentation

README

ds2484

Implementation of the embedded-onewire traits for the Analog Devices DS2484 I2C-to-1-Wire bridge device.

Usage

Add the following to your Cargo.toml:

ds2484 = "0.0.4"

Synchronous Operations

use ds2484::Ds2484Builder;

let mut i2c = todo!();
let delay = todo!();
let mut ds2484 = Ds2484Builder::default()
                    .build(&mut i2c, delay)
                    .expect("Could not create a DS2484 instance");

Asynchronous Operations

use ds2484::Ds2484Builder;

let mut i2c = todo!();
let delay = todo!();
let mut ds2484 = Ds2484Builder::default()
                    .build_async(&mut i2c, delay)
                    .await
                    .expect("Could not create a DS2484 instance");
Commit count: 0

cargo fmt