[−][src]Struct trellis_m4::eic::pin::ExtInt10
Represents a numbered external interrupt. The external interrupt is generic over any pin, only the EicPin implementations in this module make sense.
Implementations
impl<GPIO> ExtInt10<GPIO>
[src]
pub fn new(pin: GPIO) -> ExtInt10<GPIO>
[src]
Construct pad from the appropriate pin in any mode.
You may find it more convenient to use the into_pad
trait
and avoid referencing the pad type.
pub fn enable_event(&mut self, eic: &mut ConfigurableEIC)
[src]
pub fn enable_interrupt(&mut self, eic: &mut ConfigurableEIC)
[src]
pub fn disable_interrupt(&mut self, eic: &mut ConfigurableEIC)
[src]
pub fn is_interrupt(&mut self) -> bool
[src]
pub fn state(&mut self) -> bool
[src]
pub fn clear_interrupt(&mut self)
[src]
pub fn sense(&mut self, _eic: &mut ConfigurableEIC, sense: SENSE0_A)
[src]
pub fn filter(&mut self, _eic: &mut ConfigurableEIC, filter: bool)
[src]
Trait Implementations
impl<MODE> EicPin<ExtInt10<Pin<PA10, Alternate<A>>>> for Pin<PA10, MODE> where
MODE: PinMode,
[src]
MODE: PinMode,
impl<MODE> EicPin<ExtInt10<Pin<PB10, Alternate<A>>>> for Pin<PB10, MODE> where
MODE: PinMode,
[src]
MODE: PinMode,
Auto Trait Implementations
impl<GPIO> Send for ExtInt10<GPIO> where
GPIO: Send,
[src]
GPIO: Send,
impl<GPIO> Sync for ExtInt10<GPIO> where
GPIO: Sync,
[src]
GPIO: Sync,
impl<GPIO> Unpin for ExtInt10<GPIO> where
GPIO: Unpin,
[src]
GPIO: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,