nrf/gpiote: expose all functionality as inherent methods.

This commit is contained in:
Dario Nieuwenhuis
2022-01-13 21:24:06 +01:00
parent 3ca01cba8d
commit c432d036c7
4 changed files with 36 additions and 59 deletions

View File

@ -6,7 +6,6 @@
mod example_common;
use embassy::executor::Spawner;
use embassy::traits::gpio::{WaitForHigh, WaitForLow};
use embassy_nrf::gpio::{AnyPin, Input, Pin as _, Pull};
use embassy_nrf::Peripherals;
use example_common::*;

View File

@ -10,7 +10,6 @@ use embassy::executor::Spawner;
use embassy_nrf::gpio::{Input, Pull};
use embassy_nrf::wdt::{Config, Watchdog};
use embassy_nrf::Peripherals;
use embassy_traits::gpio::{WaitForHigh, WaitForLow};
#[embassy::main]
async fn main(_spawner: Spawner, p: Peripherals) {