mcp3xxx

Crates.iomcp3xxx
lib.rsmcp3xxx
version0.1.0-pre.1
sourcesrc
created_at2019-07-13 19:10:06.491459
updated_at2019-07-13 19:10:06.491459
descriptionRust SPI driver for MCP3xxx family of 10-13-Bit A/D converters.
homepagehttps://github.com/trashware/mcp3xxx-rs
repositoryhttps://github.com/trashware/mcp3xxx-rs
max_upload_size
id148837
size13,360
Michael Moravec (Majkl578)

documentation

README

Rust SPI driver for MCP3xxx family of 10-13-Bit A/D converters

Build Status crates.io

This crate provides a Rust SPI driver for MCP3xxx family of 10-13-Bit A/D converters. It provides an easy to use high-level API to interact with the A/D converter.

The implementation currently relies on the rppal library and as such is limited to Raspberry Pi. It doesn't rely on embedded-hal as it currently doesn't provide sufficient API for setting up SPI devices.


The datasheet for MCP3002 can be found here.
The datasheet for MCP3004 and MCP3008 can be found here.
The datasheet for MCP3202 can be found here.
The datasheet for MCP3204 and MCP3208 can be found here.
The datasheet for MCP3302 and MCP3304 can be found here.

Commit count: 4

cargo fmt