issues
search
rust-embedded
/
embedded-hal
A Hardware Abstraction Layer (HAL) for embedded systems
Apache License 2.0
1.95k
stars
197
forks
source link
bus: Adding AtomicDevice for I2C and SPI bus sharing in multiple interrupt contexts
#593
Closed
Dirbaio
closed
5 months ago
Dirbaio
commented
5 months ago
based on #579 by @ryan-summers.
Squashed
Use a global
busy
flag for the whole bus, not one per device (soundness fix)
Expand docs a bit.
commits:
Adding AtomicDevice for I2C bus sharing
bus: make AtomicDevice use a per-bus "busy" flag, not per-device.
bus: expand docs for AtomicDevice a bit.
based on #579 by @ryan-summers.
busy
flag for the whole bus, not one per device (soundness fix)commits: