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 fn set_tim1smen(&mut self, val: bool)
pub fn set_tim1smen(&mut self, val: bool)
TIM1 timer clocks enable during CPU1 Sleep mode
pub fn set_spi1smen(&mut self, val: bool)
pub fn set_spi1smen(&mut self, val: bool)
SPI1 clocks enable during CPU1 Sleep mode
pub const fn usart1smen(&self) -> bool
pub const fn usart1smen(&self) -> bool
USART1clocks enable during CPU1 Sleep mode
pub fn set_usart1smen(&mut self, val: bool)
pub fn set_usart1smen(&mut self, val: bool)
USART1clocks enable during CPU1 Sleep mode
pub fn set_tim16smen(&mut self, val: bool)
pub fn set_tim16smen(&mut self, val: bool)
TIM16 timer clocks enable during CPU1 Sleep mode
pub fn set_tim17smen(&mut self, val: bool)
pub fn set_tim17smen(&mut self, val: bool)
TIM17 timer clocks enable during CPU1 Sleep mode
pub fn set_sai1smen(&mut self, val: bool)
pub fn set_sai1smen(&mut self, val: bool)
SAI1 clocks enable during CPU1 Sleep mode
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
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
)