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
Trait Implementations§
impl Copy for Apb2smenr
impl Eq for Apb2smenr
impl StructuralPartialEq for Apb2smenr
Auto Trait Implementations§
impl Freeze for Apb2smenr
impl RefUnwindSafe for Apb2smenr
impl Send for Apb2smenr
impl Sync for Apb2smenr
impl Unpin for Apb2smenr
impl UnwindSafe for Apb2smenr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)