Struct Apb3slpenr
#[repr(transparent)]pub struct Apb3slpenr(pub u32);Expand description
RCC APB3 peripheral clock enable in Sleep mode register.
Tuple Fields§
§0: u32Implementations§
§impl Apb3slpenr
impl Apb3slpenr
pub const fn syscfgslpen(&self) -> bool
pub const fn syscfgslpen(&self) -> bool
SYSCFG clock enable during Sleep mode.
pub fn set_syscfgslpen(&mut self, val: bool)
pub fn set_syscfgslpen(&mut self, val: bool)
SYSCFG clock enable during Sleep mode.
pub const fn lpuart1slpen(&self) -> bool
pub const fn lpuart1slpen(&self) -> bool
LPUART1 clock enable during Sleep mode.
pub fn set_lpuart1slpen(&mut self, val: bool)
pub fn set_lpuart1slpen(&mut self, val: bool)
LPUART1 clock enable during Sleep mode.
pub fn set_i2c3slpen(&mut self, val: bool)
pub fn set_i2c3slpen(&mut self, val: bool)
I2C3 clock enable during Sleep mode.
pub const fn lptim1slpen(&self) -> bool
pub const fn lptim1slpen(&self) -> bool
LPTIM1clock enable during Sleep mode.
pub fn set_lptim1slpen(&mut self, val: bool)
pub fn set_lptim1slpen(&mut self, val: bool)
LPTIM1clock enable during Sleep mode.
pub const fn lptim3slpen(&self) -> bool
pub const fn lptim3slpen(&self) -> bool
LPTIMi clock enable during Sleep mode.
pub fn set_lptim3slpen(&mut self, val: bool)
pub fn set_lptim3slpen(&mut self, val: bool)
LPTIMi clock enable during Sleep mode.
pub const fn lptim4slpen(&self) -> bool
pub const fn lptim4slpen(&self) -> bool
LPTIMi clock enable during Sleep mode.
pub fn set_lptim4slpen(&mut self, val: bool)
pub fn set_lptim4slpen(&mut self, val: bool)
LPTIMi clock enable during Sleep mode.
pub fn set_compslpen(&mut self, val: bool)
pub fn set_compslpen(&mut self, val: bool)
COMP clock enable during Sleep mode.
Trait Implementations§
§impl Clone for Apb3slpenr
impl Clone for Apb3slpenr
§fn clone(&self) -> Apb3slpenr
fn clone(&self) -> Apb3slpenr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Apb3slpenr
impl Debug for Apb3slpenr
§impl Default for Apb3slpenr
impl Default for Apb3slpenr
§fn default() -> Apb3slpenr
fn default() -> Apb3slpenr
Returns the “default value” for a type. Read more
§impl PartialEq for Apb3slpenr
impl PartialEq for Apb3slpenr
impl Copy for Apb3slpenr
impl Eq for Apb3slpenr
impl StructuralPartialEq for Apb3slpenr
Auto Trait Implementations§
impl Freeze for Apb3slpenr
impl RefUnwindSafe for Apb3slpenr
impl Send for Apb3slpenr
impl Sync for Apb3slpenr
impl Unpin for Apb3slpenr
impl UnwindSafe for Apb3slpenr
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