Struct stm32_metapac::rcc::Rcc
pub struct Rcc { /* private fields */ }
Expand description
Reset and clock control
Implementations§
§impl Rcc
impl Rcc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn ahb1smenr(self) -> Reg<Ahb1smenr, RW>
pub const fn ahb1smenr(self) -> Reg<Ahb1smenr, RW>
AHB1 peripheral clocks enable in Sleep modes register
pub const fn ahb2smenr(self) -> Reg<Ahb2smenr, RW>
pub const fn ahb2smenr(self) -> Reg<Ahb2smenr, RW>
AHB2 peripheral clocks enable in Sleep modes register
pub const fn ahb3smenr(self) -> Reg<Ahb3smenr, RW>
pub const fn ahb3smenr(self) -> Reg<Ahb3smenr, RW>
AHB3 peripheral clocks enable in Sleep and Stop modes register
pub const fn apb1smenr1(self) -> Reg<Apb1smenr1, RW>
pub const fn apb1smenr1(self) -> Reg<Apb1smenr1, RW>
APB1 peripheral clocks enable in Sleep mode register 1
pub const fn apb1smenr2(self) -> Reg<Apb1smenr2, RW>
pub const fn apb1smenr2(self) -> Reg<Apb1smenr2, RW>
APB1 peripheral clocks enable in Sleep mode register 2
pub const fn apb2smenr(self) -> Reg<Apb2smenr, RW>
pub const fn apb2smenr(self) -> Reg<Apb2smenr, RW>
APB2 peripheral clocks enable in Sleep mode register
Trait Implementations§
impl Copy for Rcc
impl Eq for Rcc
impl Send for Rcc
impl StructuralPartialEq for Rcc
impl Sync for Rcc
Auto Trait Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)