Struct stm32_metapac::rcc::regs::C1Apb4lpenr
#[repr(transparent)]pub struct C1Apb4lpenr(pub u32);
Expand description
RCC APB4 Sleep Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl C1Apb4lpenr
impl C1Apb4lpenr
pub const fn syscfglpen(&self) -> bool
pub const fn syscfglpen(&self) -> bool
SYSCFG peripheral clock enable during CSleep mode
pub fn set_syscfglpen(&mut self, val: bool)
pub fn set_syscfglpen(&mut self, val: bool)
SYSCFG peripheral clock enable during CSleep mode
pub const fn lpuart1lpen(&self) -> bool
pub const fn lpuart1lpen(&self) -> bool
LPUART1 Peripheral Clocks Enable During CSleep Mode
pub fn set_lpuart1lpen(&mut self, val: bool)
pub fn set_lpuart1lpen(&mut self, val: bool)
LPUART1 Peripheral Clocks Enable During CSleep Mode
pub fn set_spi6lpen(&mut self, val: bool)
pub fn set_spi6lpen(&mut self, val: bool)
SPI6 Peripheral Clocks Enable During CSleep Mode
pub fn set_i2c4lpen(&mut self, val: bool)
pub fn set_i2c4lpen(&mut self, val: bool)
I2C4 Peripheral Clocks Enable During CSleep Mode
pub const fn lptim2lpen(&self) -> bool
pub const fn lptim2lpen(&self) -> bool
LPTIM2 Peripheral Clocks Enable During CSleep Mode
pub fn set_lptim2lpen(&mut self, val: bool)
pub fn set_lptim2lpen(&mut self, val: bool)
LPTIM2 Peripheral Clocks Enable During CSleep Mode
pub const fn lptim3lpen(&self) -> bool
pub const fn lptim3lpen(&self) -> bool
LPTIM3 Peripheral Clocks Enable During CSleep Mode
pub fn set_lptim3lpen(&mut self, val: bool)
pub fn set_lptim3lpen(&mut self, val: bool)
LPTIM3 Peripheral Clocks Enable During CSleep Mode
pub const fn lptim4lpen(&self) -> bool
pub const fn lptim4lpen(&self) -> bool
LPTIM4 Peripheral Clocks Enable During CSleep Mode
pub fn set_lptim4lpen(&mut self, val: bool)
pub fn set_lptim4lpen(&mut self, val: bool)
LPTIM4 Peripheral Clocks Enable During CSleep Mode
pub const fn lptim5lpen(&self) -> bool
pub const fn lptim5lpen(&self) -> bool
LPTIM5 Peripheral Clocks Enable During CSleep Mode
pub fn set_lptim5lpen(&mut self, val: bool)
pub fn set_lptim5lpen(&mut self, val: bool)
LPTIM5 Peripheral Clocks Enable During CSleep Mode
pub const fn comp12lpen(&self) -> bool
pub const fn comp12lpen(&self) -> bool
COMP1/2 peripheral clock enable during CSleep mode
pub fn set_comp12lpen(&mut self, val: bool)
pub fn set_comp12lpen(&mut self, val: bool)
COMP1/2 peripheral clock enable during CSleep mode
pub fn set_vreflpen(&mut self, val: bool)
pub fn set_vreflpen(&mut self, val: bool)
VREF peripheral clock enable during CSleep mode
pub const fn rtcapblpen(&self) -> bool
pub const fn rtcapblpen(&self) -> bool
RTC APB Clock Enable During CSleep Mode
pub fn set_rtcapblpen(&mut self, val: bool)
pub fn set_rtcapblpen(&mut self, val: bool)
RTC APB Clock Enable During CSleep Mode
pub fn set_sai4lpen(&mut self, val: bool)
pub fn set_sai4lpen(&mut self, val: bool)
SAI4 Peripheral Clocks Enable During CSleep Mode
pub fn set_dtslpen(&mut self, val: bool)
pub fn set_dtslpen(&mut self, val: bool)
Digital temperature sensor block enable during CSleep Mode
Trait Implementations§
§impl Clone for C1Apb4lpenr
impl Clone for C1Apb4lpenr
§fn clone(&self) -> C1Apb4lpenr
fn clone(&self) -> C1Apb4lpenr
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for C1Apb4lpenr
impl Default for C1Apb4lpenr
§fn default() -> C1Apb4lpenr
fn default() -> C1Apb4lpenr
§impl PartialEq for C1Apb4lpenr
impl PartialEq for C1Apb4lpenr
§fn eq(&self, other: &C1Apb4lpenr) -> bool
fn eq(&self, other: &C1Apb4lpenr) -> bool
self
and other
values to be equal, and is used
by ==
.