Crates.io | spi-handle |
lib.rs | spi-handle |
version | 0.1.0 |
source | src |
created_at | 2024-07-09 03:18:33.983208 |
updated_at | 2024-07-09 03:18:33.983208 |
description | `SpiHandle` trait |
homepage | |
repository | https://github.com/SerenaLynas/spi-handle.git |
max_upload_size | |
id | 1296591 |
size | 1,801 |
I didn't like embedded-hal
's API for SpiDevice
, so I made my own, called SpiHandle
. Just call select
on the handle and you will get something that implements SpiBus
that gauruntees exclusive access of the bus until it is dropped.