stm32-metapac

Crates

git

Versions

stm32h7s7z8

Flavors

Struct stm32_metapac::rcc::Rcc

pub struct Rcc { /* private fields */ }
Expand description

Reset and clock control.

Implementations§

§

impl Rcc

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

pub const fn as_ptr(&self) -> *mut ()

pub const fn cr(self) -> Reg<Cr, RW>

RCC source control register.

pub const fn hsicfgr(self) -> Reg<Hsicfgr, RW>

RCC HSI calibration register.

pub const fn crrcr(self) -> Reg<Crrcr, RW>

RCC clock recovery RC register.

pub const fn csicfgr(self) -> Reg<Csicfgr, RW>

RCC CSI calibration register.

pub const fn cfgr(self) -> Reg<Cfgr, RW>

RCC clock configuration register.

pub const fn cdcfgr(self) -> Reg<Cdcfgr, RW>

RCC CPU domain clock configuration register.

pub const fn bmcfgr(self) -> Reg<Bmcfgr, RW>

RCC AHB clock configuration register.

pub const fn apbcfgr(self) -> Reg<Apbcfgr, RW>

RCC APB clocks configuration register.

pub const fn pllckselr(self) -> Reg<Pllckselr, RW>

RCC PLLs clock source selection register.

pub const fn pllcfgr(self) -> Reg<Pllcfgr, RW>

RCC PLLs configuration register.

pub const fn plldivr(self, n: usize) -> Reg<Plldivr, RW>

RCC PLL dividers configuration register 1.

pub const fn pllfracr(self, n: usize) -> Reg<Pllfracr, RW>

RCC PLL fractional divider register.

pub const fn ahbperckselr(self) -> Reg<Ahbperckselr, RW>

RCC AHB peripheral kernel clock selection register.

pub const fn apb1perckselr(self) -> Reg<Apb1perckselr, RW>

RCC APB1 peripherals kernel clock selection register.

pub const fn apb2perckselr(self) -> Reg<Apb2perckselr, RW>

RCC APB2 peripherals kernel clock selection register.

pub const fn apb45perckselr(self) -> Reg<Apb45perckselr, RW>

RCC APB4,5 peripherals kernel clock selection register.

pub const fn cier(self) -> Reg<Cier, RW>

RCC clock source interrupt enable register.

pub const fn cifr(self) -> Reg<Cifr, RW>

RCC clock source interrupt flag register.

pub const fn cicr(self) -> Reg<Cicr, RW>

RCC clock source interrupt clear register.

pub const fn bdcr(self) -> Reg<Bdcr, RW>

RCC Backup domain control register.

pub const fn csr(self) -> Reg<Csr, RW>

RCC clock control and status register.

pub const fn ahb5rstr(self) -> Reg<Ahb5rstr, RW>

RCC AHB5 peripheral reset register.

pub const fn ahb1rstr(self) -> Reg<Ahb1rstr, RW>

RCC AHB1 peripheral reset register.

pub const fn ahb2rstr(self) -> Reg<Ahb2rstr, RW>

RCC AHB2 peripheral reset register.

pub const fn ahb4rstr(self) -> Reg<Ahb4rstr, RW>

RCC AHB4 peripheral reset register.

pub const fn apb5rstr(self) -> Reg<Apb5rstr, RW>

RCC APB5 peripheral reset register.

pub const fn apb1rstr1(self) -> Reg<Apb1rstr1, RW>

RCC APB1 peripheral reset register 1.

pub const fn apb1rstr2(self) -> Reg<Apb1rstr2, RW>

RCC APB1 peripheral reset register 2.

pub const fn apb2rstr(self) -> Reg<Apb2rstr, RW>

RCC APB2 peripheral reset register.

pub const fn apb4rstr(self) -> Reg<Apb4rstr, RW>

RCC APB4 peripheral reset register.

pub const fn ahb3rstr(self) -> Reg<Ahb3rstr, RW>

RCC AHB3 peripheral reset register.

pub const fn ckgdisr(self) -> Reg<Ckgdisr, RW>

RCC AXI clocks gating disable register.

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>

RCC PLL Spread Spectrum Clock Generator register.

pub const fn ckprotr(self) -> Reg<Ckprotr, RW>

RCC clock protection register.

pub const fn rsr(self) -> Reg<Rsr, RW>

RCC Reset status register.

pub const fn ahb5enr(self) -> Reg<Ahb5enr, RW>

RCC AHB5 clock enable register.

pub const fn ahb1enr(self) -> Reg<Ahb1enr, RW>

RCC AHB1 clock enable register.

pub const fn ahb2enr(self) -> Reg<Ahb2enr, RW>

RCC AHB2 clock enable register.

pub const fn ahb4enr(self) -> Reg<Ahb4enr, RW>

RCC AHB4 clock enable register.

pub const fn apb5enr(self) -> Reg<Apb5enr, RW>

RCC APB5 clock enable register.

pub const fn apb1enr1(self) -> Reg<Apb1enr1, RW>

RCC APB1 clock enable register 1.

pub const fn apb1enr2(self) -> Reg<Apb1enr2, RW>

RCC APB1 clock enable register 2.

pub const fn apb2enr(self) -> Reg<Apb2enr, RW>

RCC APB2 clock enable register.

pub const fn apb4enr(self) -> Reg<Apb4enr, RW>

RCC APB4 clock enable register.

pub const fn ahb3enr(self) -> Reg<Ahb3enr, RW>

RCC AHB3 clock enable register.

pub const fn ahb5lpenr(self) -> Reg<Ahb5lpenr, RW>

RCC AHB5 low-power clock enable register.

pub const fn ahb1lpenr(self) -> Reg<Ahb1lpenr, RW>

RCC AHB1 low-power clock enable register.

pub const fn ahb2lpenr(self) -> Reg<Ahb2lpenr, RW>

RCC AHB2 low-power clock enable register.

pub const fn ahb4lpenr(self) -> Reg<Ahb4lpenr, RW>

RCC AHB4 low-power clock enable register.

pub const fn ahb3lpenr(self) -> Reg<Ahb3lpenr, RW>

RCC AHB3 low-power clock enable register.

pub const fn apb1lpenr1(self) -> Reg<Apb1lpenr1, RW>

RCC APB1 low-power clock enable register 1.

pub const fn apb1lpenr2(self) -> Reg<Apb1lpenr2, RW>

RCC APB1 low-power clock enable register 2.

pub const fn apb2lpenr(self) -> Reg<Apb2lpenr, RW>

RCC APB2 low-power clock enable register.

pub const fn apb4lpenr(self) -> Reg<Apb4lpenr, RW>

RCC APB4 low-power clock enable register.

pub const fn apb5lpenr(self) -> Reg<Apb5lpenr, RW>

RCC APB5 sleep clock register.

Trait Implementations§

§

impl Clone for Rcc

§

fn clone(&self) -> Rcc

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for Rcc

§

fn eq(&self, other: &Rcc) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Rcc

§

impl Eq for Rcc

§

impl Send for Rcc

§

impl StructuralPartialEq for Rcc

§

impl Sync for Rcc

Auto Trait Implementations§

§

impl Freeze for Rcc

§

impl RefUnwindSafe for Rcc

§

impl Unpin for Rcc

§

impl UnwindSafe for Rcc

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.