#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn apb2rstr(&self) -> &Reg<APB2RSTRrs>
pub const fn apb2rstr(&self) -> &Reg<APB2RSTRrs>
0x0c - APB2 peripheral reset register (RCC_APB2RSTR)
Sourcepub const fn apb1rstr(&self) -> &Reg<APB1RSTRrs>
pub const fn apb1rstr(&self) -> &Reg<APB1RSTRrs>
0x10 - APB1 peripheral reset register (RCC_APB1RSTR)
Sourcepub const fn ahbenr(&self) -> &Reg<AHBENRrs>
pub const fn ahbenr(&self) -> &Reg<AHBENRrs>
0x14 - AHB Peripheral Clock enable register (RCC_AHBENR)
Sourcepub const fn apb2enr(&self) -> &Reg<APB2ENRrs>
pub const fn apb2enr(&self) -> &Reg<APB2ENRrs>
0x18 - APB2 peripheral clock enable register (RCC_APB2ENR)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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