#embedded-hal #temperature-sensor #embedded-hal-driver #accelerometer #mems #analog-devices

no-std microchip-tc72r-rs

A platform agnostic driver to interface with the Microchip TC72 (temperature sensor) through SPI using embedded-hal

4 releases

0.1.3 Jul 8, 2020
0.1.2 Jul 8, 2020
0.1.1 Jun 26, 2020
0.1.0 Jun 26, 2020

#928 in Embedded development

MIT/Apache

7KB
77 lines

Rust Microchip TC72 Driver

Crates.io Version Crates.io Downloads No Std

This is a platform agnostic Rust driver for the Microchip TC72 temperature sensor series, based on the embedded-hal traits.

Tested with the following sensors:

Docs: https://docs.rs/microchip-tc72r-rs

The Device

The TC72 is a digital temperature sensor capable ofreading temperatures from -55°C to +125°C. This sensor features a serial interface that allows communication with a host controller or other peripherals. TheTC72 interface is compatible with the SPI protocol.

Status

  • Measure temperature
  • Get device identifier
  • Sleep / Wakeup commands

License

Licensed under either of

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~71KB