Struct stm32f412g::exti::Exti
source · pub struct Exti<'a> { /* private fields */ }
Implementations§
source§impl<'a> Exti<'a>
impl<'a> Exti<'a>
pub const fn new(syscfg: &'a Syscfg<'a>) -> Exti<'a>
pub fn is_enabled_clock(&self) -> bool
pub fn enable_clock(&self)
pub fn disable_clock(&self)
pub fn associate_line_gpiopin(&self, lineid: LineId, pin: &'static Pin<'static>)
pub fn mask_interrupt(&self, lineid: LineId)
pub fn unmask_interrupt(&self, lineid: LineId)
pub fn clear_pending(&self, lineid: LineId)
pub fn is_pending(&self, lineid: LineId) -> bool
pub fn select_rising_trigger(&self, lineid: LineId)
pub fn deselect_rising_trigger(&self, lineid: LineId)
pub fn select_falling_trigger(&self, lineid: LineId)
pub fn deselect_falling_trigger(&self, lineid: LineId)
pub fn handle_interrupt(&self)
Auto Trait Implementations§
impl<'a> !Freeze for Exti<'a>
impl<'a> !RefUnwindSafe for Exti<'a>
impl<'a> !Send for Exti<'a>
impl<'a> !Sync for Exti<'a>
impl<'a> Unpin for Exti<'a>
impl<'a> !UnwindSafe for Exti<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more