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_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_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_gpiohlpen(&mut self, val: bool)
pub fn set_gpiohlpen(&mut self, val: bool)
IO port H clock enable during Sleep mode
pub fn set_gpioilpen(&mut self, val: bool)
pub fn set_gpioilpen(&mut self, val: bool)
IO port I clock enable during Sleep mode
pub fn set_gpiojlpen(&mut self, val: bool)
pub fn set_gpiojlpen(&mut self, val: bool)
IO port J clock enable during Sleep mode
pub fn set_gpioklpen(&mut self, val: bool)
pub fn set_gpioklpen(&mut self, val: bool)
IO port K 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_sram2lpen(&mut self, val: bool)
pub fn set_sram2lpen(&mut self, val: bool)
SRAM 2 interface clock enable during Sleep mode
pub const fn bkpsramlpen(&self) -> bool
pub const fn bkpsramlpen(&self) -> bool
Backup SRAM interface clock enable during Sleep mode
pub fn set_bkpsramlpen(&mut self, val: bool)
pub fn set_bkpsramlpen(&mut self, val: bool)
Backup SRAM interface clock enable during Sleep mode
pub fn set_sram3lpen(&mut self, val: bool)
pub fn set_sram3lpen(&mut self, val: bool)
SRAM 3 interface 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_dma2dlpen(&mut self, val: bool)
pub fn set_dma2dlpen(&mut self, val: bool)
DMA2D clock enable during Sleep mode
pub fn set_ethlpen(&mut self, val: bool)
pub fn set_ethlpen(&mut self, val: bool)
Ethernet MAC clock enable during Sleep mode
pub fn set_ethtxlpen(&mut self, val: bool)
pub fn set_ethtxlpen(&mut self, val: bool)
Ethernet transmission clock enable during Sleep mode
pub fn set_ethrxlpen(&mut self, val: bool)
pub fn set_ethrxlpen(&mut self, val: bool)
Ethernet reception clock enable during Sleep mode
pub const fn ethptplpen(&self) -> bool
pub const fn ethptplpen(&self) -> bool
Ethernet PTP clock enable during Sleep mode
pub fn set_ethptplpen(&mut self, val: bool)
pub fn set_ethptplpen(&mut self, val: bool)
Ethernet PTP clock enable during Sleep mode
pub const fn usb_otg_hslpen(&self) -> bool
pub const fn usb_otg_hslpen(&self) -> bool
USB OTG HS clock enable during Sleep mode
pub fn set_usb_otg_hslpen(&mut self, val: bool)
pub fn set_usb_otg_hslpen(&mut self, val: bool)
USB OTG HS clock enable during Sleep mode
pub const fn usb_otg_hsulpilpen(&self) -> bool
pub const fn usb_otg_hsulpilpen(&self) -> bool
USB OTG HS ULPI clock enable during Sleep mode
pub fn set_usb_otg_hsulpilpen(&mut self, val: bool)
pub fn set_usb_otg_hsulpilpen(&mut self, val: bool)
USB OTG HS ULPI 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