Struct stm32wlxx_hal::pac::rcc::cr::R

pub struct R(/* private fields */);
Available on crate feature stm32wl5x_cm4 only.
Expand description

Register CR reader

Implementations§

§

impl R

pub fn pllrdy(&self) -> BitReaderRaw<PLLRDY_A>

Bit 25 - Main PLL clock ready flag

pub fn pllon(&self) -> BitReaderRaw<PLLON_A>

Bit 24 - Main PLL enable

pub fn hsebyppwr(&self) -> BitReaderRaw<HSEBYPPWR_A>

Bit 21 - Enable HSE32 VDDTCXO output on package pin PB0-VDDTCXO.

pub fn hsepre(&self) -> BitReaderRaw<HSEPRE_A>

Bit 20 - HSE32 sysclk prescaler

pub fn csson(&self) -> BitReaderRaw<CSSON_A>

Bit 19 - HSE32 Clock security system enable

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

Bit 17 - HSE32 clock ready flag

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

Bit 16 - HSE32 clock enable

pub fn hsikerdy(&self) -> BitReaderRaw<HSIKERDY_A>

Bit 12 - HSI16 kernel clock ready flag for peripherals requests.

pub fn hsiasfs(&self) -> BitReaderRaw<HSIASFS_A>

Bit 11 - HSI16 automatic start from Stop

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

Bit 10 - HSI16 clock ready flag. (After wakeup from Stop this bit will be read 1 once the HSI16 is ready)

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

Bit 9 - HSI16 always enable for peripheral kernel clocks.

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

Bit 8 - HSI16 clock enable

pub fn msirange(&self) -> FieldReaderRaw<u8, MSIRANGE_A>

Bits 4:7 - MSI clock ranges

pub fn msirgsel(&self) -> BitReaderRaw<MSIRGSEL_A>

Bit 3 - MSI range control selection

pub fn msipllen(&self) -> BitReaderRaw<MSIPLLEN_A>

Bit 2 - MSI clock PLL enable

pub fn msirdy(&self) -> BitReaderRaw<MSIRDY_A>

Bit 1 - MSI clock ready flag (After reset this bit will be read 1 once the MSI is ready)

pub fn msion(&self) -> BitReaderRaw<MSION_A>

Bit 0 - MSI clock enable

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

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

Reads raw bits from register.

Trait Implementations§

§

impl Deref for R

§

type Target = R<CR_SPEC>

The resulting type after dereferencing.
§

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

Dereferences the value.
§

impl From<R<CR_SPEC>> for R

§

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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.