/tsic-rs

Platform-agnostic access to TSIC sensors via embedded-hal

Primary LanguageRustApache License 2.0Apache-2.0

tsic-rs

Crate Docs Safety Dance

This crate provides a platform-agnostic driver for the TSIC temperature sensors using on top of the embedded-hal traits.

Usage

Add this to your dependencies:

tsic = "0.2"

Tested Sensors

While more sensors should work, right now I only have access (and therefore tested):

  • TSIC 306

I also added experimental support for the following sensors, but note that I do not have access to them so it might not be working (I worked off of the official spec):

  • TSIC 206
  • TSIC 316
  • TSIC 506
  • TSIC 516

Note that this driver right now only has support for the digital protocol (ZACWire), so the analog sensors are not supported (201, 301, 203, 303).

Documentation

Requirements

In order to run this driver, your actual board needs to provide implementation for these two traits:

Also, if you want it to manage your VDD as well (recommended), then:

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

For more information, please see [CODE_OF_CONDUCT.md].

License

Licensed under either of

at your option.