stm32-metapac

Crates

git

Versions

stm32wb09ke

Flavors

Trng

Struct Trng 

pub struct Trng { /* private fields */ }

Implementations§

§

impl Trng

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

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

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

CR register.

pub const fn sr(self) -> Reg<Sr, R>

SR register.

pub const fn val(self) -> Reg<Val, R>

VAL register.

pub const fn oscs_cr(self) -> Reg<OscsCr, RW>

OSCS_CR register.

pub const fn postp_cr(self) -> Reg<PostpCr, RW>

POSTP_CR register.

pub const fn postp_sr(self) -> Reg<PostpSr, R>

POSTP_SR register.

pub const fn defkey0(self) -> Reg<Defkey0, RW>

DEFKEY0 register.

pub const fn defkey1(self) -> Reg<Defkey1, RW>

DEFKEY1 register.

pub const fn defkey2(self) -> Reg<Defkey2, RW>

DEFKEY2 register.

pub const fn defkey3(self) -> Reg<Defkey3, RW>

DEFKEY3 register.

pub const fn health_cr(self) -> Reg<HealthCr, RW>

HEALTH_CR register.

pub const fn health_osc1_cr(self) -> Reg<HealthOsc1Cr, RW>

HEALTH_OSC1_CR register.

pub const fn health_osc2_cr(self) -> Reg<HealthOsc2Cr, RW>

HEALTH_OSC2_CR register.

pub const fn health_osc3_cr(self) -> Reg<HealthOsc3Cr, RW>

HEALTH_OSC3_CR register.

pub const fn health_osc1_sr(self) -> Reg<HealthOsc1Sr, R>

HEALTH_OSC1_SR register.

pub const fn health_osc2_sr(self) -> Reg<HealthOsc2Sr, R>

HEALTH_OSC2_SR register.

pub const fn health_osc3_sr(self) -> Reg<HealthOsc3Sr, R>

HEALTH_OSC3_SR register.

pub const fn irq_cr(self) -> Reg<IrqCr, RW>

IRQ_CR register.

pub const fn irq_sr(self) -> Reg<IrqSr, R>

IRQ_SR register.

Trait Implementations§

§

impl Clone for Trng

§

fn clone(&self) -> Trng

Returns a duplicate 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 Trng

§

fn eq(&self, other: &Trng) -> 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 Trng

§

impl Eq for Trng

§

impl Send for Trng

§

impl StructuralPartialEq for Trng

§

impl Sync for Trng

Auto Trait Implementations§

§

impl Freeze for Trng

§

impl RefUnwindSafe for Trng

§

impl Unpin for Trng

§

impl UnwindSafe for Trng

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.