embassy/examples/nrf
bors[bot] 1a7b9e3279
Merge #542
542: nrf/gpiote: remove PortInput, move impls to Input/FlexPin. r=Dirbaio a=Dirbaio

`PortInput` is just a dumb wrapper around `Input`, it has no reason whatsoever to exist. This PR moves the `wait_for_x` functionality to `Input` directly.

It also adds it to `FlexPin` for completeness and consistency with `Input`.

(The reason `PortInput` exists is a while ago `GPIOTE` was an owned singleton that you had to initialize, so `PortInput::new()` would require it to enforce it's been initialized. This doesn't apply anymore now that GPIOTE is "global")

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2021-12-14 14:09:59 +00:00
..
.cargo Replace rustflags with build.rs extra-link-args. 2021-11-07 23:52:11 +01:00
src Merge #542 2021-12-14 14:09:59 +00:00
build.rs Replace rustflags with build.rs extra-link-args. 2021-11-07 23:52:11 +01:00
Cargo.toml Remove unused deps 2021-11-15 20:13:22 +01:00
memory.x Move examples to a subdirectory 2021-06-02 01:32:19 +02:00