pub struct W(/* private fields */);
Expand description
Register APBSMENR2
writer
Implementations§
Source§impl W
impl W
Sourcepub fn syscfgsmen(&mut self) -> SYSCFGSMEN_W<'_>
pub fn syscfgsmen(&mut self) -> SYSCFGSMEN_W<'_>
Bit 0 - SYSCFG, COMP and VREFBUF clock enable during Sleep mode
Sourcepub fn tim1smen(&mut self) -> TIM1SMEN_W<'_>
pub fn tim1smen(&mut self) -> TIM1SMEN_W<'_>
Bit 11 - TIM1 timer clock enable during Sleep mode
Sourcepub fn spi1smen(&mut self) -> SPI1SMEN_W<'_>
pub fn spi1smen(&mut self) -> SPI1SMEN_W<'_>
Bit 12 - SPI1 clock enable during Sleep mode
Sourcepub fn usart1smen(&mut self) -> USART1SMEN_W<'_>
pub fn usart1smen(&mut self) -> USART1SMEN_W<'_>
Bit 14 - USART1 clock enable during Sleep mode
Sourcepub fn tim14smen(&mut self) -> TIM14SMEN_W<'_>
pub fn tim14smen(&mut self) -> TIM14SMEN_W<'_>
Bit 15 - TIM14 timer clock enable during Sleep mode
Sourcepub fn tim15smen(&mut self) -> TIM15SMEN_W<'_>
pub fn tim15smen(&mut self) -> TIM15SMEN_W<'_>
Bit 16 - TIM15 timer clock enable during Sleep mode
Sourcepub fn tim16smen(&mut self) -> TIM16SMEN_W<'_>
pub fn tim16smen(&mut self) -> TIM16SMEN_W<'_>
Bit 17 - TIM16 timer clock enable during Sleep mode
Sourcepub fn tim17smen(&mut self) -> TIM17SMEN_W<'_>
pub fn tim17smen(&mut self) -> TIM17SMEN_W<'_>
Bit 18 - TIM16 timer clock enable during Sleep mode
Methods from Deref<Target = W<APBSMENR2_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§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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