| Crates.io | clint |
| lib.rs | clint |
| version | 0.3.0 |
| created_at | 2019-05-10 15:43:35.492072+00 |
| updated_at | 2022-10-12 16:04:07.360063+00 |
| description | CLosure INTerrupt handlers. |
| homepage | |
| repository | https://git.spork.org/clint.git |
| max_upload_size | |
| id | 133284 |
| size | 78,393 |
This crate allows you to use closures for interrupt handlers in a heapless, no-std environment.
The HandlerTable type uses a backing array for its closures. To
configure the number of available slots, specify one of the following
cargo features: isr-8, isr-16, isr-32, isr-64, isr-128, or
isr-256. By default, 32 slots are available.
See the examples directory for some simple examples.
For a slightly more complex example this repository uses clint to blink some LEDs and measure temperature across a number of interrupts and exceptions.