Struct stm32f412g::syscfg::Syscfg
source · pub struct Syscfg<'a> { /* private fields */ }
Implementations§
source§impl<'a> Syscfg<'a>
impl<'a> Syscfg<'a>
pub const fn new(clocks: &'a dyn Stm32f4Clocks) -> Syscfg<'a>
pub fn is_enabled_clock(&self) -> bool
pub fn enable_clock(&self)
pub fn disable_clock(&self)
sourcepub fn configure_interrupt(&self, pinid: PinId)
pub fn configure_interrupt(&self, pinid: PinId)
Configures the SYSCFG_EXTICR{1, 2, 3, 4} registers
Auto Trait Implementations§
impl<'a> Freeze for Syscfg<'a>
impl<'a> !RefUnwindSafe for Syscfg<'a>
impl<'a> !Send for Syscfg<'a>
impl<'a> !Sync for Syscfg<'a>
impl<'a> Unpin for Syscfg<'a>
impl<'a> !UnwindSafe for Syscfg<'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