Struct stm32wlxx_hal::pac::rcc::apb2rstr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register APB2RSTR
writer
Implementations§
§impl W
impl W
pub fn tim17rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 18>
pub fn tim17rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 18>
Bit 18 - TIM17 timer reset
pub fn tim16rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 17>
pub fn tim16rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 17>
Bit 17 - TIM16 timer reset
pub fn usart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 14>
pub fn usart1rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 14>
Bit 14 - USART1 reset
pub fn spi1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 12>
pub fn spi1rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 12>
Bit 12 - SPI1 reset
pub fn tim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 11>
pub fn tim1rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 11>
Bit 11 - TIM1 timer reset
pub fn adcrst(&mut self) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 9>
pub fn adcrst(&mut self) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, bool, BitM, 9>
Bit 9 - ADC reset
Methods from Deref<Target = W<APB2RSTR_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<APB2RSTR_SPEC>> for W
impl From<W<APB2RSTR_SPEC>> for W
§fn from(writer: W<APB2RSTR_SPEC>) -> W
fn from(writer: W<APB2RSTR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations§
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