embassy/embassy-stm32
Dario Nieuwenhuis c9b9be5b81 hal-common: require DerefMut for peripherals, not just Deref.
Otherwise you can create multiple drivers on the same singleton like this:

```rust
let mut input = Input::new(&pin, Pull::None);
let mut output = Output::new(&pin, Level::Low, Speed::Low);
input.is_high();
output.set_high();
input.is_high();
output.set_high();
```

Thanks @pennae for reporting.
2023-07-02 22:16:01 +02:00
..
src hal-common: require DerefMut for peripherals, not just Deref. 2023-07-02 22:16:01 +02:00
build.rs Merge pull request #1565 from JuliDi/main 2023-06-29 08:54:28 +00:00
Cargo.toml Update stm32-metapac, includes chiptool changes to use real Rust enums now. 2023-06-29 02:01:33 +02:00