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 ahbperckselr(self) -> Reg<Ahbperckselr, RW>
pub const fn ahbperckselr(self) -> Reg<Ahbperckselr, RW>
RCC AHB peripheral kernel clock selection register.
pub const fn apb1perckselr(self) -> Reg<Apb1perckselr, RW>
pub const fn apb1perckselr(self) -> Reg<Apb1perckselr, RW>
RCC APB1 peripherals kernel clock selection register.
pub const fn apb2perckselr(self) -> Reg<Apb2perckselr, RW>
pub const fn apb2perckselr(self) -> Reg<Apb2perckselr, RW>
RCC APB2 peripherals kernel clock selection register.
pub const fn apb45perckselr(self) -> Reg<Apb45perckselr, RW>
pub const fn apb45perckselr(self) -> Reg<Apb45perckselr, RW>
RCC APB4,5 peripherals kernel clock selection register.
pub const fn plldivr2(self, n: usize) -> Reg<Plldivr2, RW>
pub const fn plldivr2(self, n: usize) -> Reg<Plldivr2, RW>
RCC PLL dividers configuration register 2.
pub const fn pllsscgr(self, n: usize) -> Reg<Pllsscgr, RW>
pub const fn pllsscgr(self, n: usize) -> Reg<Pllsscgr, RW>
RCC PLL Spread Spectrum Clock Generator register.
pub const fn apb1lpenr1(self) -> Reg<Apb1lpenr1, RW>
pub const fn apb1lpenr1(self) -> Reg<Apb1lpenr1, RW>
RCC APB1 low-power clock enable register 1.
pub const fn apb1lpenr2(self) -> Reg<Apb1lpenr2, RW>
pub const fn apb1lpenr2(self) -> Reg<Apb1lpenr2, RW>
RCC APB1 low-power clock enable register 2.
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
)