pub struct W(/* private fields */);
Expand description
Register APB1LRSTR
writer
Implementations§
§impl W
impl W
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
Methods from Deref<Target = W<APB1LRSTR_SPEC>>§
pub 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§
§impl From<W<APB1LRSTR_SPEC>> for W
impl From<W<APB1LRSTR_SPEC>> for W
§fn from(writer: W<APB1LRSTR_SPEC>) -> W
fn from(writer: W<APB1LRSTR_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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more