[−][src]Struct stm32l0xx_hal::pac::EXTI
External interrupt/event controller
Methods
impl EXTI
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Send for EXTI
[src]
impl Deref for EXTI
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &<EXTI as Deref>::Target
[src]
impl ExtiExt for EXTI
[src]
fn listen(&self, syscfg: &mut SYSCFG, port: Port, line: u8, edge: TriggerEdge)
[src]
fn unlisten(&self, line: u8)
[src]
fn pend_interrupt(&self, line: u8)
[src]
fn get_pending_irq(&self) -> u32
[src]
fn clear_irq(&self, line: u8)
[src]
fn wait_for_irq<M>(&mut self, line: u8, power_mode: M) where
M: PowerMode,
[src]
M: PowerMode,
Enters a low-power mode until an interrupt occurs
Please note that this method will return after any interrupt that can wake up the microcontroller from the given power mode.
Panics
Panics, if line
is not between 0 and 15 (inclusive).
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self