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 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 const fn eth1maclpen(&self) -> bool
pub const fn eth1maclpen(&self) -> bool
Ethernet MAC bus interface Clock Enable During CSleep Mode
pub fn set_eth1maclpen(&mut self, val: bool)
pub fn set_eth1maclpen(&mut self, val: bool)
Ethernet MAC bus interface Clock Enable During CSleep Mode
pub const fn eth1txlpen(&self) -> bool
pub const fn eth1txlpen(&self) -> bool
Ethernet Transmission Clock Enable During CSleep Mode
pub fn set_eth1txlpen(&mut self, val: bool)
pub fn set_eth1txlpen(&mut self, val: bool)
Ethernet Transmission Clock Enable During CSleep Mode
pub const fn eth1rxlpen(&self) -> bool
pub const fn eth1rxlpen(&self) -> bool
Ethernet Reception Clock Enable During CSleep Mode
pub fn set_eth1rxlpen(&mut self, val: bool)
pub fn set_eth1rxlpen(&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