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
ยงfn eq(&self, other: &Apb45perckselr) -> bool
fn eq(&self, other: &Apb45perckselr) -> bool
self
and other
values to be equal, and is used
by ==
.