Struct Apb4lpenr
#[repr(transparent)]pub struct Apb4lpenr(pub u32);
Expand description
RCC APB4 Sleep Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl Apb4lpenr
impl Apb4lpenr
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 dac2lpen(&self) -> bool
pub const fn dac2lpen(&self) -> bool
DAC2 (containing one converter) peripheral clock enable during CSleep mode
pub fn set_dac2lpen(&mut self, val: bool)
pub fn set_dac2lpen(&mut self, val: bool)
DAC2 (containing one converter) peripheral clock 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 Copy for Apb4lpenr
impl Eq for Apb4lpenr
impl StructuralPartialEq for Apb4lpenr
Auto Trait Implementations§
impl Freeze for Apb4lpenr
impl RefUnwindSafe for Apb4lpenr
impl Send for Apb4lpenr
impl Sync for Apb4lpenr
impl Unpin for Apb4lpenr
impl UnwindSafe for Apb4lpenr
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
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)
clone_to_uninit
)