Rust device driver crate for the MAX116xx 10-bit ADC devices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Robin Müller c9b5f6a4e9
add Eq derives
2 weeks ago
.github added .github ci files 10 months ago
automation add two more toolchains in jenkinsfile 10 months ago
src add Eq derives 2 weeks ago
.gitignore init commit 10 months ago
CHANGELOG.md v0.2.1 10 months ago
Cargo.toml v0.2.1 10 months ago
LICENSE-APACHE added license files 10 months ago
NOTICE First basic device crate done 10 months ago
README.md v0.2.1 10 months ago

README.md

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