Struct stm32_metapac::rcc::regs::Apb1smenr
#[repr(transparent)]pub struct Apb1smenr(pub u32);
Expand description
APB1 peripheral clock enable in sleep mode register
Tuple Fields§
§0: u32
Implementations§
§impl Apb1smenr
impl Apb1smenr
pub fn set_tim2smen(&mut self, val: bool)
pub fn set_tim2smen(&mut self, val: bool)
Timer2 clock enable during sleep mode
pub fn set_tim3smen(&mut self, val: bool)
pub fn set_tim3smen(&mut self, val: bool)
Timer 3 clock enable during sleep mode
pub fn set_tim6smen(&mut self, val: bool)
pub fn set_tim6smen(&mut self, val: bool)
Timer 6 clock enable during sleep mode
pub fn set_tim7smen(&mut self, val: bool)
pub fn set_tim7smen(&mut self, val: bool)
Timer 7 clock enable during sleep mode
pub fn set_wwdgsmen(&mut self, val: bool)
pub fn set_wwdgsmen(&mut self, val: bool)
Window watchdog clock enable during sleep mode
pub fn set_spi2smen(&mut self, val: bool)
pub fn set_spi2smen(&mut self, val: bool)
SPI2 clock enable during sleep mode
pub const fn usart2smen(&self) -> bool
pub const fn usart2smen(&self) -> bool
UART2 clock enable during sleep mode
pub fn set_usart2smen(&mut self, val: bool)
pub fn set_usart2smen(&mut self, val: bool)
UART2 clock enable during sleep mode
pub const fn lpuart1smen(&self) -> bool
pub const fn lpuart1smen(&self) -> bool
LPUART1 clock enable during sleep mode
pub fn set_lpuart1smen(&mut self, val: bool)
pub fn set_lpuart1smen(&mut self, val: bool)
LPUART1 clock enable during sleep mode
pub const fn usart4smen(&self) -> bool
pub const fn usart4smen(&self) -> bool
USART4 clock enabe during sleep mode
pub fn set_usart4smen(&mut self, val: bool)
pub fn set_usart4smen(&mut self, val: bool)
USART4 clock enabe during sleep mode
pub const fn usart5smen(&self) -> bool
pub const fn usart5smen(&self) -> bool
USART5 clock enable during sleep mode
pub fn set_usart5smen(&mut self, val: bool)
pub fn set_usart5smen(&mut self, val: bool)
USART5 clock enable during sleep mode
pub fn set_i2c1smen(&mut self, val: bool)
pub fn set_i2c1smen(&mut self, val: bool)
I2C1 clock enable during sleep mode
pub fn set_i2c2smen(&mut self, val: bool)
pub fn set_i2c2smen(&mut self, val: bool)
I2C2 clock enable during sleep mode
pub fn set_usbsmen(&mut self, val: bool)
pub fn set_usbsmen(&mut self, val: bool)
USB clock enable during sleep mode
pub fn set_crssmen(&mut self, val: bool)
pub fn set_crssmen(&mut self, val: bool)
Clock recovery system clock enable during sleep mode
pub fn set_pwrsmen(&mut self, val: bool)
pub fn set_pwrsmen(&mut self, val: bool)
Power interface clock enable during sleep mode
pub fn set_dacsmen(&mut self, val: bool)
pub fn set_dacsmen(&mut self, val: bool)
DAC interface clock enable during sleep mode
pub fn set_i2c3smen(&mut self, val: bool)
pub fn set_i2c3smen(&mut self, val: bool)
I2C3 clock enable during sleep mode
pub const fn lptim1smen(&self) -> bool
pub const fn lptim1smen(&self) -> bool
Low power timer clock enable during sleep mode
pub fn set_lptim1smen(&mut self, val: bool)
pub fn set_lptim1smen(&mut self, val: bool)
Low power timer clock enable during sleep mode