Struct stm32_metapac::rcc::regs::Ahblpenr
#[repr(transparent)]pub struct Ahblpenr(pub u32);
Expand description
AHB peripheral clock enable in low power mode register
Tuple Fields§
§0: u32
Implementations§
§impl Ahblpenr
impl Ahblpenr
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_gpiodlpen(&mut self, val: bool)
pub fn set_gpiodlpen(&mut self, val: bool)
IO port D clock enable during Sleep mode
pub fn set_gpioelpen(&mut self, val: bool)
pub fn set_gpioelpen(&mut self, val: bool)
IO port E 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_gpioflpen(&mut self, val: bool)
pub fn set_gpioflpen(&mut self, val: bool)
IO port F clock enable during Sleep mode
pub fn set_gpioglpen(&mut self, val: bool)
pub fn set_gpioglpen(&mut self, val: bool)
IO port G 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 clock enable during Sleep mode
pub fn set_sramlpen(&mut self, val: bool)
pub fn set_sramlpen(&mut self, val: bool)
SRAM 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
Trait Implementations§
impl Copy for Ahblpenr
impl Eq for Ahblpenr
impl StructuralPartialEq for Ahblpenr
Auto Trait Implementations§
impl Freeze for Ahblpenr
impl RefUnwindSafe for Ahblpenr
impl Send for Ahblpenr
impl Sync for Ahblpenr
impl Unpin for Ahblpenr
impl UnwindSafe for Ahblpenr
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
)