1 unstable release

0.1.0 Jun 30, 2024

#1653 in Embedded development

MIT OR 0BSD

13KB
170 lines

Rust Si1145 Light Sensor Driver

Crates.io Version No Std

This is a platform agnostic Rust driver for the Silicon Labs Si1145 light sensor, based on the embedded-hal traits.

The Device

The Si1145/46/47 is a low-power, reflectance-based, infrared proximity, ultraviolet (UV) index, and ambient light sensor with I2C digital interface and programmable event interrupt output.

Datasheet: https://www.silabs.com/documents/public/data-sheets/Si1145-46-47.pdf

License

Licensed under either of

Contributing

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

Dependencies

~340–790KB
~18K SLoC