R

Struct R 

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

Register OPTR reader

Implementations§

Source§

impl R

Source

pub fn rdp(&self) -> RDP_R

Bits 0:7 - Read protection level

Source

pub fn boren(&self) -> BOREN_R

Bit 8 - BOR reset Level

Source

pub fn borf_lev(&self) -> BORF_LEV_R

Bits 9:10 - These bits contain the VDD supply level threshold that activates the reset

Source

pub fn borr_lev(&self) -> BORR_LEV_R

Bits 11:12 - These bits contain the VDD supply level threshold that releases the reset.

Source

pub fn n_rst_stop(&self) -> NRST_STOP_R

Bit 13 - nRST_STOP

Source

pub fn n_rst_stdby(&self) -> NRST_STDBY_R

Bit 14 - nRST_STDBY

Source

pub fn n_rsts_hdw(&self) -> NRSTS_HDW_R

Bit 15 - nRSTS_HDW

Source

pub fn idwg_sw(&self) -> IDWG_SW_R

Bit 16 - Independent watchdog selection

Source

pub fn iwdg_stop(&self) -> IWDG_STOP_R

Bit 17 - Independent watchdog counter freeze in Stop mode

Source

pub fn iwdg_stdby(&self) -> IWDG_STDBY_R

Bit 18 - Independent watchdog counter freeze in Standby mode

Source

pub fn wwdg_sw(&self) -> WWDG_SW_R

Bit 19 - Window watchdog selection

Source

pub fn ram_parity_check(&self) -> RAM_PARITY_CHECK_R

Bit 22 - SRAM parity check control

Source

pub fn n_boot_sel(&self) -> NBOOT_SEL_R

Bit 24 - nBOOT_SEL

Source

pub fn n_boot1(&self) -> NBOOT1_R

Bit 25 - Boot configuration

Source

pub fn n_boot0(&self) -> NBOOT0_R

Bit 26 - nBOOT0 option bit

Source

pub fn nrst_mode(&self) -> NRST_MODE_R

Bits 27:28 - NRST_MODE

Source

pub fn irhen(&self) -> IRHEN_R

Bit 29 - Internal reset holder enable bit

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

Source

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

Reads raw bits from register.

Trait Implementations§

Source§

impl Deref for R

Source§

type Target = R<OPTR_SPEC>

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl From<R<OPTR_SPEC>> for R

Source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.