Struct stm32_hal2::pac::rcc::cr::R

source ·
pub struct R(/* private fields */);
Expand description

Register CR reader

Implementations§

source§

impl R

source

pub fn hsion(&self) -> BitReaderRaw<HSION_A>

Bit 0 - Internal high-speed clock enable

source

pub fn hsikeron(&self) -> BitReaderRaw<HSION_A>

Bit 1 - High Speed Internal clock enable in Stop mode

source

pub fn hsirdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 2 - HSI clock ready flag

source

pub fn hsidiv(&self) -> FieldReaderRaw<u8, HSIDIV_A>

Bits 3:4 - HSI clock divider

source

pub fn hsidivf(&self) -> BitReaderRaw<HSIDIVF_A>

Bit 5 - HSI divider flag

source

pub fn csion(&self) -> BitReaderRaw<HSION_A>

Bit 7 - CSI clock enable

source

pub fn csirdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 8 - CSI clock ready flag

source

pub fn csikeron(&self) -> BitReaderRaw<HSION_A>

Bit 9 - CSI clock enable in Stop mode

source

pub fn hsi48on(&self) -> BitReaderRaw<HSION_A>

Bit 12 - RC48 clock enable

source

pub fn hsi48rdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 13 - RC48 clock ready flag

source

pub fn d1ckrdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 14 - D1 domain clocks ready flag

source

pub fn d2ckrdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 15 - D2 domain clocks ready flag

source

pub fn hseon(&self) -> BitReaderRaw<HSION_A>

Bit 16 - HSE clock enable

source

pub fn hserdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 17 - HSE clock ready flag

source

pub fn hsebyp(&self) -> BitReaderRaw<HSEBYP_A>

Bit 18 - HSE clock bypass

source

pub fn hsecsson(&self) -> BitReaderRaw<HSION_A>

Bit 19 - HSE Clock Security System enable

source

pub fn pll1on(&self) -> BitReaderRaw<HSION_A>

Bit 24 - PLL1 enable

source

pub fn pll1rdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 25 - PLL1 clock ready flag

source

pub fn pll2on(&self) -> BitReaderRaw<HSION_A>

Bit 26 - PLL2 enable

source

pub fn pll2rdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 27 - PLL2 clock ready flag

source

pub fn pll3on(&self) -> BitReaderRaw<HSION_A>

Bit 28 - PLL3 enable

source

pub fn pll3rdy(&self) -> BitReaderRaw<HSIRDY_A>

Bit 29 - PLL3 clock ready flag

Methods from Deref<Target = R<CR_SPEC>>§

source

pub fn bits(&self) -> <REG as RegisterSpec>::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<CR_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
source§

impl From<R<CR_SPEC>> for R

source§

fn from(reader: R<CR_SPEC>) -> R

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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> 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>,

§

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>,

§

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.