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.
1 parent 3f49a46 commit 22c8af2Copy full SHA for 22c8af2
src/exti.rs
@@ -59,15 +59,10 @@ pub trait ExtiExt {
59
/// Returns whether `line` is currently marked as pending.
60
fn is_pending<L: ExtiLine>(line: L) -> bool;
61
62
- /// Enters a low-power mode until an EXTI interrupt occurs.
+ /// Enters a low-power mode until an interrupt occurs.
63
///
64
/// Please note that this method will return after _any_ interrupt that can
65
/// wake up the microcontroller from the given power mode.
66
- ///
67
- /// # Panics
68
69
- /// Panics, if `line` is an invalid EXTI line (reserved or not defined).
70
- /// Check the Reference Manual for a list of valid lines.
71
fn wait_for_irq<L, M>(&mut self, line: L, power_mode: M)
72
where L: ExtiLine, M: PowerMode;
73
}
0 commit comments