pub struct W(_);
Expand description
Register AHB1RSTR
writer
Implementations
sourceimpl W
impl W
sourcepub fn dma2rst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 22>
pub fn dma2rst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 22>
Bit 22 - DMA2 reset
sourcepub fn dma1rst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 21>
pub fn dma1rst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 21>
Bit 21 - DMA2 reset
sourcepub fn crcrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 12>
pub fn crcrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 12>
Bit 12 - CRC reset
sourcepub fn gpiohrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 7>
pub fn gpiohrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 7>
Bit 7 - IO port H reset
sourcepub fn gpioerst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 4>
pub fn gpioerst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 4>
Bit 4 - IO port E reset
sourcepub fn gpiodrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 3>
pub fn gpiodrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 3>
Bit 3 - IO port D reset
sourcepub fn gpiocrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 2>
pub fn gpiocrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 2>
Bit 2 - IO port C reset
sourcepub fn gpiobrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 1>
pub fn gpiobrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 1>
Bit 1 - IO port B reset
sourcepub fn gpioarst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 0>
pub fn gpioarst(
&mut self
) -> BitWriterRaw<'_, u32, AHB1RSTR_SPEC, GPIOARST_A, BitM, 0>
Bit 0 - IO port A reset
Methods from Deref<Target = W<AHB1RSTR_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<AHB1RSTR_SPEC>> for W
impl From<W<AHB1RSTR_SPEC>> for W
sourcefn 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
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