Struct stm32_metapac::rcc::regs::Apb3enr
#[repr(transparent)]pub struct Apb3enr(pub u32);
Expand description
RCC APB3 peripheral clock register
Tuple Fields§
§0: u32
Implementations§
§impl Apb3enr
impl Apb3enr
pub fn set_syscfgen(&mut self, val: bool)
pub fn set_syscfgen(&mut self, val: bool)
SBS clock enable Set and reset by software.
pub fn set_spi5en(&mut self, val: bool)
pub fn set_spi5en(&mut self, val: bool)
SPI5 clock enable Set and reset by software.
pub fn set_lpuart1en(&mut self, val: bool)
pub fn set_lpuart1en(&mut self, val: bool)
LPUART1 clock enable Set and reset by software.
pub fn set_i2c3en(&mut self, val: bool)
pub fn set_i2c3en(&mut self, val: bool)
I2C3 clock enable Set and reset by software.
pub fn set_i2c4en(&mut self, val: bool)
pub fn set_i2c4en(&mut self, val: bool)
I2C4 clock enable Set and reset by software.
pub fn set_lptim1en(&mut self, val: bool)
pub fn set_lptim1en(&mut self, val: bool)
LPTIM1 clock enable Set and reset by software.
pub fn set_lptim3en(&mut self, val: bool)
pub fn set_lptim3en(&mut self, val: bool)
LPTIM3 clock enable Set and reset by software.
pub fn set_lptim4en(&mut self, val: bool)
pub fn set_lptim4en(&mut self, val: bool)
LPTIM4 clock enable Set and reset by software.
pub fn set_lptim5en(&mut self, val: bool)
pub fn set_lptim5en(&mut self, val: bool)
LPTIM5 clock enable Set and reset by software.
pub fn set_lptim6en(&mut self, val: bool)
pub fn set_lptim6en(&mut self, val: bool)
LPTIM6 clock enable Set and reset by software.
pub fn set_vrefen(&mut self, val: bool)
pub fn set_vrefen(&mut self, val: bool)
VREF clock enable Set and reset by software.
pub fn set_rtcapben(&mut self, val: bool)
pub fn set_rtcapben(&mut self, val: bool)
RTC APB interface clock enable Set and reset by software.
Trait Implementations§
impl Copy for Apb3enr
impl Eq for Apb3enr
impl StructuralPartialEq for Apb3enr
Auto Trait Implementations§
impl Freeze for Apb3enr
impl RefUnwindSafe for Apb3enr
impl Send for Apb3enr
impl Sync for Apb3enr
impl Unpin for Apb3enr
impl UnwindSafe for Apb3enr
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
)