Struct Ahb1slpenr1
#[repr(transparent)]pub struct Ahb1slpenr1(pub u32);Expand description
RCC AHB1 peripheral clock enable in Sleep mode register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb1slpenr1
impl Ahb1slpenr1
pub const fn gpdma1slpen(&self) -> bool
pub const fn gpdma1slpen(&self) -> bool
GPDMA1 clock enable during Sleep mode.
pub fn set_gpdma1slpen(&mut self, val: bool)
pub fn set_gpdma1slpen(&mut self, val: bool)
GPDMA1 clock enable during Sleep mode.
pub fn set_adf1slpen(&mut self, val: bool)
pub fn set_adf1slpen(&mut self, val: bool)
ADF1 clock enable during Sleep mode.
pub const fn flashslpen(&self) -> bool
pub const fn flashslpen(&self) -> bool
FLASH clock enable during Sleep mode.
pub fn set_flashslpen(&mut self, val: bool)
pub fn set_flashslpen(&mut self, val: bool)
FLASH clock enable during Sleep mode.
pub fn set_crcslpen(&mut self, val: bool)
pub fn set_crcslpen(&mut self, val: bool)
CRC clock enable during Sleep mode.
pub fn set_tscslpen(&mut self, val: bool)
pub fn set_tscslpen(&mut self, val: bool)
TSC clock enable during Sleep mode.
pub const fn ramcfgslpen(&self) -> bool
pub const fn ramcfgslpen(&self) -> bool
RAMCFG clock enable during Sleep mode.
pub fn set_ramcfgslpen(&mut self, val: bool)
pub fn set_ramcfgslpen(&mut self, val: bool)
RAMCFG clock enable during Sleep mode.
pub const fn gtzc1slpen(&self) -> bool
pub const fn gtzc1slpen(&self) -> bool
GTZC1 clock enable during Sleep mode.
pub fn set_gtzc1slpen(&mut self, val: bool)
pub fn set_gtzc1slpen(&mut self, val: bool)
GTZC1 clock enable during Sleep mode.
pub const fn icacheslpen(&self) -> bool
pub const fn icacheslpen(&self) -> bool
ICACHE clock enable during Sleep mode.
pub fn set_icacheslpen(&mut self, val: bool)
pub fn set_icacheslpen(&mut self, val: bool)
ICACHE clock enable during Sleep mode.
pub const fn sram1slpen(&self) -> bool
pub const fn sram1slpen(&self) -> bool
SRAM1 clock enable during Sleep mode.
pub fn set_sram1slpen(&mut self, val: bool)
pub fn set_sram1slpen(&mut self, val: bool)
SRAM1 clock enable during Sleep mode.
Trait Implementations§
§impl Clone for Ahb1slpenr1
impl Clone for Ahb1slpenr1
§fn clone(&self) -> Ahb1slpenr1
fn clone(&self) -> Ahb1slpenr1
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 Ahb1slpenr1
impl Debug for Ahb1slpenr1
§impl Default for Ahb1slpenr1
impl Default for Ahb1slpenr1
§fn default() -> Ahb1slpenr1
fn default() -> Ahb1slpenr1
Returns the “default value” for a type. Read more
§impl PartialEq for Ahb1slpenr1
impl PartialEq for Ahb1slpenr1
impl Copy for Ahb1slpenr1
impl Eq for Ahb1slpenr1
impl StructuralPartialEq for Ahb1slpenr1
Auto Trait Implementations§
impl Freeze for Ahb1slpenr1
impl RefUnwindSafe for Ahb1slpenr1
impl Send for Ahb1slpenr1
impl Sync for Ahb1slpenr1
impl Unpin for Ahb1slpenr1
impl UnwindSafe for Ahb1slpenr1
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