We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
digital
embedded-hal-async
1 parent d90b59b commit b28c64eCopy full SHA for b28c64e
embedded-hal-async/src/digital.rs
@@ -15,9 +15,10 @@
15
//! .expect("failed to await input pin")
16
//! }
17
//! ```
18
+pub use embedded_hal::digital::{Error, ErrorKind, ErrorType};
19
20
/// Asynchronously wait for GPIO pin state.
-pub trait Wait: embedded_hal::digital::ErrorType {
21
+pub trait Wait: ErrorType {
22
/// Wait until the pin is high. If it is already high, return immediately.
23
///
24
/// # Note for implementers
0 commit comments