Struct Apb3stpenr
#[repr(transparent)]pub struct Apb3stpenr(pub u32);Expand description
RCC APB3 peripheral clock enable in Stop mode register.
Tuple Fields§
§0: u32Implementations§
§impl Apb3stpenr
impl Apb3stpenr
pub const fn lpuart1stpen(&self) -> bool
pub const fn lpuart1stpen(&self) -> bool
LPUART1 clock enable during Stop mode.
pub fn set_lpuart1stpen(&mut self, val: bool)
pub fn set_lpuart1stpen(&mut self, val: bool)
LPUART1 clock enable during Stop mode.
pub fn set_i2c3stpen(&mut self, val: bool)
pub fn set_i2c3stpen(&mut self, val: bool)
I2C3 clock enable during Stop mode.
pub const fn lptim1stpen(&self) -> bool
pub const fn lptim1stpen(&self) -> bool
LPTIM1clock enable during Stop mode.
pub fn set_lptim1stpen(&mut self, val: bool)
pub fn set_lptim1stpen(&mut self, val: bool)
LPTIM1clock enable during Stop mode.
pub const fn lptim3stpen(&self) -> bool
pub const fn lptim3stpen(&self) -> bool
LPTIMi clock enable during Stop mode.
pub fn set_lptim3stpen(&mut self, val: bool)
pub fn set_lptim3stpen(&mut self, val: bool)
LPTIMi clock enable during Stop mode.
pub const fn lptim4stpen(&self) -> bool
pub const fn lptim4stpen(&self) -> bool
LPTIMi clock enable during Stop mode.
pub fn set_lptim4stpen(&mut self, val: bool)
pub fn set_lptim4stpen(&mut self, val: bool)
LPTIMi clock enable during Stop mode.
pub fn set_compstpen(&mut self, val: bool)
pub fn set_compstpen(&mut self, val: bool)
COMP clock enable during Stop mode.
Trait Implementations§
§impl Clone for Apb3stpenr
impl Clone for Apb3stpenr
§fn clone(&self) -> Apb3stpenr
fn clone(&self) -> Apb3stpenr
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 Apb3stpenr
impl Debug for Apb3stpenr
§impl Default for Apb3stpenr
impl Default for Apb3stpenr
§fn default() -> Apb3stpenr
fn default() -> Apb3stpenr
Returns the “default value” for a type. Read more
§impl PartialEq for Apb3stpenr
impl PartialEq for Apb3stpenr
impl Copy for Apb3stpenr
impl Eq for Apb3stpenr
impl StructuralPartialEq for Apb3stpenr
Auto Trait Implementations§
impl Freeze for Apb3stpenr
impl RefUnwindSafe for Apb3stpenr
impl Send for Apb3stpenr
impl Sync for Apb3stpenr
impl Unpin for Apb3stpenr
impl UnwindSafe for Apb3stpenr
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