Struct Apb4enr
#[repr(transparent)]pub struct Apb4enr(pub u32);Expand description
RCC APB4 clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Apb4enr
impl Apb4enr
pub const fn set_lpuart1en(&mut self, val: bool)
pub const fn set_lpuart1en(&mut self, val: bool)
LPUART1 peripheral clocks enable.
pub const fn set_spi6en(&mut self, val: bool)
pub const fn set_spi6en(&mut self, val: bool)
SPI/I2S6 peripheral clocks enable.
pub const fn set_lptim2en(&mut self, val: bool)
pub const fn set_lptim2en(&mut self, val: bool)
LPTIM2 peripheral clocks enable.
pub const fn set_lptim3en(&mut self, val: bool)
pub const fn set_lptim3en(&mut self, val: bool)
LPTIM3 peripheral clocks enable.
pub const fn set_lptim4en(&mut self, val: bool)
pub const fn set_lptim4en(&mut self, val: bool)
LPTIM4 peripheral clocks enable.
pub const fn set_lptim5en(&mut self, val: bool)
pub const fn set_lptim5en(&mut self, val: bool)
LPTIM5 peripheral clocks enable.
pub const fn set_vrefen(&mut self, val: bool)
pub const fn set_vrefen(&mut self, val: bool)
VREF peripheral clock enable.
pub const fn set_rtcapben(&mut self, val: bool)
pub const fn set_rtcapben(&mut self, val: bool)
RTC APB clock enable.
pub const fn set_comp12en(&mut self, val: bool)
pub const fn set_comp12en(&mut self, val: bool)
COMP12 peripheral clock enable.
pub const fn set_comp34en(&mut self, val: bool)
pub const fn set_comp34en(&mut self, val: bool)
COMP34 peripheral clock enable.
pub const fn set_comp56en(&mut self, val: bool)
pub const fn set_comp56en(&mut self, val: bool)
COMP56 peripheral clock enable.
pub const fn set_comp78en(&mut self, val: bool)
pub const fn set_comp78en(&mut self, val: bool)
COMP78 peripheral clock 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 UnsafeUnpin 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