Struct stm32_metapac::rcc::regs::C1Apb4enr
#[repr(transparent)]pub struct C1Apb4enr(pub u32);
Expand description
RCC APB4 Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl C1Apb4enr
impl C1Apb4enr
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_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 C1Apb4enr
impl Eq for C1Apb4enr
impl StructuralEq for C1Apb4enr
impl StructuralPartialEq for C1Apb4enr
Auto Trait Implementations§
impl RefUnwindSafe for C1Apb4enr
impl Send for C1Apb4enr
impl Sync for C1Apb4enr
impl Unpin for C1Apb4enr
impl UnwindSafe for C1Apb4enr
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