W

Struct W 

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

Register APBRSTR1 writer

Implementations§

Source§

impl W

Source

pub fn tim2rst(&mut self) -> TIM2RST_W<'_>

Bit 0 - TIM2 timer reset

Source

pub fn tim3rst(&mut self) -> TIM3RST_W<'_>

Bit 1 - TIM3 timer reset

Source

pub fn tim6rst(&mut self) -> TIM6RST_W<'_>

Bit 4 - TIM6 timer reset

Source

pub fn tim7rst(&mut self) -> TIM7RST_W<'_>

Bit 5 - TIM7 timer reset

Source

pub fn spi2rst(&mut self) -> SPI2RST_W<'_>

Bit 14 - SPI2 reset

Source

pub fn usart2rst(&mut self) -> USART2RST_W<'_>

Bit 17 - USART2 reset

Source

pub fn usart3rst(&mut self) -> USART3RST_W<'_>

Bit 18 - USART3 reset

Source

pub fn usart4rst(&mut self) -> USART4RST_W<'_>

Bit 19 - USART4 reset

Source

pub fn lpuart1rst(&mut self) -> LPUART1RST_W<'_>

Bit 20 - LPUART1 reset

Source

pub fn i2c1rst(&mut self) -> I2C1RST_W<'_>

Bit 21 - I2C1 reset

Source

pub fn i2c2rst(&mut self) -> I2C2RST_W<'_>

Bit 22 - I2C2 reset

Source

pub fn cecrst(&mut self) -> CECRST_W<'_>

Bit 24 - HDMI CEC reset

Source

pub fn ucpd1rst(&mut self) -> UCPD1RST_W<'_>

Bit 25 - UCPD1 reset

Source

pub fn ucpd2rst(&mut self) -> UCPD2RST_W<'_>

Bit 26 - UCPD2 reset

Source

pub fn dbgrst(&mut self) -> DBGRST_W<'_>

Bit 27 - Debug support reset

Source

pub fn pwrrst(&mut self) -> PWRRST_W<'_>

Bit 28 - Power interface reset

Source

pub fn dac1rst(&mut self) -> DAC1RST_W<'_>

Bit 29 - DAC1 interface reset

Source

pub fn lptim2rst(&mut self) -> LPTIM2RST_W<'_>

Bit 30 - Low Power Timer 2 reset

Source

pub fn lptim1rst(&mut self) -> LPTIM1RST_W<'_>

Bit 31 - Low Power Timer 1 reset

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register.

Methods from Deref<Target = W<APBRSTR1_SPEC>>§

Source

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>

Writes raw bits to the register.

Trait Implementations§

Source§

impl Deref for W

Source§

type Target = W<APBRSTR1_SPEC>

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for W

Source§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
Source§

impl From<W<APBRSTR1_SPEC>> for W

Source§

fn from(writer: W<APBRSTR1_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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.