Struct stm32_metapac::rcc::regs::Apb45perckselr
#[repr(transparent)]pub struct Apb45perckselr(pub u32);
Expand description
RCC APB4,5 peripherals kernel clock selection register.
Tuple Fields§
§0: u32
Implementations§
§impl Apb45perckselr
impl Apb45perckselr
pub const fn lpuart1sel(&self) -> Lpuartsel
pub const fn lpuart1sel(&self) -> Lpuartsel
LPUART1 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub fn set_lpuart1sel(&mut self, val: Lpuartsel)
pub fn set_lpuart1sel(&mut self, val: Lpuartsel)
LPUART1 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub const fn spi6sel(&self) -> Spi6sel
pub const fn spi6sel(&self) -> Spi6sel
SPI/I2S6 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub fn set_spi6sel(&mut self, val: Spi6sel)
pub fn set_spi6sel(&mut self, val: Spi6sel)
SPI/I2S6 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub const fn lptim23sel(&self) -> Lptimsel
pub const fn lptim23sel(&self) -> Lptimsel
LPTIM2 and LPTIM3 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub fn set_lptim23sel(&mut self, val: Lptimsel)
pub fn set_lptim23sel(&mut self, val: Lptimsel)
LPTIM2 and LPTIM3 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub const fn lptim45sel(&self) -> Lptimsel
pub const fn lptim45sel(&self) -> Lptimsel
LPTIM4, and LPTIM5 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
pub fn set_lptim45sel(&mut self, val: Lptimsel)
pub fn set_lptim45sel(&mut self, val: Lptimsel)
LPTIM4, and LPTIM5 kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.
Trait Implementations§
§impl Clone for Apb45perckselr
impl Clone for Apb45perckselr
§fn clone(&self) -> Apb45perckselr
fn clone(&self) -> Apb45perckselr
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for Apb45perckselr
impl Default for Apb45perckselr
§fn default() -> Apb45perckselr
fn default() -> Apb45perckselr
§impl PartialEq for Apb45perckselr
impl PartialEq for Apb45perckselr
impl Copy for Apb45perckselr
impl Eq for Apb45perckselr
impl StructuralPartialEq for Apb45perckselr
Auto Trait Implementations§
impl Freeze for Apb45perckselr
impl RefUnwindSafe for Apb45perckselr
impl Send for Apb45perckselr
impl Sync for Apb45perckselr
impl Unpin for Apb45perckselr
impl UnwindSafe for Apb45perckselr
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
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)
clone_to_uninit
)