Struct stm32_metapac::rcc::regs::Apb3enr
#[repr(transparent)]pub struct Apb3enr(pub u32);
Expand description
RCC APB3 peripheral clock enable 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)
SYSCFG clock enable Set and cleared by software.
pub fn set_spi3en(&mut self, val: bool)
pub fn set_spi3en(&mut self, val: bool)
SPI3 clock enable Set and cleared by software.
pub fn set_lpuart1en(&mut self, val: bool)
pub fn set_lpuart1en(&mut self, val: bool)
LPUART1 clock enable Set and cleared by software.
pub fn set_i2c3en(&mut self, val: bool)
pub fn set_i2c3en(&mut self, val: bool)
I2C3 clock enable Set and cleared by software.
pub fn set_lptim1en(&mut self, val: bool)
pub fn set_lptim1en(&mut self, val: bool)
LPTIM1 clock enable Set and cleared by software.
pub fn set_lptim3en(&mut self, val: bool)
pub fn set_lptim3en(&mut self, val: bool)
LPTIM3 clock enable Set and cleared by software.
pub fn set_lptim4en(&mut self, val: bool)
pub fn set_lptim4en(&mut self, val: bool)
LPTIM4 clock enable Set and cleared by software.
pub fn set_opampen(&mut self, val: bool)
pub fn set_opampen(&mut self, val: bool)
OPAMP clock enable Set and cleared by software.
pub fn set_compen(&mut self, val: bool)
pub fn set_compen(&mut self, val: bool)
COMP clock enable Set and cleared by software.
pub fn set_vrefen(&mut self, val: bool)
pub fn set_vrefen(&mut self, val: bool)
VREFBUF clock enable Set and cleared by software.
pub fn set_rtcapben(&mut self, val: bool)
pub fn set_rtcapben(&mut self, val: bool)
RTC and TAMP APB clock enable Set and cleared 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
)