Struct stm32_metapac::rcc::regs::Apbsmenr2
#[repr(transparent)]pub struct Apbsmenr2(pub u32);
Expand description
APB peripheral clock enable in Sleep mode register 2
Tuple Fields§
§0: u32
Implementations§
§impl Apbsmenr2
impl Apbsmenr2
pub const fn syscfgsmen(&self) -> bool
pub const fn syscfgsmen(&self) -> bool
SYSCFG, COMP and VREFBUF clock enable during Sleep mode
pub fn set_syscfgsmen(&mut self, val: bool)
pub fn set_syscfgsmen(&mut self, val: bool)
SYSCFG, COMP and VREFBUF clock enable during Sleep mode
pub fn set_tim1smen(&mut self, val: bool)
pub fn set_tim1smen(&mut self, val: bool)
TIM1 timer clock enable during Sleep mode
pub fn set_spi1smen(&mut self, val: bool)
pub fn set_spi1smen(&mut self, val: bool)
SPI1 clock enable during Sleep mode
pub const fn usart1smen(&self) -> bool
pub const fn usart1smen(&self) -> bool
USART1 clock enable during Sleep mode
pub fn set_usart1smen(&mut self, val: bool)
pub fn set_usart1smen(&mut self, val: bool)
USART1 clock enable during Sleep mode
pub fn set_tim14smen(&mut self, val: bool)
pub fn set_tim14smen(&mut self, val: bool)
TIM14 timer clock enable during Sleep mode
pub fn set_tim15smen(&mut self, val: bool)
pub fn set_tim15smen(&mut self, val: bool)
TIM15 timer clock enable during Sleep mode
pub fn set_tim16smen(&mut self, val: bool)
pub fn set_tim16smen(&mut self, val: bool)
TIM16 timer clock enable during Sleep mode
pub fn set_tim17smen(&mut self, val: bool)
pub fn set_tim17smen(&mut self, val: bool)
TIM16 timer clock enable during Sleep mode
pub fn set_adcsmen(&mut self, val: bool)
pub fn set_adcsmen(&mut self, val: bool)
ADC clock enable during Sleep mode
Trait Implementations§
impl Copy for Apbsmenr2
impl Eq for Apbsmenr2
impl StructuralPartialEq for Apbsmenr2
Auto Trait Implementations§
impl Freeze for Apbsmenr2
impl RefUnwindSafe for Apbsmenr2
impl Send for Apbsmenr2
impl Sync for Apbsmenr2
impl Unpin for Apbsmenr2
impl UnwindSafe for Apbsmenr2
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)