rust-embedded / embedded-hal

A Hardware Abstraction Layer (HAL) for embedded systems
Apache License 2.0
1.95k stars 197 forks source link

bus/spi: add RefCell, CriticalSection and Mutex shared bus implementations. #444

Closed Dirbaio closed 1 year ago

Dirbaio commented 1 year ago

Requires #443

This adds a few bus sharing implementations, with varying tradeoffs:

eldruin commented 1 year ago

I hit the button too quickly in #443. Could you add entries to the changelog for the changes in #443 here or add a new PR?

Dirbaio commented 1 year ago

@eldruin done

bors[bot] commented 1 year ago

Build succeeded: