Struct stm32_metapac::rcc::regs::C1Ahb1lpenr
#[repr(transparent)]pub struct C1Ahb1lpenr(pub u32);
Expand description
RCC AHB1 Sleep Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl C1Ahb1lpenr
impl C1Ahb1lpenr
pub fn set_dma1lpen(&mut self, val: bool)
pub fn set_dma1lpen(&mut self, val: bool)
DMA1 Clock Enable During CSleep Mode
pub fn set_dma2lpen(&mut self, val: bool)
pub fn set_dma2lpen(&mut self, val: bool)
DMA2 Clock Enable During CSleep Mode
pub fn set_adc12lpen(&mut self, val: bool)
pub fn set_adc12lpen(&mut self, val: bool)
ADC1/2 Peripheral Clocks Enable During CSleep Mode
pub fn set_artlpen(&mut self, val: bool)
pub fn set_artlpen(&mut self, val: bool)
ART Clock Enable During CSleep Mode
pub fn set_ethlpen(&mut self, val: bool)
pub fn set_ethlpen(&mut self, val: bool)
Ethernet MAC bus interface Clock Enable During CSleep Mode
pub fn set_ethtxlpen(&mut self, val: bool)
pub fn set_ethtxlpen(&mut self, val: bool)
Ethernet Transmission Clock Enable During CSleep Mode
pub fn set_ethrxlpen(&mut self, val: bool)
pub fn set_ethrxlpen(&mut self, val: bool)
Ethernet Reception Clock Enable During CSleep Mode
pub const fn usb_otg_hslpen(&self) -> bool
pub const fn usb_otg_hslpen(&self) -> bool
USB_OTG_HS peripheral clock enable during CSleep mode
pub fn set_usb_otg_hslpen(&mut self, val: bool)
pub fn set_usb_otg_hslpen(&mut self, val: bool)
USB_OTG_HS peripheral clock enable during CSleep mode
pub const fn usb_otg_hs_ulpilpen(&self) -> bool
pub const fn usb_otg_hs_ulpilpen(&self) -> bool
USB_PHY1 clock enable during CSleep mode
pub fn set_usb_otg_hs_ulpilpen(&mut self, val: bool)
pub fn set_usb_otg_hs_ulpilpen(&mut self, val: bool)
USB_PHY1 clock enable during CSleep mode
pub const fn usb_otg_fslpen(&self) -> bool
pub const fn usb_otg_fslpen(&self) -> bool
USB_OTG_FS peripheral clock enable during CSleep mode
pub fn set_usb_otg_fslpen(&mut self, val: bool)
pub fn set_usb_otg_fslpen(&mut self, val: bool)
USB_OTG_FS peripheral clock enable during CSleep mode
pub const fn usb_otg_fs_ulpilpen(&self) -> bool
pub const fn usb_otg_fs_ulpilpen(&self) -> bool
USB_PHY2 clocks enable during CSleep mode
pub fn set_usb_otg_fs_ulpilpen(&mut self, val: bool)
pub fn set_usb_otg_fs_ulpilpen(&mut self, val: bool)
USB_PHY2 clocks enable during CSleep mode
Trait Implementations§
§impl Clone for C1Ahb1lpenr
impl Clone for C1Ahb1lpenr
§fn clone(&self) -> C1Ahb1lpenr
fn clone(&self) -> C1Ahb1lpenr
Returns a copy 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 Default for C1Ahb1lpenr
impl Default for C1Ahb1lpenr
§fn default() -> C1Ahb1lpenr
fn default() -> C1Ahb1lpenr
Returns the “default value” for a type. Read more
§impl PartialEq for C1Ahb1lpenr
impl PartialEq for C1Ahb1lpenr
impl Copy for C1Ahb1lpenr
impl Eq for C1Ahb1lpenr
impl StructuralPartialEq for C1Ahb1lpenr
Auto Trait Implementations§
impl Freeze for C1Ahb1lpenr
impl RefUnwindSafe for C1Ahb1lpenr
impl Send for C1Ahb1lpenr
impl Sync for C1Ahb1lpenr
impl Unpin for C1Ahb1lpenr
impl UnwindSafe for C1Ahb1lpenr
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
)