pub struct W(_);
Expand description
Register APB1LRSTR
writer
Implementations
sourceimpl W
impl W
sourcepub fn tim2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 0>
pub fn tim2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 0>
Bit 0 - TIM block reset
sourcepub fn tim3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 1>
pub fn tim3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 1>
Bit 1 - TIM block reset
sourcepub fn tim4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 2>
pub fn tim4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 2>
Bit 2 - TIM block reset
sourcepub fn tim5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 3>
pub fn tim5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 3>
Bit 3 - TIM block reset
sourcepub fn tim6rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 4>
pub fn tim6rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 4>
Bit 4 - TIM block reset
sourcepub fn tim7rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 5>
pub fn tim7rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 5>
Bit 5 - TIM block reset
sourcepub fn tim12rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 6>
pub fn tim12rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 6>
Bit 6 - TIM block reset
sourcepub fn tim13rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 7>
pub fn tim13rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 7>
Bit 7 - TIM block reset
sourcepub fn tim14rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 8>
pub fn tim14rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 8>
Bit 8 - TIM block reset
sourcepub fn lptim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 9>
pub fn lptim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 9>
Bit 9 - TIM block reset
sourcepub fn spi2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 14>
pub fn spi2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 14>
Bit 14 - SPI2 block reset
sourcepub fn spi3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 15>
pub fn spi3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 15>
Bit 15 - SPI3 block reset
sourcepub fn spdifrxrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 16>
pub fn spdifrxrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 16>
Bit 16 - SPDIFRX block reset
sourcepub fn usart2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 17>
pub fn usart2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 17>
Bit 17 - USART2 block reset
sourcepub fn usart3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 18>
pub fn usart3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 18>
Bit 18 - USART3 block reset
sourcepub fn uart4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 19>
pub fn uart4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 19>
Bit 19 - UART4 block reset
sourcepub fn uart5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 20>
pub fn uart5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 20>
Bit 20 - UART5 block reset
sourcepub fn i2c1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 21>
pub fn i2c1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 21>
Bit 21 - I2C1 block reset
sourcepub fn i2c2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 22>
pub fn i2c2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 22>
Bit 22 - I2C2 block reset
sourcepub fn i2c3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 23>
pub fn i2c3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 23>
Bit 23 - I2C3 block reset
sourcepub fn cecrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 27>
pub fn cecrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 27>
Bit 27 - HDMI-CEC block reset
sourcepub fn dac12rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 29>
pub fn dac12rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 29>
Bit 29 - DAC1 and 2 Blocks Reset
sourcepub fn uart7rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 30>
pub fn uart7rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 30>
Bit 30 - UART7 block reset
sourcepub fn uart8rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 31>
pub fn uart8rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 31>
Bit 31 - UART8 block reset
sourcepub fn i2c5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 25>
pub fn i2c5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1LRSTR_SPEC, TIM2RST_A, BitM, 25>
Bit 25 - I2C5 block reset
Methods from Deref<Target = W<APB1LRSTR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<APB1LRSTR_SPEC>> for W
impl From<W<APB1LRSTR_SPEC>> for W
sourcefn from(writer: W<APB1LRSTR_SPEC>) -> W
fn from(writer: W<APB1LRSTR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more