Struct stm32_metapac::rcc::regs::Ahb1lpenr
#[repr(transparent)]pub struct Ahb1lpenr(pub u32);
Expand description
AHB1 peripheral clock enable in low power mode register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb1lpenr
impl Ahb1lpenr
pub fn set_gpioalpen(&mut self, val: bool)
pub fn set_gpioalpen(&mut self, val: bool)
IO port A clock enable during sleep mode
pub fn set_gpioblpen(&mut self, val: bool)
pub fn set_gpioblpen(&mut self, val: bool)
IO port B clock enable during Sleep mode
pub fn set_gpioclpen(&mut self, val: bool)
pub fn set_gpioclpen(&mut self, val: bool)
IO port C clock enable during Sleep mode
pub fn set_gpiohlpen(&mut self, val: bool)
pub fn set_gpiohlpen(&mut self, val: bool)
IO port H clock enable during Sleep mode
pub fn set_crclpen(&mut self, val: bool)
pub fn set_crclpen(&mut self, val: bool)
CRC clock enable during Sleep mode
pub fn set_flashlpen(&mut self, val: bool)
pub fn set_flashlpen(&mut self, val: bool)
Flash interface clock enable during Sleep mode
pub fn set_sram1lpen(&mut self, val: bool)
pub fn set_sram1lpen(&mut self, val: bool)
SRAM 1interface clock enable during Sleep mode
pub fn set_dma1lpen(&mut self, val: bool)
pub fn set_dma1lpen(&mut self, val: bool)
DMA1 clock enable during Sleep mode
pub fn set_dma2lpen(&mut self, val: bool)
pub fn set_dma2lpen(&mut self, val: bool)
DMA2 clock enable during Sleep mode
pub fn set_rnglpen(&mut self, val: bool)
pub fn set_rnglpen(&mut self, val: bool)
RNG clock enable during sleep mode
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)