#adc #sensor #no-std #maxim

no-std max116xx-10bit

Driver crate for the MAX116xx 10-bit ADC devices

5 unstable releases

0.3.0 Jun 16, 2024
0.2.1 Dec 14, 2021
0.2.0 Dec 14, 2021
0.1.1 Dec 13, 2021
0.1.0 Dec 13, 2021

#1502 in Embedded development

Download history 45/week @ 2024-06-24 93/week @ 2024-07-01 19/week @ 2024-07-29 66/week @ 2024-09-16 31/week @ 2024-09-23 88/week @ 2024-09-30 13/week @ 2024-10-07

198 downloads per month
Used in vorago-reb1

Apache-2.0

38KB
693 lines

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

Dependencies

~230KB