Struct stm32wlxx_hal::pac::rcc::apb2smenr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register APB2SMENR
writer
Implementations§
§impl W
impl W
pub fn tim17smen(
&mut self
) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 18>
pub fn tim17smen( &mut self ) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 18>
Bit 18 - TIM17 timer clock enable during CPU1 CSleep mode.
pub fn tim16smen(
&mut self
) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 17>
pub fn tim16smen( &mut self ) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 17>
Bit 17 - TIM16 timer clock enable during CPU1 CSleep mode.
pub fn usart1smen(
&mut self
) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 14>
pub fn usart1smen( &mut self ) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 14>
Bit 14 - USART1 clock enable during CPU1 Csleep and CStop modes.
pub fn spi1smen(
&mut self
) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 12>
pub fn spi1smen( &mut self ) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 12>
Bit 12 - SPI1 clock enable during CPU1 CSleep mode.
pub fn tim1smen(
&mut self
) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 11>
pub fn tim1smen( &mut self ) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 11>
Bit 11 - TIM1 timer clock enable during CPU1 CSleep mode.
pub fn adcsmen(
&mut self
) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 9>
pub fn adcsmen( &mut self ) -> BitWriterRaw<'_, u32, APB2SMENR_SPEC, bool, BitM, 9>
Bit 9 - ADC clocks enable during CPU1 Csleep and CStop modes
Methods from Deref<Target = W<APB2SMENR_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<APB2SMENR_SPEC>> for W
impl From<W<APB2SMENR_SPEC>> for W
§fn from(writer: W<APB2SMENR_SPEC>) -> W
fn from(writer: W<APB2SMENR_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