Struct stm32wlxx_hal::pac::rcc::ahb2rstr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AHB2RSTR
writer
Implementations§
§impl W
impl W
pub fn gpiohrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 7>
pub fn gpiohrst( &mut self ) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 7>
Bit 7 - IO port H reset
pub fn gpiocrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 2>
pub fn gpiocrst( &mut self ) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 2>
Bit 2 - IO port C reset
pub fn gpiobrst(
&mut self
) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 1>
pub fn gpiobrst( &mut self ) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 1>
Bit 1 - IO port B reset
pub fn gpioarst(
&mut self
) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 0>
pub fn gpioarst( &mut self ) -> BitWriterRaw<'_, u32, AHB2RSTR_SPEC, GPIOARST_A, BitM, 0>
Bit 0 - IO port A reset
Methods from Deref<Target = W<AHB2RSTR_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<AHB2RSTR_SPEC>> for W
impl From<W<AHB2RSTR_SPEC>> for W
§fn from(writer: W<AHB2RSTR_SPEC>) -> W
fn from(writer: W<AHB2RSTR_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