Struct stm32wlxx_hal::pac::rcc::ahb1rstr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AHB1RSTR
writer
Implementations§
§impl W
impl W
pub fn crcrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 12>
pub fn crcrst( &mut self ) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 12>
Bit 12 - CRC reset
pub fn dmamux1rst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 2>
pub fn dmamux1rst( &mut self ) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 2>
Bit 2 - DMAMUX1 reset
pub fn dma2rst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 1>
pub fn dma2rst( &mut self ) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 1>
Bit 1 - DMA2 reset
pub fn dma1rst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 0>
pub fn dma1rst( &mut self ) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, DMA1RST_A, BitM, 0>
Bit 0 - DMA1 reset
Methods from Deref<Target = W<AHB1RSTR_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<AHB1RSTR_SPEC>> for W
impl From<W<AHB1RSTR_SPEC>> for W
§fn from(writer: W<AHB1RSTR_SPEC>) -> W
fn from(writer: W<AHB1RSTR_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