Struct stm32_metapac::rcc::regs::Apb2smenr
#[repr(transparent)]pub struct Apb2smenr(pub u32);
Expand description
APB2SMENR
Tuple Fields§
§0: u32
Implementations§
§impl Apb2smenr
impl Apb2smenr
pub const fn syscfgsmen(&self) -> bool
pub const fn syscfgsmen(&self) -> bool
SYSCFG clocks enable during Sleep and Stop modes
pub fn set_syscfgsmen(&mut self, val: bool)
pub fn set_syscfgsmen(&mut self, val: bool)
SYSCFG clocks enable during Sleep and Stop modes
pub fn set_tim1smen(&mut self, val: bool)
pub fn set_tim1smen(&mut self, val: bool)
TIM1 timer clocks enable during Sleep and Stop modes
pub fn set_spi1smen(&mut self, val: bool)
pub fn set_spi1smen(&mut self, val: bool)
SPI1 clocks enable during Sleep and Stop modes
pub fn set_tim8smen(&mut self, val: bool)
pub fn set_tim8smen(&mut self, val: bool)
TIM8 timer clocks enable during Sleep and Stop modes
pub const fn usart1smen(&self) -> bool
pub const fn usart1smen(&self) -> bool
USART1clocks enable during Sleep and Stop modes
pub fn set_usart1smen(&mut self, val: bool)
pub fn set_usart1smen(&mut self, val: bool)
USART1clocks enable during Sleep and Stop modes
pub fn set_tim15smen(&mut self, val: bool)
pub fn set_tim15smen(&mut self, val: bool)
TIM15 timer clocks enable during Sleep and Stop modes
pub fn set_tim16smen(&mut self, val: bool)
pub fn set_tim16smen(&mut self, val: bool)
TIM16 timer clocks enable during Sleep and Stop modes
pub fn set_tim17smen(&mut self, val: bool)
pub fn set_tim17smen(&mut self, val: bool)
TIM17 timer clocks enable during Sleep and Stop modes
pub fn set_sai1smen(&mut self, val: bool)
pub fn set_sai1smen(&mut self, val: bool)
SAI1 clocks enable during Sleep and Stop modes
pub fn set_sai2smen(&mut self, val: bool)
pub fn set_sai2smen(&mut self, val: bool)
SAI2 clocks enable during Sleep and Stop modes
pub const fn dfsdm1smen(&self) -> bool
pub const fn dfsdm1smen(&self) -> bool
DFSDM timer clocks enable during Sleep and Stop modes
pub fn set_dfsdm1smen(&mut self, val: bool)
pub fn set_dfsdm1smen(&mut self, val: bool)
DFSDM timer clocks enable during Sleep and Stop modes
pub fn set_ltdcsmen(&mut self, val: bool)
pub fn set_ltdcsmen(&mut self, val: bool)
LCD-TFT timer clocks enable during Sleep and Stop modes
pub fn set_dsismen(&mut self, val: bool)
pub fn set_dsismen(&mut self, val: bool)
DSI clocks enable during Sleep and Stop modes