pub struct SysCfg(/* private fields */);
Expand description
Implementations§
Source§impl SysCfg
impl SysCfg
Sourcepub fn select_exti_interrupt_source<Gpio, Index, Mode>(
&mut self,
pin: &Pin<Gpio, Index, Mode>,
)
pub fn select_exti_interrupt_source<Gpio, Index, Mode>( &mut self, pin: &Pin<Gpio, Index, Mode>, )
Make corresponding EXTI (external interrupt) line sensitive to the selected pin.
§Note
Only one Pin index of all banks can be activated for interrupts at the same time.
This means, that only on of PA1
, PB1
, PC1
, … can be activated.
For example, if first crate::gpio::gpioa::PA1
and than crate::gpio::gpiob::PB1
would be configured, the former configuration would be overwritten.
But configuring PA1
and and PB2
works!
Methods from Deref<Target = SYSCFG>§
pub const PTR: *const RegisterBlock = {0x40010000 as *const stm32f3::stm32f303::syscfg::RegisterBlock}
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SysCfg
impl RefUnwindSafe for SysCfg
impl Send for SysCfg
impl !Sync for SysCfg
impl Unpin for SysCfg
impl UnwindSafe for SysCfg
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