Struct Apb4enr
#[repr(transparent)]pub struct Apb4enr(pub u32);
Expand description
RCC APB4 Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl Apb4enr
impl Apb4enr
pub fn set_syscfgen(&mut self, val: bool)
pub fn set_syscfgen(&mut self, val: bool)
SYSCFG peripheral clock enable
pub fn set_lpuart1en(&mut self, val: bool)
pub fn set_lpuart1en(&mut self, val: bool)
LPUART1 Peripheral Clocks Enable
pub fn set_spi6en(&mut self, val: bool)
pub fn set_spi6en(&mut self, val: bool)
SPI6 Peripheral Clocks Enable
pub fn set_i2c4en(&mut self, val: bool)
pub fn set_i2c4en(&mut self, val: bool)
I2C4 Peripheral Clocks Enable
pub fn set_lptim2en(&mut self, val: bool)
pub fn set_lptim2en(&mut self, val: bool)
LPTIM2 Peripheral Clocks Enable
pub fn set_lptim3en(&mut self, val: bool)
pub fn set_lptim3en(&mut self, val: bool)
LPTIM3 Peripheral Clocks Enable
pub fn set_lptim4en(&mut self, val: bool)
pub fn set_lptim4en(&mut self, val: bool)
LPTIM4 Peripheral Clocks Enable
pub fn set_lptim5en(&mut self, val: bool)
pub fn set_lptim5en(&mut self, val: bool)
LPTIM5 Peripheral Clocks Enable
pub fn set_dac2en(&mut self, val: bool)
pub fn set_dac2en(&mut self, val: bool)
DAC2 (containing one converter) peripheral clock enable
pub fn set_comp12en(&mut self, val: bool)
pub fn set_comp12en(&mut self, val: bool)
COMP1/2 peripheral clock enable
pub fn set_vrefen(&mut self, val: bool)
pub fn set_vrefen(&mut self, val: bool)
VREF peripheral clock enable
pub fn set_rtcapben(&mut self, val: bool)
pub fn set_rtcapben(&mut self, val: bool)
RTC APB Clock Enable
pub fn set_sai4en(&mut self, val: bool)
pub fn set_sai4en(&mut self, val: bool)
SAI4 Peripheral Clocks Enable
Trait Implementations§
impl Copy for Apb4enr
impl Eq for Apb4enr
impl StructuralPartialEq for Apb4enr
Auto Trait Implementations§
impl Freeze for Apb4enr
impl RefUnwindSafe for Apb4enr
impl Send for Apb4enr
impl Sync for Apb4enr
impl Unpin for Apb4enr
impl UnwindSafe for Apb4enr
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)