Struct stm32_metapac::rcc::regs::Ahb1lpenr
#[repr(transparent)]pub struct Ahb1lpenr(pub u32);
Expand description
RCC AHB1 low-power clock enable 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 in low-power 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 in low-power mode Set and reset by software.
pub const fn adc12lpen(&self) -> bool
pub const fn adc12lpen(&self) -> bool
ADC1 and 2 peripheral clocks enable in low-power mode Set and reset by software. The peripheral clocks of the ADC1 and 2 are the kernel clock selected by ADCSEL and provided to ADCx_CK input, and the rcc_hclk1 bus interface clock.
pub fn set_adc12lpen(&mut self, val: bool)
pub fn set_adc12lpen(&mut self, val: bool)
ADC1 and 2 peripheral clocks enable in low-power mode Set and reset by software. The peripheral clocks of the ADC1 and 2 are the kernel clock selected by ADCSEL and provided to ADCx_CK input, and the rcc_hclk1 bus interface clock.
pub const fn ethlpen(&self) -> bool
pub const fn ethlpen(&self) -> bool
ETH1 MAC peripheral clock enable in low-power mode Set and reset by software.
pub fn set_ethlpen(&mut self, val: bool)
pub fn set_ethlpen(&mut self, val: bool)
ETH1 MAC peripheral clock enable in low-power mode Set and reset by software.
pub const fn ethtxlpen(&self) -> bool
pub const fn ethtxlpen(&self) -> bool
ETH1 transmission peripheral clock enable in low-power mode Set and reset by software.
pub fn set_ethtxlpen(&mut self, val: bool)
pub fn set_ethtxlpen(&mut self, val: bool)
ETH1 transmission peripheral clock enable in low-power mode Set and reset by software.
pub const fn ethrxlpen(&self) -> bool
pub const fn ethrxlpen(&self) -> bool
ETH1 reception peripheral clock enable in low-power mode Set and reset by software.
pub fn set_ethrxlpen(&mut self, val: bool)
pub fn set_ethrxlpen(&mut self, val: bool)
ETH1 reception peripheral clock enable in low-power mode Set and reset by software.
pub const fn usbpdctrl(&self) -> Usbpdctrl
pub const fn usbpdctrl(&self) -> Usbpdctrl
USBPHYC common block power-down control Set and reset by software.
pub fn set_usbpdctrl(&mut self, val: Usbpdctrl)
pub fn set_usbpdctrl(&mut self, val: Usbpdctrl)
USBPHYC common block power-down control Set and reset by software.
pub const fn usb_otg_hslpen(&self) -> bool
pub const fn usb_otg_hslpen(&self) -> bool
OTGHS peripheral clock enable in low-power mode Set and reset by software.
pub fn set_usb_otg_hslpen(&mut self, val: bool)
pub fn set_usb_otg_hslpen(&mut self, val: bool)
OTGHS peripheral clock enable in low-power mode Set and reset by software.
pub const fn usbphyclpen(&self) -> bool
pub const fn usbphyclpen(&self) -> bool
USBPHYC peripheral clock enable in low-power mode Set and reset by software.
pub fn set_usbphyclpen(&mut self, val: bool)
pub fn set_usbphyclpen(&mut self, val: bool)
USBPHYC peripheral clock enable in low-power mode Set and reset by software.
pub const fn usb_otg_fslpen(&self) -> bool
pub const fn usb_otg_fslpen(&self) -> bool
OTGFS clock enable in low-power mode Set and reset by software.
pub fn set_usb_otg_fslpen(&mut self, val: bool)
pub fn set_usb_otg_fslpen(&mut self, val: bool)
OTGFS clock enable in low-power mode Set and reset by software.
pub fn set_adflpen(&mut self, val: bool)
pub fn set_adflpen(&mut self, val: bool)
ADF clock enable in low-power mode Set and reset by software.