Struct Ahb1stpenr1
#[repr(transparent)]pub struct Ahb1stpenr1(pub u32);Expand description
RCC AHB1 peripheral clock enable in Stop mode register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb1stpenr1
impl Ahb1stpenr1
pub const fn gpdma1stpen(&self) -> bool
pub const fn gpdma1stpen(&self) -> bool
GPDMA1 clock enable during Stop mode.
pub fn set_gpdma1stpen(&mut self, val: bool)
pub fn set_gpdma1stpen(&mut self, val: bool)
GPDMA1 clock enable during Stop mode.
pub fn set_adf1stpen(&mut self, val: bool)
pub fn set_adf1stpen(&mut self, val: bool)
ADF1 clock enable during Stop mode.
pub const fn flashstpen(&self) -> bool
pub const fn flashstpen(&self) -> bool
FLASH clock enable during Stop mode.
pub fn set_flashstpen(&mut self, val: bool)
pub fn set_flashstpen(&mut self, val: bool)
FLASH clock enable during Stop mode.
pub const fn ramcfgstpen(&self) -> bool
pub const fn ramcfgstpen(&self) -> bool
RAMCFG clock enable during Stop mode.
pub fn set_ramcfgstpen(&mut self, val: bool)
pub fn set_ramcfgstpen(&mut self, val: bool)
RAMCFG clock enable during Stop mode.
pub const fn gtzc1stpen(&self) -> bool
pub const fn gtzc1stpen(&self) -> bool
GTZC1 clock enable during Stop mode.
pub fn set_gtzc1stpen(&mut self, val: bool)
pub fn set_gtzc1stpen(&mut self, val: bool)
GTZC1 clock enable during Stop mode.
pub const fn sram1stpen(&self) -> bool
pub const fn sram1stpen(&self) -> bool
SRAM1 clock enable during Stop mode.
pub fn set_sram1stpen(&mut self, val: bool)
pub fn set_sram1stpen(&mut self, val: bool)
SRAM1 clock enable during Stop mode.
Trait Implementations§
§impl Clone for Ahb1stpenr1
impl Clone for Ahb1stpenr1
§fn clone(&self) -> Ahb1stpenr1
fn clone(&self) -> Ahb1stpenr1
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 Ahb1stpenr1
impl Debug for Ahb1stpenr1
§impl Default for Ahb1stpenr1
impl Default for Ahb1stpenr1
§fn default() -> Ahb1stpenr1
fn default() -> Ahb1stpenr1
Returns the “default value” for a type. Read more
§impl PartialEq for Ahb1stpenr1
impl PartialEq for Ahb1stpenr1
impl Copy for Ahb1stpenr1
impl Eq for Ahb1stpenr1
impl StructuralPartialEq for Ahb1stpenr1
Auto Trait Implementations§
impl Freeze for Ahb1stpenr1
impl RefUnwindSafe for Ahb1stpenr1
impl Send for Ahb1stpenr1
impl Sync for Ahb1stpenr1
impl Unpin for Ahb1stpenr1
impl UnwindSafe for Ahb1stpenr1
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