Struct stm32_metapac::rcc::regs::Ahb1lpenr
#[repr(transparent)]pub struct Ahb1lpenr(pub u32);
Expand description
RCC AHB1 sleep clock register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb1lpenr
impl Ahb1lpenr
pub const fn gpdma1lpen(&self) -> bool
pub const fn gpdma1lpen(&self) -> bool
GPDMA1 clock enable during sleep mode Set and reset by software.
pub fn set_gpdma1lpen(&mut self, val: bool)
pub fn set_gpdma1lpen(&mut self, val: bool)
GPDMA1 clock enable during sleep mode Set and reset by software.
pub const fn gpdma2lpen(&self) -> bool
pub const fn gpdma2lpen(&self) -> bool
GPDMA2 clock enable during sleep mode Set and reset by software.
pub fn set_gpdma2lpen(&mut self, val: bool)
pub fn set_gpdma2lpen(&mut self, val: bool)
GPDMA2 clock enable during sleep mode Set and reset by software.
pub const fn flitflpen(&self) -> bool
pub const fn flitflpen(&self) -> bool
Flash interface (FLITF) clock enable during sleep mode Set and reset by software.
pub fn set_flitflpen(&mut self, val: bool)
pub fn set_flitflpen(&mut self, val: bool)
Flash interface (FLITF) clock enable during sleep mode Set and reset by software.
pub fn set_crclpen(&mut self, val: bool)
pub fn set_crclpen(&mut self, val: bool)
CRC clock enable during sleep mode Set and reset by software.
pub const fn ramcfglpen(&self) -> bool
pub const fn ramcfglpen(&self) -> bool
RAMCFG clock enable during sleep mode Set and reset by software.
pub fn set_ramcfglpen(&mut self, val: bool)
pub fn set_ramcfglpen(&mut self, val: bool)
RAMCFG clock enable during sleep mode Set and reset by software.
pub const fn bkpramlpen(&self) -> bool
pub const fn bkpramlpen(&self) -> bool
BKPRAM clock enable during sleep mode Set and reset by software
pub fn set_bkpramlpen(&mut self, val: bool)
pub fn set_bkpramlpen(&mut self, val: bool)
BKPRAM clock enable during sleep mode Set and reset by software
pub const fn icachelpen(&self) -> bool
pub const fn icachelpen(&self) -> bool
ICACHE clock enable during sleep mode Set and reset by software
pub fn set_icachelpen(&mut self, val: bool)
pub fn set_icachelpen(&mut self, val: bool)
ICACHE clock enable during sleep mode Set and reset by software
pub fn set_sram1lpen(&mut self, val: bool)
pub fn set_sram1lpen(&mut self, val: bool)
SRAM1 clock enable during sleep mode Set and reset by software
Trait Implementations§
impl Copy for Ahb1lpenr
impl Eq for Ahb1lpenr
impl StructuralPartialEq for Ahb1lpenr
Auto Trait Implementations§
impl Freeze for Ahb1lpenr
impl RefUnwindSafe for Ahb1lpenr
impl Send for Ahb1lpenr
impl Sync for Ahb1lpenr
impl Unpin for Ahb1lpenr
impl UnwindSafe for Ahb1lpenr
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
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)
clone_to_uninit
)