pub struct W(/* private fields */);
Expand description
Register APBSMENR1
writer
Implementations§
Source§impl W
impl W
Sourcepub fn tim2smen(&mut self) -> TIM2SMEN_W<'_>
pub fn tim2smen(&mut self) -> TIM2SMEN_W<'_>
Bit 0 - TIM2 timer clock enable during Sleep mode
Sourcepub fn tim3smen(&mut self) -> TIM3SMEN_W<'_>
pub fn tim3smen(&mut self) -> TIM3SMEN_W<'_>
Bit 1 - TIM3 timer clock enable during Sleep mode
Sourcepub fn tim6smen(&mut self) -> TIM6SMEN_W<'_>
pub fn tim6smen(&mut self) -> TIM6SMEN_W<'_>
Bit 4 - TIM6 timer clock enable during Sleep mode
Sourcepub fn tim7smen(&mut self) -> TIM7SMEN_W<'_>
pub fn tim7smen(&mut self) -> TIM7SMEN_W<'_>
Bit 5 - TIM7 timer clock enable during Sleep mode
Sourcepub fn rtcapbsmen(&mut self) -> RTCAPBSMEN_W<'_>
pub fn rtcapbsmen(&mut self) -> RTCAPBSMEN_W<'_>
Bit 10 - RTC APB clock enable during Sleep mode
Sourcepub fn wwdgsmen(&mut self) -> WWDGSMEN_W<'_>
pub fn wwdgsmen(&mut self) -> WWDGSMEN_W<'_>
Bit 11 - WWDG clock enable during Sleep mode
Sourcepub fn spi2smen(&mut self) -> SPI2SMEN_W<'_>
pub fn spi2smen(&mut self) -> SPI2SMEN_W<'_>
Bit 14 - SPI2 clock enable during Sleep mode
Sourcepub fn usart2smen(&mut self) -> USART2SMEN_W<'_>
pub fn usart2smen(&mut self) -> USART2SMEN_W<'_>
Bit 17 - USART2 clock enable during Sleep mode
Sourcepub fn usart3smen(&mut self) -> USART3SMEN_W<'_>
pub fn usart3smen(&mut self) -> USART3SMEN_W<'_>
Bit 18 - USART3 clock enable during Sleep mode
Sourcepub fn usart4smen(&mut self) -> USART4SMEN_W<'_>
pub fn usart4smen(&mut self) -> USART4SMEN_W<'_>
Bit 19 - USART4 clock enable during Sleep mode
Sourcepub fn lpuart1smen(&mut self) -> LPUART1SMEN_W<'_>
pub fn lpuart1smen(&mut self) -> LPUART1SMEN_W<'_>
Bit 20 - LPUART1 clock enable during Sleep mode
Sourcepub fn i2c1smen(&mut self) -> I2C1SMEN_W<'_>
pub fn i2c1smen(&mut self) -> I2C1SMEN_W<'_>
Bit 21 - I2C1 clock enable during Sleep mode
Sourcepub fn i2c2smen(&mut self) -> I2C2SMEN_W<'_>
pub fn i2c2smen(&mut self) -> I2C2SMEN_W<'_>
Bit 22 - I2C2 clock enable during Sleep mode
Sourcepub fn ucpd1smen(&mut self) -> UCPD1SMEN_W<'_>
pub fn ucpd1smen(&mut self) -> UCPD1SMEN_W<'_>
Bit 25 - UCPD1 clock enable during Sleep mode
Sourcepub fn ucpd2smen(&mut self) -> UCPD2SMEN_W<'_>
pub fn ucpd2smen(&mut self) -> UCPD2SMEN_W<'_>
Bit 26 - UCPD2 clock enable during Sleep mode
Sourcepub fn dbgsmen(&mut self) -> DBGSMEN_W<'_>
pub fn dbgsmen(&mut self) -> DBGSMEN_W<'_>
Bit 27 - Debug support clock enable during Sleep mode
Sourcepub fn pwrsmen(&mut self) -> PWRSMEN_W<'_>
pub fn pwrsmen(&mut self) -> PWRSMEN_W<'_>
Bit 28 - Power interface clock enable during Sleep mode
Sourcepub fn dac1smen(&mut self) -> DAC1SMEN_W<'_>
pub fn dac1smen(&mut self) -> DAC1SMEN_W<'_>
Bit 29 - DAC1 interface clock enable during Sleep mode
Sourcepub fn lptim2smen(&mut self) -> LPTIM2SMEN_W<'_>
pub fn lptim2smen(&mut self) -> LPTIM2SMEN_W<'_>
Bit 30 - Low Power Timer 2 clock enable during Sleep mode
Sourcepub fn lptim1smen(&mut self) -> LPTIM1SMEN_W<'_>
pub fn lptim1smen(&mut self) -> LPTIM1SMEN_W<'_>
Bit 31 - Low Power Timer 1 clock enable during Sleep mode
Methods from Deref<Target = W<APBSMENR1_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.