Crates.io | stmpe1600 |
lib.rs | stmpe1600 |
version | 2.0.0 |
source | src |
created_at | 2020-04-15 12:50:07.145838 |
updated_at | 2021-04-02 11:38:22.448434 |
description | Platform-agnostic Rust driver for the STMPE1600 I/O expander. |
homepage | |
repository | https://github.com/Spadi0/stmpe1600-rs |
max_upload_size | |
id | 230475 |
size | 36,928 |
This is a platform-agnostic Rust driver for the STMPE1600 I/O expander.
This driver can:
The STMPE1600 handles interrupts by triggering an interrupt output pin when it detects an interrupt on any of its configured interrupt pins.
The polarity of the interrupt output pin can be configured to be HIGH or LOW, and when the interrupt is triggered, the microcontroller can
get any pending interrupts by calling get_interrupts
, which will also clear the pending interrupts on the STMPE1600 itself.
See docs.
Licensed under either of
at your option.
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.