max116xx-10bit

Crates.iomax116xx-10bit
lib.rsmax116xx-10bit
version0.3.0
sourcesrc
created_at2021-12-13 10:18:28.152007
updated_at2024-06-16 14:03:03.850194
descriptionDriver crate for the MAX116xx 10-bit ADC devices
homepagehttps://egit.irs.uni-stuttgart.de/rust/max116xx-10bit
repositoryhttps://egit.irs.uni-stuttgart.de/rust/max116xx-10bit
max_upload_size
id497054
size52,429
Robin Mueller (robamu)

documentation

README

Crates.io build docs.rs

Rust Maxim 116xx 10-bit ADC device driver crate

This is a platform agnostic Rust driver for the MAX11618-MAX11621, MAX11624 and MAX11625 10-bit ADC devices which uses the embedded-hal traits.

This driver supports most required features but the CNVST pin support is still limited because the test development board did not have the pin connected. Pull requests to improve this are welcome.

Usage

To use this driver, import this crate and an embedded-hal implementation and then instantiate the appropriate device.

The crate uses basic type-level support to prevent using the ADC in a wrong way. The type-level support defaults to an externally clocked device with no wake-up delay.

This crate was tested using the Vorago REB1 development board. You can find the example application here using a thin abstraction layer

Commit count: 0

cargo fmt