Struct stm32wlxx_hal::pac::rcc::c2ahb2smenr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2AHB2SMENR
writer
Implementations§
§impl W
impl W
pub fn gpiohsmen(
&mut self
) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 7>
pub fn gpiohsmen( &mut self ) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 7>
Bit 7 - IO port H clock enable during CPU2 CSleep mode.
pub fn gpiocsmen(
&mut self
) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 2>
pub fn gpiocsmen( &mut self ) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 2>
Bit 2 - IO port C clock enable during CPU2 CSleep mode.
pub fn gpiobsmen(
&mut self
) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 1>
pub fn gpiobsmen( &mut self ) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 1>
Bit 1 - IO port B clock enable during CPU2 CSleep mode.
pub fn gpioasmen(
&mut self
) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 0>
pub fn gpioasmen( &mut self ) -> BitWriterRaw<'_, u32, C2AHB2SMENR_SPEC, bool, BitM, 0>
Bit 0 - IO port A clock enable during CPU2 CSleep mode.
Methods from Deref<Target = W<C2AHB2SMENR_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<C2AHB2SMENR_SPEC>> for W
impl From<W<C2AHB2SMENR_SPEC>> for W
§fn from(writer: W<C2AHB2SMENR_SPEC>) -> W
fn from(writer: W<C2AHB2SMENR_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